diff --git a/package.json b/package.json index 30129e31f2af..6a3a9660c483 100644 --- a/package.json +++ b/package.json @@ -92,13 +92,7 @@ "pnpm": { "overrides": { "@types/react": "^18", - "@types/react-dom": "^18", - "@modern-js/builder-rspack-provider>@rspack/core": "0.4.5", - "@modern-js/builder-rspack-provider>@rspack/plugin-react-refresh": "0.4.5", - "@modern-js/builder-rspack-provider>@rspack/plugin-html": "0.4.5", - "@modern-js/storybook-builder>@rspack/plugin-react-refresh": "0.4.5", - "@rspack/core@0.4.5>@rspack/binding": "0.4.5", - "@rspack/binding@0.4.5>@rspack/binding-linux-x64-gnu": "0.4.5" + "@types/react-dom": "^18" }, "peerDependencyRules": { "allowedVersions": { diff --git a/packages/builder/builder-rspack-provider/.eslintrc.js b/packages/builder/builder-rspack-provider/.eslintrc.js deleted file mode 100644 index 2a850eabf8a8..000000000000 --- a/packages/builder/builder-rspack-provider/.eslintrc.js +++ /dev/null @@ -1,69 +0,0 @@ -const devDependencyPaths = Object.keys( - require('./package.json').devDependencies, -); - -const withAllowTypeImports = key => pkg => ({ - [key]: pkg, - allowTypeImports: true, -}); - -/** - * @refer https://eslint.org/docs/latest/rules/no-restricted-imports - * @refer https://typescript-eslint.io/rules/no-restricted-imports - */ -const restrictedImportInSource = { - paths: [ - 'lodash', - 'ts-loader', - 'typescript', - '@modern-js/utils', - ...devDependencyPaths, - ].map(withAllowTypeImports('name')), - patterns: [ - 'src/**/*', - '**/plugins/*', - [ - '@modern-js/utils/*', - '!@modern-js/utils/chalk', - '!@modern-js/utils/lodash', - '!@modern-js/utils/chain-id', - ], - ].map(withAllowTypeImports('group')), -}; - -const restrictedImportInTypes = { - patterns: [{ group: '**', allowTypeImports: true }], -}; - -/** @type {import('eslint').Linter.Config} */ -module.exports = { - extends: ['@modern-js'], - ignorePatterns: ['compiled/', 'vitest.config.ts'], - parserOptions: { - project: require.resolve('./tsconfig.json'), - }, - rules: { - 'import/order': 0, - }, - overrides: [ - { - files: ['./src/types/**/*.ts'], - rules: { - '@typescript-eslint/no-restricted-imports': [ - 'error', - restrictedImportInTypes, - ], - }, - }, - { - files: ['./src/**/*.{ts,js}'], - excludedFiles: ['**/*.test.*', './src/types/**/*'], - rules: { - '@typescript-eslint/no-restricted-imports': [ - 'error', - restrictedImportInSource, - ], - }, - }, - ], -}; diff --git a/packages/builder/builder-rspack-provider/.npmignore b/packages/builder/builder-rspack-provider/.npmignore deleted file mode 100644 index f059fcfe5bc3..000000000000 --- a/packages/builder/builder-rspack-provider/.npmignore +++ /dev/null @@ -1,30 +0,0 @@ -.DS_Store - -.pnp -.pnp.js -.env.local -.env.*.local -*.log* - -node_modules/ -*.tsbuildinfo -.eslintcache - -coverage/ -tests/ - -.vscode/**/* -!.vscode/settings.json -!.vscode/extensions.json -.idea/ - -src/ - -modern.config.* -jest.config.js -.eslintrc.js -.eslintrc -tsconfig.json -CHANGELOG.md - -scripts/ diff --git a/packages/builder/builder-rspack-provider/CHANGELOG.md b/packages/builder/builder-rspack-provider/CHANGELOG.md deleted file mode 100644 index c5dd5bdc060e..000000000000 --- a/packages/builder/builder-rspack-provider/CHANGELOG.md +++ /dev/null @@ -1,1645 +0,0 @@ -# @modern-js/builder-rspack-provider - -## 2.46.1 - -### Patch Changes - -- @modern-js/builder-shared@2.46.1 -- @modern-js/server@2.46.1 -- @modern-js/types@2.46.1 -- @modern-js/utils@2.46.1 - -## 2.46.0 - -### Patch Changes - -- Updated dependencies [494b290] - - @modern-js/types@2.46.0 - - @modern-js/builder-shared@2.46.0 - - @modern-js/server@2.46.0 - - @modern-js/utils@2.46.0 - -## 2.45.0 - -### Patch Changes - -- Updated dependencies [19c8687] - - @modern-js/types@2.45.0 - - @modern-js/builder-shared@2.45.0 - - @modern-js/server@2.45.0 - - @modern-js/utils@2.45.0 - -## 2.44.0 - -### Patch Changes - -- b32f60a: chore(deps): bump rspack to 0.4.5 and bump rsbuild to 0.2.11 - - chore(deps): 升级 rspack 到 0.4.5 & 升级 rsbuild 到 0.2.11 - -- Updated dependencies [0ed968c] -- Updated dependencies [2b41e70] -- Updated dependencies [56d7f9a] -- Updated dependencies [35a9961] - - @modern-js/types@2.44.0 - - @modern-js/server@2.44.0 - - @modern-js/builder-shared@2.44.0 - - @modern-js/utils@2.44.0 - -## 2.43.0 - -### Patch Changes - -- 40678b1: fix: rspack 0.4.4 plugin & rule type error - - fix: 修复 rspack 0.4.4 plugin 和 rule 的类型问题 - -- 2d2cf71: chore: bump rspack to 0.4.4 - - chore: 升级 rspack 到 0.4.4 - -- Updated dependencies [9e749d8] -- Updated dependencies [d959200] -- Updated dependencies [acd3861] -- Updated dependencies [5782aa3] - - @modern-js/server@2.43.0 - - @modern-js/types@2.43.0 - - @modern-js/builder-shared@2.43.0 - - @modern-js/utils@2.43.0 - -## 2.42.2 - -### Patch Changes - -- bb48362: chore: bump rspack to 0.4.3 - - chore: rspack 版本升级到 0.4.3 - -- Updated dependencies [2dfc891] - - @modern-js/types@2.42.2 - - @modern-js/builder-shared@2.42.2 - - @modern-js/server@2.42.2 - - @modern-js/utils@2.42.2 - -## 2.42.1 - -### Patch Changes - -- @modern-js/builder-shared@2.42.1 -- @modern-js/server@2.42.1 -- @modern-js/types@2.42.1 -- @modern-js/utils@2.42.1 - -## 2.42.0 - -### Patch Changes - -- d433c97: fix(rspack-provider): react refresh not work in Micro front-end projects - - fix(rspack-provider): 修复 react refresh 在微前端场景下不生效的问题 - -- fc1f36f: fix(builder): should generate manifest correctly when enable SSR -- ef60f58: fix(builder): export type of rspack config and add globalObject type for rspack output - fix(builder): 导出一些 rspack config 类型同时给 rspack output 添加 globalObject 类型 -- ba443b8: chore: bump rspack version to 0.4.2 - chore: 升级 rspack 版本到 0.4.2 -- 898f325: chore: replace @rspack/dev-client with @rspack/plugin-react-refresh - - chore: 将 @rspack/dev-client 替换为 @rspack/plugin-react-refresh - -- f4eadb5: chore: bump rspack and update snapshot -- Updated dependencies [d433c97] -- Updated dependencies [04d9522] -- Updated dependencies [ef60f58] - - @modern-js/builder-shared@2.42.0 - - @modern-js/server@2.42.0 - - @modern-js/types@2.42.0 - - @modern-js/utils@2.42.0 - -## 2.41.0 - -### Patch Changes - -- dc80bbc: hotfix(rspack-provider): can't get rspack util in tools.rspack -- 4dffb01: chore(rspack-provider): set disableTransformByDefault false to compat rspack next version(0.4.0) - - chore(rspack-provider): 设置 disableTransformByDefault 为 false 以兼容 Rspack next(0.4.0) 版本 - -- 88d5c57: chore(rspack-provider): return compiler instead of multiCompiler when targets length is 1 - - chore(rspack-provider): 返回 compiler 而非 multiCompiler 当 targets 长度为 1 时 - -- c4d396a: chore(swc): bump swc and helpers - chore(swc): 升级 swc 以及 helpers -- 7459705: chore(rspack-provider): update rspack to 0.4.0 - - chore(rspack-provider): 升级 rspack 到 0.4.0 - -- Updated dependencies [969def1] -- Updated dependencies [c4d396a] - - @modern-js/builder-shared@2.41.0 - - @modern-js/server@2.41.0 - - @modern-js/utils@2.41.0 - - @modern-js/types@2.41.0 - -## 2.40.0 - -### Patch Changes - -- f5f7526: chore(builder): update rspack to 0.3.11 and fix deprecate warning - - chore(builder): 升级 rspack 到 0.3.11 并修复 deprecate warning - -- Updated dependencies [95f15d2] - - @modern-js/utils@2.40.0 - - @modern-js/builder-shared@2.40.0 - - @modern-js/server@2.40.0 - - @modern-js/types@2.40.0 - -## 2.39.2 - -### Patch Changes - -- @modern-js/builder-shared@2.39.2 -- @modern-js/server@2.39.2 -- @modern-js/types@2.39.2 -- @modern-js/utils@2.39.2 - -## 2.39.1 - -### Patch Changes - -- @modern-js/server@2.39.1 -- @modern-js/builder-shared@2.39.1 -- @modern-js/types@2.39.1 -- @modern-js/utils@2.39.1 - -## 2.39.0 - -### Patch Changes - -- @modern-js/builder-shared@2.39.0 -- @modern-js/server@2.39.0 -- @modern-js/types@2.39.0 -- @modern-js/utils@2.39.0 - -## 2.38.0 - -### Patch Changes - -- 3304d33: chore(deps): bump @babel/core to v7.23.2 - - chore(deps): 升级 @babel/core 至 v7.23.2 - -- 64da831: fix(builder): should not print stats object - - fix(builder): 修复报错时输出完整 stats 对象的问题 - -- 09fc285: chore(builder): update rspack to 0.3.8 - - chore(builder): 升级 rspack 到 0.3.8 - -- Updated dependencies [3304d33] - - @modern-js/builder-shared@2.38.0 - - @modern-js/server@2.38.0 - - @modern-js/types@2.38.0 - - @modern-js/utils@2.38.0 - -## 2.37.2 - -### Patch Changes - -- @modern-js/builder-shared@2.37.2 -- @modern-js/server@2.37.2 -- @modern-js/types@2.37.2 -- @modern-js/utils@2.37.2 - -## 2.37.1 - -### Patch Changes - -- @modern-js/builder-shared@2.37.1 -- @modern-js/server@2.37.1 -- @modern-js/types@2.37.1 -- @modern-js/utils@2.37.1 - -## 2.37.0 - -### Patch Changes - -- 383b636: chore: replace babel-preset-base with rsbuild babel-preset - - chore: 替换 babel-preset-base 为 rsbuild babel-preset - -- Updated dependencies [383b636] -- Updated dependencies [ce0a14e] -- Updated dependencies [708f248] - - @modern-js/server@2.37.0 - - @modern-js/utils@2.37.0 - - @modern-js/builder-shared@2.37.0 - - @modern-js/types@2.37.0 - -## 2.36.0 - -### Patch Changes - -- 3921cd4: chore(builder): update rspack to 0.3.5 - - chore(builder): 升级 rspack 到 0.3.5 - -- bc25bcb: chore(builder): use rspack.xxxPlugin instead of builtins configuration - - chore(builder): 使用 rspack.xxxPlugin 代替 builtins configuration - -- 73dcace: chore(builder): support the use of the RSPACK_PROFILE environment variable for Rspack build performance profile - - chore(builder):支持使用 RSPACK_PROFILE 环境变量来进行 Rspack 构建性能分析 - -- 2675812: feat(builder): improve time logs format - - feat(builder): 优化时间日志的格式 - -- 9d37401: fix(builder): mismatched directory name containing node_modules - - fix(builder): 错误匹配了包含 node_modules 的目录 - -- 4289ffd: chore(builder): update rspack to 0.3.6 - - chore(builder): 升级 rspack 到 0.3.6 - -- eb602d2: chore(builder): bump webpack-dev-middleware v6.1.1 and move to builder-shared - - chore(builder): 升级 webpack-dev-middleware v6.1.1 并移动到 builder-shared - -- 5b4bf21: feat(builder): include tslib in lib-polyfill.js - - feat(builder): 拆分 tslib 到 lib-polyfill.js 中 - -- Updated dependencies [3473bee] -- Updated dependencies [b98f8aa] -- Updated dependencies [3dcad90] -- Updated dependencies [bc25bcb] -- Updated dependencies [c1b0d18] -- Updated dependencies [2675812] -- Updated dependencies [9d37401] -- Updated dependencies [eb602d2] - - @modern-js/utils@2.36.0 - - @modern-js/server@2.36.0 - - @modern-js/builder-shared@2.36.0 - - @modern-js/types@2.36.0 - -## 2.35.1 - -### Patch Changes - -- ea3fe18: feat(app-tools): make logs easier to read - - feat(app-tools): 让日志更容易阅读 - -- bc1413d: fix(builder): resolve-url-loader performance regression issue - - fix(builder): 修复 resolve-url-loader 导致的性能下降问题 - -- 0988b12: chore(builder): move duplicated prebundle packages to shared - - chore(builder): 合并重复的预打包 packages 到 shared - -- dc93952: fix(builder): should not apply babel in rspack mode when tools.babel not modify config - - fix(builder): 在使用 rspack 构建时,如果 tools.babel 未实际修改配置时,则不使用 babel - -- 6b03be8: chore(builder): apply chunkIds deterministic in Rspack mode production - - chore(builder): 在 Rspack 模式下,生产环境开启 chunkIds 'deterministic' - -- 578f94f: chore(rspack): use DataURI module instead of rspack-plugin-virtual-module - - chore(rspack): 使用 DataURI module 替代 rspack-plugin-virtual-module - -- fe8caeb: feat(builder): unify progress bar style in webpack / Rspack mode - - feat(builder): 对齐 webpack / Rspack 模式下的进度条样式 - -- Updated dependencies [ce24aad] -- Updated dependencies [ea3fe18] -- Updated dependencies [de9cdee] -- Updated dependencies [9dd3151] -- Updated dependencies [0988b12] -- Updated dependencies [4980480] -- Updated dependencies [6a1d46e] -- Updated dependencies [fe8caeb] - - @modern-js/builder-shared@2.35.1 - - @modern-js/utils@2.35.1 - - @modern-js/server@2.35.1 - - @modern-js/types@2.35.1 - -## 2.35.0 - -### Patch Changes - -- 3b25410: fix(builder): support enableLatestDecorators in rspack mode - - fix(builder): 修复在使用 rspack 构建时 enableLatestDecorators 报错问题 - -- e2def6e: feat(builder): update rspack to 0.3.4 and support output.charset ascii - - feat(builder): 更新 rspack 到 0.3.4,并支持 output.charset ascii 配置 - -- 28128ca: refactor(builder): migrate to tsconfig-paths-webpack-plugin - - refactor(builder): 迁移至 tsconfig-paths-webpack-plugin - -- 4027a6a: feat(builder): apply css-minimizer-webpack-plugin when use rspack - - feat(builder): 在 Rspack 构建时,使用 css-minimizer-webpack-plugin 进行 css 压缩 - -- Updated dependencies [225f065] -- Updated dependencies [0300daf] -- Updated dependencies [f509548] -- Updated dependencies [15b834f] -- Updated dependencies [28128ca] -- Updated dependencies [4027a6a] -- Updated dependencies [3d93e81] - - @modern-js/builder-shared@2.35.0 - - @modern-js/utils@2.35.0 - - @modern-js/server@2.35.0 - - @modern-js/types@2.35.0 - -## 2.34.0 - -### Patch Changes - -- Updated dependencies [a77b82a] -- Updated dependencies [09b176a] -- Updated dependencies [c8b448b] -- Updated dependencies [c9626e7] -- Updated dependencies [e538169] - - @modern-js/utils@2.34.0 - - @modern-js/builder-shared@2.34.0 - - @modern-js/server@2.34.0 - - @modern-js/types@2.34.0 - -## 2.33.1 - -### Patch Changes - -- @modern-js/builder-shared@2.33.1 -- @modern-js/server@2.33.1 -- @modern-js/types@2.33.1 -- @modern-js/utils@2.33.1 - -## 2.33.0 - -### Patch Changes - -- 1c812c2: chore(builder): update rspack to 0.3.1 & overrides rspress's modern.js deps in workspace - - chore(builder): 升级 rspack 到 0.3.1,并将 rspress 内 modern.js 的依赖指向当前 workspace - -- 64df945: feat(builder): support enableCssModuleTSDeclaration and cssModules.exportLocalsConvention when use rspack mode - - feat(builder): 在使用 Rspack 构建时,支持 enableCssModuleTSDeclaration 和 cssModules.exportLocalsConvention 配置项 - -- Updated dependencies [c9ffc4d] -- Updated dependencies [915636b] -- Updated dependencies [fd82137] -- Updated dependencies [d55caa9] -- Updated dependencies [bc1f8da] -- Updated dependencies [64df945] - - @modern-js/builder-shared@2.33.0 - - @modern-js/utils@2.33.0 - - @modern-js/server@2.33.0 - - @modern-js/types@2.33.0 - -## 2.32.1 - -### Patch Changes - -- Updated dependencies [90e053a] - - @modern-js/types@2.32.1 - - @modern-js/builder-shared@2.32.1 - - @modern-js/server@2.32.1 - - @modern-js/utils@2.32.1 - -## 2.32.0 - -### Patch Changes - -- 6076166: fix: packaging errors found by publint - - fix: 修复 publint 检测到的 packaging 问题 - -- 83c1cf7: chore(builder): When building with Rspack, check whether the current Rspack version meets the minimum version requirements - - chore(builder): 使用 Rspack 构建时,检查当前 Rspack 版本是否满足最低版本要求 - -- Updated dependencies [e5a3fb4] -- Updated dependencies [6076166] -- Updated dependencies [5f7c714] -- Updated dependencies [6517032] -- Updated dependencies [a030aff] -- Updated dependencies [0cc3981] -- Updated dependencies [ddcdef2] -- Updated dependencies [4323e68] -- Updated dependencies [3c91100] -- Updated dependencies [2447d64] -- Updated dependencies [5255eba] - - @modern-js/utils@2.32.0 - - @modern-js/types@2.32.0 - - @modern-js/server@2.32.0 - - @modern-js/builder-shared@2.32.0 - -## 2.31.2 - -### Patch Changes - -- Updated dependencies [15d30abdc66] - - @modern-js/utils@2.31.2 - - @modern-js/builder-shared@2.31.2 - - @modern-js/server@2.31.2 - - @modern-js/types@2.31.2 - -## 2.31.1 - -### Patch Changes - -- fe70fdf: hotfix(builder): temporarily disable asciiOnly in rspack - - hotfix(builder): rspack 场景下临时关闭 asciiOnly 能力 - - - @modern-js/builder-shared@2.31.1 - - @modern-js/server@2.31.1 - - @modern-js/types@2.31.1 - - @modern-js/utils@2.31.1 - -## 2.31.0 - -### Patch Changes - -- 0f09d7c: chore(builder): update rspack to 0.2.12 - - chore(builder): 升级 rspack 到 0.2.12 - -- bfdf7b4: fix(builder): omit unused keys from builder config passed by user - - fix(builder): 移除用户传入的 builder config 中多余的 key - -- 8ab3e2a: hotfix(builder): fix sass resolve-url-loader can't deal with alias - - hotfix(builder): 修复 sass resolve-url-loader 错误处理 alias 的问题 - -- 1eece3e: feat(builder): support performance.profile when use rspack-provider - - feat(builder): 在使用 rspack-provider 时支持 performance.profile 配置项 - -- fa8e948: feat(builder): support disable rspack css sourcemap - - feat(builder): 支持禁用 rspack css sourcemap 输出 - -- 83bf560: feat(builder): support output.legalComments.inline and output.charset 'ascii' in rspack-provider - - feat(builder): 在使用 rspack-provider 时支持 output.legalComments.inline 和 output.charset 'ascii' 配置项 - -- 1882366: chore(deps): bump build dependencies - - chore(deps): 升级构建相关依赖 - -- Updated dependencies [bfdf7b4] -- Updated dependencies [8ab3e2a] -- Updated dependencies [fa8e948] -- Updated dependencies [1882366] - - @modern-js/builder-shared@2.31.0 - - @modern-js/utils@2.31.0 - - @modern-js/server@2.31.0 - - @modern-js/types@2.31.0 - -## 2.30.0 - -### Patch Changes - -- 0ea763e: chore(builder): update rspack to 0.2.11 - - chore(builder): 升级 rspack 到 0.2.11 - -- e6ae836: feat(builder): support performance preload & prefetch configurations - - feat(builder): 支持 performance preload 和 prefetch 配置项 - -- Updated dependencies [a5ee81a] -- Updated dependencies [883692c] -- Updated dependencies [cc5f49e] -- Updated dependencies [f74064c] -- Updated dependencies [b6ab299] -- Updated dependencies [e6ae836] -- Updated dependencies [7cb7b24] -- Updated dependencies [e94ad94] - - @modern-js/types@2.30.0 - - @modern-js/server@2.30.0 - - @modern-js/builder-shared@2.30.0 - - @modern-js/utils@2.30.0 - -## 2.29.0 - -### Patch Changes - -- 1d420ae: feat(builder): support resolve relative asset in SASS files - - feat(builder): 支持处理 SASS 文件的相对资源 - -- 3e0e1b2: chore(builder): update rspack to 0.2.10 - - chore(builder): 升级 rspack 到 0.2.10 - -- 99052ea: feat(builder): improve error stacks if dev compilation failed - - feat(builder): 优化 dev 编译失败时的错误堆栈格式 - -- 2ad31da: feat(builder): support performance preconnect/dnsPrefetch configurations - - feat(builder): 支持 performance preconnect/dnsPrefetch 配置项 - -- Updated dependencies [e6b5355] -- Updated dependencies [93db783] -- Updated dependencies [bd4c354] -- Updated dependencies [cba7675] -- Updated dependencies [99052ea] -- Updated dependencies [d198779] -- Updated dependencies [1d71d2e] - - @modern-js/utils@2.29.0 - - @modern-js/builder-shared@2.29.0 - - @modern-js/server@2.29.0 - - @modern-js/types@2.29.0 - -## 2.28.0 - -### Patch Changes - -- 213089e: chore(builder): update rspack to 0.2.9 - - chore(builder): 升级 rspack 到 0.2.9 - -- 362416f: feat(builder): support import Node.js addons when target is node - - feat(builder): 支持在 target 为 node 时引用 Node.js addons - -- 9301e46: chore(builder): optimize some error format of zod validation and add joint verification of rspack css related configuration - - chore(builder): 优化 builder schema 校验的部分错误输出格式,并为 rspack 添加 css 相关配置的联合校验 - -- Updated dependencies [4e3ce96] -- Updated dependencies [6400d98] -- Updated dependencies [6eae1e7] -- Updated dependencies [362416f] -- Updated dependencies [aa0c0c3] -- Updated dependencies [9301e46] -- Updated dependencies [00b58a7] -- Updated dependencies [820bfe9] - - @modern-js/types@2.28.0 - - @modern-js/builder-shared@2.28.0 - - @modern-js/server@2.28.0 - - @modern-js/utils@2.28.0 - -## 2.27.0 - -### Minor Changes - -- 3f79dd7: feat(builder): add `source.aliasStrategy` option - - feat(builder): 新增 `source.aliasStrategy` 选项 - -### Patch Changes - -- 645e111: fix(builder): CSS Modules name has a probability of conflict in prod - - fix(builder): 修复 CSS Modules name 在生产环境有极小概率冲突的问题 - -- 8322a51: chore: migrate packages from tsc to module-lib build - - chore: 将使用 tsc 的包迁移到 module-lib 构建 - -- 5376a22: chore(builder): update rspack to 0.2.8 and compatible [dev-client change](https://github.com/web-infra-dev/rspack/pull/3731/files) - - chore(builder): 升级 rspack 到 0.2.8 并兼容 [dev-client 变更](https://github.com/web-infra-dev/rspack/pull/3731/files) - -- 67d0b0c: fix(builder): failed to disable html via htmlPlugin: false - - fix(builder): 修复通过 htmlPlugin: false 无法禁用 html 的问题 - -- Updated dependencies [645e111] -- Updated dependencies [91d14b8] -- Updated dependencies [8322a51] -- Updated dependencies [d9080ed] -- Updated dependencies [67d0b0c] -- Updated dependencies [3f79dd7] -- Updated dependencies [6d7104d] - - @modern-js/builder-shared@2.27.0 - - @modern-js/utils@2.27.0 - - @modern-js/server@2.27.0 - - @modern-js/types@2.27.0 - -## 2.26.0 - -### Patch Changes - -- 150ddb1: fix(builder-shared): set formatStats fn as sync-fn so that info can print quikly - fix(builder-shared): 将 formatStats 设置成同步函数使构建信息能够尽快的打印出来 -- fac4ee0: fix(builder): enable preferRelative for CSS files by default - - fix(builder): 默认开启 CSS files 的 preferRelative 配置 - -- cdf5b6b: chore(builder): override rspack.devServer type declare and update doc - - chore(builder): 覆盖 rspack.devServer 类型定义并更新文档 - -- Updated dependencies [150ddb1] -- Updated dependencies [15ad760] -- Updated dependencies [786c195] - - @modern-js/builder-shared@2.26.0 - - @modern-js/server@2.26.0 - - @modern-js/types@2.26.0 - - @modern-js/utils@2.26.0 - -## 2.25.2 - -### Patch Changes - -- f54bb68: chore(rspack-provider): update rspack to 0.2.5 - - chore(rspack-provider): 升级 rspack 相关依赖到 0.2.5 - -- 15a8276: fix(builder): failed to set publicPath function - - fix(builder): 修复设置 publicPath 函数时报错的问题 - -- 272646c: feat(builder): bump webpack v5.88, support top level await - - feat(builder): 升级 webpack v5.88, 支持 top level await - -- Updated dependencies [63d8247] -- Updated dependencies [6651684] -- Updated dependencies [15a8276] -- Updated dependencies [272646c] -- Updated dependencies [358ed24] - - @modern-js/utils@2.25.2 - - @modern-js/builder-shared@2.25.2 - - @modern-js/server@2.25.2 - - @modern-js/types@2.25.2 - -## 2.25.1 - -### Patch Changes - -- Updated dependencies [b10045f] -- Updated dependencies [9f78d0c] - - @modern-js/builder-shared@2.25.1 - - @modern-js/utils@2.25.1 - - @modern-js/server@2.25.1 - - @modern-js/types@2.25.1 - -## 2.25.0 - -### Patch Changes - -- bafd4aa: chore(rspack-provider): update rspack to 0.2.4 - - chore(rspack-provider): 升级 rspack 相关依赖到 0.2.4 - -- Updated dependencies [2491875] -- Updated dependencies [5732c6a] - - @modern-js/types@2.25.0 - - @modern-js/utils@2.25.0 - - @modern-js/builder-shared@2.25.0 - - @modern-js/server@2.25.0 - -## 2.24.0 - -### Patch Changes - -- ef041c0: chore(builder): reuse externals plugin - - chore(builder): 复用 externals 插件 - -- 4fdd868: feat(rspack-provider): update rspack to v0.2.3 - - feat(rspack-provider): 升级 rspack 到 v0.2.3 - -- Updated dependencies [c882fbd] -- Updated dependencies [8c9923f] -- Updated dependencies [ef041c0] -- Updated dependencies [0424a2d] -- Updated dependencies [4a82c3b] - - @modern-js/types@2.24.0 - - @modern-js/utils@2.24.0 - - @modern-js/server@2.24.0 - - @modern-js/builder-shared@2.24.0 - -## 2.23.1 - -### Patch Changes - -- 20c85bb: feat(rspack-provider): support performance.removeMomentLocale in rspack - - feat(rspack-provider): 在使用 rspack 构建时支持 performance.removeMomentLocale 配置项 - -- 5772927: feat(rspack-provider): support import .wasm assets - - feat(rspack-provider): 支持引用 .wasm 资源 - -- 4af25d9: fix(builder): remove @modern-js/e2e from peerDependencies - - fix(builder): 移除 @modern-js/e2e peerDependencies - -- 4d4dca0: feat(builder): add new plugin.remove option - - feat(builder): 新增 plugin.remove 选项 - -- Updated dependencies [f08bbfc] -- Updated dependencies [a6b313a] -- Updated dependencies [5772927] -- Updated dependencies [811ccd4] -- Updated dependencies [5a3eeff] -- Updated dependencies [4d4dca0] -- Updated dependencies [8f2cab0] - - @modern-js/utils@2.23.1 - - @modern-js/builder-shared@2.23.1 - - @modern-js/server@2.23.1 - - @modern-js/types@2.23.1 - -## 2.23.0 - -### Patch Changes - -- 15eac36: chore(builder): move more default config to shared package - - chore(builder): 移动更多默认 config 到 shared 包 - -- a912b66: fix(builder): support devMiddleware.writeToDisk in rspack and use webpack-dev-middleware instead of @rspack/dev-middleware - - fix(builder): 在 rspack 中支持 devMiddleware.writeToDisk 配置项,并使用 webpack-dev-middleware 代替 @rspack/dev-middleware - -- d4e85c1: fix(rspack-provider): should inject polyfill for web-worker target - - fix(rspack-provider): 修复 web-worker target 未注入 polyfill 的问题 - -- 7e6fb5f: chore: publishConfig add provenance config - - chore: publishConfig 增加 provenance 配置 - -- f212633: feat(rspack-provider): update rspack to [0.2.2](https://github.com/web-infra-dev/rspack/releases/tag/0.2.2) - - feat(rspack-provider): 升级 rspack 到 [0.2.2](https://github.com/web-infra-dev/rspack/releases/tag/0.2.2) 版本 - -- 5684381: fix(builder): incorrect importLoaders option for sass/less files - - fix(builder): 修正 importLoaders 对于 sass/less 文件的值 - -- f14f920: feat(rspack-provider): support disableCssExtract in rspack - - feat(rspack-provider): 在 Rspack 构建时支持 disableCssExtract 能力 - -- 38eccef: chore(builder): move getPostcssConfig and postcss related pkg to builder-shared - - chore(builder): 将 getPostcssConfig 和 postcss 相关的 pkg 移动到 builder-shared 中 - -- f91c557: fix(builder): failed to minify css when use style-loader in Rspack - - fix(builder): 修复使用 Rspack + style-loader 时未压缩 CSS 的问题 - -- Updated dependencies [964c41b] -- Updated dependencies [15eac36] -- Updated dependencies [d4e85c1] -- Updated dependencies [7e6fb5f] -- Updated dependencies [a7a7ad7] -- Updated dependencies [6dec7c2] -- Updated dependencies [c3216b5] -- Updated dependencies [f14f920] -- Updated dependencies [692cc0e] -- Updated dependencies [38eccef] -- Updated dependencies [f91c557] -- Updated dependencies [a82d6f7] - - @modern-js/e2e@2.23.0 - - @modern-js/builder-shared@2.23.0 - - @modern-js/server@2.23.0 - - @modern-js/types@2.23.0 - - @modern-js/utils@2.23.0 - -## 2.22.1 - -### Patch Changes - -- a470c04: chore(builder): reuse rem plugin between rspack and webpack provider - - chore(builder): 在 rspack 和 webpack provider 间复用 rem 插件 - -- bd4b150: feat(builder): add builder.serve method - - feat(builder): 新增 builder.serve 方法 - -- c739207: feat(builder): support enable CSS Modules for the specified style file by output.cssModules configuration - - feat(builder): 支持通过 output.cssModules 配置项为指定的样式文件启用 CSS Modules - -- c465db6: fix(builder): update rspack to 0.2.1 and remove useless config format logic - - fix(builder): 将 Rspack 升级到 0.2.1 并移除无用的配置转换逻辑 - -- 8bd9981: fix(builder): use postcss-loader instead of @rspack/postcss-loader to fix tailwindcss hmr bug - - fix(builder): 使用 postcss-loader 代替 @rspack/postcss-loader, 来修复 tailwindcss hmr 问题 - -- Updated dependencies [25b490a] -- Updated dependencies [e2848a2] -- Updated dependencies [a470c04] -- Updated dependencies [95ffa6b] -- Updated dependencies [12d54ae] -- Updated dependencies [bd4b150] -- Updated dependencies [dd36311] -- Updated dependencies [d4045ed] -- Updated dependencies [8bd9981] -- Updated dependencies [1f02cd2] -- Updated dependencies [cfcf003] -- Updated dependencies [15181be] - - @modern-js/types@2.22.1 - - @modern-js/utils@2.22.1 - - @modern-js/builder-shared@2.22.1 - - @modern-js/server@2.22.1 - - @modern-js/e2e@2.22.1 - -## 2.22.0 - -### Patch Changes - -- 3d48836: chore(deps): fix all missing peer dependencies - - chore(deps): 修复缺少的 peer dependencies - -- 4161b09: fix(builder): rule.loader support undefined in rspack - - fix(builder): 使用 rspack 构建时, rule.loader 允许为空 - -- becfd36: fix(builder): support array in output.externals when use Rspack - - fix(builder): 在使用 Rspack 构建时,output.externals 支持数组 - -- 02238e6: feat(builder): 使用 Rspack 0601 nightly 版本 (与 0.2.0 版本功能相同) - - feat(builder): adapt and use Rspack 0601 nightly version (Same features as version 0.2.0.) - -- Updated dependencies [3d48836] -- Updated dependencies [5050e8e] -- Updated dependencies [850cde6] - - @modern-js/builder-shared@2.22.0 - - @modern-js/utils@2.22.0 - - @modern-js/server@2.22.0 - - @modern-js/e2e@2.22.0 - - @modern-js/types@2.22.0 - -## 2.21.1 - -### Patch Changes - -- Updated dependencies [19b3b64] - - @modern-js/builder-shared@2.21.1 - - @modern-js/server@2.21.1 - - @modern-js/e2e@2.21.1 - - @modern-js/types@2.21.1 - - @modern-js/utils@2.21.1 - -## 2.21.0 - -### Patch Changes - -- 7d2972e: fix(builder): output.copy not work in Rspack - - fix(builder): output.copy 在 Rspack 构建时不生效 - -- 7d2972e: feat(builder): update rspack to 0.1.12 - - feat(builder): 升级 rspack 到 0.1.12 版本 - -- 863f8df: feat(rspack-provider): support security.checkSyntax in Rspack - - feat(rspack-provider): 在使用 Rspack 构建时支持 security.checkSyntax 配置项 - -- 26dcf3a: chore: bump typescript to v5 in devDependencies - - chore: 升级 devDependencies 中的 typescript 版本到 v5 - -- 8a7d4d2: hotfix(rspack-provider): update Rspack and fix upgrade error - - hotfix(rspack-provider): 升级 Rspack 并处理升级问题 - -- 441a579: feat(builder): support output.disableTsChecker in Rspack - - feat(builder): 在使用 Rspack 构建时支持 output.disableTsChecker 配置项 - -- 056627f: fix(plugin-sass): pollute the `global.location` object - fix(plugin-sass): 污染全局对象 `global.location` -- 4274510: fix(builder): failed to disable html via htmlPlugin: false - - fix(builder): 修复通过 htmlPlugin: false 无法禁用 html 的问题 - -- c90ea5a: feat(builder): support output.enableAssetManifest in Rspack - - feat(builder): 在使用 Rspack 构建时支持 output.enableAssetManifest 配置项 - -- 43b4e83: feat: support security.nonce for add nonce attribute on script tag - feat: 支持 security.nonce 配置,为 script 标签添加 nonce 属性 -- ad78387: chore(deps): bump babel-related dependencies to latest version - - chore(deps): 升级 babel 相关依赖到最新版本 - -- Updated dependencies [7d2972e] -- Updated dependencies [863f8df] -- Updated dependencies [e81eeaf] -- Updated dependencies [26dcf3a] -- Updated dependencies [1ef03dc] -- Updated dependencies [056627f] -- Updated dependencies [8fa8566] -- Updated dependencies [4274510] -- Updated dependencies [0fc15ca] -- Updated dependencies [43b4e83] -- Updated dependencies [ad78387] - - @modern-js/builder-shared@2.21.0 - - @modern-js/utils@2.21.0 - - @modern-js/server@2.21.0 - - @modern-js/e2e@2.21.0 - - @modern-js/types@2.21.0 - -## 2.20.0 - -### Patch Changes - -- f0ef868: feat(rspack-provider): update rspack to 0.1.11 - - feat(rspack-provider): 升级 rspack 相关依赖到 0.1.11 - -- Updated dependencies [3c4e0a5] -- Updated dependencies [6b9d90a] -- Updated dependencies [5f055ab] - - @modern-js/builder-shared@2.20.0 - - @modern-js/utils@2.20.0 - - @modern-js/server@2.20.0 - - @modern-js/types@2.20.0 - - @modern-js/e2e@2.20.0 - -## 2.19.1 - -### Patch Changes - -- Updated dependencies [afb735f] - - @modern-js/builder-shared@2.19.1 - - @modern-js/server@2.19.1 - - @modern-js/e2e@2.19.1 - - @modern-js/types@2.19.1 - - @modern-js/utils@2.19.1 - -## 2.19.0 - -### Patch Changes - -- Updated dependencies [1134fe2] - - @modern-js/builder-shared@2.19.0 - - @modern-js/server@2.19.0 - - @modern-js/utils@2.19.0 - - @modern-js/e2e@2.19.0 - - @modern-js/types@2.19.0 - -## 2.18.1 - -### Patch Changes - -- 9b0b7ef: feat(rspack-provider): support tools.pug configuration when Rspack build - - feat(rspack-provider): 在使用 Rspack 构建时支持 tools.pug 配置项 - -- abf8c6d: perf(builder): optimize stats.toJson performance - - perf(builder): 优化 stats.toJson 性能 - -- a6ac01a: feat(rspack-provider): support legalComments `linked` and `none` configuration items when building with Rspack - - feat(rspack-provider): 在使用 Rspack 构建时,支持 legalComments `linked` 和 `none` 配置项 - -- 160a0b3: feat(rspack-provider): update Rspack to 0.1.10 - - feat(rspack-provider): 升级 Rspack 相关依赖到 0.1.10 - -- Updated dependencies [9b0b7ef] - - @modern-js/builder-shared@2.18.1 - - @modern-js/server@2.18.1 - - @modern-js/e2e@2.18.1 - - @modern-js/types@2.18.1 - - @modern-js/utils@2.18.1 - -## 2.18.0 - -### Minor Changes - -- 7de6599: feat: rspack-provider support modern.js ssr mode - feat: rspack-provider 支持 modern.js ssr 模式 - -### Patch Changes - -- ea60b58: refactor(node-polyfill): using Rspack builtins to provide global variables - - refactor(node-polyfill): 通过 Rspack 内置的 provide 注入全局变量 - - - @modern-js/builder-shared@2.18.0 - - @modern-js/server@2.18.0 - - @modern-js/e2e@2.18.0 - - @modern-js/types@2.18.0 - - @modern-js/utils@2.18.0 - -## 2.17.1 - -### Patch Changes - -- @modern-js/builder-shared@2.17.1 -- @modern-js/server@2.17.1 -- @modern-js/e2e@2.17.1 -- @modern-js/types@2.17.1 -- @modern-js/utils@2.17.1 - -## 2.17.0 - -### Patch Changes - -- @modern-js/builder-shared@2.17.0 -- @modern-js/server@2.17.0 -- @modern-js/e2e@2.17.0 -- @modern-js/types@2.17.0 -- @modern-js/utils@2.17.0 - -## 2.16.0 - -### Minor Changes - -- 7596520: feat(builder): builder plugin supports specifying relative order via the `pre` / `post` configuration items - - feat(builder): builder 插件支持通过 `pre` / `post` 配置项指定相对顺序 - -### Patch Changes - -- 50bc0db: feat(builder): update swc-plugins, core-js, swc-helpers - feat(builder): 更新 swc-plugins, core-js, swc-helpers -- fd4a8a6: chore(deps): bump postcss-custom-properties to v13.1.5 - - chore(deps): 升级 postcss-custom-properties 到 v13.1.5 - -- 4e876ab: chore: package.json include the monorepo-relative directory - - chore: 在 package.json 中声明 monorepo 的子路径 - -- Updated dependencies [fe92de6] -- Updated dependencies [091986a] -- Updated dependencies [5954330] -- Updated dependencies [7596520] -- Updated dependencies [4e876ab] -- Updated dependencies [e4e0e01] - - @modern-js/builder-shared@2.16.0 - - @modern-js/utils@2.16.0 - - @modern-js/server@2.16.0 - - @modern-js/types@2.16.0 - - @modern-js/e2e@2.16.0 - -## 2.15.0 - -### Minor Changes - -- 3e5e790: feat(transformImport): support disable default transform import, add more test of transformImport - - feat(transformImport): 支持关闭默认的 transform import,增加更多 transformImport 测试 - -### Patch Changes - -- 7d23d39: fix: rspack back to v0.1.7 - - fix: rspack 回退到 v0.1.7 - -- Updated dependencies [3e5e790] - - @modern-js/builder-shared@2.15.0 - - @modern-js/server@2.15.0 - - @modern-js/e2e@2.15.0 - - @modern-js/types@2.15.0 - - @modern-js/utils@2.15.0 - -## 2.14.0 - -### Patch Changes - -- fefd1c5: feat(builder): add convertToRem.inlineRuntime config - - feat(builder): 新增 convertToRem.inlineRuntime 配置项 - -- 4baf588: fix(monorepo): ignore unnessary peer deps warning from antd - - fix(monorepo): 忽略由 antd 造成的不必要的 peer deps 警告 - -- d0efae3: chore(rspack-provider): update rspack to 0.1.8 - - chore(rspack-provider): 升级 rspack 相关依赖到 0.1.8 版本 - -- 864d55e: feat(builder): source.globalVars support function usage - - feat(builder): source.globalVars 支持函数写法 - -- b965df2: fix(builder): update source.alias type when using Rspack - - fix(builder): 更新使用 Rspack 时的 source.alias 类型 - -- Updated dependencies [b46fbcb] -- Updated dependencies [4779152] -- Updated dependencies [fefd1c5] -- Updated dependencies [8a3c693] -- Updated dependencies [9321bef] -- Updated dependencies [9b45c58] -- Updated dependencies [1f34dba] -- Updated dependencies [52d0cb1] -- Updated dependencies [60a81d0] -- Updated dependencies [864d55e] -- Updated dependencies [b965df2] -- Updated dependencies [dacef96] -- Updated dependencies [16399fd] - - @modern-js/builder-shared@2.14.0 - - @modern-js/server@2.14.0 - - @modern-js/utils@2.14.0 - - @modern-js/types@2.14.0 - - @modern-js/e2e@2.14.0 - -## 2.13.4 - -### Patch Changes - -- @modern-js/builder-shared@2.13.4 -- @modern-js/server@2.13.4 -- @modern-js/e2e@2.13.4 -- @modern-js/types@2.13.4 -- @modern-js/utils@2.13.4 - -## 2.13.3 - -### Patch Changes - -- Updated dependencies [18cd03f] -- Updated dependencies [28583e8] - - @modern-js/builder-shared@2.13.3 - - @modern-js/server@2.13.3 - - @modern-js/e2e@2.13.3 - - @modern-js/types@2.13.3 - - @modern-js/utils@2.13.3 - -## 2.13.2 - -### Patch Changes - -- @modern-js/builder-shared@2.13.2 -- @modern-js/server@2.13.2 -- @modern-js/e2e@2.13.2 -- @modern-js/types@2.13.2 -- @modern-js/utils@2.13.2 - -## 2.13.1 - -### Patch Changes - -- @modern-js/builder-shared@2.13.1 -- @modern-js/server@2.13.1 -- @modern-js/e2e@2.13.1 -- @modern-js/types@2.13.1 -- @modern-js/utils@2.13.1 - -## 2.13.0 - -### Patch Changes - -- c89de05: chore(rspack-provider): apply fullySpecified mjs default value in Rspack - - chore(rspack-provider): 在 Rspack 中设置 fullySpecified 在 mjs 下的默认值 - -- d69c0b9: fix: pin core-js version to 3.27 in SWC - - fix: SWC 相关的 core-js 版本固定到 3.27 - -- 5deb1fb: chore: bump core-js and swc - - chore: 升级 core-js 和 swc - -- 9c0572e: chore(builder): support get builder/shared compiled path in provider getCompiledPath api - - chore(builder): 支持通过 provider getCompiledPath api 获取 builder/shared 中预打包依赖路径 - -- 538d1a8: feat(rspack-provider): update Rspack to 0.1.7 - - feat(rspack-provider): 升级 Rspack 相关依赖至 0.1.7 - -- Updated dependencies [1feacdc] -- Updated dependencies [384406c] -- Updated dependencies [c89de05] -- Updated dependencies [348306d] -- Updated dependencies [384e393] -- Updated dependencies [9c0572e] - - @modern-js/builder-shared@2.13.0 - - @modern-js/server@2.13.0 - - @modern-js/e2e@2.13.0 - - @modern-js/types@2.13.0 - - @modern-js/utils@2.13.0 - -## 2.12.0 - -### Patch Changes - -- cd1d966: chore(rspack-provider): use rspack stats.time instead of manual timing - - chore(rspack-provider): 使用 rspack stats.time 代替手动计时 - -- fef3394: fix(builder): should add id prefix after minify SVG - - fix(builder): 压缩 SVG 后需要添加 id 前缀 - -- 6b30837: chore(rspack-provider): update rspack to 0.1.6 - - chore(rspack-provider): 升级 rspack 相关依赖到 0.1.6 - -- Updated dependencies [c2ca6c8] -- Updated dependencies [6d86e34] -- Updated dependencies [fef3394] - - @modern-js/utils@2.12.0 - - @modern-js/builder-shared@2.12.0 - - @modern-js/server@2.12.0 - - @modern-js/e2e@2.12.0 - - @modern-js/types@2.12.0 - -## 2.11.0 - -### Minor Changes - -- a8c08c3: feat: 添加 `source.transformImoprt` - - feat: add `source.transformImoprt` - -### Patch Changes - -- a9c6083: fix(builder): incorrect asset URL in windows - - fix(builder): 修复 windows 上生成静态资源 URL 错误的问题 - -- 55b07fd: feat(builder): support output.assetsRetry in rspack-provider - - feat(builder): 在 rspack-provider 中支持 output.assetsRetry 配置能力 - -- c0ba89b: feat: 控制台输出 rspack 版本 - feat: Print the version of rspack in the console. -- cd1040f: feat: use generated default config objects instead of global objects - feat: 默认配置项使用动态生成替代全局对象 -- e262a99: fix(builder): failed to set empty distPath.js/css - - fix(builder): 修复设置 distPath.js/css 为空时报错的问题 - -- 1140a69: chore(rspack-builder): update Rspack to 0.1.4 - - chore(rspack-builder): 升级 Rspack 相关依赖至 0.1.4 版本 - -- b71cef1: feat(builder): support setting forceSplitting to be an object - - feat(builder): 支持将 forceSplitting 设置为一个对象 - -- 274b2e5: fix: For rspack-provider can use `tools.babel` configuration, inline the `@babel/preset-typescript` to handle ts syntax in rspack-provider. - fix: 为了 rspack-provider 能给使用 `tools.babel` 配置项,将 `@babel/preset-typescript` 内置进 rspack-provider 去处理 ts 语法。 -- Updated dependencies [adcedad] -- Updated dependencies [cfb058f] -- Updated dependencies [a9c6083] -- Updated dependencies [55b07fd] -- Updated dependencies [0bd018b] -- Updated dependencies [8b90c79] -- Updated dependencies [a8c08c3] -- Updated dependencies [3aa318d] -- Updated dependencies [5d624fd] -- Updated dependencies [e2466a1] -- Updated dependencies [53b0a63] -- Updated dependencies [02bb383] -- Updated dependencies [381a3b9] -- Updated dependencies [7a60f10] -- Updated dependencies [cd1040f] -- Updated dependencies [e262a99] -- Updated dependencies [b71cef1] -- Updated dependencies [274b2e5] -- Updated dependencies [b9e1c54] - - @modern-js/builder-shared@2.11.0 - - @modern-js/utils@2.11.0 - - @modern-js/server@2.11.0 - - @modern-js/e2e@2.11.0 - - @modern-js/types@2.11.0 - -## 2.10.0 - -### Minor Changes - -- a8db932: feat: rspack-provider support tools.babel - feat: rspack-provider 支持 tools.babel - -### Patch Changes - -- 4d54233: chore(builder): update rspack & show rspack format error - - chore(builder): 更新 rspack 版本 & 优化 rspack 错误日志输出 - -- cfdbf80: fix(builder): update source.define type and schema check in rspack-provider - - fix(builder): 更新 rspack-provider 中 source.define 的类型定义与校验 - -- ed55acb: fix: Temporary forbidden the `tools.babel` in rspack ,because the `tools.babel` in rspack would cause a syntax error - fix: 由于使用 tools.babel 会引起语法错误,暂时在 rspack 中禁用 tools.babel 配置能力 -- Updated dependencies [a8db932] -- Updated dependencies [3e0bd50] -- Updated dependencies [92d247f] -- Updated dependencies [0da32d0] -- Updated dependencies [0d9962b] -- Updated dependencies [fbefa7e] -- Updated dependencies [4d54233] -- Updated dependencies [6db4864] - - @modern-js/builder-shared@2.10.0 - - @modern-js/server@2.10.0 - - @modern-js/types@2.10.0 - - @modern-js/utils@2.10.0 - - @modern-js/e2e@2.10.0 - -## 2.9.0 - -### Patch Changes - -- 76b26883bb: fix: rspack-provider swc plugin should not inject core-js in ssr. - fix: rspack-provider swc 插件不应该在 SSR 下注入 core-js -- 07569e577e: fix(builder): add additional note about hashDigest in cssModuleLocalIdentName - - fix(builder): 添加 cssModuleLocalIdentName 中关于 hashDigest 的补充说明 - -- Updated dependencies [49bb8cd0ef] - - @modern-js/server@2.9.0 - - @modern-js/builder-shared@2.9.0 - - @modern-js/e2e@2.9.0 - - @modern-js/types@2.9.0 - - @modern-js/utils@2.9.0 - -## 2.8.0 - -### Minor Changes - -- 40f5039b17: feat(builder): update rspack to 0.1.0 - - feat(builder): 升级 rspack 至 0.1.0 - -### Patch Changes - -- bc943c9b04: fix: specify the resolve.conditionNames when target = node. - fix: 当 target = node,指定 resolve.conditionNames -- 1242f5d8d6: fix(builder-rspack-provider): support entry mode polyfill - - fix(builder-rspack-provider): 支持 entry 模式的 polyfill 注入 - -- 457ee832b9: hotfix(builder): use community loader instead of Rspack unstable sass & less loader - - hotfix(builder): 使用社区 sass-loader 和 less-loader 替代 Rspack 非稳定的 sass 和 less loader - -- Updated dependencies [ea7bb41e30] -- Updated dependencies [bd369a89a4] -- Updated dependencies [1104a9f18b] -- Updated dependencies [70d82e1408] -- Updated dependencies [2c1151271d] -- Updated dependencies [481461a61d] -- Updated dependencies [1f6ca2c7fb] - - @modern-js/server@2.8.0 - - @modern-js/builder-shared@2.8.0 - - @modern-js/utils@2.8.0 - - @modern-js/types@2.8.0 - - @modern-js/e2e@2.8.0 - -## 2.7.0 - -### Patch Changes - -- 206c806efa: fix(rspack-provider): missing tools.autoprefixer type - - fix(rspack-provider): 修复缺少 tools.autoprefixer 类型定义的问题 - -- 3a942a2472: feat: add Rspack provider swc options, add builder-plugin-swc overrideBrowserslist configuration, report warning when enable latestDecorator in builder-plugin-swc - - feat: 给 Rspack provider 增加 swc 相关配置项,增加 builder-plugin-swc overrideBrowserslist 配置,在 builder-plugin-swc 启用 latestDecorator 后增加 warning 报错 - -- 5f899af53a: feat(builder): support output.enableAssetFallback in rspack-provider - - feat(builder): 在 rspack-provider 中支持 output.enableAssetFallback 配置项 - -- 1b913372b4: feat: 增加 copy 配置以及对 core-js path 的 alias - - feat: support copy config and add alias of core-js - -- Updated dependencies [206c806efa] -- Updated dependencies [6378e26bf9] -- Updated dependencies [0f15fc597c] -- Updated dependencies [5f899af53a] -- Updated dependencies [dcad887024] -- Updated dependencies [a4672f7c16] -- Updated dependencies [ebe0d2dd6e] -- Updated dependencies [7fff9020e1] -- Updated dependencies [1eea234fdd] -- Updated dependencies [84bfb439b8] - - @modern-js/builder-shared@2.7.0 - - @modern-js/server@2.7.0 - - @modern-js/utils@2.7.0 - - @modern-js/types@2.7.0 - - @modern-js/e2e@2.7.0 - -## 2.6.0 - -### Patch Changes - -- 0fe658a: feat(builder): support passing URL to html.favicon - - feat(builder): 支持在 html.favicon 中直接传入 URL - -- Updated dependencies [b92d6db] -- Updated dependencies [ba6db6e] -- Updated dependencies [ba6db6e] -- Updated dependencies [e1f799e] -- Updated dependencies [107f674] -- Updated dependencies [7915ab3] -- Updated dependencies [03d7f7d] -- Updated dependencies [fae9d1b] -- Updated dependencies [49fa0b1] -- Updated dependencies [0fe658a] -- Updated dependencies [62930b9] - - @modern-js/builder-shared@2.6.0 - - @modern-js/server@2.6.0 - - @modern-js/utils@2.6.0 - - @modern-js/types@2.6.0 - - @modern-js/e2e@2.6.0 - -## 2.5.0 - -### Minor Changes - -- 28e7dc6: feat: more use bunlder chain to modify bundler config - feat: 更多的使用 `bunlder chain` 去修改 bunlder 配置 - -### Patch Changes - -- 30614fa: chore: modify package.json entry fields and build config - chore: 更改 package.json entry 字段以及构建配置 -- c4c10e7: refactor: refactor rules for static assets processing with rule.oneOf, reuse svg/font/image/media plugin - - refactor: 使用 oneOf 重构静态资源处理规则 & 复用 svg / font / media / img 插件 - -- 84c21f9: fix(builder-webpack-provider): correct mistaken compilerOptions usage in ts-loader options - - fix(builder-webpack-provider): 改正 ts-loader options 中错误的 compilerOptions - -- 1b0ce87: chore: bump caniuse-lite to latest version - - chore: 升级 caniuse-lite 到最新版 - -- c5ea222: feat(builder): support mergeConfig util in tools.webpack - - feat(builder): 支持在 tools.webpack 中使用 mergeConfig 工具函数 - -- 40230b3: feat(builder): enable postcss plugins based on browserslist - - feat(builder): 基于 browserslist 来启用需要的 postcss 插件 - -- Updated dependencies [58a9918] -- Updated dependencies [89ca6cc] -- Updated dependencies [7cb8bb4] -- Updated dependencies [bb4e712] -- Updated dependencies [6fca567] -- Updated dependencies [30614fa] -- Updated dependencies [c4c10e7] -- Updated dependencies [1b0ce87] -- Updated dependencies [11c053b] -- Updated dependencies [f0b3d8c] -- Updated dependencies [28e7dc6] -- Updated dependencies [40230b3] - - @modern-js/builder-shared@2.5.0 - - @modern-js/server@2.5.0 - - @modern-js/types@2.5.0 - - @modern-js/utils@2.5.0 - - @modern-js/e2e@2.5.0 - -## 2.4.0 - -### Minor Changes - -- a5572b8: feat: more plugin rebase in `builder-shared` - feat: 更多 plugin 下沉到 `builder-shared` -- a914be8: feat: modern-js support Rspack bundler - feat: modern-js 支持 Rspack 构建工具 - -### Patch Changes - -- 6f83037: fix: change the builder resolve plugin - fix: 修复 builder resolve 插件 -- 014d06b: feat: reuse bundleAnalyzer plugin, support performance.bundleAnalyze config in rspack-provider - - feat: 复用 bundleAnalyzer 插件,在 rspack-provider 中支持 performance.bundleAnalyze 配置项 - -- 48b036e: fix(builder): should not generate cache when build failed - - fix(builder): 修复构建失败时会生成无效编译缓存的问题 - -- 8c2db5f: feat(core): improve support for exporting a function in config file - - feat(core): 完善对配置文件中导出函数的支持 - -- Updated dependencies [d19484c] -- Updated dependencies [6f83037] -- Updated dependencies [014d06b] -- Updated dependencies [98a2733] -- Updated dependencies [a5572b8] -- Updated dependencies [a914be8] -- Updated dependencies [8c2db5f] - - @modern-js/server@2.4.0 - - @modern-js/builder-shared@2.4.0 - - @modern-js/utils@2.4.0 - - @modern-js/e2e@2.4.0 - - @modern-js/types@2.4.0 - -## 2.3.0 - -### Patch Changes - -- 7cd8185: chore: reuse splitChunks plugin between rspack-provider and webpack-provider - - chore: 在 rspack-provider 和 webpack-provider 间复用 splitChunks plugin - -- 4dfe1bf: feat(rspack-builder): add Rspack minimize plugin - - feat(rspack-builder): 添加 Rspack minimize 插件 - -- Updated dependencies [fd5a3ed] -- Updated dependencies [67ba34a] -- Updated dependencies [2ad9fdf] -- Updated dependencies [f9a26fe] -- Updated dependencies [6ca1c0b] -- Updated dependencies [89b6739] -- Updated dependencies [ff48fc2] - - @modern-js/utils@2.3.0 - - @modern-js/builder-shared@2.3.0 - - @modern-js/server@2.3.0 - - @modern-js/e2e@2.3.0 - - @modern-js/types@2.3.0 - -## 2.2.0 - -### Patch Changes - -- f2f8a83: chore: reuse rem AutoSetRootFontSizePlugin between rspack-provider and webpack-provider - - chore: 在 rspack-provider 和 webpack-provider 间复用 rem AutoSetRootFontSizePlugin - -- cb12ee7: chore: remove some unused deps, bump postcss version - - chore: 移除未使用的依赖, 升级 postcss 版本 - -- 16bdc0a: chore: adjust builder plugin name - - chore: 调整 builder 插件命名格式 - -- Updated dependencies [f2f8a83] -- Updated dependencies [49eff0c] -- Updated dependencies [9fc6de9] -- Updated dependencies [19bb384] - - @modern-js/builder-shared@2.2.0 - - @modern-js/utils@2.2.0 - - @modern-js/server@2.2.0 - - @modern-js/types@2.2.0 - - @modern-js/e2e@2.2.0 - -## 2.1.0 - -### Patch Changes - -- 3ad26c2: feat: add util `mergeBuilderConfig` for `modifyBuilderConfig` hook - - feat: `modifyBuilderConfig` 钩子回调提供工具函数 `mergeBuilderConfig` - -- 5b54418: fix(builder): no longer remove comments of HTML - - fix(builder): 不再默认移除 HTML 中的注释 - -- Updated dependencies [837620c] -- Updated dependencies [3d0fb38] -- Updated dependencies [3ad26c2] -- Updated dependencies [5b54418] -- Updated dependencies [ccbac43] -- Updated dependencies [8a9482c] -- Updated dependencies [679296d] - - @modern-js/utils@2.1.0 - - @modern-js/server@2.1.0 - - @modern-js/builder-shared@2.1.0 - - @modern-js/e2e@2.1.0 - - @modern-js/types@2.1.0 - -## 2.0.0 - -### Major Changes - -Initial Release diff --git a/packages/builder/builder-rspack-provider/LICENSE b/packages/builder/builder-rspack-provider/LICENSE deleted file mode 100644 index 39e3c5971226..000000000000 --- a/packages/builder/builder-rspack-provider/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021-present Modern.js - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/packages/builder/builder-rspack-provider/README.md b/packages/builder/builder-rspack-provider/README.md deleted file mode 100644 index 96471fcd089d..000000000000 --- a/packages/builder/builder-rspack-provider/README.md +++ /dev/null @@ -1,28 +0,0 @@ -> DEPRECATED: use [Rsbuild](https://github.com/web-infra-dev/rsbuild) instead. - -

- Modern.js Logo -

-

- Modern.js Builder -
- - modernjs.dev/builder - -

-

- An Rspack-based build tool for web development. -

- -# @modern-js/builder-webpack-provider - -This package provides webpack build ability of Modern.js Builder. - -## Getting Started - -- [Introduction](https://modernjs.dev/builder/en/guide/introduction.html) -- [API References](https://modernjs.dev/builder/en/api/) - -## Contributing - -- [Contributing Guide](https://github.com/web-infra-dev/modern.js/blob/main/CONTRIBUTING.md) diff --git a/packages/builder/builder-rspack-provider/modern.config.js b/packages/builder/builder-rspack-provider/modern.config.js deleted file mode 100644 index c2bf3e85b393..000000000000 --- a/packages/builder/builder-rspack-provider/modern.config.js +++ /dev/null @@ -1,5 +0,0 @@ -const { tscLikeBuildConfig } = require('@scripts/build'); - -module.exports = { - buildConfig: tscLikeBuildConfig, -}; diff --git a/packages/builder/builder-rspack-provider/package.json b/packages/builder/builder-rspack-provider/package.json deleted file mode 100644 index 00d8a6db356e..000000000000 --- a/packages/builder/builder-rspack-provider/package.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "name": "@modern-js/builder-rspack-provider", - "description": "Builder provider for Rspack", - "homepage": "https://modernjs.dev", - "bugs": "https://github.com/web-infra-dev/modern.js/issues", - "repository": { - "type": "git", - "url": "https://github.com/web-infra-dev/modern.js", - "directory": "packages/builder/builder-rspack-provider" - }, - "license": "MIT", - "keywords": [ - "react", - "framework", - "modern", - "modern.js" - ], - "engines": { - "node": ">=14.0.0" - }, - "version": "2.46.1", - "jsnext:source": "./src/index.ts", - "types": "./src/index.ts", - "main": "./dist/index.js", - "module": "./dist/index.js", - "exports": { - ".": { - "jsnext:source": "./src/index.ts", - "default": "./dist/index.js" - }, - "./plugins/*": { - "types": "./dist/plugins/*.d.ts", - "jsnext:source": "./src/plugins/*.ts", - "default": "./dist/plugins/*.js" - } - }, - "typesVersions": { - "*": { - "plugins/*": [ - "./dist/plugins/*.d.ts" - ] - } - }, - "scripts": { - "prepublishOnly": "only-allow-pnpm", - "build": "modern-lib build", - "dev": "modern-lib build --watch", - "test": "vitest run", - "test:watch": "vitest dev", - "test:ui": "vitest --ui" - }, - "dependencies": { - "@babel/core": "^7.23.2", - "@modern-js/builder-shared": "workspace:*", - "@modern-js/server": "workspace:*", - "@modern-js/types": "workspace:*", - "@modern-js/utils": "workspace:*", - "@babel/preset-typescript": "^7.22.15", - "@rspack/core": "0.4.5", - "@rspack/plugin-react-refresh": "0.4.5", - "@rspack/plugin-html": "0.4.5", - "@swc/helpers": "0.5.3", - "rspack-manifest-plugin": "5.0.0-alpha0", - "caniuse-lite": "^1.0.30001520", - "core-js": "~3.32.1", - "react-refresh": "^0.14.0", - "style-loader": "3.3.3", - "webpack": "^5.89.0", - "postcss": "8.4.31" - }, - "devDependencies": { - "@arco-design/web-react": "^2.46.0", - "@scripts/build": "workspace:*", - "@scripts/vitest-config": "workspace:*", - "@types/node": "^14", - "antd": "4", - "typescript": "^5", - "react": "^18", - "react-dom": "^18" - }, - "sideEffects": false, - "publishConfig": { - "registry": "https://registry.npmjs.org/", - "access": "public", - "provenance": true, - "types": "./dist/index.d.ts" - } -} diff --git a/packages/builder/builder-rspack-provider/src/config/defaults.ts b/packages/builder/builder-rspack-provider/src/config/defaults.ts deleted file mode 100644 index 1c40dad503ae..000000000000 --- a/packages/builder/builder-rspack-provider/src/config/defaults.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { - mergeBuilderConfig, - getDefaultDevConfig, - getDefaultHtmlConfig, - getDefaultToolsConfig, - getDefaultOutputConfig, - getDefaultSourceConfig, - getDefaultSecurityConfig, - getDefaultPerformanceConfig, -} from '@modern-js/builder-shared'; -import type { BuilderConfig } from '../types'; - -export const createDefaultConfig = (): BuilderConfig => ({ - dev: getDefaultDevConfig(), - html: getDefaultHtmlConfig(), - source: { - ...getDefaultSourceConfig(), - define: {}, - }, - output: getDefaultOutputConfig(), - tools: getDefaultToolsConfig(), - security: getDefaultSecurityConfig(), - performance: getDefaultPerformanceConfig(), -}); - -export const withDefaultConfig = (config: BuilderConfig) => - mergeBuilderConfig(createDefaultConfig(), config); diff --git a/packages/builder/builder-rspack-provider/src/config/normalize.ts b/packages/builder/builder-rspack-provider/src/config/normalize.ts deleted file mode 100644 index 01806b024971..000000000000 --- a/packages/builder/builder-rspack-provider/src/config/normalize.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { mergeBuilderConfig } from '@modern-js/builder-shared'; -import { BuilderConfig, NormalizedConfig } from '../types'; -import { createDefaultConfig } from './defaults'; - -/** #__PURE__ - * 1. May used by multiple plugins. - * 2. Object value that should not be empty. - * 3. Meaningful and can be filled by constant value. - */ -export const normalizeConfig = (config: BuilderConfig): NormalizedConfig => - mergeBuilderConfig( - createDefaultConfig() as NormalizedConfig, - config as NormalizedConfig, - ); diff --git a/packages/builder/builder-rspack-provider/src/config/validate/dev.ts b/packages/builder/builder-rspack-provider/src/config/validate/dev.ts deleted file mode 100644 index 89abb7f60668..000000000000 --- a/packages/builder/builder-rspack-provider/src/config/validate/dev.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { sharedDevConfigSchema, z } from '@modern-js/builder-shared'; -import type { DevConfig } from '../../types'; - -export const devConfigSchema: z.ZodType = sharedDevConfigSchema; diff --git a/packages/builder/builder-rspack-provider/src/config/validate/html.ts b/packages/builder/builder-rspack-provider/src/config/validate/html.ts deleted file mode 100644 index 71dca7b164d6..000000000000 --- a/packages/builder/builder-rspack-provider/src/config/validate/html.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { sharedHtmlConfigSchema, z } from '@modern-js/builder-shared'; -import type { HtmlConfig } from '../../types'; - -export const htmlConfigSchema: z.ZodType = sharedHtmlConfigSchema; diff --git a/packages/builder/builder-rspack-provider/src/config/validate/index.ts b/packages/builder/builder-rspack-provider/src/config/validate/index.ts deleted file mode 100644 index 1c71a8bdd2ad..000000000000 --- a/packages/builder/builder-rspack-provider/src/config/validate/index.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { z } from '@modern-js/builder-shared/zod'; -import { validateBuilderConfig as validateConfig } from '@modern-js/builder-shared'; -import { BuilderConfig } from '../../types'; - -import { devConfigSchema } from './dev'; -import { htmlConfigSchema } from './html'; -import { outputConfigSchema } from './output'; -import { performanceConfigSchema } from './performance'; -import { sourceConfigSchema } from './source'; -import { toolsConfigSchema } from './tools'; -import { securityConfigSchema } from './security'; - -export const configSchema: z.ZodType = z.partialObj({ - source: sourceConfigSchema, - dev: devConfigSchema, - html: htmlConfigSchema, - output: outputConfigSchema, - security: securityConfigSchema, - performance: performanceConfigSchema, - tools: toolsConfigSchema, -}); - -export const validateBuilderConfig = async (data: unknown) => { - return validateConfig(configSchema, data); -}; diff --git a/packages/builder/builder-rspack-provider/src/config/validate/output.ts b/packages/builder/builder-rspack-provider/src/config/validate/output.ts deleted file mode 100644 index a4bf47e32f30..000000000000 --- a/packages/builder/builder-rspack-provider/src/config/validate/output.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { sharedOutputConfigSchema, z } from '@modern-js/builder-shared'; -import type { OutputConfig } from '../../types'; - -export const outputConfigSchema: z.ZodType = - sharedOutputConfigSchema - .extend({ - polyfill: z.enum(['entry', 'ua', 'off']), - }) - .partial(); diff --git a/packages/builder/builder-rspack-provider/src/config/validate/performance.ts b/packages/builder/builder-rspack-provider/src/config/validate/performance.ts deleted file mode 100644 index 4cfeee52d505..000000000000 --- a/packages/builder/builder-rspack-provider/src/config/validate/performance.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { - sharedPerformanceConfigSchema, - z, - BaseChunkSplit, - BuilderChunkSplit, - BaseSplitRulesSchema, - SplitBySizeSchema, - SplitCustomSchema, - ForceSplittingSchema, -} from '@modern-js/builder-shared'; -import type { PerformanceConfig } from '../../types'; - -const BaseChunkSplitSchema: z.ZodType = - BaseSplitRulesSchema.extend({ - strategy: z.enum([ - 'split-by-module', - 'split-by-experience', - 'all-in-one', - 'single-vendor', - ]), - forceSplitting: ForceSplittingSchema, - override: z.any().optional(), - }); - -const BuilderChunkSplitSchema: z.ZodType = z.union([ - BaseChunkSplitSchema, - SplitBySizeSchema, - SplitCustomSchema, -]); - -export const performanceConfigSchema: z.ZodType = - sharedPerformanceConfigSchema - .extend({ - chunkSplit: BuilderChunkSplitSchema, - }) - .partial(); diff --git a/packages/builder/builder-rspack-provider/src/config/validate/security.ts b/packages/builder/builder-rspack-provider/src/config/validate/security.ts deleted file mode 100644 index b3c82ac67270..000000000000 --- a/packages/builder/builder-rspack-provider/src/config/validate/security.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { sharedSecurityConfigSchema, z } from '@modern-js/builder-shared'; -import type { SecurityConfig } from '../../types'; - -export const securityConfigSchema: z.ZodType = - sharedSecurityConfigSchema; diff --git a/packages/builder/builder-rspack-provider/src/config/validate/source.ts b/packages/builder/builder-rspack-provider/src/config/validate/source.ts deleted file mode 100644 index fde71af3eab1..000000000000 --- a/packages/builder/builder-rspack-provider/src/config/validate/source.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { sharedSourceConfigSchema, z } from '@modern-js/builder-shared'; -import type { SourceConfig } from '../../types'; - -export const sourceConfigSchema: z.ZodType = - sharedSourceConfigSchema - .extend({ - define: z.record(z.any()), - }) - .partial(); diff --git a/packages/builder/builder-rspack-provider/src/config/validate/tools.ts b/packages/builder/builder-rspack-provider/src/config/validate/tools.ts deleted file mode 100644 index 65b857c67c4b..000000000000 --- a/packages/builder/builder-rspack-provider/src/config/validate/tools.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { - z, - FileFilterUtilSchema, - sharedToolsConfigSchema, -} from '@modern-js/builder-shared'; -import type { ToolsConfig } from '../../types'; - -export const toolsConfigSchema: z.ZodType = - sharedToolsConfigSchema.extend({ - sass: z.chained(z.any(), z.object({ addExcludes: FileFilterUtilSchema })), - less: z.chained(z.any(), z.object({ addExcludes: FileFilterUtilSchema })), - htmlPlugin: z.chained( - z.any(), - z.object({ entryName: z.string(), entryValue: z.any() }), - ), - postcss: z.chained(z.any(), z.object({ addPlugins: z.function() })), - autoprefixer: z.chained(z.any()), - rspack: z.chained(z.any(), z.any()), - }); diff --git a/packages/builder/builder-rspack-provider/src/core/build.ts b/packages/builder/builder-rspack-provider/src/core/build.ts deleted file mode 100644 index 642dd1bf28ff..000000000000 --- a/packages/builder/builder-rspack-provider/src/core/build.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { createCompiler } from './createCompiler'; -import { initConfigs, InitConfigsOptions } from './initConfigs'; -import { - logger, - BuildOptions, - Stats, - MultiStats, -} from '@modern-js/builder-shared'; -import type { Compiler, MultiCompiler, RspackConfig } from '../types'; - -export type BuildExecuter = { - (compiler: Compiler): Promise<{ stats?: Stats }>; - (compiler: MultiCompiler): Promise<{ stats?: MultiStats }>; - (compiler: Compiler | MultiCompiler): Promise<{ stats?: Stats | MultiStats }>; -}; - -export const rspackBuild: BuildExecuter = async compiler => { - return new Promise((resolve, reject) => { - compiler.run((err: any, stats?: Stats) => { - if (err || stats?.hasErrors()) { - const buildError = err || new Error('Rspack build failed!'); - reject(buildError); - } - // If there is a compilation error, the close method should not be called. - // Otherwise the bundler may generate an invalid cache. - else { - // When using run or watch, call close and wait for it to finish before calling run or watch again. - // Concurrent compilations will corrupt the output files. - compiler.close(() => { - // Assert type of stats must align to compiler. - resolve({ stats: stats as any }); - }); - } - }); - }); -}; - -export const build = async ( - initOptions: InitConfigsOptions, - { mode = 'production', watch, compiler: customCompiler }: BuildOptions = {}, - executer?: BuildExecuter, -) => { - if (!process.env.NODE_ENV) { - process.env.NODE_ENV = mode; - } - - const { context } = initOptions; - - let compiler: Compiler | MultiCompiler; - let bundlerConfigs: RspackConfig[] | undefined; - - if (customCompiler) { - compiler = customCompiler as any; - } else { - const { rspackConfigs } = await initConfigs(initOptions); - compiler = await createCompiler({ - context, - rspackConfigs, - }); - bundlerConfigs = rspackConfigs; - } - - await context.hooks.onBeforeBuildHook.call({ - bundlerConfigs, - }); - - if (watch) { - compiler.watch({}, err => { - if (err) { - logger.error(err); - } - }); - } else { - const executeResult = await executer?.(compiler); - await context.hooks.onAfterBuildHook.call({ - stats: executeResult?.stats, - }); - } -}; diff --git a/packages/builder/builder-rspack-provider/src/core/createCompiler.ts b/packages/builder/builder-rspack-provider/src/core/createCompiler.ts deleted file mode 100644 index d48a3678190b..000000000000 --- a/packages/builder/builder-rspack-provider/src/core/createCompiler.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { - debug, - logger, - prettyTime, - formatStats, - TARGET_ID_MAP, -} from '@modern-js/builder-shared'; -import type { Context, RspackConfig } from '../types'; -import { Stats, MultiStats } from '@rspack/core'; - -export async function createCompiler({ - context, - rspackConfigs, -}: { - context: Context; - rspackConfigs: RspackConfig[]; -}) { - debug('create compiler'); - await context.hooks.onBeforeCreateCompilerHook.call({ - bundlerConfigs: rspackConfigs, - }); - - const { rspack } = await import('@rspack/core'); - const { isDev } = await import('@modern-js/utils'); - - const compiler = - rspackConfigs.length === 1 - ? rspack(rspackConfigs[0]) - : rspack(rspackConfigs); - - let isFirstCompile = true; - - compiler.hooks.done.tap('done', async (stats: Stats | MultiStats) => { - const obj = stats.toJson({ - all: false, - timings: true, - }); - - const printTime = (c: typeof obj, index: number) => { - if (c.time) { - const time = prettyTime([0, c.time * 10 ** 6]); - const target = Array.isArray(context.target) - ? context.target[index] - : context.target; - const name = TARGET_ID_MAP[target || 'web']; - logger.ready(`${name} compiled in ${time}`); - } - }; - - if (!stats.hasErrors()) { - if (obj.children) { - obj.children.forEach((c, index) => { - printTime(c, index); - }); - } else { - printTime(obj, 0); - } - } - - const { message, level } = formatStats(stats); - - if (level === 'error') { - logger.error(message); - } - if (level === 'warning') { - logger.warn(message); - } - - if (isDev()) { - await context.hooks.onDevCompileDoneHook.call({ - isFirstCompile, - }); - } - - isFirstCompile = false; - }); - - await context.hooks.onAfterCreateCompilerHook.call({ compiler }); - debug('create compiler done'); - - return compiler; -} diff --git a/packages/builder/builder-rspack-provider/src/core/createContext.ts b/packages/builder/builder-rspack-provider/src/core/createContext.ts deleted file mode 100644 index 1c8452f782fe..000000000000 --- a/packages/builder/builder-rspack-provider/src/core/createContext.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { join } from 'path'; -import { - isFileExists, - TS_CONFIG_FILE, - createContextByConfig, - type CreateBuilderOptions, - NormalizedSharedOutputConfig, -} from '@modern-js/builder-shared'; -import { initHooks } from './initHooks'; -import { validateBuilderConfig } from '../config/validate'; -import { withDefaultConfig } from '../config/defaults'; -import type { Context, BuilderConfig } from '../types'; - -/** - * Generate the actual context used in the build, - * which can have a lot of overhead and take some side effects. - */ -export async function createContext( - options: Required, - userBuilderConfig: BuilderConfig, -): Promise { - const builderConfig = withDefaultConfig(userBuilderConfig); - const context = createContextByConfig( - options, - builderConfig.output as NormalizedSharedOutputConfig, - 'rspack', - ); - const configValidatingTask = Promise.resolve(); - - await validateBuilderConfig(builderConfig); - - const tsconfigPath = join(context.rootPath, TS_CONFIG_FILE); - - return { - ...context, - hooks: initHooks(), - configValidatingTask, - config: { ...builderConfig }, - originalConfig: userBuilderConfig, - tsconfigPath: (await isFileExists(tsconfigPath)) ? tsconfigPath : undefined, - }; -} diff --git a/packages/builder/builder-rspack-provider/src/core/devMiddleware.ts b/packages/builder/builder-rspack-provider/src/core/devMiddleware.ts deleted file mode 100644 index 791897e81342..000000000000 --- a/packages/builder/builder-rspack-provider/src/core/devMiddleware.ts +++ /dev/null @@ -1,61 +0,0 @@ -import webpackDevMiddleware from '@modern-js/builder-shared/webpack-dev-middleware'; -import type { ModernDevServerOptions } from '@modern-js/server'; -import { setupServerHooks, isClientCompiler } from '@modern-js/builder-shared'; - -import type { Compiler, MultiCompiler } from '@rspack/core'; - -type DevMiddlewareOptions = ModernDevServerOptions['devMiddleware']; - -export function getHotRuntimeEntries(compiler: Compiler) { - const hot = compiler.options.devServer?.hot ?? true; - const refresh = compiler.options.builtins?.react?.refresh ?? true; - - if (hot && refresh) { - const reactRefreshEntryPath = require.resolve( - '@rspack/plugin-react-refresh/react-refresh-entry', - ); - return [reactRefreshEntryPath]; - } - - return []; -} - -function applyHMREntry(compiler: Compiler, clientPath: string) { - if (!isClientCompiler(compiler)) { - return; - } - - const hotRuntimeEntires = getHotRuntimeEntries(compiler); - - const entires = [...hotRuntimeEntires, clientPath]; - - for (const key in compiler.options.entry) { - compiler.options.entry[key].import = [ - ...entires, - ...(compiler.options.entry[key].import || []), - ]; - } -} - -export const getDevMiddleware: ( - compiler: Compiler | MultiCompiler, -) => NonNullable = compiler => options => { - const { hmrClientPath, callbacks, ...restOptions } = options; - - if ((compiler as MultiCompiler).compilers) { - (compiler as MultiCompiler).compilers.forEach(compiler => { - hmrClientPath && applyHMREntry(compiler, hmrClientPath); - - // register hooks for each compilation, update socket stats if recompiled - setupServerHooks(compiler, callbacks); - }); - } else { - hmrClientPath && applyHMREntry(compiler as Compiler, hmrClientPath); - - // register hooks for each compilation, update socket stats if recompiled - setupServerHooks(compiler as Compiler, callbacks); - } - - // @ts-expect-error - return webpackDevMiddleware(compiler, restOptions); -}; diff --git a/packages/builder/builder-rspack-provider/src/core/initConfigs.ts b/packages/builder/builder-rspack-provider/src/core/initConfigs.ts deleted file mode 100644 index ecd5333cb639..000000000000 --- a/packages/builder/builder-rspack-provider/src/core/initConfigs.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { - debug, - isDebug, - initPlugins, - mergeBuilderConfig, - type PluginStore, - type InspectConfigOptions, - type CreateBuilderOptions, -} from '@modern-js/builder-shared'; -import { inspectConfig } from './inspectConfig'; -import { generateRspackConfig } from './rspackConfig'; -import { normalizeConfig } from '../config/normalize'; -import type { Context } from '../types'; - -async function modifyBuilderConfig(context: Context) { - debug('modify builder config'); - const [modified] = await context.hooks.modifyBuilderConfigHook.call( - context.config, - { mergeBuilderConfig }, - ); - context.config = modified; - - debug('modify builder config done'); -} - -export type InitConfigsOptions = { - context: Context; - pluginStore: PluginStore; - builderOptions: Required; -}; - -export async function initConfigs({ - context, - pluginStore, - builderOptions, -}: InitConfigsOptions) { - const { ensureArray } = await import('@modern-js/utils'); - - await context.configValidatingTask; - await initPlugins({ - pluginAPI: context.pluginAPI, - pluginStore, - }); - - await modifyBuilderConfig(context); - context.normalizedConfig = normalizeConfig(context.config); - - const targets = ensureArray(builderOptions.target); - const rspackConfigs = await Promise.all( - targets.map(target => generateRspackConfig({ target, context })), - ); - - // write builder config and Rspack config to disk in debug mode - if (isDebug()) { - const inspect = () => { - const inspectOptions: InspectConfigOptions = { - verbose: true, - writeToDisk: true, - }; - inspectConfig({ - context, - pluginStore, - inspectOptions, - builderOptions, - bundlerConfigs: rspackConfigs, - }); - }; - - // run inspect later to avoid cleaned by cleanOutput plugin - context.hooks.onBeforeBuildHook.tap(inspect); - context.hooks.onBeforeStartDevServerHook.tap(inspect); - } - - return { - rspackConfigs, - }; -} diff --git a/packages/builder/builder-rspack-provider/src/core/initHooks.ts b/packages/builder/builder-rspack-provider/src/core/initHooks.ts deleted file mode 100644 index 9bf7a240af31..000000000000 --- a/packages/builder/builder-rspack-provider/src/core/initHooks.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { - createAsyncHook, - OnExitFn, - OnAfterBuildFn, - OnBeforeBuildFn, - OnDevCompileDoneFn, - ModifyBuilderConfigFn, - OnAfterStartDevServerFn, - OnBeforeStartDevServerFn, - OnAfterCreateCompilerFn, - OnBeforeCreateCompilerFn, - ModifyBundlerChainFn, -} from '@modern-js/builder-shared'; -import type { - Compiler, - MultiCompiler, - RspackConfig, - BuilderConfig, - ModifyRspackConfigFn, -} from '../types'; - -export function initHooks() { - return { - /** parameters are not bundler-related */ - onExitHook: createAsyncHook(), - onDevCompileDoneHook: createAsyncHook(), - onAfterStartDevServerHook: createAsyncHook(), - onBeforeStartDevServerHook: createAsyncHook(), - - /** parameters are bundler-related */ - onAfterBuildHook: createAsyncHook(), - onBeforeBuildHook: createAsyncHook>(), - modifyRspackConfigHook: createAsyncHook(), - modifyBuilderConfigHook: - createAsyncHook>(), - onAfterCreateCompilerHook: - createAsyncHook>(), - onBeforeCreateCompilerHook: - createAsyncHook>(), - - modifyBundlerChainHook: createAsyncHook(), - }; -} - -export type Hooks = ReturnType; diff --git a/packages/builder/builder-rspack-provider/src/core/initPlugins.ts b/packages/builder/builder-rspack-provider/src/core/initPlugins.ts deleted file mode 100644 index 8b0bb2a53e94..000000000000 --- a/packages/builder/builder-rspack-provider/src/core/initPlugins.ts +++ /dev/null @@ -1,71 +0,0 @@ -import { - onExitProcess, - createPublicContext, - getHTMLPathByEntry, - type PluginStore, -} from '@modern-js/builder-shared'; -import type { Context, BuilderPluginAPI } from '../types'; - -export function getPluginAPI({ - context, - pluginStore, -}: { - context: Context; - pluginStore: PluginStore; -}): BuilderPluginAPI { - const { hooks } = context; - const publicContext = createPublicContext(context); - - const getBuilderConfig = () => { - if (!context.normalizedConfig) { - throw new Error( - 'Cannot access builder config until modifyBuilderConfig is called.', - ); - } - return context.config; - }; - - const getNormalizedConfig = () => { - if (!context.normalizedConfig) { - throw new Error( - 'Cannot access normalized config until modifyBuilderConfig is called.', - ); - } - return context.normalizedConfig; - }; - - const getHTMLPaths = () => { - return Object.keys(context.entry).reduce>( - (prev, key) => { - prev[key] = getHTMLPathByEntry(key, getNormalizedConfig()); - return prev; - }, - {}, - ); - }; - - onExitProcess(() => { - hooks.onExitHook.call(); - }); - - return { - context: publicContext, - getHTMLPaths, - getBuilderConfig, - getNormalizedConfig, - isPluginExists: pluginStore.isPluginExists, - - // Hooks - onExit: hooks.onExitHook.tap, - onAfterBuild: hooks.onAfterBuildHook.tap, - onBeforeBuild: hooks.onBeforeBuildHook.tap, - onDevCompileDone: hooks.onDevCompileDoneHook.tap, - modifyRspackConfig: hooks.modifyRspackConfigHook.tap, - modifyBuilderConfig: hooks.modifyBuilderConfigHook.tap, - modifyBundlerChain: hooks.modifyBundlerChainHook.tap, - onAfterCreateCompiler: hooks.onAfterCreateCompilerHook.tap, - onBeforeCreateCompiler: hooks.onBeforeCreateCompilerHook.tap, - onAfterStartDevServer: hooks.onAfterStartDevServerHook.tap, - onBeforeStartDevServer: hooks.onBeforeStartDevServerHook.tap, - }; -} diff --git a/packages/builder/builder-rspack-provider/src/core/inspectConfig.ts b/packages/builder/builder-rspack-provider/src/core/inspectConfig.ts deleted file mode 100644 index c0137df4c691..000000000000 --- a/packages/builder/builder-rspack-provider/src/core/inspectConfig.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { join, isAbsolute } from 'path'; -import { initConfigs, InitConfigsOptions } from './initConfigs'; -import { - InspectConfigOptions, - outputInspectConfigFiles, - stringifyConfig, -} from '@modern-js/builder-shared'; -import type { RspackConfig } from '../types'; - -export async function inspectConfig({ - context, - pluginStore, - builderOptions, - bundlerConfigs, - inspectOptions = {}, -}: InitConfigsOptions & { - inspectOptions?: InspectConfigOptions; - bundlerConfigs?: RspackConfig[]; -}) { - if (inspectOptions.env) { - process.env.NODE_ENV = inspectOptions.env; - } else if (!process.env.NODE_ENV) { - process.env.NODE_ENV = 'development'; - } - - const rspackConfigs = - bundlerConfigs || - ( - await initConfigs({ - context, - pluginStore, - builderOptions, - }) - ).rspackConfigs; - - const rawBuilderConfig = await stringifyConfig( - context.config, - inspectOptions.verbose, - ); - const rawBundlerConfigs = await Promise.all( - rspackConfigs.map(config => - stringifyConfig(config, inspectOptions.verbose), - ), - ); - - let outputPath = inspectOptions.outputPath || context.distPath; - if (!isAbsolute(outputPath)) { - outputPath = join(context.rootPath, outputPath); - } - - if (inspectOptions.writeToDisk) { - await outputInspectConfigFiles({ - builderConfig: rawBuilderConfig, - bundlerConfigs: rawBundlerConfigs, - inspectOptions: { - ...inspectOptions, - outputPath, - }, - builderOptions, - configType: 'rspack', - }); - } - - return { - builderConfig: rawBuilderConfig, - bundlerConfigs: rawBundlerConfigs, - origin: { - builderConfig: context.config, - bundlerConfigs: rspackConfigs, - }, - }; -} diff --git a/packages/builder/builder-rspack-provider/src/core/rspackConfig.ts b/packages/builder/builder-rspack-provider/src/core/rspackConfig.ts deleted file mode 100644 index d31e899ff88a..000000000000 --- a/packages/builder/builder-rspack-provider/src/core/rspackConfig.ts +++ /dev/null @@ -1,149 +0,0 @@ -import { - debug, - BundlerConfig, - modifyBundlerChain, - type NodeEnv, - type BuilderTarget, - type ModifyChainUtils, -} from '@modern-js/builder-shared'; -import { castArray } from '@modern-js/utils/lodash'; -import { getCompiledPath } from '../shared'; -import type { Context, RspackConfig, ModifyRspackConfigUtils } from '../types'; - -async function modifyRspackConfig( - context: Context, - rspackConfig: RspackConfig, - utils: ModifyRspackConfigUtils, -) { - debug('modify Rspack config'); - let [modifiedConfig] = await context.hooks.modifyRspackConfigHook.call( - rspackConfig, - utils, - ); - - if (context.config.tools?.rspack) { - const { applyOptionsChain } = await import('@modern-js/utils'); - - modifiedConfig = applyOptionsChain( - modifiedConfig, - context.config.tools.rspack, - utils, - utils.mergeConfig, - ); - } - - debug('modify Rspack config done'); - return modifiedConfig; -} - -async function getConfigUtils( - config: RspackConfig, - chainUtils: ModifyChainUtils, -): Promise { - const { merge } = await import('@modern-js/builder-shared/webpack-merge'); - const rspack = await import('@rspack/core'); - - return { - ...chainUtils, - - rspack, - - mergeConfig: merge, - - addRules(rules) { - const ruleArr = castArray(rules); - if (!config.module) { - config.module = {}; - } - if (!config.module.rules) { - config.module.rules = []; - } - config.module.rules.unshift(...ruleArr); - }, - - prependPlugins(plugins) { - const pluginArr = castArray(plugins); - if (!config.plugins) { - config.plugins = []; - } - config.plugins.unshift(...pluginArr); - }, - - appendPlugins(plugins) { - const pluginArr = castArray(plugins); - if (!config.plugins) { - config.plugins = []; - } - config.plugins.push(...pluginArr); - }, - - removePlugin(pluginName) { - if (config.plugins) { - config.plugins = config.plugins.filter(p => p && p.name !== pluginName); - } - }, - }; -} - -async function getChainUtils(target: BuilderTarget): Promise { - const nodeEnv = process.env.NODE_ENV as NodeEnv; - const { CHAIN_ID } = await import('@modern-js/utils'); - const { default: HtmlPlugin } = await import('@rspack/plugin-html'); - const { default: webpack } = await import('webpack'); - - return { - env: nodeEnv, - target, - isProd: nodeEnv === 'production', - isServer: target === 'node', - isServiceWorker: target === 'service-worker', - isWebWorker: target === 'web-worker', - getCompiledPath, - CHAIN_ID, - HtmlPlugin, - webpack, - }; -} - -/** - * BundlerConfig type is similar to WebpackConfig. - * - * The type is not strictly compatible with rspack, such as devtool (string or const). - * - * There is no need to consider it in builder, and it is handed over to rspack for verification - */ -const convertToRspackConfig = (config: BundlerConfig): RspackConfig => { - return config as unknown as RspackConfig; -}; - -export async function generateRspackConfig({ - target, - context, -}: { - target: BuilderTarget; - context: Context; -}) { - const chainUtils = await getChainUtils(target); - const { BannerPlugin, DefinePlugin, ProvidePlugin } = await import( - '@rspack/core' - ); - - const chain = await modifyBundlerChain(context, { - ...chainUtils, - bundler: { - BannerPlugin, - DefinePlugin, - ProvidePlugin, - }, - }); - - let rspackConfig = convertToRspackConfig(chain.toConfig()); - - rspackConfig = await modifyRspackConfig( - context, - rspackConfig, - await getConfigUtils(rspackConfig, chainUtils), - ); - - return rspackConfig; -} diff --git a/packages/builder/builder-rspack-provider/src/core/startDevServer.ts b/packages/builder/builder-rspack-provider/src/core/startDevServer.ts deleted file mode 100644 index 9888deb4e223..000000000000 --- a/packages/builder/builder-rspack-provider/src/core/startDevServer.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { - debug, - startDevServer as baseStartDevServer, - StartDevServerOptions, - getDevServerOptions, -} from '@modern-js/builder-shared'; -import { createCompiler } from './createCompiler'; -import { initConfigs, InitConfigsOptions } from './initConfigs'; -import type { Compiler, MultiCompiler } from '../types'; -import { getDevMiddleware } from './devMiddleware'; - -type ServerOptions = Exclude; - -export async function createDevServer( - options: InitConfigsOptions, - port: number, - serverOptions: ServerOptions, - customCompiler?: Compiler | MultiCompiler, -) { - const { Server } = await import('@modern-js/server'); - - let compiler: Compiler | MultiCompiler; - if (customCompiler) { - compiler = customCompiler; - } else { - const { rspackConfigs } = await initConfigs(options); - compiler = await createCompiler({ - context: options.context, - rspackConfigs, - }); - } - - debug('create dev server'); - - const builderConfig = options.context.config; - const { config, devConfig } = await getDevServerOptions({ - builderConfig, - serverOptions, - port, - }); - - const server = new Server({ - pwd: options.context.rootPath, - devMiddleware: getDevMiddleware(compiler), - ...serverOptions, - dev: devConfig, - config, - }); - - debug('create dev server done'); - - return server; -} - -export async function startDevServer( - options: InitConfigsOptions, - startDevServerOptions: StartDevServerOptions = {}, -) { - return baseStartDevServer( - options, - ( - options: InitConfigsOptions, - port: number, - serverOptions: ServerOptions, - compiler: StartDevServerOptions['compiler'], - ) => - createDevServer( - options, - port, - serverOptions, - compiler as unknown as Compiler, - ), - startDevServerOptions, - ); -} diff --git a/packages/builder/builder-rspack-provider/src/index.ts b/packages/builder/builder-rspack-provider/src/index.ts deleted file mode 100644 index 5b14999767bf..000000000000 --- a/packages/builder/builder-rspack-provider/src/index.ts +++ /dev/null @@ -1,28 +0,0 @@ -export { getRspackVersion } from './shared/rspackVersion'; -export { builderRspackProvider } from './provider'; -export type { BuilderRspackProvider } from './provider'; - -export type { - // Config Types - BuilderConfig, - NormalizedConfig, - DevConfig, - OutputConfig, - ToolsConfig, - SourceConfig, - SecurityConfig, - PerformanceConfig, - - // Hook Callback Types - ModifyRspackConfigFn, - ModifyRspackConfigUtils, - - // Plugin Types - BuilderPluginAPI, - - // Rspack - Rspack, - RspackConfig, - Compiler as RspackCompiler, - MultiCompiler as RspackMultiCompiler, -} from './types'; diff --git a/packages/builder/builder-rspack-provider/src/plugins/babel.ts b/packages/builder/builder-rspack-provider/src/plugins/babel.ts deleted file mode 100644 index 2178f2408420..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/babel.ts +++ /dev/null @@ -1,126 +0,0 @@ -import { - mergeRegex, - applyScriptCondition, - JS_REGEX, - TS_REGEX, -} from '@modern-js/builder-shared'; -import { cloneDeep, isEqual } from '@modern-js/utils/lodash'; -import { BuilderPlugin, NormalizedConfig } from '../types'; -import type { BabelOptions } from '@modern-js/types'; - -/** - * The `@babel/preset-typescript` default options. - */ -export const DEFAULT_BABEL_PRESET_TYPESCRIPT_OPTIONS = { - allowNamespaces: true, - allExtensions: true, - allowDeclareFields: true, - // aligns Babel's behavior with TypeScript's default behavior. - // https://babeljs.io/docs/en/babel-preset-typescript#optimizeconstenums - optimizeConstEnums: true, - isTSX: true, -}; - -export const builderPluginBabel = (): BuilderPlugin => ({ - name: 'builder-plugin-babel', - setup(api) { - api.modifyBundlerChain( - async (chain, { CHAIN_ID, isProd, getCompiledPath }) => { - const config = api.getNormalizedConfig(); - if (!config.tools.babel) { - // we would not use babel loader in rspack, unless user need to use. - return; - } - - const { applyUserBabelConfig } = await import('@modern-js/utils'); - - const getBabelOptions = (config: NormalizedConfig) => { - // 1. Create babel utils function about include/exclude, - const includes: Array = []; - const excludes: Array = []; - - const babelUtils = { - addIncludes(items: string | RegExp | Array) { - if (Array.isArray(items)) { - includes.push(...items); - } else { - includes.push(items); - } - }, - addExcludes(items: string | RegExp | Array) { - if (Array.isArray(items)) { - excludes.push(...items); - } else { - excludes.push(items); - } - }, - }; - - const baseConfig = { - plugins: [], - presets: [ - [ - require.resolve('@babel/preset-typescript'), - DEFAULT_BABEL_PRESET_TYPESCRIPT_OPTIONS, - ], - ], - }; - - const userBabelConfig = applyUserBabelConfig( - cloneDeep(baseConfig), - config.tools.babel, - babelUtils, - ); - - const notModify = - isEqual(baseConfig, userBabelConfig) && - !includes?.length && - !excludes?.length; - - if (notModify) { - return {}; - } - - const babelOptions: BabelOptions = { - babelrc: false, - configFile: false, - compact: isProd, - ...userBabelConfig, - }; - - return { - babelOptions, - includes, - excludes, - }; - }; - - const { - babelOptions, - includes = [], - excludes = [], - } = getBabelOptions(config); - - if (!babelOptions) { - return; - } - - const rule = chain.module.rule(CHAIN_ID.RULE.JS); - - applyScriptCondition({ - rule, - config, - context: api.context, - includes, - excludes, - }); - - rule - .test(mergeRegex(JS_REGEX, TS_REGEX)) - .use(CHAIN_ID.USE.BABEL) - .loader(getCompiledPath('babel-loader')) - .options(babelOptions); - }, - ); - }, -}); diff --git a/packages/builder/builder-rspack-provider/src/plugins/basic.ts b/packages/builder/builder-rspack-provider/src/plugins/basic.ts deleted file mode 100644 index 04e9fa7ea14d..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/basic.ts +++ /dev/null @@ -1,13 +0,0 @@ -import type { BuilderPlugin } from '../types'; -import { applyBuilderBasicPlugin } from '@modern-js/builder-shared'; - -/** - * Provide some basic configs of rspack - */ -export const builderPluginBasic = (): BuilderPlugin => ({ - name: 'builder-plugin-basic', - - setup(api) { - applyBuilderBasicPlugin(api); - }, -}); diff --git a/packages/builder/builder-rspack-provider/src/plugins/css.ts b/packages/builder/builder-rspack-provider/src/plugins/css.ts deleted file mode 100644 index 1792894d96ea..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/css.ts +++ /dev/null @@ -1,291 +0,0 @@ -import { - getBrowserslistWithDefault, - isUseCssExtract, - isUseCssSourceMap, - CSS_REGEX, - CSS_MODULES_REGEX, - getCssLoaderOptions, - setConfig, - logger, - getCssModulesAutoRule, - getPostcssConfig, - getCssModuleLocalIdentName, - resolvePackage, - type BundlerChain, - type BuilderContext, - type StyleLoaderOptions, - type ModifyBundlerChainUtils, -} from '@modern-js/builder-shared'; -import path from 'path'; -import type { - BuilderPlugin, - NormalizedConfig, - RspackRule, - RuleSetRule, -} from '../types'; -import { getCompiledPath } from '../shared'; - -export const enableNativeCss = (config: NormalizedConfig) => - !config.output.disableCssExtract; - -export async function applyBaseCSSRule({ - rule, - config, - context, - utils: { target, isProd, isServer, isWebWorker, CHAIN_ID }, - importLoaders = 1, -}: { - rule: ReturnType; - config: NormalizedConfig; - context: BuilderContext; - utils: ModifyBundlerChainUtils; - importLoaders?: number; -}) { - // 1. Check user config - const enableExtractCSS = isUseCssExtract(config, target); - const enableSourceMap = isUseCssSourceMap(config); - const enableCSSModuleTS = Boolean(config.output.enableCssModuleTSDeclaration); - const { applyOptionsChain } = await import('@modern-js/utils'); - - const browserslist = await getBrowserslistWithDefault( - context.rootPath, - config, - target, - ); - - const enableCssMinify = !enableExtractCSS && isProd; - - // when disableExtractCSS, use css-loader + style-loader - if (!enableNativeCss(config)) { - const localIdentName = getCssModuleLocalIdentName(config, isProd); - - const cssLoaderOptions = await getCssLoaderOptions({ - config, - enableSourceMap, - importLoaders, - isServer, - isWebWorker, - localIdentName, - }); - - if (!isServer && !isWebWorker) { - const styleLoaderOptions = applyOptionsChain( - { - // todo: hmr does not work while esModule is true - // @ts-expect-error - esModule: false, - }, - config.tools.styleLoader, - ); - rule - .use(CHAIN_ID.USE.STYLE) - .loader(require.resolve('style-loader')) - .options(styleLoaderOptions) - .end(); - - // use css-modules-typescript-loader - if (enableCSSModuleTS && cssLoaderOptions.modules) { - rule - .use(CHAIN_ID.USE.CSS_MODULES_TS) - .loader( - resolvePackage( - '@modern-js/builder-shared/css-modules-typescript-loader', - __dirname, - ), - ) - .options({ - modules: cssLoaderOptions.modules, - }) - .end(); - } - } else { - rule - .use(CHAIN_ID.USE.IGNORE_CSS) - .loader( - resolvePackage( - '@modern-js/builder-shared/ignore-css-loader', - __dirname, - ), - ) - .end(); - } - - rule - .use(CHAIN_ID.USE.CSS) - .loader(getCompiledPath('css-loader')) - .options(cssLoaderOptions) - .end(); - } else { - // can not get experiment.css result, so we fake a css-modules-typescript-pre-loader - if (!isServer && !isWebWorker && enableCSSModuleTS) { - const { cssModules, disableCssModuleExtension } = config.output; - - const cssModulesAuto = getCssModulesAutoRule( - cssModules, - disableCssModuleExtension, - ); - - rule - .use(CHAIN_ID.USE.CSS_MODULES_TS) - .loader( - path.resolve( - __dirname, - '../rspackLoader/css-modules-typescript-pre-loader', - ), - ) - .options({ - modules: { - exportLocalsConvention: cssModules.exportLocalsConvention, - auto: cssModulesAuto, - }, - }) - .end(); - } - - rule.type('css'); - } - - if (!isServer && !isWebWorker) { - const postcssLoaderOptions = await getPostcssConfig({ - enableSourceMap, - browserslist, - config, - enableCssMinify, - }); - - rule - .use(CHAIN_ID.USE.POSTCSS) - .loader(getCompiledPath('postcss-loader')) - .options(postcssLoaderOptions) - .end(); - } - - // CSS imports should always be treated as sideEffects - rule.merge({ sideEffects: true }); - - // Enable preferRelative by default, which is consistent with the default behavior of css-loader - // see: https://github.com/webpack-contrib/css-loader/blob/579fc13/src/plugins/postcss-import-parser.js#L234 - rule.resolve.preferRelative(true); -} - -/** - * Use type: "css/module" rule instead of css-loader modules.auto config - * - * applyCSSModuleRule in modifyRspackConfig, so that other plugins can easily adjust css rule in Chain. - */ -export const applyCSSModuleRule = ( - rules: RspackRule[] | undefined, - ruleTest: RegExp, - config: NormalizedConfig, -) => { - if (!rules || !enableNativeCss(config)) { - return; - } - - const ruleIndex = rules.findIndex( - r => r !== '...' && r && r.test === ruleTest, - ); - - if (ruleIndex === -1) { - return; - } - - const cssModulesAuto = getCssModulesAutoRule( - config.output.cssModules, - config.output.disableCssModuleExtension, - ); - - if (!cssModulesAuto) { - return; - } - - const rule = rules[ruleIndex] as RuleSetRule; - - const { test, type, ...rest } = rule; - - rules[ruleIndex] = { - test: ruleTest, - oneOf: [ - { - ...rest, - test: - typeof cssModulesAuto !== 'boolean' - ? cssModulesAuto - : // auto: true - CSS_MODULES_REGEX, - type: 'css/module', - }, - { - ...rest, - type: 'css', - }, - ], - }; -}; - -export const builderPluginCss = (): BuilderPlugin => { - return { - name: 'builder-plugin-css', - setup(api) { - api.modifyBundlerChain(async (chain, utils) => { - const config = api.getNormalizedConfig(); - - const rule = chain.module.rule(utils.CHAIN_ID.RULE.CSS); - rule.test(CSS_REGEX); - - await applyBaseCSSRule({ - rule, - utils, - config, - context: api.context, - }); - - const enableSourceMap = isUseCssSourceMap(config); - const enableExtractCSS = isUseCssExtract(config, utils.target); - - // TODO: there is no switch to turn off experiments.css sourcemap in rspack, so we manually remove css sourcemap in builder - if (!enableSourceMap && enableExtractCSS) { - const { RemoveCssSourcemapPlugin } = await import( - '../rspackPlugin/removeCssSourcemapPlugin' - ); - chain - .plugin('remove-css-sourcemap') - .use(RemoveCssSourcemapPlugin, [utils.HtmlPlugin]); - } - }); - api.modifyRspackConfig( - async (rspackConfig, { isProd, isServer, isWebWorker }) => { - const config = api.getNormalizedConfig(); - - if (!enableNativeCss(config)) { - setConfig(rspackConfig, 'experiments.css', false); - return; - } - - let localIdentName = - config.output.cssModuleLocalIdentName || - // Using shorter classname in production to reduce bundle size - (isProd ? '[local]-[hash:6]' : '[path][name]__[local]-[hash:6]'); - - if (localIdentName.includes(':base64')) { - logger.warn( - `Custom hashDigest in output.cssModuleLocalIdentName is currently not supported when using Rspack, the 'base64' will be ignored.`, - ); - localIdentName = localIdentName.replace(':base64', ''); - } - - // need use type: "css/module" rule instead of modules.auto config - setConfig(rspackConfig, 'builtins.css.modules', { - localsConvention: config.output.cssModules.exportLocalsConvention, - localIdentName, - exportsOnly: isServer || isWebWorker, - }); - - const rules = rspackConfig.module?.rules; - - applyCSSModuleRule(rules, CSS_REGEX, config); - }, - ); - }, - }; -}; diff --git a/packages/builder/builder-rspack-provider/src/plugins/fallback.ts b/packages/builder/builder-rspack-provider/src/plugins/fallback.ts deleted file mode 100644 index affaf5339ea6..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/fallback.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { join } from 'path'; -import { - getDistPath, - getFilename, - setConfig, - resourceRuleFallback, -} from '@modern-js/builder-shared'; -import type { BuilderPlugin } from '../types'; - -export const builderPluginFallback = (): BuilderPlugin => ({ - name: 'builder-plugin-fallback', - - setup(api) { - api.modifyRspackConfig((config, { isProd }) => { - const builderConfig = api.getNormalizedConfig(); - - if (!builderConfig.output.enableAssetFallback) { - return; - } - - const distDir = getDistPath(builderConfig.output, 'media'); - const filename = getFilename(builderConfig.output, 'media', isProd); - - setConfig(config, 'output.assetModuleFilename', join(distDir, filename)); - - if (!config.module) { - return; - } - - setConfig( - config, - 'module.rules', - // Rspack RuleSetRule is not exactly aligned with webpack. But it doesn't matter in resourceRuleFallback. - // @ts-expect-error - resourceRuleFallback(config.module?.rules), - ); - }); - }, -}); diff --git a/packages/builder/builder-rspack-provider/src/plugins/hmr.ts b/packages/builder/builder-rspack-provider/src/plugins/hmr.ts deleted file mode 100644 index 6ed30e4cfa74..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/hmr.ts +++ /dev/null @@ -1,17 +0,0 @@ -import type { BuilderPlugin } from '../types'; - -import { setConfig, isUsingHMR } from '@modern-js/builder-shared'; - -export const builderPluginHMR = (): BuilderPlugin => ({ - name: 'builder-plugin-hmr', - - setup(api) { - api.modifyRspackConfig((rspackConfig, utils) => { - const config = api.getNormalizedConfig(); - - const usingHMR = isUsingHMR(config, utils); - - setConfig(rspackConfig, 'devServer.hot', usingHMR); - }); - }, -}); diff --git a/packages/builder/builder-rspack-provider/src/plugins/less.ts b/packages/builder/builder-rspack-provider/src/plugins/less.ts deleted file mode 100644 index bdf8b0cd7ec1..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/less.ts +++ /dev/null @@ -1,60 +0,0 @@ -import type { BuilderPlugin } from '../types'; -import { - isUseCssSourceMap, - LESS_REGEX, - getLessLoaderOptions, -} from '@modern-js/builder-shared'; - -export function builderPluginLess(): BuilderPlugin { - return { - name: 'builder-plugin-less', - setup(api) { - api.modifyBundlerChain(async (chain, utils) => { - const config = api.getNormalizedConfig(); - const { applyBaseCSSRule } = await import('./css'); - - const rule = chain.module - .rule(utils.CHAIN_ID.RULE.LESS) - .test(LESS_REGEX); - - await applyBaseCSSRule({ - rule, - utils, - config, - context: api.context, - importLoaders: 2, - }); - - const { excludes, options } = await getLessLoaderOptions( - config.tools.less, - isUseCssSourceMap(config), - ); - - excludes.forEach(item => { - rule.exclude.add(item); - }); - - await applyBaseCSSRule({ - rule, - utils, - config, - context: api.context, - }); - - rule - .use(utils.CHAIN_ID.USE.LESS) - .loader(utils.getCompiledPath('less-loader')) - .options(options); - }); - - api.modifyRspackConfig(async rspackConfig => { - const { applyCSSModuleRule } = await import('./css'); - const config = api.getNormalizedConfig(); - - const rules = rspackConfig.module?.rules; - - applyCSSModuleRule(rules, LESS_REGEX, config); - }); - }, - }; -} diff --git a/packages/builder/builder-rspack-provider/src/plugins/manifest.ts b/packages/builder/builder-rspack-provider/src/plugins/manifest.ts deleted file mode 100644 index 26f713b9d045..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/manifest.ts +++ /dev/null @@ -1,30 +0,0 @@ -import type { BuilderPlugin } from '../types'; -import { generateManifest } from '@modern-js/builder-shared'; - -export const builderPluginManifest = (): BuilderPlugin => ({ - name: 'builder-plugin-manifest', - - setup(api) { - api.modifyBundlerChain(async (chain, { CHAIN_ID, target }) => { - const config = api.getNormalizedConfig(); - - if (!config.output.enableAssetManifest) { - return; - } - - const { WebpackManifestPlugin } = await import('rspack-manifest-plugin'); - const publicPath = chain.output.get('publicPath'); - - chain.plugin(CHAIN_ID.PLUGIN.MANIFEST).use(WebpackManifestPlugin, [ - { - fileName: - target === 'web' - ? 'asset-manifest.json' - : `asset-manifest-${target}.json`, - publicPath, - generate: generateManifest, - }, - ]); - }); - }, -}); diff --git a/packages/builder/builder-rspack-provider/src/plugins/minimize.ts b/packages/builder/builder-rspack-provider/src/plugins/minimize.ts deleted file mode 100644 index bdc21ab3a8bc..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/minimize.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { CHAIN_ID } from '@modern-js/utils/chain-id'; -import { applyCSSMinimizer, BundlerChain } from '@modern-js/builder-shared'; -import type { - BuilderPlugin, - NormalizedConfig, - RspackBuiltinsConfig, -} from '../types'; -import { SwcJsMinimizerRspackPlugin } from '@rspack/core'; - -export async function applyJSMinimizer( - chain: BundlerChain, - config: NormalizedConfig, -) { - const options: RspackBuiltinsConfig['minifyOptions'] = {}; - - const { removeConsole } = config.performance; - - if (removeConsole === true) { - options.dropConsole = true; - } else if (Array.isArray(removeConsole)) { - const pureFuncs = removeConsole.map(method => `console.${method}`); - options.pureFuncs = pureFuncs; - } - - switch (config.output.legalComments) { - case 'inline': - options.comments = 'some'; - options.extractComments = false; - break; - case 'linked': - options.extractComments = true; - break; - case 'none': - options.comments = false; - options.extractComments = false; - break; - default: - break; - } - - options.asciiOnly = config.output.charset === 'ascii'; - - chain.optimization - .minimizer(CHAIN_ID.MINIMIZER.JS) - .use(SwcJsMinimizerRspackPlugin, [options]) - .end(); -} - -export const builderPluginMinimize = (): BuilderPlugin => ({ - name: 'builder-plugin-minimize', - - setup(api) { - api.modifyBundlerChain(async (chain, { isProd }) => { - const config = api.getNormalizedConfig(); - const isMinimize = isProd && !config.output.disableMinimize; - - // set minimize to allow users to disable minimize - chain.optimization.minimize(isMinimize); - - if (isMinimize) { - await applyJSMinimizer(chain, config); - await applyCSSMinimizer(chain, config); - } - }); - }, -}); diff --git a/packages/builder/builder-rspack-provider/src/plugins/output.ts b/packages/builder/builder-rspack-provider/src/plugins/output.ts deleted file mode 100644 index 599658d4befa..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/output.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { posix } from 'path'; -import { - getDistPath, - getFilename, - applyBuilderOutputPlugin, -} from '@modern-js/builder-shared'; -import type { BuilderPlugin } from '../types'; - -export const builderPluginOutput = (): BuilderPlugin => ({ - name: 'builder-plugin-output', - - setup(api) { - applyBuilderOutputPlugin(api); - - api.modifyBundlerChain(async (chain, { CHAIN_ID }) => { - const config = api.getNormalizedConfig(); - - if (config.output.copy) { - const { CopyRspackPlugin } = await import('@rspack/core'); - const { copy } = config.output; - const options = Array.isArray(copy) ? { patterns: copy } : copy; - - chain.plugin(CHAIN_ID.PLUGIN.COPY).use(CopyRspackPlugin, [options]); - } - }); - - api.modifyRspackConfig(async (rspackConfig, { isProd }) => { - const config = api.getNormalizedConfig(); - - const cssPath = getDistPath(config.output, 'css'); - const cssFilename = getFilename(config.output, 'css', isProd); - - rspackConfig.output ||= {}; - rspackConfig.output.cssFilename = posix.join(cssPath, cssFilename); - rspackConfig.output.cssChunkFilename = posix.join( - cssPath, - `async/${cssFilename}`, - ); - }); - }, -}); diff --git a/packages/builder/builder-rspack-provider/src/plugins/progress.ts b/packages/builder/builder-rspack-provider/src/plugins/progress.ts deleted file mode 100644 index b972e800a0f6..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/progress.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { TARGET_ID_MAP } from '@modern-js/builder-shared'; -import type { BuilderPlugin } from '../types'; - -export const builderPluginProgress = (): BuilderPlugin => ({ - name: 'builder-plugin-progress', - setup(api) { - api.modifyBundlerChain(async (chain, { target, CHAIN_ID }) => { - const config = api.getNormalizedConfig(); - const options = config.dev.progressBar; - - if (!options) { - return; - } - - const { ProgressPlugin } = await import('@rspack/core'); - - chain.plugin(CHAIN_ID.PLUGIN.PROGRESS).use(ProgressPlugin, [ - { - prefix: TARGET_ID_MAP[target], - ...(options === true ? {} : options), - }, - ]); - }); - }, -}); diff --git a/packages/builder/builder-rspack-provider/src/plugins/pug.ts b/packages/builder/builder-rspack-provider/src/plugins/pug.ts deleted file mode 100644 index 018dbfd90588..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/pug.ts +++ /dev/null @@ -1,53 +0,0 @@ -import type { BuilderPlugin } from '../types'; -import type { PugOptions } from '@modern-js/builder-shared'; -import { getCompiledPath } from '../shared'; - -const getPugTemplateCompiler = (userOptions: PugOptions) => ({ - async compile( - content: string, - compileOptions: { - filename: string; - }, - ) { - const options = { - filename: compileOptions.filename, - doctype: 'html', - compileDebug: false, - ...userOptions, - }; - const pug = require(getCompiledPath('pug')); - return `${pug.compileClient(content, options)};\ntemplate;`; - }, -}); - -export const builderPluginPug = (): BuilderPlugin => ({ - name: 'builder-plugin-pug', - - setup(api) { - api.modifyBundlerChain(async (chain, { CHAIN_ID }) => { - const config = api.getNormalizedConfig(); - const { pug } = config.tools; - if (!pug) { - return; - } - - const entries = chain.entryPoints.entries() || {}; - const entryNames = Object.keys(entries); - - const { applyOptionsChain } = await import('@modern-js/utils'); - - const pugOptions = applyOptionsChain({}, pug === true ? {} : pug); - // not support childCompiler in Rspack html-plugin, use templateCompiler instead. - const templateCompiler = getPugTemplateCompiler(pugOptions); - - entryNames.forEach(entry => { - chain.plugin(`${CHAIN_ID.PLUGIN.HTML}-${entry}`).tap(options => { - if (options[0]?.template.endsWith('.pug')) { - options[0].templateCompiler = templateCompiler; - } - return options; - }); - }); - }); - }, -}); diff --git a/packages/builder/builder-rspack-provider/src/plugins/react.ts b/packages/builder/builder-rspack-provider/src/plugins/react.ts deleted file mode 100644 index ba3aa0256a55..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/react.ts +++ /dev/null @@ -1,77 +0,0 @@ -import type { BuilderPlugin, Rspack } from '../types'; -import { - setConfig, - isUsingHMR, - isClientCompiler, - isProd, -} from '@modern-js/builder-shared'; - -// Not needed in Rsbuild -const setupCompiler = (compiler: Rspack.Compiler) => { - if (!isClientCompiler(compiler)) { - return; - } - - // fix react refresh not work in Micro front-end projects when use legacy transformByDefault - // https://github.com/web-infra-dev/rspack/pull/4628/files#diff-81b3afbbf84bc30f7332fb7bd43d52a4544ae16190d41b4b0fe8e8d4c9ca89e0R59 - const definedModules = { - // For Mutiple Instance Mode - __react_refresh_library__: JSON.stringify( - compiler.webpack.Template.toIdentifier( - compiler.options.output.uniqueName || compiler.options.output.library, - ), - ), - }; - new compiler.webpack.DefinePlugin(definedModules).apply(compiler); -}; - -export const builderPluginReact = (): BuilderPlugin => ({ - name: 'builder-plugin-react', - - setup(api) { - api.modifyRspackConfig(async (rspackConfig, utils) => { - const config = api.getNormalizedConfig(); - - const usingHMR = isUsingHMR(config, utils); - - setConfig(rspackConfig, 'builtins.react', { - development: !utils.isProd, - refresh: usingHMR, - // https://swc.rs/docs/configuration/compilation#jsctransformreactruntime - runtime: 'automatic', - }); - }); - - api.modifyBundlerChain(async (chain, utils) => { - const config = api.getNormalizedConfig(); - - const usingHMR = isUsingHMR(config, utils); - - const { bundler } = utils; - - if (usingHMR) { - chain.plugin('ReactRefreshRuntime').use(bundler.ProvidePlugin, [ - { - $ReactRefreshRuntime$: [ - require.resolve('@rspack/plugin-react-refresh/react-refresh'), - ], - }, - ]); - } - }); - - api.onAfterCreateCompiler(({ compiler: multiCompiler }) => { - if (isProd()) { - return; - } - - if ((multiCompiler as Rspack.MultiCompiler).compilers) { - (multiCompiler as Rspack.MultiCompiler).compilers.forEach( - setupCompiler, - ); - } else { - setupCompiler(multiCompiler as Rspack.Compiler); - } - }); - }, -}); diff --git a/packages/builder/builder-rspack-provider/src/plugins/resolve.ts b/packages/builder/builder-rspack-provider/src/plugins/resolve.ts deleted file mode 100644 index 110a69f83792..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/resolve.ts +++ /dev/null @@ -1,48 +0,0 @@ -import type { BuilderPlugin } from '../types'; -import { - setConfig, - applyBuilderResolvePlugin, -} from '@modern-js/builder-shared'; - -export const builderPluginResolve = (): BuilderPlugin => ({ - name: 'builder-plugin-resolve', - - setup(api) { - applyBuilderResolvePlugin(api); - - api.modifyBundlerChain(async (chain, { CHAIN_ID }) => { - const config = api.getNormalizedConfig(); - - if ( - chain.module.rules.get(CHAIN_ID.RULE.JS_DATA_URI) && - config.source.compileJsDataURI - ) { - chain.module - .rule(CHAIN_ID.RULE.JS_DATA_URI) - .resolve.set('fullySpecified', false); - } - }); - - api.modifyRspackConfig(async (rspackConfig, { isServer }) => { - const isTsProject = Boolean(api.context.tsconfigPath); - const config = api.getNormalizedConfig(); - - if (isTsProject && config.source.aliasStrategy === 'prefer-tsconfig') { - setConfig( - rspackConfig, - 'resolve.tsConfigPath', - api.context.tsconfigPath, - ); - } - - if (isServer) { - // FIXME: - // When targe = node, we no need to specify conditionsNames. - // We gueess the webpack would auto specify refrence to target. - // Rspack has't the action, so we need manually specify. - const nodeConditionNames = ['require', 'node']; - setConfig(rspackConfig, 'resolve.conditionNames', nodeConditionNames); - } - }); - }, -}); diff --git a/packages/builder/builder-rspack-provider/src/plugins/rspack-profile.ts b/packages/builder/builder-rspack-provider/src/plugins/rspack-profile.ts deleted file mode 100644 index 0acc2609601c..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/rspack-profile.ts +++ /dev/null @@ -1,103 +0,0 @@ -import type { BuilderPlugin } from '../types'; -import path from 'path'; -import { - experimental_registerGlobalTrace as registerGlobalTrace, - experimental_cleanupGlobalTrace as cleanupGlobalTrace, -} from '@rspack/core'; -// eslint-disable-next-line node/no-unsupported-features/node-builtins -import inspector from 'inspector'; -// eslint-disable-next-line @typescript-eslint/no-restricted-imports -import { fs } from '@modern-js/utils'; -import { logger } from '@modern-js/builder-shared'; - -export const stopProfiler = ( - output: string, - profileSession?: inspector.Session, -) => { - if (!profileSession) { - return; - } - profileSession.post('Profiler.stop', (error, param) => { - if (error) { - logger.error('Failed to generate JS CPU profile:', error); - return; - } - fs.writeFileSync(output, JSON.stringify(param.profile)); - }); -}; - -// Reference rspack-cli -// https://github.com/modern-js-dev/rspack/blob/509abcfc523bc20125459f5d428dc1645751700c/packages/rspack-cli/src/utils/profile.ts -export const builderPluginRspackProfile = (): BuilderPlugin => ({ - name: 'builder-plugin-rspack-profile', - - setup(api) { - /** - * RSPACK_PROFILE=ALL - * RSPACK_PROFILE=TRACE|CPU|LOGGING - */ - const RSPACK_PROFILE = process.env.RSPACK_PROFILE?.toUpperCase(); - - if (!RSPACK_PROFILE) { - return; - } - - const timestamp = Date.now(); - const profileDir = path.join( - api.context.distPath, - `rspack-profile-${timestamp}`, - ); - - let profileSession: inspector.Session | undefined; - - const enableProfileTrace = - RSPACK_PROFILE === 'ALL' || RSPACK_PROFILE.includes('TRACE'); - - const enableCPUProfile = - RSPACK_PROFILE === 'ALL' || RSPACK_PROFILE.includes('CPU'); - - const enableLogging = - RSPACK_PROFILE === 'ALL' || RSPACK_PROFILE.includes('LOGGING'); - - const traceFilePath = path.join(profileDir, 'trace.json'); - const cpuProfilePath = path.join(profileDir, 'jscpuprofile.json'); - const loggingFilePath = path.join(profileDir, 'logging.json'); - - const onStart = () => { - fs.ensureDirSync(profileDir); - - if (enableProfileTrace) { - registerGlobalTrace('trace', 'chrome', traceFilePath); - } - - if (enableCPUProfile) { - profileSession = new inspector.Session(); - profileSession.connect(); - profileSession.post('Profiler.enable'); - profileSession.post('Profiler.start'); - } - }; - - api.onBeforeBuild(onStart); - api.onBeforeStartDevServer(onStart); - - api.onAfterBuild(async ({ stats }) => { - if (enableLogging && stats) { - const logging = stats.toJson({ - all: false, - logging: 'verbose', - loggingTrace: true, - }); - fs.writeFileSync(loggingFilePath, JSON.stringify(logging)); - } - }); - - api.onExit(() => { - enableProfileTrace && cleanupGlobalTrace(); - - stopProfiler(cpuProfilePath, profileSession); - - logger.info(`Saved Rspack profile file to ${profileDir}`); - }); - }, -}); diff --git a/packages/builder/builder-rspack-provider/src/plugins/sass.ts b/packages/builder/builder-rspack-provider/src/plugins/sass.ts deleted file mode 100644 index 3bce0e9cd90f..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/sass.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { - SASS_REGEX, - getSassLoaderOptions, - patchCompilerGlobalLocation, - getResolveUrlJoinFn, -} from '@modern-js/builder-shared'; -import type { BuilderPlugin } from '../types'; - -export function builderPluginSass(): BuilderPlugin { - return { - name: 'builder-plugin-sass', - async setup(api) { - api.onAfterCreateCompiler(({ compiler }) => { - patchCompilerGlobalLocation(compiler); - }); - - api.modifyBundlerChain(async (chain, utils) => { - const config = api.getNormalizedConfig(); - const { applyBaseCSSRule } = await import('./css'); - - const { excludes, options } = await getSassLoaderOptions( - config.tools.sass, - // source-maps required for loaders preceding resolve-url-loader - true, - ); - - const rule = chain.module - .rule(utils.CHAIN_ID.RULE.SASS) - .test(SASS_REGEX); - - excludes.forEach(item => { - rule.exclude.add(item); - }); - - await applyBaseCSSRule({ - rule, - utils, - config, - context: api.context, - // postcss-loader, resolve-url-loader, sass-loader - importLoaders: 3, - }); - - rule - .use(utils.CHAIN_ID.USE.RESOLVE_URL_LOADER_FOR_SASS) - .loader(utils.getCompiledPath('resolve-url-loader')) - .options({ - join: await getResolveUrlJoinFn(), - // 'resolve-url-loader' relies on 'adjust-sourcemap-loader', - // it has performance regression issues in some scenarios, - // so we need to disable the sourceMap option. - sourceMap: false, - }) - .end() - .use(utils.CHAIN_ID.USE.SASS) - .loader(utils.getCompiledPath('sass-loader')) - .options(options); - }); - - api.modifyRspackConfig(async rspackConfig => { - const { applyCSSModuleRule } = await import('./css'); - const config = api.getNormalizedConfig(); - - const rules = rspackConfig.module?.rules; - - applyCSSModuleRule(rules, SASS_REGEX, config); - }); - }, - }; -} diff --git a/packages/builder/builder-rspack-provider/src/plugins/swc.ts b/packages/builder/builder-rspack-provider/src/plugins/swc.ts deleted file mode 100644 index 08272930da58..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/swc.ts +++ /dev/null @@ -1,149 +0,0 @@ -import * as path from 'path'; - -import { - BuilderTarget, - getBrowserslistWithDefault, - logger, - setConfig, - isWebTarget, - addCoreJsEntry, -} from '@modern-js/builder-shared'; -import type { - BuilderPlugin, - BuilderPluginAPI, - NormalizedConfig, - RspackConfig, -} from '../types'; -import { Builtins } from '@rspack/core'; - -/** - * Provide some swc configs of rspack - */ -export const builderPluginSwc = (): BuilderPlugin => ({ - name: 'builder-plugin-swc-rspack', - - setup(api) { - api.modifyBundlerChain(async (chain, { isServer, isServiceWorker }) => { - const config = api.getNormalizedConfig(); - - addCoreJsEntry({ - chain, - config, - isServer, - isServiceWorker, - }); - }); - - api.modifyRspackConfig(async (rspackConfig, { target }) => { - const builderConfig = api.getNormalizedConfig(); - - // Apply decorator and presetEnv - await applyDefaultConfig(rspackConfig, builderConfig, api, target); - }); - }, -}); - -async function applyDefaultConfig( - rspackConfig: RspackConfig, - builderConfig: NormalizedConfig, - api: BuilderPluginAPI, - target: BuilderTarget, -) { - const legacy = !builderConfig.output.enableLatestDecorators; - /** - * Swc only enable latestDecorator for JS module, not TS module. - */ - setConfig(rspackConfig, 'builtins.decorator', { - legacy, - emitMetadata: legacy, - }); - - rspackConfig.builtins ??= {}; - rspackConfig.builtins.presetEnv ??= {}; - - await setBrowserslist( - api.context.rootPath, - builderConfig, - target, - rspackConfig, - ); - - /** - * Enable preset-env polyfill: set rspackConfig.target === 'browserslist' - */ - if (isWebTarget(target)) { - const polyfillMode = builderConfig.output.polyfill; - - // TODO: remove this when Rspack support `usage` mode - if (polyfillMode === 'usage') { - logger.warn( - 'Cannot use `usage` mode polyfill for now, Rspack will support it soon', - ); - rspackConfig.builtins.presetEnv.mode = undefined; - return; - } - - if (polyfillMode === 'off' || polyfillMode === 'ua') { - rspackConfig.builtins.presetEnv.mode = undefined; - } else { - rspackConfig.builtins.presetEnv.mode = polyfillMode; - /* Apply core-js version and path alias */ - await applyCoreJs(rspackConfig); - } - } - - applyTransformImport(rspackConfig, builderConfig.source.transformImport); -} - -async function setBrowserslist( - rootPath: string, - builderConfig: NormalizedConfig, - target: BuilderTarget, - rspackConfig: RspackConfig, -) { - const browserslist = await getBrowserslistWithDefault( - rootPath, - builderConfig, - target, - ); - - if (browserslist) { - rspackConfig.builtins!.presetEnv!.targets = browserslist; - } -} - -async function applyCoreJs(rspackConfig: RspackConfig) { - const { getCoreJsVersion } = await import('@modern-js/utils'); - const coreJsPath = require.resolve('core-js/package.json'); - const version = getCoreJsVersion(coreJsPath); - - rspackConfig.builtins!.presetEnv!.coreJs = version; - - rspackConfig.resolve ??= {}; - rspackConfig.resolve.alias ??= {}; - rspackConfig.resolve.alias['core-js'] = path.dirname(coreJsPath); -} - -async function applyTransformImport( - rspackConfig: RspackConfig, - pluginImport?: false | Builtins['pluginImport'], -) { - if (pluginImport !== false && pluginImport) { - ensureNoJsFunction(pluginImport); - rspackConfig.builtins ??= {}; - rspackConfig.builtins.pluginImport ??= []; - rspackConfig.builtins.pluginImport.push(...pluginImport); - } -} - -function ensureNoJsFunction(pluginImport: Array>) { - for (const item of pluginImport) { - for (const key in item) { - if (typeof item[key] === 'function') { - throw new TypeError( - '`builtins.pluginImport` can not contain Function configuration', - ); - } - } - } -} diff --git a/packages/builder/builder-rspack-provider/src/plugins/transition.ts b/packages/builder/builder-rspack-provider/src/plugins/transition.ts deleted file mode 100644 index 0353e3ea05d1..000000000000 --- a/packages/builder/builder-rspack-provider/src/plugins/transition.ts +++ /dev/null @@ -1,26 +0,0 @@ -import type { BuilderPlugin } from '../types'; -import { setConfig } from '@modern-js/builder-shared'; -/** - * Provide some temporary configurations for Rspack early transition - */ -export const builderPluginTransition = (): BuilderPlugin => ({ - name: 'builder-plugin-transition', - - setup(api) { - process.env.RSPACK_CONFIG_VALIDATE = 'loose-silent'; - - api.modifyBundlerChain(async (chain, { isProd }) => { - if (isProd) { - chain.optimization.chunkIds('deterministic'); - } - }); - - api.modifyRspackConfig(config => { - setConfig( - config, - 'experiments.rspackFuture.disableTransformByDefault', - false, - ); - }); - }, -}); diff --git a/packages/builder/builder-rspack-provider/src/provider.ts b/packages/builder/builder-rspack-provider/src/provider.ts deleted file mode 100644 index 8d72b361e204..000000000000 --- a/packages/builder/builder-rspack-provider/src/provider.ts +++ /dev/null @@ -1,119 +0,0 @@ -import { - startProdServer, - pickBuilderConfig, - createPublicContext, - type BuilderProvider, -} from '@modern-js/builder-shared'; -import chalk from '@modern-js/utils/chalk'; -import { createContext } from './core/createContext'; -import { initConfigs } from './core/initConfigs'; -import { getPluginAPI } from './core/initPlugins'; -import { applyDefaultPlugins } from './shared/plugin'; -import { - isSatisfyRspackMinimumVersion, - supportedRspackMinimumVersion, -} from './shared/rspackVersion'; -import type { - Compiler, - RspackConfig, - BuilderConfig, - NormalizedConfig, - MultiCompiler, -} from './types'; - -export type BuilderRspackProvider = BuilderProvider< - BuilderConfig, - RspackConfig, - NormalizedConfig, - Compiler | MultiCompiler ->; - -export function builderRspackProvider({ - builderConfig: originalBuilderConfig, -}: { - builderConfig: BuilderConfig; -}): BuilderRspackProvider { - const builderConfig = pickBuilderConfig(originalBuilderConfig); - - return async ({ pluginStore, builderOptions, plugins }) => { - if (!(await isSatisfyRspackMinimumVersion())) { - throw new Error( - `The current Rspack version does not meet the requirements, the minimum supported version of Rspack is ${chalk.green( - supportedRspackMinimumVersion, - )}`, - ); - } - - const context = await createContext(builderOptions, builderConfig); - const pluginAPI = getPluginAPI({ context, pluginStore }); - - context.pluginAPI = pluginAPI; - - return { - bundler: 'rspack', - - pluginAPI, - - publicContext: createPublicContext(context), - - async applyDefaultPlugins() { - pluginStore.addPlugins(await applyDefaultPlugins(plugins)); - }, - - async createCompiler() { - const { createCompiler } = await import('./core/createCompiler'); - const { rspackConfigs } = await initConfigs({ - context, - pluginStore, - builderOptions, - }); - - // todo: compiler 类型定义 - return createCompiler({ - context, - rspackConfigs, - }) as any; - }, - - async startDevServer(options) { - const { startDevServer } = await import('./core/startDevServer'); - return startDevServer( - { context, pluginStore, builderOptions }, - options, - ); - }, - - async serve() { - return startProdServer(context, context.config); - }, - - async build(options) { - const { build: buildImpl, rspackBuild } = await import('./core/build'); - return buildImpl( - { context, pluginStore, builderOptions }, - options, - rspackBuild, - ); - }, - - async initConfigs() { - const { rspackConfigs } = await initConfigs({ - context, - pluginStore, - builderOptions, - }); - return rspackConfigs; - }, - - async inspectConfig(inspectOptions) { - const { inspectConfig } = await import('./core/inspectConfig'); - return inspectConfig({ - context, - pluginStore, - builderOptions, - inspectOptions, - }); - }, - }; - }; -} diff --git a/packages/builder/builder-rspack-provider/src/rspackLoader/css-modules-typescript-pre-loader/index.ts b/packages/builder/builder-rspack-provider/src/rspackLoader/css-modules-typescript-pre-loader/index.ts deleted file mode 100644 index fccac4b99905..000000000000 --- a/packages/builder/builder-rspack-provider/src/rspackLoader/css-modules-typescript-pre-loader/index.ts +++ /dev/null @@ -1,102 +0,0 @@ -import cssModulesTypescriptLoader from '@modern-js/builder-shared/css-modules-typescript-loader'; -import { - isCssModules, - isInNodeModules, - CssModules, -} from '@modern-js/builder-shared'; -import type { LoaderContext } from '@rspack/core'; -import type { PostcssParsePluginOptions } from './postcss-icss-extract-plugin'; -import type { CssModuleLocalsConvention } from '@modern-js/builder-shared'; - -async function processCss( - inputSource: string, - { - exportLocalsConvention, - }: { - exportLocalsConvention: CssModuleLocalsConvention; - }, -) { - const { default: postcss } = await import('postcss'); - - const { default: localByDefault } = await import( - '@modern-js/builder-shared/postcss-modules-local-by-default' - ); - - const { default: modulesScope } = await import( - '@modern-js/builder-shared/postcss-modules-scope' - ); - - const { default: postcssICSSExtractPlugin } = await import( - './postcss-icss-extract-plugin' - ); - - const { default: extractImports } = await import( - '@modern-js/builder-shared/postcss-modules-extract-imports' - ); - - const { default: modulesValues } = await import( - '@modern-js/builder-shared/postcss-modules-values' - ); - - const parserOptions = { - exportLocalsConvention, - } as PostcssParsePluginOptions; - - // https://github.com/webpack-contrib/css-loader/blob/4673caa4aa68d5fb1127c172b4afd081bd56eb73/src/utils.js#L776 - const pipeline = postcss([ - localByDefault({ - mode: 'local', - }), - extractImports(), - modulesValues, - modulesScope({ - // scopedName is not important in this scenario - generateScopedName: (exportName: string) => exportName, - exportGlobals: false, - }), - postcssICSSExtractPlugin(parserOptions), - ]); - - await pipeline.process(inputSource, { - from: `/fake-css-modules-loader`, - to: undefined, - }); - - return { - cssModuleKeys: parserOptions.cssModuleKeys, - }; -} - -export default async function ( - this: LoaderContext<{ - modules: Required; - mode: string; - }>, - content: string, - ...input: any[] -) { - if (this.cacheable) { - this.cacheable(); - } - - const filename = this.resourcePath; - const { modules } = this.getOptions() || {}; - const callback = this.async(); - - // filter files - if (!isCssModules(filename, modules) || isInNodeModules(filename)) { - return callback(null, content, ...input); - } - - // handle css modules like css-loader, but only get cssModuleKeys not modify the source. - const { cssModuleKeys } = await processCss(content, { - exportLocalsConvention: modules.exportLocalsConvention, - }); - - // @ts-expect-error - this.cssModuleKeys = cssModuleKeys; - - // rspack loader type is not exactly the same as webpack loader type - // @ts-expect-error - return cssModulesTypescriptLoader.call(this, content, ...input); -} diff --git a/packages/builder/builder-rspack-provider/src/rspackLoader/css-modules-typescript-pre-loader/postcss-icss-extract-plugin.ts b/packages/builder/builder-rspack-provider/src/rspackLoader/css-modules-typescript-pre-loader/postcss-icss-extract-plugin.ts deleted file mode 100644 index 2ec45c12d69c..000000000000 --- a/packages/builder/builder-rspack-provider/src/rspackLoader/css-modules-typescript-pre-loader/postcss-icss-extract-plugin.ts +++ /dev/null @@ -1,64 +0,0 @@ -// @ts-expect-error -import { extractICSS } from '@modern-js/builder-shared/icss-utils'; -import { camelCase } from '@modern-js/utils/lodash'; -import type { CssModuleLocalsConvention } from '@modern-js/builder-shared'; - -import type { AcceptedPlugin as PostCSSPlugin } from 'postcss'; - -const dashesCamelCase = (str: string) => - str.replace(/-+(\w)/g, (_match, firstLetter) => firstLetter.toUpperCase()); - -export type PostcssParsePluginOptions = { - exportLocalsConvention: CssModuleLocalsConvention; - cssModuleKeys: string[]; -}; - -const getExportLocalsConvention = ( - name: string, - exportLocalsConventionType: CssModuleLocalsConvention, -) => { - switch (exportLocalsConventionType) { - case 'camelCase': { - const camelName = camelCase(name); - return camelName === name ? [name] : [name, camelCase(name)]; - } - case 'camelCaseOnly': { - return [camelCase(name)]; - } - case 'dashes': { - const dashesCamelName = dashesCamelCase(name); - return dashesCamelName === name ? [name] : [name, dashesCamelCase(name)]; - } - case 'dashesOnly': { - return [dashesCamelCase(name)]; - } - case 'asIs': - default: - return [name]; - } -}; - -const plugin = (options: PostcssParsePluginOptions): PostCSSPlugin => { - return { - postcssPlugin: 'postcss-icss-extract', - OnceExit(root) { - const { icssExports } = extractICSS(root); - - const cssModuleKeys = Object.keys(icssExports).reduce( - (total, key) => { - total.push( - ...getExportLocalsConvention(key, options.exportLocalsConvention), - ); - return total; - }, - [], - ); - - options.cssModuleKeys = cssModuleKeys; - }, - }; -}; - -plugin.postcss = true; - -export default plugin; diff --git a/packages/builder/builder-rspack-provider/src/rspackPlugin/removeCssSourcemapPlugin.ts b/packages/builder/builder-rspack-provider/src/rspackPlugin/removeCssSourcemapPlugin.ts deleted file mode 100644 index 652f376a77a1..000000000000 --- a/packages/builder/builder-rspack-provider/src/rspackPlugin/removeCssSourcemapPlugin.ts +++ /dev/null @@ -1,32 +0,0 @@ -import type { Compiler, Compilation } from '@rspack/core'; -import type HtmlPlugin from '@rspack/plugin-html'; -import { COMPILATION_PROCESS_STAGE } from '@modern-js/builder-shared'; - -export class RemoveCssSourcemapPlugin { - name: string; - - htmlPlugin: typeof HtmlPlugin; - - constructor(htmlPlugin: typeof HtmlPlugin) { - this.name = 'RemoveCssSourcemapPlugin'; - this.htmlPlugin = htmlPlugin; - } - - apply(compiler: Compiler) { - compiler.hooks.compilation.tap(this.name, (compilation: Compilation) => { - compilation.hooks.processAssets.tap( - { - name: this.name, - stage: COMPILATION_PROCESS_STAGE.PROCESS_ASSETS_STAGE_SUMMARIZE, - }, - () => { - Object.keys(compilation.assets).forEach(name => { - if (name.endsWith('.css.map')) { - compilation.deleteAsset(name); - } - }); - }, - ); - }); - } -} diff --git a/packages/builder/builder-rspack-provider/src/shared/constants.ts b/packages/builder/builder-rspack-provider/src/shared/constants.ts deleted file mode 100644 index 4e3b0f85478c..000000000000 --- a/packages/builder/builder-rspack-provider/src/shared/constants.ts +++ /dev/null @@ -1 +0,0 @@ -export const BUILTIN_LOADER = 'builtin:'; diff --git a/packages/builder/builder-rspack-provider/src/shared/fs.ts b/packages/builder/builder-rspack-provider/src/shared/fs.ts deleted file mode 100644 index 7e92bcb4afa0..000000000000 --- a/packages/builder/builder-rspack-provider/src/shared/fs.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { join } from 'path'; -import { - getSharedPkgCompiledPath, - SharedCompiledPkgNames, -} from '@modern-js/builder-shared'; -// eslint-disable-next-line @typescript-eslint/no-restricted-imports -import { fs } from '@modern-js/utils'; - -export const getCompiledPath = (packageName: string) => { - const providerCompilerPath = join(__dirname, '../../compiled', packageName); - if (fs.existsSync(providerCompilerPath)) { - return providerCompilerPath; - } else { - return getSharedPkgCompiledPath(packageName as SharedCompiledPkgNames); - } -}; diff --git a/packages/builder/builder-rspack-provider/src/shared/index.ts b/packages/builder/builder-rspack-provider/src/shared/index.ts deleted file mode 100644 index 78e6ad8db3ef..000000000000 --- a/packages/builder/builder-rspack-provider/src/shared/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './fs'; -export * from './constants'; -export * from './rspackVersion'; diff --git a/packages/builder/builder-rspack-provider/src/shared/plugin.ts b/packages/builder/builder-rspack-provider/src/shared/plugin.ts deleted file mode 100644 index 8e032aadc6df..000000000000 --- a/packages/builder/builder-rspack-provider/src/shared/plugin.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { BuilderPlugin } from '../types'; -import { awaitableGetter, Plugins } from '@modern-js/builder-shared'; - -export const applyDefaultPlugins = (plugins: Plugins) => - awaitableGetter([ - import('../plugins/transition').then(m => m.builderPluginTransition()), - import('../plugins/basic').then(m => m.builderPluginBasic()), - plugins.antd(), - plugins.arco(), - plugins.entry(), - // plugins.cache(), - plugins.target(), - import('../plugins/output').then(m => m.builderPluginOutput()), - plugins.devtool(), - import('../plugins/resolve').then(m => m.builderPluginResolve()), - plugins.fileSize(), - // cleanOutput plugin should before the html plugin - plugins.cleanOutput(), - plugins.font(), - plugins.image(), - plugins.media(), - plugins.svg(), - plugins.html(), - plugins.tsChecker(), - plugins.wasm(), - plugins.moment(), - plugins.nodeAddons(), - // pug plugin should after html plugin - import('../plugins/pug').then(m => m.builderPluginPug()), - import('../plugins/babel').then(m => m.builderPluginBabel()), - plugins.define(), - import('../plugins/css').then(m => m.builderPluginCss()), - import('../plugins/less').then(m => m.builderPluginLess()), - import('../plugins/sass').then(m => m.builderPluginSass()), - import('../plugins/minimize').then(m => m.builderPluginMinimize()), - import('../plugins/manifest').then(m => m.builderPluginManifest()), - plugins.rem(), - import('../plugins/hmr').then(m => m.builderPluginHMR()), - import('../plugins/progress').then(m => m.builderPluginProgress()), - import('../plugins/react').then(m => m.builderPluginReact()), - import('../plugins/swc').then(m => m.builderPluginSwc()), - plugins.externals(), - plugins.toml(), - plugins.yaml(), - plugins.splitChunks(), - plugins.startUrl(), - plugins.inlineChunk(), - plugins.bundleAnalyzer(), - plugins.assetsRetry(), - plugins.checkSyntax(), - plugins.networkPerformance(), - plugins.preloadOrPrefetch(), - plugins.performance(), - import('../plugins/rspack-profile').then(m => - m.builderPluginRspackProfile(), - ), - import('../plugins/fallback').then(m => m.builderPluginFallback()), // fallback should be the last plugin - ]); diff --git a/packages/builder/builder-rspack-provider/src/shared/rspackVersion.ts b/packages/builder/builder-rspack-provider/src/shared/rspackVersion.ts deleted file mode 100644 index 65c7b88ae893..000000000000 --- a/packages/builder/builder-rspack-provider/src/shared/rspackVersion.ts +++ /dev/null @@ -1,29 +0,0 @@ -import path from 'path'; - -export const getRspackVersion = async (): Promise => { - try { - const core = require.resolve('@rspack/core'); - const pkg = await import(path.join(core, '../../package.json')); - - return pkg?.version; - } catch (err) { - // don't block build process - console.error(err); - return ''; - } -}; - -// depend on rspack builtin plugins -export const supportedRspackMinimumVersion = '0.3.3'; - -export const isSatisfyRspackMinimumVersion = async (customVersion?: string) => { - let version = customVersion || (await getRspackVersion()); - const { semver } = await import('@modern-js/utils'); - - // The nightly version of rspack is to append `-canary-xxx` to the current version - if (version.includes('-canary')) { - version = version.split('-canary')[0]; - } - - return version ? semver.lte(supportedRspackMinimumVersion, version) : true; -}; diff --git a/packages/builder/builder-rspack-provider/src/types/config/dev.ts b/packages/builder/builder-rspack-provider/src/types/config/dev.ts deleted file mode 100644 index ccff1f9101ba..000000000000 --- a/packages/builder/builder-rspack-provider/src/types/config/dev.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { - SharedDevConfig, - NormalizedSharedDevConfig, -} from '@modern-js/builder-shared'; - -export type DevConfig = SharedDevConfig; - -export type NormalizedDevConfig = NormalizedSharedDevConfig; diff --git a/packages/builder/builder-rspack-provider/src/types/config/html.ts b/packages/builder/builder-rspack-provider/src/types/config/html.ts deleted file mode 100644 index e35e9954e07f..000000000000 --- a/packages/builder/builder-rspack-provider/src/types/config/html.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { - SharedHtmlConfig, - NormalizedSharedHtmlConfig, -} from '@modern-js/builder-shared'; - -export type HtmlConfig = SharedHtmlConfig; - -export type NormalizedHtmlConfig = NormalizedSharedHtmlConfig; diff --git a/packages/builder/builder-rspack-provider/src/types/config/index.ts b/packages/builder/builder-rspack-provider/src/types/config/index.ts deleted file mode 100644 index 41b55fbd58d6..000000000000 --- a/packages/builder/builder-rspack-provider/src/types/config/index.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { DeepReadonly } from '@modern-js/builder-shared'; -import type { DevConfig, NormalizedDevConfig } from './dev'; -import type { HtmlConfig, NormalizedHtmlConfig } from './html'; -import type { NormalizedOutputConfig, OutputConfig } from './output'; -import type { - NormalizedPerformanceConfig, - PerformanceConfig, -} from './performance'; -import type { NormalizedSecurityConfig, SecurityConfig } from './security'; -import type { NormalizedSourceConfig, SourceConfig } from './source'; -import type { NormalizedToolsConfig, ToolsConfig } from './tools'; - -/** The Builder Config when using rspack-provider */ -export interface BuilderConfig { - dev?: DevConfig; - html?: HtmlConfig; - tools?: ToolsConfig; - source?: SourceConfig; - output?: OutputConfig; - security?: SecurityConfig; - performance?: PerformanceConfig; -} - -export type NormalizedConfig = DeepReadonly<{ - dev: NormalizedDevConfig; - html: NormalizedHtmlConfig; - tools: NormalizedToolsConfig; - source: NormalizedSourceConfig; - output: NormalizedOutputConfig; - security: NormalizedSecurityConfig; - performance: NormalizedPerformanceConfig; -}>; - -/* eslint-disable @typescript-eslint/no-restricted-imports */ -export * from './dev'; -export * from './html'; -export * from './output'; -export * from './performance'; -export * from './security'; -export * from './source'; -export * from './tools'; -/* eslint-enable @typescript-eslint/no-restricted-imports */ diff --git a/packages/builder/builder-rspack-provider/src/types/config/output.ts b/packages/builder/builder-rspack-provider/src/types/config/output.ts deleted file mode 100644 index 44ce490c9a0e..000000000000 --- a/packages/builder/builder-rspack-provider/src/types/config/output.ts +++ /dev/null @@ -1,15 +0,0 @@ -import type { - SharedOutputConfig, - NormalizedSharedOutputConfig, -} from '@modern-js/builder-shared'; -import type { Builtins } from '@rspack/core'; - -export type OutputConfig = SharedOutputConfig & { - /** - * Copies the specified file or directory to the dist directory. - */ - copy?: Builtins['copy'] | NonNullable['patterns']; -}; - -export type NormalizedOutputConfig = OutputConfig & - NormalizedSharedOutputConfig; diff --git a/packages/builder/builder-rspack-provider/src/types/config/performance.ts b/packages/builder/builder-rspack-provider/src/types/config/performance.ts deleted file mode 100644 index 2daeec325ec9..000000000000 --- a/packages/builder/builder-rspack-provider/src/types/config/performance.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { - SharedPerformanceConfig, - NormalizedSharedPerformanceConfig, -} from '@modern-js/builder-shared'; - -export type PerformanceConfig = SharedPerformanceConfig; - -export type NormalizedPerformanceConfig = NormalizedSharedPerformanceConfig; diff --git a/packages/builder/builder-rspack-provider/src/types/config/security.ts b/packages/builder/builder-rspack-provider/src/types/config/security.ts deleted file mode 100644 index 9b35a8611f85..000000000000 --- a/packages/builder/builder-rspack-provider/src/types/config/security.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { - SharedSecurityConfig, - NormalizedSharedSecurityConfig, -} from '@modern-js/builder-shared'; - -export type SecurityConfig = SharedSecurityConfig; - -export type NormalizedSecurityConfig = NormalizedSharedSecurityConfig; diff --git a/packages/builder/builder-rspack-provider/src/types/config/source.ts b/packages/builder/builder-rspack-provider/src/types/config/source.ts deleted file mode 100644 index 5ed8953c012c..000000000000 --- a/packages/builder/builder-rspack-provider/src/types/config/source.ts +++ /dev/null @@ -1,16 +0,0 @@ -import type { - SharedSourceConfig, - NormalizedSharedSourceConfig, -} from '@modern-js/builder-shared'; -import type { Builtins } from '@rspack/core'; -import type { RspackBuiltinsConfig } from '../rspack'; - -export type SourceConfig = SharedSourceConfig & { - define?: RspackBuiltinsConfig['define']; - transformImport?: false | Builtins['pluginImport']; -}; - -export type NormalizedSourceConfig = NormalizedSharedSourceConfig & { - define: Record; - transformImport?: false | Builtins['pluginImport']; -}; diff --git a/packages/builder/builder-rspack-provider/src/types/config/tools.ts b/packages/builder/builder-rspack-provider/src/types/config/tools.ts deleted file mode 100644 index 0e5eaefbe203..000000000000 --- a/packages/builder/builder-rspack-provider/src/types/config/tools.ts +++ /dev/null @@ -1,41 +0,0 @@ -import type { - ChainedConfig, - SharedToolsConfig, - ToolsLessConfig, - ToolsSassConfig, - PostCSSLoaderOptions, - PostCSSPlugin, -} from '@modern-js/builder-shared'; -import type { Options as HTMLPluginOptions } from '@rspack/plugin-html'; -import type { RspackConfig } from '../rspack'; -import type { ModifyRspackConfigUtils } from '../hooks'; - -export type ToolsPostCSSLoaderConfig = ChainedConfig< - PostCSSLoaderOptions, - { - addPlugins: (plugins: PostCSSPlugin | PostCSSPlugin[]) => void; - } ->; - -type ToolsHtmlPluginConfig = ChainedConfig< - HTMLPluginOptions, - { - entryName: string; - entryValue: string | string[]; - } ->; - -export type ToolsRspackConfig = ChainedConfig< - RspackConfig, - ModifyRspackConfigUtils ->; - -export interface ToolsConfig extends SharedToolsConfig { - htmlPlugin?: false | ToolsHtmlPluginConfig; - postcss?: ToolsPostCSSLoaderConfig; - rspack?: ToolsRspackConfig; - less?: ToolsLessConfig; - sass?: ToolsSassConfig; -} - -export type NormalizedToolsConfig = ToolsConfig; diff --git a/packages/builder/builder-rspack-provider/src/types/context.ts b/packages/builder/builder-rspack-provider/src/types/context.ts deleted file mode 100644 index 554d3b20f971..000000000000 --- a/packages/builder/builder-rspack-provider/src/types/context.ts +++ /dev/null @@ -1,20 +0,0 @@ -import type { BuilderContext } from '@modern-js/builder-shared'; -import type { Hooks } from '../core/initHooks'; -import type { BuilderConfig, NormalizedConfig } from './config'; -import type { BuilderPluginAPI } from './plugin'; - -/** The inner context. */ -export type Context = BuilderContext & { - /** All hooks. */ - hooks: Readonly; - /** Current builder config. */ - config: Readonly; - /** The async task to validate schema of config. */ - configValidatingTask: Promise; - /** The original builder config passed from the createBuilder method. */ - originalConfig: Readonly; - /** The normalized builder config. */ - normalizedConfig?: NormalizedConfig; - /** The plugin API. */ - pluginAPI?: BuilderPluginAPI; -}; diff --git a/packages/builder/builder-rspack-provider/src/types/hooks.ts b/packages/builder/builder-rspack-provider/src/types/hooks.ts deleted file mode 100644 index 67f3971c9fe7..000000000000 --- a/packages/builder/builder-rspack-provider/src/types/hooks.ts +++ /dev/null @@ -1,20 +0,0 @@ -import type { ModifyChainUtils } from '@modern-js/builder-shared'; -import type { RspackConfig, RspackRule, RspackPluginInstance } from './rspack'; - -export type ModifyRspackConfigUtils = ModifyChainUtils & { - addRules: (rules: RspackRule | RspackRule[]) => void; - prependPlugins: ( - plugins: RspackPluginInstance | RspackPluginInstance[], - ) => void; - appendPlugins: ( - plugins: RspackPluginInstance | RspackPluginInstance[], - ) => void; - removePlugin: (pluginName: string) => void; - mergeConfig: typeof import('@modern-js/builder-shared/webpack-merge').merge; - rspack: typeof import('@rspack/core'); -}; - -export type ModifyRspackConfigFn = ( - config: RspackConfig, - utils: ModifyRspackConfigUtils, -) => Promise | RspackConfig | void; diff --git a/packages/builder/builder-rspack-provider/src/types/index.ts b/packages/builder/builder-rspack-provider/src/types/index.ts deleted file mode 100644 index 13782109e1b9..000000000000 --- a/packages/builder/builder-rspack-provider/src/types/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* eslint-disable @typescript-eslint/no-restricted-imports */ -export * from './hooks'; -export * from './config'; -export * from './plugin'; -export * from './context'; -export * from './rspack'; -/* eslint-enable @typescript-eslint/no-restricted-imports */ diff --git a/packages/builder/builder-rspack-provider/src/types/plugin.ts b/packages/builder/builder-rspack-provider/src/types/plugin.ts deleted file mode 100644 index 3d009d11a7cc..000000000000 --- a/packages/builder/builder-rspack-provider/src/types/plugin.ts +++ /dev/null @@ -1,19 +0,0 @@ -import type { - DefaultBuilderPluginAPI, - BuilderPlugin as BaseBuilderPlugin, -} from '@modern-js/builder-shared'; -import type { BuilderConfig, NormalizedConfig } from './config'; -import type { ModifyRspackConfigFn } from './hooks'; -import type { Compiler, MultiCompiler, RspackConfig } from './rspack'; - -export interface BuilderPluginAPI - extends DefaultBuilderPluginAPI< - BuilderConfig, - NormalizedConfig, - RspackConfig, - Compiler | MultiCompiler - > { - modifyRspackConfig: (fn: ModifyRspackConfigFn) => void; -} - -export type BuilderPlugin = BaseBuilderPlugin; diff --git a/packages/builder/builder-rspack-provider/src/types/rspack.ts b/packages/builder/builder-rspack-provider/src/types/rspack.ts deleted file mode 100644 index 8be26c5ec52d..000000000000 --- a/packages/builder/builder-rspack-provider/src/types/rspack.ts +++ /dev/null @@ -1,36 +0,0 @@ -import type * as Rspack from '@rspack/core'; - -type Compiler = Rspack.Compiler; -type RspackOptions = Rspack.RspackOptions; -type MultiCompiler = Rspack.MultiCompiler; - -export type { Compiler, MultiCompiler, Rspack }; - -export type RspackBuiltinsConfig = Omit< - NonNullable, - 'html' ->; - -export interface RspackConfig extends RspackOptions { - /** multi type is useless in builder and make get value difficult */ - entry?: Record; - // can't use htmlPlugin & builtins.html at the same time. - builtins?: RspackBuiltinsConfig; - /** rspack-dev-server is not used in modern.js */ - devServer?: { - hot?: boolean; - }; -} - -/** T[] => T */ -type GetElementType = T extends (infer U)[] ? U : never; - -export type RspackRule = GetElementType< - NonNullable['rules']> ->; - -export type RuleSetRule = Rspack.RuleSetRule; - -export type RspackPluginInstance = GetElementType< - NonNullable ->; diff --git a/packages/builder/builder-rspack-provider/tests/.eslintrc.js b/packages/builder/builder-rspack-provider/tests/.eslintrc.js deleted file mode 100644 index 2136c691080e..000000000000 --- a/packages/builder/builder-rspack-provider/tests/.eslintrc.js +++ /dev/null @@ -1,9 +0,0 @@ -// eslint-disable-next-line import/no-commonjs -module.exports = { - root: true, - extends: '@modern-js-app', - parserOptions: { - tsconfigRootDir: __dirname, - project: require.resolve('./tsconfig.json'), - }, -}; diff --git a/packages/builder/builder-rspack-provider/tests/core/validate.test.ts b/packages/builder/builder-rspack-provider/tests/core/validate.test.ts deleted file mode 100644 index ef7be3dfc275..000000000000 --- a/packages/builder/builder-rspack-provider/tests/core/validate.test.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { performance } from 'perf_hooks'; -import { describe, expect, it } from 'vitest'; -import { createDefaultConfig } from '@/config/defaults'; -import { validateBuilderConfig } from '@/config/validate'; -import { BuilderConfig } from '@/types'; - -describe('validateBuilderConfig', () => { - it('should accept empty object', async () => { - await expect(validateBuilderConfig({})).resolves.toEqual({}); - }); - it('should remove unknown properties', async () => { - await expect(validateBuilderConfig({ foo: 123 })).resolves.toEqual({}); - }); - - it('should throw error when shape wrong', async () => { - const config = { - dev: { hmr: false }, - html: { faviconByEntries: [] }, - }; - await expect( - validateBuilderConfig({ - output: { - polyfill: 'usage', - }, - }), - ).rejects.toThrowErrorMatchingInlineSnapshot(` - "Builder config validation error: - * Invalid enum value. Expected 'entry' | 'ua' | 'off', received 'usage' at \\"output.polyfill\\"" - `); - - await expect(validateBuilderConfig(config)).rejects - .toThrowErrorMatchingInlineSnapshot(` - "Builder config validation error: - * Expected object, received array at \\"html.faviconByEntries\\"" - `); - }); - it('should accept correct chained config', async () => { - const config: BuilderConfig = { - tools: { - htmlPlugin: false, - rspack: (_: any) => ({}), - }, - }; - await expect(validateBuilderConfig(config)).resolves.toMatchInlineSnapshot(` - { - "tools": { - "htmlPlugin": false, - "rspack": [Function], - }, - } - `); - }); - it('should validate config and cost less than 100ms', async () => { - const config = createDefaultConfig(); - const startedAt = performance.now(); - await validateBuilderConfig(config); - const endedAt = performance.now(); - const cost = endedAt - startedAt; - console.log(`config validator cost: ${cost.toFixed(2)}ms`); - expect(cost).lessThan(100); - }); -}); diff --git a/packages/builder/builder-rspack-provider/tests/helper.ts b/packages/builder/builder-rspack-provider/tests/helper.ts deleted file mode 100644 index b09646b0f090..000000000000 --- a/packages/builder/builder-rspack-provider/tests/helper.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { - pick, - createPluginStore, - applyDefaultBuilderOptions, - type CreateBuilderOptions, -} from '@modern-js/builder-shared'; -import { BuilderPlugin, BuilderConfig, RspackConfig } from '../src/types'; -import { builderRspackProvider } from '../src/provider'; - -export const getBuilderPlugins = async () => { - const { plugins } = await import('../../builder/src/plugins'); - - return plugins; -}; - -/** Match plugin by constructor name. */ -export const matchPlugin = (config: RspackConfig, pluginName: string) => { - const result = config.plugins?.filter( - item => item?.constructor.name === pluginName, - ); - - if (Array.isArray(result)) { - return result[0] || null; - } else { - return result || null; - } -}; - -/** - * different with builder.createBuilder. support add custom plugins instead of applyDefaultPlugins. - */ -export async function createBuilder({ - builderConfig = {}, - plugins, - ...options -}: CreateBuilderOptions & { - builderConfig?: BuilderConfig; - plugins?: BuilderPlugin[]; -}) { - const builderOptions = applyDefaultBuilderOptions(options); - - const provider = builderRspackProvider({ - builderConfig, - }); - - const pluginStore = createPluginStore(); - const { - build, - publicContext, - inspectConfig, - createCompiler, - startDevServer, - applyDefaultPlugins, - } = await provider({ - pluginStore, - builderOptions, - plugins: await getBuilderPlugins(), - }); - - if (plugins) { - pluginStore.addPlugins(plugins); - } else { - await applyDefaultPlugins(pluginStore); - } - - return { - ...pick(pluginStore, ['addPlugins', 'removePlugins', 'isPluginExists']), - build, - createCompiler, - inspectConfig, - startDevServer, - context: publicContext, - }; -} diff --git a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/babel.test.ts.snap b/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/babel.test.ts.snap deleted file mode 100644 index 243517216472..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/babel.test.ts.snap +++ /dev/null @@ -1,61 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`plugins/babel > should not set babel-loader 1`] = `{}`; - -exports[`plugins/babel > should not set babel-loader when babel config is null 1`] = `{}`; - -exports[`plugins/babel > should not set babel-loader when babel config is return null 1`] = `{}`; - -exports[`plugins/babel > should set babel-loader 1`] = ` -{ - "module": { - "rules": [ - { - "include": [ - { - "and": [ - "", - { - "not": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]/, - }, - ], - }, - ], - "test": /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$\\|\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/babel-loader", - "options": { - "babelrc": false, - "compact": false, - "configFile": false, - "plugins": [ - [ - "babel-plugin-import", - { - "libraryDirectory": "es", - "libraryName": "xxx-components", - "style": true, - }, - ], - ], - "presets": [ - [ - "/node_modules//@babel/preset-typescript/lib/index.js", - { - "allExtensions": true, - "allowDeclareFields": true, - "allowNamespaces": true, - "isTSX": true, - "optimizeConstEnums": true, - }, - ], - ], - }, - }, - ], - }, - ], - }, -} -`; diff --git a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/css.test.ts.snap b/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/css.test.ts.snap deleted file mode 100644 index 3909e45a997f..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/css.test.ts.snap +++ /dev/null @@ -1,1259 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`plugins/css > should apply custom css-modules-typescript-loader when enableCssModuleTSDeclarationg 1`] = ` -{ - "builtins": { - "css": { - "modules": { - "exportsOnly": false, - "localIdentName": "[path][name]__[local]-[hash:6]", - "localsConvention": "camelCase", - }, - }, - }, - "module": { - "rules": [ - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/src/rspackLoader/css-modules-typescript-pre-loader", - "options": { - "modules": { - "auto": true, - "exportLocalsConvention": "camelCase", - }, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/src/rspackLoader/css-modules-typescript-pre-loader", - "options": { - "modules": { - "auto": true, - "exportLocalsConvention": "camelCase", - }, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.css\\$/, - }, - ], - }, -} -`; - -exports[`plugins/css > should override browserslist of autoprefixer when using output.overrideBrowserslist config 1`] = ` -{ - "builtins": { - "css": { - "modules": { - "exportsOnly": false, - "localIdentName": "[path][name]__[local]-[hash:6]", - "localsConvention": "camelCase", - }, - }, - }, - "module": { - "rules": [ - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - { - "browsers": [ - "Chrome 80", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "Chrome 80", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - { - "browsers": [ - "Chrome 80", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "Chrome 80", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.css\\$/, - }, - ], - }, -} -`; - -exports[`plugins/css > should use custom cssModules rule when using output.cssModules config 1`] = ` -{ - "builtins": { - "css": { - "modules": { - "exportsOnly": false, - "localIdentName": "[path][name]__[local]-[hash:6]", - "localsConvention": "camelCase", - }, - }, - }, - "module": { - "rules": [ - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": [Function], - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.css\\$/, - }, - ], - }, -} -`; - -exports[`plugins/css disableCssExtract > should apply ignoreCssLoader when disableCssExtract is true and target is node 1`] = ` -{ - "experiments": { - "css": false, - }, - "module": { - "rules": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.css\\$/, - "use": [ - { - "loader": "@modern-js/builder-shared/ignore-css-loader", - }, - { - "loader": "/packages/builder/builder-shared/compiled/css-loader", - "options": { - "importLoaders": 1, - "modules": { - "auto": true, - "exportLocalsConvention": "camelCase", - "exportOnlyLocals": true, - "localIdentName": "[path][name]__[local]-[hash:base64:6]", - }, - "sourceMap": true, - }, - }, - ], - }, - ], - }, -} -`; - -exports[`plugins/css disableCssExtract > should use css-loader + style-loader when disableCssExtract is true 1`] = ` -{ - "experiments": { - "css": false, - }, - "module": { - "rules": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.css\\$/, - "use": [ - { - "loader": "/node_modules//style-loader/dist/cjs.js", - "options": { - "esModule": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/css-loader", - "options": { - "importLoaders": 1, - "modules": { - "auto": true, - "exportLocalsConvention": "camelCase", - "localIdentName": "[path][name]__[local]-[hash:base64:6]", - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - ], - }, -} -`; - -exports[`plugins/less > should add less-loader 1`] = ` -{ - "module": { - "rules": [ - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.less\\$/, - }, - ], - }, -} -`; - -exports[`plugins/less > should add less-loader and css-loader when disableCssExtract 1`] = ` -{ - "module": { - "rules": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.less\\$/, - "use": [ - { - "loader": "/node_modules//style-loader/dist/cjs.js", - "options": { - "esModule": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/css-loader", - "options": { - "importLoaders": 1, - "modules": { - "auto": true, - "exportLocalsConvention": "camelCase", - "localIdentName": "[path][name]__[local]-[hash:base64:6]", - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - ], - }, -} -`; - -exports[`plugins/less > should add less-loader with excludes 1`] = ` -{ - "module": { - "rules": [ - { - "oneOf": [ - { - "exclude": [ - /node_modules/, - ], - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - { - "exclude": [ - /node_modules/, - ], - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.less\\$/, - }, - ], - }, -} -`; - -exports[`plugins/less > should add less-loader with tools.less 1`] = ` -{ - "module": { - "rules": [ - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": false, - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": false, - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.less\\$/, - }, - ], - }, -} -`; - -exports[`plugins/sass > should add sass-loader 1`] = ` -{ - "module": { - "rules": [ - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.s\\(a\\|c\\)ss\\$/, - }, - ], - }, -} -`; - -exports[`plugins/sass > should add sass-loader and css-loader when disableCssExtract 1`] = ` -{ - "module": { - "rules": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.s\\(a\\|c\\)ss\\$/, - "use": [ - { - "loader": "/node_modules//style-loader/dist/cjs.js", - "options": { - "esModule": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/css-loader", - "options": { - "importLoaders": 3, - "modules": { - "auto": true, - "exportLocalsConvention": "camelCase", - "localIdentName": "[path][name]__[local]-[hash:base64:6]", - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - ], - }, -} -`; - -exports[`plugins/sass > should add sass-loader with excludes 1`] = ` -{ - "module": { - "rules": [ - { - "oneOf": [ - { - "exclude": [ - /node_modules/, - ], - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - { - "exclude": [ - /node_modules/, - ], - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.s\\(a\\|c\\)ss\\$/, - }, - ], - }, -} -`; diff --git a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/default.test.ts.snap b/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/default.test.ts.snap deleted file mode 100644 index 027c5159e932..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/default.test.ts.snap +++ /dev/null @@ -1,2722 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`applyDefaultPlugins > should apply default plugins correctly 1`] = ` -{ - "builtins": { - "css": { - "modules": { - "exportsOnly": false, - "localIdentName": "[path][name]__[local]-[hash:6]", - "localsConvention": "camelCase", - }, - }, - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "pluginImport": [ - { - "libraryDirectory": "es", - "libraryName": "antd", - "style": true, - }, - { - "camelToDashComponentName": false, - "libraryDirectory": "es", - "libraryName": "@arco-design/web-react", - "style": true, - }, - { - "camelToDashComponentName": false, - "libraryDirectory": "react-icon", - "libraryName": "@arco-design/web-react/icon", - }, - ], - "presetEnv": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "react": { - "development": true, - "refresh": true, - "runtime": "automatic", - }, - }, - "context": "", - "devServer": { - "hot": true, - }, - "devtool": "cheap-module-source-map", - "experiments": { - "asyncWebAssembly": true, - "rspackFuture": { - "disableTransformByDefault": false, - }, - }, - "infrastructureLogging": { - "level": "error", - }, - "mode": "development", - "module": { - "rules": [ - { - "resolve": { - "fullySpecified": false, - }, - "test": /\\\\\\.m\\?js/, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/font/[name].[contenthash:8][ext]", - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/font/[name].[contenthash:8][ext]", - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - ], - "test": /\\\\\\.\\(woff\\|woff2\\|eot\\|ttf\\|otf\\|ttc\\)\\$/i, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/image/[name].[contenthash:8][ext]", - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/image/[name].[contenthash:8][ext]", - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - ], - "test": /\\\\\\.\\(png\\|jpg\\|jpeg\\|gif\\|bmp\\|webp\\|ico\\|apng\\|avif\\|tiff\\)\\$/i, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/media/[name].[contenthash:8][ext]", - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/media/[name].[contenthash:8][ext]", - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - ], - "test": /\\\\\\.\\(mp4\\|webm\\|ogg\\|mp3\\|wav\\|flac\\|aac\\|mov\\)\\$/i, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/svg/[name].[contenthash:8].svg", - }, - "issuer": { - "not": [ - /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$/, - /\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - ], - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "issuer": { - "not": [ - /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$/, - /\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - ], - }, - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/svg/[name].[contenthash:8].svg", - }, - "issuer": { - "not": [ - /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$/, - /\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - ], - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/svg/[name].[contenthash:8].svg", - }, - "resourceQuery": /url/, - "type": "asset/resource", - }, - { - "type": "javascript/auto", - "use": [ - { - "loader": "/node_modules//@svgr/webpack/dist/index.js", - "options": { - "svgo": true, - "svgoConfig": { - "plugins": [ - { - "name": "preset-default", - "params": { - "overrides": { - "removeViewBox": false, - }, - }, - }, - "prefixIds", - ], - }, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/url-loader", - "options": { - "limit": 10000, - "name": "static/svg/[name].[contenthash:8].svg", - }, - }, - ], - }, - ], - "test": /\\\\\\.svg\\$/, - }, - { - "dependency": "url", - "generator": { - "filename": "static/wasm/[hash].module.wasm", - }, - "test": /\\\\\\.wasm\\$/, - "type": "asset/resource", - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.css\\$/, - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.less\\$/, - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.s\\(a\\|c\\)ss\\$/, - }, - { - "test": /\\\\\\.toml\\$/, - "type": "javascript/auto", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/toml-loader", - }, - ], - }, - { - "test": /\\\\\\.ya\\?ml\\$/, - "type": "javascript/auto", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/yaml-loader", - }, - ], - }, - ], - }, - "name": "Client", - "optimization": { - "minimize": false, - "runtimeChunk": { - "name": "builder-runtime", - }, - "splitChunks": { - "cacheGroups": { - "lib-antd": { - "name": "lib-antd", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(antd\\)\\[\\\\\\\\/\\]/, - }, - "lib-arco": { - "name": "lib-arco", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(@\\?arco-design\\)\\[\\\\\\\\/\\]/, - }, - "lib-axios": { - "name": "lib-axios", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(axios\\|axios-\\.\\+\\)\\[\\\\\\\\/\\]/, - }, - "lib-lodash": { - "name": "lib-lodash", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(lodash\\|lodash-es\\)\\[\\\\\\\\/\\]/, - }, - "lib-polyfill": { - "name": "lib-polyfill", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(tslib\\|core-js\\|@babel\\\\/runtime\\|@swc\\\\/helpers\\)\\[\\\\\\\\/\\]/, - }, - "lib-react": { - "name": "lib-react", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(react\\|react-dom\\|scheduler\\)\\[\\\\\\\\/\\]/, - }, - "lib-router": { - "name": "lib-router", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(react-router\\|react-router-dom\\|@remix-run\\\\/router\\|history\\)\\[\\\\\\\\/\\]/, - }, - }, - "chunks": "all", - "enforceSizeThreshold": 50000, - }, - }, - "output": { - "chunkFilename": "static/js/async/[name].js", - "cssChunkFilename": "static/css/async/[name].css", - "cssFilename": "static/css/[name].css", - "filename": "static/js/[name].js", - "hashFunction": "xxhash64", - "path": "/dist", - "pathinfo": false, - "publicPath": "/", - "webassemblyModuleFilename": "static/wasm/[hash].module.wasm", - }, - "plugins": [ - ForkTsCheckerWebpackPlugin { - "options": { - "issue": { - "exclude": [ - { - "file": "**/*.(spec|test).ts", - }, - { - "file": "**/node_modules/**/*", - }, - ], - }, - "logger": { - "error": [Function], - "log": [Function], - }, - "typescript": { - "configFile": "/tsconfig.json", - "memoryLimit": 8192, - "typescriptPath": "/node_modules//typescript/lib/typescript.js", - }, - }, - }, - DefinePlugin { - "_options": { - "process.env.ASSET_PREFIX": "\\"\\"", - "process.env.NODE_ENV": "\\"development\\"", - }, - "affectedHooks": "compilation", - "name": "DefinePlugin", - }, - ProgressPlugin { - "_options": { - "prefix": "Client", - "profile": false, - }, - "affectedHooks": undefined, - "name": "ProgressPlugin", - }, - ProvidePlugin { - "_options": { - "$ReactRefreshRuntime$": [ - "/node_modules//@rspack/plugin-react-refresh/client/reactRefresh.js", - ], - }, - "affectedHooks": undefined, - "name": "ProvidePlugin", - }, - ], - "resolve": { - "alias": { - "core-js": "/node_modules//core-js", - }, - "extensions": [ - ".ts", - ".tsx", - ".js", - ".jsx", - ".mjs", - ".json", - ], - "tsConfigPath": "/tsconfig.json", - }, - "target": [ - "web", - "es5", - ], -} -`; - -exports[`applyDefaultPlugins > should apply default plugins correctly when prod 1`] = ` -{ - "builtins": { - "css": { - "modules": { - "exportsOnly": false, - "localIdentName": "[local]-[hash:6]", - "localsConvention": "camelCase", - }, - }, - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "pluginImport": [ - { - "libraryDirectory": "es", - "libraryName": "antd", - "style": true, - }, - { - "camelToDashComponentName": false, - "libraryDirectory": "es", - "libraryName": "@arco-design/web-react", - "style": true, - }, - { - "camelToDashComponentName": false, - "libraryDirectory": "react-icon", - "libraryName": "@arco-design/web-react/icon", - }, - ], - "presetEnv": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "react": { - "development": false, - "refresh": false, - "runtime": "automatic", - }, - }, - "context": "", - "devServer": { - "hot": false, - }, - "devtool": "hidden-source-map", - "experiments": { - "asyncWebAssembly": true, - "rspackFuture": { - "disableTransformByDefault": false, - }, - }, - "infrastructureLogging": { - "level": "error", - }, - "mode": "production", - "module": { - "rules": [ - { - "resolve": { - "fullySpecified": false, - }, - "test": /\\\\\\.m\\?js/, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/font/[name].[contenthash:8][ext]", - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/font/[name].[contenthash:8][ext]", - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - ], - "test": /\\\\\\.\\(woff\\|woff2\\|eot\\|ttf\\|otf\\|ttc\\)\\$/i, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/image/[name].[contenthash:8][ext]", - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/image/[name].[contenthash:8][ext]", - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - ], - "test": /\\\\\\.\\(png\\|jpg\\|jpeg\\|gif\\|bmp\\|webp\\|ico\\|apng\\|avif\\|tiff\\)\\$/i, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/media/[name].[contenthash:8][ext]", - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/media/[name].[contenthash:8][ext]", - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - ], - "test": /\\\\\\.\\(mp4\\|webm\\|ogg\\|mp3\\|wav\\|flac\\|aac\\|mov\\)\\$/i, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/svg/[name].[contenthash:8].svg", - }, - "issuer": { - "not": [ - /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$/, - /\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - ], - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "issuer": { - "not": [ - /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$/, - /\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - ], - }, - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/svg/[name].[contenthash:8].svg", - }, - "issuer": { - "not": [ - /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$/, - /\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - ], - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/svg/[name].[contenthash:8].svg", - }, - "resourceQuery": /url/, - "type": "asset/resource", - }, - { - "type": "javascript/auto", - "use": [ - { - "loader": "/node_modules//@svgr/webpack/dist/index.js", - "options": { - "svgo": true, - "svgoConfig": { - "plugins": [ - { - "name": "preset-default", - "params": { - "overrides": { - "removeViewBox": false, - }, - }, - }, - "prefixIds", - ], - }, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/url-loader", - "options": { - "limit": 10000, - "name": "static/svg/[name].[contenthash:8].svg", - }, - }, - ], - }, - ], - "test": /\\\\\\.svg\\$/, - }, - { - "dependency": "url", - "generator": { - "filename": "static/wasm/[hash].module.wasm", - }, - "test": /\\\\\\.wasm\\$/, - "type": "asset/resource", - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": false, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": false, - }, - }, - ], - }, - ], - "test": /\\\\\\.css\\$/, - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": false, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": false, - }, - }, - ], - }, - ], - "test": /\\\\\\.less\\$/, - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.s\\(a\\|c\\)ss\\$/, - }, - { - "test": /\\\\\\.toml\\$/, - "type": "javascript/auto", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/toml-loader", - }, - ], - }, - { - "test": /\\\\\\.ya\\?ml\\$/, - "type": "javascript/auto", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/yaml-loader", - }, - ], - }, - ], - }, - "name": "Client", - "optimization": { - "chunkIds": "deterministic", - "minimize": true, - "minimizer": [ - SwcJsMinimizerRspackPlugin { - "_options": { - "compress": "{\\"passes\\":1,\\"pure_funcs\\":[],\\"drop_console\\":false}", - "exclude": undefined, - "extractComments": "true", - "format": "{\\"comments\\":false,\\"asciiOnly\\":true}", - "include": undefined, - "mangle": "{\\"keep_classnames\\":false,\\"keep_fnames\\":false}", - "module": undefined, - "test": undefined, - }, - "affectedHooks": "compilation", - "name": "SwcJsMinimizerRspackPlugin", - }, - CssMinimizerPlugin { - "options": { - "exclude": undefined, - "include": undefined, - "minimizer": { - "implementation": [Function], - "options": { - "preset": [ - "default", - { - "mergeLonghand": false, - }, - ], - }, - }, - "parallel": true, - "test": /\\\\\\.css\\(\\\\\\?\\.\\*\\)\\?\\$/i, - "warningsFilter": [Function], - }, - }, - ], - "runtimeChunk": { - "name": "builder-runtime", - }, - "splitChunks": { - "cacheGroups": { - "lib-antd": { - "name": "lib-antd", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(antd\\)\\[\\\\\\\\/\\]/, - }, - "lib-arco": { - "name": "lib-arco", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(@\\?arco-design\\)\\[\\\\\\\\/\\]/, - }, - "lib-axios": { - "name": "lib-axios", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(axios\\|axios-\\.\\+\\)\\[\\\\\\\\/\\]/, - }, - "lib-lodash": { - "name": "lib-lodash", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(lodash\\|lodash-es\\)\\[\\\\\\\\/\\]/, - }, - "lib-polyfill": { - "name": "lib-polyfill", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(tslib\\|core-js\\|@babel\\\\/runtime\\|@swc\\\\/helpers\\)\\[\\\\\\\\/\\]/, - }, - "lib-react": { - "name": "lib-react", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(react\\|react-dom\\|scheduler\\)\\[\\\\\\\\/\\]/, - }, - "lib-router": { - "name": "lib-router", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(react-router\\|react-router-dom\\|@remix-run\\\\/router\\|history\\)\\[\\\\\\\\/\\]/, - }, - }, - "chunks": "all", - "enforceSizeThreshold": 50000, - }, - }, - "output": { - "chunkFilename": "static/js/async/[name].[contenthash:8].js", - "cssChunkFilename": "static/css/async/[name].[contenthash:8].css", - "cssFilename": "static/css/[name].[contenthash:8].css", - "filename": "static/js/[name].[contenthash:8].js", - "hashFunction": "xxhash64", - "path": "/dist", - "pathinfo": false, - "publicPath": "/", - "webassemblyModuleFilename": "static/wasm/[hash].module.wasm", - }, - "plugins": [ - ForkTsCheckerWebpackPlugin { - "options": { - "issue": { - "exclude": [ - { - "file": "**/*.(spec|test).ts", - }, - { - "file": "**/node_modules/**/*", - }, - ], - }, - "logger": { - "error": [Function], - "log": [Function], - }, - "typescript": { - "configFile": "/tsconfig.json", - "memoryLimit": 8192, - "typescriptPath": "/node_modules//typescript/lib/typescript.js", - }, - }, - }, - DefinePlugin { - "_options": { - "process.env.ASSET_PREFIX": "\\"\\"", - "process.env.NODE_ENV": "\\"production\\"", - }, - "affectedHooks": "compilation", - "name": "DefinePlugin", - }, - RemoveCssSourcemapPlugin { - "htmlPlugin": [Function], - "name": "RemoveCssSourcemapPlugin", - }, - ProgressPlugin { - "_options": { - "prefix": "Client", - "profile": false, - }, - "affectedHooks": undefined, - "name": "ProgressPlugin", - }, - InlineChunkHtmlPlugin { - "distPath": { - "css": "static/css", - "js": "static/js", - }, - "htmlPlugin": [Function], - "inlinedAssets": Set {}, - "name": "InlineChunkHtmlPlugin", - "scriptTests": [ - /builder-runtime\\(\\[\\.\\]\\.\\+\\)\\?\\\\\\.js\\$/, - ], - "styleTests": [], - }, - ], - "resolve": { - "alias": { - "core-js": "/node_modules//core-js", - }, - "extensions": [ - ".ts", - ".tsx", - ".js", - ".jsx", - ".mjs", - ".json", - ], - "tsConfigPath": "/tsconfig.json", - }, - "target": [ - "web", - "es5", - ], -} -`; - -exports[`applyDefaultPlugins > should apply default plugins correctyly when target = node 1`] = ` -{ - "builtins": { - "css": { - "modules": { - "exportsOnly": true, - "localIdentName": "[path][name]__[local]-[hash:6]", - "localsConvention": "camelCase", - }, - }, - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "pluginImport": [ - { - "libraryDirectory": "lib", - "libraryName": "antd", - "style": true, - }, - { - "camelToDashComponentName": false, - "libraryDirectory": "lib", - "libraryName": "@arco-design/web-react", - "style": true, - }, - { - "camelToDashComponentName": false, - "libraryDirectory": "react-icon-cjs", - "libraryName": "@arco-design/web-react/icon", - }, - ], - "presetEnv": { - "targets": [ - "node >= 14", - ], - }, - "react": { - "development": true, - "refresh": false, - "runtime": "automatic", - }, - }, - "context": "", - "devServer": { - "hot": false, - }, - "devtool": "cheap-module-source-map", - "experiments": { - "asyncWebAssembly": true, - "rspackFuture": { - "disableTransformByDefault": false, - }, - }, - "infrastructureLogging": { - "level": "error", - }, - "mode": "development", - "module": { - "rules": [ - { - "resolve": { - "fullySpecified": false, - }, - "test": /\\\\\\.m\\?js/, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/font/[name].[contenthash:8][ext]", - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/font/[name].[contenthash:8][ext]", - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - ], - "test": /\\\\\\.\\(woff\\|woff2\\|eot\\|ttf\\|otf\\|ttc\\)\\$/i, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/image/[name].[contenthash:8][ext]", - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/image/[name].[contenthash:8][ext]", - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - ], - "test": /\\\\\\.\\(png\\|jpg\\|jpeg\\|gif\\|bmp\\|webp\\|ico\\|apng\\|avif\\|tiff\\)\\$/i, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/media/[name].[contenthash:8][ext]", - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/media/[name].[contenthash:8][ext]", - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - ], - "test": /\\\\\\.\\(mp4\\|webm\\|ogg\\|mp3\\|wav\\|flac\\|aac\\|mov\\)\\$/i, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/svg/[name].[contenthash:8].svg", - }, - "issuer": { - "not": [ - /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$/, - /\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - ], - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "issuer": { - "not": [ - /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$/, - /\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - ], - }, - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/svg/[name].[contenthash:8].svg", - }, - "issuer": { - "not": [ - /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$/, - /\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - ], - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/svg/[name].[contenthash:8].svg", - }, - "resourceQuery": /url/, - "type": "asset/resource", - }, - { - "type": "javascript/auto", - "use": [ - { - "loader": "/node_modules//@svgr/webpack/dist/index.js", - "options": { - "svgo": true, - "svgoConfig": { - "plugins": [ - { - "name": "preset-default", - "params": { - "overrides": { - "removeViewBox": false, - }, - }, - }, - "prefixIds", - ], - }, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/url-loader", - "options": { - "limit": 10000, - "name": "static/svg/[name].[contenthash:8].svg", - }, - }, - ], - }, - ], - "test": /\\\\\\.svg\\$/, - }, - { - "dependency": "url", - "generator": { - "filename": "static/wasm/[hash].module.wasm", - }, - "test": /\\\\\\.wasm\\$/, - "type": "asset/resource", - }, - { - "test": /\\\\\\.node\\$/, - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/node-loader", - "options": { - "name": [Function], - }, - }, - ], - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - }, - ], - "test": /\\\\\\.css\\$/, - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.less\\$/, - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.s\\(a\\|c\\)ss\\$/, - }, - { - "test": /\\\\\\.toml\\$/, - "type": "javascript/auto", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/toml-loader", - }, - ], - }, - { - "test": /\\\\\\.ya\\?ml\\$/, - "type": "javascript/auto", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/yaml-loader", - }, - ], - }, - ], - }, - "name": "Server", - "optimization": { - "minimize": false, - "splitChunks": false, - }, - "output": { - "chunkFilename": "bundles/[name].js", - "cssChunkFilename": "static/css/async/[name].css", - "cssFilename": "static/css/[name].css", - "filename": "bundles/[name].js", - "hashFunction": "xxhash64", - "libraryTarget": "commonjs2", - "path": "/dist", - "pathinfo": false, - "publicPath": "/", - "webassemblyModuleFilename": "static/wasm/[hash].module.wasm", - }, - "plugins": [ - ForkTsCheckerWebpackPlugin { - "options": { - "issue": { - "exclude": [ - { - "file": "**/*.(spec|test).ts", - }, - { - "file": "**/node_modules/**/*", - }, - ], - }, - "logger": { - "error": [Function], - "log": [Function], - }, - "typescript": { - "configFile": "/tsconfig.json", - "memoryLimit": 8192, - "typescriptPath": "/node_modules//typescript/lib/typescript.js", - }, - }, - }, - DefinePlugin { - "_options": { - "process.env.ASSET_PREFIX": "\\"\\"", - "process.env.NODE_ENV": "\\"test\\"", - }, - "affectedHooks": "compilation", - "name": "DefinePlugin", - }, - ProgressPlugin { - "_options": { - "prefix": "Server", - "profile": false, - }, - "affectedHooks": undefined, - "name": "ProgressPlugin", - }, - ], - "resolve": { - "conditionNames": [ - "require", - "node", - ], - "extensions": [ - ".ts", - ".tsx", - ".js", - ".jsx", - ".mjs", - ".json", - ], - "tsConfigPath": "/tsconfig.json", - }, - "target": "node", -} -`; - -exports[`tools.rspack > should match snapshot 1`] = ` -{ - "builtins": { - "css": { - "modules": { - "exportsOnly": false, - "localIdentName": "[path][name]__[local]-[hash:6]", - "localsConvention": "camelCase", - }, - }, - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "pluginImport": [ - { - "libraryDirectory": "es", - "libraryName": "antd", - "style": true, - }, - { - "camelToDashComponentName": false, - "libraryDirectory": "es", - "libraryName": "@arco-design/web-react", - "style": true, - }, - { - "camelToDashComponentName": false, - "libraryDirectory": "react-icon", - "libraryName": "@arco-design/web-react/icon", - }, - ], - "presetEnv": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "react": { - "development": true, - "refresh": true, - "runtime": "automatic", - }, - }, - "context": "", - "devServer": { - "hot": true, - }, - "devtool": "cheap-module-source-map", - "experiments": { - "asyncWebAssembly": true, - "rspackFuture": { - "disableTransformByDefault": false, - }, - }, - "infrastructureLogging": { - "level": "error", - }, - "mode": "development", - "module": { - "rules": [ - { - "test": /\\\\\\.test\\$/, - "use": [ - { - "loader": "builtin:sass-loader", - }, - ], - }, - { - "resolve": { - "fullySpecified": false, - }, - "test": /\\\\\\.m\\?js/, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/font/[name].[contenthash:8][ext]", - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/font/[name].[contenthash:8][ext]", - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - ], - "test": /\\\\\\.\\(woff\\|woff2\\|eot\\|ttf\\|otf\\|ttc\\)\\$/i, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/image/[name].[contenthash:8][ext]", - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/image/[name].[contenthash:8][ext]", - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - ], - "test": /\\\\\\.\\(png\\|jpg\\|jpeg\\|gif\\|bmp\\|webp\\|ico\\|apng\\|avif\\|tiff\\)\\$/i, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/media/[name].[contenthash:8][ext]", - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/media/[name].[contenthash:8][ext]", - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - ], - "test": /\\\\\\.\\(mp4\\|webm\\|ogg\\|mp3\\|wav\\|flac\\|aac\\|mov\\)\\$/i, - }, - { - "oneOf": [ - { - "generator": { - "filename": "static/svg/[name].[contenthash:8].svg", - }, - "issuer": { - "not": [ - /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$/, - /\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - ], - }, - "resourceQuery": /\\(__inline=false\\|url\\)/, - "type": "asset/resource", - }, - { - "issuer": { - "not": [ - /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$/, - /\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - ], - }, - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/svg/[name].[contenthash:8].svg", - }, - "issuer": { - "not": [ - /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$/, - /\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - ], - }, - "parser": { - "dataUrlCondition": { - "maxSize": 10000, - }, - }, - "type": "asset", - }, - { - "resourceQuery": /inline/, - "type": "asset/inline", - }, - { - "generator": { - "filename": "static/svg/[name].[contenthash:8].svg", - }, - "resourceQuery": /url/, - "type": "asset/resource", - }, - { - "type": "javascript/auto", - "use": [ - { - "loader": "/node_modules//@svgr/webpack/dist/index.js", - "options": { - "svgo": true, - "svgoConfig": { - "plugins": [ - { - "name": "preset-default", - "params": { - "overrides": { - "removeViewBox": false, - }, - }, - }, - "prefixIds", - ], - }, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/url-loader", - "options": { - "limit": 10000, - "name": "static/svg/[name].[contenthash:8].svg", - }, - }, - ], - }, - ], - "test": /\\\\\\.svg\\$/, - }, - { - "dependency": "url", - "generator": { - "filename": "static/wasm/[hash].module.wasm", - }, - "test": /\\\\\\.wasm\\$/, - "type": "asset/resource", - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.css\\$/, - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.less\\$/, - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.s\\(a\\|c\\)ss\\$/, - }, - { - "test": /\\\\\\.toml\\$/, - "type": "javascript/auto", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/toml-loader", - }, - ], - }, - { - "test": /\\\\\\.ya\\?ml\\$/, - "type": "javascript/auto", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/yaml-loader", - }, - ], - }, - ], - }, - "name": "Client", - "optimization": { - "minimize": false, - "runtimeChunk": { - "name": "builder-runtime", - }, - "splitChunks": { - "cacheGroups": { - "lib-antd": { - "name": "lib-antd", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(antd\\)\\[\\\\\\\\/\\]/, - }, - "lib-arco": { - "name": "lib-arco", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(@\\?arco-design\\)\\[\\\\\\\\/\\]/, - }, - "lib-axios": { - "name": "lib-axios", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(axios\\|axios-\\.\\+\\)\\[\\\\\\\\/\\]/, - }, - "lib-lodash": { - "name": "lib-lodash", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(lodash\\|lodash-es\\)\\[\\\\\\\\/\\]/, - }, - "lib-polyfill": { - "name": "lib-polyfill", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(tslib\\|core-js\\|@babel\\\\/runtime\\|@swc\\\\/helpers\\)\\[\\\\\\\\/\\]/, - }, - "lib-react": { - "name": "lib-react", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(react\\|react-dom\\|scheduler\\)\\[\\\\\\\\/\\]/, - }, - "lib-router": { - "name": "lib-router", - "priority": 0, - "reuseExistingChunk": true, - "test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]\\(react-router\\|react-router-dom\\|@remix-run\\\\/router\\|history\\)\\[\\\\\\\\/\\]/, - }, - }, - "chunks": "all", - "enforceSizeThreshold": 50000, - }, - }, - "output": { - "chunkFilename": "static/js/async/[name].js", - "cssChunkFilename": "static/css/async/[name].css", - "cssFilename": "static/css/[name].css", - "filename": "static/js/[name].js", - "hashFunction": "xxhash64", - "path": "/dist", - "pathinfo": false, - "publicPath": "/", - "webassemblyModuleFilename": "static/wasm/[hash].module.wasm", - }, - "plugins": [ - TestPlugin { - "name": "TestPlugin", - }, - ForkTsCheckerWebpackPlugin { - "options": { - "issue": { - "exclude": [ - { - "file": "**/*.(spec|test).ts", - }, - { - "file": "**/node_modules/**/*", - }, - ], - }, - "logger": { - "error": [Function], - "log": [Function], - }, - "typescript": { - "configFile": "/tsconfig.json", - "memoryLimit": 8192, - "typescriptPath": "/node_modules//typescript/lib/typescript.js", - }, - }, - }, - DefinePlugin { - "_options": { - "process.env.ASSET_PREFIX": "\\"\\"", - "process.env.NODE_ENV": "\\"development\\"", - }, - "affectedHooks": "compilation", - "name": "DefinePlugin", - }, - ProgressPlugin { - "_options": { - "prefix": "Client", - "profile": false, - }, - "affectedHooks": undefined, - "name": "ProgressPlugin", - }, - ProvidePlugin { - "_options": { - "$ReactRefreshRuntime$": [ - "/node_modules//@rspack/plugin-react-refresh/client/reactRefresh.js", - ], - }, - "affectedHooks": undefined, - "name": "ProvidePlugin", - }, - ], - "resolve": { - "alias": { - "core-js": "/node_modules//core-js", - }, - "extensions": [ - ".ts", - ".tsx", - ".js", - ".jsx", - ".mjs", - ".json", - ], - "tsConfigPath": "/tsconfig.json", - }, - "target": [ - "web", - "es5", - ], -} -`; diff --git a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/fallback.test.ts.snap b/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/fallback.test.ts.snap deleted file mode 100644 index 6d4643fcd4a2..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/fallback.test.ts.snap +++ /dev/null @@ -1,105 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`plugins/fallback > should convert fallback rule correctly 1`] = ` -{ - "module": { - "rules": [ - { - "resolve": { - "fullySpecified": false, - }, - "test": /\\\\\\.m\\?js/, - }, - { - "oneOf": [ - { - "test": /foo/, - "use": [ - { - "loader": "foo", - }, - ], - }, - { - "mimetype": "text/javascript", - "resolve": { - "fullySpecified": false, - }, - "use": [ - { - "loader": "data-uri", - }, - ], - }, - { - "test": /bar/, - "use": [ - { - "loader": "bar", - }, - ], - }, - { - "exclude": [ - /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$/, - /\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - /\\\\\\.html\\$/, - /\\\\\\.json\\$/, - ], - "type": "asset/resource", - }, - ], - }, - ], - }, - "output": { - "assetModuleFilename": "static/media/[name].[contenthash:8][ext]", - }, -} -`; - -exports[`plugins/fallback > should not convert fallback rule when output.enableAssetFallback is not enabled 1`] = ` -{ - "module": { - "rules": [ - { - "resolve": { - "fullySpecified": false, - }, - "test": /\\\\\\.m\\?js/, - }, - { - "oneOf": [ - { - "test": /foo/, - "use": [ - { - "loader": "foo", - }, - ], - }, - ], - }, - { - "mimetype": "text/javascript", - "resolve": { - "fullySpecified": false, - }, - "use": [ - { - "loader": "data-uri", - }, - ], - }, - { - "test": /bar/, - "use": [ - { - "loader": "bar", - }, - ], - }, - ], - }, -} -`; diff --git a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/html.test.ts.snap b/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/html.test.ts.snap deleted file mode 100644 index 32ab0d8d166f..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/html.test.ts.snap +++ /dev/null @@ -1,186 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`plugins/html > should allow to modify plugin options by tools.htmlPlugin 1`] = ` -{ - "entry": { - "main": [ - "src/main.ts", - ], - }, - "plugins": [ - HtmlRspackPlugin { - "name": "HtmlRspackPlugin", - "userOptions": { - "inject": true, - }, - }, - ], -} -`; - -exports[`plugins/html > should allow to set favicon by html.favicon option 1`] = ` -{ - "entry": { - "main": [ - "src/main.ts", - ], - }, - "plugins": [ - HtmlRspackPlugin { - "name": "HtmlRspackPlugin", - "userOptions": { - "chunks": [ - "main", - ], - "favicon": "src/favicon.ico", - "filename": "html/main/index.html", - "inject": "head", - "minify": false, - "scriptLoading": "defer", - "template": "/packages/builder/builder-shared/static/template.html", - "templateParameters": [Function], - }, - }, - ], -} -`; - -exports[`plugins/html > should allow to set inject by html.inject option 1`] = ` -{ - "entry": { - "main": [ - "src/main.ts", - ], - }, - "plugins": [ - HtmlRspackPlugin { - "name": "HtmlRspackPlugin", - "userOptions": { - "chunks": [ - "main", - ], - "filename": "html/main/index.html", - "inject": "body", - "minify": false, - "scriptLoading": "defer", - "template": "/packages/builder/builder-shared/static/template.html", - "templateParameters": [Function], - }, - }, - ], -} -`; - -exports[`plugins/html > should enable minify in production 1`] = ` -{ - "entry": { - "main": [ - "src/main.ts", - ], - }, - "plugins": [ - HtmlRspackPlugin { - "name": "HtmlRspackPlugin", - "userOptions": { - "chunks": [ - "main", - ], - "filename": "html/main/index.html", - "inject": "head", - "minify": { - "collapseWhitespace": true, - "keepClosingSlash": true, - "minifyCSS": true, - "minifyJS": { - "format": { - "ascii_only": true, - }, - "mangle": { - "safari10": true, - }, - }, - "minifyURLs": true, - "removeComments": false, - "removeEmptyAttributes": true, - "removeRedundantAttributes": true, - "removeScriptTypeAttributes": true, - "removeStyleLinkTypeAttributes": true, - "useShortDoctype": true, - }, - "scriptLoading": "defer", - "template": "/packages/builder/builder-shared/static/template.html", - "templateParameters": [Function], - }, - }, - ], -} -`; - -exports[`plugins/html > should register html plugin correctly 1`] = ` -{ - "entry": { - "main": [ - "src/main.ts", - ], - }, - "plugins": [ - HtmlRspackPlugin { - "name": "HtmlRspackPlugin", - "userOptions": { - "chunks": [ - "main", - ], - "filename": "html/main/index.html", - "inject": "head", - "minify": false, - "scriptLoading": "defer", - "template": "/packages/builder/builder-shared/static/template.html", - "templateParameters": [Function], - }, - }, - ], -} -`; - -exports[`plugins/html > should support multi entry 1`] = ` -{ - "entry": { - "foo": [ - "src/foo.ts", - ], - "main": [ - "src/main.ts", - ], - }, - "plugins": [ - HtmlRspackPlugin { - "name": "HtmlRspackPlugin", - "userOptions": { - "chunks": [ - "main", - ], - "filename": "html/main/index.html", - "inject": "head", - "minify": false, - "scriptLoading": "defer", - "template": "foo", - "templateParameters": [Function], - }, - }, - HtmlRspackPlugin { - "name": "HtmlRspackPlugin", - "userOptions": { - "chunks": [ - "foo", - ], - "filename": "html/foo/index.html", - "inject": "head", - "minify": false, - "scriptLoading": "defer", - "template": "bar", - "templateParameters": [Function], - }, - }, - ], -} -`; diff --git a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/output.test.ts.snap b/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/output.test.ts.snap deleted file mode 100644 index 5a3492a702b9..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/output.test.ts.snap +++ /dev/null @@ -1,140 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`plugins/output > should allow to custom server directory with distPath.server 1`] = ` -{ - "output": { - "chunkFilename": "server/[name].js", - "cssChunkFilename": "static/css/async/[name].css", - "cssFilename": "static/css/[name].css", - "filename": "server/[name].js", - "hashFunction": "xxhash64", - "libraryTarget": "commonjs2", - "path": "/dist", - "pathinfo": false, - "publicPath": "/", - }, -} -`; - -exports[`plugins/output > should allow to set distPath.js and distPath.css to empty string 1`] = ` -{ - "output": { - "chunkFilename": "async/[name].js", - "cssChunkFilename": "async/[name].css", - "cssFilename": "[name].css", - "filename": "[name].js", - "hashFunction": "xxhash64", - "path": "/dist", - "pathinfo": false, - "publicPath": "/", - }, -} -`; - -exports[`plugins/output > should allow to use copy plugin 1`] = ` -{ - "output": { - "chunkFilename": "static/js/async/[name].js", - "cssChunkFilename": "static/css/async/[name].css", - "cssFilename": "static/css/[name].css", - "filename": "static/js/[name].js", - "hashFunction": "xxhash64", - "path": "/dist", - "pathinfo": false, - "publicPath": "/", - }, - "plugins": [ - CopyRspackPlugin { - "_options": { - "patterns": [ - { - "force": false, - "from": "test", - "globOptions": {}, - "noErrorOnMissing": false, - "priority": 0, - }, - ], - }, - "affectedHooks": undefined, - "name": "CopyRspackPlugin", - }, - ], -} -`; - -exports[`plugins/output > should allow to use copy plugin with multiply config 1`] = ` -{ - "output": { - "chunkFilename": "static/js/async/[name].js", - "cssChunkFilename": "static/css/async/[name].css", - "cssFilename": "static/css/[name].css", - "filename": "static/js/[name].js", - "hashFunction": "xxhash64", - "path": "/dist", - "pathinfo": false, - "publicPath": "/", - }, - "plugins": [ - CopyRspackPlugin { - "_options": { - "patterns": [ - { - "force": false, - "from": "test", - "globOptions": {}, - "noErrorOnMissing": false, - "priority": 0, - }, - { - "force": false, - "from": "src/assets/", - "globOptions": {}, - "noErrorOnMissing": false, - "priority": 0, - }, - { - "force": false, - "from": "tests/", - "globOptions": {}, - "noErrorOnMissing": false, - "priority": 0, - }, - ], - }, - "affectedHooks": undefined, - "name": "CopyRspackPlugin", - }, - ], -} -`; - -exports[`plugins/output > should allow to use filename.js to modify filename 1`] = ` -{ - "output": { - "chunkFilename": "static/js/async/foo.js", - "cssChunkFilename": "static/css/async/[name].css", - "cssFilename": "static/css/[name].css", - "filename": "static/js/foo.js", - "hashFunction": "xxhash64", - "path": "/dist", - "pathinfo": false, - "publicPath": "/", - }, -} -`; - -exports[`plugins/output > should set output correctly 1`] = ` -{ - "output": { - "chunkFilename": "static/js/async/[name].js", - "cssChunkFilename": "static/css/async/[name].css", - "cssFilename": "static/css/[name].css", - "filename": "static/js/[name].js", - "hashFunction": "xxhash64", - "path": "/dist", - "pathinfo": false, - "publicPath": "/", - }, -} -`; diff --git a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/pug.test.ts.snap b/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/pug.test.ts.snap deleted file mode 100644 index 40f96ae926cb..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/pug.test.ts.snap +++ /dev/null @@ -1,47 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`plugins/pug > should add pug correctly when tools.pug is used 1`] = ` -{ - "entry": { - "foo": [ - "src/foo.ts", - ], - "main": [ - "src/main.ts", - ], - }, - "plugins": [ - HtmlRspackPlugin { - "name": "HtmlRspackPlugin", - "userOptions": { - "chunks": [ - "main", - ], - "filename": "html/main/index.html", - "inject": "head", - "minify": false, - "scriptLoading": "defer", - "template": "foo.pug", - "templateCompiler": { - "compile": [Function], - }, - "templateParameters": [Function], - }, - }, - HtmlRspackPlugin { - "name": "HtmlRspackPlugin", - "userOptions": { - "chunks": [ - "foo", - ], - "filename": "html/foo/index.html", - "inject": "head", - "minify": false, - "scriptLoading": "defer", - "template": "bar.html", - "templateParameters": [Function], - }, - }, - ], -} -`; diff --git a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/rem.test.ts.snap b/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/rem.test.ts.snap deleted file mode 100644 index 8f6860cb2093..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/rem.test.ts.snap +++ /dev/null @@ -1,1309 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`plugins/rem > should not run htmlPlugin with enableRuntime is false 1`] = ` -{ - "builtins": { - "css": { - "modules": { - "exportsOnly": false, - "localIdentName": "[path][name]__[local]-[hash:6]", - "localsConvention": "camelCase", - }, - }, - }, - "module": { - "rules": [ - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.css\\$/, - }, - ], - }, -} -`; - -exports[`plugins/rem > should not run rem plugin when false 1`] = ` -{ - "builtins": { - "css": { - "modules": { - "exportsOnly": false, - "localIdentName": "[path][name]__[local]-[hash:6]", - "localsConvention": "camelCase", - }, - }, - }, - "module": { - "rules": [ - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.css\\$/, - }, - ], - }, -} -`; - -exports[`plugins/rem > should not run rem plugin without config 1`] = ` -{ - "builtins": { - "css": { - "modules": { - "exportsOnly": false, - "localIdentName": "[path][name]__[local]-[hash:6]", - "localsConvention": "camelCase", - }, - }, - }, - "module": { - "rules": [ - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.css\\$/, - }, - ], - }, -} -`; - -exports[`plugins/rem > should order plugins and run rem plugin with default config 1`] = ` -{ - "builtins": { - "css": { - "modules": { - "exportsOnly": false, - "localIdentName": "[path][name]__[local]-[hash:6]", - "localsConvention": "camelCase", - }, - }, - }, - "module": { - "rules": [ - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.css\\$/, - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.less\\$/, - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.s\\(a\\|c\\)ss\\$/, - }, - ], - }, - "plugins": [ - AutoSetRootFontSizePlugin { - "HtmlPlugin": [Function], - "distDir": "static/js", - "name": "AutoSetRootFontSizePlugin", - "options": { - "enableRuntime": true, - "excludeEntries": [], - "inlineRuntime": true, - "maxRootFontSize": 64, - "rootFontSize": 50, - "rootFontSizeVariableName": "ROOT_FONT_SIZE", - "screenWidth": 375, - "supportLandscape": false, - "useRootFontSizeBeyondMax": false, - "widthQueryKey": "", - }, - "scriptPath": "", - "webpackEntries": [], - }, - ], -} -`; - -exports[`plugins/rem > should run rem plugin with custom config 1`] = ` -{ - "builtins": { - "css": { - "modules": { - "exportsOnly": false, - "localIdentName": "[path][name]__[local]-[hash:6]", - "localsConvention": "camelCase", - }, - }, - }, - "module": { - "rules": [ - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.css\\$/, - }, - ], - }, - "plugins": [ - AutoSetRootFontSizePlugin { - "HtmlPlugin": [Function], - "distDir": "static/js", - "name": "AutoSetRootFontSizePlugin", - "options": { - "enableRuntime": true, - "excludeEntries": [], - "inlineRuntime": true, - "maxRootFontSize": 64, - "pxtorem": { - "propList": [ - "font-size", - ], - }, - "rootFontSize": 30, - "rootFontSizeVariableName": "ROOT_FONT_SIZE", - "screenWidth": 375, - "supportLandscape": false, - "useRootFontSizeBeyondMax": false, - "widthQueryKey": "", - }, - "scriptPath": "", - "webpackEntries": [], - }, - ], -} -`; - -exports[`plugins/rem > should run rem plugin with default config 1`] = ` -{ - "builtins": { - "css": { - "modules": { - "exportsOnly": false, - "localIdentName": "[path][name]__[local]-[hash:6]", - "localsConvention": "camelCase", - }, - }, - }, - "module": { - "rules": [ - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.css\\$/, - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/less-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/less", - "lessOptions": { - "javascriptEnabled": true, - }, - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.less\\$/, - }, - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - { - "AtRule": [Function], - "Declaration": [Function], - "Once": [Function], - "postcssPlugin": "postcss-pxtorem", - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/resolve-url-loader", - "options": { - "join": [Function], - "sourceMap": false, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/sass-loader", - "options": { - "implementation": "/packages/builder/builder-shared/compiled/sass", - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.s\\(a\\|c\\)ss\\$/, - }, - ], - }, - "plugins": [ - AutoSetRootFontSizePlugin { - "HtmlPlugin": [Function], - "distDir": "static/js", - "name": "AutoSetRootFontSizePlugin", - "options": { - "enableRuntime": true, - "excludeEntries": [], - "inlineRuntime": true, - "maxRootFontSize": 64, - "rootFontSize": 50, - "rootFontSizeVariableName": "ROOT_FONT_SIZE", - "screenWidth": 375, - "supportLandscape": false, - "useRootFontSizeBeyondMax": false, - "widthQueryKey": "", - }, - "scriptPath": "", - "webpackEntries": [], - }, - ], -} -`; diff --git a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/swc.test.ts.snap b/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/swc.test.ts.snap deleted file mode 100644 index f2069070982d..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/__snapshots__/swc.test.ts.snap +++ /dev/null @@ -1,345 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`plugins/swc > should add antd pluginImport 1`] = ` -{ - "builtins": { - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "pluginImport": [ - { - "libraryDirectory": "es", - "libraryName": "antd", - "style": true, - }, - ], - "presetEnv": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - }, - "entry": { - "main": [ - "src/index.js", - ], - }, - "resolve": { - "alias": { - "core-js": "/node_modules//core-js", - }, - }, -} -`; - -exports[`plugins/swc > should add browserslist 1`] = ` -{ - "builtins": { - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "presetEnv": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "chrome 98", - ], - }, - }, - "entry": { - "main": [ - "src/index.js", - ], - }, - "resolve": { - "alias": { - "core-js": "/node_modules//core-js", - }, - }, -} -`; - -exports[`plugins/swc > should add browserslist 2`] = ` -{ - "builtins": { - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "presetEnv": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "chrome 98", - ], - }, - }, - "entry": { - "main": [ - "src/index.js", - ], - }, - "resolve": { - "alias": { - "core-js": "/node_modules//core-js", - }, - }, -} -`; - -exports[`plugins/swc > should add pluginImport 1`] = ` -{ - "builtins": { - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "pluginImport": [ - { - "libraryName": "foo", - }, - ], - "presetEnv": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - }, - "entry": { - "main": [ - "src/index.js", - ], - }, - "resolve": { - "alias": { - "core-js": "/node_modules//core-js", - }, - }, -} -`; - -exports[`plugins/swc > should disable all pluginImport 1`] = ` -{ - "builtins": { - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "presetEnv": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - }, - "entry": { - "main": [ - "src/index.js", - ], - }, - "resolve": { - "alias": { - "core-js": "/node_modules//core-js", - }, - }, -} -`; - -exports[`plugins/swc > should disable preset_env in target other than web 1`] = ` -{ - "builtins": { - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "presetEnv": { - "targets": [ - "node >= 14", - ], - }, - }, - "entry": { - "main": [ - "src/index.js", - ], - }, -} -`; - -exports[`plugins/swc > should disable preset_env mode 1`] = ` -{ - "builtins": { - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "presetEnv": { - "mode": undefined, - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - }, - "entry": { - "main": [ - "src/index.js", - ], - }, -} -`; - -exports[`plugins/swc > should enable entry mode preset_env 1`] = ` -{ - "builtins": { - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "presetEnv": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - }, - "entry": { - "main": [ - "src/index.js", - ], - }, - "resolve": { - "alias": { - "core-js": "/node_modules//core-js", - }, - }, -} -`; - -exports[`plugins/swc > should has correct core-js 1`] = ` -{ - "builtins": { - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "presetEnv": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - }, - "entry": { - "main": [ - "src/index.js", - ], - }, - "resolve": { - "alias": { - "core-js": "/node_modules//core-js", - }, - }, -} -`; - -exports[`plugins/swc > should has correct core-js 2`] = ` -{ - "builtins": { - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "presetEnv": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - }, - "entry": { - "main": [ - "src/index.js", - ], - }, - "resolve": { - "alias": { - "core-js": "/node_modules//core-js", - }, - }, -} -`; - -exports[`plugins/swc > should has correct core-js 3`] = ` -{ - "builtins": { - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "presetEnv": { - "targets": [ - "node >= 14", - ], - }, - }, - "entry": { - "main": [ - "src/index.js", - ], - }, -} -`; - -exports[`plugins/swc > should'n override browserslist when target platform is not web 1`] = ` -{ - "builtins": { - "decorator": { - "emitMetadata": true, - "legacy": true, - }, - "presetEnv": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - }, - "entry": { - "main": [ - "src/index.js", - ], - }, - "resolve": { - "alias": { - "core-js": "/node_modules//core-js", - }, - }, -} -`; diff --git a/packages/builder/builder-rspack-provider/tests/plugins/babel.test.ts b/packages/builder/builder-rspack-provider/tests/plugins/babel.test.ts deleted file mode 100644 index 61f5f5a0d6e4..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/babel.test.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { describe, it, expect } from 'vitest'; -import { createBuilder } from '../helper'; -import { builderPluginBabel } from '@/plugins/babel'; - -describe('plugins/babel', () => { - it('should set babel-loader', async () => { - const builder = await createBuilder({ - plugins: [builderPluginBabel()], - builderConfig: { - tools: { - babel(config: any) { - config.plugins.push([ - 'babel-plugin-import', - { - libraryName: 'xxx-components', - libraryDirectory: 'es', - style: true, - }, - ]); - }, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should not set babel-loader when babel config is return null', async () => { - const builder = await createBuilder({ - plugins: [builderPluginBabel()], - builderConfig: { - tools: { - babel: () => { - // do nothing - }, - } as any, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should not set babel-loader when babel config is null', async () => { - const builder = await createBuilder({ - plugins: [builderPluginBabel()], - builderConfig: { - tools: { - babel: {}, - } as any, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should not set babel-loader', async () => { - const builder = await createBuilder({ - plugins: [builderPluginBabel()], - builderConfig: { - tools: {}, - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); -}); diff --git a/packages/builder/builder-rspack-provider/tests/plugins/css.test.ts b/packages/builder/builder-rspack-provider/tests/plugins/css.test.ts deleted file mode 100644 index 4acf8b0c2653..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/css.test.ts +++ /dev/null @@ -1,304 +0,0 @@ -import { expect, describe, it } from 'vitest'; -import { createBuilder } from '../helper'; -import { builderPluginCss } from '@/plugins/css'; -import { builderPluginLess } from '@/plugins/less'; -import { builderPluginSass } from '@/plugins/sass'; - -describe('plugins/css', () => { - it('should override browserslist of autoprefixer when using output.overrideBrowserslist config', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss()], - builderConfig: { - output: { - overrideBrowserslist: ['Chrome 80'], - }, - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should disable source map when output.disableSourceMap is true', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss()], - builderConfig: { - output: { - disableSourceMap: true, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(JSON.stringify(bundlerConfigs[0])).toContain('"sourceMap":false'); - }); - - it('should disable source map when output.disableSourceMap is css: true', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss()], - builderConfig: { - output: { - disableSourceMap: { - css: true, - }, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(JSON.stringify(bundlerConfigs[0])).toContain('"sourceMap":false'); - }); - - it('should disable source map in production by default', async () => { - const { NODE_ENV } = process.env; - process.env.NODE_ENV = 'production'; - - const builder = await createBuilder({ - plugins: [builderPluginCss()], - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(JSON.stringify(bundlerConfigs[0])).toContain('"sourceMap":false'); - - process.env.NODE_ENV = NODE_ENV; - }); - - it('should allow to custom cssModuleLocalIdentName', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss()], - builderConfig: { - output: { - cssModuleLocalIdentName: '[hash]', - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(JSON.stringify(bundlerConfigs[0])).toContain( - '"localIdentName":"[hash]"', - ); - }); - - it('should ignore hashDigest when custom cssModuleLocalIdentName', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss()], - builderConfig: { - output: { - cssModuleLocalIdentName: '[hash:base64:5]', - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(JSON.stringify(bundlerConfigs[0])).toContain( - '"localIdentName":"[hash:5]"', - ); - }); - - it('should use custom cssModules rule when using output.cssModules config', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss()], - builderConfig: { - output: { - cssModules: { - auto: resourcePath => resourcePath.includes('.module.'), - }, - }, - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should apply custom css-modules-typescript-loader when enableCssModuleTSDeclarationg', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss()], - builderConfig: { - output: { - enableCssModuleTSDeclaration: true, - }, - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); -}); - -describe('plugins/css disableCssExtract', () => { - it('should use css-loader + style-loader when disableCssExtract is true', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss()], - builderConfig: { - output: { - disableCssExtract: true, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should apply ignoreCssLoader when disableCssExtract is true and target is node', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss()], - target: 'node', - builderConfig: { - output: { - disableCssExtract: true, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); -}); - -describe('plugins/less', () => { - it('should add less-loader', async () => { - const builder = await createBuilder({ - plugins: [builderPluginLess()], - builderConfig: { - tools: { - less: {}, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should add less-loader and css-loader when disableCssExtract', async () => { - const builder = await createBuilder({ - plugins: [builderPluginLess()], - builderConfig: { - output: { - disableCssExtract: true, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should add less-loader with tools.less', async () => { - const builder = await createBuilder({ - plugins: [builderPluginLess()], - builderConfig: { - tools: { - less: { - lessOptions: { - javascriptEnabled: false, - }, - }, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should add less-loader with excludes', async () => { - const builder = await createBuilder({ - plugins: [builderPluginLess()], - builderConfig: { - tools: { - less(config, { addExcludes }) { - addExcludes(/node_modules/); - }, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); -}); - -describe('plugins/sass', () => { - it('should add sass-loader', async () => { - const builder = await createBuilder({ - plugins: [builderPluginSass()], - builderConfig: { - tools: {}, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should add sass-loader and css-loader when disableCssExtract', async () => { - const builder = await createBuilder({ - plugins: [builderPluginSass()], - builderConfig: { - output: { - disableCssExtract: true, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should add sass-loader with excludes', async () => { - const builder = await createBuilder({ - plugins: [builderPluginSass()], - builderConfig: { - tools: { - sass(config, { addExcludes }) { - addExcludes(/node_modules/); - }, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); -}); diff --git a/packages/builder/builder-rspack-provider/tests/plugins/default.test.ts b/packages/builder/builder-rspack-provider/tests/plugins/default.test.ts deleted file mode 100644 index 287621d626d0..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/default.test.ts +++ /dev/null @@ -1,201 +0,0 @@ -import { expect, describe, it } from 'vitest'; -import { createBuilder } from '../helper'; -import { BuilderPlugin } from '@/types'; -import { BUILTIN_LOADER } from '@/shared'; - -describe('applyDefaultPlugins', () => { - it('should apply default plugins correctly', async () => { - const { NODE_ENV } = process.env; - process.env.NODE_ENV = 'development'; - const builder = await createBuilder({}); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - - process.env.NODE_ENV = NODE_ENV; - }); - - it('should apply default plugins correctly when prod', async () => { - const { NODE_ENV } = process.env; - process.env.NODE_ENV = 'production'; - - const builder = await createBuilder({}); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - - process.env.NODE_ENV = NODE_ENV; - }); - - it('should apply default plugins correctyly when target = node', async () => { - const { NODE_ENV } = process.env; - process.env.NODE_ENV = 'test'; - const builder = await createBuilder({ - target: 'node', - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - process.env.NODE_ENV = NODE_ENV; - }); -}); - -describe('tools.rspack', () => { - it('should match snapshot', async () => { - const { NODE_ENV } = process.env; - process.env.NODE_ENV = 'development'; - - class TestPlugin { - readonly name: string = 'TestPlugin'; - - // eslint-disable-next-line @typescript-eslint/no-empty-function - apply() {} - } - - const builder = await createBuilder({ - builderConfig: { - tools: { - rspack: (config, { addRules, prependPlugins }) => { - addRules({ - test: /\.test$/, - use: [ - { - loader: 'builtin:sass-loader', - }, - ], - }); - prependPlugins([new TestPlugin()]); - }, - }, - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - - process.env.NODE_ENV = NODE_ENV; - }); -}); - -describe('bundlerApi', () => { - it('test modifyBundlerChain and api order', async () => { - const testPlugin: BuilderPlugin = { - name: 'builder-plugin-devtool', - setup: api => { - api.modifyBundlerChain(chain => { - chain.target('node'); - chain.devtool('cheap-module-source-map'); - }); - - api.modifyRspackConfig(config => { - config.devtool = 'hidden-source-map'; - }); - }, - }; - - const builder = await createBuilder({ - plugins: [testPlugin], - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchInlineSnapshot(` - { - "devtool": "hidden-source-map", - "target": "node", - } - `); - }); - - it('test modifyBundlerChain rule format correctly', async () => { - const testPlugin: BuilderPlugin = { - name: 'builder-plugin-devtool', - setup: api => { - api.modifyBundlerChain(chain => { - chain.module - .rule('yaml') - .type('javascript/auto') - .test(/\.ya?ml$/) - .use('yaml') - .loader('../../compiled/yaml-loader'); - }); - }, - }; - - const builder = await createBuilder({ - plugins: [testPlugin], - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchInlineSnapshot(` - { - "module": { - "rules": [ - { - "test": /\\\\\\.ya\\?ml\\$/, - "type": "javascript/auto", - "use": [ - { - "loader": "../../compiled/yaml-loader", - }, - ], - }, - ], - }, - } - `); - }); - - it('test modifyBundlerChain use builtinLoader', async () => { - const testPlugin: BuilderPlugin = { - name: 'builder-plugin-test', - setup: api => { - api.modifyBundlerChain(chain => { - chain.module - .rule('yaml') - .type('javascript/auto') - .test(/\.ya?ml$/) - .use('yaml') - .loader(`${BUILTIN_LOADER}yaml-loader`); - }); - }, - }; - - const builder = await createBuilder({ - plugins: [testPlugin], - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchInlineSnapshot(` - { - "module": { - "rules": [ - { - "test": /\\\\\\.ya\\?ml\\$/, - "type": "javascript/auto", - "use": [ - { - "loader": "builtin:yaml-loader", - }, - ], - }, - ], - }, - } - `); - }); -}); diff --git a/packages/builder/builder-rspack-provider/tests/plugins/fallback.test.ts b/packages/builder/builder-rspack-provider/tests/plugins/fallback.test.ts deleted file mode 100644 index 87dad5c52463..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/fallback.test.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { expect, describe, it } from 'vitest'; -import { createBuilder } from '../helper'; -import { builderPluginFallback } from '@/plugins/fallback'; -import { BuilderPlugin } from '@/types'; - -describe('plugins/fallback', () => { - const testPlugin: BuilderPlugin = { - name: 'test-plugin', - setup(api) { - api.modifyBundlerChain(chain => { - chain.module - .rule('mjs') - .test(/\.m?js/) - .resolve.set('fullySpecified', false); - - chain.module - .rule('foo') - .oneOf('foo') - .test(/foo/) - .use('foo') - .loader('foo'); - - chain.module - .rule('data-uri') - .resolve.set('fullySpecified', false) - .end() - .mimetype('text/javascript') - .use('data-uri') - .loader('data-uri'); - - chain.module.rule('bar').test(/bar/).use('bar').loader('bar'); - }); - }, - }; - - it('should convert fallback rule correctly', async () => { - const builder = await createBuilder({ - plugins: [testPlugin, builderPluginFallback()], - builderConfig: { - output: { - enableAssetFallback: true, - }, - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should not convert fallback rule when output.enableAssetFallback is not enabled', async () => { - const builder = await createBuilder({ - plugins: [testPlugin, builderPluginFallback()], - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); -}); diff --git a/packages/builder/builder-rspack-provider/tests/plugins/html.test.ts b/packages/builder/builder-rspack-provider/tests/plugins/html.test.ts deleted file mode 100644 index 7fe95b23c418..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/html.test.ts +++ /dev/null @@ -1,248 +0,0 @@ -import { expect, describe, it } from 'vitest'; -import { builderPluginEntry } from '@builder/plugins/entry'; -import { builderPluginHtml } from '@builder/plugins/html'; -import { createBuilder, matchPlugin } from '../helper'; - -describe('plugins/html', () => { - it('should register html plugin correctly', async () => { - const builder = await createBuilder({ - plugins: [builderPluginEntry(), builderPluginHtml()], - entry: { - main: './src/main.ts', - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should register nonce plugin when using security.nonce', async () => { - const builder = await createBuilder({ - plugins: [builderPluginEntry(), builderPluginHtml()], - entry: { - main: './src/main.ts', - }, - builderConfig: { - security: { - nonce: 'test-nonce', - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(matchPlugin(bundlerConfigs[0], 'HtmlNoncePlugin')).toBeDefined(); - }); - - it('should register crossorigin plugin when using html.crossorigin', async () => { - const builder = await createBuilder({ - plugins: [builderPluginEntry(), builderPluginHtml()], - entry: { - main: './src/main.ts', - }, - builderConfig: { - html: { - crossorigin: true, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect( - matchPlugin(bundlerConfigs[0], 'HtmlCrossOriginPlugin'), - ).toBeDefined(); - }); - - it('should register appIcon plugin when using html.appIcon', async () => { - const builder = await createBuilder({ - plugins: [builderPluginEntry(), builderPluginHtml()], - entry: { - main: './src/main.ts', - }, - builderConfig: { - html: { - appIcon: './src/assets/icon.png', - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(matchPlugin(bundlerConfigs[0], 'HtmlAppIconPlugin')).toBeDefined(); - }); - - it('should allow to set favicon by html.favicon option', async () => { - const builder = await createBuilder({ - plugins: [builderPluginEntry(), builderPluginHtml()], - entry: { - main: './src/main.ts', - }, - builderConfig: { - html: { - favicon: './src/favicon.ico', - }, - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should register faviconUrl plugin when html.favicon is a URL', async () => { - const builder = await createBuilder({ - plugins: [builderPluginEntry(), builderPluginHtml()], - entry: { - main: './src/main.ts', - }, - builderConfig: { - html: { - favicon: 'https://www.foo.com/favicon.ico', - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect( - matchPlugin(bundlerConfigs[0], 'HtmlFaviconUrlPlugin'), - ).toBeDefined(); - }); - - it('should allow to set inject by html.inject option', async () => { - const builder = await createBuilder({ - plugins: [builderPluginEntry(), builderPluginHtml()], - entry: { - main: './src/main.ts', - }, - builderConfig: { - html: { - inject: 'body', - }, - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should enable minify in production', async () => { - const { NODE_ENV } = process.env; - process.env.NODE_ENV = 'production'; - - const builder = await createBuilder({ - plugins: [builderPluginEntry(), builderPluginHtml()], - entry: { - main: './src/main.ts', - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - - process.env.NODE_ENV = NODE_ENV; - }); - - it('should allow to modify plugin options by tools.htmlPlugin', async () => { - const builder = await createBuilder({ - plugins: [builderPluginEntry(), builderPluginHtml()], - entry: { - main: './src/main.ts', - }, - builderConfig: { - tools: { - htmlPlugin(_config, utils) { - expect(utils.entryName).toEqual('main'); - return { - inject: true, - }; - }, - }, - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should support multi entry', async () => { - const builder = await createBuilder({ - plugins: [builderPluginEntry(), builderPluginHtml()], - entry: { - main: './src/main.ts', - foo: './src/foo.ts', - }, - builderConfig: { - html: { - template: 'bar', - templateByEntries: { main: 'foo' }, - }, - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - expect(matchPlugin(bundlerConfigs[0], 'HtmlRspackPlugin')).toBeDefined(); - }); - - it('should allow to disable html plugin', async () => { - const builder = await createBuilder({ - plugins: [builderPluginEntry(), builderPluginHtml()], - entry: { - main: './src/main.ts', - }, - builderConfig: { - tools: { - htmlPlugin: false, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(matchPlugin(bundlerConfigs[0], 'HtmlRspackPlugin')).toBeNull(); - }); - - it('should disable html plugin when htmlPlugin is an array and contains false', async () => { - const builder = await createBuilder({ - plugins: [builderPluginEntry(), builderPluginHtml()], - entry: { - main: './src/main.ts', - }, - builderConfig: { - tools: { - htmlPlugin: [{}, false], - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(matchPlugin(bundlerConfigs[0], 'HtmlRspackPlugin')).toBeNull(); - }); -}); diff --git a/packages/builder/builder-rspack-provider/tests/plugins/minimize.test.ts b/packages/builder/builder-rspack-provider/tests/plugins/minimize.test.ts deleted file mode 100644 index 05d4a7ad9993..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/minimize.test.ts +++ /dev/null @@ -1,280 +0,0 @@ -import { expect, describe, it } from 'vitest'; -import { createBuilder } from '../helper'; -import { builderPluginMinimize } from '@/plugins/minimize'; - -describe('plugins/minimize', () => { - it('should not apply minimizer in development', async () => { - process.env.NODE_ENV = 'development'; - - const builder = await createBuilder({ - plugins: [builderPluginMinimize()], - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0].optimization?.minimize).toEqual(false); - expect(bundlerConfigs[0].optimization?.minimizer).toBeUndefined(); - - process.env.NODE_ENV = 'test'; - }); - - it('should apply minimizer in production', async () => { - process.env.NODE_ENV = 'production'; - - const builder = await createBuilder({ - plugins: [builderPluginMinimize()], - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0].optimization?.minimize).toEqual(true); - - expect(bundlerConfigs[0].optimization?.minimizer).toMatchInlineSnapshot( - ` - [ - SwcJsMinimizerRspackPlugin { - "_options": { - "compress": "{\\"passes\\":1,\\"pure_funcs\\":[],\\"drop_console\\":false}", - "exclude": undefined, - "extractComments": "true", - "format": "{\\"comments\\":false,\\"asciiOnly\\":true}", - "include": undefined, - "mangle": "{\\"keep_classnames\\":false,\\"keep_fnames\\":false}", - "module": undefined, - "test": undefined, - }, - "affectedHooks": "compilation", - "name": "SwcJsMinimizerRspackPlugin", - }, - CssMinimizerPlugin { - "options": { - "exclude": undefined, - "include": undefined, - "minimizer": { - "implementation": [Function], - "options": { - "preset": [ - "default", - { - "mergeLonghand": false, - }, - ], - }, - }, - "parallel": true, - "test": /\\\\\\.css\\(\\\\\\?\\.\\*\\)\\?\\$/i, - "warningsFilter": [Function], - }, - }, - ] - `, - ); - - process.env.NODE_ENV = 'test'; - }); - - it('should not apply minimizer when output.disableMinimize is true', async () => { - process.env.NODE_ENV = 'production'; - - const builder = await createBuilder({ - plugins: [builderPluginMinimize()], - builderConfig: { - output: { - disableMinimize: true, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0].optimization?.minimize).toEqual(false); - - process.env.NODE_ENV = 'test'; - }); - - it('should dropConsole when performance.removeConsole is true', async () => { - process.env.NODE_ENV = 'production'; - - const builder = await createBuilder({ - plugins: [builderPluginMinimize()], - builderConfig: { - performance: { - removeConsole: true, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0].optimization?.minimizer).toMatchInlineSnapshot( - ` - [ - SwcJsMinimizerRspackPlugin { - "_options": { - "compress": "{\\"passes\\":1,\\"pure_funcs\\":[],\\"drop_console\\":true}", - "exclude": undefined, - "extractComments": "true", - "format": "{\\"comments\\":false,\\"asciiOnly\\":true}", - "include": undefined, - "mangle": "{\\"keep_classnames\\":false,\\"keep_fnames\\":false}", - "module": undefined, - "test": undefined, - }, - "affectedHooks": "compilation", - "name": "SwcJsMinimizerRspackPlugin", - }, - CssMinimizerPlugin { - "options": { - "exclude": undefined, - "include": undefined, - "minimizer": { - "implementation": [Function], - "options": { - "preset": [ - "default", - { - "mergeLonghand": false, - }, - ], - }, - }, - "parallel": true, - "test": /\\\\\\.css\\(\\\\\\?\\.\\*\\)\\?\\$/i, - "warningsFilter": [Function], - }, - }, - ] - `, - ); - - process.env.NODE_ENV = 'test'; - }); - - it('should remove specific console when performance.removeConsole is array', async () => { - process.env.NODE_ENV = 'production'; - - const builder = await createBuilder({ - plugins: [builderPluginMinimize()], - builderConfig: { - performance: { - removeConsole: ['log', 'warn'], - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0].optimization?.minimizer).toMatchInlineSnapshot( - ` - [ - SwcJsMinimizerRspackPlugin { - "_options": { - "compress": "{\\"passes\\":1,\\"pure_funcs\\":[\\"console.log\\",\\"console.warn\\"],\\"drop_console\\":false}", - "exclude": undefined, - "extractComments": "true", - "format": "{\\"comments\\":false,\\"asciiOnly\\":true}", - "include": undefined, - "mangle": "{\\"keep_classnames\\":false,\\"keep_fnames\\":false}", - "module": undefined, - "test": undefined, - }, - "affectedHooks": "compilation", - "name": "SwcJsMinimizerRspackPlugin", - }, - CssMinimizerPlugin { - "options": { - "exclude": undefined, - "include": undefined, - "minimizer": { - "implementation": [Function], - "options": { - "preset": [ - "default", - { - "mergeLonghand": false, - }, - ], - }, - }, - "parallel": true, - "test": /\\\\\\.css\\(\\\\\\?\\.\\*\\)\\?\\$/i, - "warningsFilter": [Function], - }, - }, - ] - `, - ); - - process.env.NODE_ENV = 'test'; - }); - - it('should set asciiOnly false when output.charset is utf8', async () => { - process.env.NODE_ENV = 'production'; - - const builder = await createBuilder({ - plugins: [builderPluginMinimize()], - builderConfig: { - output: { - charset: 'utf8', - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0].optimization?.minimizer).toMatchInlineSnapshot( - ` - [ - SwcJsMinimizerRspackPlugin { - "_options": { - "compress": "{\\"passes\\":1,\\"pure_funcs\\":[],\\"drop_console\\":false}", - "exclude": undefined, - "extractComments": "true", - "format": "{\\"comments\\":false,\\"asciiOnly\\":false}", - "include": undefined, - "mangle": "{\\"keep_classnames\\":false,\\"keep_fnames\\":false}", - "module": undefined, - "test": undefined, - }, - "affectedHooks": "compilation", - "name": "SwcJsMinimizerRspackPlugin", - }, - CssMinimizerPlugin { - "options": { - "exclude": undefined, - "include": undefined, - "minimizer": { - "implementation": [Function], - "options": { - "preset": [ - "default", - { - "mergeLonghand": false, - }, - ], - }, - }, - "parallel": true, - "test": /\\\\\\.css\\(\\\\\\?\\.\\*\\)\\?\\$/i, - "warningsFilter": [Function], - }, - }, - ] - `, - ); - - process.env.NODE_ENV = 'test'; - }); -}); diff --git a/packages/builder/builder-rspack-provider/tests/plugins/output.test.ts b/packages/builder/builder-rspack-provider/tests/plugins/output.test.ts deleted file mode 100644 index 40195b8dea5f..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/output.test.ts +++ /dev/null @@ -1,125 +0,0 @@ -import { expect, describe, it } from 'vitest'; -import { createBuilder } from '../helper'; -import { builderPluginOutput } from '@/plugins/output'; - -describe('plugins/output', () => { - it('should set output correctly', async () => { - const builder = await createBuilder({ - plugins: [builderPluginOutput()], - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should allow to custom server directory with distPath.server', async () => { - const builder = await createBuilder({ - plugins: [builderPluginOutput()], - target: ['node'], - builderConfig: { - output: { - distPath: { - server: 'server', - }, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should allow to set distPath.js and distPath.css to empty string', async () => { - const builder = await createBuilder({ - plugins: [builderPluginOutput()], - builderConfig: { - output: { - distPath: { - js: '', - css: '', - }, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should allow to use filename.js to modify filename', async () => { - const builder = await createBuilder({ - plugins: [builderPluginOutput()], - builderConfig: { - output: { - filename: { - js: 'foo.js', - css: '[name].css', - }, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should allow to use copy plugin', async () => { - const builder = await createBuilder({ - plugins: [builderPluginOutput()], - builderConfig: { - output: { - copy: { - patterns: [ - { - from: 'test', - }, - ], - }, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should allow to use copy plugin with multiply config', async () => { - const builder = await createBuilder({ - plugins: [builderPluginOutput()], - builderConfig: { - output: { - copy: [ - { - from: 'test', - }, - 'src/assets/', - ], - }, - tools: { - bundlerChain: (chain, { CHAIN_ID }) => { - chain.plugin(CHAIN_ID.PLUGIN.COPY).tap(args => [ - { - patterns: [...(args[0]?.patterns || []), 'tests/'], - }, - ]); - }, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); -}); diff --git a/packages/builder/builder-rspack-provider/tests/plugins/pug.test.ts b/packages/builder/builder-rspack-provider/tests/plugins/pug.test.ts deleted file mode 100644 index b1592d659e5c..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/pug.test.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { expect, describe, it } from 'vitest'; -import { builderPluginEntry } from '@builder/plugins/entry'; -import { builderPluginHtml } from '@builder/plugins/html'; -import { createBuilder } from '../helper'; -import { builderPluginPug } from '@/plugins/pug'; - -describe('plugins/pug', () => { - it('should add pug correctly when tools.pug is used', async () => { - const builder = await createBuilder({ - plugins: [builderPluginEntry(), builderPluginHtml(), builderPluginPug()], - entry: { - main: './src/main.ts', - foo: './src/foo.ts', - }, - builderConfig: { - html: { - template: 'bar.html', - templateByEntries: { main: 'foo.pug' }, - }, - tools: { - pug: { - pretty: true, - }, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); -}); diff --git a/packages/builder/builder-rspack-provider/tests/plugins/rem.test.ts b/packages/builder/builder-rspack-provider/tests/plugins/rem.test.ts deleted file mode 100644 index 25aff63221f4..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/rem.test.ts +++ /dev/null @@ -1,161 +0,0 @@ -import { describe, expect, it } from 'vitest'; -import { builderPluginRem } from '@builder/plugins/rem'; -import { createBuilder, matchPlugin } from '../helper'; -import { builderPluginCss } from '@/plugins/css'; -import { builderPluginLess } from '@/plugins/less'; -import { builderPluginSass } from '@/plugins/sass'; - -describe('plugins/rem', () => { - it('should not run rem plugin without config', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss(), builderPluginRem()], - builderConfig: {}, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should not run rem plugin when false', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss(), builderPluginRem()], - builderConfig: { - output: { - convertToRem: false, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should run rem plugin with default config', async () => { - const builder = await createBuilder({ - plugins: [ - builderPluginCss(), - builderPluginLess(), - builderPluginSass(), - builderPluginRem(), - ], - builderConfig: { - output: { - convertToRem: true, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should order plugins and run rem plugin with default config', async () => { - const builder = await createBuilder({ - plugins: [ - builderPluginRem(), - builderPluginCss(), - builderPluginLess(), - builderPluginSass(), - ], - builderConfig: { - output: { - convertToRem: true, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should not run htmlPlugin with enableRuntime is false', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss(), builderPluginRem()], - builderConfig: { - output: { - convertToRem: { - enableRuntime: false, - }, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0].plugins?.length || 0).toBe(0); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should run rem plugin with custom config', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss(), builderPluginRem()], - builderConfig: { - output: { - convertToRem: { - rootFontSize: 30, - pxtorem: { - propList: ['font-size'], - }, - }, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should not run rem plugin when target is node', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss(), builderPluginRem()], - builderConfig: { - output: { - convertToRem: true, - }, - }, - target: ['node'], - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect( - matchPlugin(bundlerConfigs[0], 'AutoSetRootFontSizePlugin'), - ).toBeFalsy(); - }); - - it('should not run rem plugin when target is web-worker', async () => { - const builder = await createBuilder({ - plugins: [builderPluginCss(), builderPluginRem()], - builderConfig: { - output: { - convertToRem: true, - }, - }, - target: ['web-worker'], - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect( - matchPlugin(bundlerConfigs[0], 'AutoSetRootFontSizePlugin'), - ).toBeFalsy(); - }); -}); diff --git a/packages/builder/builder-rspack-provider/tests/plugins/resolve.test.ts b/packages/builder/builder-rspack-provider/tests/plugins/resolve.test.ts deleted file mode 100644 index 7ebcc68d6608..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/resolve.test.ts +++ /dev/null @@ -1,167 +0,0 @@ -import { expect, describe, it, vi, SpyInstance } from 'vitest'; -import { isFileExists } from '@modern-js/builder-shared'; -import { builderPluginResolve } from '../../src/plugins/resolve'; -import { createBuilder } from '../helper'; - -vi.mock('@modern-js/builder-shared', async importOriginal => { - const mod = await importOriginal(); - return { - ...mod, - isFileExists: vi.fn(), - }; -}); - -describe('plugins/resolve', () => { - it('should apply default extensions correctly', async () => { - (isFileExists as unknown as SpyInstance).mockImplementationOnce(() => - Promise.resolve(false), - ); - const builder = await createBuilder({ - plugins: [builderPluginResolve()], - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0].resolve?.extensions).toEqual([ - '.js', - '.jsx', - '.mjs', - '.json', - ]); - expect(bundlerConfigs[0].resolve?.tsConfigPath).toBeUndefined(); - }); - - it('should apply default extensions correctly and tsConfigPath with ts', async () => { - (isFileExists as unknown as SpyInstance).mockImplementationOnce(() => - Promise.resolve(true), - ); - - const builder = await createBuilder({ - plugins: [builderPluginResolve()], - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0].resolve?.extensions).toEqual([ - '.ts', - '.tsx', - '.js', - '.jsx', - '.mjs', - '.json', - ]); - expect(bundlerConfigs[0].resolve?.tsConfigPath).toBeDefined(); - }); - - it('should not apply tsConfigPath when aliasStrategy is "prefer-alias"', async () => { - (isFileExists as unknown as SpyInstance).mockImplementationOnce(() => - Promise.resolve(true), - ); - - const builder = await createBuilder({ - plugins: [builderPluginResolve()], - builderConfig: { - source: { - aliasStrategy: 'prefer-alias', - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0].resolve?.tsConfigPath).toBeUndefined(); - }); - - it('should allow to use source.alias to config alias', async () => { - const builder = await createBuilder({ - plugins: [builderPluginResolve()], - builderConfig: { - source: { - alias: { - foo: 'bar', - }, - }, - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0].resolve?.alias).toEqual({ - foo: 'bar', - }); - }); - - it('should support source.alias to be a function', async () => { - const builder = await createBuilder({ - plugins: [builderPluginResolve()], - builderConfig: { - source: { - alias() { - return { - foo: 'bar', - }; - }, - }, - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0].resolve?.alias).toEqual({ - foo: 'bar', - }); - }); - - it('should support custom resolve.mainFields', async () => { - const mainFieldsOption = ['main', 'test', 'browser', ['module', 'exports']]; - - const builder = await createBuilder({ - plugins: [builderPluginResolve()], - builderConfig: { - source: { - resolveMainFields: mainFieldsOption, - }, - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0].resolve?.mainFields).toEqual([ - 'main', - 'test', - 'browser', - 'module', - 'exports', - ]); - }); - - it('should support custom webpack resolve.mainFields by target', async () => { - const mainFieldsOption = { - web: ['main', 'browser'], - node: ['main', 'node'], - }; - - const builder = await createBuilder({ - plugins: [builderPluginResolve()], - builderConfig: { - source: { - resolveMainFields: mainFieldsOption, - }, - }, - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - expect(bundlerConfigs[0].resolve?.mainFields).toEqual(mainFieldsOption.web); - }); -}); diff --git a/packages/builder/builder-rspack-provider/tests/plugins/swc.test.ts b/packages/builder/builder-rspack-provider/tests/plugins/swc.test.ts deleted file mode 100644 index 14703a15b1df..000000000000 --- a/packages/builder/builder-rspack-provider/tests/plugins/swc.test.ts +++ /dev/null @@ -1,157 +0,0 @@ -import { describe, expect, it } from 'vitest'; -import { BuilderTarget } from '@modern-js/builder-shared'; -import { builderPluginEntry } from '@builder/plugins/entry'; -import { createBuilder } from '../helper'; -import { builderPluginSwc } from '@/plugins/swc'; -import { BuilderConfig } from '@/types'; -import { builderPluginAntd } from '~/../builder/src/plugins/antd'; - -describe('plugins/swc', () => { - it('should disable preset_env in target other than web', async () => { - await matchConfigSnapshot('node', { - output: { - polyfill: 'entry', - }, - }); - }); - - it('should disable preset_env mode', async () => { - await matchConfigSnapshot('web', { - output: { - polyfill: 'off', - }, - }); - }); - - // TODO: wait for Rspack usage mode polyfill - it.skip('should enable usage mode preset_env', async () => { - await matchConfigSnapshot('web', { - output: { - polyfill: 'usage', - }, - }); - }); - - it('should enable entry mode preset_env', async () => { - await matchConfigSnapshot('web', { - output: { - polyfill: 'entry', - }, - }); - }); - - it('should add browserslist', async () => { - await matchConfigSnapshot('web', { - output: { - overrideBrowserslist: ['chrome 98'], - }, - }); - - await matchConfigSnapshot('web', { - output: { - overrideBrowserslist: { - web: ['chrome 98'], - }, - }, - }); - }); - - it("should'n override browserslist when target platform is not web", async () => { - await matchConfigSnapshot('web', { - output: { - overrideBrowserslist: { - node: ['chrome 98'], - }, - }, - }); - }); - - it('should has correct core-js', async () => { - await matchConfigSnapshot('web', { - output: { - polyfill: 'entry', - }, - }); - - await matchConfigSnapshot(['web', 'node'], { - output: { - polyfill: 'entry', - }, - }); - }); - - it('should add pluginImport', async () => { - await matchConfigSnapshot('web', { - source: { - transformImport: [ - { - libraryName: 'foo', - }, - ], - }, - }); - }); - - it('should disable all pluginImport', async () => { - const builder = await createBuilder({ - target: 'web', - entry: { - main: './src/index.js', - }, - plugins: [builderPluginSwc(), builderPluginEntry(), builderPluginAntd()], - builderConfig: { - source: { - transformImport: false, - }, - }, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - bundlerConfigs.forEach(bundlerConfig => { - expect(bundlerConfig).toMatchSnapshot(); - }); - }); - - it('should add antd pluginImport', async () => { - const builder = await createBuilder({ - target: 'web', - entry: { - main: './src/index.js', - }, - plugins: [builderPluginSwc(), builderPluginEntry(), builderPluginAntd()], - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - bundlerConfigs.forEach(bundlerConfig => { - expect(bundlerConfig).toMatchSnapshot(); - }); - }); -}); - -async function matchConfigSnapshot( - target: BuilderTarget | BuilderTarget[], - builderConfig: BuilderConfig, -) { - const builder = await createBuilder({ - target, - entry: { - main: './src/index.js', - }, - plugins: [builderPluginSwc(), builderPluginEntry()], - builderConfig, - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - - bundlerConfigs.forEach(bundlerConfig => { - expect(bundlerConfig).toMatchSnapshot(); - }); -} diff --git a/packages/builder/builder-rspack-provider/tests/shared/rspackVersion.test.ts b/packages/builder/builder-rspack-provider/tests/shared/rspackVersion.test.ts deleted file mode 100644 index 494a2fc026ea..000000000000 --- a/packages/builder/builder-rspack-provider/tests/shared/rspackVersion.test.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { describe, expect, it } from 'vitest'; -import { - isSatisfyRspackMinimumVersion, - supportedRspackMinimumVersion, - getRspackVersion, -} from '@/shared/rspackVersion'; - -describe('rspack version', () => { - it('isSatisfyRspackMinimumVersion', async () => { - expect(await isSatisfyRspackMinimumVersion()).toBeTruthy(); - - expect(await isSatisfyRspackMinimumVersion('0.1.0')).toBeFalsy(); - - expect( - await isSatisfyRspackMinimumVersion(supportedRspackMinimumVersion), - ).toBeTruthy(); - - expect(await isSatisfyRspackMinimumVersion('1.0.0')).toBeTruthy(); - - expect( - await isSatisfyRspackMinimumVersion( - '0.2.7-canary-efa0dc6-20230817005622', - ), - ).toBeFalsy(); - - expect( - await isSatisfyRspackMinimumVersion( - `${supportedRspackMinimumVersion}-canary-efa0dc6-20230817005622`, - ), - ).toBeTruthy(); - }); - - it('getRspackVersion', async () => { - expect(await getRspackVersion()).toBeDefined(); - }); -}); diff --git a/packages/builder/builder-rspack-provider/tests/tsconfig.json b/packages/builder/builder-rspack-provider/tests/tsconfig.json deleted file mode 100644 index 7c485c7fdba1..000000000000 --- a/packages/builder/builder-rspack-provider/tests/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "@modern-js/tsconfig/base", - "compilerOptions": { - "noEmit": true, - "declaration": false, - "jsx": "preserve", - "baseUrl": "./", - "isolatedModules": true, - "paths": { - "@/*": ["../src/*"], - "~/*": ["../*"], - "@builder/*": ["../../builder/src/*"] - } - } -} diff --git a/packages/builder/builder-rspack-provider/tsconfig.json b/packages/builder/builder-rspack-provider/tsconfig.json deleted file mode 100644 index 2889d11bc81d..000000000000 --- a/packages/builder/builder-rspack-provider/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "@modern-js/tsconfig/base", - "compilerOptions": { - "target": "ES2019", - "declaration": true, - "outDir": "./dist", - "jsx": "preserve", - "baseUrl": "./", - "isolatedModules": true, - "paths": {} - }, - "include": ["src"] -} diff --git a/packages/builder/builder-rspack-provider/vitest.config.ts b/packages/builder/builder-rspack-provider/vitest.config.ts deleted file mode 100644 index e3b83181054d..000000000000 --- a/packages/builder/builder-rspack-provider/vitest.config.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { defineConfig } from 'vitest/config'; -import { withTestPreset } from '@scripts/vitest-config'; -import path from 'path'; - -const config = defineConfig({ - resolve: { - alias: { - '~': path.resolve(__dirname), - '@': path.resolve(__dirname, 'src'), - '@builder': path.resolve(__dirname, '../builder/src'), - } - }, - test: { - root: __dirname, - environment: 'node', - setupFiles: ['./tests/setup.ts'], - }, -}); - -export default withTestPreset(config); diff --git a/packages/builder/builder-shared/.eslintrc.js b/packages/builder/builder-shared/.eslintrc.js deleted file mode 100644 index e7bd11f5ac19..000000000000 --- a/packages/builder/builder-shared/.eslintrc.js +++ /dev/null @@ -1,11 +0,0 @@ -/** @type {import('eslint').Linter.Config} */ -module.exports = { - extends: ['@modern-js'], - ignorePatterns: ['compiled/', 'vitest.config.ts'], - parserOptions: { - project: require.resolve('./tsconfig.json'), - }, - rules: { - 'import/order': 0, - }, -}; diff --git a/packages/builder/builder-shared/.npmignore b/packages/builder/builder-shared/.npmignore deleted file mode 100644 index f059fcfe5bc3..000000000000 --- a/packages/builder/builder-shared/.npmignore +++ /dev/null @@ -1,30 +0,0 @@ -.DS_Store - -.pnp -.pnp.js -.env.local -.env.*.local -*.log* - -node_modules/ -*.tsbuildinfo -.eslintcache - -coverage/ -tests/ - -.vscode/**/* -!.vscode/settings.json -!.vscode/extensions.json -.idea/ - -src/ - -modern.config.* -jest.config.js -.eslintrc.js -.eslintrc -tsconfig.json -CHANGELOG.md - -scripts/ diff --git a/packages/builder/builder-shared/CHANGELOG.md b/packages/builder/builder-shared/CHANGELOG.md deleted file mode 100644 index f0ec5603d017..000000000000 --- a/packages/builder/builder-shared/CHANGELOG.md +++ /dev/null @@ -1,1452 +0,0 @@ -# @modern-js/builder-shared - -## 2.46.1 - -### Patch Changes - -- @modern-js/prod-server@2.46.1 -- @modern-js/server@2.46.1 -- @modern-js/types@2.46.1 -- @modern-js/utils@2.46.1 - -## 2.46.0 - -### Patch Changes - -- Updated dependencies [091c7c2] -- Updated dependencies [d833015] -- Updated dependencies [46e6d56] -- Updated dependencies [494b290] - - @modern-js/prod-server@2.46.0 - - @modern-js/types@2.46.0 - - @modern-js/server@2.46.0 - - @modern-js/utils@2.46.0 - -## 2.45.0 - -### Patch Changes - -- Updated dependencies [f50ad3e] -- Updated dependencies [19c8687] - - @modern-js/prod-server@2.45.0 - - @modern-js/types@2.45.0 - - @modern-js/server@2.45.0 - - @modern-js/utils@2.45.0 - -## 2.44.0 - -### Patch Changes - -- 35a9961: fix(transform-import): remove SharedTransformImport config - fix(transform-import): 移除 SharedTransformImport 配置 -- Updated dependencies [0ed968c] -- Updated dependencies [2b41e70] -- Updated dependencies [56d7f9a] - - @modern-js/prod-server@2.44.0 - - @modern-js/types@2.44.0 - - @modern-js/server@2.44.0 - - @modern-js/utils@2.44.0 - -## 2.43.0 - -### Patch Changes - -- Updated dependencies [9e749d8] -- Updated dependencies [d959200] -- Updated dependencies [acd3861] -- Updated dependencies [5782aa3] - - @modern-js/server@2.43.0 - - @modern-js/prod-server@2.43.0 - - @modern-js/types@2.43.0 - - @modern-js/utils@2.43.0 - -## 2.42.2 - -### Patch Changes - -- Updated dependencies [2dfc891] - - @modern-js/types@2.42.2 - - @modern-js/prod-server@2.42.2 - - @modern-js/server@2.42.2 - - @modern-js/utils@2.42.2 - -## 2.42.1 - -### Patch Changes - -- @modern-js/prod-server@2.42.1 -- @modern-js/server@2.42.1 -- @modern-js/types@2.42.1 -- @modern-js/utils@2.42.1 - -## 2.42.0 - -### Patch Changes - -- d433c97: fix(rspack-provider): react refresh not work in Micro front-end projects - - fix(rspack-provider): 修复 react refresh 在微前端场景下不生效的问题 - -- 04d9522: fix(builder): add crossOrigin attr for preload resource when origin resource is crossOrigin - - fix(builder): preload 资源的 crossOrigin 属性与原资源的 crossOrigin 属性保持一致 - -- ef60f58: fix(builder): export type of rspack config and add globalObject type for rspack output - fix(builder): 导出一些 rspack config 类型同时给 rspack output 添加 globalObject 类型 -- Updated dependencies [8c2efe1] -- Updated dependencies [8793e64] - - @modern-js/prod-server@2.42.0 - - @modern-js/server@2.42.0 - - @modern-js/types@2.42.0 - - @modern-js/utils@2.42.0 - -## 2.41.0 - -### Patch Changes - -- 969def1: chore(builder): update stats type - - chore(builder): 更新 stats 类型 - -- c4d396a: chore(swc): bump swc and helpers - chore(swc): 升级 swc 以及 helpers -- Updated dependencies [2555586] -- Updated dependencies [c4d396a] - - @modern-js/prod-server@2.41.0 - - @modern-js/server@2.41.0 - - @modern-js/utils@2.41.0 - - @modern-js/types@2.41.0 - -## 2.40.0 - -### Patch Changes - -- Updated dependencies [95f15d2] -- Updated dependencies [c960bcb] -- Updated dependencies [a68a2e9] - - @modern-js/utils@2.40.0 - - @modern-js/prod-server@2.40.0 - - @modern-js/server@2.40.0 - - @modern-js/types@2.40.0 - -## 2.39.2 - -### Patch Changes - -- @modern-js/prod-server@2.39.2 -- @modern-js/server@2.39.2 -- @modern-js/types@2.39.2 -- @modern-js/utils@2.39.2 - -## 2.39.1 - -### Patch Changes - -- @modern-js/prod-server@2.39.1 -- @modern-js/server@2.39.1 -- @modern-js/types@2.39.1 -- @modern-js/utils@2.39.1 - -## 2.39.0 - -### Patch Changes - -- @modern-js/prod-server@2.39.0 -- @modern-js/server@2.39.0 -- @modern-js/types@2.39.0 -- @modern-js/utils@2.39.0 - -## 2.38.0 - -### Patch Changes - -- 3304d33: chore(deps): bump @babel/core to v7.23.2 - - chore(deps): 升级 @babel/core 至 v7.23.2 - -- Updated dependencies [3304d33] -- Updated dependencies [6d8ef7d] - - @modern-js/server@2.38.0 - - @modern-js/prod-server@2.38.0 - - @modern-js/types@2.38.0 - - @modern-js/utils@2.38.0 - -## 2.37.2 - -### Patch Changes - -- @modern-js/prod-server@2.37.2 -- @modern-js/server@2.37.2 -- @modern-js/types@2.37.2 -- @modern-js/utils@2.37.2 - -## 2.37.1 - -### Patch Changes - -- @modern-js/prod-server@2.37.1 -- @modern-js/server@2.37.1 -- @modern-js/types@2.37.1 -- @modern-js/utils@2.37.1 - -## 2.37.0 - -### Patch Changes - -- Updated dependencies [383b636] -- Updated dependencies [ce0a14e] -- Updated dependencies [708f248] - - @modern-js/server@2.37.0 - - @modern-js/utils@2.37.0 - - @modern-js/prod-server@2.37.0 - - @modern-js/types@2.37.0 - -## 2.36.0 - -### Patch Changes - -- bc25bcb: chore(builder): use rspack.xxxPlugin instead of builtins configuration - - chore(builder): 使用 rspack.xxxPlugin 代替 builtins configuration - -- c1b0d18: fix(app-tools): align resolve.modules config in rspack mode - - fix(app-tools): 对齐 rspack 模式下的 resolve.modules 配置 - -- 2675812: feat(builder): improve time logs format - - feat(builder): 优化时间日志的格式 - -- 9d37401: fix(builder): mismatched directory name containing node_modules - - fix(builder): 错误匹配了包含 node_modules 的目录 - -- eb602d2: chore(builder): bump webpack-dev-middleware v6.1.1 and move to builder-shared - - chore(builder): 升级 webpack-dev-middleware v6.1.1 并移动到 builder-shared - -- Updated dependencies [3473bee] -- Updated dependencies [b98f8aa] -- Updated dependencies [3dcad90] -- Updated dependencies [eb602d2] - - @modern-js/utils@2.36.0 - - @modern-js/prod-server@2.36.0 - - @modern-js/server@2.36.0 - - @modern-js/types@2.36.0 - -## 2.35.1 - -### Patch Changes - -- ce24aad: feat: bump postcss-nesting v12 to support latest CSS nesting syntax - - feat: 升级 postcss-nesting v12,支持最新的 CSS nesting 语法 - -- de9cdee: fix(builder): remove extra quote from generated CSS module types - - fix(builder): 移除生成的 CSS module 类型中多余的引号 - -- 0988b12: chore(builder): move duplicated prebundle packages to shared - - chore(builder): 合并重复的预打包 packages 到 shared - -- fe8caeb: feat(builder): unify progress bar style in webpack / Rspack mode - - feat(builder): 对齐 webpack / Rspack 模式下的进度条样式 - -- Updated dependencies [ea3fe18] -- Updated dependencies [bb97082] -- Updated dependencies [9dd3151] -- Updated dependencies [0db5680] -- Updated dependencies [411cea2] -- Updated dependencies [4980480] -- Updated dependencies [6a1d46e] - - @modern-js/utils@2.35.1 - - @modern-js/prod-server@2.35.1 - - @modern-js/server@2.35.1 - - @modern-js/types@2.35.1 - -## 2.35.0 - -### Patch Changes - -- 225f065: fix(builder): assetsRetry should work when htmlPlugin.inject false - - fix(builder): 在设置 htmlPlugin.inject false 时,assetsRetry 可生效 - -- 0300daf: feat(builder): allow to use more optimization options in bundlerChain - - feat(builder): 支持在 bundlerChain 中使用更多 optimization 选项 - -- f509548: fix(builder): incorrect devMiddleware schema - - fix(builder): 修复 devMiddleware 的 schema 错误 - -- 28128ca: refactor(builder): migrate to tsconfig-paths-webpack-plugin - - refactor(builder): 迁移至 tsconfig-paths-webpack-plugin - -- 4027a6a: feat(builder): apply css-minimizer-webpack-plugin when use rspack - - feat(builder): 在 Rspack 构建时,使用 css-minimizer-webpack-plugin 进行 css 压缩 - -- 3d93e81: chore(builder): bump webpack-bundle-analyzer to v4.9.1 - - chore(builder): 升级 webpack-bundle-analyzer 至 v4.9.1 - -- Updated dependencies [15b834f] - - @modern-js/utils@2.35.0 - - @modern-js/prod-server@2.35.0 - - @modern-js/server@2.35.0 - - @modern-js/types@2.35.0 - -## 2.34.0 - -### Patch Changes - -- 09b176a: hotfix(builder): revert postcss-modules-local-by-default version to avoid 'Missed semicolon' bug - - hotfix(builder): 将 postcss-modules-local-by-default 版本降级回 4.0.0 来避免 'Missed semicolon' 问题 - -- c8b448b: feat(builder): support inline assets by file size - - feat(builder): 支持基于文件体积来内联资源 - -- c9626e7: feat(builder): improve the logs of checkSyntax, add code frame - - feat(builder): 优化 checkSyntax 的日志, 增加 code frame - -- e538169: feat(builder): add code pointer for check syntax results - - feat(builder): 增加 check syntax 结果的指针提示 - -- Updated dependencies [f851fa9] -- Updated dependencies [7d70738] -- Updated dependencies [5240e5d] -- Updated dependencies [a77b82a] -- Updated dependencies [c8b448b] - - @modern-js/prod-server@2.34.0 - - @modern-js/utils@2.34.0 - - @modern-js/server@2.34.0 - - @modern-js/types@2.34.0 - -## 2.33.1 - -### Patch Changes - -- @modern-js/prod-server@2.33.1 -- @modern-js/server@2.33.1 -- @modern-js/types@2.33.1 -- @modern-js/utils@2.33.1 - -## 2.33.0 - -### Patch Changes - -- c9ffc4d: fix(builder): fix withPublicPath may missing subpath - - fix(builder): 修复 withPublicPath 方法可能会丢失子路径的问题 - -- 915636b: fix(builder): incorrect prefetch domain when assetPrefix has no protocol - - fix(builder): 修复 assetPrefix 不包含 protocol 时 prefetch 域名错误的问题 - -- d55caa9: fix(builder): `html.meta.referrer` can't accept literal false value - fix(builder): `html.meta.referrer` 配置无法接受 false 字面量作为值 -- bc1f8da: feat(builder): support custom logger in dev server - - feat(builder): 支持自定义 logger - -- 64df945: feat(builder): support enableCssModuleTSDeclaration and cssModules.exportLocalsConvention when use rspack mode - - feat(builder): 在使用 Rspack 构建时,支持 enableCssModuleTSDeclaration 和 cssModules.exportLocalsConvention 配置项 - -- Updated dependencies [fd82137] -- Updated dependencies [1042583] -- Updated dependencies [bc1f8da] -- Updated dependencies [3ba1682] - - @modern-js/utils@2.33.0 - - @modern-js/prod-server@2.33.0 - - @modern-js/server@2.33.0 - - @modern-js/types@2.33.0 - -## 2.32.1 - -### Patch Changes - -- Updated dependencies [90e053a] - - @modern-js/types@2.32.1 - - @modern-js/prod-server@2.32.1 - - @modern-js/server@2.32.1 - - @modern-js/utils@2.32.1 - -## 2.32.0 - -### Patch Changes - -- 6517032: chore(builder): move performance config default value to shared - - chore(builder): 移动 performance 默认配置到 shared 中 - -- 0cc3981: chore(builder): use standard utils to get and make up publicPath - - chore(builder): 使用标准的 utils 来读取和组装 publicPath - -- ddcdef2: feat(builder): enable minifyJS/minifyCSS of HTML plugin by default - - feat(builder): 默认开启 htmlPlugin minifyJS/minifyCSS 等能力 - -- 3c91100: chore(builder): using unified version of webpack-chain - - chore(builder): 使用统一的 webpack-chain 版本 - -- Updated dependencies [e6c7d33] -- Updated dependencies [e5a3fb4] -- Updated dependencies [6076166] -- Updated dependencies [5f7c714] -- Updated dependencies [a030aff] -- Updated dependencies [6d73519] -- Updated dependencies [79658a0] -- Updated dependencies [4323e68] -- Updated dependencies [3c91100] -- Updated dependencies [2447d64] -- Updated dependencies [5255eba] - - @modern-js/prod-server@2.32.0 - - @modern-js/utils@2.32.0 - - @modern-js/types@2.32.0 - - @modern-js/server@2.32.0 - -## 2.31.2 - -### Patch Changes - -- Updated dependencies [15d30abdc66] - - @modern-js/utils@2.31.2 - - @modern-js/prod-server@2.31.2 - - @modern-js/server@2.31.2 - - @modern-js/types@2.31.2 - -## 2.31.1 - -### Patch Changes - -- @modern-js/prod-server@2.31.1 -- @modern-js/server@2.31.1 -- @modern-js/types@2.31.1 -- @modern-js/utils@2.31.1 - -## 2.31.0 - -### Patch Changes - -- bfdf7b4: fix(builder): omit unused keys from builder config passed by user - - fix(builder): 移除用户传入的 builder config 中多余的 key - -- 8ab3e2a: hotfix(builder): fix sass resolve-url-loader can't deal with alias - - hotfix(builder): 修复 sass resolve-url-loader 错误处理 alias 的问题 - -- fa8e948: feat(builder): support disable rspack css sourcemap - - feat(builder): 支持禁用 rspack css sourcemap 输出 - -- 1882366: chore(deps): bump build dependencies - - chore(deps): 升级构建相关依赖 - -- Updated dependencies [56eaa0b] -- Updated dependencies [d9cc4d8] -- Updated dependencies [1882366] - - @modern-js/prod-server@2.31.0 - - @modern-js/utils@2.31.0 - - @modern-js/server@2.31.0 - - @modern-js/types@2.31.0 - -## 2.30.0 - -### Minor Changes - -- e94ad94: feat(builder-shared): supports opening specified browser through environment variable - - feat(builder-shared): 增加通过环境变量打开指定浏览器能力 - -### Patch Changes - -- cc5f49e: feat(builder): add performance.transformLodash config - - feat(builder): 新增 performance.transformLodash 配置 - -- f74064c: fix(@modern-js/builder-shared): metaByEntries override default value - fix(@modern-js/builder-shared): metaByEntries 完全覆盖了 meta 默认值 -- e6ae836: feat(builder): support performance preload & prefetch configurations - - feat(builder): 支持 performance preload 和 prefetch 配置项 - -- 7cb7b24: chore(libuild): bump typescript v5 and some other devDependencies - - chore(libuild): 升级 typescript v5 和其他 devDependencies - -- Updated dependencies [9f21f28] -- Updated dependencies [a5ee81a] -- Updated dependencies [883692c] -- Updated dependencies [b6ab299] - - @modern-js/prod-server@2.30.0 - - @modern-js/types@2.30.0 - - @modern-js/server@2.30.0 - - @modern-js/utils@2.30.0 - -## 2.29.0 - -### Patch Changes - -- bd4c354: fix(builder): checkSyntax failed when first script is JSON - - fix(builder): 修复首个 script 是 JSON 时 checkSyntax 错误的问题 - -- 99052ea: feat(builder): improve error stacks if dev compilation failed - - feat(builder): 优化 dev 编译失败时的错误堆栈格式 - -- d198779: fix(builder): failed to get correct ecma version when check syntax - - fix(builder): 修复 check syntax 时获取 ecma 版本不准确的问题 - -- Updated dependencies [e6b5355] -- Updated dependencies [16e5195] -- Updated dependencies [93db783] -- Updated dependencies [cba7675] -- Updated dependencies [76ace5d] -- Updated dependencies [99052ea] -- Updated dependencies [1d71d2e] - - @modern-js/utils@2.29.0 - - @modern-js/prod-server@2.29.0 - - @modern-js/server@2.29.0 - - @modern-js/types@2.29.0 - -## 2.28.0 - -### Patch Changes - -- 6400d98: chore(builder): using htmlparser2 to replace cheerio - - chore(builder): 使用 htmlparser2 代替 cheerio - -- 362416f: feat(builder): support import Node.js addons when target is node - - feat(builder): 支持在 target 为 node 时引用 Node.js addons - -- aa0c0c3: fix(builder): rem code not injected when using modern.js custom HTML Template - - fix(builder): 修复在使用 modern.js 自定义 HTML 模版时 rem 脚本不注入的问题 - -- 9301e46: chore(builder): optimize some error format of zod validation and add joint verification of rspack css related configuration - - chore(builder): 优化 builder schema 校验的部分错误输出格式,并为 rspack 添加 css 相关配置的联合校验 - -- 00b58a7: feat(builder): add an error tip for source.include - - feat(builder): 增加 source.include 常见问题的提示日志 - -- 820bfe9: feat(builder): add checkSyntax.ecmaVersion option - - feat(builder): 新增 checkSyntax.ecmaVersion 选项 - -- Updated dependencies [4e3ce96] -- Updated dependencies [6eae1e7] -- Updated dependencies [00b58a7] - - @modern-js/types@2.28.0 - - @modern-js/prod-server@2.28.0 - - @modern-js/server@2.28.0 - - @modern-js/utils@2.28.0 - -## 2.27.0 - -### Minor Changes - -- 3f79dd7: feat(builder): add `source.aliasStrategy` option - - feat(builder): 新增 `source.aliasStrategy` 选项 - -### Patch Changes - -- 645e111: fix(builder): CSS Modules name has a probability of conflict in prod - - fix(builder): 修复 CSS Modules name 在生产环境有极小概率冲突的问题 - -- 8322a51: chore: migrate packages from tsc to module-lib build - - chore: 将使用 tsc 的包迁移到 module-lib 构建 - -- d9080ed: fix(builder): remove unused source map of inlined files - - fix(builder): 移除内联文件多余的 source map - -- 67d0b0c: fix(builder): failed to disable html via htmlPlugin: false - - fix(builder): 修复通过 htmlPlugin: false 无法禁用 html 的问题 - -- Updated dependencies [91d14b8] -- Updated dependencies [6d7104d] - - @modern-js/utils@2.27.0 - - @modern-js/prod-server@2.27.0 - - @modern-js/server@2.27.0 - - @modern-js/types@2.27.0 - -## 2.26.0 - -### Patch Changes - -- 150ddb1: fix(builder-shared): set formatStats fn as sync-fn so that info can print quikly - fix(builder-shared): 将 formatStats 设置成同步函数使构建信息能够尽快的打印出来 -- 15ad760: fix(builder): incorrect CSS rules when enable asset fallback - - fix(builder): 修复开启 asset fallback 时 CSS 规则错误的问题 - -- 786c195: feat(builder-shared): add sourceBuild type definition - feat(builder-shared): 新增 sourceBuild 类型定义 - - @modern-js/server@2.26.0 - - @modern-js/prod-server@2.26.0 - - @modern-js/types@2.26.0 - - @modern-js/utils@2.26.0 - -## 2.25.2 - -### Patch Changes - -- 15a8276: fix(builder): failed to set publicPath function - - fix(builder): 修复设置 publicPath 函数时报错的问题 - -- 272646c: feat(builder): bump webpack v5.88, support top level await - - feat(builder): 升级 webpack v5.88, 支持 top level await - -- Updated dependencies [63d8247] -- Updated dependencies [6651684] -- Updated dependencies [272646c] -- Updated dependencies [358ed24] - - @modern-js/utils@2.25.2 - - @modern-js/server@2.25.2 - - @modern-js/prod-server@2.25.2 - - @modern-js/types@2.25.2 - -## 2.25.1 - -### Patch Changes - -- b10045f: fix(builder): checkSyntax targets should get default browserlist when only set checkSyntax.exclude - - fix(builder): 当只设置 checkSyntax.exclude 时,checkSyntax targets 应该使用默认的 broserlist 值 - -- Updated dependencies [9f78d0c] - - @modern-js/utils@2.25.1 - - @modern-js/prod-server@2.25.1 - - @modern-js/server@2.25.1 - - @modern-js/types@2.25.1 - -## 2.25.0 - -### Patch Changes - -- Updated dependencies [2491875] -- Updated dependencies [5732c6a] - - @modern-js/prod-server@2.25.0 - - @modern-js/types@2.25.0 - - @modern-js/utils@2.25.0 - - @modern-js/server@2.25.0 - -## 2.24.0 - -### Patch Changes - -- ef041c0: chore(builder): reuse externals plugin - - chore(builder): 复用 externals 插件 - -- Updated dependencies [c882fbd] -- Updated dependencies [8c9923f] -- Updated dependencies [0424a2d] -- Updated dependencies [4a82c3b] - - @modern-js/types@2.24.0 - - @modern-js/utils@2.24.0 - - @modern-js/server@2.24.0 - - @modern-js/prod-server@2.24.0 - -## 2.23.1 - -### Patch Changes - -- 5772927: feat(rspack-provider): support import .wasm assets - - feat(rspack-provider): 支持引用 .wasm 资源 - -- 811ccd4: fix: add attributes for inline runtime script - fix: 为 inline runtime 脚本添加属性 -- 5a3eeff: fix(builder): assetsRetry cause global variable pollution - - fix(builder): 修复 assetsRetry 污染全局变量的问题 - -- 4d4dca0: feat(builder): add new plugin.remove option - - feat(builder): 新增 plugin.remove 选项 - -- Updated dependencies [f08bbfc] -- Updated dependencies [a6b313a] -- Updated dependencies [8f2cab0] - - @modern-js/utils@2.23.1 - - @modern-js/prod-server@2.23.1 - - @modern-js/server@2.23.1 - - @modern-js/types@2.23.1 - -## 2.23.0 - -### Patch Changes - -- 15eac36: chore(builder): move more default config to shared package - - chore(builder): 移动更多默认 config 到 shared 包 - -- d4e85c1: fix(rspack-provider): should inject polyfill for web-worker target - - fix(rspack-provider): 修复 web-worker target 未注入 polyfill 的问题 - -- 7e6fb5f: chore: publishConfig add provenance config - - chore: publishConfig 增加 provenance 配置 - -- f14f920: feat(rspack-provider): support disableCssExtract in rspack - - feat(rspack-provider): 在 Rspack 构建时支持 disableCssExtract 能力 - -- 692cc0e: fix(builder): assetsRetry.crossOrigin default to html.crossorigin - - fix(builder): assetsRetry.crossOrigin 默认值与 html.crossorigin 保持一致 - -- 38eccef: chore(builder): move getPostcssConfig and postcss related pkg to builder-shared - - chore(builder): 将 getPostcssConfig 和 postcss 相关的 pkg 移动到 builder-shared 中 - -- f91c557: fix(builder): failed to minify css when use style-loader in Rspack - - fix(builder): 修复使用 Rspack + style-loader 时未压缩 CSS 的问题 - -- a82d6f7: fix(builder): single-vendor chunkSplit not work as expected - - fix(builder): single-vendor 拆包规则未按照预期生效 - -- Updated dependencies [7e6fb5f] -- Updated dependencies [a7a7ad7] -- Updated dependencies [6dec7c2] -- Updated dependencies [c3216b5] - - @modern-js/prod-server@2.23.0 - - @modern-js/server@2.23.0 - - @modern-js/types@2.23.0 - - @modern-js/utils@2.23.0 - -## 2.22.1 - -### Patch Changes - -- a470c04: chore(builder): reuse rem plugin between rspack and webpack provider - - chore(builder): 在 rspack 和 webpack provider 间复用 rem 插件 - -- 95ffa6b: fix(builder): support filter css modules file by cssLoader.modules.auto Regexp - - fix(builder): 支持过滤 css modules 文件根据 tools.cssLoader.modules.auto 正则配置 - -- 12d54ae: feat(builder): add new builder-cli npm package - - feat(builder): 新增 builder-cli npm 包 - -- bd4b150: feat(builder): add builder.serve method - - feat(builder): 新增 builder.serve 方法 - -- dd36311: fix(builder-shared): the webworker should not check is a client compiler. - fix(builder-shared): webworker 不应该被判定为客户端 compiler -- d4045ed: fix(builder): print https URLs when devServer.https is true - - fix(builder): 当 devServer.https 为 true 时,输出 https 的 URLs - -- 8bd9981: fix(builder): use postcss-loader instead of @rspack/postcss-loader to fix tailwindcss hmr bug - - fix(builder): 使用 postcss-loader 代替 @rspack/postcss-loader, 来修复 tailwindcss hmr 问题 - -- 1f02cd2: chore: fix some eslint issues - - chore: 修复一些 eslint issues - -- cfcf003: fix(plugin-swc): styledComponents configuration not work - - fix(plugin-swc): 修复 styledComponents 配置不生效的问题 - -- 15181be: fix(builder): only generator .d.ts file for css-modules file when enableCssModuleTSDeclaration - - fix(builder): 当开启 enableCssModuleTSDeclaration 时仅为 css modules 文件生成 .d.ts 声明 - -- Updated dependencies [25b490a] -- Updated dependencies [e2848a2] -- Updated dependencies [d4045ed] -- Updated dependencies [1f02cd2] - - @modern-js/types@2.22.1 - - @modern-js/utils@2.22.1 - - @modern-js/server@2.22.1 - - @modern-js/prod-server@2.22.1 - -## 2.22.0 - -### Patch Changes - -- 3d48836: chore(deps): fix all missing peer dependencies - - chore(deps): 修复缺少的 peer dependencies - -- 850cde6: feat(builder): add arco config to transformImport by default - - feat(builder): 默认增加 arco 的 transformImport 配置 - -- Updated dependencies [3d48836] -- Updated dependencies [5050e8e] - - @modern-js/utils@2.22.0 - - @modern-js/server@2.22.0 - - @modern-js/types@2.22.0 - -## 2.21.1 - -### Patch Changes - -- 19b3b64: fix(builder): fix the misalignment of the dependencies version that fork-ts-checker-webpack-plugin and autoprefixer depends on - - fix(builder): 修复 fork-ts-checker-webpack-plugin 和 autoprefixer 的依赖版本错位问题 - - - @modern-js/server@2.21.1 - - @modern-js/types@2.21.1 - - @modern-js/utils@2.21.1 - -## 2.21.0 - -### Patch Changes - -- 7d2972e: feat(builder): update rspack to 0.1.12 - - feat(builder): 升级 rspack 到 0.1.12 版本 - -- 863f8df: feat(rspack-provider): support security.checkSyntax in Rspack - - feat(rspack-provider): 在使用 Rspack 构建时支持 security.checkSyntax 配置项 - -- 26dcf3a: chore: bump typescript to v5 in devDependencies - - chore: 升级 devDependencies 中的 typescript 版本到 v5 - -- 1ef03dc: feat(dev-server): enable gzip compression, add devServer.compress config - - feat(dev-server): 默认启用 gzip 压缩,新增 devServer.compress 配置项 - -- 4274510: fix(builder): failed to disable html via htmlPlugin: false - - fix(builder): 修复通过 htmlPlugin: false 无法禁用 html 的问题 - -- 43b4e83: feat: support security.nonce for add nonce attribute on script tag - feat: 支持 security.nonce 配置,为 script 标签添加 nonce 属性 -- ad78387: chore(deps): bump babel-related dependencies to latest version - - chore(deps): 升级 babel 相关依赖到最新版本 - -- Updated dependencies [e81eeaf] -- Updated dependencies [26dcf3a] -- Updated dependencies [1ef03dc] -- Updated dependencies [056627f] -- Updated dependencies [8fa8566] -- Updated dependencies [0fc15ca] -- Updated dependencies [43b4e83] -- Updated dependencies [ad78387] - - @modern-js/utils@2.21.0 - - @modern-js/server@2.21.0 - - @modern-js/types@2.21.0 - -## 2.20.0 - -### Patch Changes - -- 3c4e0a5: chore(utils): move generateMetaTags method to builder-shared - - chore(utils): 移动 generateMetaTags 方法到 builder-shared - -- Updated dependencies [3c4e0a5] -- Updated dependencies [6b9d90a] -- Updated dependencies [5f055ab] - - @modern-js/utils@2.20.0 - - @modern-js/server@2.20.0 - - @modern-js/types@2.20.0 - -## 2.19.1 - -### Patch Changes - -- afb735f: fix(builder): failed to print file size in some cases - - fix(builder): 修复部分情况下输出产物体积失败的问题 - - - @modern-js/server@2.19.1 - - @modern-js/types@2.19.1 - - @modern-js/utils@2.19.1 - -## 2.19.0 - -### Patch Changes - -- 1134fe2: chore(deps): bump webpack from 5.76.2 to 5.82.1 - - chore(deps): 将 webpack 从 5.76.2 升级至 5.82.1 - -- Updated dependencies [1134fe2] - - @modern-js/server@2.19.0 - - @modern-js/utils@2.19.0 - - @modern-js/types@2.19.0 - -## 2.18.1 - -### Patch Changes - -- 9b0b7ef: feat(rspack-provider): support tools.pug configuration when Rspack build - - feat(rspack-provider): 在使用 Rspack 构建时支持 tools.pug 配置项 - - - @modern-js/server@2.18.1 - - @modern-js/types@2.18.1 - - @modern-js/utils@2.18.1 - -## 2.18.0 - -### Patch Changes - -- @modern-js/server@2.18.0 -- @modern-js/types@2.18.0 -- @modern-js/utils@2.18.0 - -## 2.17.1 - -### Patch Changes - -- @modern-js/server@2.17.1 -- @modern-js/types@2.17.1 -- @modern-js/utils@2.17.1 - -## 2.17.0 - -### Patch Changes - -- @modern-js/server@2.17.0 -- @modern-js/types@2.17.0 -- @modern-js/utils@2.17.0 - -## 2.16.0 - -### Minor Changes - -- 7596520: feat(builder): builder plugin supports specifying relative order via the `pre` / `post` configuration items - - feat(builder): builder 插件支持通过 `pre` / `post` 配置项指定相对顺序 - -### Patch Changes - -- fe92de6: fix(builder): browserslist config should not affect node bundles - - fix(builder): 修复 browserslist 配置会对 node 产物生效的问题 - -- 091986a: hotfix(builder): fix the inaccurate type when bundlerChain chain called - - hotfix(builder):修复 bundlerChain 链式调用后,类型提示不准确问题 - -- 4e876ab: chore: package.json include the monorepo-relative directory - - chore: 在 package.json 中声明 monorepo 的子路径 - -- e4e0e01: fix(builder-shared): add protocol for generated URL when assetPrefix is true - - fix(builder-shared): assetPrefix 为 true 时生成的 URL 添加 protocol - -- Updated dependencies [5954330] -- Updated dependencies [7596520] -- Updated dependencies [4e876ab] - - @modern-js/utils@2.16.0 - - @modern-js/server@2.16.0 - - @modern-js/types@2.16.0 - -## 2.15.0 - -### Minor Changes - -- 3e5e790: feat(transformImport): support disable default transform import, add more test of transformImport - - feat(transformImport): 支持关闭默认的 transform import,增加更多 transformImport 测试 - -### Patch Changes - -- @modern-js/server@2.15.0 -- @modern-js/types@2.15.0 -- @modern-js/utils@2.15.0 - -## 2.14.0 - -### Patch Changes - -- b46fbcb: fix: The http://0.0.0.0:port can't visit in windows, we shouldn't set publicPath as `//0.0.0.0:${port}/`; - fix: 在 windows 里不能正常访问 http://0.0.0.0:port,我们不应该将 publicPath 设置成 `//0.0.0.0:${port}` -- fefd1c5: feat(builder): add convertToRem.inlineRuntime config - - feat(builder): 新增 convertToRem.inlineRuntime 配置项 - -- 8a3c693: chore(server): no longer replace globalVars when compiler is babel - - chore(server): 进行 babel compile 时不再替换 globalVars - -- 9b45c58: fix(app-tools): should not print all addresses when custom dev.host - - fix(app-tools): 修复自定义 dev.host 时会输出多余的 URL 地址的问题 - -- 864d55e: feat(builder): source.globalVars support function usage - - feat(builder): source.globalVars 支持函数写法 - -- b965df2: fix(builder): update source.alias type when using Rspack - - fix(builder): 更新使用 Rspack 时的 source.alias 类型 - -- Updated dependencies [4779152] -- Updated dependencies [9321bef] -- Updated dependencies [9b45c58] -- Updated dependencies [1f34dba] -- Updated dependencies [52d0cb1] -- Updated dependencies [60a81d0] -- Updated dependencies [dacef96] -- Updated dependencies [16399fd] - - @modern-js/server@2.14.0 - - @modern-js/utils@2.14.0 - - @modern-js/types@2.14.0 - -## 2.13.4 - -### Patch Changes - -- @modern-js/server@2.13.4 -- @modern-js/types@2.13.4 -- @modern-js/utils@2.13.4 - -## 2.13.3 - -### Patch Changes - -- 18cd03f: fix(builder): devServer.client is not deep merged - - fix(builder): devServer.client 配置项未被 deep merged - -- 28583e8: feat(builder): add assetsRetry.inlineScript config - - feat(builder): 新增 assetsRetry.inlineScript 配置项 - - - @modern-js/server@2.13.3 - - @modern-js/types@2.13.3 - - @modern-js/utils@2.13.3 - -## 2.13.2 - -### Patch Changes - -- @modern-js/server@2.13.2 -- @modern-js/types@2.13.2 -- @modern-js/utils@2.13.2 - -## 2.13.1 - -### Patch Changes - -- @modern-js/server@2.13.1 -- @modern-js/types@2.13.1 -- @modern-js/utils@2.13.1 - -## 2.13.0 - -### Patch Changes - -- 1feacdc: feat(builder): support using RegExp to inline part of chunks - - feat(builder): 支持通过正则来内联部分资源 - -- 384406c: fix(builder): `HtmlTagsPlugin` failed to join public path with absolute url - fix(builder): `HtmlTagsPlugin` 为绝对路径拼接 public path 会导致格式错误 -- c89de05: chore(rspack-provider): apply fullySpecified mjs default value in Rspack - - chore(rspack-provider): 在 Rspack 中设置 fullySpecified 在 mjs 下的默认值 - -- 348306d: feat(builder): add html.scriptLoading config - - feat(builder): 新增 html.scriptLoading 配置 - -- 384e393: chore: support output.merge / resolve.merge / resolve.get / resolve.fallback in bundler-chain - - chore: 在 bundler-chain 中支持 output.merge / resolve.merge / resolve.get / resolve.fallback 方法 - -- 9c0572e: chore(builder): support get builder/shared compiled path in provider getCompiledPath api - - chore(builder): 支持通过 provider getCompiledPath api 获取 builder/shared 中预打包依赖路径 - - - @modern-js/server@2.13.0 - - @modern-js/types@2.13.0 - - @modern-js/utils@2.13.0 - -## 2.12.0 - -### Patch Changes - -- 6d86e34: feat(doc-tools): print dev server URLs with base - - feat(doc-tools): 输出 dev server 的 URLs 时补全 base 信息 - -- fef3394: fix(builder): should add id prefix after minify SVG - - fix(builder): 压缩 SVG 后需要添加 id 前缀 - -- Updated dependencies [c2ca6c8] -- Updated dependencies [6d86e34] - - @modern-js/utils@2.12.0 - - @modern-js/server@2.12.0 - - @modern-js/types@2.12.0 - -## 2.11.0 - -### Minor Changes - -- a8c08c3: feat: 添加 `source.transformImoprt` - - feat: add `source.transformImoprt` - -### Patch Changes - -- adcedad: fix: The compiled babel-loader can't find the babel/core in builder-shared - fix: 在 builder-shared 中的预编译 babel-loader 找不到 babel/core 依赖 -- a9c6083: fix(builder): incorrect asset URL in windows - - fix(builder): 修复 windows 上生成静态资源 URL 错误的问题 - -- 55b07fd: feat(builder): support output.assetsRetry in rspack-provider - - feat(builder): 在 rspack-provider 中支持 output.assetsRetry 配置能力 - -- 8b90c79: fix(builder): should preserve viewBox when minify svg - - fix(builder): 修复压缩 svg 导致 viewBox 丢失的问题 - -- 3aa318d: fix(rspack-builder): support rspack global node-polyfill use workaround - - fix(rspack-builder): 采用临时方案在 rspack 中支持 global node-polyfill - -- 53b0a63: fix: schema parser error, builder tools.devServer.proxy can be a array - fix: schema 解析错误,builder `tools.devSerer.proxy' 可以是个数组。 -- 381a3b9: feat(utils): move universal utils to the universal folder - - feat(utils): 将运行时使用的 utils 移动到 universal 目录 - -- cd1040f: feat: use generated default config objects instead of global objects - feat: 默认配置项使用动态生成替代全局对象 -- e262a99: fix(builder): failed to set empty distPath.js/css - - fix(builder): 修复设置 distPath.js/css 为空时报错的问题 - -- b71cef1: feat(builder): support setting forceSplitting to be an object - - feat(builder): 支持将 forceSplitting 设置为一个对象 - -- Updated dependencies [cfb058f] -- Updated dependencies [0bd018b] -- Updated dependencies [5d624fd] -- Updated dependencies [e2466a1] -- Updated dependencies [02bb383] -- Updated dependencies [381a3b9] -- Updated dependencies [7a60f10] -- Updated dependencies [274b2e5] -- Updated dependencies [b9e1c54] - - @modern-js/utils@2.11.0 - - @modern-js/server@2.11.0 - - @modern-js/types@2.11.0 - -## 2.10.0 - -### Minor Changes - -- a8db932: feat: rspack-provider support tools.babel - feat: rspack-provider 支持 tools.babel - -### Patch Changes - -- 92d247f: fix: support tools.devServer.header include string[] type, remove get & delete & apply api in hook or middleware api - fix: 支持 tools.devServer.header 包含字符串数组类型,移除 Hook 和 Middleware 中对 响应 Cookie 的获取、删除操作 -- 0d9962b: fix: add types field in package.json - fix: 添加 package.json 中的 types 字段 -- fbefa7e: chore(deps): bump webpack from 5.75.0 to 5.76.2 - - chore(deps): 将 webpack 从 5.75.0 升级至 5.76.2 - -- Updated dependencies [3e0bd50] -- Updated dependencies [92d247f] -- Updated dependencies [0da32d0] -- Updated dependencies [0d9962b] -- Updated dependencies [fbefa7e] -- Updated dependencies [4d54233] -- Updated dependencies [6db4864] - - @modern-js/server@2.10.0 - - @modern-js/types@2.10.0 - - @modern-js/utils@2.10.0 - -## 2.9.0 - -### Patch Changes - -- Updated dependencies [49bb8cd0ef] - - @modern-js/server@2.9.0 - - @modern-js/types@2.9.0 - - @modern-js/utils@2.9.0 - -## 2.8.0 - -### Minor Changes - -- 481461a61d: feat: builder support tools.bundlerChain config - feat: builder 支持 `tools.bundlerChain` config - -### Patch Changes - -- bd369a89a4: fix(builder): failed to set CDN URL via html.tags - - fix(builder): 修复 html.tags 无法设置 CDN URL 的问题 - -- 2c1151271d: fix(builder): fix incorrect browserslist config - - fix(builder): 修复错误的 browserslist 配置 - -- Updated dependencies [ea7bb41e30] -- Updated dependencies [1104a9f18b] -- Updated dependencies [70d82e1408] -- Updated dependencies [1f6ca2c7fb] - - @modern-js/server@2.8.0 - - @modern-js/utils@2.8.0 - - @modern-js/types@2.8.0 - -## 2.7.0 - -### Minor Changes - -- 84bfb439b8: feat: support custom apiDir, lambdaDir and style of writing for bff - feat: 支持定制 api 目录,lambda 目录,bff 的写法 - -### Patch Changes - -- 206c806efa: fix(rspack-provider): missing tools.autoprefixer type - - fix(rspack-provider): 修复缺少 tools.autoprefixer 类型定义的问题 - -- 5f899af53a: feat(builder): support output.enableAssetFallback in rspack-provider - - feat(builder): 在 rspack-provider 中支持 output.enableAssetFallback 配置项 - -- ebe0d2dd6e: hotfix(builder): make devServer.proxy schema check loosely - - hotfix(builder): devServer.proxy 类型检验采用非严格模式 - -- Updated dependencies [6378e26bf9] -- Updated dependencies [0f15fc597c] -- Updated dependencies [dcad887024] -- Updated dependencies [a4672f7c16] -- Updated dependencies [7fff9020e1] -- Updated dependencies [1eea234fdd] -- Updated dependencies [84bfb439b8] - - @modern-js/server@2.7.0 - - @modern-js/utils@2.7.0 - - @modern-js/types@2.7.0 - -## 2.6.0 - -### Minor Changes - -- fae9d1b: feat(builder): support import .wasm assets - - feat(builder): 支持引用 .wasm 资源 - -### Patch Changes - -- b92d6db: fix(builder): missing dev.beforeStartUrl schema validation - - fix(builder): 修复 dev.beforeStartUrl 缺少 schema 校验的问题 - -- e1f799e: fix: use 0.0.0.0 instead of localhost as the default dev host - fix: 使用 0.0.0.0 代替 localhost 作为默认的 dev host -- 107f674: feat(builder): add dev.beforeStartUrl config - - feat(builder): 新增 dev.beforeStartUrl 配置项 - -- 03d7f7d: fix(builder): fix missing dev.host schema validation - - fix(builder): 修复 dev.host 缺少 schema 校验的问题 - -- 0fe658a: feat(builder): support passing URL to html.favicon - - feat(builder): 支持在 html.favicon 中直接传入 URL - -- 62930b9: fix: support configure host for devServer - fix: 支持配置 devServer 的 host -- Updated dependencies [ba6db6e] -- Updated dependencies [ba6db6e] -- Updated dependencies [e1f799e] -- Updated dependencies [7915ab3] -- Updated dependencies [49fa0b1] -- Updated dependencies [0fe658a] -- Updated dependencies [62930b9] - - @modern-js/server@2.6.0 - - @modern-js/utils@2.6.0 - - @modern-js/types@2.6.0 - -## 2.5.0 - -### Minor Changes - -- 28e7dc6: feat: more use bunlder chain to modify bundler config - feat: 更多的使用 `bunlder chain` 去修改 bunlder 配置 - -### Patch Changes - -- 58a9918: fix(builder): should not generate HTML for service-worker target - - fix(builder): 修复 target 为 service-worker 时会生成 HTML 的问题 - -- 30614fa: chore: modify package.json entry fields and build config - chore: 更改 package.json entry 字段以及构建配置 -- c4c10e7: refactor: refactor rules for static assets processing with rule.oneOf, reuse svg/font/image/media plugin - - refactor: 使用 oneOf 重构静态资源处理规则 & 复用 svg / font / media / img 插件 - -- 11c053b: feat: ssr support deploy worker - - feat: ssr 支持边缘部署 - -- 40230b3: feat(builder): enable postcss plugins based on browserslist - - feat(builder): 基于 browserslist 来启用需要的 postcss 插件 - -- Updated dependencies [89ca6cc] -- Updated dependencies [7cb8bb4] -- Updated dependencies [bb4e712] -- Updated dependencies [6fca567] -- Updated dependencies [30614fa] -- Updated dependencies [1b0ce87] -- Updated dependencies [11c053b] -- Updated dependencies [f0b3d8c] - - @modern-js/server@2.5.0 - - @modern-js/types@2.5.0 - - @modern-js/utils@2.5.0 - -## 2.4.0 - -### Minor Changes - -- a5572b8: feat: more plugin rebase in `builder-shared` - feat: 更多 plugin 下沉到 `builder-shared` -- a914be8: feat: modern-js support Rspack bundler - feat: modern-js 支持 Rspack 构建工具 - -### Patch Changes - -- 6f83037: fix: change the builder resolve plugin - fix: 修复 builder resolve 插件 -- 014d06b: feat: reuse bundleAnalyzer plugin, support performance.bundleAnalyze config in rspack-provider - - feat: 复用 bundleAnalyzer 插件,在 rspack-provider 中支持 performance.bundleAnalyze 配置项 - -- Updated dependencies [d19484c] -- Updated dependencies [98a2733] -- Updated dependencies [8c2db5f] - - @modern-js/server@2.4.0 - - @modern-js/utils@2.4.0 - - @modern-js/types@2.4.0 - -## 2.3.0 - -### Minor Changes - -- f9a26fe: fix(@modern-js/builder-shared): openBrowser add openChrome.applescript script - - fix(@modern-js/builder-shared): openBrowser 添加 openChrome.applescript 脚本 - -### Patch Changes - -- 67ba34a: chore(builder): remove unused ajv schema types - - chore(builder): 移除过时的 ajv 相关类型 - -- 2ad9fdf: fix(builder-shared): failed to open start URL in macOS - - fix(builder-shared): 修复在 macOS 上打开 start URL 失败的问题 - -- Updated dependencies [fd5a3ed] -- Updated dependencies [6ca1c0b] -- Updated dependencies [89b6739] -- Updated dependencies [ff48fc2] - - @modern-js/utils@2.3.0 - - @modern-js/server@2.3.0 - - @modern-js/types@2.3.0 - -## 2.2.0 - -### Patch Changes - -- f2f8a83: chore: reuse rem AutoSetRootFontSizePlugin between rspack-provider and webpack-provider - - chore: 在 rspack-provider 和 webpack-provider 间复用 rem AutoSetRootFontSizePlugin - -- Updated dependencies [49eff0c] -- Updated dependencies [9fc6de9] -- Updated dependencies [19bb384] - - @modern-js/utils@2.2.0 - - @modern-js/server@2.2.0 - - @modern-js/types@2.2.0 - -## 2.1.0 - -### Minor Changes - -- 8a9482c: feat(builder): add new option `html.tags` & `html.tagsByEntries` - - feat(builder): 添加新的配置项 `html.tags` 和 `html.tagsByEntries` - -### Patch Changes - -- 3ad26c2: feat: add util `mergeBuilderConfig` for `modifyBuilderConfig` hook - - feat: `modifyBuilderConfig` 钩子回调提供工具函数 `mergeBuilderConfig` - -- 5b54418: fix(builder): no longer remove comments of HTML - - fix(builder): 不再默认移除 HTML 中的注释 - -- ccbac43: feat: accept undefined as `JSONPrimitive` - - feat: `JSONPrimitive` 类型允许接受 undefined - -- 679296d: fix(builder): incorrect config file name when inspect - - fix(builder): 修复 inspect 时配置文件名称不正确的问题 - -- Updated dependencies [837620c] -- Updated dependencies [3d0fb38] -- Updated dependencies [8a9482c] - - @modern-js/utils@2.1.0 - - @modern-js/server@2.1.0 - - @modern-js/types@2.1.0 - -## 2.0.0 - -### Major Changes - -Initial Release diff --git a/packages/builder/builder-shared/LICENSE b/packages/builder/builder-shared/LICENSE deleted file mode 100644 index 39e3c5971226..000000000000 --- a/packages/builder/builder-shared/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021-present Modern.js - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/packages/builder/builder-shared/README.md b/packages/builder/builder-shared/README.md deleted file mode 100644 index a7e27e11e0f0..000000000000 --- a/packages/builder/builder-shared/README.md +++ /dev/null @@ -1,28 +0,0 @@ -> DEPRECATED: use [Rsbuild](https://github.com/web-infra-dev/rsbuild) instead. - -

- Modern.js Logo -

-

- Modern.js Builder -
- - modernjs.dev/builder - -

-

- An Rspack-based build tool for web development. -

- -# @modern-js/builder-shared - -This package provides the shared types and methods of Modern.js Builder. - -## Getting Started - -- [Introduction](https://modernjs.dev/builder/en/guide/introduction.html) -- [API References](https://modernjs.dev/builder/en/api/) - -## Contributing - -- [Contributing Guide](https://github.com/web-infra-dev/modern.js/blob/main/CONTRIBUTING.md) diff --git a/packages/builder/builder-shared/compiled/assetsRetry.js b/packages/builder/builder-shared/compiled/assetsRetry.js deleted file mode 100644 index 052c27be5a23..000000000000 --- a/packages/builder/builder-shared/compiled/assetsRetry.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var TAG_TYPE={link:HTMLLinkElement,script:HTMLScriptElement,img:HTMLImageElement},TYPES=Object.keys(TAG_TYPE);function findCurrentDomain(e,t){for(var n="",r=0;r<\/script>")}}if(e instanceof HTMLLinkElement){var c=document.createElement("link");return c.rel=e.rel||"stylesheet",e.as&&(c.as=e.as),c.href=t.url,n&&(c.crossOrigin=n),t.times&&(c.dataset.builderRetryTimes=String(t.times)),{element:c,str:'")}}}function reloadElementResource(e,t,n){e instanceof HTMLScriptElement&&(n.isAsync?document.body.appendChild(t.element):document.write(t.str)),e instanceof HTMLLinkElement&&document.getElementsByTagName("head")[0].appendChild(t.element),e instanceof HTMLImageElement&&(e.src=n.url,e.dataset.builderRetryTimes=String(n.times))}function retry(e,t){var n=validateTargetInfo(e,t);if(!1!==n){var r=n.target,i=n.tagName,a=n.url,o=e.test;if(o){if("string"==typeof o){var c=new RegExp(o);o=function(e){return c.test(e)}}if("function"!=typeof o||!o(a))return}var s=findCurrentDomain(a,e.domain);if(!(e.domain&&e.domain.length>0&&-1===e.domain.indexOf(s))){var l=Number(r.dataset.builderRetryTimes)||0;if(l!==e.max){var m=findNextDomain(s,e.domain),d=Boolean(r.dataset.builderAsync)||r.async||r.defer,u={url:a.replace(s,m),times:l+1,crossOrigin:e.crossOrigin,isAsync:d},f=createElement(r,u);if(e.onRetry&&"function"==typeof e.onRetry){var g={times:l,domain:s,url:a,tagName:i};e.onRetry(g)}reloadElementResource(r,f,u)}else if("function"==typeof e.onFail){var y={times:l,domain:s,url:a,tagName:i};e.onFail(y)}}}}function load(e,t){var n=validateTargetInfo(e,t);if(!1!==n){var r=n.target,i=n.tagName,a=n.url,o=findCurrentDomain(a,e.domain),c=Number(r.dataset.builderRetryTimes)||0;if(0!==c&&"function"==typeof e.onSuccess){var s={times:c,domain:o,url:a,tagName:i};e.onSuccess(s)}}}function resourceMonitor(e,t){"undefined"!=typeof window&&void 0!==window.document&&(document.addEventListener("error",(function(t){t&&t.target instanceof Element&&e(t)}),!0),document.addEventListener("load",(function(e){e&&e.target instanceof Element&&t(e)}),!0))}function init(e){var t=Object.assign({},defaultConfig,e);Array.isArray(t.type)&&0!==t.type.length||(t.type=defaultConfig.type),Array.isArray(t.domain)&&0!==t.domain.length||(t.domain=defaultConfig.domain),Array.isArray(t.domain)&&(t.domain=t.domain.filter(Boolean));try{resourceMonitor((function(e){try{retry(t,e)}catch(e){console.error("retry error captured",e)}}),(function(e){try{load(t,e)}catch(e){console.error("load error captured",e)}}))}catch(e){console.error("monitor error captured",e)}} \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/autoprefixer/index.js b/packages/builder/builder-shared/compiled/autoprefixer/index.js deleted file mode 100644 index dd291cf4fbfa..000000000000 --- a/packages/builder/builder-shared/compiled/autoprefixer/index.js +++ /dev/null @@ -1,9 +0,0 @@ -(()=>{var e={8775:(e,t,r)=>{let i=r(9613).feature;function browsersSort(e,t){e=e.split(" ");t=t.split(" ");if(e[0]>t[0]){return 1}else if(e[0]prefix(["border-radius","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],{mistakes:["-khtml-","-ms-","-o-"],feature:"border-radius",browsers:e})));let a=r(2194);f(a,(e=>prefix(["box-shadow"],{mistakes:["-khtml-"],feature:"css-boxshadow",browsers:e})));let l=r(354);f(l,(e=>prefix(["animation","animation-name","animation-duration","animation-delay","animation-direction","animation-fill-mode","animation-iteration-count","animation-play-state","animation-timing-function","@keyframes"],{mistakes:["-khtml-","-ms-"],feature:"css-animation",browsers:e})));let o=r(40);f(o,(e=>prefix(["transition","transition-property","transition-duration","transition-delay","transition-timing-function"],{mistakes:["-khtml-","-ms-"],browsers:e,feature:"css-transitions"})));let u=r(4602);f(u,(e=>prefix(["transform","transform-origin"],{feature:"transforms2d",browsers:e})));let p=r(2866);f(p,(e=>{prefix(["perspective","perspective-origin"],{feature:"transforms3d",browsers:e});return prefix(["transform-style"],{mistakes:["-ms-","-o-"],browsers:e,feature:"transforms3d"})}));f(p,{match:/y\sx|y\s#2/},(e=>prefix(["backface-visibility"],{mistakes:["-ms-","-o-"],feature:"transforms3d",browsers:e})));let d=r(2571);f(d,{match:/y\sx/},(e=>prefix(["linear-gradient","repeating-linear-gradient","radial-gradient","repeating-radial-gradient"],{props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"],mistakes:["-ms-"],feature:"css-gradients",browsers:e})));f(d,{match:/a\sx/},(e=>{e=e.map((e=>{if(/firefox|op/.test(e)){return e}else{return`${e} old`}}));return add(["linear-gradient","repeating-linear-gradient","radial-gradient","repeating-radial-gradient"],{feature:"css-gradients",browsers:e})}));let c=r(6597);f(c,(e=>prefix(["box-sizing"],{feature:"css3-boxsizing",browsers:e})));let h=r(3882);f(h,(e=>prefix(["filter"],{feature:"css-filters",browsers:e})));let m=r(1545);f(m,(e=>prefix(["filter-function"],{props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"],feature:"css-filter-function",browsers:e})));let x=r(3166);f(x,{match:/y\sx|y\s#2/},(e=>prefix(["backdrop-filter"],{feature:"css-backdrop-filter",browsers:e})));let g=r(7801);f(g,(e=>prefix(["element"],{props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"],feature:"css-element-function",browsers:e})));let w=r(7809);f(w,(e=>{prefix(["columns","column-width","column-gap","column-rule","column-rule-color","column-rule-width","column-count","column-rule-style","column-span","column-fill"],{feature:"multicolumn",browsers:e});let t=e.filter((e=>!/firefox/.test(e)));prefix(["break-before","break-after","break-inside"],{feature:"multicolumn",browsers:t})}));let b=r(9474);f(b,(e=>prefix(["user-select"],{mistakes:["-khtml-"],feature:"user-select-none",browsers:e})));let v=r(4618);f(v,{match:/a\sx/},(e=>{e=e.map((e=>{if(/ie|firefox/.test(e)){return e}else{return`${e} 2009`}}));prefix(["display-flex","inline-flex"],{props:["display"],feature:"flexbox",browsers:e});prefix(["flex","flex-grow","flex-shrink","flex-basis"],{feature:"flexbox",browsers:e});prefix(["flex-direction","flex-wrap","flex-flow","justify-content","order","align-items","align-self","align-content"],{feature:"flexbox",browsers:e})}));f(v,{match:/y\sx/},(e=>{add(["display-flex","inline-flex"],{feature:"flexbox",browsers:e});add(["flex","flex-grow","flex-shrink","flex-basis"],{feature:"flexbox",browsers:e});add(["flex-direction","flex-wrap","flex-flow","justify-content","order","align-items","align-self","align-content"],{feature:"flexbox",browsers:e})}));let k=r(3098);f(k,(e=>prefix(["calc"],{props:["*"],feature:"calc",browsers:e})));let y=r(1188);f(y,(e=>prefix(["background-origin","background-size"],{feature:"background-img-opts",browsers:e})));let S=r(5591);f(S,(e=>prefix(["background-clip"],{feature:"background-clip-text",browsers:e})));let F=r(1328);f(F,(e=>prefix(["font-feature-settings","font-variant-ligatures","font-language-override"],{feature:"font-feature",browsers:e})));let $=r(3944);f($,(e=>prefix(["font-kerning"],{feature:"font-kerning",browsers:e})));let C=r(7097);f(C,(e=>prefix(["border-image"],{feature:"border-image",browsers:e})));let G=r(4822);f(G,(e=>prefix(["::selection"],{selector:true,feature:"css-selection",browsers:e})));let A=r(6215);f(A,(e=>{prefix(["::placeholder"],{selector:true,feature:"css-placeholder",browsers:e.concat(["ie 10 old","ie 11 old","firefox 18 old"])})}));let R=r(9278);f(R,(e=>{prefix([":placeholder-shown"],{selector:true,feature:"css-placeholder-shown",browsers:e})}));let z=r(5197);f(z,(e=>prefix(["hyphens"],{feature:"css-hyphens",browsers:e})));let j=r(7766);f(j,(e=>prefix([":fullscreen"],{selector:true,feature:"fullscreen",browsers:e})));f(j,{match:/x(\s#2|$)/},(e=>prefix(["::backdrop"],{selector:true,feature:"fullscreen",browsers:e})));let B=r(2416);f(B,(e=>prefix(["::file-selector-button"],{selector:true,feature:"file-selector-button",browsers:e})));let P=r(7721);f(P,(e=>prefix([":autofill"],{selector:true,feature:"css-autofill",browsers:e})));let q=r(3247);f(q,(e=>prefix(["tab-size"],{feature:"css3-tabsize",browsers:e})));let D=r(5691);let M=["width","min-width","max-width","height","min-height","max-height","inline-size","min-inline-size","max-inline-size","block-size","min-block-size","max-block-size","grid","grid-template","grid-template-rows","grid-template-columns","grid-auto-columns","grid-auto-rows"];f(D,(e=>prefix(["max-content","min-content"],{props:M,feature:"intrinsic-width",browsers:e})));f(D,{match:/x|\s#4/},(e=>prefix(["fill","fill-available"],{props:M,feature:"intrinsic-width",browsers:e})));f(D,{match:/x|\s#5/},(e=>prefix(["fit-content"],{props:M,feature:"intrinsic-width",browsers:e})));let N=r(7437);f(N,(e=>prefix(["stretch"],{props:M,feature:"css-width-stretch",browsers:e})));let _=r(8265);f(_,(e=>prefix(["zoom-in","zoom-out"],{props:["cursor"],feature:"css3-cursors-newer",browsers:e})));let I=r(2983);f(I,(e=>prefix(["grab","grabbing"],{props:["cursor"],feature:"css3-cursors-grab",browsers:e})));let E=r(8235);f(E,(e=>prefix(["sticky"],{props:["position"],feature:"css-sticky",browsers:e})));let T=r(1014);f(T,(e=>prefix(["touch-action"],{feature:"pointer",browsers:e})));let O=r(134);f(O,{match:/x.*#[235]/},(e=>prefix(["text-decoration-skip","text-decoration-skip-ink"],{feature:"text-decoration",browsers:e})));let V=r(1597);f(V,(e=>prefix(["text-decoration"],{feature:"text-decoration",browsers:e})));let L=r(5934);f(L,(e=>prefix(["text-decoration-color"],{feature:"text-decoration",browsers:e})));let U=r(3874);f(U,(e=>prefix(["text-decoration-line"],{feature:"text-decoration",browsers:e})));let W=r(3480);f(W,(e=>prefix(["text-decoration-style"],{feature:"text-decoration",browsers:e})));let Y=r(744);f(Y,(e=>prefix(["text-size-adjust"],{feature:"text-size-adjust",browsers:e})));let Z=r(6649);f(Z,(e=>{prefix(["mask-clip","mask-composite","mask-image","mask-origin","mask-repeat","mask-border-repeat","mask-border-source"],{feature:"css-masks",browsers:e});prefix(["mask","mask-position","mask-size","mask-border","mask-border-outset","mask-border-width","mask-border-slice"],{feature:"css-masks",browsers:e})}));let H=r(9205);f(H,(e=>prefix(["clip-path"],{feature:"css-clip-path",browsers:e})));let J=r(6781);f(J,(e=>prefix(["box-decoration-break"],{feature:"css-boxdecorationbreak",browsers:e})));let Q=r(1480);f(Q,(e=>prefix(["object-fit","object-position"],{feature:"object-fit",browsers:e})));let X=r(5460);f(X,(e=>prefix(["shape-margin","shape-outside","shape-image-threshold"],{feature:"css-shapes",browsers:e})));let K=r(7806);f(K,(e=>prefix(["text-overflow"],{feature:"text-overflow",browsers:e})));let ee=r(3504);f(ee,(e=>prefix(["@viewport"],{feature:"css-deviceadaptation",browsers:e})));let te=r(8181);f(te,{match:/( x($| )|a #2)/},(e=>prefix(["@resolution"],{feature:"css-media-resolution",browsers:e})));let re=r(2807);f(re,(e=>prefix(["text-align-last"],{feature:"css-text-align-last",browsers:e})));let ie=r(8995);f(ie,{match:/y x|a x #1/},(e=>prefix(["pixelated"],{props:["image-rendering"],feature:"css-crisp-edges",browsers:e})));f(ie,{match:/a x #2/},(e=>prefix(["image-rendering"],{feature:"css-crisp-edges",browsers:e})));let se=r(7395);f(se,(e=>prefix(["border-inline-start","border-inline-end","margin-inline-start","margin-inline-end","padding-inline-start","padding-inline-end"],{feature:"css-logical-props",browsers:e})));f(se,{match:/x\s#2/},(e=>prefix(["border-block-start","border-block-end","margin-block-start","margin-block-end","padding-block-start","padding-block-end"],{feature:"css-logical-props",browsers:e})));let ne=r(4773);f(ne,{match:/#2|x/},(e=>prefix(["appearance"],{feature:"css-appearance",browsers:e})));let ae=r(1340);f(ae,(e=>prefix(["scroll-snap-type","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y"],{feature:"css-snappoints",browsers:e})));let le=r(1949);f(le,(e=>prefix(["flow-into","flow-from","region-fragment"],{feature:"css-regions",browsers:e})));let oe=r(2237);f(oe,(e=>prefix(["image-set"],{props:["background","background-image","border-image","cursor","mask","mask-image","list-style","list-style-image","content"],feature:"css-image-set",browsers:e})));let ue=r(2298);f(ue,{match:/a|x/},(e=>prefix(["writing-mode"],{feature:"css-writing-mode",browsers:e})));let fe=r(8786);f(fe,(e=>prefix(["cross-fade"],{props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"],feature:"css-cross-fade",browsers:e})));let pe=r(2478);f(pe,(e=>prefix([":read-only",":read-write"],{selector:true,feature:"css-read-only-write",browsers:e})));let de=r(5514);f(de,(e=>prefix(["text-emphasis","text-emphasis-position","text-emphasis-style","text-emphasis-color"],{feature:"text-emphasis",browsers:e})));let ce=r(6554);f(ce,(e=>{prefix(["display-grid","inline-grid"],{props:["display"],feature:"css-grid",browsers:e});prefix(["grid-template-columns","grid-template-rows","grid-row-start","grid-column-start","grid-row-end","grid-column-end","grid-row","grid-column","grid-area","grid-template","grid-template-areas","place-self"],{feature:"css-grid",browsers:e})}));f(ce,{match:/a x/},(e=>prefix(["grid-column-align","grid-row-align"],{feature:"css-grid",browsers:e})));let he=r(9290);f(he,(e=>prefix(["text-spacing"],{feature:"css-text-spacing",browsers:e})));let me=r(9323);f(me,(e=>prefix([":any-link"],{selector:true,feature:"css-any-link",browsers:e})));let xe=r(7856);f(xe,(e=>prefix(["isolate"],{props:["unicode-bidi"],feature:"css-unicode-bidi",browsers:e})));let ge=r(6097);f(ge,(e=>prefix(["plaintext"],{props:["unicode-bidi"],feature:"css-unicode-bidi",browsers:e})));let we=r(9067);f(we,{match:/y x/},(e=>prefix(["isolate-override"],{props:["unicode-bidi"],feature:"css-unicode-bidi",browsers:e})));let be=r(3898);f(be,{match:/a #1/},(e=>prefix(["overscroll-behavior"],{feature:"css-overscroll-behavior",browsers:e})));let ve=r(4838);f(ve,(e=>prefix(["text-orientation"],{feature:"css-text-orientation",browsers:e})));let ke=r(8066);f(ke,(e=>prefix(["print-color-adjust","color-adjust"],{feature:"css-print-color-adjust",browsers:e})))},1654:(e,t,r)=>{let i=r(9852);class AtRule extends i{add(e,t){let r=t+e.name;let i=e.parent.some((t=>t.name===r&&t.params===e.params));if(i){return undefined}let s=this.clone(e,{name:r});return e.parent.insertBefore(e,s)}process(e){let t=this.parentPrefix(e);for(let r of this.prefixes){if(!t||t===r){this.add(e,r)}}}}e.exports=AtRule},97:(e,t,r)=>{let i=r(6362);let{agents:s}=r(9613);let n=r(328);let a=r(1269);let l=r(7319);let o=r(8775);let u=r(7070);let p={browsers:s,prefixes:o};const d="\n"+" Replace Autoprefixer `browsers` option to Browserslist config.\n"+" Use `browserslist` key in `package.json` or `.browserslistrc` file.\n"+"\n"+" Using `browsers` option can cause errors. Browserslist config can\n"+" be used for Babel, Autoprefixer, postcss-normalize and other tools.\n"+"\n"+" If you really need to use option, rename it to `overrideBrowserslist`.\n"+"\n"+" Learn more at:\n"+" https://github.com/browserslist/browserslist#readme\n"+" https://twitter.com/browserslist\n"+"\n";function isPlainObject(e){return Object.prototype.toString.apply(e)==="[object Object]"}let c=new Map;function timeCapsule(e,t){if(t.browsers.selected.length===0){return}if(t.add.selectors.length>0){return}if(Object.keys(t.add).length>2){return}e.warn("Autoprefixer target browsers do not need any prefixes."+"You do not need Autoprefixer anymore.\n"+"Check your Browserslist config to be sure that your targets "+"are set up correctly.\n"+"\n"+" Learn more at:\n"+" https://github.com/postcss/autoprefixer#readme\n"+" https://github.com/browserslist/browserslist#readme\n"+"\n")}e.exports=plugin;function plugin(...e){let t;if(e.length===1&&isPlainObject(e[0])){t=e[0];e=undefined}else if(e.length===0||e.length===1&&!e[0]){e=undefined}else if(e.length<=2&&(Array.isArray(e[0])||!e[0])){t=e[1];e=e[0]}else if(typeof e[e.length-1]==="object"){t=e.pop()}if(!t){t={}}if(t.browser){throw new Error("Change `browser` option to `overrideBrowserslist` in Autoprefixer")}else if(t.browserslist){throw new Error("Change `browserslist` option to `overrideBrowserslist` in Autoprefixer")}if(t.overrideBrowserslist){e=t.overrideBrowserslist}else if(t.browsers){if(typeof console!=="undefined"&&console.warn){console.warn(n.red(d.replace(/`[^`]+`/g,(e=>n.yellow(e.slice(1,-1))))))}e=t.browsers}let r={ignoreUnknownVersions:t.ignoreUnknownVersions,stats:t.stats,env:t.env};function loadPrefixes(i){let s=p;let n=new a(s.browsers,e,i,r);let o=n.selected.join(", ")+JSON.stringify(t);if(!c.has(o)){c.set(o,new l(s.prefixes,n,t))}return c.get(o)}return{postcssPlugin:"autoprefixer",prepare(e){let r=loadPrefixes({from:e.opts.from,env:t.env});return{OnceExit(i){timeCapsule(e,r);if(t.remove!==false){r.processor.remove(i,e)}if(t.add!==false){r.processor.add(i,e)}}}},info(e){e=e||{};e.from=e.from||process.cwd();return u(loadPrefixes(e))},options:t,browsers:e}}plugin.postcss=true;plugin.data=p;plugin.defaults=i.defaults;plugin.info=()=>plugin().info()},4186:e=>{function last(e){return e[e.length-1]}let t={parse(e){let t=[""];let r=[t];for(let i of e){if(i==="("){t=[""];last(r).push(t);r.push(t);continue}if(i===")"){r.pop();t=last(r);t.push("");continue}t[t.length-1]+=i}return r[0]},stringify(e){let r="";for(let i of e){if(typeof i==="object"){r+=`(${t.stringify(i)})`;continue}r+=i}return r}};e.exports=t},1269:(e,t,r)=>{let i=r(6362);let s=r(9613).agents;let n=r(4449);class Browsers{static prefixes(){if(this.prefixesCache){return this.prefixesCache}this.prefixesCache=[];for(let e in s){this.prefixesCache.push(`-${s[e].prefix}-`)}this.prefixesCache=n.uniq(this.prefixesCache).sort(((e,t)=>t.length-e.length));return this.prefixesCache}static withPrefix(e){if(!this.prefixesRegexp){this.prefixesRegexp=new RegExp(this.prefixes().join("|"))}return this.prefixesRegexp.test(e)}constructor(e,t,r,i){this.data=e;this.options=r||{};this.browserslistOpts=i||{};this.selected=this.parse(t)}parse(e){let t={};for(let e in this.browserslistOpts){t[e]=this.browserslistOpts[e]}t.path=this.options.from;return i(e,t)}prefix(e){let[t,r]=e.split(" ");let i=this.data[t];let s=i.prefix_exceptions&&i.prefix_exceptions[r];if(!s){s=i.prefix}return`-${s}-`}isSelected(e){return this.selected.includes(e)}}e.exports=Browsers},7031:(e,t,r)=>{let i=r(9852);let s=r(1269);let n=r(4449);class Declaration extends i{check(){return true}prefixed(e,t){return t+e}normalize(e){return e}otherPrefixes(e,t){for(let r of s.prefixes()){if(r===t){continue}if(e.includes(r)){return e.replace(/var\([^)]+\)/,"").includes(r)}}return false}set(e,t){e.prop=this.prefixed(e.prop,t);return e}needCascade(e){if(!e._autoprefixerCascade){e._autoprefixerCascade=this.all.options.cascade!==false&&e.raw("before").includes("\n")}return e._autoprefixerCascade}maxPrefixed(e,t){if(t._autoprefixerMax){return t._autoprefixerMax}let r=0;for(let t of e){t=n.removeNote(t);if(t.length>r){r=t.length}}t._autoprefixerMax=r;return t._autoprefixerMax}calcBefore(e,t,r=""){let i=this.maxPrefixed(e,t);let s=i-n.removeNote(r).length;let a=t.raw("before");if(s>0){a+=Array(s).fill(" ").join("")}return a}restoreBefore(e){let t=e.raw("before").split("\n");let r=t[t.length-1];this.all.group(e).up((e=>{let t=e.raw("before").split("\n");let i=t[t.length-1];if(i.lengthe.prop===i.prop&&e.value===i.value));if(s){return undefined}if(this.needCascade(e)){i.raws.before=this.calcBefore(r,e,t)}return e.parent.insertBefore(e,i)}isAlready(e,t){let r=this.all.group(e).up((e=>e.prop===t));if(!r){r=this.all.group(e).down((e=>e.prop===t))}return r}add(e,t,r,i){let s=this.prefixed(e.prop,t);if(this.isAlready(e,s)||this.otherPrefixes(e.value,t)){return undefined}return this.insert(e,t,r,i)}process(e,t){if(!this.needCascade(e)){super.process(e,t);return}let r=super.process(e,t);if(!r||!r.length){return}this.restoreBefore(e);e.raws.before=this.calcBefore(r,e)}old(e,t){return[this.prefixed(e,t)]}}e.exports=Declaration},5567:(e,t,r)=>{let i=r(8250);let s=r(7031);class AlignContent extends s{prefixed(e,t){let r;[r,t]=i(t);if(r===2012){return t+"flex-line-pack"}return super.prefixed(e,t)}normalize(){return"align-content"}set(e,t){let r=i(t)[0];if(r===2012){e.value=AlignContent.oldValues[e.value]||e.value;return super.set(e,t)}if(r==="final"){return super.set(e,t)}return undefined}}AlignContent.names=["align-content","flex-line-pack"];AlignContent.oldValues={"flex-end":"end","flex-start":"start","space-between":"justify","space-around":"distribute"};e.exports=AlignContent},9772:(e,t,r)=>{let i=r(8250);let s=r(7031);class AlignItems extends s{prefixed(e,t){let r;[r,t]=i(t);if(r===2009){return t+"box-align"}if(r===2012){return t+"flex-align"}return super.prefixed(e,t)}normalize(){return"align-items"}set(e,t){let r=i(t)[0];if(r===2009||r===2012){e.value=AlignItems.oldValues[e.value]||e.value}return super.set(e,t)}}AlignItems.names=["align-items","flex-align","box-align"];AlignItems.oldValues={"flex-end":"end","flex-start":"start"};e.exports=AlignItems},7453:(e,t,r)=>{let i=r(8250);let s=r(7031);class AlignSelf extends s{check(e){return e.parent&&!e.parent.some((e=>e.prop&&e.prop.startsWith("grid-")))}prefixed(e,t){let r;[r,t]=i(t);if(r===2012){return t+"flex-item-align"}return super.prefixed(e,t)}normalize(){return"align-self"}set(e,t){let r=i(t)[0];if(r===2012){e.value=AlignSelf.oldValues[e.value]||e.value;return super.set(e,t)}if(r==="final"){return super.set(e,t)}return undefined}}AlignSelf.names=["align-self","flex-item-align"];AlignSelf.oldValues={"flex-end":"end","flex-start":"start"};e.exports=AlignSelf},6147:(e,t,r)=>{let i=r(7031);class Animation extends i{check(e){return!e.value.split(/\s+/).some((e=>{let t=e.toLowerCase();return t==="reverse"||t==="alternate-reverse"}))}}Animation.names=["animation","animation-direction"];e.exports=Animation},4396:(e,t,r)=>{let i=r(7031);let s=r(4449);class Appearance extends i{constructor(e,t,r){super(e,t,r);if(this.prefixes){this.prefixes=s.uniq(this.prefixes.map((e=>{if(e==="-ms-"){return"-webkit-"}return e})))}}}Appearance.names=["appearance"];e.exports=Appearance},7151:(e,t,r)=>{let i=r(8901);let s=r(4449);class Autofill extends i{constructor(e,t,r){super(e,t,r);if(this.prefixes){this.prefixes=s.uniq(this.prefixes.map((()=>"-webkit-")))}}prefixed(e){if(e==="-webkit-"){return":-webkit-autofill"}return`:${e}autofill`}}Autofill.names=[":autofill"];e.exports=Autofill},1845:(e,t,r)=>{let i=r(7031);let s=r(4449);class BackdropFilter extends i{constructor(e,t,r){super(e,t,r);if(this.prefixes){this.prefixes=s.uniq(this.prefixes.map((e=>e==="-ms-"?"-webkit-":e)))}}}BackdropFilter.names=["backdrop-filter"];e.exports=BackdropFilter},69:(e,t,r)=>{let i=r(7031);let s=r(4449);class BackgroundClip extends i{constructor(e,t,r){super(e,t,r);if(this.prefixes){this.prefixes=s.uniq(this.prefixes.map((e=>e==="-ms-"?"-webkit-":e)))}}check(e){return e.value.toLowerCase()==="text"}}BackgroundClip.names=["background-clip"];e.exports=BackgroundClip},2178:(e,t,r)=>{let i=r(7031);class BackgroundSize extends i{set(e,t){let r=e.value.toLowerCase();if(t==="-webkit-"&&!r.includes(" ")&&r!=="contain"&&r!=="cover"){e.value=e.value+" "+e.value}return super.set(e,t)}}BackgroundSize.names=["background-size"];e.exports=BackgroundSize},2598:(e,t,r)=>{let i=r(7031);class BlockLogical extends i{prefixed(e,t){if(e.includes("-start")){return t+e.replace("-block-start","-before")}return t+e.replace("-block-end","-after")}normalize(e){if(e.includes("-before")){return e.replace("-before","-block-start")}return e.replace("-after","-block-end")}}BlockLogical.names=["border-block-start","border-block-end","margin-block-start","margin-block-end","padding-block-start","padding-block-end","border-before","border-after","margin-before","margin-after","padding-before","padding-after"];e.exports=BlockLogical},6107:(e,t,r)=>{let i=r(7031);class BorderImage extends i{set(e,t){e.value=e.value.replace(/\s+fill(\s)/,"$1");return super.set(e,t)}}BorderImage.names=["border-image"];e.exports=BorderImage},9520:(e,t,r)=>{let i=r(7031);class BorderRadius extends i{prefixed(e,t){if(t==="-moz-"){return t+(BorderRadius.toMozilla[e]||e)}return super.prefixed(e,t)}normalize(e){return BorderRadius.toNormal[e]||e}}BorderRadius.names=["border-radius"];BorderRadius.toMozilla={};BorderRadius.toNormal={};for(let e of["top","bottom"]){for(let t of["left","right"]){let r=`border-${e}-${t}-radius`;let i=`border-radius-${e}${t}`;BorderRadius.names.push(r);BorderRadius.names.push(i);BorderRadius.toMozilla[r]=i;BorderRadius.toNormal[i]=r}}e.exports=BorderRadius},8166:(e,t,r)=>{let i=r(7031);class BreakProps extends i{prefixed(e,t){return`${t}column-${e}`}normalize(e){if(e.includes("inside")){return"break-inside"}if(e.includes("before")){return"break-before"}return"break-after"}set(e,t){if(e.prop==="break-inside"&&e.value==="avoid-column"||e.value==="avoid-page"){e.value="avoid"}return super.set(e,t)}insert(e,t,r){if(e.prop!=="break-inside"){return super.insert(e,t,r)}if(/region/i.test(e.value)||/page/i.test(e.value)){return undefined}return super.insert(e,t,r)}}BreakProps.names=["break-inside","page-break-inside","column-break-inside","break-before","page-break-before","column-break-before","break-after","page-break-after","column-break-after"];e.exports=BreakProps},3940:(e,t,r)=>{let i=r(977).list;let s=r(7360);class CrossFade extends s{replace(e,t){return i.space(e).map((e=>{if(e.slice(0,+this.name.length+1)!==this.name+"("){return e}let r=e.lastIndexOf(")");let i=e.slice(r+1);let s=e.slice(this.name.length+1,r);if(t==="-webkit-"){let e=s.match(/\d*.?\d+%?/);if(e){s=s.slice(e[0].length).trim();s+=`, ${e[0]}`}else{s+=", 0.5"}}return t+this.name+"("+s+")"+i})).join(" ")}}CrossFade.names=["cross-fade"];e.exports=CrossFade},2212:(e,t,r)=>{let i=r(8250);let s=r(6118);let n=r(7360);class DisplayFlex extends n{constructor(e,t){super(e,t);if(e==="display-flex"){this.name="flex"}}check(e){return e.prop==="display"&&e.value===this.name}prefixed(e){let t,r;[t,e]=i(e);if(t===2009){if(this.name==="flex"){r="box"}else{r="inline-box"}}else if(t===2012){if(this.name==="flex"){r="flexbox"}else{r="inline-flexbox"}}else if(t==="final"){r=this.name}return e+r}replace(e,t){return this.prefixed(t)}old(e){let t=this.prefixed(e);if(!t)return undefined;return new s(this.name,t)}}DisplayFlex.names=["display-flex","inline-flex"];e.exports=DisplayFlex},4482:(e,t,r)=>{let i=r(7360);class DisplayGrid extends i{constructor(e,t){super(e,t);if(e==="display-grid"){this.name="grid"}}check(e){return e.prop==="display"&&e.value===this.name}}DisplayGrid.names=["display-grid","inline-grid"];e.exports=DisplayGrid},5462:(e,t,r)=>{let i=r(8901);let s=r(4449);class FileSelectorButton extends i{constructor(e,t,r){super(e,t,r);if(this.prefixes){this.prefixes=s.uniq(this.prefixes.map((()=>"-webkit-")))}}prefixed(e){if(e==="-webkit-"){return"::-webkit-file-upload-button"}return`::${e}file-selector-button`}}FileSelectorButton.names=["::file-selector-button"];e.exports=FileSelectorButton},9706:(e,t,r)=>{let i=r(7360);class FilterValue extends i{constructor(e,t){super(e,t);if(e==="filter-function"){this.name="filter"}}}FilterValue.names=["filter","filter-function"];e.exports=FilterValue},2726:(e,t,r)=>{let i=r(7031);class Filter extends i{check(e){let t=e.value;return!t.toLowerCase().includes("alpha(")&&!t.includes("DXImageTransform.Microsoft")&&!t.includes("data:image/svg+xml")}}Filter.names=["filter"];e.exports=Filter},142:(e,t,r)=>{let i=r(8250);let s=r(7031);class FlexBasis extends s{normalize(){return"flex-basis"}prefixed(e,t){let r;[r,t]=i(t);if(r===2012){return t+"flex-preferred-size"}return super.prefixed(e,t)}set(e,t){let r;[r,t]=i(t);if(r===2012||r==="final"){return super.set(e,t)}return undefined}}FlexBasis.names=["flex-basis","flex-preferred-size"];e.exports=FlexBasis},6010:(e,t,r)=>{let i=r(8250);let s=r(7031);class FlexDirection extends s{normalize(){return"flex-direction"}insert(e,t,r){let s;[s,t]=i(t);if(s!==2009){return super.insert(e,t,r)}let n=e.parent.some((e=>e.prop===t+"box-orient"||e.prop===t+"box-direction"));if(n){return undefined}let a=e.value;let l,o;if(a==="inherit"||a==="initial"||a==="unset"){l=a;o=a}else{l=a.includes("row")?"horizontal":"vertical";o=a.includes("reverse")?"reverse":"normal"}let u=this.clone(e);u.prop=t+"box-orient";u.value=l;if(this.needCascade(e)){u.raws.before=this.calcBefore(r,e,t)}e.parent.insertBefore(e,u);u=this.clone(e);u.prop=t+"box-direction";u.value=o;if(this.needCascade(e)){u.raws.before=this.calcBefore(r,e,t)}return e.parent.insertBefore(e,u)}old(e,t){let r;[r,t]=i(t);if(r===2009){return[t+"box-orient",t+"box-direction"]}else{return super.old(e,t)}}}FlexDirection.names=["flex-direction","box-direction","box-orient"];e.exports=FlexDirection},2895:(e,t,r)=>{let i=r(8250);let s=r(7031);class FlexFlow extends s{insert(e,t,r){let s;[s,t]=i(t);if(s!==2009){return super.insert(e,t,r)}let n=e.value.split(/\s+/).filter((e=>e!=="wrap"&&e!=="nowrap"&&"wrap-reverse"));if(n.length===0){return undefined}let a=e.parent.some((e=>e.prop===t+"box-orient"||e.prop===t+"box-direction"));if(a){return undefined}let l=n[0];let o=l.includes("row")?"horizontal":"vertical";let u=l.includes("reverse")?"reverse":"normal";let p=this.clone(e);p.prop=t+"box-orient";p.value=o;if(this.needCascade(e)){p.raws.before=this.calcBefore(r,e,t)}e.parent.insertBefore(e,p);p=this.clone(e);p.prop=t+"box-direction";p.value=u;if(this.needCascade(e)){p.raws.before=this.calcBefore(r,e,t)}return e.parent.insertBefore(e,p)}}FlexFlow.names=["flex-flow","box-direction","box-orient"];e.exports=FlexFlow},4204:(e,t,r)=>{let i=r(8250);let s=r(7031);class Flex extends s{normalize(){return"flex"}prefixed(e,t){let r;[r,t]=i(t);if(r===2009){return t+"box-flex"}if(r===2012){return t+"flex-positive"}return super.prefixed(e,t)}}Flex.names=["flex-grow","flex-positive"];e.exports=Flex},4325:(e,t,r)=>{let i=r(8250);let s=r(7031);class FlexShrink extends s{normalize(){return"flex-shrink"}prefixed(e,t){let r;[r,t]=i(t);if(r===2012){return t+"flex-negative"}return super.prefixed(e,t)}set(e,t){let r;[r,t]=i(t);if(r===2012||r==="final"){return super.set(e,t)}return undefined}}FlexShrink.names=["flex-shrink","flex-negative"];e.exports=FlexShrink},8250:e=>{e.exports=function(e){let t;if(e==="-webkit- 2009"||e==="-moz-"){t=2009}else if(e==="-ms-"){t=2012}else if(e==="-webkit-"){t="final"}if(e==="-webkit- 2009"){e="-webkit-"}return[t,e]}},640:(e,t,r)=>{let i=r(8250);let s=r(7031);class FlexWrap extends s{set(e,t){let r=i(t)[0];if(r!==2009){return super.set(e,t)}return undefined}}FlexWrap.names=["flex-wrap"];e.exports=FlexWrap},5588:(e,t,r)=>{let i=r(977).list;let s=r(8250);let n=r(7031);class Flex extends n{prefixed(e,t){let r;[r,t]=s(t);if(r===2009){return t+"box-flex"}return super.prefixed(e,t)}normalize(){return"flex"}set(e,t){let r=s(t)[0];if(r===2009){e.value=i.space(e.value)[0];e.value=Flex.oldValues[e.value]||e.value;return super.set(e,t)}if(r===2012){let t=i.space(e.value);if(t.length===3&&t[2]==="0"){e.value=t.slice(0,2).concat("0px").join(" ")}}return super.set(e,t)}}Flex.names=["flex","box-flex"];Flex.oldValues={auto:"1",none:"0"};e.exports=Flex},801:(e,t,r)=>{let i=r(8901);class Fullscreen extends i{prefixed(e){if(e==="-webkit-"){return":-webkit-full-screen"}if(e==="-moz-"){return":-moz-full-screen"}return`:${e}fullscreen`}}Fullscreen.names=[":fullscreen"];e.exports=Fullscreen},9207:(e,t,r)=>{let i=r(1036);let s=r(6907);let n=r(6118);let a=r(7360);let l=r(4449);let o=/top|left|right|bottom/gi;class Gradient extends a{replace(e,t){let r=i(e);for(let e of r.nodes){let r=this.name;if(e.type==="function"&&e.value===r){e.nodes=this.newDirection(e.nodes);e.nodes=this.normalize(e.nodes,r);if(t==="-webkit- old"){let t=this.oldWebkit(e);if(!t){return false}}else{e.nodes=this.convertDirection(e.nodes);e.value=t+e.value}}}return r.toString()}replaceFirst(e,...t){let r=t.map((e=>{if(e===" "){return{type:"space",value:e}}return{type:"word",value:e}}));return r.concat(e.slice(1))}normalizeUnit(e,t){let r=parseFloat(e);let i=r/t*360;return`${i}deg`}normalize(e,t){if(!e[0])return e;if(/-?\d+(.\d+)?grad/.test(e[0].value)){e[0].value=this.normalizeUnit(e[0].value,400)}else if(/-?\d+(.\d+)?rad/.test(e[0].value)){e[0].value=this.normalizeUnit(e[0].value,2*Math.PI)}else if(/-?\d+(.\d+)?turn/.test(e[0].value)){e[0].value=this.normalizeUnit(e[0].value,1)}else if(e[0].value.includes("deg")){let t=parseFloat(e[0].value);t=s.wrap(0,360,t);e[0].value=`${t}deg`}if(t==="linear-gradient"||t==="repeating-linear-gradient"){let t=e[0].value;if(t==="0deg"||t==="0"){e=this.replaceFirst(e,"to"," ","top")}else if(t==="90deg"){e=this.replaceFirst(e,"to"," ","right")}else if(t==="180deg"){e=this.replaceFirst(e,"to"," ","bottom")}else if(t==="270deg"){e=this.replaceFirst(e,"to"," ","left")}}return e}newDirection(e){if(e[0].value==="to"){return e}o.lastIndex=0;if(!o.test(e[0].value)){return e}e.unshift({type:"word",value:"to"},{type:"space",value:" "});for(let t=2;t0){if(e[0].value==="to"){this.fixDirection(e)}else if(e[0].value.includes("deg")){this.fixAngle(e)}else if(this.isRadial(e)){this.fixRadial(e)}}return e}fixDirection(e){e.splice(0,2);for(let t of e){if(t.type==="div"){break}if(t.type==="word"){t.value=this.revertDirection(t.value)}}}fixAngle(e){let t=e[0].value;t=parseFloat(t);t=Math.abs(450-t)%360;t=this.roundFloat(t,3);e[0].value=`${t}deg`}fixRadial(e){let t=[];let r=[];let i,s,n,a,l;for(a=0;a{let i=r(7031);let s=r(8182);class GridArea extends i{insert(e,t,r,i){if(t!=="-ms-")return super.insert(e,t,r);let n=s.parse(e);let[a,l]=s.translate(n,0,2);let[o,u]=s.translate(n,1,3);[["grid-row",a],["grid-row-span",l],["grid-column",o],["grid-column-span",u]].forEach((([t,r])=>{s.insertDecl(e,t,r)}));s.warnTemplateSelectorNotFound(e,i);s.warnIfGridRowColumnExists(e,i);return undefined}}GridArea.names=["grid-area"];e.exports=GridArea},4406:(e,t,r)=>{let i=r(7031);class GridColumnAlign extends i{check(e){return!e.value.includes("flex-")&&e.value!=="baseline"}prefixed(e,t){return t+"grid-column-align"}normalize(){return"justify-self"}}GridColumnAlign.names=["grid-column-align"];e.exports=GridColumnAlign},1683:(e,t,r)=>{let i=r(7031);let{isPureNumber:s}=r(4449);class GridEnd extends i{insert(e,t,r,i){if(t!=="-ms-")return super.insert(e,t,r);let n=this.clone(e);let a=e.prop.replace(/end$/,"start");let l=t+e.prop.replace(/end$/,"span");if(e.parent.some((e=>e.prop===l))){return undefined}n.prop=l;if(e.value.includes("span")){n.value=e.value.replace(/span\s/i,"")}else{let t;e.parent.walkDecls(a,(e=>{t=e}));if(t){if(s(t.value)){let r=Number(e.value)-Number(t.value)+"";n.value=r}else{return undefined}}else{e.warn(i,`Can not prefix ${e.prop} (${a} is not found)`)}}e.cloneBefore(n);return undefined}}GridEnd.names=["grid-row-end","grid-column-end"];e.exports=GridEnd},1959:(e,t,r)=>{let i=r(7031);class GridRowAlign extends i{check(e){return!e.value.includes("flex-")&&e.value!=="baseline"}prefixed(e,t){return t+"grid-row-align"}normalize(){return"align-self"}}GridRowAlign.names=["grid-row-align"];e.exports=GridRowAlign},9137:(e,t,r)=>{let i=r(7031);let s=r(8182);class GridRowColumn extends i{insert(e,t,r){if(t!=="-ms-")return super.insert(e,t,r);let i=s.parse(e);let[n,a]=s.translate(i,0,1);let l=i[0]&&i[0].includes("span");if(l){a=i[0].join("").replace(/\D/g,"")}[[e.prop,n],[`${e.prop}-span`,a]].forEach((([t,r])=>{s.insertDecl(e,t,r)}));return undefined}}GridRowColumn.names=["grid-row","grid-column"];e.exports=GridRowColumn},9381:(e,t,r)=>{let i=r(7031);let{prefixTrackProp:s,prefixTrackValue:n,autoplaceGridItems:a,getGridGap:l,inheritGridGap:o}=r(8182);let u=r(3664);class GridRowsColumns extends i{prefixed(e,t){if(t==="-ms-"){return s({prop:e,prefix:t})}return super.prefixed(e,t)}normalize(e){return e.replace(/^grid-(rows|columns)/,"grid-template-$1")}insert(e,t,r,i){if(t!=="-ms-")return super.insert(e,t,r);let{parent:p,prop:d,value:c}=e;let h=d.includes("rows");let m=d.includes("columns");let x=p.some((e=>e.prop==="grid-template"||e.prop==="grid-template-areas"));if(x&&h){return false}let g=new u({options:{}});let w=g.gridStatus(p,i);let b=l(e);b=o(e,b)||b;let v=h?b.row:b.column;if((w==="no-autoplace"||w===true)&&!x){v=null}let k=n({value:c,gap:v});e.cloneBefore({prop:s({prop:d,prefix:t}),value:k});let y=p.nodes.find((e=>e.prop==="grid-auto-flow"));let S="row";if(y&&!g.disabled(y,i)){S=y.value.trim()}if(w==="autoplace"){let t=p.nodes.find((e=>e.prop==="grid-template-rows"));if(!t&&x){return undefined}else if(!t&&!x){e.warn(i,"Autoplacement does not work without grid-template-rows property");return undefined}let r=p.nodes.find((e=>e.prop==="grid-template-columns"));if(!r&&!x){e.warn(i,"Autoplacement does not work without grid-template-columns property")}if(m&&!x){a(e,i,b,S)}}return undefined}}GridRowsColumns.names=["grid-template-rows","grid-template-columns","grid-rows","grid-columns"];e.exports=GridRowsColumns},3587:(e,t,r)=>{let i=r(7031);class GridStart extends i{check(e){let t=e.value;return!t.includes("/")&&!t.includes("span")}normalize(e){return e.replace("-start","")}prefixed(e,t){let r=super.prefixed(e,t);if(t==="-ms-"){r=r.replace("-start","")}return r}}GridStart.names=["grid-row-start","grid-column-start"];e.exports=GridStart},7226:(e,t,r)=>{let i=r(7031);let{parseGridAreas:s,warnMissedAreas:n,prefixTrackProp:a,prefixTrackValue:l,getGridGap:o,warnGridGap:u,inheritGridGap:p}=r(8182);function getGridRows(e){return e.trim().slice(1,-1).split(/["']\s*["']?/g)}class GridTemplateAreas extends i{insert(e,t,r,i){if(t!=="-ms-")return super.insert(e,t,r);let d=false;let c=false;let h=e.parent;let m=o(e);m=p(e,m)||m;h.walkDecls(/-ms-grid-rows/,(e=>e.remove()));h.walkDecls(/grid-template-(rows|columns)/,(e=>{if(e.prop==="grid-template-rows"){c=true;let{prop:r,value:i}=e;e.cloneBefore({prop:a({prop:r,prefix:t}),value:l({value:i,gap:m.row})})}else{d=true}}));let x=getGridRows(e.value);if(d&&!c&&m.row&&x.length>1){e.cloneBefore({prop:"-ms-grid-rows",value:l({value:`repeat(${x.length}, auto)`,gap:m.row}),raws:{}})}u({gap:m,hasColumns:d,decl:e,result:i});let g=s({rows:x,gap:m});n(g,e,i);return e}}GridTemplateAreas.names=["grid-template-areas"];e.exports=GridTemplateAreas},3604:(e,t,r)=>{let i=r(7031);let{parseTemplate:s,warnMissedAreas:n,getGridGap:a,warnGridGap:l,inheritGridGap:o}=r(8182);class GridTemplate extends i{insert(e,t,r,i){if(t!=="-ms-")return super.insert(e,t,r);if(e.parent.some((e=>e.prop==="-ms-grid-rows"))){return undefined}let u=a(e);let p=o(e,u);let{rows:d,columns:c,areas:h}=s({decl:e,gap:p||u});let m=Object.keys(h).length>0;let x=Boolean(d);let g=Boolean(c);l({gap:u,hasColumns:g,decl:e,result:i});n(h,e,i);if(x&&g||m){e.cloneBefore({prop:"-ms-grid-rows",value:d,raws:{}})}if(g){e.cloneBefore({prop:"-ms-grid-columns",value:c,raws:{}})}return e}}GridTemplate.names=["grid-template"];e.exports=GridTemplate},8182:(e,t,r)=>{let i=r(1036);let s=r(977).list;let n=r(4449).uniq;let a=r(4449).escapeRegexp;let l=r(4449).splitSelector;function convert(e){if(e&&e.length===2&&e[0]==="span"&&parseInt(e[1],10)>0){return[false,parseInt(e[1],10)]}if(e&&e.length===1&&parseInt(e[0],10)>0){return[parseInt(e[0],10),false]}return[false,false]}t.translate=translate;function translate(e,t,r){let i=e[t];let s=e[r];if(!i){return[false,false]}let[n,a]=convert(i);let[l,o]=convert(s);if(n&&!s){return[n,false]}if(a&&l){return[l-a,a]}if(n&&o){return[n,o]}if(n&&l){return[n,l-n]}return[false,false]}t.parse=parse;function parse(e){let t=i(e.value);let r=[];let s=0;r[s]=[];for(let e of t.nodes){if(e.type==="div"){s+=1;r[s]=[]}else if(e.type==="word"){r[s].push(e.value)}}return r}t.insertDecl=insertDecl;function insertDecl(e,t,r){if(r&&!e.parent.some((e=>e.prop===`-ms-${t}`))){e.cloneBefore({prop:`-ms-${t}`,value:r.toString()})}}t.prefixTrackProp=prefixTrackProp;function prefixTrackProp({prop:e,prefix:t}){return t+e.replace("template-","")}function transformRepeat({nodes:e},{gap:t}){let{count:r,size:s}=e.reduce(((e,t)=>{if(t.type==="div"&&t.value===","){e.key="size"}else{e[e.key].push(i.stringify(t))}return e}),{key:"count",size:[],count:[]});if(t){s=s.filter((e=>e.trim()));let e=[];for(let i=1;i<=r;i++){s.forEach(((r,s)=>{if(s>0||i>1){e.push(t)}e.push(r)}))}return e.join(" ")}return`(${s.join("")})[${r.join("")}]`}t.prefixTrackValue=prefixTrackValue;function prefixTrackValue({value:e,gap:t}){let r=i(e).nodes.reduce(((e,r)=>{if(r.type==="function"&&r.value==="repeat"){return e.concat({type:"word",value:transformRepeat(r,{gap:t})})}if(t&&r.type==="space"){return e.concat({type:"space",value:" "},{type:"word",value:t},r)}return e.concat(r)}),[]);return i.stringify(r)}let o=/^\.+$/;function track(e,t){return{start:e,end:t,span:t-e}}function getColumns(e){return e.trim().split(/\s+/g)}t.parseGridAreas=parseGridAreas;function parseGridAreas({rows:e,gap:t}){return e.reduce(((e,r,i)=>{if(t.row)i*=2;if(r.trim()==="")return e;getColumns(r).forEach(((r,s)=>{if(o.test(r))return;if(t.column)s*=2;if(typeof e[r]==="undefined"){e[r]={column:track(s+1,s+2),row:track(i+1,i+2)}}else{let{column:t,row:n}=e[r];t.start=Math.min(t.start,s+1);t.end=Math.max(t.end,s+2);t.span=t.end-t.start;n.start=Math.min(n.start,i+1);n.end=Math.max(n.end,i+2);n.span=n.end-n.start}}));return e}),{})}function testTrack(e){return e.type==="word"&&/^\[.+]$/.test(e.value)}function verifyRowSize(e){if(e.areas.length>e.rows.length){e.rows.push("auto")}return e}t.parseTemplate=parseTemplate;function parseTemplate({decl:e,gap:t}){let r=i(e.value).nodes.reduce(((e,t)=>{let{type:r,value:s}=t;if(testTrack(t)||r==="space")return e;if(r==="string"){e=verifyRowSize(e);e.areas.push(s)}if(r==="word"||r==="function"){e[e.key].push(i.stringify(t))}if(r==="div"&&s==="/"){e.key="columns";e=verifyRowSize(e)}return e}),{key:"rows",columns:[],rows:[],areas:[]});return{areas:parseGridAreas({rows:r.areas,gap:t}),columns:prefixTrackValue({value:r.columns.join(" "),gap:t.column}),rows:prefixTrackValue({value:r.rows.join(" "),gap:t.row})}}function getMSDecls(e,t=false,r=false){let i=[{prop:"-ms-grid-row",value:String(e.row.start)}];if(e.row.span>1||t){i.push({prop:"-ms-grid-row-span",value:String(e.row.span)})}i.push({prop:"-ms-grid-column",value:String(e.column.start)});if(e.column.span>1||r){i.push({prop:"-ms-grid-column-span",value:String(e.column.span)})}return i}function getParentMedia(e){if(e.type==="atrule"&&e.name==="media"){return e}if(!e.parent){return false}return getParentMedia(e.parent)}function changeDuplicateAreaSelectors(e,t){e=e.map((e=>{let t=s.space(e);let r=s.comma(e);if(t.length>r.length){e=t.slice(-1).join("")}return e}));return e.map((e=>{let r=t.map(((t,r)=>{let i=r===0?"":" ";return`${i}${t} > ${e}`}));return r}))}function selectorsEqual(e,t){return e.selectors.some((e=>t.selectors.includes(e)))}function parseGridTemplatesData(e){let t=[];e.walkDecls(/grid-template(-areas)?$/,(e=>{let r=e.parent;let i=getParentMedia(r);let s=getGridGap(e);let a=inheritGridGap(e,s);let{areas:l}=parseTemplate({decl:e,gap:a||s});let o=Object.keys(l);if(o.length===0){return true}let u=t.reduce(((e,{allAreas:t},r)=>{let i=t&&o.some((e=>t.includes(e)));return i?r:e}),null);if(u!==null){let{allAreas:e,rules:s}=t[u];let a=s.some((e=>e.hasDuplicates===false&&selectorsEqual(e,r)));let p=false;let d=s.reduce(((e,t)=>{if(!t.params&&selectorsEqual(t,r)){p=true;return t.duplicateAreaNames}if(!p){o.forEach((r=>{if(t.areas[r]){e.push(r)}}))}return n(e)}),[]);s.forEach((e=>{o.forEach((t=>{let r=e.areas[t];if(r&&r.row.span!==l[t].row.span){l[t].row.updateSpan=true}if(r&&r.column.span!==l[t].column.span){l[t].column.updateSpan=true}}))}));t[u].allAreas=n([...e,...o]);t[u].rules.push({hasDuplicates:!a,params:i.params,selectors:r.selectors,node:r,duplicateAreaNames:d,areas:l})}else{t.push({allAreas:o,areasCount:0,rules:[{hasDuplicates:false,duplicateRules:[],params:i.params,selectors:r.selectors,node:r,duplicateAreaNames:[],areas:l}]})}return undefined}));return t}t.insertAreas=insertAreas;function insertAreas(e,t){let r=parseGridTemplatesData(e);if(r.length===0){return undefined}let i={};e.walkDecls("grid-area",(n=>{let a=n.parent;let l=a.first.prop==="-ms-grid-row";let o=getParentMedia(a);if(t(n)){return undefined}let u=e.index(o||a);let p=n.value;let d=r.filter((e=>e.allAreas.includes(p)))[0];if(!d){return true}let c=d.allAreas[d.allAreas.length-1];let h=s.space(a.selector);let m=s.comma(a.selector);let x=h.length>1&&h.length>m.length;if(l){return false}if(!i[c]){i[c]={}}let g=false;for(let t of d.rules){let r=t.areas[p];let s=t.duplicateAreaNames.includes(p);if(!r){let t=i[c].lastRule;let r;if(t){r=e.index(t)}else{r=-1}if(u>r){i[c].lastRule=o||a}continue}if(t.params&&!i[c][t.params]){i[c][t.params]=[]}if((!t.hasDuplicates||!s)&&!t.params){getMSDecls(r,false,false).reverse().forEach((e=>a.prepend(Object.assign(e,{raws:{between:n.raws.between}}))));i[c].lastRule=a;g=true}else if(t.hasDuplicates&&!t.params&&!x){let e=a.clone();e.removeAll();getMSDecls(r,r.row.updateSpan,r.column.updateSpan).reverse().forEach((t=>e.prepend(Object.assign(t,{raws:{between:n.raws.between}}))));e.selectors=changeDuplicateAreaSelectors(e.selectors,t.selectors);if(i[c].lastRule){i[c].lastRule.after(e)}i[c].lastRule=e;g=true}else if(t.hasDuplicates&&!t.params&&x&&a.selector.includes(t.selectors[0])){a.walkDecls(/-ms-grid-(row|column)/,(e=>e.remove()));getMSDecls(r,r.row.updateSpan,r.column.updateSpan).reverse().forEach((e=>a.prepend(Object.assign(e,{raws:{between:n.raws.between}}))))}else if(t.params){let l=a.clone();l.removeAll();getMSDecls(r,r.row.updateSpan,r.column.updateSpan).reverse().forEach((e=>l.prepend(Object.assign(e,{raws:{between:n.raws.between}}))));if(t.hasDuplicates&&s){l.selectors=changeDuplicateAreaSelectors(l.selectors,t.selectors)}l.raws=t.node.raws;if(e.index(t.node.parent)>u){t.node.parent.append(l)}else{i[c][t.params].push(l)}if(!g){i[c].lastRule=o||a}}}return undefined}));Object.keys(i).forEach((e=>{let t=i[e];let r=t.lastRule;Object.keys(t).reverse().filter((e=>e!=="lastRule")).forEach((e=>{if(t[e].length>0&&r){r.after({name:"media",params:e});r.next().append(t[e])}}))}));return undefined}t.warnMissedAreas=warnMissedAreas;function warnMissedAreas(e,t,r){let i=Object.keys(e);t.root().walkDecls("grid-area",(e=>{i=i.filter((t=>t!==e.value))}));if(i.length>0){t.warn(r,"Can not find grid areas: "+i.join(", "))}return undefined}t.warnTemplateSelectorNotFound=warnTemplateSelectorNotFound;function warnTemplateSelectorNotFound(e,t){let r=e.parent;let i=e.root();let n=false;let a=s.space(r.selector).filter((e=>e!==">")).slice(0,-1);if(a.length>0){let r=false;let l=null;i.walkDecls(/grid-template(-areas)?$/,(t=>{let i=t.parent;let o=i.selectors;let{areas:u}=parseTemplate({decl:t,gap:getGridGap(t)});let p=u[e.value];for(let e of o){if(r){break}let t=s.space(e).filter((e=>e!==">"));r=t.every(((e,t)=>e===a[t]))}if(r||!p){return true}if(!l){l=i.selector}if(l&&l!==i.selector){n=true}return undefined}));if(!r&&n){e.warn(t,"Autoprefixer cannot find a grid-template "+`containing the duplicate grid-area "${e.value}" `+`with full selector matching: ${a.join(" ")}`)}}}t.warnIfGridRowColumnExists=warnIfGridRowColumnExists;function warnIfGridRowColumnExists(e,t){let r=e.parent;let i=[];r.walkDecls(/^grid-(row|column)/,(e=>{if(!e.prop.endsWith("-end")&&!e.value.startsWith("span")&&!e.prop.endsWith("-gap")){i.push(e)}}));if(i.length>0){i.forEach((e=>{e.warn(t,"You already have a grid-area declaration present in the rule. "+`You should use either grid-area or ${e.prop}, not both`)}))}return undefined}t.getGridGap=getGridGap;function getGridGap(e){let t={};let r=/^(grid-)?((row|column)-)?gap$/;e.parent.walkDecls(r,(({prop:e,value:r})=>{if(/^(grid-)?gap$/.test(e)){let[e,,s]=i(r).nodes;t.row=e&&i.stringify(e);t.column=s?i.stringify(s):t.row}if(/^(grid-)?row-gap$/.test(e))t.row=r;if(/^(grid-)?column-gap$/.test(e))t.column=r}));return t}function parseMediaParams(e){if(!e){return[]}let t=i(e);let r;let s;t.walk((e=>{if(e.type==="word"&&/min|max/g.test(e.value)){r=e.value}else if(e.value.includes("px")){s=parseInt(e.value.replace(/\D/g,""))}}));return[r,s]}function shouldInheritGap(e,t){let r;let i=l(e);let s=l(t);if(i[0].lengths[0].length){let e=i[0].reduce(((e,[t],r)=>{let i=s[0][0][0];if(t===i){return r}return false}),false);if(e){r=s[0].every(((t,r)=>t.every(((t,s)=>i[0].slice(e)[r][s]===t))))}}else{r=s.some((e=>e.every(((e,t)=>e.every(((e,r)=>i[0][t][r]===e))))))}return r}t.inheritGridGap=inheritGridGap;function inheritGridGap(e,t){let r=e.parent;let i=getParentMedia(r);let s=r.root();let n=l(r.selector);if(Object.keys(t).length>0){return false}let[o]=parseMediaParams(i.params);let u=n[0];let p=a(u[u.length-1][0]);let d=new RegExp(`(${p}$)|(${p}[,.])`);let c;s.walkRules(d,(e=>{let t;if(r.toString()===e.toString()){return false}e.walkDecls("grid-gap",(e=>t=getGridGap(e)));if(!t||Object.keys(t).length===0){return true}if(!shouldInheritGap(r.selector,e.selector)){return true}let i=getParentMedia(e);if(i){let e=parseMediaParams(i.params)[0];if(e===o){c=t;return true}}else{c=t;return true}return undefined}));if(c&&Object.keys(c).length>0){return c}return false}t.warnGridGap=warnGridGap;function warnGridGap({gap:e,hasColumns:t,decl:r,result:i}){let s=e.row&&e.column;if(!t&&(s||e.column&&!e.row)){delete e.column;r.warn(i,"Can not implement grid-gap without grid-template-columns")}}function normalizeRowColumn(e){let t=i(e).nodes.reduce(((e,t)=>{if(t.type==="function"&&t.value==="repeat"){let r="count";let[s,n]=t.nodes.reduce(((e,t)=>{if(t.type==="word"&&r==="count"){e[0]=Math.abs(parseInt(t.value));return e}if(t.type==="div"&&t.value===","){r="value";return e}if(r==="value"){e[1]+=i.stringify(t)}return e}),[0,""]);if(s){for(let t=0;te.prop==="grid-template-rows"));let a=normalizeRowColumn(n.value);let l=normalizeRowColumn(e.value);let o=a.map(((e,t)=>Array.from({length:l.length},((e,r)=>r+t*l.length+1)).join(" ")));let u=parseGridAreas({rows:o,gap:r});let p=Object.keys(u);let d=p.map((e=>u[e]));if(i.includes("column")){d=d.sort(((e,t)=>e.column.start-t.column.start))}d.reverse().forEach(((e,t)=>{let{column:r,row:i}=e;let n=s.selectors.map((e=>e+` > *:nth-child(${p.length-t})`)).join(", ");let a=s.clone().removeAll();a.selector=n;a.append({prop:"-ms-grid-row",value:i.start});a.append({prop:"-ms-grid-column",value:r.start});s.after(a)}));return undefined}},2733:(e,t,r)=>{let i=r(7031);class ImageRendering extends i{check(e){return e.value==="pixelated"}prefixed(e,t){if(t==="-ms-"){return"-ms-interpolation-mode"}return super.prefixed(e,t)}set(e,t){if(t!=="-ms-")return super.set(e,t);e.prop="-ms-interpolation-mode";e.value="nearest-neighbor";return e}normalize(){return"image-rendering"}process(e,t){return super.process(e,t)}}ImageRendering.names=["image-rendering","interpolation-mode"];e.exports=ImageRendering},4634:(e,t,r)=>{let i=r(7360);class ImageSet extends i{replace(e,t){let r=super.replace(e,t);if(t==="-webkit-"){r=r.replace(/("[^"]+"|'[^']+')(\s+\d+\w)/gi,"url($1)$2")}return r}}ImageSet.names=["image-set"];e.exports=ImageSet},5513:(e,t,r)=>{let i=r(7031);class InlineLogical extends i{prefixed(e,t){return t+e.replace("-inline","")}normalize(e){return e.replace(/(margin|padding|border)-(start|end)/,"$1-inline-$2")}}InlineLogical.names=["border-inline-start","border-inline-end","margin-inline-start","margin-inline-end","padding-inline-start","padding-inline-end","border-start","border-end","margin-start","margin-end","padding-start","padding-end"];e.exports=InlineLogical},4499:(e,t,r)=>{let i=r(6118);let s=r(7360);function regexp(e){return new RegExp(`(^|[\\s,(])(${e}($|[\\s),]))`,"gi")}class Intrinsic extends s{regexp(){if(!this.regexpCache)this.regexpCache=regexp(this.name);return this.regexpCache}isStretch(){return this.name==="stretch"||this.name==="fill"||this.name==="fill-available"}replace(e,t){if(t==="-moz-"&&this.isStretch()){return e.replace(this.regexp(),"$1-moz-available$3")}if(t==="-webkit-"&&this.isStretch()){return e.replace(this.regexp(),"$1-webkit-fill-available$3")}return super.replace(e,t)}old(e){let t=e+this.name;if(this.isStretch()){if(e==="-moz-"){t="-moz-available"}else if(e==="-webkit-"){t="-webkit-fill-available"}}return new i(this.name,t,t,regexp(t))}add(e,t){if(e.prop.includes("grid")&&t!=="-webkit-"){return undefined}return super.add(e,t)}}Intrinsic.names=["max-content","min-content","fit-content","fill","fill-available","stretch"];e.exports=Intrinsic},9699:(e,t,r)=>{let i=r(8250);let s=r(7031);class JustifyContent extends s{prefixed(e,t){let r;[r,t]=i(t);if(r===2009){return t+"box-pack"}if(r===2012){return t+"flex-pack"}return super.prefixed(e,t)}normalize(){return"justify-content"}set(e,t){let r=i(t)[0];if(r===2009||r===2012){let i=JustifyContent.oldValues[e.value]||e.value;e.value=i;if(r!==2009||i!=="distribute"){return super.set(e,t)}}else if(r==="final"){return super.set(e,t)}return undefined}}JustifyContent.names=["justify-content","flex-pack","box-pack"];JustifyContent.oldValues={"flex-end":"end","flex-start":"start","space-between":"justify","space-around":"distribute"};e.exports=JustifyContent},204:(e,t,r)=>{let i=r(7031);class MaskBorder extends i{normalize(){return this.name.replace("box-image","border")}prefixed(e,t){let r=super.prefixed(e,t);if(t==="-webkit-"){r=r.replace("border","box-image")}return r}}MaskBorder.names=["mask-border","mask-border-source","mask-border-slice","mask-border-width","mask-border-outset","mask-border-repeat","mask-box-image","mask-box-image-source","mask-box-image-slice","mask-box-image-width","mask-box-image-outset","mask-box-image-repeat"];e.exports=MaskBorder},4082:(e,t,r)=>{let i=r(7031);class MaskComposite extends i{insert(e,t,r){let i=e.prop==="mask-composite";let s;if(i){s=e.value.split(",")}else{s=e.value.match(MaskComposite.regexp)||[]}s=s.map((e=>e.trim())).filter((e=>e));let n=s.length;let a;if(n){a=this.clone(e);a.value=s.map((e=>MaskComposite.oldValues[e]||e)).join(", ");if(s.includes("intersect")){a.value+=", xor"}a.prop=t+"mask-composite"}if(i){if(!n){return undefined}if(this.needCascade(e)){a.raws.before=this.calcBefore(r,e,t)}return e.parent.insertBefore(e,a)}let l=this.clone(e);l.prop=t+l.prop;if(n){l.value=l.value.replace(MaskComposite.regexp,"")}if(this.needCascade(e)){l.raws.before=this.calcBefore(r,e,t)}e.parent.insertBefore(e,l);if(!n){return e}if(this.needCascade(e)){a.raws.before=this.calcBefore(r,e,t)}return e.parent.insertBefore(e,a)}}MaskComposite.names=["mask","mask-composite"];MaskComposite.oldValues={add:"source-over",subtract:"source-out",intersect:"source-in",exclude:"xor"};MaskComposite.regexp=new RegExp(`\\s+(${Object.keys(MaskComposite.oldValues).join("|")})\\b(?!\\))\\s*(?=[,])`,"ig");e.exports=MaskComposite},5030:(e,t,r)=>{let i=r(8250);let s=r(7031);class Order extends s{prefixed(e,t){let r;[r,t]=i(t);if(r===2009){return t+"box-ordinal-group"}if(r===2012){return t+"flex-order"}return super.prefixed(e,t)}normalize(){return"order"}set(e,t){let r=i(t)[0];if(r===2009&&/\d/.test(e.value)){e.value=(parseInt(e.value)+1).toString();return super.set(e,t)}return super.set(e,t)}}Order.names=["order","flex-order","box-ordinal-group"];e.exports=Order},2511:(e,t,r)=>{let i=r(7031);class OverscrollBehavior extends i{prefixed(e,t){return t+"scroll-chaining"}normalize(){return"overscroll-behavior"}set(e,t){if(e.value==="auto"){e.value="chained"}else if(e.value==="none"||e.value==="contain"){e.value="none"}return super.set(e,t)}}OverscrollBehavior.names=["overscroll-behavior","scroll-chaining"];e.exports=OverscrollBehavior},4477:(e,t,r)=>{let i=r(6118);let s=r(7360);class Pixelated extends s{replace(e,t){if(t==="-webkit-"){return e.replace(this.regexp(),"$1-webkit-optimize-contrast")}if(t==="-moz-"){return e.replace(this.regexp(),"$1-moz-crisp-edges")}return super.replace(e,t)}old(e){if(e==="-webkit-"){return new i(this.name,"-webkit-optimize-contrast")}if(e==="-moz-"){return new i(this.name,"-moz-crisp-edges")}return super.old(e)}}Pixelated.names=["pixelated"];e.exports=Pixelated},2209:(e,t,r)=>{let i=r(7031);let s=r(8182);class PlaceSelf extends i{insert(e,t,r){if(t!=="-ms-")return super.insert(e,t,r);if(e.parent.some((e=>e.prop==="-ms-grid-row-align"))){return undefined}let[[i,n]]=s.parse(e);if(n){s.insertDecl(e,"grid-row-align",i);s.insertDecl(e,"grid-column-align",n)}else{s.insertDecl(e,"grid-row-align",i);s.insertDecl(e,"grid-column-align",i)}return undefined}}PlaceSelf.names=["place-self"];e.exports=PlaceSelf},4399:(e,t,r)=>{let i=r(8901);class PlaceholderShown extends i{prefixed(e){if(e==="-ms-"){return":-ms-input-placeholder"}return`:${e}placeholder-shown`}}PlaceholderShown.names=[":placeholder-shown"];e.exports=PlaceholderShown},2406:(e,t,r)=>{let i=r(8901);class Placeholder extends i{possible(){return super.possible().concat(["-moz- old","-ms- old"])}prefixed(e){if(e==="-webkit-"){return"::-webkit-input-placeholder"}if(e==="-ms-"){return"::-ms-input-placeholder"}if(e==="-ms- old"){return":-ms-input-placeholder"}if(e==="-moz- old"){return":-moz-placeholder"}return`::${e}placeholder`}}Placeholder.names=["::placeholder"];e.exports=Placeholder},9494:(e,t,r)=>{let i=r(7031);class PrintColorAdjust extends i{prefixed(e,t){if(t==="-moz-"){return"color-adjust"}else{return t+"print-color-adjust"}}normalize(){return"print-color-adjust"}}PrintColorAdjust.names=["print-color-adjust","color-adjust"];e.exports=PrintColorAdjust},7345:(e,t,r)=>{let i=r(7031);class TextDecorationSkipInk extends i{set(e,t){if(e.prop==="text-decoration-skip-ink"&&e.value==="auto"){e.prop=t+"text-decoration-skip";e.value="ink";return e}else{return super.set(e,t)}}}TextDecorationSkipInk.names=["text-decoration-skip-ink","text-decoration-skip"];e.exports=TextDecorationSkipInk},9336:(e,t,r)=>{let i=r(7031);const s=["none","underline","overline","line-through","blink","inherit","initial","unset"];class TextDecoration extends i{check(e){return e.value.split(/\s+/).some((e=>!s.includes(e)))}}TextDecoration.names=["text-decoration"];e.exports=TextDecoration},874:(e,t,r)=>{let i=r(7031);class TextEmphasisPosition extends i{set(e,t){if(t==="-webkit-"){e.value=e.value.replace(/\s*(right|left)\s*/i,"")}return super.set(e,t)}}TextEmphasisPosition.names=["text-emphasis-position"];e.exports=TextEmphasisPosition},103:(e,t,r)=>{let i=r(7031);class TransformDecl extends i{keyframeParents(e){let{parent:t}=e;while(t){if(t.type==="atrule"&&t.name==="keyframes"){return true}({parent:t}=t)}return false}contain3d(e){if(e.prop==="transform-origin"){return false}for(let t of TransformDecl.functions3d){if(e.value.includes(`${t}(`)){return true}}return false}set(e,t){e=super.set(e,t);if(t==="-ms-"){e.value=e.value.replace(/rotatez/gi,"rotate")}return e}insert(e,t,r){if(t==="-ms-"){if(!this.contain3d(e)&&!this.keyframeParents(e)){return super.insert(e,t,r)}}else if(t==="-o-"){if(!this.contain3d(e)){return super.insert(e,t,r)}}else{return super.insert(e,t,r)}return undefined}}TransformDecl.names=["transform","transform-origin"];TransformDecl.functions3d=["matrix3d","translate3d","translateZ","scale3d","scaleZ","rotate3d","rotateX","rotateY","perspective"];e.exports=TransformDecl},2558:(e,t,r)=>{let i=r(7031);class UserSelect extends i{set(e,t){if(t==="-ms-"&&e.value==="contain"){e.value="element"}return super.set(e,t)}insert(e,t,r){if(e.value==="all"&&t==="-ms-"){return undefined}else{return super.insert(e,t,r)}}}UserSelect.names=["user-select"];e.exports=UserSelect},4841:(e,t,r)=>{let i=r(7031);class WritingMode extends i{insert(e,t,r){if(t==="-ms-"){let i=this.set(this.clone(e),t);if(this.needCascade(e)){i.raws.before=this.calcBefore(r,e,t)}let s="ltr";e.parent.nodes.forEach((e=>{if(e.prop==="direction"){if(e.value==="rtl"||e.value==="ltr")s=e.value}}));i.value=WritingMode.msValues[s][e.value]||e.value;return e.parent.insertBefore(e,i)}return super.insert(e,t,r)}}WritingMode.names=["writing-mode"];WritingMode.msValues={ltr:{"horizontal-tb":"lr-tb","vertical-rl":"tb-rl","vertical-lr":"tb-lr"},rtl:{"horizontal-tb":"rl-tb","vertical-rl":"bt-rl","vertical-lr":"bt-lr"}};e.exports=WritingMode},7070:(e,t,r)=>{let i=r(6362);function capitalize(e){return e.slice(0,1).toUpperCase()+e.slice(1)}const s={ie:"IE",ie_mob:"IE Mobile",ios_saf:"iOS Safari",op_mini:"Opera Mini",op_mob:"Opera Mobile",and_chr:"Chrome for Android",and_ff:"Firefox for Android",and_uc:"UC for Android",and_qq:"QQ Browser",kaios:"KaiOS Browser",baidu:"Baidu Browser",samsung:"Samsung Internet"};function prefix(e,t,r){let i=` ${e}`;if(r)i+=" *";i+=": ";i+=t.map((e=>e.replace(/^-(.*)-$/g,"$1"))).join(", ");i+="\n";return i}e.exports=function(e){if(e.browsers.selected.length===0){return"No browsers selected"}let t={};for(let r of e.browsers.selected){let e=r.split(" ");let i=e[0];let n=e[1];i=s[i]||capitalize(i);if(t[i]){t[i].push(n)}else{t[i]=[n]}}let r="Browsers:\n";for(let e in t){let i=t[e];i=i.sort(((e,t)=>parseFloat(t)-parseFloat(e)));r+=` ${e}: ${i.join(", ")}\n`}let n=i.coverage(e.browsers.selected);let a=Math.round(n*100)/100;r+=`\nThese browsers account for ${a}% of all users globally\n`;let l=[];for(let t in e.add){let r=e.add[t];if(t[0]==="@"&&r.prefixes){l.push(prefix(t,r.prefixes))}}if(l.length>0){r+=`\nAt-Rules:\n${l.sort().join("")}`}let o=[];for(let t of e.add.selectors){if(t.prefixes){o.push(prefix(t.name,t.prefixes))}}if(o.length>0){r+=`\nSelectors:\n${o.sort().join("")}`}let u=[];let p=[];let d=false;for(let t in e.add){let r=e.add[t];if(t[0]!=="@"&&r.prefixes){let e=t.indexOf("grid-")===0;if(e)d=true;p.push(prefix(t,r.prefixes,e))}if(!Array.isArray(r.values)){continue}for(let e of r.values){let t=e.name.includes("grid");if(t)d=true;let r=prefix(e.name,e.prefixes,t);if(!u.includes(r)){u.push(r)}}}if(p.length>0){r+=`\nProperties:\n${p.sort().join("")}`}if(u.length>0){r+=`\nValues:\n${u.sort().join("")}`}if(d){r+="\n* - Prefixes will be added only on grid: true option.\n"}if(!l.length&&!o.length&&!p.length&&!u.length){r+="\nAwesome! Your browsers don't require any vendor prefixes."+"\nNow you can remove Autoprefixer from build steps."}return r}},6372:e=>{class OldSelector{constructor(e,t){this.prefix=t;this.prefixed=e.prefixed(this.prefix);this.regexp=e.regexp(this.prefix);this.prefixeds=e.possible().map((t=>[e.prefixed(t),e.regexp(t)]));this.unprefixed=e.name;this.nameRegexp=e.regexp()}isHack(e){let t=e.parent.index(e)+1;let r=e.parent.nodes;while(t{let i=r(4449);class OldValue{constructor(e,t,r,s){this.unprefixed=e;this.prefixed=t;this.string=r||t;this.regexp=s||i.regexp(t)}check(e){if(e.includes(this.string)){return!!e.match(this.regexp)}return false}}e.exports=OldValue},9852:(e,t,r)=>{let i=r(1269);let s=r(9235);let n=r(4449);function clone(e,t){let r=new e.constructor;for(let i of Object.keys(e||{})){let s=e[i];if(i==="parent"&&typeof s==="object"){if(t){r[i]=t}}else if(i==="source"||i===null){r[i]=s}else if(Array.isArray(s)){r[i]=s.map((e=>clone(e,r)))}else if(i!=="_autoprefixerPrefix"&&i!=="_autoprefixerValues"&&i!=="proxyCache"){if(typeof s==="object"&&s!==null){s=clone(s,r)}r[i]=s}}return r}class Prefixer{static hack(e){if(!this.hacks){this.hacks={}}return e.names.map((t=>{this.hacks[t]=e;return this.hacks[t]}))}static load(e,t,r){let i=this.hacks&&this.hacks[e];if(i){return new i(e,t,r)}else{return new this(e,t,r)}}static clone(e,t){let r=clone(e);for(let e in t){r[e]=t[e]}return r}constructor(e,t,r){this.prefixes=t;this.name=e;this.all=r}parentPrefix(e){let t;if(typeof e._autoprefixerPrefix!=="undefined"){t=e._autoprefixerPrefix}else if(e.type==="decl"&&e.prop[0]==="-"){t=s.prefix(e.prop)}else if(e.type==="root"){t=false}else if(e.type==="rule"&&e.selector.includes(":-")&&/:(-\w+-)/.test(e.selector)){t=e.selector.match(/:(-\w+-)/)[1]}else if(e.type==="atrule"&&e.name[0]==="-"){t=s.prefix(e.name)}else{t=this.parentPrefix(e.parent)}if(!i.prefixes().includes(t)){t=false}e._autoprefixerPrefix=t;return e._autoprefixerPrefix}process(e,t){if(!this.check(e)){return undefined}let r=this.parentPrefix(e);let i=this.prefixes.filter((e=>!r||r===n.removeNote(e)));let s=[];for(let r of i){if(this.add(e,r,s.concat([r]),t)){s.push(r)}}return s}clone(e,t){return Prefixer.clone(e,t)}}e.exports=Prefixer},7319:(e,t,r)=>{let i=r(9235);let s=r(7031);let n=r(4549);let a=r(7242);let l=r(3664);let o=r(7221);let u=r(1269);let p=r(8901);let d=r(1654);let c=r(7360);let h=r(4449);let m=r(801);let x=r(2406);let g=r(4399);let w=r(5462);let b=r(5588);let v=r(5030);let k=r(2726);let y=r(1683);let S=r(6147);let F=r(2895);let $=r(4204);let C=r(640);let G=r(1852);let A=r(2209);let R=r(3587);let z=r(7453);let j=r(4396);let B=r(142);let P=r(204);let q=r(4082);let D=r(9772);let M=r(2558);let N=r(4325);let _=r(8166);let I=r(4841);let E=r(6107);let T=r(5567);let O=r(9520);let V=r(2598);let L=r(3604);let U=r(5513);let W=r(1959);let Y=r(103);let Z=r(6010);let H=r(2733);let J=r(1845);let Q=r(69);let X=r(9336);let K=r(9699);let ee=r(2178);let te=r(9137);let re=r(9381);let ie=r(4406);let se=r(9494);let ne=r(2511);let ae=r(7226);let le=r(874);let oe=r(7345);let ue=r(9207);let fe=r(4499);let pe=r(4477);let de=r(4634);let ce=r(3940);let he=r(2212);let me=r(4482);let xe=r(9706);let ge=r(7151);p.hack(ge);p.hack(m);p.hack(x);p.hack(g);p.hack(w);s.hack(b);s.hack(v);s.hack(k);s.hack(y);s.hack(S);s.hack(F);s.hack($);s.hack(C);s.hack(G);s.hack(A);s.hack(R);s.hack(z);s.hack(j);s.hack(B);s.hack(P);s.hack(q);s.hack(D);s.hack(M);s.hack(N);s.hack(_);s.hack(I);s.hack(E);s.hack(T);s.hack(O);s.hack(V);s.hack(L);s.hack(U);s.hack(W);s.hack(Y);s.hack(Z);s.hack(H);s.hack(J);s.hack(Q);s.hack(X);s.hack(K);s.hack(ee);s.hack(te);s.hack(re);s.hack(ie);s.hack(ne);s.hack(ae);s.hack(se);s.hack(le);s.hack(oe);c.hack(ue);c.hack(fe);c.hack(pe);c.hack(de);c.hack(ce);c.hack(he);c.hack(me);c.hack(xe);let we=new Map;class Prefixes{constructor(e,t,r={}){this.data=e;this.browsers=t;this.options=r;[this.add,this.remove]=this.preprocess(this.select(this.data));this.transition=new a(this);this.processor=new l(this)}cleaner(){if(this.cleanerCache){return this.cleanerCache}if(this.browsers.selected.length){let e=new u(this.browsers.data,[]);this.cleanerCache=new Prefixes(this.data,e,this.options)}else{return this}return this.cleanerCache}select(e){let t={add:{},remove:{}};for(let r in e){let i=e[r];let s=i.browsers.map((e=>{let t=e.split(" ");return{browser:`${t[0]} ${t[1]}`,note:t[2]}}));let n=s.filter((e=>e.note)).map((e=>`${this.browsers.prefix(e.browser)} ${e.note}`));n=h.uniq(n);s=s.filter((e=>this.browsers.isSelected(e.browser))).map((e=>{let t=this.browsers.prefix(e.browser);if(e.note){return`${t} ${e.note}`}else{return t}}));s=this.sort(h.uniq(s));if(this.options.flexbox==="no-2009"){s=s.filter((e=>!e.includes("2009")))}let a=i.browsers.map((e=>this.browsers.prefix(e)));if(i.mistakes){a=a.concat(i.mistakes)}a=a.concat(n);a=h.uniq(a);if(s.length){t.add[r]=s;if(s.length!s.includes(e)))}}else{t.remove[r]=a}}return t}sort(e){return e.sort(((e,t)=>{let r=h.removeNote(e).length;let i=h.removeNote(t).length;if(r===i){return t.length-e.length}else{return i-r}}))}preprocess(e){let t={selectors:[],"@supports":new o(Prefixes,this)};for(let r in e.add){let i=e.add[r];if(r==="@keyframes"||r==="@viewport"){t[r]=new d(r,i,this)}else if(r==="@resolution"){t[r]=new n(r,i,this)}else if(this.data[r].selector){t.selectors.push(p.load(r,i,this))}else{let e=this.data[r].props;if(e){let s=c.load(r,i,this);for(let r of e){if(!t[r]){t[r]={values:[]}}t[r].values.push(s)}}else{let e=t[r]&&t[r].values||[];t[r]=s.load(r,i,this);t[r].values=e}}}let r={selectors:[]};for(let i in e.remove){let s=e.remove[i];if(this.data[i].selector){let e=p.load(i,s);for(let t of s){r.selectors.push(e.old(t))}}else if(i==="@keyframes"||i==="@viewport"){for(let e of s){let t=`@${e}${i.slice(1)}`;r[t]={remove:true}}}else if(i==="@resolution"){r[i]=new n(i,s,this)}else{let e=this.data[i].props;if(e){let t=c.load(i,[],this);for(let i of s){let s=t.old(i);if(s){for(let t of e){if(!r[t]){r[t]={}}if(!r[t].values){r[t].values=[]}r[t].values.push(s)}}}}else{for(let e of s){let s=this.decl(i).old(i,e);if(i==="align-self"){let r=t[i]&&t[i].prefixes;if(r){if(e==="-webkit- 2009"&&r.includes("-webkit-")){continue}else if(e==="-webkit-"&&r.includes("-webkit- 2009")){continue}}}for(let e of s){if(!r[e]){r[e]={}}r[e].remove=true}}}}}return[t,r]}decl(e){if(!we.has(e)){we.set(e,s.load(e))}return we.get(e)}unprefixed(e){let t=this.normalize(i.unprefixed(e));if(t==="flex-direction"){t="flex-flow"}return t}normalize(e){return this.decl(e).normalize(e)}prefixed(e,t){e=i.unprefixed(e);return this.decl(e).prefixed(e,t)}values(e,t){let r=this[e];let i=r["*"]&&r["*"].values;let s=r[t]&&r[t].values;if(i&&s){return h.uniq(i.concat(s))}else{return i||s||[]}}group(e){let t=e.parent;let r=t.index(e);let{length:i}=t.nodes;let s=this.unprefixed(e.prop);let checker=(e,n)=>{r+=e;while(r>=0&&r{let i=r(1036);let s=r(7360);let n=r(8182).insertAreas;const a=/(^|[^-])linear-gradient\(\s*(top|left|right|bottom)/i;const l=/(^|[^-])radial-gradient\(\s*\d+(\w*|%)\s+\d+(\w*|%)\s*,/i;const o=/(!\s*)?autoprefixer:\s*ignore\s+next/i;const u=/(!\s*)?autoprefixer\s*grid:\s*(on|off|(no-)?autoplace)/i;const p=["width","height","min-width","max-width","min-height","max-height","inline-size","min-inline-size","max-inline-size","block-size","min-block-size","max-block-size"];function hasGridTemplate(e){return e.parent.some((e=>e.prop==="grid-template"||e.prop==="grid-template-areas"))}function hasRowsAndColumns(e){let t=e.parent.some((e=>e.prop==="grid-template-rows"));let r=e.parent.some((e=>e.prop==="grid-template-columns"));return t&&r}class Processor{constructor(e){this.prefixes=e}add(e,t){let r=this.prefixes.add["@resolution"];let o=this.prefixes.add["@keyframes"];let u=this.prefixes.add["@viewport"];let d=this.prefixes.add["@supports"];e.walkAtRules((e=>{if(e.name==="keyframes"){if(!this.disabled(e,t)){return o&&o.process(e)}}else if(e.name==="viewport"){if(!this.disabled(e,t)){return u&&u.process(e)}}else if(e.name==="supports"){if(this.prefixes.options.supports!==false&&!this.disabled(e,t)){return d.process(e)}}else if(e.name==="media"&&e.params.includes("-resolution")){if(!this.disabled(e,t)){return r&&r.process(e)}}return undefined}));e.walkRules((e=>{if(this.disabled(e,t))return undefined;return this.prefixes.add.selectors.map((r=>r.process(e,t)))}));function insideGrid(e){return e.parent.nodes.some((e=>{if(e.type!=="decl")return false;let t=e.prop==="display"&&/(inline-)?grid/.test(e.value);let r=e.prop.startsWith("grid-template");let i=/^grid-([A-z]+-)?gap/.test(e.prop);return t||r||i}))}function insideFlex(e){return e.parent.some((e=>e.prop==="display"&&/(inline-)?flex/.test(e.value)))}let c=this.gridStatus(e,t)&&this.prefixes.add["grid-area"]&&this.prefixes.add["grid-area"].prefixes;e.walkDecls((e=>{if(this.disabledDecl(e,t))return undefined;let r=e.parent;let s=e.prop;let n=e.value;if(s==="color-adjust"){if(r.every((e=>e.prop!=="print-color-adjust"))){t.warn("Replace color-adjust to print-color-adjust. "+"The color-adjust shorthand is currently deprecated.",{node:e})}}else if(s==="grid-row-span"){t.warn("grid-row-span is not part of final Grid Layout. Use grid-row.",{node:e});return undefined}else if(s==="grid-column-span"){t.warn("grid-column-span is not part of final Grid Layout. Use grid-column.",{node:e});return undefined}else if(s==="display"&&n==="box"){t.warn("You should write display: flex by final spec "+"instead of display: box",{node:e});return undefined}else if(s==="text-emphasis-position"){if(n==="under"||n==="over"){t.warn("You should use 2 values for text-emphasis-position "+"For example, `under left` instead of just `under`.",{node:e})}}else if(/^(align|justify|place)-(items|content)$/.test(s)&&insideFlex(e)){if(n==="start"||n==="end"){t.warn(`${n} value has mixed support, consider using `+`flex-${n} instead`,{node:e})}}else if(s==="text-decoration-skip"&&n==="ink"){t.warn("Replace text-decoration-skip: ink to "+"text-decoration-skip-ink: auto, because spec had been changed",{node:e})}else{if(c&&this.gridStatus(e,t)){if(e.value==="subgrid"){t.warn("IE does not support subgrid",{node:e})}if(/^(align|justify|place)-items$/.test(s)&&insideGrid(e)){let r=s.replace("-items","-self");t.warn(`IE does not support ${s} on grid containers. `+`Try using ${r} on child elements instead: `+`${e.parent.selector} > * { ${r}: ${e.value} }`,{node:e})}else if(/^(align|justify|place)-content$/.test(s)&&insideGrid(e)){t.warn(`IE does not support ${e.prop} on grid containers`,{node:e})}else if(s==="display"&&e.value==="contents"){t.warn("Please do not use display: contents; "+"if you have grid setting enabled",{node:e});return undefined}else if(e.prop==="grid-gap"){let r=this.gridStatus(e,t);if(r==="autoplace"&&!hasRowsAndColumns(e)&&!hasGridTemplate(e)){t.warn("grid-gap only works if grid-template(-areas) is being "+"used or both rows and columns have been declared "+"and cells have not been manually "+"placed inside the explicit grid",{node:e})}else if((r===true||r==="no-autoplace")&&!hasGridTemplate(e)){t.warn("grid-gap only works if grid-template(-areas) is being used",{node:e})}}else if(s==="grid-auto-columns"){t.warn("grid-auto-columns is not supported by IE",{node:e});return undefined}else if(s==="grid-auto-rows"){t.warn("grid-auto-rows is not supported by IE",{node:e});return undefined}else if(s==="grid-auto-flow"){let i=r.some((e=>e.prop==="grid-template-rows"));let s=r.some((e=>e.prop==="grid-template-columns"));if(hasGridTemplate(e)){t.warn("grid-auto-flow is not supported by IE",{node:e})}else if(n.includes("dense")){t.warn("grid-auto-flow: dense is not supported by IE",{node:e})}else if(!i&&!s){t.warn("grid-auto-flow works only if grid-template-rows and "+"grid-template-columns are present in the same rule",{node:e})}return undefined}else if(n.includes("auto-fit")){t.warn("auto-fit value is not supported by IE",{node:e,word:"auto-fit"});return undefined}else if(n.includes("auto-fill")){t.warn("auto-fill value is not supported by IE",{node:e,word:"auto-fill"});return undefined}else if(s.startsWith("grid-template")&&n.includes("[")){t.warn("Autoprefixer currently does not support line names. "+"Try using grid-template-areas instead.",{node:e,word:"["})}}if(n.includes("radial-gradient")){if(l.test(e.value)){t.warn("Gradient has outdated direction syntax. "+"New syntax is like `closest-side at 0 0` "+"instead of `0 0, closest-side`.",{node:e})}else{let r=i(n);for(let i of r.nodes){if(i.type==="function"&&i.value==="radial-gradient"){for(let r of i.nodes){if(r.type==="word"){if(r.value==="cover"){t.warn("Gradient has outdated direction syntax. "+"Replace `cover` to `farthest-corner`.",{node:e})}else if(r.value==="contain"){t.warn("Gradient has outdated direction syntax. "+"Replace `contain` to `closest-side`.",{node:e})}}}}}}}if(n.includes("linear-gradient")){if(a.test(n)){t.warn("Gradient has outdated direction syntax. "+"New syntax is like `to left` instead of `right`.",{node:e})}}}if(p.includes(e.prop)){if(!e.value.includes("-fill-available")){if(e.value.includes("fill-available")){t.warn("Replace fill-available to stretch, "+"because spec had been changed",{node:e})}else if(e.value.includes("fill")){let r=i(n);if(r.nodes.some((e=>e.type==="word"&&e.value==="fill"))){t.warn("Replace fill to stretch, because spec had been changed",{node:e})}}}}let o;if(e.prop==="transition"||e.prop==="transition-property"){return this.prefixes.transition.add(e,t)}else if(e.prop==="align-self"){let r=this.displayType(e);if(r!=="grid"&&this.prefixes.options.flexbox!==false){o=this.prefixes.add["align-self"];if(o&&o.prefixes){o.process(e)}}if(this.gridStatus(e,t)!==false){o=this.prefixes.add["grid-row-align"];if(o&&o.prefixes){return o.process(e,t)}}}else if(e.prop==="justify-self"){if(this.gridStatus(e,t)!==false){o=this.prefixes.add["grid-column-align"];if(o&&o.prefixes){return o.process(e,t)}}}else if(e.prop==="place-self"){o=this.prefixes.add["place-self"];if(o&&o.prefixes&&this.gridStatus(e,t)!==false){return o.process(e,t)}}else{o=this.prefixes.add[e.prop];if(o&&o.prefixes){return o.process(e,t)}}return undefined}));if(this.gridStatus(e,t)){n(e,this.disabled)}return e.walkDecls((e=>{if(this.disabledValue(e,t))return;let r=this.prefixes.unprefixed(e.prop);let i=this.prefixes.values("add",r);if(Array.isArray(i)){for(let r of i){if(r.process)r.process(e,t)}}s.save(this.prefixes,e)}))}remove(e,t){let r=this.prefixes.remove["@resolution"];e.walkAtRules(((e,i)=>{if(this.prefixes.remove[`@${e.name}`]){if(!this.disabled(e,t)){e.parent.removeChild(i)}}else if(e.name==="media"&&e.params.includes("-resolution")&&r){r.clean(e)}}));for(let r of this.prefixes.remove.selectors){e.walkRules(((e,i)=>{if(r.check(e)){if(!this.disabled(e,t)){e.parent.removeChild(i)}}}))}return e.walkDecls(((e,r)=>{if(this.disabled(e,t))return;let i=e.parent;let s=this.prefixes.unprefixed(e.prop);if(e.prop==="transition"||e.prop==="transition-property"){this.prefixes.transition.remove(e)}if(this.prefixes.remove[e.prop]&&this.prefixes.remove[e.prop].remove){let t=this.prefixes.group(e).down((e=>this.prefixes.normalize(e.prop)===s));if(s==="flex-flow"){t=true}if(e.prop==="-webkit-box-orient"){let t={"flex-direction":true,"flex-flow":true};if(!e.parent.some((e=>t[e.prop])))return}if(t&&!this.withHackValue(e)){if(e.raw("before").includes("\n")){this.reduceSpaces(e)}i.removeChild(r);return}}for(let t of this.prefixes.values("remove",s)){if(!t.check)continue;if(!t.check(e.value))continue;s=t.unprefixed;let n=this.prefixes.group(e).down((e=>e.value.includes(s)));if(n){i.removeChild(r);return}}}))}withHackValue(e){return e.prop==="-webkit-background-clip"&&e.value==="text"}disabledValue(e,t){if(this.gridStatus(e,t)===false&&e.type==="decl"){if(e.prop==="display"&&e.value.includes("grid")){return true}}if(this.prefixes.options.flexbox===false&&e.type==="decl"){if(e.prop==="display"&&e.value.includes("flex")){return true}}if(e.type==="decl"&&e.prop==="content"){return true}return this.disabled(e,t)}disabledDecl(e,t){if(this.gridStatus(e,t)===false&&e.type==="decl"){if(e.prop.includes("grid")||e.prop==="justify-items"){return true}}if(this.prefixes.options.flexbox===false&&e.type==="decl"){let t=["order","justify-content","align-items","align-content"];if(e.prop.includes("flex")||t.includes(e.prop)){return true}}return this.disabled(e,t)}disabled(e,t){if(!e)return false;if(e._autoprefixerDisabled!==undefined){return e._autoprefixerDisabled}if(e.parent){let t=e.prev();if(t&&t.type==="comment"&&o.test(t.text)){e._autoprefixerDisabled=true;e._autoprefixerSelfDisabled=true;return true}}let r=null;if(e.nodes){let i;e.each((e=>{if(e.type!=="comment")return;if(/(!\s*)?autoprefixer:\s*(off|on)/i.test(e.text)){if(typeof i!=="undefined"){t.warn("Second Autoprefixer control comment "+"was ignored. Autoprefixer applies control "+"comment to whole block, not to next rules.",{node:e})}else{i=/on/i.test(e.text)}}}));if(i!==undefined){r=!i}}if(!e.nodes||r===null){if(e.parent){let i=this.disabled(e.parent,t);if(e.parent._autoprefixerSelfDisabled===true){r=false}else{r=i}}else{r=false}}e._autoprefixerDisabled=r;return r}reduceSpaces(e){let t=false;this.prefixes.group(e).up((()=>{t=true;return true}));if(t){return}let r=e.raw("before").split("\n");let i=r[r.length-1].length;let s=false;this.prefixes.group(e).down((e=>{r=e.raw("before").split("\n");let t=r.length-1;if(r[t].length>i){if(s===false){s=r[t].length-i}r[t]=r[t].slice(0,-s);e.raws.before=r.join("\n")}}))}displayType(e){for(let t of e.parent.nodes){if(t.prop!=="display"){continue}if(t.value.includes("flex")){return"flex"}if(t.value.includes("grid")){return"grid"}}return false}gridStatus(e,t){if(!e)return false;if(e._autoprefixerGridStatus!==undefined){return e._autoprefixerGridStatus}let r=null;if(e.nodes){let i;e.each((e=>{if(e.type!=="comment")return;if(u.test(e.text)){let r=/:\s*autoplace/i.test(e.text);let s=/no-autoplace/i.test(e.text);if(typeof i!=="undefined"){t.warn("Second Autoprefixer grid control comment was "+"ignored. Autoprefixer applies control comments to the whole "+"block, not to the next rules.",{node:e})}else if(r){i="autoplace"}else if(s){i=true}else{i=/on/i.test(e.text)}}}));if(i!==undefined){r=i}}if(e.type==="atrule"&&e.name==="supports"){let t=e.params;if(t.includes("grid")&&t.includes("auto")){r=false}}if(!e.nodes||r===null){if(e.parent){let i=this.gridStatus(e.parent,t);if(e.parent._autoprefixerSelfDisabled===true){r=false}else{r=i}}else if(typeof this.prefixes.options.grid!=="undefined"){r=this.prefixes.options.grid}else if(typeof process.env.AUTOPREFIXER_GRID!=="undefined"){if(process.env.AUTOPREFIXER_GRID==="autoplace"){r="autoplace"}else{r=true}}else{r=false}}e._autoprefixerGridStatus=r;return r}}e.exports=Processor},4549:(e,t,r)=>{let i=r(5167);let s=r(9852);let n=r(4449);const a=/(min|max)-resolution\s*:\s*\d*\.?\d+(dppx|dpcm|dpi|x)/gi;const l=/(min|max)-resolution(\s*:\s*)(\d*\.?\d+)(dppx|dpcm|dpi|x)/i;class Resolution extends s{prefixName(e,t){if(e==="-moz-"){return t+"--moz-device-pixel-ratio"}else{return e+t+"-device-pixel-ratio"}}prefixQuery(e,t,r,s,n){s=new i(s);if(n==="dpi"){s=s.div(96)}else if(n==="dpcm"){s=s.mul(2.54).div(96)}s=s.simplify();if(e==="-o-"){s=s.n+"/"+s.d}return this.prefixName(e,t)+r+s}clean(e){if(!this.bad){this.bad=[];for(let e of this.prefixes){this.bad.push(this.prefixName(e,"min"));this.bad.push(this.prefixName(e,"max"))}}e.params=n.editList(e.params,(e=>e.filter((e=>this.bad.every((t=>!e.includes(t)))))))}process(e){let t=this.parentPrefix(e);let r=t?[t]:this.prefixes;e.params=n.editList(e.params,((e,t)=>{for(let i of e){if(!i.includes("min-resolution")&&!i.includes("max-resolution")){t.push(i);continue}for(let e of r){let r=i.replace(a,(t=>{let r=t.match(l);return this.prefixQuery(e,r[1],r[2],r[3],r[4])}));t.push(r)}t.push(i)}return n.uniq(t)}))}}e.exports=Resolution},8901:(e,t,r)=>{let{list:i}=r(977);let s=r(6372);let n=r(9852);let a=r(1269);let l=r(4449);class Selector extends n{constructor(e,t,r){super(e,t,r);this.regexpCache=new Map}check(e){if(e.selector.includes(this.name)){return!!e.selector.match(this.regexp())}return false}prefixed(e){return this.name.replace(/^(\W*)/,`$1${e}`)}regexp(e){if(!this.regexpCache.has(e)){let t=e?this.prefixed(e):this.name;this.regexpCache.set(e,new RegExp(`(^|[^:"'=])${l.escapeRegexp(t)}`,"gi"))}return this.regexpCache.get(e)}possible(){return a.prefixes()}prefixeds(e){if(e._autoprefixerPrefixeds){if(e._autoprefixerPrefixeds[this.name]){return e._autoprefixerPrefixeds}}else{e._autoprefixerPrefixeds={}}let t={};if(e.selector.includes(",")){let r=i.comma(e.selector);let s=r.filter((e=>e.includes(this.name)));for(let e of this.possible()){t[e]=s.map((t=>this.replace(t,e))).join(", ")}}else{for(let r of this.possible()){t[r]=this.replace(e.selector,r)}}e._autoprefixerPrefixeds[this.name]=t;return e._autoprefixerPrefixeds}already(e,t,r){let i=e.parent.index(e)-1;while(i>=0){let s=e.parent.nodes[i];if(s.type!=="rule"){return false}let n=false;for(let e in t[this.name]){let i=t[this.name][e];if(s.selector===i){if(r===e){return true}else{n=true;break}}}if(!n){return false}i-=1}return false}replace(e,t){return e.replace(this.regexp(),`$1${this.prefixed(t)}`)}add(e,t){let r=this.prefixeds(e);if(this.already(e,r,t)){return}let i=this.clone(e,{selector:r[this.name][t]});e.parent.insertBefore(e,i)}old(e){return new s(this,e)}}e.exports=Selector},7221:(e,t,r)=>{let i=r(8944);let{feature:s}=r(9613);let{parse:n}=r(977);let a=r(1269);let l=r(4186);let o=r(7360);let u=r(4449);let p=s(i);let d=[];for(let e in p.stats){let t=p.stats[e];for(let r in t){let i=t[r];if(/y/.test(i)){d.push(e+" "+r)}}}class Supports{constructor(e,t){this.Prefixes=e;this.all=t}prefixer(){if(this.prefixerCache){return this.prefixerCache}let e=this.all.browsers.selected.filter((e=>d.includes(e)));let t=new a(this.all.browsers.data,e,this.all.options);this.prefixerCache=new this.Prefixes(this.all.data,t,this.all.options);return this.prefixerCache}parse(e){let t=e.split(":");let r=t[0];let i=t[1];if(!i)i="";return[r.trim(),i.trim()]}virtual(e){let[t,r]=this.parse(e);let i=n("a{}").first;i.append({prop:t,value:r,raws:{before:""}});return i}prefixed(e){let t=this.virtual(e);if(this.disabled(t.first)){return t.nodes}let r={warn:()=>null};let i=this.prefixer().add[t.first.prop];i&&i.process&&i.process(t.first,r);for(let e of t.nodes){for(let r of this.prefixer().values("add",t.first.prop)){r.process(e)}o.save(this.all,e)}return t.nodes}isNot(e){return typeof e==="string"&&/not\s*/i.test(e)}isOr(e){return typeof e==="string"&&/\s*or\s*/i.test(e)}isProp(e){return typeof e==="object"&&e.length===1&&typeof e[0]==="string"}isHack(e,t){let r=new RegExp(`(\\(|\\s)${u.escapeRegexp(t)}:`);return!r.test(e)}toRemove(e,t){let[r,i]=this.parse(e);let s=this.all.unprefixed(r);let n=this.all.cleaner();if(n.remove[r]&&n.remove[r].remove&&!this.isHack(t,s)){return true}for(let e of n.values("remove",s)){if(e.check(i)){return true}}return false}remove(e,t){let r=0;while(r{if(typeof e!=="object"){return e}if(e.length===1&&typeof e[0]==="object"){return this.cleanBrackets(e[0])}return this.cleanBrackets(e)}))}convert(e){let t=[""];for(let r of e){t.push([`${r.prop}: ${r.value}`]);t.push(" or ")}t[t.length-1]="";return t}normalize(e){if(typeof e!=="object"){return e}e=e.filter((e=>e!==""));if(typeof e[0]==="string"){let t=e[0].trim();if(t.includes(":")||t==="selector"||t==="not selector"){return[l.stringify(e)]}}return e.map((e=>this.normalize(e)))}add(e,t){return e.map((e=>{if(this.isProp(e)){let t=this.prefixed(e[0]);if(t.length>1){return this.convert(t)}return e}if(typeof e==="object"){return this.add(e,t)}return e}))}process(e){let t=l.parse(e.params);t=this.normalize(t);t=this.remove(t,e.params);t=this.add(t,e.params);t=this.cleanBrackets(t);e.params=l.stringify(t)}disabled(e){if(!this.all.options.grid){if(e.prop==="display"&&e.value.includes("grid")){return true}if(e.prop.includes("grid")||e.prop==="justify-items"){return true}}if(this.all.options.flexbox===false){if(e.prop==="display"&&e.value.includes("flex")){return true}let t=["order","justify-content","align-items","align-content"];if(e.prop.includes("flex")||t.includes(e.prop)){return true}}return false}}e.exports=Supports},7242:(e,t,r)=>{let{list:i}=r(977);let s=r(1036);let n=r(1269);let a=r(9235);class Transition{constructor(e){this.props=["transition","transition-property"];this.prefixes=e}add(e,t){let r,i;let s=this.prefixes.add[e.prop];let n=this.ruleVendorPrefixes(e);let a=n||s&&s.prefixes||[];let l=this.parse(e.value);let o=l.map((e=>this.findProp(e)));let u=[];if(o.some((e=>e[0]==="-"))){return}for(let e of l){i=this.findProp(e);if(i[0]==="-")continue;let t=this.prefixes.add[i];if(!t||!t.prefixes)continue;for(r of t.prefixes){if(n&&!n.some((e=>r.includes(e)))){continue}let t=this.prefixes.prefixed(i,r);if(t!=="-ms-transform"&&!o.includes(t)){if(!this.disabled(i,r)){u.push(this.clone(i,t,e))}}}}l=l.concat(u);let p=this.stringify(l);let d=this.stringify(this.cleanFromUnprefixed(l,"-webkit-"));if(a.includes("-webkit-")){this.cloneBefore(e,`-webkit-${e.prop}`,d)}this.cloneBefore(e,e.prop,d);if(a.includes("-o-")){let t=this.stringify(this.cleanFromUnprefixed(l,"-o-"));this.cloneBefore(e,`-o-${e.prop}`,t)}for(r of a){if(r!=="-webkit-"&&r!=="-o-"){let t=this.stringify(this.cleanOtherPrefixes(l,r));this.cloneBefore(e,r+e.prop,t)}}if(p!==e.value&&!this.already(e,e.prop,p)){this.checkForWarning(t,e);e.cloneBefore();e.value=p}}findProp(e){let t=e[0].value;if(/^\d/.test(t)){for(let[t,r]of e.entries()){if(t!==0&&r.type==="word"){return r.value}}}return t}already(e,t,r){return e.parent.some((e=>e.prop===t&&e.value===r))}cloneBefore(e,t,r){if(!this.already(e,t,r)){e.cloneBefore({prop:t,value:r})}}checkForWarning(e,t){if(t.prop!=="transition-property"){return}let r=false;let s=false;t.parent.each((e=>{if(e.type!=="decl"){return undefined}if(e.prop.indexOf("transition-")!==0){return undefined}let t=i.comma(e.value);if(e.prop==="transition-property"){t.forEach((e=>{let t=this.prefixes.add[e];if(t&&t.prefixes&&t.prefixes.length>0){r=true}}));return undefined}s=s||t.length>1;return false}));if(r&&s){t.warn(e,"Replace transition-property to transition, "+"because Autoprefixer could not support "+"any cases of transition-property "+"and other transition-*")}}remove(e){let t=this.parse(e.value);t=t.filter((e=>{let t=this.prefixes.remove[this.findProp(e)];return!t||!t.remove}));let r=this.stringify(t);if(e.value===r){return}if(t.length===0){e.remove();return}let i=e.parent.some((t=>t.prop===e.prop&&t.value===r));let s=e.parent.some((t=>t!==e&&t.prop===e.prop&&t.value.length>r.length));if(i||s){e.remove();return}e.value=r}parse(e){let t=s(e);let r=[];let i=[];for(let e of t.nodes){i.push(e);if(e.type==="div"&&e.value===","){r.push(i);i=[]}}r.push(i);return r.filter((e=>e.length>0))}stringify(e){if(e.length===0){return""}let t=[];for(let r of e){if(r[r.length-1].type!=="div"){r.push(this.div(e))}t=t.concat(r)}if(t[0].type==="div"){t=t.slice(1)}if(t[t.length-1].type==="div"){t=t.slice(0,+-2+1||0)}return s.stringify({nodes:t})}clone(e,t,r){let i=[];let s=false;for(let n of r){if(!s&&n.type==="word"&&n.value===e){i.push({type:"word",value:t});s=true}else{i.push(n)}}return i}div(e){for(let t of e){for(let e of t){if(e.type==="div"&&e.value===","){return e}}}return{type:"div",value:",",after:" "}}cleanOtherPrefixes(e,t){return e.filter((e=>{let r=a.prefix(this.findProp(e));return r===""||r===t}))}cleanFromUnprefixed(e,t){let r=e.map((e=>this.findProp(e))).filter((e=>e.slice(0,t.length)===t)).map((e=>this.prefixes.unprefixed(e)));let i=[];for(let s of e){let e=this.findProp(s);let n=a.prefix(e);if(!r.includes(e)&&(n===t||n==="")){i.push(s)}}return i}disabled(e,t){let r=["order","justify-content","align-self","align-content"];if(e.includes("flex")||r.includes(e)){if(this.prefixes.options.flexbox===false){return true}if(this.prefixes.options.flexbox==="no-2009"){return t.includes("2009")}}return undefined}ruleVendorPrefixes(e){let{parent:t}=e;if(t.type!=="rule"){return false}else if(!t.selector.includes(":-")){return false}let r=n.prefixes().filter((e=>t.selector.includes(":"+e)));return r.length>0?r:false}}e.exports=Transition},4449:(e,t,r)=>{let{list:i}=r(977);e.exports.error=function(e){let t=new Error(e);t.autoprefixer=true;throw t};e.exports.uniq=function(e){return[...new Set(e)]};e.exports.removeNote=function(e){if(!e.includes(" ")){return e}return e.split(" ")[0]};e.exports.escapeRegexp=function(e){return e.replace(/[$()*+-.?[\\\]^{|}]/g,"\\$&")};e.exports.regexp=function(e,t=true){if(t){e=this.escapeRegexp(e)}return new RegExp(`(^|[\\s,(])(${e}($|[\\s(,]))`,"gi")};e.exports.editList=function(e,t){let r=i.comma(e);let s=t(r,[]);if(r===s){return e}let n=e.match(/,\s*/);n=n?n[0]:", ";return s.join(n)};e.exports.splitSelector=function(e){return i.comma(e).map((e=>i.space(e).map((e=>e.split(/(?=\.|#)/g)))))};e.exports.isPureNumber=function(e){if(typeof e==="number"){return true}if(typeof e==="string"){return/^[0-9]+$/.test(e)}return false}},7360:(e,t,r)=>{let i=r(9852);let s=r(6118);let n=r(9235);let a=r(4449);class Value extends i{static save(e,t){let r=t.prop;let i=[];for(let s in t._autoprefixerValues){let a=t._autoprefixerValues[s];if(a===t.value){continue}let l;let o=n.prefix(r);if(o==="-pie-"){continue}if(o===s){l=t.value=a;i.push(l);continue}let u=e.prefixed(r,s);let p=t.parent;if(!p.every((e=>e.prop!==u))){i.push(l);continue}let d=a.replace(/\s+/," ");let c=p.some((e=>e.prop===t.prop&&e.value.replace(/\s+/," ")===d));if(c){i.push(l);continue}let h=this.clone(t,{value:a});l=t.parent.insertBefore(t,h);i.push(l)}return i}check(e){let t=e.value;if(!t.includes(this.name)){return false}return!!t.match(this.regexp())}regexp(){return this.regexpCache||(this.regexpCache=a.regexp(this.name))}replace(e,t){return e.replace(this.regexp(),`$1${t}$2`)}value(e){if(e.raws.value&&e.raws.value.value===e.value){return e.raws.value.raw}else{return e.value}}add(e,t){if(!e._autoprefixerValues){e._autoprefixerValues={}}let r=e._autoprefixerValues[t]||this.value(e);let i;do{i=r;r=this.replace(r,t);if(r===false)return}while(r!==i);e._autoprefixerValues[t]=r}old(e){return new s(this.name,e+this.name)}}e.exports=Value},9235:e=>{e.exports={prefix(e){let t=e.match(/^(-\w+-)/);if(t){return t[0]}return""},unprefixed(e){return e.replace(/^-\w+-/,"")}}},5167:function(e){ -/** - * @license Fraction.js v4.2.0 05/03/2022 - * https://www.xarg.org/2014/03/rational-numbers-in-javascript/ - * - * Copyright (c) 2021, Robert Eisele (robert@xarg.org) - * Dual licensed under the MIT or GPL Version 2 licenses. - **/ -(function(t){"use strict";var r=2e3;var i={s:1,n:0,d:1};function assign(e,t){if(isNaN(e=parseInt(e,10))){throw Fraction["InvalidParameter"]}return e*t}function newFraction(e,t){if(t===0){throw Fraction["DivisionByZero"]}var r=Object.create(Fraction.prototype);r["s"]=e<0?-1:1;e=e<0?-e:e;var i=gcd(e,t);r["n"]=e/i;r["d"]=t/i;return r}function factorize(e){var t={};var r=e;var i=2;var s=4;while(s<=r){while(r%i===0){r/=i;t[i]=(t[i]||0)+1}s+=1+2*i++}if(r!==e){if(r>1)t[r]=(t[r]||0)+1}else{t[e]=(t[e]||0)+1}return t}var parse=function(e,t){var r=0,s=1,n=1;var a=0,l=0,o=0,u=1,p=1;var d=0,c=1;var h=1,m=1;var x=1e7;var g;if(e===undefined||e===null){}else if(t!==undefined){r=e;s=t;n=r*s;if(r%1!==0||s%1!==0){throw Fraction["NonIntegerParameter"]}}else switch(typeof e){case"object":{if("d"in e&&"n"in e){r=e["n"];s=e["d"];if("s"in e)r*=e["s"]}else if(0 in e){r=e[0];if(1 in e)s=e[1]}else{throw Fraction["InvalidParameter"]}n=r*s;break}case"number":{if(e<0){n=e;e=-e}if(e%1===0){r=e}else if(e>0){if(e>=1){p=Math.pow(10,Math.floor(1+Math.log(e)/Math.LN10));e/=p}while(c<=x&&m<=x){g=(d+h)/(c+m);if(e===g){if(c+m<=x){r=d+h;s=c+m}else if(m>c){r=h;s=m}else{r=d;s=c}break}else{if(e>g){d+=h;c+=m}else{h+=d;m+=c}if(c>x){r=h;s=m}else{r=d;s=c}}}r*=p}else if(isNaN(e)||isNaN(t)){s=r=NaN}break}case"string":{c=e.match(/\d+|./g);if(c===null)throw Fraction["InvalidParameter"];if(c[d]==="-"){n=-1;d++}else if(c[d]==="+"){d++}if(c.length===d+1){l=assign(c[d++],n)}else if(c[d+1]==="."||c[d]==="."){if(c[d]!=="."){a=assign(c[d++],n)}d++;if(d+1===c.length||c[d+1]==="("&&c[d+3]===")"||c[d+1]==="'"&&c[d+3]==="'"){l=assign(c[d],n);u=Math.pow(10,c[d].length);d++}if(c[d]==="("&&c[d+2]===")"||c[d]==="'"&&c[d+2]==="'"){o=assign(c[d+1],n);p=Math.pow(10,c[d+1].length)-1;d+=3}}else if(c[d+1]==="/"||c[d+1]===":"){l=assign(c[d],n);u=assign(c[d+2],1);d+=3}else if(c[d+3]==="/"&&c[d+1]===" "){a=assign(c[d],n);l=assign(c[d+2],n);u=assign(c[d+4],1);d+=5}if(c.length<=d){s=u*p;n=r=o+s*a+p*l;break}}default:throw Fraction["InvalidParameter"]}if(s===0){throw Fraction["DivisionByZero"]}i["s"]=n<0?-1:1;i["n"]=Math.abs(r);i["d"]=Math.abs(s)};function modpow(e,t,r){var i=1;for(;t>0;e=e*e%r,t>>=1){if(t&1){i=i*e%r}}return i}function cycleLen(e,t){for(;t%2===0;t/=2){}for(;t%5===0;t/=5){}if(t===1)return 0;var i=10%t;var s=1;for(;i!==1;s++){i=i*10%t;if(s>r)return 0}return s}function cycleStart(e,t,r){var i=1;var s=modpow(10,r,t);for(var n=0;n<300;n++){if(i===s)return n;i=i*10%t;s=s*10%t}return 0}function gcd(e,t){if(!e)return t;if(!t)return e;while(1){e%=t;if(!e)return t;t%=e;if(!t)return e}}function Fraction(e,t){parse(e,t);if(this instanceof Fraction){e=gcd(i["d"],i["n"]);this["s"]=i["s"];this["n"]=i["n"]/e;this["d"]=i["d"]/e}else{return newFraction(i["s"]*i["n"],i["d"])}}Fraction["DivisionByZero"]=new Error("Division by Zero");Fraction["InvalidParameter"]=new Error("Invalid argument");Fraction["NonIntegerParameter"]=new Error("Parameters must be integer");Fraction.prototype={s:1,n:0,d:1,abs:function(){return newFraction(this["n"],this["d"])},neg:function(){return newFraction(-this["s"]*this["n"],this["d"])},add:function(e,t){parse(e,t);return newFraction(this["s"]*this["n"]*i["d"]+i["s"]*this["d"]*i["n"],this["d"]*i["d"])},sub:function(e,t){parse(e,t);return newFraction(this["s"]*this["n"]*i["d"]-i["s"]*this["d"]*i["n"],this["d"]*i["d"])},mul:function(e,t){parse(e,t);return newFraction(this["s"]*i["s"]*this["n"]*i["n"],this["d"]*i["d"])},div:function(e,t){parse(e,t);return newFraction(this["s"]*i["s"]*this["n"]*i["d"],this["d"]*i["n"])},clone:function(){return newFraction(this["s"]*this["n"],this["d"])},mod:function(e,t){if(isNaN(this["n"])||isNaN(this["d"])){return new Fraction(NaN)}if(e===undefined){return newFraction(this["s"]*this["n"]%this["d"],1)}parse(e,t);if(0===i["n"]&&0===this["d"]){throw Fraction["DivisionByZero"]}return newFraction(this["s"]*(i["d"]*this["n"])%(i["n"]*this["d"]),i["d"]*this["d"])},gcd:function(e,t){parse(e,t);return newFraction(gcd(i["n"],this["n"])*gcd(i["d"],this["d"]),i["d"]*this["d"])},lcm:function(e,t){parse(e,t);if(i["n"]===0&&this["n"]===0){return newFraction(0,1)}return newFraction(i["n"]*this["n"],gcd(i["n"],this["n"])*gcd(i["d"],this["d"]))},ceil:function(e){e=Math.pow(10,e||0);if(isNaN(this["n"])||isNaN(this["d"])){return new Fraction(NaN)}return newFraction(Math.ceil(e*this["s"]*this["n"]/this["d"]),e)},floor:function(e){e=Math.pow(10,e||0);if(isNaN(this["n"])||isNaN(this["d"])){return new Fraction(NaN)}return newFraction(Math.floor(e*this["s"]*this["n"]/this["d"]),e)},round:function(e){e=Math.pow(10,e||0);if(isNaN(this["n"])||isNaN(this["d"])){return new Fraction(NaN)}return newFraction(Math.round(e*this["s"]*this["n"]/this["d"]),e)},inverse:function(){return newFraction(this["s"]*this["d"],this["n"])},pow:function(e,t){parse(e,t);if(i["d"]===1){if(i["s"]<0){return newFraction(Math.pow(this["s"]*this["d"],i["n"]),Math.pow(this["n"],i["n"]))}else{return newFraction(Math.pow(this["s"]*this["n"],i["n"]),Math.pow(this["d"],i["n"]))}}if(this["s"]<0)return null;var r=factorize(this["n"]);var s=factorize(this["d"]);var n=1;var a=1;for(var l in r){if(l==="1")continue;if(l==="0"){n=0;break}r[l]*=i["n"];if(r[l]%i["d"]===0){r[l]/=i["d"]}else return null;n*=Math.pow(l,r[l])}for(var l in s){if(l==="1")continue;s[l]*=i["n"];if(s[l]%i["d"]===0){s[l]/=i["d"]}else return null;a*=Math.pow(l,s[l])}if(i["s"]<0){return newFraction(a,n)}return newFraction(n,a)},equals:function(e,t){parse(e,t);return this["s"]*this["n"]*i["d"]===i["s"]*i["n"]*this["d"]},compare:function(e,t){parse(e,t);var r=this["s"]*this["n"]*i["d"]-i["s"]*i["n"]*this["d"];return(0=0;n--){s=s["inverse"]()["add"](r[n])}if(s["sub"](t)["abs"]().valueOf()0){r+=t;r+=" ";i%=s}r+=i;r+="/";r+=s}return r},toLatex:function(e){var t,r="";var i=this["n"];var s=this["d"];if(this["s"]<0){r+="-"}if(s===1){r+=i}else{if(e&&(t=Math.floor(i/s))>0){r+=t;i%=s}r+="\\frac{";r+=i;r+="}{";r+=s;r+="}"}return r},toContinued:function(){var e;var t=this["n"];var r=this["d"];var i=[];if(isNaN(t)||isNaN(r)){return i}do{i.push(Math.floor(t/r));e=t%r;t=r;r=e}while(t!==1);return i},toString:function(e){var t=this["n"];var r=this["d"];if(isNaN(t)||isNaN(r)){return"NaN"}e=e||15;var i=cycleLen(t,r);var s=cycleStart(t,r,i);var n=this["s"]<0?"-":"";n+=t/r|0;t%=r;t*=10;if(t)n+=".";if(i){for(var a=s;a--;){n+=t/r|0;t%=r;t*=10}n+="(";for(var a=i;a--;){n+=t/r|0;t%=r;t*=10}n+=")"}else{for(var a=e;t&&a--;){n+=t/r|0;t%=r;t*=10}}return n}};if(typeof define==="function"&&define["amd"]){define([],(function(){return Fraction}))}else if(true){Object.defineProperty(Fraction,"__esModule",{value:true});Fraction["default"]=Fraction;Fraction["Fraction"]=Fraction;e["exports"]=Fraction}else{}})(this)},6907:e=>{"use strict";e.exports={wrap:wrapRange,limit:limitRange,validate:validateRange,test:testRange,curry:curry,name:name};function wrapRange(e,t,r){var i=t-e;return((r-e)%i+i)%i+e}function limitRange(e,t,r){return Math.max(e,Math.min(t,r))}function validateRange(e,t,r,i,s){if(!testRange(e,t,r,i,s)){throw new Error(r+" is outside of range ["+e+","+t+")")}return r}function testRange(e,t,r,i,s){return!(rt||s&&r===t||i&&r===e)}function name(e,t,r,i){return(r?"(":"[")+e+","+t+(i?")":"]")}function curry(e,t,r,i){var s=name.bind(null,e,t,r,i);return{wrap:wrapRange.bind(null,e,t),limit:limitRange.bind(null,e,t),validate:function(s){return validateRange(e,t,s,r,i)},test:function(s){return testRange(e,t,s,r,i)},toString:s,name:s}}},328:(e,t,r)=>{let i=r(6224);let s=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||i.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env);let formatter=(e,t,r=e)=>i=>{let s=""+i;let n=s.indexOf(t,e.length);return~n?e+replaceClose(s,t,r,n)+t:e+s+t};let replaceClose=(e,t,r,i)=>{let s=e.substring(0,i)+r;let n=e.substring(i+t.length);let a=n.indexOf(t);return~a?s+replaceClose(n,t,r,a):s+n};let createColors=(e=s)=>({isColorSupported:e,reset:e?e=>`${e}`:String,bold:e?formatter("","",""):String,dim:e?formatter("","",""):String,italic:e?formatter("",""):String,underline:e?formatter("",""):String,inverse:e?formatter("",""):String,hidden:e?formatter("",""):String,strikethrough:e?formatter("",""):String,black:e?formatter("",""):String,red:e?formatter("",""):String,green:e?formatter("",""):String,yellow:e?formatter("",""):String,blue:e?formatter("",""):String,magenta:e?formatter("",""):String,cyan:e?formatter("",""):String,white:e?formatter("",""):String,gray:e?formatter("",""):String,bgBlack:e?formatter("",""):String,bgRed:e?formatter("",""):String,bgGreen:e?formatter("",""):String,bgYellow:e?formatter("",""):String,bgBlue:e?formatter("",""):String,bgMagenta:e?formatter("",""):String,bgCyan:e?formatter("",""):String,bgWhite:e?formatter("",""):String});e.exports=createColors();e.exports.createColors=createColors},1036:e=>{"use strict";e.exports=require("../postcss-value-parser")},6362:e=>{"use strict";e.exports=require("@modern-js/utils/browserslist")},9613:e=>{"use strict";e.exports=require("caniuse-lite")},5591:e=>{"use strict";e.exports=require("caniuse-lite/data/features/background-clip-text")},1188:e=>{"use strict";e.exports=require("caniuse-lite/data/features/background-img-opts")},7097:e=>{"use strict";e.exports=require("caniuse-lite/data/features/border-image")},2861:e=>{"use strict";e.exports=require("caniuse-lite/data/features/border-radius")},3098:e=>{"use strict";e.exports=require("caniuse-lite/data/features/calc")},354:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-animation")},9323:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-any-link")},4773:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-appearance")},7721:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-autofill")},3166:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-backdrop-filter")},6781:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-boxdecorationbreak")},2194:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-boxshadow")},9205:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-clip-path")},8995:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-crisp-edges")},8786:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-cross-fade")},3504:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-deviceadaptation")},7801:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-element-function")},8944:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-featurequeries.js")},2416:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-file-selector-button")},1545:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-filter-function")},3882:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-filters")},2571:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-gradients")},6554:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-grid")},5197:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-hyphens")},2237:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-image-set")},7395:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-logical-props")},6649:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-masks")},8181:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-media-resolution")},3898:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-overscroll-behavior")},6215:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-placeholder")},9278:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-placeholder-shown")},8066:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-print-color-adjust")},2478:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-read-only-write")},1949:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-regions")},4822:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-selection")},5460:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-shapes")},1340:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-snappoints")},8235:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-sticky")},2807:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-text-align-last")},4838:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-text-orientation")},9290:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-text-spacing")},40:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-transitions")},7437:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-width-stretch")},2298:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css-writing-mode")},6597:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css3-boxsizing")},2983:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css3-cursors-grab")},8265:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css3-cursors-newer")},3247:e=>{"use strict";e.exports=require("caniuse-lite/data/features/css3-tabsize")},4618:e=>{"use strict";e.exports=require("caniuse-lite/data/features/flexbox")},1328:e=>{"use strict";e.exports=require("caniuse-lite/data/features/font-feature")},3944:e=>{"use strict";e.exports=require("caniuse-lite/data/features/font-kerning")},7766:e=>{"use strict";e.exports=require("caniuse-lite/data/features/fullscreen")},5691:e=>{"use strict";e.exports=require("caniuse-lite/data/features/intrinsic-width")},7856:e=>{"use strict";e.exports=require("caniuse-lite/data/features/mdn-css-unicode-bidi-isolate")},9067:e=>{"use strict";e.exports=require("caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override")},6097:e=>{"use strict";e.exports=require("caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext")},5934:e=>{"use strict";e.exports=require("caniuse-lite/data/features/mdn-text-decoration-color")},3874:e=>{"use strict";e.exports=require("caniuse-lite/data/features/mdn-text-decoration-line")},1597:e=>{"use strict";e.exports=require("caniuse-lite/data/features/mdn-text-decoration-shorthand")},3480:e=>{"use strict";e.exports=require("caniuse-lite/data/features/mdn-text-decoration-style")},7809:e=>{"use strict";e.exports=require("caniuse-lite/data/features/multicolumn")},1480:e=>{"use strict";e.exports=require("caniuse-lite/data/features/object-fit")},1014:e=>{"use strict";e.exports=require("caniuse-lite/data/features/pointer")},134:e=>{"use strict";e.exports=require("caniuse-lite/data/features/text-decoration")},5514:e=>{"use strict";e.exports=require("caniuse-lite/data/features/text-emphasis")},7806:e=>{"use strict";e.exports=require("caniuse-lite/data/features/text-overflow")},744:e=>{"use strict";e.exports=require("caniuse-lite/data/features/text-size-adjust")},4602:e=>{"use strict";e.exports=require("caniuse-lite/data/features/transforms2d")},2866:e=>{"use strict";e.exports=require("caniuse-lite/data/features/transforms3d")},9474:e=>{"use strict";e.exports=require("caniuse-lite/data/features/user-select-none")},977:e=>{"use strict";e.exports=require("postcss")},6224:e=>{"use strict";e.exports=require("tty")}};var t={};function __nccwpck_require__(r){var i=t[r];if(i!==undefined){return i.exports}var s=t[r]={exports:{}};var n=true;try{e[r].call(s.exports,s,s.exports,__nccwpck_require__);n=false}finally{if(n)delete t[r]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(97);module.exports=r})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/autoprefixer/license b/packages/builder/builder-shared/compiled/autoprefixer/license deleted file mode 100644 index da057b4562a8..000000000000 --- a/packages/builder/builder-shared/compiled/autoprefixer/license +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright 2013 Andrey Sitnik - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/autoprefixer/package.json b/packages/builder/builder-shared/compiled/autoprefixer/package.json deleted file mode 100644 index 18d1c5c90cff..000000000000 --- a/packages/builder/builder-shared/compiled/autoprefixer/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"autoprefixer","author":"Andrey Sitnik ","version":"10.4.13","funding":[{"type":"opencollective","url":"https://opencollective.com/postcss/"},{"type":"tidelift","url":"https://tidelift.com/funding/github/npm/autoprefixer"}],"license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/babel-loader/583.index.js b/packages/builder/builder-shared/compiled/babel-loader/583.index.js deleted file mode 100644 index cf1786af4dff..000000000000 --- a/packages/builder/builder-shared/compiled/babel-loader/583.index.js +++ /dev/null @@ -1,550 +0,0 @@ -"use strict"; -exports.id = 583; -exports.ids = [583]; -exports.modules = { - -/***/ 2463: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -const { sep: DEFAULT_SEPARATOR } = __webpack_require__(1017) - -const determineSeparator = paths => { - for (const path of paths) { - const match = /(\/|\\)/.exec(path) - if (match !== null) return match[0] - } - - return DEFAULT_SEPARATOR -} - -module.exports = function commonPathPrefix (paths, sep = determineSeparator(paths)) { - const [first = '', ...remaining] = paths - if (first === '' || remaining.length === 0) return '' - - const parts = first.split(sep) - - let endOfPrefix = parts.length - for (const path of remaining) { - const compare = path.split(sep) - for (let i = 0; i < endOfPrefix; i++) { - if (compare[i] !== parts[i]) { - endOfPrefix = i - } - } - - if (endOfPrefix === 0) return '' - } - - const prefix = parts.slice(0, endOfPrefix).join(sep) - return prefix.endsWith(sep) ? prefix : prefix + sep -} - - -/***/ }), - -/***/ 9583: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -// ESM COMPAT FLAG -__webpack_require__.r(__webpack_exports__); - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "default": () => (/* binding */ findCacheDirectory) -}); - -// EXTERNAL MODULE: external "node:process" -var external_node_process_ = __webpack_require__(7742); -// EXTERNAL MODULE: external "node:path" -var external_node_path_ = __webpack_require__(9411); -// EXTERNAL MODULE: external "node:fs" -var external_node_fs_ = __webpack_require__(7561); -// EXTERNAL MODULE: ../../node_modules/.pnpm/common-path-prefix@3.0.0/node_modules/common-path-prefix/index.js -var common_path_prefix = __webpack_require__(2463); -// EXTERNAL MODULE: external "node:url" -var external_node_url_ = __webpack_require__(1041); -;// CONCATENATED MODULE: ../../node_modules/.pnpm/yocto-queue@1.0.0/node_modules/yocto-queue/index.js -/* -How it works: -`this.#head` is an instance of `Node` which keeps track of its current value and nests another instance of `Node` that keeps the value that comes after it. When a value is provided to `.enqueue()`, the code needs to iterate through `this.#head`, going deeper and deeper to find the last value. However, iterating through every single item is slow. This problem is solved by saving a reference to the last value as `this.#tail` so that it can reference it to add a new value. -*/ - -class Node { - value; - next; - - constructor(value) { - this.value = value; - } -} - -class yocto_queue_Queue { - #head; - #tail; - #size; - - constructor() { - this.clear(); - } - - enqueue(value) { - const node = new Node(value); - - if (this.#head) { - this.#tail.next = node; - this.#tail = node; - } else { - this.#head = node; - this.#tail = node; - } - - this.#size++; - } - - dequeue() { - const current = this.#head; - if (!current) { - return; - } - - this.#head = this.#head.next; - this.#size--; - return current.value; - } - - clear() { - this.#head = undefined; - this.#tail = undefined; - this.#size = 0; - } - - get size() { - return this.#size; - } - - * [Symbol.iterator]() { - let current = this.#head; - - while (current) { - yield current.value; - current = current.next; - } - } -} - -;// CONCATENATED MODULE: ../../node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js - - -function p_limit_pLimit(concurrency) { - if (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0)) { - throw new TypeError('Expected `concurrency` to be a number from 1 and up'); - } - - const queue = new Queue(); - let activeCount = 0; - - const next = () => { - activeCount--; - - if (queue.size > 0) { - queue.dequeue()(); - } - }; - - const run = async (fn, resolve, args) => { - activeCount++; - - const result = (async () => fn(...args))(); - - resolve(result); - - try { - await result; - } catch {} - - next(); - }; - - const enqueue = (fn, resolve, args) => { - queue.enqueue(run.bind(undefined, fn, resolve, args)); - - (async () => { - // This function needs to wait until the next microtask before comparing - // `activeCount` to `concurrency`, because `activeCount` is updated asynchronously - // when the run function is dequeued and called. The comparison in the if-statement - // needs to happen asynchronously as well to get an up-to-date value for `activeCount`. - await Promise.resolve(); - - if (activeCount < concurrency && queue.size > 0) { - queue.dequeue()(); - } - })(); - }; - - const generator = (fn, ...args) => new Promise(resolve => { - enqueue(fn, resolve, args); - }); - - Object.defineProperties(generator, { - activeCount: { - get: () => activeCount, - }, - pendingCount: { - get: () => queue.size, - }, - clearQueue: { - value: () => { - queue.clear(); - }, - }, - }); - - return generator; -} - -;// CONCATENATED MODULE: ../../node_modules/.pnpm/p-locate@6.0.0/node_modules/p-locate/index.js - - -class EndError extends Error { - constructor(value) { - super(); - this.value = value; - } -} - -// The input can also be a promise, so we await it. -const testElement = async (element, tester) => tester(await element); - -// The input can also be a promise, so we `Promise.all()` them both. -const finder = async element => { - const values = await Promise.all(element); - if (values[1] === true) { - throw new EndError(values[0]); - } - - return false; -}; - -async function p_locate_pLocate( - iterable, - tester, - { - concurrency = Number.POSITIVE_INFINITY, - preserveOrder = true, - } = {}, -) { - const limit = pLimit(concurrency); - - // Start all the promises concurrently with optional limit. - const items = [...iterable].map(element => [element, limit(testElement, element, tester)]); - - // Check the promises either serially or concurrently. - const checkLimit = pLimit(preserveOrder ? 1 : Number.POSITIVE_INFINITY); - - try { - await Promise.all(items.map(element => checkLimit(finder, element))); - } catch (error) { - if (error instanceof EndError) { - return error.value; - } - - throw error; - } -} - -;// CONCATENATED MODULE: ../../node_modules/.pnpm/locate-path@7.2.0/node_modules/locate-path/index.js - - - - - - -const typeMappings = { - directory: 'isDirectory', - file: 'isFile', -}; - -function checkType(type) { - if (Object.hasOwnProperty.call(typeMappings, type)) { - return; - } - - throw new Error(`Invalid type specified: ${type}`); -} - -const matchType = (type, stat) => stat[typeMappings[type]](); - -const toPath = urlOrPath => urlOrPath instanceof URL ? (0,external_node_url_.fileURLToPath)(urlOrPath) : urlOrPath; - -async function locate_path_locatePath( - paths, - { - cwd = process.cwd(), - type = 'file', - allowSymlinks = true, - concurrency, - preserveOrder, - } = {}, -) { - checkType(type); - cwd = toPath(cwd); - - const statFunction = allowSymlinks ? fsPromises.stat : fsPromises.lstat; - - return pLocate(paths, async path_ => { - try { - const stat = await statFunction(path.resolve(cwd, path_)); - return matchType(type, stat); - } catch { - return false; - } - }, {concurrency, preserveOrder}); -} - -function locatePathSync( - paths, - { - cwd = external_node_process_.cwd(), - type = 'file', - allowSymlinks = true, - } = {}, -) { - checkType(type); - cwd = toPath(cwd); - - const statFunction = allowSymlinks ? external_node_fs_.statSync : external_node_fs_.lstatSync; - - for (const path_ of paths) { - try { - const stat = statFunction(external_node_path_.resolve(cwd, path_), { - throwIfNoEntry: false, - }); - - if (!stat) { - continue; - } - - if (matchType(type, stat)) { - return path_; - } - } catch {} - } -} - -;// CONCATENATED MODULE: ../../node_modules/.pnpm/path-exists@5.0.0/node_modules/path-exists/index.js - - -async function pathExists(path) { - try { - await fsPromises.access(path); - return true; - } catch { - return false; - } -} - -function pathExistsSync(path) { - try { - fs.accessSync(path); - return true; - } catch { - return false; - } -} - -;// CONCATENATED MODULE: ../../node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.js - - - - -const find_up_toPath = urlOrPath => urlOrPath instanceof URL ? (0,external_node_url_.fileURLToPath)(urlOrPath) : urlOrPath; - -const findUpStop = Symbol('findUpStop'); - -async function findUpMultiple(name, options = {}) { - let directory = path.resolve(find_up_toPath(options.cwd) || ''); - const {root} = path.parse(directory); - const stopAt = path.resolve(directory, options.stopAt || root); - const limit = options.limit || Number.POSITIVE_INFINITY; - const paths = [name].flat(); - - const runMatcher = async locateOptions => { - if (typeof name !== 'function') { - return locatePath(paths, locateOptions); - } - - const foundPath = await name(locateOptions.cwd); - if (typeof foundPath === 'string') { - return locatePath([foundPath], locateOptions); - } - - return foundPath; - }; - - const matches = []; - // eslint-disable-next-line no-constant-condition - while (true) { - // eslint-disable-next-line no-await-in-loop - const foundPath = await runMatcher({...options, cwd: directory}); - - if (foundPath === findUpStop) { - break; - } - - if (foundPath) { - matches.push(path.resolve(directory, foundPath)); - } - - if (directory === stopAt || matches.length >= limit) { - break; - } - - directory = path.dirname(directory); - } - - return matches; -} - -function findUpMultipleSync(name, options = {}) { - let directory = external_node_path_.resolve(find_up_toPath(options.cwd) || ''); - const {root} = external_node_path_.parse(directory); - const stopAt = options.stopAt || root; - const limit = options.limit || Number.POSITIVE_INFINITY; - const paths = [name].flat(); - - const runMatcher = locateOptions => { - if (typeof name !== 'function') { - return locatePathSync(paths, locateOptions); - } - - const foundPath = name(locateOptions.cwd); - if (typeof foundPath === 'string') { - return locatePathSync([foundPath], locateOptions); - } - - return foundPath; - }; - - const matches = []; - // eslint-disable-next-line no-constant-condition - while (true) { - const foundPath = runMatcher({...options, cwd: directory}); - - if (foundPath === findUpStop) { - break; - } - - if (foundPath) { - matches.push(external_node_path_.resolve(directory, foundPath)); - } - - if (directory === stopAt || matches.length >= limit) { - break; - } - - directory = external_node_path_.dirname(directory); - } - - return matches; -} - -async function find_up_findUp(name, options = {}) { - const matches = await findUpMultiple(name, {...options, limit: 1}); - return matches[0]; -} - -function findUpSync(name, options = {}) { - const matches = findUpMultipleSync(name, {...options, limit: 1}); - return matches[0]; -} - - - -;// CONCATENATED MODULE: ../../node_modules/.pnpm/pkg-dir@7.0.0/node_modules/pkg-dir/index.js - - - -async function packageDirectory({cwd} = {}) { - const filePath = await findUp('package.json', {cwd}); - return filePath && path.dirname(filePath); -} - -function packageDirectorySync({cwd} = {}) { - const filePath = findUpSync('package.json', {cwd}); - return filePath && external_node_path_.dirname(filePath); -} - -;// CONCATENATED MODULE: ../../node_modules/.pnpm/find-cache-dir@4.0.0/node_modules/find-cache-dir/index.js - - - - - - -const {env, cwd} = external_node_process_; - -const isWritable = path => { - try { - external_node_fs_.accessSync(path, external_node_fs_.constants.W_OK); - return true; - } catch { - return false; - } -}; - -function useDirectory(directory, options) { - if (options.create) { - external_node_fs_.mkdirSync(directory, {recursive: true}); - } - - if (options.thunk) { - return (...arguments_) => external_node_path_.join(directory, ...arguments_); - } - - return directory; -} - -function getNodeModuleDirectory(directory) { - const nodeModules = external_node_path_.join(directory, 'node_modules'); - - if ( - !isWritable(nodeModules) - && (external_node_fs_.existsSync(nodeModules) || !isWritable(external_node_path_.join(directory))) - ) { - return; - } - - return nodeModules; -} - -function findCacheDirectory(options = {}) { - if (env.CACHE_DIR && !['true', 'false', '1', '0'].includes(env.CACHE_DIR)) { - return useDirectory(external_node_path_.join(env.CACHE_DIR, options.name), options); - } - - let {cwd: directory = cwd()} = options; - - if (options.files) { - directory = common_path_prefix(options.files.map(file => external_node_path_.resolve(directory, file))); - } - - directory = packageDirectorySync({cwd: directory}); - - if (!directory) { - return; - } - - const nodeModules = getNodeModuleDirectory(directory); - if (!nodeModules) { - return; - } - - return useDirectory(external_node_path_.join(directory, 'node_modules', '.cache', options.name), options); -} - - -/***/ }) - -}; -; \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/babel-loader/index.d.ts b/packages/builder/builder-shared/compiled/babel-loader/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/babel-loader/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/babel-loader/index.js b/packages/builder/builder-shared/compiled/babel-loader/index.js deleted file mode 100644 index df006db5a74a..000000000000 --- a/packages/builder/builder-shared/compiled/babel-loader/index.js +++ /dev/null @@ -1,9 +0,0 @@ -(()=>{var e={9373:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.formatNames=t.fastFormats=t.fullFormats=void 0;function fmtDef(e,t){return{validate:e,compare:t}}t.fullFormats={date:fmtDef(date,compareDate),time:fmtDef(time,compareTime),"date-time":fmtDef(date_time,compareDateTime),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:uri,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:regex,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:byte,int32:{type:"number",validate:validateInt32},int64:{type:"number",validate:validateInt64},float:{type:"number",validate:validateNumber},double:{type:"number",validate:validateNumber},password:true,binary:true};t.fastFormats={...t.fullFormats,date:fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,compareDate),time:fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,compareTime),"date-time":fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,compareDateTime),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i};t.formatNames=Object.keys(t.fullFormats);function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}const r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;const n=[0,31,28,31,30,31,30,31,31,30,31,30,31];function date(e){const t=r.exec(e);if(!t)return false;const a=+t[1];const s=+t[2];const o=+t[3];return s>=1&&s<=12&&o>=1&&o<=(s===2&&isLeapYear(a)?29:n[s])}function compareDate(e,t){if(!(e&&t))return undefined;if(e>t)return 1;if(et)return 1;if(e=u}function validateInt64(e){return Number.isInteger(e)}function validateNumber(){return true}const l=/[^\\]\\Z/;function regex(e){if(l.test(e))return false;try{new RegExp(e);return true}catch(e){return false}}},3217:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(9373);const a=r(86);const s=r(4109);const o=new s.Name("fullFormats");const i=new s.Name("fastFormats");const formatsPlugin=(e,t={keywords:true})=>{if(Array.isArray(t)){addFormats(e,t,n.fullFormats,o);return e}const[r,s]=t.mode==="fast"?[n.fastFormats,i]:[n.fullFormats,o];const c=t.formats||n.formatNames;addFormats(e,c,r,s);if(t.keywords)a.default(e);return e};formatsPlugin.get=(e,t="full")=>{const r=t==="fast"?n.fastFormats:n.fullFormats;const a=r[e];if(!a)throw new Error(`Unknown format "${e}"`);return a};function addFormats(e,t,r,n){var a;var o;(a=(o=e.opts.code).formats)!==null&&a!==void 0?a:o.formats=s._`require("ajv-formats/dist/formats").${n}`;for(const n of t)e.addFormat(n,r[n])}e.exports=t=formatsPlugin;Object.defineProperty(t,"__esModule",{value:true});t["default"]=formatsPlugin},86:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.formatLimitDefinition=void 0;const n=r(4711);const a=r(4109);const s=a.operators;const o={formatMaximum:{okStr:"<=",ok:s.LTE,fail:s.GT},formatMinimum:{okStr:">=",ok:s.GTE,fail:s.LT},formatExclusiveMaximum:{okStr:"<",ok:s.LT,fail:s.GTE},formatExclusiveMinimum:{okStr:">",ok:s.GT,fail:s.LTE}};const i={message:({keyword:e,schemaCode:t})=>a.str`should be ${o[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>a._`{comparison: ${o[e].okStr}, limit: ${t}}`};t.formatLimitDefinition={keyword:Object.keys(o),type:"string",schemaType:"string",$data:true,error:i,code(e){const{gen:t,data:r,schemaCode:s,keyword:i,it:c}=e;const{opts:u,self:d}=c;if(!u.validateFormats)return;const l=new n.KeywordCxt(c,d.RULES.all.format.definition,"format");if(l.$data)validate$DataFormat();else validateFormat();function validate$DataFormat(){const r=t.scopeValue("formats",{ref:d.formats,code:u.code.formats});const n=t.const("fmt",a._`${r}[${l.schemaCode}]`);e.fail$data(a.or(a._`typeof ${n} != "object"`,a._`${n} instanceof RegExp`,a._`typeof ${n}.compare != "function"`,compareCode(n)))}function validateFormat(){const r=l.schema;const n=d.formats[r];if(!n||n===true)return;if(typeof n!="object"||n instanceof RegExp||typeof n.compare!="function"){throw new Error(`"${i}": format "${r}" does not define "compare" function`)}const s=t.scopeValue("formats",{key:r,ref:n,code:u.code.formats?a._`${u.code.formats}${a.getProperty(r)}`:undefined});e.fail$data(compareCode(s))}function compareCode(e){return a._`${e}.compare(${r}, ${s}) ${o[i].fail} 0`}},dependencies:["format"]};const formatLimitPlugin=e=>{e.addKeyword(t.formatLimitDefinition);return e};t["default"]=formatLimitPlugin},408:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getRangeDef(e){return()=>({keyword:e,type:"number",schemaType:"array",macro:function([t,r]){validateRangeSchema(t,r);return e==="range"?{minimum:t,maximum:r}:{exclusiveMinimum:t,exclusiveMaximum:r}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}});function validateRangeSchema(t,r){if(t>r||e==="exclusiveRange"&&t===r){throw new Error("There are no numbers in range")}}}t["default"]=getRangeDef},1085:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getRequiredDef(e){return()=>({keyword:e,type:"object",schemaType:"array",macro(t){if(t.length===0)return true;if(t.length===1)return{required:t};const r=e==="anyRequired"?"anyOf":"oneOf";return{[r]:t.map((e=>({required:[e]})))}},metaSchema:{type:"array",items:{type:"string"}}})}t["default"]=getRequiredDef},9503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.usePattern=t.metaSchemaRef=void 0;const n=r(4109);const a="http://json-schema.org/schema";function metaSchemaRef({defaultMeta:e}={}){return e===false?{}:{$ref:e||a}}t.metaSchemaRef=metaSchemaRef;function usePattern({gen:e,it:{opts:t}},r,a=(t.unicodeRegExp?"u":"")){const s=new RegExp(r,a);return e.scopeValue("pattern",{key:s.toString(),ref:s,code:(0,n._)`new RegExp(${r}, ${a})`})}t.usePattern=usePattern},9160:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getDef(){return{keyword:"allRequired",type:"object",schemaType:"boolean",macro(e,t){if(!e)return true;const r=Object.keys(t.properties);if(r.length===0)return true;return{required:r}},dependencies:["properties"]}}t["default"]=getDef;e.exports=getDef},5817:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(1085));const s=(0,a.default)("anyRequired");t["default"]=s;e.exports=s},6165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(9503);function getDef(e){return{keyword:"deepProperties",type:"object",schemaType:"object",macro:function(e){const t=[];for(const r in e)t.push(getSchema(r,e[r]));return{allOf:t}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:(0,n.metaSchemaRef)(e)}}}t["default"]=getDef;function getSchema(e,t){const r=e.split("/");const n={};let a=n;for(let e=1;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);function getDef(){return{keyword:"deepRequired",type:"object",schemaType:"array",code(e){const{schema:t,data:r}=e;const a=t.map((e=>(0,n._)`(${getData(e)}) === undefined`));e.fail((0,n.or)(...a));function getData(e){if(e==="")throw new Error("empty JSON pointer not allowed");const t=e.split("/");let a=r;const s=t.map(((e,t)=>t?a=(0,n._)`${a}${(0,n.getProperty)(unescapeJPSegment(e))}`:a));return(0,n.and)(...s)}},metaSchema:{type:"array",items:{type:"string",format:"json-pointer"}}}}t["default"]=getDef;function unescapeJPSegment(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}e.exports=getDef},3220:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r={};const n={timestamp:()=>()=>Date.now(),datetime:()=>()=>(new Date).toISOString(),date:()=>()=>(new Date).toISOString().slice(0,10),time:()=>()=>(new Date).toISOString().slice(11),random:()=>()=>Math.random(),randomint:e=>{var t;const r=(t=e===null||e===void 0?void 0:e.max)!==null&&t!==void 0?t:2;return()=>Math.floor(Math.random()*r)},seq:e=>{var t;const n=(t=e===null||e===void 0?void 0:e.name)!==null&&t!==void 0?t:"";r[n]||(r[n]=0);return()=>r[n]++}};const a=Object.assign(_getDef,{DEFAULTS:n});function _getDef(){return{keyword:"dynamicDefaults",type:"object",schemaType:["string","object"],modifying:true,valid:true,compile(e,t,r){if(!r.opts.useDefaults||r.compositeRule)return()=>true;const n={};for(const t in e)n[t]=getDefault(e[t]);const a=r.opts.useDefaults==="empty";return t=>{for(const r in e){if(t[r]===undefined||a&&(t[r]===null||t[r]==="")){t[r]=n[r]()}}return true}},metaSchema:{type:"object",additionalProperties:{anyOf:[{type:"string"},{type:"object",additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}]}}}}function getDefault(e){return typeof e=="object"?getObjDefault(e):getStrDefault(e)}function getObjDefault({func:e,args:t}){const r=n[e];assertDefined(e,r);return r(t)}function getStrDefault(e=""){const t=n[e];assertDefined(e,t);return t()}function assertDefined(e,t){if(!t)throw new Error(`invalid "dynamicDefaults" keyword property value: ${e}`)}t["default"]=a;e.exports=a},541:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(408));const s=(0,a.default)("exclusiveRange");t["default"]=s;e.exports=s},4785:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};if(typeof Buffer!="undefined")r.Buffer=Buffer;if(typeof Promise!="undefined")r.Promise=Promise;const n=Object.assign(_getDef,{CONSTRUCTORS:r});function _getDef(){return{keyword:"instanceof",schemaType:["string","array"],compile(e){if(typeof e=="string"){const t=getConstructor(e);return e=>e instanceof t}if(Array.isArray(e)){const t=e.map(getConstructor);return e=>{for(const r of t){if(e instanceof r)return true}return false}}throw new Error("ajv implementation error")},metaSchema:{anyOf:[{type:"string"},{type:"array",items:{type:"string"}}]}}}function getConstructor(e){const t=r[e];if(t)return t;throw new Error(`invalid "instanceof" keyword value ${e}`)}t["default"]=n;e.exports=n},4656:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(1085));const s=(0,a.default)("oneRequired");t["default"]=s;e.exports=s},1818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a=r(9503);const s={message:({params:{missingPattern:e}})=>(0,n.str)`should have property matching pattern '${e}'`,params:({params:{missingPattern:e}})=>(0,n._)`{missingPattern: ${e}}`};function getDef(){return{keyword:"patternRequired",type:"object",schemaType:"array",error:s,code(e){const{gen:t,schema:r,data:s}=e;if(r.length===0)return;const o=t.let("valid",true);for(const e of r)validateProperties(e);function validateProperties(r){const i=t.let("matched",false);t.forIn("key",s,(s=>{t.assign(i,(0,n._)`${(0,a.usePattern)(e,r)}.test(${s})`);t.if(i,(()=>t.break()))}));e.setParams({missingPattern:r});t.assign(o,(0,n.and)(o,i));e.pass(o)}},metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}}}t["default"]=getDef;e.exports=getDef},7506:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getDef(){return{keyword:"prohibited",type:"object",schemaType:"array",macro:function(e){if(e.length===0)return true;if(e.length===1)return{not:{required:e}};return{not:{anyOf:e.map((e=>({required:[e]})))}}},metaSchema:{type:"array",items:{type:"string"}}}}t["default"]=getDef;e.exports=getDef},2669:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(408));const s=(0,a.default)("range");t["default"]=s;e.exports=s},3163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a=r(9503);const s={type:"object",properties:{pattern:{type:"string"},flags:{type:"string",nullable:true}},required:["pattern"],additionalProperties:false};const o=/^\/(.*)\/([gimuy]*)$/;function getDef(){return{keyword:"regexp",type:"string",schemaType:["string","object"],code(e){const{data:t,schema:r}=e;const s=getRegExp(r);e.pass((0,n._)`${s}.test(${t})`);function getRegExp(t){if(typeof t=="object")return(0,a.usePattern)(e,t.pattern,t.flags);const r=o.exec(t);if(r)return(0,a.usePattern)(e,r[1],r[2]);throw new Error("cannot parse string into RegExp")}},metaSchema:{anyOf:[{type:"string"},s]}}}t["default"]=getDef;e.exports=getDef},2730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a=r(9503);const s={message:({params:{schemaProp:e}})=>e?(0,n.str)`should match case "${e}" schema`:(0,n.str)`should match default case schema`,params:({params:{schemaProp:e}})=>e?(0,n._)`{failingCase: ${e}}`:(0,n._)`{failingDefault: true}`};function getDef(e){const t=(0,a.metaSchemaRef)(e);return[{keyword:"select",schemaType:["string","number","boolean","null"],$data:true,error:s,dependencies:["selectCases"],code(e){const{gen:t,schemaCode:r,parentSchema:a}=e;e.block$data(n.nil,(()=>{const s=t.let("valid",true);const o=t.name("_valid");const i=t.const("value",(0,n._)`${r} === null ? "null" : ${r}`);t.if(false);for(const r in a.selectCases){e.setParams({schemaProp:r});t.elseIf((0,n._)`"" + ${i} == ${r}`);const a=e.subschema({keyword:"selectCases",schemaProp:r},o);e.mergeEvaluated(a,n.Name);t.assign(s,o)}t.else();if(a.selectDefault!==undefined){e.setParams({schemaProp:undefined});const r=e.subschema({keyword:"selectDefault"},o);e.mergeEvaluated(r,n.Name);t.assign(s,o)}t.endIf();e.pass(s)}))}},{keyword:"selectCases",dependencies:["select"],metaSchema:{type:"object",additionalProperties:t}},{keyword:"selectDefault",dependencies:["select","selectCases"],metaSchema:t}]}t["default"]=getDef;e.exports=getDef},6678:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a={trimStart:e=>e.trimStart(),trimEnd:e=>e.trimEnd(),trimLeft:e=>e.trimStart(),trimRight:e=>e.trimEnd(),trim:e=>e.trim(),toLowerCase:e=>e.toLowerCase(),toUpperCase:e=>e.toUpperCase(),toEnumCase:(e,t)=>(t===null||t===void 0?void 0:t.hash[configKey(e)])||e};const s=Object.assign(_getDef,{transform:a});function _getDef(){return{keyword:"transform",schemaType:"array",before:"enum",code(e){const{gen:t,data:r,schema:s,parentSchema:o,it:i}=e;const{parentData:c,parentDataProperty:u}=i;const d=s;if(!d.length)return;let l;if(d.includes("toEnumCase")){const e=getEnumCaseCfg(o);l=t.scopeValue("obj",{ref:e,code:(0,n.stringify)(e)})}t.if((0,n._)`typeof ${r} == "string" && ${c} !== undefined`,(()=>{t.assign(r,transformExpr(d.slice()));t.assign((0,n._)`${c}[${u}]`,r)}));function transformExpr(e){if(!e.length)return r;const s=e.pop();if(!(s in a))throw new Error(`transform: unknown transformation ${s}`);const o=t.scopeValue("func",{ref:a[s],code:(0,n._)`require("ajv-keywords/dist/definitions/transform").transform${(0,n.getProperty)(s)}`});const i=transformExpr(e);return l&&s==="toEnumCase"?(0,n._)`${o}(${i}, ${l})`:(0,n._)`${o}(${i})`}},metaSchema:{type:"array",items:{type:"string",enum:Object.keys(a)}}}}function getEnumCaseCfg(e){const t={hash:{}};if(!e.enum)throw new Error('transform: "toEnumCase" requires "enum"');for(const r of e.enum){if(typeof r!=="string")continue;const e=configKey(r);if(t.hash[e]){throw new Error('transform: "toEnumCase" requires all lowercased "enum" values to be unique')}t.hash[e]=r}return t}function configKey(e){return e.toLowerCase()}t["default"]=s;e.exports=s},2518:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a=["undefined","string","number","object","function","boolean","symbol"];function getDef(){return{keyword:"typeof",schemaType:["string","array"],code(e){const{data:t,schema:r,schemaValue:a}=e;e.fail(typeof r=="string"?(0,n._)`typeof ${t} != ${r}`:(0,n._)`${a}.indexOf(typeof ${t}) < 0`)},metaSchema:{anyOf:[{type:"string",enum:a},{type:"array",items:{type:"string",enum:a}}]}}}t["default"]=getDef;e.exports=getDef},3530:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(7447);const a=["number","integer","string","boolean","null"];function getDef(){return{keyword:"uniqueItemProperties",type:"array",schemaType:"array",compile(e,t){const r=getScalarKeys(e,t);return t=>{if(t.length<=1)return true;for(let a=0;a{var r,n,s;const o=(s=(n=(r=t.items)===null||r===void 0?void 0:r.properties)===null||n===void 0?void 0:n[e])===null||s===void 0?void 0:s.type;return Array.isArray(o)?!o.includes("object")&&!o.includes("array"):a.includes(o)}))}e.exports=getDef},4563:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(4959));const ajvKeywords=(e,t)=>{if(Array.isArray(t)){for(const r of t)get(r)(e);return e}if(t){get(t)(e);return e}for(t in a.default)get(t)(e);return e};ajvKeywords.get=get;function get(e){const t=a.default[e];if(!t)throw new Error("Unknown keyword "+e);return t}t["default"]=ajvKeywords;e.exports=ajvKeywords;e.exports["default"]=ajvKeywords},237:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(9160));const allRequired=e=>e.addKeyword((0,a.default)());t["default"]=allRequired;e.exports=allRequired},484:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(5817));const anyRequired=e=>e.addKeyword((0,a.default)());t["default"]=anyRequired;e.exports=anyRequired},4739:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(6165));const deepProperties=(e,t)=>e.addKeyword((0,a.default)(t));t["default"]=deepProperties;e.exports=deepProperties},8360:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(2592));const deepRequired=e=>e.addKeyword((0,a.default)());t["default"]=deepRequired;e.exports=deepRequired},4515:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(3220));const dynamicDefaults=e=>e.addKeyword((0,a.default)());t["default"]=dynamicDefaults;e.exports=dynamicDefaults},5304:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(541));const exclusiveRange=e=>e.addKeyword((0,a.default)());t["default"]=exclusiveRange;e.exports=exclusiveRange},4959:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(6401));const s=n(r(7499));const o=n(r(7119));const i=n(r(5304));const c=n(r(9033));const u=n(r(4573));const d=n(r(2857));const l=n(r(237));const f=n(r(484));const p=n(r(3207));const m=n(r(9417));const h=n(r(9832));const y=n(r(4739));const g=n(r(8360));const v=n(r(4515));const $=n(r(2520));const b={typeof:a.default,instanceof:s.default,range:o.default,exclusiveRange:i.default,regexp:c.default,transform:u.default,uniqueItemProperties:d.default,allRequired:l.default,anyRequired:f.default,oneRequired:p.default,patternRequired:m.default,prohibited:h.default,deepProperties:y.default,deepRequired:g.default,dynamicDefaults:v.default,select:$.default};t["default"]=b;e.exports=b},7499:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(4785));const instanceofPlugin=e=>e.addKeyword((0,a.default)());t["default"]=instanceofPlugin;e.exports=instanceofPlugin},3207:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(4656));const oneRequired=e=>e.addKeyword((0,a.default)());t["default"]=oneRequired;e.exports=oneRequired},9417:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(1818));const patternRequired=e=>e.addKeyword((0,a.default)());t["default"]=patternRequired;e.exports=patternRequired},9832:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(7506));const prohibited=e=>e.addKeyword((0,a.default)());t["default"]=prohibited;e.exports=prohibited},7119:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(2669));const range=e=>e.addKeyword((0,a.default)());t["default"]=range;e.exports=range},9033:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(3163));const regexp=e=>e.addKeyword((0,a.default)());t["default"]=regexp;e.exports=regexp},2520:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(2730));const select=(e,t)=>{(0,a.default)(t).forEach((t=>e.addKeyword(t)));return e};t["default"]=select;e.exports=select},4573:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(6678));const transform=e=>e.addKeyword((0,a.default)());t["default"]=transform;e.exports=transform},6401:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(2518));const typeofPlugin=e=>e.addKeyword((0,a.default)());t["default"]=typeofPlugin;e.exports=typeofPlugin},2857:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const a=n(r(3530));const uniqueItemProperties=e=>e.addKeyword((0,a.default)());t["default"]=uniqueItemProperties;e.exports=uniqueItemProperties},4711:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const n=r(3834);const a=r(8056);const s=r(8222);const o=r(9520);const i=["/properties"];const c="http://json-schema.org/draft-07/schema";class Ajv extends n.default{_addVocabularies(){super._addVocabularies();a.default.forEach((e=>this.addVocabulary(e)));if(this.opts.discriminator)this.addKeyword(s.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();if(!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(o,i):o;this.addMetaSchema(e,c,false);this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:undefined)}}e.exports=t=Ajv;Object.defineProperty(t,"__esModule",{value:true});t["default"]=Ajv;var u=r(7357);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return u.KeywordCxt}});var d=r(4109);Object.defineProperty(t,"_",{enumerable:true,get:function(){return d._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return d.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return d.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return d.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return d.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return d.CodeGen}});t.codegen=r(4109)},3456:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class _CodeOrName{}t._CodeOrName=_CodeOrName;t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class Name extends _CodeOrName{constructor(e){super();if(!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return false}get names(){return{[this.str]:1}}}t.Name=Name;class _Code extends _CodeOrName{constructor(e){super();this._items=typeof e==="string"?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return false;const e=this._items[0];return e===""||e==='""'}get str(){var e;return(e=this._str)!==null&&e!==void 0?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return(e=this._names)!==null&&e!==void 0?e:this._names=this._items.reduce(((e,t)=>{if(t instanceof Name)e[t.str]=(e[t.str]||0)+1;return e}),{})}}t._Code=_Code;t.nil=new _Code("");function _(e,...t){const r=[e[0]];let n=0;while(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const n=r(3456);const a=r(3078);var s=r(3456);Object.defineProperty(t,"_",{enumerable:true,get:function(){return s._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return s.str}});Object.defineProperty(t,"strConcat",{enumerable:true,get:function(){return s.strConcat}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return s.nil}});Object.defineProperty(t,"getProperty",{enumerable:true,get:function(){return s.getProperty}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return s.stringify}});Object.defineProperty(t,"regexpCode",{enumerable:true,get:function(){return s.regexpCode}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return s.Name}});var o=r(3078);Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return o.Scope}});Object.defineProperty(t,"ValueScope",{enumerable:true,get:function(){return o.ValueScope}});Object.defineProperty(t,"ValueScopeName",{enumerable:true,get:function(){return o.ValueScopeName}});Object.defineProperty(t,"varKinds",{enumerable:true,get:function(){return o.varKinds}});t.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class Node{optimizeNodes(){return this}optimizeNames(e,t){return this}}class Def extends Node{constructor(e,t,r){super();this.varKind=e;this.name=t;this.rhs=r}render({es5:e,_n:t}){const r=e?a.varKinds.var:this.varKind;const n=this.rhs===undefined?"":` = ${this.rhs}`;return`${r} ${this.name}${n};`+t}optimizeNames(e,t){if(!e[this.name.str])return;if(this.rhs)this.rhs=optimizeExpr(this.rhs,e,t);return this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class Assign extends Node{constructor(e,t,r){super();this.lhs=e;this.rhs=t;this.sideEffects=r}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(this.lhs instanceof n.Name&&!e[this.lhs.str]&&!this.sideEffects)return;this.rhs=optimizeExpr(this.rhs,e,t);return this}get names(){const e=this.lhs instanceof n.Name?{}:{...this.lhs.names};return addExprNames(e,this.rhs)}}class AssignOp extends Assign{constructor(e,t,r,n){super(e,r,n);this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class Label extends Node{constructor(e){super();this.label=e;this.names={}}render({_n:e}){return`${this.label}:`+e}}class Break extends Node{constructor(e){super();this.label=e;this.names={}}render({_n:e}){const t=this.label?` ${this.label}`:"";return`break${t};`+e}}class Throw extends Node{constructor(e){super();this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class AnyCode extends Node{constructor(e){super();this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:undefined}optimizeNames(e,t){this.code=optimizeExpr(this.code,e,t);return this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class ParentNode extends Node{constructor(e=[]){super();this.nodes=e}render(e){return this.nodes.reduce(((t,r)=>t+r.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;while(t--){const r=e[t].optimizeNodes();if(Array.isArray(r))e.splice(t,1,...r);else if(r)e[t]=r;else e.splice(t,1)}return e.length>0?this:undefined}optimizeNames(e,t){const{nodes:r}=this;let n=r.length;while(n--){const a=r[n];if(a.optimizeNames(e,t))continue;subtractNames(e,a.names);r.splice(n,1)}return r.length>0?this:undefined}get names(){return this.nodes.reduce(((e,t)=>addNames(e,t.names)),{})}}class BlockNode extends ParentNode{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class Root extends ParentNode{}class Else extends BlockNode{}Else.kind="else";class If extends BlockNode{constructor(e,t){super(t);this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);if(this.else)t+="else "+this.else.render(e);return t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(e===true)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new Else(e):e}if(t){if(e===false)return t instanceof If?t:t.nodes;if(this.nodes.length)return this;return new If(not(e),t instanceof If?[t]:t.nodes)}if(e===false||!this.nodes.length)return undefined;return this}optimizeNames(e,t){var r;this.else=(r=this.else)===null||r===void 0?void 0:r.optimizeNames(e,t);if(!(super.optimizeNames(e,t)||this.else))return;this.condition=optimizeExpr(this.condition,e,t);return this}get names(){const e=super.names;addExprNames(e,this.condition);if(this.else)addNames(e,this.else.names);return e}}If.kind="if";class For extends BlockNode{}For.kind="for";class ForLoop extends For{constructor(e){super();this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(!super.optimizeNames(e,t))return;this.iteration=optimizeExpr(this.iteration,e,t);return this}get names(){return addNames(super.names,this.iteration.names)}}class ForRange extends For{constructor(e,t,r,n){super();this.varKind=e;this.name=t;this.from=r;this.to=n}render(e){const t=e.es5?a.varKinds.var:this.varKind;const{name:r,from:n,to:s}=this;return`for(${t} ${r}=${n}; ${r}<${s}; ${r}++)`+super.render(e)}get names(){const e=addExprNames(super.names,this.from);return addExprNames(e,this.to)}}class ForIter extends For{constructor(e,t,r,n){super();this.loop=e;this.varKind=t;this.name=r;this.iterable=n}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(!super.optimizeNames(e,t))return;this.iterable=optimizeExpr(this.iterable,e,t);return this}get names(){return addNames(super.names,this.iterable.names)}}class Func extends BlockNode{constructor(e,t,r){super();this.name=e;this.args=t;this.async=r}render(e){const t=this.async?"async ":"";return`${t}function ${this.name}(${this.args})`+super.render(e)}}Func.kind="func";class Return extends ParentNode{render(e){return"return "+super.render(e)}}Return.kind="return";class Try extends BlockNode{render(e){let t="try"+super.render(e);if(this.catch)t+=this.catch.render(e);if(this.finally)t+=this.finally.render(e);return t}optimizeNodes(){var e,t;super.optimizeNodes();(e=this.catch)===null||e===void 0?void 0:e.optimizeNodes();(t=this.finally)===null||t===void 0?void 0:t.optimizeNodes();return this}optimizeNames(e,t){var r,n;super.optimizeNames(e,t);(r=this.catch)===null||r===void 0?void 0:r.optimizeNames(e,t);(n=this.finally)===null||n===void 0?void 0:n.optimizeNames(e,t);return this}get names(){const e=super.names;if(this.catch)addNames(e,this.catch.names);if(this.finally)addNames(e,this.finally.names);return e}}class Catch extends BlockNode{constructor(e){super();this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}Catch.kind="catch";class Finally extends BlockNode{render(e){return"finally"+super.render(e)}}Finally.kind="finally";class CodeGen{constructor(e,t={}){this._values={};this._blockStarts=[];this._constants={};this.opts={...t,_n:t.lines?"\n":""};this._extScope=e;this._scope=new a.Scope({parent:e});this._nodes=[new Root]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const r=this._extScope.value(e,t);const n=this._values[r.prefix]||(this._values[r.prefix]=new Set);n.add(r);return r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,n){const a=this._scope.toName(t);if(r!==undefined&&n)this._constants[a.str]=r;this._leafNode(new Def(e,a,r));return a}const(e,t,r){return this._def(a.varKinds.const,e,t,r)}let(e,t,r){return this._def(a.varKinds.let,e,t,r)}var(e,t,r){return this._def(a.varKinds.var,e,t,r)}assign(e,t,r){return this._leafNode(new Assign(e,t,r))}add(e,r){return this._leafNode(new AssignOp(e,t.operators.ADD,r))}code(e){if(typeof e=="function")e();else if(e!==n.nil)this._leafNode(new AnyCode(e));return this}object(...e){const t=["{"];for(const[r,a]of e){if(t.length>1)t.push(",");t.push(r);if(r!==a||this.opts.es5){t.push(":");(0,n.addCodeArg)(t,a)}}t.push("}");return new n._Code(t)}if(e,t,r){this._blockNode(new If(e));if(t&&r){this.code(t).else().code(r).endIf()}else if(t){this.code(t).endIf()}else if(r){throw new Error('CodeGen: "else" body without "then" body')}return this}elseIf(e){return this._elseNode(new If(e))}else(){return this._elseNode(new Else)}endIf(){return this._endBlockNode(If,Else)}_for(e,t){this._blockNode(e);if(t)this.code(t).endFor();return this}for(e,t){return this._for(new ForLoop(e),t)}forRange(e,t,r,n,s=(this.opts.es5?a.varKinds.var:a.varKinds.let)){const o=this._scope.toName(e);return this._for(new ForRange(s,o,t,r),(()=>n(o)))}forOf(e,t,r,s=a.varKinds.const){const o=this._scope.toName(e);if(this.opts.es5){const e=t instanceof n.Name?t:this.var("_arr",t);return this.forRange("_i",0,(0,n._)`${e}.length`,(t=>{this.var(o,(0,n._)`${e}[${t}]`);r(o)}))}return this._for(new ForIter("of",s,o,t),(()=>r(o)))}forIn(e,t,r,s=(this.opts.es5?a.varKinds.var:a.varKinds.const)){if(this.opts.ownProperties){return this.forOf(e,(0,n._)`Object.keys(${t})`,r)}const o=this._scope.toName(e);return this._for(new ForIter("in",s,o,t),(()=>r(o)))}endFor(){return this._endBlockNode(For)}label(e){return this._leafNode(new Label(e))}break(e){return this._leafNode(new Break(e))}return(e){const t=new Return;this._blockNode(t);this.code(e);if(t.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Return)}try(e,t,r){if(!t&&!r)throw new Error('CodeGen: "try" without "catch" and "finally"');const n=new Try;this._blockNode(n);this.code(e);if(t){const e=this.name("e");this._currNode=n.catch=new Catch(e);t(e)}if(r){this._currNode=n.finally=new Finally;this.code(r)}return this._endBlockNode(Catch,Finally)}throw(e){return this._leafNode(new Throw(e))}block(e,t){this._blockStarts.push(this._nodes.length);if(e)this.code(e).endBlock(t);return this}endBlock(e){const t=this._blockStarts.pop();if(t===undefined)throw new Error("CodeGen: not in self-balancing block");const r=this._nodes.length-t;if(r<0||e!==undefined&&r!==e){throw new Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`)}this._nodes.length=t;return this}func(e,t=n.nil,r,a){this._blockNode(new Func(e,t,r));if(a)this.code(a).endFunc();return this}endFunc(){return this._endBlockNode(Func)}optimize(e=1){while(e-- >0){this._root.optimizeNodes();this._root.optimizeNames(this._root.names,this._constants)}}_leafNode(e){this._currNode.nodes.push(e);return this}_blockNode(e){this._currNode.nodes.push(e);this._nodes.push(e)}_endBlockNode(e,t){const r=this._currNode;if(r instanceof e||t&&r instanceof t){this._nodes.pop();return this}throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof If)){throw new Error('CodeGen: "else" without "if"')}this._currNode=t.else=e;return this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}}t.CodeGen=CodeGen;function addNames(e,t){for(const r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function addExprNames(e,t){return t instanceof n._CodeOrName?addNames(e,t.names):e}function optimizeExpr(e,t,r){if(e instanceof n.Name)return replaceName(e);if(!canOptimize(e))return e;return new n._Code(e._items.reduce(((e,t)=>{if(t instanceof n.Name)t=replaceName(t);if(t instanceof n._Code)e.push(...t._items);else e.push(t);return e}),[]));function replaceName(e){const n=r[e.str];if(n===undefined||t[e.str]!==1)return e;delete t[e.str];return n}function canOptimize(e){return e instanceof n._Code&&e._items.some((e=>e instanceof n.Name&&t[e.str]===1&&r[e.str]!==undefined))}}function subtractNames(e,t){for(const r in t)e[r]=(e[r]||0)-(t[r]||0)}function not(e){return typeof e=="boolean"||typeof e=="number"||e===null?!e:(0,n._)`!${par(e)}`}t.not=not;const i=mappend(t.operators.AND);function and(...e){return e.reduce(i)}t.and=and;const c=mappend(t.operators.OR);function or(...e){return e.reduce(c)}t.or=or;function mappend(e){return(t,r)=>t===n.nil?r:r===n.nil?t:(0,n._)`${par(t)} ${e} ${par(r)}`}function par(e){return e instanceof n.Name?e:(0,n._)`(${e})`}},3078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const n=r(3456);class ValueError extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`);this.value=e.value}}var a;(function(e){e[e["Started"]=0]="Started";e[e["Completed"]=1]="Completed"})(a=t.UsedValueState||(t.UsedValueState={}));t.varKinds={const:new n.Name("const"),let:new n.Name("let"),var:new n.Name("var")};class Scope{constructor({prefixes:e,parent:t}={}){this._names={};this._prefixes=e;this._parent=t}toName(e){return e instanceof n.Name?e:this.name(e)}name(e){return new n.Name(this._newName(e))}_newName(e){const t=this._names[e]||this._nameGroup(e);return`${e}${t.index++}`}_nameGroup(e){var t,r;if(((r=(t=this._parent)===null||t===void 0?void 0:t._prefixes)===null||r===void 0?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e)){throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`)}return this._names[e]={prefix:e,index:0}}}t.Scope=Scope;class ValueScopeName extends n.Name{constructor(e,t){super(t);this.prefix=e}setValue(e,{property:t,itemIndex:r}){this.value=e;this.scopePath=(0,n._)`.${new n.Name(t)}[${r}]`}}t.ValueScopeName=ValueScopeName;const s=(0,n._)`\n`;class ValueScope extends Scope{constructor(e){super(e);this._values={};this._scope=e.scope;this.opts={...e,_n:e.lines?s:n.nil}}get(){return this._scope}name(e){return new ValueScopeName(e,this._newName(e))}value(e,t){var r;if(t.ref===undefined)throw new Error("CodeGen: ref must be passed in value");const n=this.toName(e);const{prefix:a}=n;const s=(r=t.key)!==null&&r!==void 0?r:t.ref;let o=this._values[a];if(o){const e=o.get(s);if(e)return e}else{o=this._values[a]=new Map}o.set(s,n);const i=this._scope[a]||(this._scope[a]=[]);const c=i.length;i[c]=t.ref;n.setValue(t,{property:a,itemIndex:c});return n}getValue(e,t){const r=this._values[e];if(!r)return;return r.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(t.scopePath===undefined)throw new Error(`CodeGen: name "${t}" has no value`);return(0,n._)`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,r){return this._reduceValues(e,(e=>{if(e.value===undefined)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,r)}_reduceValues(e,r,s={},o){let i=n.nil;for(const c in e){const u=e[c];if(!u)continue;const d=s[c]=s[c]||new Map;u.forEach((e=>{if(d.has(e))return;d.set(e,a.Started);let s=r(e);if(s){const r=this.opts.es5?t.varKinds.var:t.varKinds.const;i=(0,n._)`${i}${r} ${e} = ${s};${this.opts._n}`}else if(s=o===null||o===void 0?void 0:o(e)){i=(0,n._)`${i}${s}${this.opts._n}`}else{throw new ValueError(e)}d.set(e,a.Completed)}))}return i}}t.ValueScope=ValueScope},1069:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const n=r(4109);const a=r(7545);const s=r(4492);t.keywordError={message:({keyword:e})=>(0,n.str)`must pass "${e}" keyword validation`};t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?(0,n.str)`"${e}" keyword must be ${t} ($data)`:(0,n.str)`"${e}" keyword is invalid ($data)`};function reportError(e,r=t.keywordError,a,s){const{it:o}=e;const{gen:i,compositeRule:c,allErrors:u}=o;const d=errorObjectCode(e,r,a);if(s!==null&&s!==void 0?s:c||u){addError(i,d)}else{returnErrors(o,(0,n._)`[${d}]`)}}t.reportError=reportError;function reportExtraError(e,r=t.keywordError,n){const{it:a}=e;const{gen:o,compositeRule:i,allErrors:c}=a;const u=errorObjectCode(e,r,n);addError(o,u);if(!(i||c)){returnErrors(a,s.default.vErrors)}}t.reportExtraError=reportExtraError;function resetErrorsCount(e,t){e.assign(s.default.errors,t);e.if((0,n._)`${s.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign((0,n._)`${s.default.vErrors}.length`,t)),(()=>e.assign(s.default.vErrors,null)))))}t.resetErrorsCount=resetErrorsCount;function extendErrors({gen:e,keyword:t,schemaValue:r,data:a,errsCount:o,it:i}){if(o===undefined)throw new Error("ajv implementation error");const c=e.name("err");e.forRange("i",o,s.default.errors,(o=>{e.const(c,(0,n._)`${s.default.vErrors}[${o}]`);e.if((0,n._)`${c}.instancePath === undefined`,(()=>e.assign((0,n._)`${c}.instancePath`,(0,n.strConcat)(s.default.instancePath,i.errorPath))));e.assign((0,n._)`${c}.schemaPath`,(0,n.str)`${i.errSchemaPath}/${t}`);if(i.opts.verbose){e.assign((0,n._)`${c}.schema`,r);e.assign((0,n._)`${c}.data`,a)}}))}t.extendErrors=extendErrors;function addError(e,t){const r=e.const("err",t);e.if((0,n._)`${s.default.vErrors} === null`,(()=>e.assign(s.default.vErrors,(0,n._)`[${r}]`)),(0,n._)`${s.default.vErrors}.push(${r})`);e.code((0,n._)`${s.default.errors}++`)}function returnErrors(e,t){const{gen:r,validateName:a,schemaEnv:s}=e;if(s.$async){r.throw((0,n._)`new ${e.ValidationError}(${t})`)}else{r.assign((0,n._)`${a}.errors`,t);r.return(false)}}const o={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function errorObjectCode(e,t,r){const{createErrors:a}=e.it;if(a===false)return(0,n._)`{}`;return errorObject(e,t,r)}function errorObject(e,t,r={}){const{gen:n,it:a}=e;const s=[errorInstancePath(a,r),errorSchemaPath(e,r)];extraErrorProps(e,t,s);return n.object(...s)}function errorInstancePath({errorPath:e},{instancePath:t}){const r=t?(0,n.str)`${e}${(0,a.getErrorPath)(t,a.Type.Str)}`:e;return[s.default.instancePath,(0,n.strConcat)(s.default.instancePath,r)]}function errorSchemaPath({keyword:e,it:{errSchemaPath:t}},{schemaPath:r,parentSchema:s}){let i=s?t:(0,n.str)`${t}/${e}`;if(r){i=(0,n.str)`${i}${(0,a.getErrorPath)(r,a.Type.Str)}`}return[o.schemaPath,i]}function extraErrorProps(e,{params:t,message:r},a){const{keyword:i,data:c,schemaValue:u,it:d}=e;const{opts:l,propertyName:f,topSchemaRef:p,schemaPath:m}=d;a.push([o.keyword,i],[o.params,typeof t=="function"?t(e):t||(0,n._)`{}`]);if(l.messages){a.push([o.message,typeof r=="function"?r(e):r])}if(l.verbose){a.push([o.schema,u],[o.parentSchema,(0,n._)`${p}${m}`],[s.default.data,c])}if(f)a.push([o.propertyName,f])}},960:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const n=r(4109);const a=r(5919);const s=r(4492);const o=r(3877);const i=r(7545);const c=r(7357);class SchemaEnv{constructor(e){var t;this.refs={};this.dynamicAnchors={};let r;if(typeof e.schema=="object")r=e.schema;this.schema=e.schema;this.schemaId=e.schemaId;this.root=e.root||this;this.baseId=(t=e.baseId)!==null&&t!==void 0?t:(0,o.normalizeId)(r===null||r===void 0?void 0:r[e.schemaId||"$id"]);this.schemaPath=e.schemaPath;this.localRefs=e.localRefs;this.meta=e.meta;this.$async=r===null||r===void 0?void 0:r.$async;this.refs={}}}t.SchemaEnv=SchemaEnv;function compileSchema(e){const t=getCompilingSchema.call(this,e);if(t)return t;const r=(0,o.getFullPath)(this.opts.uriResolver,e.root.baseId);const{es5:i,lines:u}=this.opts.code;const{ownProperties:d}=this.opts;const l=new n.CodeGen(this.scope,{es5:i,lines:u,ownProperties:d});let f;if(e.$async){f=l.scopeValue("Error",{ref:a.default,code:(0,n._)`require("ajv/dist/runtime/validation_error").default`})}const p=l.scopeName("validate");e.validateName=p;const m={gen:l,allErrors:this.opts.allErrors,data:s.default.data,parentData:s.default.parentData,parentDataProperty:s.default.parentDataProperty,dataNames:[s.default.data],dataPathArr:[n.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:l.scopeValue("schema",this.opts.code.source===true?{ref:e.schema,code:(0,n.stringify)(e.schema)}:{ref:e.schema}),validateName:p,ValidationError:f,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:n.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,n._)`""`,opts:this.opts,self:this};let h;try{this._compilations.add(e);(0,c.validateFunctionCode)(m);l.optimize(this.opts.code.optimize);const t=l.toString();h=`${l.scopeRefs(s.default.scope)}return ${t}`;if(this.opts.code.process)h=this.opts.code.process(h,e);const r=new Function(`${s.default.self}`,`${s.default.scope}`,h);const a=r(this,this.scope.get());this.scope.value(p,{ref:a});a.errors=null;a.schema=e.schema;a.schemaEnv=e;if(e.$async)a.$async=true;if(this.opts.code.source===true){a.source={validateName:p,validateCode:t,scopeValues:l._values}}if(this.opts.unevaluated){const{props:e,items:t}=m;a.evaluated={props:e instanceof n.Name?undefined:e,items:t instanceof n.Name?undefined:t,dynamicProps:e instanceof n.Name,dynamicItems:t instanceof n.Name};if(a.source)a.source.evaluated=(0,n.stringify)(a.evaluated)}e.validate=a;return e}catch(t){delete e.validate;delete e.validateName;if(h)this.logger.error("Error compiling schema, function code:",h);throw t}finally{this._compilations.delete(e)}}t.compileSchema=compileSchema;function resolveRef(e,t,r){var n;r=(0,o.resolveUrl)(this.opts.uriResolver,t,r);const a=e.refs[r];if(a)return a;let s=resolve.call(this,e,r);if(s===undefined){const a=(n=e.localRefs)===null||n===void 0?void 0:n[r];const{schemaId:o}=this.opts;if(a)s=new SchemaEnv({schema:a,schemaId:o,root:e,baseId:t})}if(s===undefined)return;return e.refs[r]=inlineOrCompile.call(this,s)}t.resolveRef=resolveRef;function inlineOrCompile(e){if((0,o.inlineRef)(e.schema,this.opts.inlineRefs))return e.schema;return e.validate?e:compileSchema.call(this,e)}function getCompilingSchema(e){for(const t of this._compilations){if(sameSchemaEnv(t,e))return t}}t.getCompilingSchema=getCompilingSchema;function sameSchemaEnv(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function resolve(e,t){let r;while(typeof(r=this.refs[t])=="string")t=r;return r||this.schemas[t]||resolveSchema.call(this,e,t)}function resolveSchema(e,t){const r=this.opts.uriResolver.parse(t);const n=(0,o._getFullPath)(this.opts.uriResolver,r);let a=(0,o.getFullPath)(this.opts.uriResolver,e.baseId,undefined);if(Object.keys(e.schema).length>0&&n===a){return getJsonPointer.call(this,r,e)}const s=(0,o.normalizeId)(n);const i=this.refs[s]||this.schemas[s];if(typeof i=="string"){const t=resolveSchema.call(this,e,i);if(typeof(t===null||t===void 0?void 0:t.schema)!=="object")return;return getJsonPointer.call(this,r,t)}if(typeof(i===null||i===void 0?void 0:i.schema)!=="object")return;if(!i.validate)compileSchema.call(this,i);if(s===(0,o.normalizeId)(t)){const{schema:t}=i;const{schemaId:r}=this.opts;const n=t[r];if(n)a=(0,o.resolveUrl)(this.opts.uriResolver,a,n);return new SchemaEnv({schema:t,schemaId:r,root:e,baseId:a})}return getJsonPointer.call(this,r,i)}t.resolveSchema=resolveSchema;const u=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(e,{baseId:t,schema:r,root:n}){var a;if(((a=e.fragment)===null||a===void 0?void 0:a[0])!=="/")return;for(const n of e.fragment.slice(1).split("/")){if(typeof r==="boolean")return;const e=r[(0,i.unescapeFragment)(n)];if(e===undefined)return;r=e;const a=typeof r==="object"&&r[this.opts.schemaId];if(!u.has(n)&&a){t=(0,o.resolveUrl)(this.opts.uriResolver,t,a)}}let s;if(typeof r!="boolean"&&r.$ref&&!(0,i.schemaHasRulesButRef)(r,this.RULES)){const e=(0,o.resolveUrl)(this.opts.uriResolver,t,r.$ref);s=resolveSchema.call(this,n,e)}const{schemaId:c}=this.opts;s=s||new SchemaEnv({schema:r,schemaId:c,root:n,baseId:t});if(s.schema!==s.root.schema)return s;return undefined}},4492:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a={data:new n.Name("data"),valCxt:new n.Name("valCxt"),instancePath:new n.Name("instancePath"),parentData:new n.Name("parentData"),parentDataProperty:new n.Name("parentDataProperty"),rootData:new n.Name("rootData"),dynamicAnchors:new n.Name("dynamicAnchors"),vErrors:new n.Name("vErrors"),errors:new n.Name("errors"),this:new n.Name("this"),self:new n.Name("self"),scope:new n.Name("scope"),json:new n.Name("json"),jsonPos:new n.Name("jsonPos"),jsonLen:new n.Name("jsonLen"),jsonPart:new n.Name("jsonPart")};t["default"]=a},9984:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3877);class MissingRefError extends Error{constructor(e,t,r,a){super(a||`can't resolve reference ${r} from id ${t}`);this.missingRef=(0,n.resolveUrl)(e,t,r);this.missingSchema=(0,n.normalizeId)((0,n.getFullPath)(e,this.missingRef))}}t["default"]=MissingRefError},3877:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const n=r(7545);const a=r(7447);const s=r(7243);const o=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function inlineRef(e,t=true){if(typeof e=="boolean")return true;if(t===true)return!hasRef(e);if(!t)return false;return countKeys(e)<=t}t.inlineRef=inlineRef;const i=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function hasRef(e){for(const t in e){if(i.has(t))return true;const r=e[t];if(Array.isArray(r)&&r.some(hasRef))return true;if(typeof r=="object"&&hasRef(r))return true}return false}function countKeys(e){let t=0;for(const r in e){if(r==="$ref")return Infinity;t++;if(o.has(r))continue;if(typeof e[r]=="object"){(0,n.eachItem)(e[r],(e=>t+=countKeys(e)))}if(t===Infinity)return Infinity}return t}function getFullPath(e,t="",r){if(r!==false)t=normalizeId(t);const n=e.parse(t);return _getFullPath(e,n)}t.getFullPath=getFullPath;function _getFullPath(e,t){const r=e.serialize(t);return r.split("#")[0]+"#"}t._getFullPath=_getFullPath;const c=/#\/?$/;function normalizeId(e){return e?e.replace(c,""):""}t.normalizeId=normalizeId;function resolveUrl(e,t,r){r=normalizeId(r);return e.resolve(t,r)}t.resolveUrl=resolveUrl;const u=/^[a-z_][-a-z0-9._]*$/i;function getSchemaRefs(e,t){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:n}=this.opts;const o=normalizeId(e[r]||t);const i={"":o};const c=getFullPath(n,o,false);const d={};const l=new Set;s(e,{allKeys:true},((e,t,n,a)=>{if(a===undefined)return;const s=c+t;let o=i[a];if(typeof e[r]=="string")o=addRef.call(this,e[r]);addAnchor.call(this,e.$anchor);addAnchor.call(this,e.$dynamicAnchor);i[t]=o;function addRef(t){const r=this.opts.uriResolver.resolve;t=normalizeId(o?r(o,t):t);if(l.has(t))throw ambiguos(t);l.add(t);let n=this.refs[t];if(typeof n=="string")n=this.refs[n];if(typeof n=="object"){checkAmbiguosRef(e,n.schema,t)}else if(t!==normalizeId(s)){if(t[0]==="#"){checkAmbiguosRef(e,d[t],t);d[t]=e}else{this.refs[t]=s}}return t}function addAnchor(e){if(typeof e=="string"){if(!u.test(e))throw new Error(`invalid anchor "${e}"`);addRef.call(this,`#${e}`)}}}));return d;function checkAmbiguosRef(e,t,r){if(t!==undefined&&!a(e,t))throw ambiguos(r)}function ambiguos(e){return new Error(`reference "${e}" resolves to more than one schema`)}}t.getSchemaRefs=getSchemaRefs},521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRules=t.isJSONType=void 0;const r=["string","number","integer","boolean","null","object","array"];const n=new Set(r);function isJSONType(e){return typeof e=="string"&&n.has(e)}t.isJSONType=isJSONType;function getRules(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:true,boolean:true,null:true},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}t.getRules=getRules},7545:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const n=r(4109);const a=r(3456);function toHash(e){const t={};for(const r of e)t[r]=true;return t}t.toHash=toHash;function alwaysValidSchema(e,t){if(typeof t=="boolean")return t;if(Object.keys(t).length===0)return true;checkUnknownRules(e,t);return!schemaHasRules(t,e.self.RULES.all)}t.alwaysValidSchema=alwaysValidSchema;function checkUnknownRules(e,t=e.schema){const{opts:r,self:n}=e;if(!r.strictSchema)return;if(typeof t==="boolean")return;const a=n.RULES.keywords;for(const r in t){if(!a[r])checkStrictMode(e,`unknown keyword: "${r}"`)}}t.checkUnknownRules=checkUnknownRules;function schemaHasRules(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(t[r])return true;return false}t.schemaHasRules=schemaHasRules;function schemaHasRulesButRef(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(r!=="$ref"&&t.all[r])return true;return false}t.schemaHasRulesButRef=schemaHasRulesButRef;function schemaRefOrVal({topSchemaRef:e,schemaPath:t},r,a,s){if(!s){if(typeof r=="number"||typeof r=="boolean")return r;if(typeof r=="string")return(0,n._)`${r}`}return(0,n._)`${e}${t}${(0,n.getProperty)(a)}`}t.schemaRefOrVal=schemaRefOrVal;function unescapeFragment(e){return unescapeJsonPointer(decodeURIComponent(e))}t.unescapeFragment=unescapeFragment;function escapeFragment(e){return encodeURIComponent(escapeJsonPointer(e))}t.escapeFragment=escapeFragment;function escapeJsonPointer(e){if(typeof e=="number")return`${e}`;return e.replace(/~/g,"~0").replace(/\//g,"~1")}t.escapeJsonPointer=escapeJsonPointer;function unescapeJsonPointer(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}t.unescapeJsonPointer=unescapeJsonPointer;function eachItem(e,t){if(Array.isArray(e)){for(const r of e)t(r)}else{t(e)}}t.eachItem=eachItem;function makeMergeEvaluated({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:a}){return(s,o,i,c)=>{const u=i===undefined?o:i instanceof n.Name?(o instanceof n.Name?e(s,o,i):t(s,o,i),i):o instanceof n.Name?(t(s,i,o),o):r(o,i);return c===n.Name&&!(u instanceof n.Name)?a(s,u):u}}t.mergeEvaluated={props:makeMergeEvaluated({mergeNames:(e,t,r)=>e.if((0,n._)`${r} !== true && ${t} !== undefined`,(()=>{e.if((0,n._)`${t} === true`,(()=>e.assign(r,true)),(()=>e.assign(r,(0,n._)`${r} || {}`).code((0,n._)`Object.assign(${r}, ${t})`)))})),mergeToName:(e,t,r)=>e.if((0,n._)`${r} !== true`,(()=>{if(t===true){e.assign(r,true)}else{e.assign(r,(0,n._)`${r} || {}`);setEvaluated(e,r,t)}})),mergeValues:(e,t)=>e===true?true:{...e,...t},resultToName:evaluatedPropsToName}),items:makeMergeEvaluated({mergeNames:(e,t,r)=>e.if((0,n._)`${r} !== true && ${t} !== undefined`,(()=>e.assign(r,(0,n._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`))),mergeToName:(e,t,r)=>e.if((0,n._)`${r} !== true`,(()=>e.assign(r,t===true?true:(0,n._)`${r} > ${t} ? ${r} : ${t}`))),mergeValues:(e,t)=>e===true?true:Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})};function evaluatedPropsToName(e,t){if(t===true)return e.var("props",true);const r=e.var("props",(0,n._)`{}`);if(t!==undefined)setEvaluated(e,r,t);return r}t.evaluatedPropsToName=evaluatedPropsToName;function setEvaluated(e,t,r){Object.keys(r).forEach((r=>e.assign((0,n._)`${t}${(0,n.getProperty)(r)}`,true)))}t.setEvaluated=setEvaluated;const s={};function useFunc(e,t){return e.scopeValue("func",{ref:t,code:s[t.code]||(s[t.code]=new a._Code(t.code))})}t.useFunc=useFunc;var o;(function(e){e[e["Num"]=0]="Num";e[e["Str"]=1]="Str"})(o=t.Type||(t.Type={}));function getErrorPath(e,t,r){if(e instanceof n.Name){const a=t===o.Num;return r?a?(0,n._)`"[" + ${e} + "]"`:(0,n._)`"['" + ${e} + "']"`:a?(0,n._)`"/" + ${e}`:(0,n._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,n.getProperty)(e).toString():"/"+escapeJsonPointer(e)}t.getErrorPath=getErrorPath;function checkStrictMode(e,t,r=e.opts.strictSchema){if(!r)return;t=`strict mode: ${t}`;if(r===true)throw new Error(t);e.self.logger.warn(t)}t.checkStrictMode=checkStrictMode},2175:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0;function schemaHasRulesForType({schema:e,self:t},r){const n=t.RULES.types[r];return n&&n!==true&&shouldUseGroup(e,n)}t.schemaHasRulesForType=schemaHasRulesForType;function shouldUseGroup(e,t){return t.rules.some((t=>shouldUseRule(e,t)))}t.shouldUseGroup=shouldUseGroup;function shouldUseRule(e,t){var r;return e[t.keyword]!==undefined||((r=t.definition.implements)===null||r===void 0?void 0:r.some((t=>e[t]!==undefined)))}t.shouldUseRule=shouldUseRule},4152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const n=r(1069);const a=r(4109);const s=r(4492);const o={message:"boolean schema is false"};function topBoolOrEmptySchema(e){const{gen:t,schema:r,validateName:n}=e;if(r===false){falseSchemaError(e,false)}else if(typeof r=="object"&&r.$async===true){t.return(s.default.data)}else{t.assign((0,a._)`${n}.errors`,null);t.return(true)}}t.topBoolOrEmptySchema=topBoolOrEmptySchema;function boolOrEmptySchema(e,t){const{gen:r,schema:n}=e;if(n===false){r.var(t,false);falseSchemaError(e)}else{r.var(t,true)}}t.boolOrEmptySchema=boolOrEmptySchema;function falseSchemaError(e,t){const{gen:r,data:a}=e;const s={gen:r,keyword:"false schema",data:a,schema:false,schemaCode:false,schemaValue:false,params:{},it:e};(0,n.reportError)(s,o,undefined,t)}},3967:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const n=r(521);const a=r(2175);const s=r(1069);const o=r(4109);const i=r(7545);var c;(function(e){e[e["Correct"]=0]="Correct";e[e["Wrong"]=1]="Wrong"})(c=t.DataType||(t.DataType={}));function getSchemaTypes(e){const t=getJSONTypes(e.type);const r=t.includes("null");if(r){if(e.nullable===false)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&e.nullable!==undefined){throw new Error('"nullable" cannot be used without "type"')}if(e.nullable===true)t.push("null")}return t}t.getSchemaTypes=getSchemaTypes;function getJSONTypes(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(n.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}t.getJSONTypes=getJSONTypes;function coerceAndCheckDataType(e,t){const{gen:r,data:n,opts:s}=e;const o=coerceToTypes(t,s.coerceTypes);const i=t.length>0&&!(o.length===0&&t.length===1&&(0,a.schemaHasRulesForType)(e,t[0]));if(i){const a=checkDataTypes(t,n,s.strictNumbers,c.Wrong);r.if(a,(()=>{if(o.length)coerceData(e,t,o);else reportTypeError(e)}))}return i}t.coerceAndCheckDataType=coerceAndCheckDataType;const u=new Set(["string","number","integer","boolean","null"]);function coerceToTypes(e,t){return t?e.filter((e=>u.has(e)||t==="array"&&e==="array")):[]}function coerceData(e,t,r){const{gen:n,data:a,opts:s}=e;const i=n.let("dataType",(0,o._)`typeof ${a}`);const c=n.let("coerced",(0,o._)`undefined`);if(s.coerceTypes==="array"){n.if((0,o._)`${i} == 'object' && Array.isArray(${a}) && ${a}.length == 1`,(()=>n.assign(a,(0,o._)`${a}[0]`).assign(i,(0,o._)`typeof ${a}`).if(checkDataTypes(t,a,s.strictNumbers),(()=>n.assign(c,a)))))}n.if((0,o._)`${c} !== undefined`);for(const e of r){if(u.has(e)||e==="array"&&s.coerceTypes==="array"){coerceSpecificType(e)}}n.else();reportTypeError(e);n.endIf();n.if((0,o._)`${c} !== undefined`,(()=>{n.assign(a,c);assignParentData(e,c)}));function coerceSpecificType(e){switch(e){case"string":n.elseIf((0,o._)`${i} == "number" || ${i} == "boolean"`).assign(c,(0,o._)`"" + ${a}`).elseIf((0,o._)`${a} === null`).assign(c,(0,o._)`""`);return;case"number":n.elseIf((0,o._)`${i} == "boolean" || ${a} === null - || (${i} == "string" && ${a} && ${a} == +${a})`).assign(c,(0,o._)`+${a}`);return;case"integer":n.elseIf((0,o._)`${i} === "boolean" || ${a} === null - || (${i} === "string" && ${a} && ${a} == +${a} && !(${a} % 1))`).assign(c,(0,o._)`+${a}`);return;case"boolean":n.elseIf((0,o._)`${a} === "false" || ${a} === 0 || ${a} === null`).assign(c,false).elseIf((0,o._)`${a} === "true" || ${a} === 1`).assign(c,true);return;case"null":n.elseIf((0,o._)`${a} === "" || ${a} === 0 || ${a} === false`);n.assign(c,null);return;case"array":n.elseIf((0,o._)`${i} === "string" || ${i} === "number" - || ${i} === "boolean" || ${a} === null`).assign(c,(0,o._)`[${a}]`)}}}function assignParentData({gen:e,parentData:t,parentDataProperty:r},n){e.if((0,o._)`${t} !== undefined`,(()=>e.assign((0,o._)`${t}[${r}]`,n)))}function checkDataType(e,t,r,n=c.Correct){const a=n===c.Correct?o.operators.EQ:o.operators.NEQ;let s;switch(e){case"null":return(0,o._)`${t} ${a} null`;case"array":s=(0,o._)`Array.isArray(${t})`;break;case"object":s=(0,o._)`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":s=numCond((0,o._)`!(${t} % 1) && !isNaN(${t})`);break;case"number":s=numCond();break;default:return(0,o._)`typeof ${t} ${a} ${e}`}return n===c.Correct?s:(0,o.not)(s);function numCond(e=o.nil){return(0,o.and)((0,o._)`typeof ${t} == "number"`,e,r?(0,o._)`isFinite(${t})`:o.nil)}}t.checkDataType=checkDataType;function checkDataTypes(e,t,r,n){if(e.length===1){return checkDataType(e[0],t,r,n)}let a;const s=(0,i.toHash)(e);if(s.array&&s.object){const e=(0,o._)`typeof ${t} != "object"`;a=s.null?e:(0,o._)`!${t} || ${e}`;delete s.null;delete s.array;delete s.object}else{a=o.nil}if(s.number)delete s.integer;for(const e in s)a=(0,o.and)(a,checkDataType(e,t,r,n));return a}t.checkDataTypes=checkDataTypes;const d={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e=="string"?(0,o._)`{type: ${e}}`:(0,o._)`{type: ${t}}`};function reportTypeError(e){const t=getTypeErrorContext(e);(0,s.reportError)(t,d)}t.reportTypeError=reportTypeError;function getTypeErrorContext(e){const{gen:t,data:r,schema:n}=e;const a=(0,i.schemaRefOrVal)(e,n,"type");return{gen:t,keyword:"type",data:r,schema:n.type,schemaCode:a,schemaValue:a,parentSchema:n,params:{},it:e}}},4017:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assignDefaults=void 0;const n=r(4109);const a=r(7545);function assignDefaults(e,t){const{properties:r,items:n}=e.schema;if(t==="object"&&r){for(const t in r){assignDefault(e,t,r[t].default)}}else if(t==="array"&&Array.isArray(n)){n.forEach(((t,r)=>assignDefault(e,r,t.default)))}}t.assignDefaults=assignDefaults;function assignDefault(e,t,r){const{gen:s,compositeRule:o,data:i,opts:c}=e;if(r===undefined)return;const u=(0,n._)`${i}${(0,n.getProperty)(t)}`;if(o){(0,a.checkStrictMode)(e,`default is ignored for: ${u}`);return}let d=(0,n._)`${u} === undefined`;if(c.useDefaults==="empty"){d=(0,n._)`${d} || ${u} === null || ${u} === ""`}s.if(d,(0,n._)`${u} = ${(0,n.stringify)(r)}`)}},7357:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const n=r(4152);const a=r(3967);const s=r(2175);const o=r(3967);const i=r(4017);const c=r(272);const u=r(7390);const d=r(4109);const l=r(4492);const f=r(3877);const p=r(7545);const m=r(1069);function validateFunctionCode(e){if(isSchemaObj(e)){checkKeywords(e);if(schemaCxtHasRules(e)){topSchemaObjCode(e);return}}validateFunction(e,(()=>(0,n.topBoolOrEmptySchema)(e)))}t.validateFunctionCode=validateFunctionCode;function validateFunction({gen:e,validateName:t,schema:r,schemaEnv:n,opts:a},s){if(a.code.es5){e.func(t,(0,d._)`${l.default.data}, ${l.default.valCxt}`,n.$async,(()=>{e.code((0,d._)`"use strict"; ${funcSourceUrl(r,a)}`);destructureValCxtES5(e,a);e.code(s)}))}else{e.func(t,(0,d._)`${l.default.data}, ${destructureValCxt(a)}`,n.$async,(()=>e.code(funcSourceUrl(r,a)).code(s)))}}function destructureValCxt(e){return(0,d._)`{${l.default.instancePath}="", ${l.default.parentData}, ${l.default.parentDataProperty}, ${l.default.rootData}=${l.default.data}${e.dynamicRef?(0,d._)`, ${l.default.dynamicAnchors}={}`:d.nil}}={}`}function destructureValCxtES5(e,t){e.if(l.default.valCxt,(()=>{e.var(l.default.instancePath,(0,d._)`${l.default.valCxt}.${l.default.instancePath}`);e.var(l.default.parentData,(0,d._)`${l.default.valCxt}.${l.default.parentData}`);e.var(l.default.parentDataProperty,(0,d._)`${l.default.valCxt}.${l.default.parentDataProperty}`);e.var(l.default.rootData,(0,d._)`${l.default.valCxt}.${l.default.rootData}`);if(t.dynamicRef)e.var(l.default.dynamicAnchors,(0,d._)`${l.default.valCxt}.${l.default.dynamicAnchors}`)}),(()=>{e.var(l.default.instancePath,(0,d._)`""`);e.var(l.default.parentData,(0,d._)`undefined`);e.var(l.default.parentDataProperty,(0,d._)`undefined`);e.var(l.default.rootData,l.default.data);if(t.dynamicRef)e.var(l.default.dynamicAnchors,(0,d._)`{}`)}))}function topSchemaObjCode(e){const{schema:t,opts:r,gen:n}=e;validateFunction(e,(()=>{if(r.$comment&&t.$comment)commentKeyword(e);checkNoDefault(e);n.let(l.default.vErrors,null);n.let(l.default.errors,0);if(r.unevaluated)resetEvaluated(e);typeAndKeywords(e);returnResults(e)}));return}function resetEvaluated(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",(0,d._)`${r}.evaluated`);t.if((0,d._)`${e.evaluated}.dynamicProps`,(()=>t.assign((0,d._)`${e.evaluated}.props`,(0,d._)`undefined`)));t.if((0,d._)`${e.evaluated}.dynamicItems`,(()=>t.assign((0,d._)`${e.evaluated}.items`,(0,d._)`undefined`)))}function funcSourceUrl(e,t){const r=typeof e=="object"&&e[t.schemaId];return r&&(t.code.source||t.code.process)?(0,d._)`/*# sourceURL=${r} */`:d.nil}function subschemaCode(e,t){if(isSchemaObj(e)){checkKeywords(e);if(schemaCxtHasRules(e)){subSchemaObjCode(e,t);return}}(0,n.boolOrEmptySchema)(e,t)}function schemaCxtHasRules({schema:e,self:t}){if(typeof e=="boolean")return!e;for(const r in e)if(t.RULES.all[r])return true;return false}function isSchemaObj(e){return typeof e.schema!="boolean"}function subSchemaObjCode(e,t){const{schema:r,gen:n,opts:a}=e;if(a.$comment&&r.$comment)commentKeyword(e);updateContext(e);checkAsyncSchema(e);const s=n.const("_errs",l.default.errors);typeAndKeywords(e,s);n.var(t,(0,d._)`${s} === ${l.default.errors}`)}function checkKeywords(e){(0,p.checkUnknownRules)(e);checkRefsAndKeywords(e)}function typeAndKeywords(e,t){if(e.opts.jtd)return schemaKeywords(e,[],false,t);const r=(0,a.getSchemaTypes)(e.schema);const n=(0,a.coerceAndCheckDataType)(e,r);schemaKeywords(e,r,!n,t)}function checkRefsAndKeywords(e){const{schema:t,errSchemaPath:r,opts:n,self:a}=e;if(t.$ref&&n.ignoreKeywordsWithRef&&(0,p.schemaHasRulesButRef)(t,a.RULES)){a.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}}function checkNoDefault(e){const{schema:t,opts:r}=e;if(t.default!==undefined&&r.useDefaults&&r.strictSchema){(0,p.checkStrictMode)(e,"default is ignored in the schema root")}}function updateContext(e){const t=e.schema[e.opts.schemaId];if(t)e.baseId=(0,f.resolveUrl)(e.opts.uriResolver,e.baseId,t)}function checkAsyncSchema(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function commentKeyword({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:a}){const s=r.$comment;if(a.$comment===true){e.code((0,d._)`${l.default.self}.logger.log(${s})`)}else if(typeof a.$comment=="function"){const r=(0,d.str)`${n}/$comment`;const a=e.scopeValue("root",{ref:t.root});e.code((0,d._)`${l.default.self}.opts.$comment(${s}, ${r}, ${a}.schema)`)}}function returnResults(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:a,opts:s}=e;if(r.$async){t.if((0,d._)`${l.default.errors} === 0`,(()=>t.return(l.default.data)),(()=>t.throw((0,d._)`new ${a}(${l.default.vErrors})`)))}else{t.assign((0,d._)`${n}.errors`,l.default.vErrors);if(s.unevaluated)assignEvaluated(e);t.return((0,d._)`${l.default.errors} === 0`)}}function assignEvaluated({gen:e,evaluated:t,props:r,items:n}){if(r instanceof d.Name)e.assign((0,d._)`${t}.props`,r);if(n instanceof d.Name)e.assign((0,d._)`${t}.items`,n)}function schemaKeywords(e,t,r,n){const{gen:a,schema:i,data:c,allErrors:u,opts:f,self:m}=e;const{RULES:h}=m;if(i.$ref&&(f.ignoreKeywordsWithRef||!(0,p.schemaHasRulesButRef)(i,h))){a.block((()=>keywordCode(e,"$ref",h.all.$ref.definition)));return}if(!f.jtd)checkStrictTypes(e,t);a.block((()=>{for(const e of h.rules)groupKeywords(e);groupKeywords(h.post)}));function groupKeywords(p){if(!(0,s.shouldUseGroup)(i,p))return;if(p.type){a.if((0,o.checkDataType)(p.type,c,f.strictNumbers));iterateKeywords(e,p);if(t.length===1&&t[0]===p.type&&r){a.else();(0,o.reportTypeError)(e)}a.endIf()}else{iterateKeywords(e,p)}if(!u)a.if((0,d._)`${l.default.errors} === ${n||0}`)}}function iterateKeywords(e,t){const{gen:r,schema:n,opts:{useDefaults:a}}=e;if(a)(0,i.assignDefaults)(e,t.type);r.block((()=>{for(const r of t.rules){if((0,s.shouldUseRule)(n,r)){keywordCode(e,r.keyword,r.definition,t.type)}}}))}function checkStrictTypes(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;checkContextTypes(e,t);if(!e.opts.allowUnionTypes)checkMultipleTypes(e,t);checkKeywordTypes(e,e.dataTypes)}function checkContextTypes(e,t){if(!t.length)return;if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach((t=>{if(!includesType(e.dataTypes,t)){strictTypesError(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)}}));e.dataTypes=e.dataTypes.filter((e=>includesType(t,e)))}function checkMultipleTypes(e,t){if(t.length>1&&!(t.length===2&&t.includes("null"))){strictTypesError(e,"use allowUnionTypes to allow union type keyword")}}function checkKeywordTypes(e,t){const r=e.self.RULES.all;for(const n in r){const a=r[n];if(typeof a=="object"&&(0,s.shouldUseRule)(e.schema,a)){const{type:r}=a.definition;if(r.length&&!r.some((e=>hasApplicableType(t,e)))){strictTypesError(e,`missing type "${r.join(",")}" for keyword "${n}"`)}}}}function hasApplicableType(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function includesType(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function strictTypesError(e,t){const r=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${r}" (strictTypes)`;(0,p.checkStrictMode)(e,t,e.opts.strictTypes)}class KeywordCxt{constructor(e,t,r){(0,c.validateKeywordUsage)(e,t,r);this.gen=e.gen;this.allErrors=e.allErrors;this.keyword=r;this.data=e.data;this.schema=e.schema[r];this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data;this.schemaValue=(0,p.schemaRefOrVal)(e,this.schema,r,this.$data);this.schemaType=t.schemaType;this.parentSchema=e.schema;this.params={};this.it=e;this.def=t;if(this.$data){this.schemaCode=e.gen.const("vSchema",getData(this.$data,e))}else{this.schemaCode=this.schemaValue;if(!(0,c.validSchemaType)(this.schema,t.schemaType,t.allowUndefined)){throw new Error(`${r} value must be ${JSON.stringify(t.schemaType)}`)}}if("code"in t?t.trackErrors:t.errors!==false){this.errsCount=e.gen.const("_errs",l.default.errors)}}result(e,t,r){this.failResult((0,d.not)(e),t,r)}failResult(e,t,r){this.gen.if(e);if(r)r();else this.error();if(t){this.gen.else();t();if(this.allErrors)this.gen.endIf()}else{if(this.allErrors)this.gen.endIf();else this.gen.else()}}pass(e,t){this.failResult((0,d.not)(e),undefined,t)}fail(e){if(e===undefined){this.error();if(!this.allErrors)this.gen.if(false);return}this.gen.if(e);this.error();if(this.allErrors)this.gen.endIf();else this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail((0,d._)`${t} !== undefined && (${(0,d.or)(this.invalid$data(),e)})`)}error(e,t,r){if(t){this.setParams(t);this._error(e,r);this.setParams({});return}this._error(e,r)}_error(e,t){(e?m.reportExtraError:m.reportError)(this,this.def.error,t)}$dataError(){(0,m.reportError)(this,this.def.$dataError||m.keyword$DataError)}reset(){if(this.errsCount===undefined)throw new Error('add "trackErrors" to keyword definition');(0,m.resetErrorsCount)(this.gen,this.errsCount)}ok(e){if(!this.allErrors)this.gen.if(e)}setParams(e,t){if(t)Object.assign(this.params,e);else this.params=e}block$data(e,t,r=d.nil){this.gen.block((()=>{this.check$data(e,r);t()}))}check$data(e=d.nil,t=d.nil){if(!this.$data)return;const{gen:r,schemaCode:n,schemaType:a,def:s}=this;r.if((0,d.or)((0,d._)`${n} === undefined`,t));if(e!==d.nil)r.assign(e,true);if(a.length||s.validateSchema){r.elseIf(this.invalid$data());this.$dataError();if(e!==d.nil)r.assign(e,false)}r.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:r,def:n,it:a}=this;return(0,d.or)(wrong$DataType(),invalid$DataSchema());function wrong$DataType(){if(r.length){if(!(t instanceof d.Name))throw new Error("ajv implementation error");const e=Array.isArray(r)?r:[r];return(0,d._)`${(0,o.checkDataTypes)(e,t,a.opts.strictNumbers,o.DataType.Wrong)}`}return d.nil}function invalid$DataSchema(){if(n.validateSchema){const r=e.scopeValue("validate$data",{ref:n.validateSchema});return(0,d._)`!${r}(${t})`}return d.nil}}subschema(e,t){const r=(0,u.getSubschema)(this.it,e);(0,u.extendSubschemaData)(r,this.it,e);(0,u.extendSubschemaMode)(r,e);const n={...this.it,...r,items:undefined,props:undefined};subschemaCode(n,t);return n}mergeEvaluated(e,t){const{it:r,gen:n}=this;if(!r.opts.unevaluated)return;if(r.props!==true&&e.props!==undefined){r.props=p.mergeEvaluated.props(n,e.props,r.props,t)}if(r.items!==true&&e.items!==undefined){r.items=p.mergeEvaluated.items(n,e.items,r.items,t)}}mergeValidEvaluated(e,t){const{it:r,gen:n}=this;if(r.opts.unevaluated&&(r.props!==true||r.items!==true)){n.if(t,(()=>this.mergeEvaluated(e,d.Name)));return true}}}t.KeywordCxt=KeywordCxt;function keywordCode(e,t,r,n){const a=new KeywordCxt(e,r,t);if("code"in r){r.code(a,n)}else if(a.$data&&r.validate){(0,c.funcKeywordCode)(a,r)}else if("macro"in r){(0,c.macroKeywordCode)(a,r)}else if(r.compile||r.validate){(0,c.funcKeywordCode)(a,r)}}const h=/^\/(?:[^~]|~0|~1)*$/;const y=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function getData(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let a;let s;if(e==="")return l.default.rootData;if(e[0]==="/"){if(!h.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);a=e;s=l.default.rootData}else{const o=y.exec(e);if(!o)throw new Error(`Invalid JSON-pointer: ${e}`);const i=+o[1];a=o[2];if(a==="#"){if(i>=t)throw new Error(errorMsg("property/index",i));return n[t-i]}if(i>t)throw new Error(errorMsg("data",i));s=r[t-i];if(!a)return s}let o=s;const i=a.split("/");for(const e of i){if(e){s=(0,d._)`${s}${(0,d.getProperty)((0,p.unescapeJsonPointer)(e))}`;o=(0,d._)`${o} && ${s}`}}return o;function errorMsg(e,r){return`Cannot access ${e} ${r} levels up, current level is ${t}`}}t.getData=getData},272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const n=r(4109);const a=r(4492);const s=r(6086);const o=r(1069);function macroKeywordCode(e,t){const{gen:r,keyword:a,schema:s,parentSchema:o,it:i}=e;const c=t.macro.call(i.self,s,o,i);const u=useKeyword(r,a,c);if(i.opts.validateSchema!==false)i.self.validateSchema(c,true);const d=r.name("valid");e.subschema({schema:c,schemaPath:n.nil,errSchemaPath:`${i.errSchemaPath}/${a}`,topSchemaRef:u,compositeRule:true},d);e.pass(d,(()=>e.error(true)))}t.macroKeywordCode=macroKeywordCode;function funcKeywordCode(e,t){var r;const{gen:o,keyword:i,schema:c,parentSchema:u,$data:d,it:l}=e;checkAsyncKeyword(l,t);const f=!d&&t.compile?t.compile.call(l.self,c,u,l):t.validate;const p=useKeyword(o,i,f);const m=o.let("valid");e.block$data(m,validateKeyword);e.ok((r=t.valid)!==null&&r!==void 0?r:m);function validateKeyword(){if(t.errors===false){assignValid();if(t.modifying)modifyData(e);reportErrs((()=>e.error()))}else{const r=t.async?validateAsync():validateSync();if(t.modifying)modifyData(e);reportErrs((()=>addErrs(e,r)))}}function validateAsync(){const e=o.let("ruleErrs",null);o.try((()=>assignValid((0,n._)`await `)),(t=>o.assign(m,false).if((0,n._)`${t} instanceof ${l.ValidationError}`,(()=>o.assign(e,(0,n._)`${t}.errors`)),(()=>o.throw(t)))));return e}function validateSync(){const e=(0,n._)`${p}.errors`;o.assign(e,null);assignValid(n.nil);return e}function assignValid(r=(t.async?(0,n._)`await `:n.nil)){const i=l.opts.passContext?a.default.this:a.default.self;const c=!("compile"in t&&!d||t.schema===false);o.assign(m,(0,n._)`${r}${(0,s.callValidateCode)(e,p,i,c)}`,t.modifying)}function reportErrs(e){var r;o.if((0,n.not)((r=t.valid)!==null&&r!==void 0?r:m),e)}}t.funcKeywordCode=funcKeywordCode;function modifyData(e){const{gen:t,data:r,it:a}=e;t.if(a.parentData,(()=>t.assign(r,(0,n._)`${a.parentData}[${a.parentDataProperty}]`)))}function addErrs(e,t){const{gen:r}=e;r.if((0,n._)`Array.isArray(${t})`,(()=>{r.assign(a.default.vErrors,(0,n._)`${a.default.vErrors} === null ? ${t} : ${a.default.vErrors}.concat(${t})`).assign(a.default.errors,(0,n._)`${a.default.vErrors}.length`);(0,o.extendErrors)(e)}),(()=>e.error()))}function checkAsyncKeyword({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function useKeyword(e,t,r){if(r===undefined)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword",typeof r=="function"?{ref:r}:{ref:r,code:(0,n.stringify)(r)})}function validSchemaType(e,t,r=false){return!t.length||t.some((t=>t==="array"?Array.isArray(e):t==="object"?e&&typeof e=="object"&&!Array.isArray(e):typeof e==t||r&&typeof e=="undefined"))}t.validSchemaType=validSchemaType;function validateKeywordUsage({schema:e,opts:t,self:r,errSchemaPath:n},a,s){if(Array.isArray(a.keyword)?!a.keyword.includes(s):a.keyword!==s){throw new Error("ajv implementation error")}const o=a.dependencies;if(o===null||o===void 0?void 0:o.some((t=>!Object.prototype.hasOwnProperty.call(e,t)))){throw new Error(`parent schema must have dependencies of ${s}: ${o.join(",")}`)}if(a.validateSchema){const o=a.validateSchema(e[s]);if(!o){const e=`keyword "${s}" value is invalid at path "${n}": `+r.errorsText(a.validateSchema.errors);if(t.validateSchema==="log")r.logger.error(e);else throw new Error(e)}}}t.validateKeywordUsage=validateKeywordUsage},7390:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const n=r(4109);const a=r(7545);function getSubschema(e,{keyword:t,schemaProp:r,schema:s,schemaPath:o,errSchemaPath:i,topSchemaRef:c}){if(t!==undefined&&s!==undefined){throw new Error('both "keyword" and "schema" passed, only one allowed')}if(t!==undefined){const s=e.schema[t];return r===undefined?{schema:s,schemaPath:(0,n._)`${e.schemaPath}${(0,n.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[r],schemaPath:(0,n._)`${e.schemaPath}${(0,n.getProperty)(t)}${(0,n.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,a.escapeFragment)(r)}`}}if(s!==undefined){if(o===undefined||i===undefined||c===undefined){throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"')}return{schema:s,schemaPath:o,topSchemaRef:c,errSchemaPath:i}}throw new Error('either "keyword" or "schema" must be passed')}t.getSubschema=getSubschema;function extendSubschemaData(e,t,{dataProp:r,dataPropType:s,data:o,dataTypes:i,propertyName:c}){if(o!==undefined&&r!==undefined){throw new Error('both "data" and "dataProp" passed, only one allowed')}const{gen:u}=t;if(r!==undefined){const{errorPath:o,dataPathArr:i,opts:c}=t;const d=u.let("data",(0,n._)`${t.data}${(0,n.getProperty)(r)}`,true);dataContextProps(d);e.errorPath=(0,n.str)`${o}${(0,a.getErrorPath)(r,s,c.jsPropertySyntax)}`;e.parentDataProperty=(0,n._)`${r}`;e.dataPathArr=[...i,e.parentDataProperty]}if(o!==undefined){const t=o instanceof n.Name?o:u.let("data",o,true);dataContextProps(t);if(c!==undefined)e.propertyName=c}if(i)e.dataTypes=i;function dataContextProps(r){e.data=r;e.dataLevel=t.dataLevel+1;e.dataTypes=[];t.definedProperties=new Set;e.parentData=t.data;e.dataNames=[...t.dataNames,r]}}t.extendSubschemaData=extendSubschemaData;function extendSubschemaMode(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:a,allErrors:s}){if(n!==undefined)e.compositeRule=n;if(a!==undefined)e.createErrors=a;if(s!==undefined)e.allErrors=s;e.jtdDiscriminator=t;e.jtdMetadata=r}t.extendSubschemaMode=extendSubschemaMode},3834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var n=r(7357);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return n.KeywordCxt}});var a=r(4109);Object.defineProperty(t,"_",{enumerable:true,get:function(){return a._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return a.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return a.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return a.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return a.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return a.CodeGen}});const s=r(5919);const o=r(9984);const i=r(521);const c=r(960);const u=r(4109);const d=r(3877);const l=r(3967);const f=r(7545);const p=r(7918);const m=r(4095);const defaultRegExp=(e,t)=>new RegExp(e,t);defaultRegExp.code="new RegExp";const h=["removeAdditional","useDefaults","coerceTypes"];const y=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]);const g={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."};const v={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};const $=200;function requiredOptions(e){var t,r,n,a,s,o,i,c,u,d,l,f,p,h,y,g,v,b,w,S,P,E,x,k,O;const N=e.strict;const C=(t=e.code)===null||t===void 0?void 0:t.optimize;const j=C===true||C===undefined?1:C||0;const D=(n=(r=e.code)===null||r===void 0?void 0:r.regExp)!==null&&n!==void 0?n:defaultRegExp;const T=(a=e.uriResolver)!==null&&a!==void 0?a:m.default;return{strictSchema:(o=(s=e.strictSchema)!==null&&s!==void 0?s:N)!==null&&o!==void 0?o:true,strictNumbers:(c=(i=e.strictNumbers)!==null&&i!==void 0?i:N)!==null&&c!==void 0?c:true,strictTypes:(d=(u=e.strictTypes)!==null&&u!==void 0?u:N)!==null&&d!==void 0?d:"log",strictTuples:(f=(l=e.strictTuples)!==null&&l!==void 0?l:N)!==null&&f!==void 0?f:"log",strictRequired:(h=(p=e.strictRequired)!==null&&p!==void 0?p:N)!==null&&h!==void 0?h:false,code:e.code?{...e.code,optimize:j,regExp:D}:{optimize:j,regExp:D},loopRequired:(y=e.loopRequired)!==null&&y!==void 0?y:$,loopEnum:(g=e.loopEnum)!==null&&g!==void 0?g:$,meta:(v=e.meta)!==null&&v!==void 0?v:true,messages:(b=e.messages)!==null&&b!==void 0?b:true,inlineRefs:(w=e.inlineRefs)!==null&&w!==void 0?w:true,schemaId:(S=e.schemaId)!==null&&S!==void 0?S:"$id",addUsedSchema:(P=e.addUsedSchema)!==null&&P!==void 0?P:true,validateSchema:(E=e.validateSchema)!==null&&E!==void 0?E:true,validateFormats:(x=e.validateFormats)!==null&&x!==void 0?x:true,unicodeRegExp:(k=e.unicodeRegExp)!==null&&k!==void 0?k:true,int32range:(O=e.int32range)!==null&&O!==void 0?O:true,uriResolver:T}}class Ajv{constructor(e={}){this.schemas={};this.refs={};this.formats={};this._compilations=new Set;this._loading={};this._cache=new Map;e=this.opts={...e,...requiredOptions(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new u.ValueScope({scope:{},prefixes:y,es5:t,lines:r});this.logger=getLogger(e.logger);const n=e.validateFormats;e.validateFormats=false;this.RULES=(0,i.getRules)();checkOptions.call(this,g,e,"NOT SUPPORTED");checkOptions.call(this,v,e,"DEPRECATED","warn");this._metaOpts=getMetaSchemaOptions.call(this);if(e.formats)addInitialFormats.call(this);this._addVocabularies();this._addDefaultMetaSchema();if(e.keywords)addInitialKeywords.call(this,e.keywords);if(typeof e.meta=="object")this.addMetaSchema(e.meta);addInitialSchemas.call(this);e.validateFormats=n}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:r}=this.opts;let n=p;if(r==="id"){n={...p};n.id=n.$id;delete n.$id}if(t&&e)this.addMetaSchema(n,n[r],false)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta=typeof e=="object"?e[t]||e:undefined}validate(e,t){let r;if(typeof e=="string"){r=this.getSchema(e);if(!r)throw new Error(`no schema with key or ref "${e}"`)}else{r=this.compile(e)}const n=r(t);if(!("$async"in r))this.errors=r.errors;return n}compile(e,t){const r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(e,t){if(typeof this.opts.loadSchema!="function"){throw new Error("options.loadSchema should be a function")}const{loadSchema:r}=this.opts;return runCompileAsync.call(this,e,t);async function runCompileAsync(e,t){await loadMetaSchema.call(this,e.$schema);const r=this._addSchema(e,t);return r.validate||_compileAsync.call(this,r)}async function loadMetaSchema(e){if(e&&!this.getSchema(e)){await runCompileAsync.call(this,{$ref:e},true)}}async function _compileAsync(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof o.default))throw t;checkLoaded.call(this,t);await loadMissingSchema.call(this,t.missingSchema);return _compileAsync.call(this,e)}}function checkLoaded({missingSchema:e,missingRef:t}){if(this.refs[e]){throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}}async function loadMissingSchema(e){const r=await _loadSchema.call(this,e);if(!this.refs[e])await loadMetaSchema.call(this,r.$schema);if(!this.refs[e])this.addSchema(r,e,t)}async function _loadSchema(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=r(e))}finally{delete this._loading[e]}}}addSchema(e,t,r,n=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,undefined,r,n);return this}let a;if(typeof e==="object"){const{schemaId:t}=this.opts;a=e[t];if(a!==undefined&&typeof a!="string"){throw new Error(`schema ${t} must be string`)}}t=(0,d.normalizeId)(t||a);this._checkUnique(t);this.schemas[t]=this._addSchema(e,r,t,n,true);return this}addMetaSchema(e,t,r=this.opts.validateSchema){this.addSchema(e,t,true,r);return this}validateSchema(e,t){if(typeof e=="boolean")return true;let r;r=e.$schema;if(r!==undefined&&typeof r!="string"){throw new Error("$schema must be a string")}r=r||this.opts.defaultMeta||this.defaultMeta();if(!r){this.logger.warn("meta-schema not available");this.errors=null;return true}const n=this.validate(r,e);if(!n&&t){const e="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(e);else throw new Error(e)}return n}getSchema(e){let t;while(typeof(t=getSchEnv.call(this,e))=="string")e=t;if(t===undefined){const{schemaId:r}=this.opts;const n=new c.SchemaEnv({schema:{},schemaId:r});t=c.resolveSchema.call(this,n,e);if(!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp){this._removeAllSchemas(this.schemas,e);this._removeAllSchemas(this.refs,e);return this}switch(typeof e){case"undefined":this._removeAllSchemas(this.schemas);this._removeAllSchemas(this.refs);this._cache.clear();return this;case"string":{const t=getSchEnv.call(this,e);if(typeof t=="object")this._cache.delete(t.schema);delete this.schemas[e];delete this.refs[e];return this}case"object":{const t=e;this._cache.delete(t);let r=e[this.opts.schemaId];if(r){r=(0,d.normalizeId)(r);delete this.schemas[r];delete this.refs[r]}return this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if(typeof e=="string"){r=e;if(typeof t=="object"){this.logger.warn("these parameters are deprecated, see docs for addKeyword");t.keyword=r}}else if(typeof e=="object"&&t===undefined){t=e;r=t.keyword;if(Array.isArray(r)&&!r.length){throw new Error("addKeywords: keyword must be string or non-empty array")}}else{throw new Error("invalid addKeywords parameters")}checkKeyword.call(this,r,t);if(!t){(0,f.eachItem)(r,(e=>addRule.call(this,e)));return this}keywordMetaschema.call(this,t);const n={...t,type:(0,l.getJSONTypes)(t.type),schemaType:(0,l.getJSONTypes)(t.schemaType)};(0,f.eachItem)(r,n.type.length===0?e=>addRule.call(this,e,n):e=>n.type.forEach((t=>addRule.call(this,e,n,t))));return this}getKeyword(e){const t=this.RULES.all[e];return typeof t=="object"?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e];delete t.all[e];for(const r of t.rules){const t=r.rules.findIndex((t=>t.keyword===e));if(t>=0)r.rules.splice(t,1)}return this}addFormat(e,t){if(typeof t=="string")t=new RegExp(t);this.formats[e]=t;return this}errorsText(e=this.errors,{separator:t=", ",dataVar:r="data"}={}){if(!e||e.length===0)return"No errors";return e.map((e=>`${r}${e.instancePath} ${e.message}`)).reduce(((e,r)=>e+t+r))}$dataMetaSchema(e,t){const r=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const n of t){const t=n.split("/").slice(1);let a=e;for(const e of t)a=a[e];for(const e in r){const t=r[e];if(typeof t!="object")continue;const{$data:n}=t.definition;const s=a[e];if(n&&s)a[e]=schemaOrData(s)}}return e}_removeAllSchemas(e,t){for(const r in e){const n=e[r];if(!t||t.test(r)){if(typeof n=="string"){delete e[r]}else if(n&&!n.meta){this._cache.delete(n.schema);delete e[r]}}}}_addSchema(e,t,r,n=this.opts.validateSchema,a=this.opts.addUsedSchema){let s;const{schemaId:o}=this.opts;if(typeof e=="object"){s=e[o]}else{if(this.opts.jtd)throw new Error("schema must be object");else if(typeof e!="boolean")throw new Error("schema must be object or boolean")}let i=this._cache.get(e);if(i!==undefined)return i;r=(0,d.normalizeId)(s||r);const u=d.getSchemaRefs.call(this,e,r);i=new c.SchemaEnv({schema:e,schemaId:o,meta:t,baseId:r,localRefs:u});this._cache.set(i.schema,i);if(a&&!r.startsWith("#")){if(r)this._checkUnique(r);this.refs[r]=i}if(n)this.validateSchema(e,true);return i}_checkUnique(e){if(this.schemas[e]||this.refs[e]){throw new Error(`schema with key or id "${e}" already exists`)}}_compileSchemaEnv(e){if(e.meta)this._compileMetaSchema(e);else c.compileSchema.call(this,e);if(!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{c.compileSchema.call(this,e)}finally{this.opts=t}}}t["default"]=Ajv;Ajv.ValidationError=s.default;Ajv.MissingRefError=o.default;function checkOptions(e,t,r,n="error"){for(const a in e){const s=a;if(s in t)this.logger[n](`${r}: option ${a}. ${e[s]}`)}}function getSchEnv(e){e=(0,d.normalizeId)(e);return this.schemas[e]||this.refs[e]}function addInitialSchemas(){const e=this.opts.schemas;if(!e)return;if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function addInitialFormats(){for(const e in this.opts.formats){const t=this.opts.formats[e];if(t)this.addFormat(e,t)}}function addInitialKeywords(e){if(Array.isArray(e)){this.addVocabulary(e);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const r=e[t];if(!r.keyword)r.keyword=t;this.addKeyword(r)}}function getMetaSchemaOptions(){const e={...this.opts};for(const t of h)delete e[t];return e}const b={log(){},warn(){},error(){}};function getLogger(e){if(e===false)return b;if(e===undefined)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}const w=/^[a-z_$][a-z0-9_$:-]*$/i;function checkKeyword(e,t){const{RULES:r}=this;(0,f.eachItem)(e,(e=>{if(r.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!w.test(e))throw new Error(`Keyword ${e} has invalid name`)}));if(!t)return;if(t.$data&&!("code"in t||"validate"in t)){throw new Error('$data keyword must have "code" or "validate" function')}}function addRule(e,t,r){var n;const a=t===null||t===void 0?void 0:t.post;if(r&&a)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:s}=this;let o=a?s.post:s.rules.find((({type:e})=>e===r));if(!o){o={type:r,rules:[]};s.rules.push(o)}s.keywords[e]=true;if(!t)return;const i={keyword:e,definition:{...t,type:(0,l.getJSONTypes)(t.type),schemaType:(0,l.getJSONTypes)(t.schemaType)}};if(t.before)addBeforeRule.call(this,o,i,t.before);else o.rules.push(i);s.all[e]=i;(n=t.implements)===null||n===void 0?void 0:n.forEach((e=>this.addKeyword(e)))}function addBeforeRule(e,t,r){const n=e.rules.findIndex((e=>e.keyword===r));if(n>=0){e.rules.splice(n,0,t)}else{e.rules.push(t);this.logger.warn(`rule ${r} is not defined`)}}function keywordMetaschema(e){let{metaSchema:t}=e;if(t===undefined)return;if(e.$data&&this.opts.$data)t=schemaOrData(t);e.validateSchema=this.compile(t,true)}const S={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function schemaOrData(e){return{anyOf:[e,S]}}},9987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(7447);n.code='require("ajv/dist/runtime/equal").default';t["default"]=n},4624:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function ucs2length(e){const t=e.length;let r=0;let n=0;let a;while(n=55296&&a<=56319&&n{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(199);n.code='require("ajv/dist/runtime/uri").default';t["default"]=n},5919:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});class ValidationError extends Error{constructor(e){super("validation failed");this.errors=e;this.ajv=this.validation=true}}t["default"]=ValidationError},8268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validateAdditionalItems=void 0;const n=r(4109);const a=r(7545);const s={message:({params:{len:e}})=>(0,n.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,n._)`{limit: ${e}}`};const o={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:s,code(e){const{parentSchema:t,it:r}=e;const{items:n}=t;if(!Array.isArray(n)){(0,a.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}validateAdditionalItems(e,n)}};function validateAdditionalItems(e,t){const{gen:r,schema:s,data:o,keyword:i,it:c}=e;c.items=true;const u=r.const("len",(0,n._)`${o}.length`);if(s===false){e.setParams({len:t.length});e.pass((0,n._)`${u} <= ${t.length}`)}else if(typeof s=="object"&&!(0,a.alwaysValidSchema)(c,s)){const a=r.var("valid",(0,n._)`${u} <= ${t.length}`);r.if((0,n.not)(a),(()=>validateItems(a)));e.ok(a)}function validateItems(s){r.forRange("i",t.length,u,(t=>{e.subschema({keyword:i,dataProp:t,dataPropType:a.Type.Num},s);if(!c.allErrors)r.if((0,n.not)(s),(()=>r.break()))}))}}t.validateAdditionalItems=validateAdditionalItems;t["default"]=o},5506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(6086);const a=r(4109);const s=r(4492);const o=r(7545);const i={message:"must NOT have additional properties",params:({params:e})=>(0,a._)`{additionalProperty: ${e.additionalProperty}}`};const c={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:true,trackErrors:true,error:i,code(e){const{gen:t,schema:r,parentSchema:i,data:c,errsCount:u,it:d}=e;if(!u)throw new Error("ajv implementation error");const{allErrors:l,opts:f}=d;d.props=true;if(f.removeAdditional!=="all"&&(0,o.alwaysValidSchema)(d,r))return;const p=(0,n.allSchemaProperties)(i.properties);const m=(0,n.allSchemaProperties)(i.patternProperties);checkAdditionalProperties();e.ok((0,a._)`${u} === ${s.default.errors}`);function checkAdditionalProperties(){t.forIn("key",c,(e=>{if(!p.length&&!m.length)additionalPropertyCode(e);else t.if(isAdditional(e),(()=>additionalPropertyCode(e)))}))}function isAdditional(r){let s;if(p.length>8){const e=(0,o.schemaRefOrVal)(d,i.properties,"properties");s=(0,n.isOwnProperty)(t,e,r)}else if(p.length){s=(0,a.or)(...p.map((e=>(0,a._)`${r} === ${e}`)))}else{s=a.nil}if(m.length){s=(0,a.or)(s,...m.map((t=>(0,a._)`${(0,n.usePattern)(e,t)}.test(${r})`)))}return(0,a.not)(s)}function deleteAdditional(e){t.code((0,a._)`delete ${c}[${e}]`)}function additionalPropertyCode(n){if(f.removeAdditional==="all"||f.removeAdditional&&r===false){deleteAdditional(n);return}if(r===false){e.setParams({additionalProperty:n});e.error();if(!l)t.break();return}if(typeof r=="object"&&!(0,o.alwaysValidSchema)(d,r)){const r=t.name("valid");if(f.removeAdditional==="failing"){applyAdditionalSchema(n,r,false);t.if((0,a.not)(r),(()=>{e.reset();deleteAdditional(n)}))}else{applyAdditionalSchema(n,r);if(!l)t.if((0,a.not)(r),(()=>t.break()))}}}function applyAdditionalSchema(t,r,n){const a={keyword:"additionalProperties",dataProp:t,dataPropType:o.Type.Str};if(n===false){Object.assign(a,{compositeRule:true,createErrors:false,allErrors:false})}e.subschema(a,r)}}};t["default"]=c},2962:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(7545);const a={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:a}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const s=t.name("valid");r.forEach(((t,r)=>{if((0,n.alwaysValidSchema)(a,t))return;const o=e.subschema({keyword:"allOf",schemaProp:r},s);e.ok(s);e.mergeEvaluated(o)}))}};t["default"]=a},1549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(6086);const a={keyword:"anyOf",schemaType:"array",trackErrors:true,code:n.validateUnion,error:{message:"must match a schema in anyOf"}};t["default"]=a},9251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a=r(7545);const s={message:({params:{min:e,max:t}})=>t===undefined?(0,n.str)`must contain at least ${e} valid item(s)`:(0,n.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===undefined?(0,n._)`{minContains: ${e}}`:(0,n._)`{minContains: ${e}, maxContains: ${t}}`};const o={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:true,error:s,code(e){const{gen:t,schema:r,parentSchema:s,data:o,it:i}=e;let c;let u;const{minContains:d,maxContains:l}=s;if(i.opts.next){c=d===undefined?1:d;u=l}else{c=1}const f=t.const("len",(0,n._)`${o}.length`);e.setParams({min:c,max:u});if(u===undefined&&c===0){(0,a.checkStrictMode)(i,`"minContains" == 0 without "maxContains": "contains" keyword ignored`);return}if(u!==undefined&&c>u){(0,a.checkStrictMode)(i,`"minContains" > "maxContains" is always invalid`);e.fail();return}if((0,a.alwaysValidSchema)(i,r)){let t=(0,n._)`${f} >= ${c}`;if(u!==undefined)t=(0,n._)`${t} && ${f} <= ${u}`;e.pass(t);return}i.items=true;const p=t.name("valid");if(u===undefined&&c===1){validateItems(p,(()=>t.if(p,(()=>t.break()))))}else if(c===0){t.let(p,true);if(u!==undefined)t.if((0,n._)`${o}.length > 0`,validateItemsWithCount)}else{t.let(p,false);validateItemsWithCount()}e.result(p,(()=>e.reset()));function validateItemsWithCount(){const e=t.name("_valid");const r=t.let("count",0);validateItems(e,(()=>t.if(e,(()=>checkLimits(r)))))}function validateItems(r,n){t.forRange("i",0,f,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:a.Type.Num,compositeRule:true},r);n()}))}function checkLimits(e){t.code((0,n._)`${e}++`);if(u===undefined){t.if((0,n._)`${e} >= ${c}`,(()=>t.assign(p,true).break()))}else{t.if((0,n._)`${e} > ${u}`,(()=>t.assign(p,false).break()));if(c===1)t.assign(p,true);else t.if((0,n._)`${e} >= ${c}`,(()=>t.assign(p,true)))}}}};t["default"]=o},8243:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const n=r(4109);const a=r(7545);const s=r(6086);t.error={message:({params:{property:e,depsCount:t,deps:r}})=>{const a=t===1?"property":"properties";return(0,n.str)`must have ${a} ${r} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:r,missingProperty:a}})=>(0,n._)`{property: ${e}, - missingProperty: ${a}, - depsCount: ${t}, - deps: ${r}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,r]=splitDependencies(e);validatePropertyDeps(e,t);validateSchemaDeps(e,r)}};function splitDependencies({schema:e}){const t={};const r={};for(const n in e){if(n==="__proto__")continue;const a=Array.isArray(e[n])?t:r;a[n]=e[n]}return[t,r]}function validatePropertyDeps(e,t=e.schema){const{gen:r,data:a,it:o}=e;if(Object.keys(t).length===0)return;const i=r.let("missing");for(const c in t){const u=t[c];if(u.length===0)continue;const d=(0,s.propertyInData)(r,a,c,o.opts.ownProperties);e.setParams({property:c,depsCount:u.length,deps:u.join(", ")});if(o.allErrors){r.if(d,(()=>{for(const t of u){(0,s.checkReportMissingProp)(e,t)}}))}else{r.if((0,n._)`${d} && (${(0,s.checkMissingProp)(e,u,i)})`);(0,s.reportMissingProp)(e,i);r.else()}}}t.validatePropertyDeps=validatePropertyDeps;function validateSchemaDeps(e,t=e.schema){const{gen:r,data:n,keyword:o,it:i}=e;const c=r.name("valid");for(const u in t){if((0,a.alwaysValidSchema)(i,t[u]))continue;r.if((0,s.propertyInData)(r,n,u,i.opts.ownProperties),(()=>{const t=e.subschema({keyword:o,schemaProp:u},c);e.mergeValidEvaluated(t,c)}),(()=>r.var(c,true)));e.ok(c)}}t.validateSchemaDeps=validateSchemaDeps;t["default"]=o},2062:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a=r(7545);const s={message:({params:e})=>(0,n.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,n._)`{failingKeyword: ${e.ifClause}}`};const o={keyword:"if",schemaType:["object","boolean"],trackErrors:true,error:s,code(e){const{gen:t,parentSchema:r,it:s}=e;if(r.then===undefined&&r.else===undefined){(0,a.checkStrictMode)(s,'"if" without "then" and "else" is ignored')}const o=hasSchema(s,"then");const i=hasSchema(s,"else");if(!o&&!i)return;const c=t.let("valid",true);const u=t.name("_valid");validateIf();e.reset();if(o&&i){const r=t.let("ifClause");e.setParams({ifClause:r});t.if(u,validateClause("then",r),validateClause("else",r))}else if(o){t.if(u,validateClause("then"))}else{t.if((0,n.not)(u),validateClause("else"))}e.pass(c,(()=>e.error(true)));function validateIf(){const t=e.subschema({keyword:"if",compositeRule:true,createErrors:false,allErrors:false},u);e.mergeEvaluated(t)}function validateClause(r,a){return()=>{const s=e.subschema({keyword:r},u);t.assign(c,u);e.mergeValidEvaluated(s,c);if(a)t.assign(a,(0,n._)`${r}`);else e.setParams({ifClause:r})}}}};function hasSchema(e,t){const r=e.schema[t];return r!==undefined&&!(0,a.alwaysValidSchema)(e,r)}t["default"]=o},4576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(8268);const a=r(6282);const s=r(1198);const o=r(4437);const i=r(9251);const c=r(8243);const u=r(7558);const d=r(5506);const l=r(6096);const f=r(4496);const p=r(7676);const m=r(1549);const h=r(4201);const y=r(2962);const g=r(2062);const v=r(6918);function getApplicator(e=false){const t=[p.default,m.default,h.default,y.default,g.default,v.default,u.default,d.default,c.default,l.default,f.default];if(e)t.push(a.default,o.default);else t.push(n.default,s.default);t.push(i.default);return t}t["default"]=getApplicator},1198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validateTuple=void 0;const n=r(4109);const a=r(7545);const s=r(6086);const o={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return validateTuple(e,"additionalItems",t);r.items=true;if((0,a.alwaysValidSchema)(r,t))return;e.ok((0,s.validateArray)(e))}};function validateTuple(e,t,r=e.schema){const{gen:s,parentSchema:o,data:i,keyword:c,it:u}=e;checkStrictTuple(o);if(u.opts.unevaluated&&r.length&&u.items!==true){u.items=a.mergeEvaluated.items(s,r.length,u.items)}const d=s.name("valid");const l=s.const("len",(0,n._)`${i}.length`);r.forEach(((t,r)=>{if((0,a.alwaysValidSchema)(u,t))return;s.if((0,n._)`${l} > ${r}`,(()=>e.subschema({keyword:c,schemaProp:r,dataProp:r},d)));e.ok(d)}));function checkStrictTuple(e){const{opts:n,errSchemaPath:s}=u;const o=r.length;const i=o===e.minItems&&(o===e.maxItems||e[t]===false);if(n.strictTuples&&!i){const e=`"${c}" is ${o}-tuple, but minItems or maxItems/${t} are not specified or different at path "${s}"`;(0,a.checkStrictMode)(u,e,n.strictTuples)}}}t.validateTuple=validateTuple;t["default"]=o},4437:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a=r(7545);const s=r(6086);const o=r(8268);const i={message:({params:{len:e}})=>(0,n.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,n._)`{limit: ${e}}`};const c={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:i,code(e){const{schema:t,parentSchema:r,it:n}=e;const{prefixItems:i}=r;n.items=true;if((0,a.alwaysValidSchema)(n,t))return;if(i)(0,o.validateAdditionalItems)(e,i);else e.ok((0,s.validateArray)(e))}};t["default"]=c},7676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(7545);const a={keyword:"not",schemaType:["object","boolean"],trackErrors:true,code(e){const{gen:t,schema:r,it:a}=e;if((0,n.alwaysValidSchema)(a,r)){e.fail();return}const s=t.name("valid");e.subschema({keyword:"not",compositeRule:true,createErrors:false,allErrors:false},s);e.failResult(s,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t["default"]=a},4201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a=r(7545);const s={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,n._)`{passingSchemas: ${e.passing}}`};const o={keyword:"oneOf",schemaType:"array",trackErrors:true,error:s,code(e){const{gen:t,schema:r,parentSchema:s,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(o.opts.discriminator&&s.discriminator)return;const i=r;const c=t.let("valid",false);const u=t.let("passing",null);const d=t.name("_valid");e.setParams({passing:u});t.block(validateOneOf);e.result(c,(()=>e.reset()),(()=>e.error(true)));function validateOneOf(){i.forEach(((r,s)=>{let i;if((0,a.alwaysValidSchema)(o,r)){t.var(d,true)}else{i=e.subschema({keyword:"oneOf",schemaProp:s,compositeRule:true},d)}if(s>0){t.if((0,n._)`${d} && ${c}`).assign(c,false).assign(u,(0,n._)`[${u}, ${s}]`).else()}t.if(d,(()=>{t.assign(c,true);t.assign(u,s);if(i)e.mergeEvaluated(i,n.Name)}))}))}}};t["default"]=o},4496:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(6086);const a=r(4109);const s=r(7545);const o=r(7545);const i={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:i,parentSchema:c,it:u}=e;const{opts:d}=u;const l=(0,n.allSchemaProperties)(r);const f=l.filter((e=>(0,s.alwaysValidSchema)(u,r[e])));if(l.length===0||f.length===l.length&&(!u.opts.unevaluated||u.props===true)){return}const p=d.strictSchema&&!d.allowMatchingProperties&&c.properties;const m=t.name("valid");if(u.props!==true&&!(u.props instanceof a.Name)){u.props=(0,o.evaluatedPropsToName)(t,u.props)}const{props:h}=u;validatePatternProperties();function validatePatternProperties(){for(const e of l){if(p)checkMatchingProperties(e);if(u.allErrors){validateProperties(e)}else{t.var(m,true);validateProperties(e);t.if(m)}}}function checkMatchingProperties(e){for(const t in p){if(new RegExp(e).test(t)){(0,s.checkStrictMode)(u,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}}}function validateProperties(r){t.forIn("key",i,(s=>{t.if((0,a._)`${(0,n.usePattern)(e,r)}.test(${s})`,(()=>{const n=f.includes(r);if(!n){e.subschema({keyword:"patternProperties",schemaProp:r,dataProp:s,dataPropType:o.Type.Str},m)}if(u.opts.unevaluated&&h!==true){t.assign((0,a._)`${h}[${s}]`,true)}else if(!n&&!u.allErrors){t.if((0,a.not)(m),(()=>t.break()))}}))}))}}};t["default"]=i},6282:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(1198);const a={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,n.validateTuple)(e,"items")};t["default"]=a},6096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(7357);const a=r(6086);const s=r(7545);const o=r(5506);const i={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:i,data:c,it:u}=e;if(u.opts.removeAdditional==="all"&&i.additionalProperties===undefined){o.default.code(new n.KeywordCxt(u,o.default,"additionalProperties"))}const d=(0,a.allSchemaProperties)(r);for(const e of d){u.definedProperties.add(e)}if(u.opts.unevaluated&&d.length&&u.props!==true){u.props=s.mergeEvaluated.props(t,(0,s.toHash)(d),u.props)}const l=d.filter((e=>!(0,s.alwaysValidSchema)(u,r[e])));if(l.length===0)return;const f=t.name("valid");for(const r of l){if(hasDefault(r)){applyPropertySchema(r)}else{t.if((0,a.propertyInData)(t,c,r,u.opts.ownProperties));applyPropertySchema(r);if(!u.allErrors)t.else().var(f,true);t.endIf()}e.it.definedProperties.add(r);e.ok(f)}function hasDefault(e){return u.opts.useDefaults&&!u.compositeRule&&r[e].default!==undefined}function applyPropertySchema(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},f)}}};t["default"]=i},7558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a=r(7545);const s={message:"property name must be valid",params:({params:e})=>(0,n._)`{propertyName: ${e.propertyName}}`};const o={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:s,code(e){const{gen:t,schema:r,data:s,it:o}=e;if((0,a.alwaysValidSchema)(o,r))return;const i=t.name("valid");t.forIn("key",s,(r=>{e.setParams({propertyName:r});e.subschema({keyword:"propertyNames",data:r,dataTypes:["string"],propertyName:r,compositeRule:true},i);t.if((0,n.not)(i),(()=>{e.error(true);if(!o.allErrors)t.break()}))}));e.ok(i)}};t["default"]=o},6918:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(7545);const a={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){if(t.if===undefined)(0,n.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};t["default"]=a},6086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const n=r(4109);const a=r(7545);const s=r(4492);const o=r(7545);function checkReportMissingProp(e,t){const{gen:r,data:a,it:s}=e;r.if(noPropertyInData(r,a,t,s.opts.ownProperties),(()=>{e.setParams({missingProperty:(0,n._)`${t}`},true);e.error()}))}t.checkReportMissingProp=checkReportMissingProp;function checkMissingProp({gen:e,data:t,it:{opts:r}},a,s){return(0,n.or)(...a.map((a=>(0,n.and)(noPropertyInData(e,t,a,r.ownProperties),(0,n._)`${s} = ${a}`))))}t.checkMissingProp=checkMissingProp;function reportMissingProp(e,t){e.setParams({missingProperty:t},true);e.error()}t.reportMissingProp=reportMissingProp;function hasPropFunc(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,n._)`Object.prototype.hasOwnProperty`})}t.hasPropFunc=hasPropFunc;function isOwnProperty(e,t,r){return(0,n._)`${hasPropFunc(e)}.call(${t}, ${r})`}t.isOwnProperty=isOwnProperty;function propertyInData(e,t,r,a){const s=(0,n._)`${t}${(0,n.getProperty)(r)} !== undefined`;return a?(0,n._)`${s} && ${isOwnProperty(e,t,r)}`:s}t.propertyInData=propertyInData;function noPropertyInData(e,t,r,a){const s=(0,n._)`${t}${(0,n.getProperty)(r)} === undefined`;return a?(0,n.or)(s,(0,n.not)(isOwnProperty(e,t,r))):s}t.noPropertyInData=noPropertyInData;function allSchemaProperties(e){return e?Object.keys(e).filter((e=>e!=="__proto__")):[]}t.allSchemaProperties=allSchemaProperties;function schemaProperties(e,t){return allSchemaProperties(t).filter((r=>!(0,a.alwaysValidSchema)(e,t[r])))}t.schemaProperties=schemaProperties;function callValidateCode({schemaCode:e,data:t,it:{gen:r,topSchemaRef:a,schemaPath:o,errorPath:i},it:c},u,d,l){const f=l?(0,n._)`${e}, ${t}, ${a}${o}`:t;const p=[[s.default.instancePath,(0,n.strConcat)(s.default.instancePath,i)],[s.default.parentData,c.parentData],[s.default.parentDataProperty,c.parentDataProperty],[s.default.rootData,s.default.rootData]];if(c.opts.dynamicRef)p.push([s.default.dynamicAnchors,s.default.dynamicAnchors]);const m=(0,n._)`${f}, ${r.object(...p)}`;return d!==n.nil?(0,n._)`${u}.call(${d}, ${m})`:(0,n._)`${u}(${m})`}t.callValidateCode=callValidateCode;const i=(0,n._)`new RegExp`;function usePattern({gen:e,it:{opts:t}},r){const a=t.unicodeRegExp?"u":"";const{regExp:s}=t.code;const c=s(r,a);return e.scopeValue("pattern",{key:c.toString(),ref:c,code:(0,n._)`${s.code==="new RegExp"?i:(0,o.useFunc)(e,s)}(${r}, ${a})`})}t.usePattern=usePattern;function validateArray(e){const{gen:t,data:r,keyword:s,it:o}=e;const i=t.name("valid");if(o.allErrors){const e=t.let("valid",true);validateItems((()=>t.assign(e,false)));return e}t.var(i,true);validateItems((()=>t.break()));return i;function validateItems(o){const c=t.const("len",(0,n._)`${r}.length`);t.forRange("i",0,c,(r=>{e.subschema({keyword:s,dataProp:r,dataPropType:a.Type.Num},i);t.if((0,n.not)(i),o)}))}}t.validateArray=validateArray;function validateUnion(e){const{gen:t,schema:r,keyword:s,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const i=r.some((e=>(0,a.alwaysValidSchema)(o,e)));if(i&&!o.opts.unevaluated)return;const c=t.let("valid",false);const u=t.name("_valid");t.block((()=>r.forEach(((r,a)=>{const o=e.subschema({keyword:s,schemaProp:a,compositeRule:true},u);t.assign(c,(0,n._)`${c} || ${u}`);const i=e.mergeValidEvaluated(o,u);if(!i)t.if((0,n.not)(c))}))));e.result(c,(()=>e.reset()),(()=>e.error(true)))}t.validateUnion=validateUnion},8795:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t["default"]=r},9827:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(8795);const a=r(9873);const s=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",n.default,a.default];t["default"]=s},9873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.callRef=t.getValidate=void 0;const n=r(9984);const a=r(6086);const s=r(4109);const o=r(4492);const i=r(960);const c=r(7545);const u={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:a}=e;const{baseId:o,schemaEnv:c,validateName:u,opts:d,self:l}=a;const{root:f}=c;if((r==="#"||r==="#/")&&o===f.baseId)return callRootRef();const p=i.resolveRef.call(l,f,o,r);if(p===undefined)throw new n.default(a.opts.uriResolver,o,r);if(p instanceof i.SchemaEnv)return callValidate(p);return inlineRefSchema(p);function callRootRef(){if(c===f)return callRef(e,u,c,c.$async);const r=t.scopeValue("root",{ref:f});return callRef(e,(0,s._)`${r}.validate`,f,f.$async)}function callValidate(t){const r=getValidate(e,t);callRef(e,r,t,t.$async)}function inlineRefSchema(n){const a=t.scopeValue("schema",d.code.source===true?{ref:n,code:(0,s.stringify)(n)}:{ref:n});const o=t.name("valid");const i=e.subschema({schema:n,dataTypes:[],schemaPath:s.nil,topSchemaRef:a,errSchemaPath:r},o);e.mergeEvaluated(i);e.ok(o)}}};function getValidate(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):(0,s._)`${r.scopeValue("wrapper",{ref:t})}.validate`}t.getValidate=getValidate;function callRef(e,t,r,n){const{gen:i,it:u}=e;const{allErrors:d,schemaEnv:l,opts:f}=u;const p=f.passContext?o.default.this:s.nil;if(n)callAsyncRef();else callSyncRef();function callAsyncRef(){if(!l.$async)throw new Error("async schema referenced by sync schema");const r=i.let("valid");i.try((()=>{i.code((0,s._)`await ${(0,a.callValidateCode)(e,t,p)}`);addEvaluatedFrom(t);if(!d)i.assign(r,true)}),(e=>{i.if((0,s._)`!(${e} instanceof ${u.ValidationError})`,(()=>i.throw(e)));addErrorsFrom(e);if(!d)i.assign(r,false)}));e.ok(r)}function callSyncRef(){e.result((0,a.callValidateCode)(e,t,p),(()=>addEvaluatedFrom(t)),(()=>addErrorsFrom(t)))}function addErrorsFrom(e){const t=(0,s._)`${e}.errors`;i.assign(o.default.vErrors,(0,s._)`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`);i.assign(o.default.errors,(0,s._)`${o.default.vErrors}.length`)}function addEvaluatedFrom(e){var t;if(!u.opts.unevaluated)return;const n=(t=r===null||r===void 0?void 0:r.validate)===null||t===void 0?void 0:t.evaluated;if(u.props!==true){if(n&&!n.dynamicProps){if(n.props!==undefined){u.props=c.mergeEvaluated.props(i,n.props,u.props)}}else{const t=i.var("props",(0,s._)`${e}.evaluated.props`);u.props=c.mergeEvaluated.props(i,t,u.props,s.Name)}}if(u.items!==true){if(n&&!n.dynamicItems){if(n.items!==undefined){u.items=c.mergeEvaluated.items(i,n.items,u.items)}}else{const t=i.var("items",(0,s._)`${e}.evaluated.items`);u.items=c.mergeEvaluated.items(i,t,u.items,s.Name)}}}}t.callRef=callRef;t["default"]=u},8222:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a=r(3547);const s=r(960);const o=r(7545);const i={message:({params:{discrError:e,tagName:t}})=>e===a.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>(0,n._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`};const c={keyword:"discriminator",type:"object",schemaType:"object",error:i,code(e){const{gen:t,data:r,schema:i,parentSchema:c,it:u}=e;const{oneOf:d}=c;if(!u.opts.discriminator){throw new Error("discriminator: requires discriminator option")}const l=i.propertyName;if(typeof l!="string")throw new Error("discriminator: requires propertyName");if(i.mapping)throw new Error("discriminator: mapping is not supported");if(!d)throw new Error("discriminator: requires oneOf keyword");const f=t.let("valid",false);const p=t.const("tag",(0,n._)`${r}${(0,n.getProperty)(l)}`);t.if((0,n._)`typeof ${p} == "string"`,(()=>validateMapping()),(()=>e.error(false,{discrError:a.DiscrError.Tag,tag:p,tagName:l})));e.ok(f);function validateMapping(){const r=getMapping();t.if(false);for(const e in r){t.elseIf((0,n._)`${p} === ${e}`);t.assign(f,applyTagSchema(r[e]))}t.else();e.error(false,{discrError:a.DiscrError.Mapping,tag:p,tagName:l});t.endIf()}function applyTagSchema(r){const a=t.name("valid");const s=e.subschema({keyword:"oneOf",schemaProp:r},a);e.mergeEvaluated(s,n.Name);return a}function getMapping(){var e;const t={};const r=hasRequired(c);let n=true;for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DiscrError=void 0;var r;(function(e){e["Tag"]="tag";e["Mapping"]="mapping"})(r=t.DiscrError||(t.DiscrError={}))},8056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(9827);const a=r(4463);const s=r(4576);const o=r(7596);const i=r(1654);const c=[n.default,a.default,(0,s.default)(),o.default,i.metadataVocabulary,i.contentVocabulary];t["default"]=c},3875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a={message:({schemaCode:e})=>(0,n.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,n._)`{format: ${e}}`};const s={keyword:"format",type:["number","string"],schemaType:"string",$data:true,error:a,code(e,t){const{gen:r,data:a,$data:s,schema:o,schemaCode:i,it:c}=e;const{opts:u,errSchemaPath:d,schemaEnv:l,self:f}=c;if(!u.validateFormats)return;if(s)validate$DataFormat();else validateFormat();function validate$DataFormat(){const s=r.scopeValue("formats",{ref:f.formats,code:u.code.formats});const o=r.const("fDef",(0,n._)`${s}[${i}]`);const c=r.let("fType");const d=r.let("format");r.if((0,n._)`typeof ${o} == "object" && !(${o} instanceof RegExp)`,(()=>r.assign(c,(0,n._)`${o}.type || "string"`).assign(d,(0,n._)`${o}.validate`)),(()=>r.assign(c,(0,n._)`"string"`).assign(d,o)));e.fail$data((0,n.or)(unknownFmt(),invalidFmt()));function unknownFmt(){if(u.strictSchema===false)return n.nil;return(0,n._)`${i} && !${d}`}function invalidFmt(){const e=l.$async?(0,n._)`(${o}.async ? await ${d}(${a}) : ${d}(${a}))`:(0,n._)`${d}(${a})`;const r=(0,n._)`(typeof ${d} == "function" ? ${e} : ${d}.test(${a}))`;return(0,n._)`${d} && ${d} !== true && ${c} === ${t} && !${r}`}}function validateFormat(){const s=f.formats[o];if(!s){unknownFormat();return}if(s===true)return;const[i,c,p]=getFormat(s);if(i===t)e.pass(validCondition());function unknownFormat(){if(u.strictSchema===false){f.logger.warn(unknownMsg());return}throw new Error(unknownMsg());function unknownMsg(){return`unknown format "${o}" ignored in schema at path "${d}"`}}function getFormat(e){const t=e instanceof RegExp?(0,n.regexpCode)(e):u.code.formats?(0,n._)`${u.code.formats}${(0,n.getProperty)(o)}`:undefined;const a=r.scopeValue("formats",{key:o,ref:e,code:t});if(typeof e=="object"&&!(e instanceof RegExp)){return[e.type||"string",e.validate,(0,n._)`${a}.validate`]}return["string",e,a]}function validCondition(){if(typeof s=="object"&&!(s instanceof RegExp)&&s.async){if(!l.$async)throw new Error("async format in sync schema");return(0,n._)`await ${p}(${a})`}return typeof c=="function"?(0,n._)`${p}(${a})`:(0,n._)`${p}.test(${a})`}}}};t["default"]=s},7596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3875);const a=[n.default];t["default"]=a},1654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.contentVocabulary=t.metadataVocabulary=void 0;t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},3838:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a=r(7545);const s=r(9987);const o={message:"must be equal to constant",params:({schemaCode:e})=>(0,n._)`{allowedValue: ${e}}`};const i={keyword:"const",$data:true,error:o,code(e){const{gen:t,data:r,$data:o,schemaCode:i,schema:c}=e;if(o||c&&typeof c=="object"){e.fail$data((0,n._)`!${(0,a.useFunc)(t,s.default)}(${r}, ${i})`)}else{e.fail((0,n._)`${c} !== ${r}`)}}};t["default"]=i},6923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a=r(7545);const s=r(9987);const o={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,n._)`{allowedValues: ${e}}`};const i={keyword:"enum",schemaType:"array",$data:true,error:o,code(e){const{gen:t,data:r,$data:o,schema:i,schemaCode:c,it:u}=e;if(!o&&i.length===0)throw new Error("enum must have non-empty array");const d=i.length>=u.opts.loopEnum;let l;const getEql=()=>l!==null&&l!==void 0?l:l=(0,a.useFunc)(t,s.default);let f;if(d||o){f=t.let("valid");e.block$data(f,loopEnum)}else{if(!Array.isArray(i))throw new Error("ajv implementation error");const e=t.const("vSchema",c);f=(0,n.or)(...i.map(((t,r)=>equalCode(e,r))))}e.pass(f);function loopEnum(){t.assign(f,false);t.forOf("v",c,(e=>t.if((0,n._)`${getEql()}(${r}, ${e})`,(()=>t.assign(f,true).break()))))}function equalCode(e,t){const a=i[t];return typeof a==="object"&&a!==null?(0,n._)`${getEql()}(${r}, ${e}[${t}])`:(0,n._)`${r} === ${a}`}}};t["default"]=i},4463:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(6974);const a=r(873);const s=r(5534);const o=r(6880);const i=r(490);const c=r(1022);const u=r(3480);const d=r(4214);const l=r(3838);const f=r(6923);const p=[n.default,a.default,s.default,o.default,i.default,c.default,u.default,d.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},l.default,f.default];t["default"]=p},3480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a={message({keyword:e,schemaCode:t}){const r=e==="maxItems"?"more":"fewer";return(0,n.str)`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>(0,n._)`{limit: ${e}}`};const s={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:true,error:a,code(e){const{keyword:t,data:r,schemaCode:a}=e;const s=t==="maxItems"?n.operators.GT:n.operators.LT;e.fail$data((0,n._)`${r}.length ${s} ${a}`)}};t["default"]=s},5534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a=r(7545);const s=r(4624);const o={message({keyword:e,schemaCode:t}){const r=e==="maxLength"?"more":"fewer";return(0,n.str)`must NOT have ${r} than ${t} characters`},params:({schemaCode:e})=>(0,n._)`{limit: ${e}}`};const i={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:true,error:o,code(e){const{keyword:t,data:r,schemaCode:o,it:i}=e;const c=t==="maxLength"?n.operators.GT:n.operators.LT;const u=i.opts.unicode===false?(0,n._)`${r}.length`:(0,n._)`${(0,a.useFunc)(e.gen,s.default)}(${r})`;e.fail$data((0,n._)`${u} ${c} ${o}`)}};t["default"]=i},6974:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a=n.operators;const s={maximum:{okStr:"<=",ok:a.LTE,fail:a.GT},minimum:{okStr:">=",ok:a.GTE,fail:a.LT},exclusiveMaximum:{okStr:"<",ok:a.LT,fail:a.GTE},exclusiveMinimum:{okStr:">",ok:a.GT,fail:a.LTE}};const o={message:({keyword:e,schemaCode:t})=>(0,n.str)`must be ${s[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,n._)`{comparison: ${s[e].okStr}, limit: ${t}}`};const i={keyword:Object.keys(s),type:"number",schemaType:"number",$data:true,error:o,code(e){const{keyword:t,data:r,schemaCode:a}=e;e.fail$data((0,n._)`${r} ${s[t].fail} ${a} || isNaN(${r})`)}};t["default"]=i},490:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a={message({keyword:e,schemaCode:t}){const r=e==="maxProperties"?"more":"fewer";return(0,n.str)`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>(0,n._)`{limit: ${e}}`};const s={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:true,error:a,code(e){const{keyword:t,data:r,schemaCode:a}=e;const s=t==="maxProperties"?n.operators.GT:n.operators.LT;e.fail$data((0,n._)`Object.keys(${r}).length ${s} ${a}`)}};t["default"]=s},873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const a={message:({schemaCode:e})=>(0,n.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,n._)`{multipleOf: ${e}}`};const s={keyword:"multipleOf",type:"number",schemaType:"number",$data:true,error:a,code(e){const{gen:t,data:r,schemaCode:a,it:s}=e;const o=s.opts.multipleOfPrecision;const i=t.let("res");const c=o?(0,n._)`Math.abs(Math.round(${i}) - ${i}) > 1e-${o}`:(0,n._)`${i} !== parseInt(${i})`;e.fail$data((0,n._)`(${a} === 0 || (${i} = ${r}/${a}, ${c}))`)}};t["default"]=s},6880:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(6086);const a=r(4109);const s={message:({schemaCode:e})=>(0,a.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,a._)`{pattern: ${e}}`};const o={keyword:"pattern",type:"string",schemaType:"string",$data:true,error:s,code(e){const{data:t,$data:r,schema:s,schemaCode:o,it:i}=e;const c=i.opts.unicodeRegExp?"u":"";const u=r?(0,a._)`(new RegExp(${o}, ${c}))`:(0,n.usePattern)(e,s);e.fail$data((0,a._)`!${u}.test(${t})`)}};t["default"]=o},1022:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(6086);const a=r(4109);const s=r(7545);const o={message:({params:{missingProperty:e}})=>(0,a.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,a._)`{missingProperty: ${e}}`};const i={keyword:"required",type:"object",schemaType:"array",$data:true,error:o,code(e){const{gen:t,schema:r,schemaCode:o,data:i,$data:c,it:u}=e;const{opts:d}=u;if(!c&&r.length===0)return;const l=r.length>=d.loopRequired;if(u.allErrors)allErrorsMode();else exitOnErrorMode();if(d.strictRequired){const t=e.parentSchema.properties;const{definedProperties:n}=e.it;for(const e of r){if((t===null||t===void 0?void 0:t[e])===undefined&&!n.has(e)){const t=u.schemaEnv.baseId+u.errSchemaPath;const r=`required property "${e}" is not defined at "${t}" (strictRequired)`;(0,s.checkStrictMode)(u,r,u.opts.strictRequired)}}}function allErrorsMode(){if(l||c){e.block$data(a.nil,loopAllRequired)}else{for(const t of r){(0,n.checkReportMissingProp)(e,t)}}}function exitOnErrorMode(){const a=t.let("missing");if(l||c){const r=t.let("valid",true);e.block$data(r,(()=>loopUntilMissing(a,r)));e.ok(r)}else{t.if((0,n.checkMissingProp)(e,r,a));(0,n.reportMissingProp)(e,a);t.else()}}function loopAllRequired(){t.forOf("prop",o,(r=>{e.setParams({missingProperty:r});t.if((0,n.noPropertyInData)(t,i,r,d.ownProperties),(()=>e.error()))}))}function loopUntilMissing(r,s){e.setParams({missingProperty:r});t.forOf(r,o,(()=>{t.assign(s,(0,n.propertyInData)(t,i,r,d.ownProperties));t.if((0,a.not)(s),(()=>{e.error();t.break()}))}),a.nil)}}};t["default"]=i},4214:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3967);const a=r(4109);const s=r(7545);const o=r(9987);const i={message:({params:{i:e,j:t}})=>(0,a.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,a._)`{i: ${e}, j: ${t}}`};const c={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:true,error:i,code(e){const{gen:t,data:r,$data:i,schema:c,parentSchema:u,schemaCode:d,it:l}=e;if(!i&&!c)return;const f=t.let("valid");const p=u.items?(0,n.getSchemaTypes)(u.items):[];e.block$data(f,validateUniqueItems,(0,a._)`${d} === false`);e.ok(f);function validateUniqueItems(){const n=t.let("i",(0,a._)`${r}.length`);const s=t.let("j");e.setParams({i:n,j:s});t.assign(f,true);t.if((0,a._)`${n} > 1`,(()=>(canOptimize()?loopN:loopN2)(n,s)))}function canOptimize(){return p.length>0&&!p.some((e=>e==="object"||e==="array"))}function loopN(s,o){const i=t.name("item");const c=(0,n.checkDataTypes)(p,i,l.opts.strictNumbers,n.DataType.Wrong);const u=t.const("indices",(0,a._)`{}`);t.for((0,a._)`;${s}--;`,(()=>{t.let(i,(0,a._)`${r}[${s}]`);t.if(c,(0,a._)`continue`);if(p.length>1)t.if((0,a._)`typeof ${i} == "string"`,(0,a._)`${i} += "_"`);t.if((0,a._)`typeof ${u}[${i}] == "number"`,(()=>{t.assign(o,(0,a._)`${u}[${i}]`);e.error();t.assign(f,false).break()})).code((0,a._)`${u}[${i}] = ${s}`)}))}function loopN2(n,i){const c=(0,s.useFunc)(t,o.default);const u=t.name("outer");t.label(u).for((0,a._)`;${n}--;`,(()=>t.for((0,a._)`${i} = ${n}; ${i}--;`,(()=>t.if((0,a._)`${c}(${r}[${n}], ${r}[${i}])`,(()=>{e.error();t.assign(f,false).break(u)}))))))}}};t["default"]=c},5225:e=>{const t=/^[^:]+: /;const format=e=>{if(e instanceof SyntaxError){e.name="SyntaxError";e.message=e.message.replace(t,"");e.hideStack=true}else if(e instanceof TypeError){e.name=null;e.message=e.message.replace(t,"");e.hideStack=true}return e};class LoaderError extends Error{constructor(e){super();const{name:t,message:r,codeFrame:n,hideStack:a}=format(e);this.name="BabelLoaderError";this.message=`${t?`${t}: `:""}${r}\n\n${n}\n`;this.hideStack=a;Error.captureStackTrace(this,this.constructor)}}e.exports=LoaderError},4234:(e,t,r)=>{const n=r(2037);const a=r(1017);const s=r(9796);const o=r(6113);const{promisify:i}=r(3837);const{readFile:c,writeFile:u,mkdir:d}=r(3292);const l=r.e(583).then(r.bind(r,9583));const f=r(599);let p=null;let m="sha256";try{o.createHash(m)}catch(e){m="md5"}const h=i(s.gunzip);const y=i(s.gzip);const read=async function(e,t){const r=await c(e+(t?".gz":""));const n=t?await h(r):r;return JSON.parse(n.toString())};const write=async function(e,t,r){const n=JSON.stringify(r);const a=t?await y(n):n;return await u(e+(t?".gz":""),a)};const filename=function(e,t,r){const n=o.createHash(m);const a=JSON.stringify({source:e,options:r,identifier:t});n.update(a);return n.digest("hex")+".json"};const handleCache=async function(e,t){const{source:r,options:s={},cacheIdentifier:o,cacheDirectory:i,cacheCompression:c}=t;const u=a.join(e,filename(r,o,s));try{return await read(u,c)}catch(e){}const l=typeof i!=="string"&&e!==n.tmpdir();try{await d(e,{recursive:true})}catch(e){if(l){return handleCache(n.tmpdir(),t)}throw e}const p=await f(r,s);if(!p.externalDependencies.length){try{await write(u,c,p)}catch(e){if(l){return handleCache(n.tmpdir(),t)}throw e}}return p};e.exports=async function(e){let t;if(typeof e.cacheDirectory==="string"){t=e.cacheDirectory}else{if(p===null){const{default:e}=await l;p=e({name:"babel-loader"})||n.tmpdir()}t=p}return await handleCache(t,e)}},7967:(e,t,r)=>{let n;try{n=r(7718)}catch(e){if(e.code==="MODULE_NOT_FOUND"){e.message+="\n babel-loader@9 requires Babel 7.12+ (the package '@babel/core'). "+"If you'd like to use Babel 6.x ('babel-core'), you should install 'babel-loader@7'."}throw e}if(/^6\./.test(n.version)){throw new Error("\n babel-loader@9 will not work with the '@babel/core@6' bridge package. "+"If you want to use Babel 6.x, install 'babel-loader@7'.")}const{version:a}=r(3684);const s=r(4234);const o=r(599);const i=r(5376);const c=r(6140);const{isAbsolute:u}=r(1017);const d=r(2840).validate;function subscribe(e,t,r){if(r[e]){r[e](t)}}e.exports=makeLoader();e.exports.custom=makeLoader;function makeLoader(e){const t=e?e(n):undefined;return function(e,r){const n=this.async();loader.call(this,e,r,t).then((e=>n(null,...e)),(e=>n(e)))}}async function loader(e,t,r){const l=this.resourcePath;let f=this.getOptions();d(c,f,{name:"Babel loader"});if(f.customize!=null){if(typeof f.customize!=="string"){throw new Error("Customized loaders must be implemented as standalone modules.")}if(!u(f.customize)){throw new Error("Customized loaders must be passed as absolute paths, since "+"babel-loader has no way to know what they would be relative to.")}if(r){throw new Error("babel-loader's 'customize' option is not available when already "+"using a customized babel-loader wrapper.")}let e=require(f.customize);if(e.__esModule)e=e.default;if(typeof e!=="function"){throw new Error("Custom overrides must be functions.")}r=e(n)}let p;if(r&&r.customOptions){const n=await r.customOptions.call(this,f,{source:e,map:t});p=n.custom;f=n.loader}if("forceEnv"in f){console.warn("The option `forceEnv` has been removed in favor of `envName` in Babel 7.")}if(typeof f.babelrc==="string"){console.warn("The option `babelrc` should not be set to a string anymore in the babel-loader config. "+"Please update your configuration and set `babelrc` to true or false.\n"+"If you want to specify a specific babel config file to inherit config from "+"please use the `extends` option.\nFor more information about this options see "+"https://babeljs.io/docs/core-packages/#options")}if(Object.prototype.hasOwnProperty.call(f,"sourceMap")&&!Object.prototype.hasOwnProperty.call(f,"sourceMaps")){f=Object.assign({},f,{sourceMaps:f.sourceMap});delete f.sourceMap}const m=Object.assign({},f,{filename:l,inputSourceMap:t||f.inputSourceMap,sourceMaps:f.sourceMaps===undefined?this.sourceMap:f.sourceMaps,sourceFileName:l});delete m.customize;delete m.cacheDirectory;delete m.cacheIdentifier;delete m.cacheCompression;delete m.metadataSubscribers;const h=await n.loadPartialConfigAsync(i(m,this.target));if(h){let n=h.options;if(r&&r.config){n=await r.config.call(this,h,{source:e,map:t,customOptions:p})}if(n.sourceMaps==="inline"){n.sourceMaps=true}const{cacheDirectory:i=null,cacheIdentifier:c=JSON.stringify({options:n,"@babel/core":o.version,"@babel/loader":a}),cacheCompression:u=true,metadataSubscribers:d=[]}=f;let l;if(i){l=await s({source:e,options:n,transform:o,cacheDirectory:i,cacheIdentifier:c,cacheCompression:u})}else{l=await o(e,n)}h.files.forEach((e=>this.addDependency(e)));if(l){if(r&&r.result){l=await r.result.call(this,l,{source:e,map:t,customOptions:p,config:h,options:n})}const{code:a,map:s,metadata:o,externalDependencies:i}=l;i==null?void 0:i.forEach((e=>this.addDependency(e)));d.forEach((e=>{subscribe(e,o,this)}));return[a,s]}}return[e,t]}},5376:(e,t,r)=>{const n=r(7718);e.exports=function injectCaller(e,t){if(!supportsCallerOption())return e;return Object.assign({},e,{caller:Object.assign({name:"babel-loader",target:t,supportsStaticESM:true,supportsDynamicImport:true,supportsTopLevelAwait:true},e.caller)})};let a=undefined;function supportsCallerOption(){if(a===undefined){try{n.loadPartialConfig({caller:undefined,babelrc:false,configFile:false});a=true}catch(e){a=false}}return a}},599:(e,t,r)=>{const n=r(7718);const{promisify:a}=r(3837);const s=r(5225);const o=a(n.transform);e.exports=async function(e,t){let r;try{r=await o(e,t)}catch(e){throw e.message&&e.codeFrame?new s(e):e}if(!r)return null;const{ast:n,code:a,map:i,metadata:c,sourceType:u,externalDependencies:d}=r;if(i&&(!i.sourcesContent||!i.sourcesContent.length)){i.sourcesContent=[e]}return{ast:n,code:a,map:i,metadata:c,sourceType:u,externalDependencies:Array.from(d||[])}};e.exports.version=n.version},7447:e=>{"use strict";e.exports=function equal(e,t){if(e===t)return true;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return false;var r,n,a;if(Array.isArray(e)){r=e.length;if(r!=t.length)return false;for(n=r;n--!==0;)if(!equal(e[n],t[n]))return false;return true}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();a=Object.keys(e);r=a.length;if(r!==Object.keys(t).length)return false;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return false;for(n=r;n--!==0;){var s=a[n];if(!equal(e[s],t[s]))return false}return true}return e!==e&&t!==t}},7243:e=>{"use strict";var t=e.exports=function(e,t,r){if(typeof t=="function"){r=t;t={}}r=t.cb||r;var n=typeof r=="function"?r:r.pre||function(){};var a=r.post||function(){};_traverse(t,n,a,e,"",e)};t.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true,if:true,then:true,else:true};t.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};t.propsKeywords={$defs:true,definitions:true,properties:true,patternProperties:true,dependencies:true};t.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(e,r,n,a,s,o,i,c,u,d){if(a&&typeof a=="object"&&!Array.isArray(a)){r(a,s,o,i,c,u,d);for(var l in a){var f=a[l];if(Array.isArray(f)){if(l in t.arrayKeywords){for(var p=0;p{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(1865));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function isNumeric(e){return/^-?\d+$/.test(e)}function filterMax(e,t){const r=e.reduce(((e,r)=>Math.max(e,t(r))),0);return e.filter((e=>t(e)===r))}function filterChildren(e){let t=e;t=filterMax(t,(e=>e.instancePath?e.instancePath.length:0));t=filterMax(t,(e=>a[e.keyword]||2));return t}function findAllChildren(e,t){let r=e.length-1;const predicate=t=>e[r].schemaPath.indexOf(t)!==0;while(r>-1&&!t.every(predicate)){if(e[r].keyword==="anyOf"||e[r].keyword==="oneOf"){const t=extractRefs(e[r]);const n=findAllChildren(e.slice(0,r),t.concat(e[r].schemaPath));r=n-1}else{r-=1}}return r+1}function extractRefs(e){const{schema:t}=e;if(!Array.isArray(t)){return[]}return t.map((({$ref:e})=>e)).filter((e=>e))}function groupChildrenByFirstChild(e){const t=[];let r=e.length-1;while(r>0){const n=e[r];if(n.keyword==="anyOf"||n.keyword==="oneOf"){const a=extractRefs(n);const s=findAllChildren(e.slice(0,r),a.concat(n.schemaPath));if(s!==r){t.push(Object.assign({},n,{children:e.slice(s,r)}));r=s}else{t.push(n)}}else{t.push(n)}r-=1}if(r===0){t.push(e[r])}return t.reverse()}function indent(e,t){return e.replace(/\n(?!$)/g,`\n${t}`)}function hasNotInSchema(e){return!!e.not}function findFirstTypedSchema(e){if(hasNotInSchema(e)){return findFirstTypedSchema(e.not)}return e}function canApplyNot(e){const t=findFirstTypedSchema(e);return likeNumber(t)||likeInteger(t)||likeString(t)||likeNull(t)||likeBoolean(t)}function isObject(e){return typeof e==="object"&&e!==null}function likeNumber(e){return e.type==="number"||typeof e.minimum!=="undefined"||typeof e.exclusiveMinimum!=="undefined"||typeof e.maximum!=="undefined"||typeof e.exclusiveMaximum!=="undefined"||typeof e.multipleOf!=="undefined"}function likeInteger(e){return e.type==="integer"||typeof e.minimum!=="undefined"||typeof e.exclusiveMinimum!=="undefined"||typeof e.maximum!=="undefined"||typeof e.exclusiveMaximum!=="undefined"||typeof e.multipleOf!=="undefined"}function likeString(e){return e.type==="string"||typeof e.minLength!=="undefined"||typeof e.maxLength!=="undefined"||typeof e.pattern!=="undefined"||typeof e.format!=="undefined"||typeof e.formatMinimum!=="undefined"||typeof e.formatMaximum!=="undefined"}function likeBoolean(e){return e.type==="boolean"}function likeArray(e){return e.type==="array"||typeof e.minItems==="number"||typeof e.maxItems==="number"||typeof e.uniqueItems!=="undefined"||typeof e.items!=="undefined"||typeof e.additionalItems!=="undefined"||typeof e.contains!=="undefined"}function likeObject(e){return e.type==="object"||typeof e.minProperties!=="undefined"||typeof e.maxProperties!=="undefined"||typeof e.required!=="undefined"||typeof e.properties!=="undefined"||typeof e.patternProperties!=="undefined"||typeof e.additionalProperties!=="undefined"||typeof e.dependencies!=="undefined"||typeof e.propertyNames!=="undefined"||typeof e.patternRequired!=="undefined"}function likeNull(e){return e.type==="null"}function getArticle(e){if(/^[aeiou]/i.test(e)){return"an"}return"a"}function getSchemaNonTypes(e){if(!e){return""}if(!e.type){if(likeNumber(e)||likeInteger(e)){return" | should be any non-number"}if(likeString(e)){return" | should be any non-string"}if(likeArray(e)){return" | should be any non-array"}if(likeObject(e)){return" | should be any non-object"}}return""}function formatHints(e){return e.length>0?`(${e.join(", ")})`:""}const s=(0,n.default)((()=>r(4511)));function getHints(e,t){if(likeNumber(e)||likeInteger(e)){const r=s();return r.numberHints(e,t)}else if(likeString(e)){const r=s();return r.stringHints(e,t)}return[]}class ValidationError extends Error{constructor(e,t,r={}){super();this.name="ValidationError";this.errors=e;this.schema=t;let n;let a;if(t.title&&(!r.name||!r.baseDataPath)){const e=t.title.match(/^(.+) (.+)$/);if(e){if(!r.name){[,n]=e}if(!r.baseDataPath){[,,a]=e}}}this.headerName=r.name||n||"Object";this.baseDataPath=r.baseDataPath||a||"configuration";this.postFormatter=r.postFormatter||null;const s=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${s}${this.formatValidationErrors(e)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(e){const t=e.split("/");let r=this.schema;for(let e=1;e{if(!a){return this.formatSchema(t,n,r)}if(r.includes(t)){return"(recursive)"}return this.formatSchema(t,n,r.concat(e))};if(hasNotInSchema(e)&&!likeObject(e)){if(canApplyNot(e.not)){n=!t;return formatInnerSchema(e.not)}const r=!e.not.not;const a=t?"":"non ";n=!t;return r?a+formatInnerSchema(e.not):formatInnerSchema(e.not)}if(e.instanceof){const{instanceof:t}=e;const r=!Array.isArray(t)?[t]:t;return r.map((e=>e==="Function"?"function":e)).join(" | ")}if(e.enum){const t=e.enum.map((t=>{if(t===null&&e.undefinedAsNull){return`${JSON.stringify(t)} | undefined`}return JSON.stringify(t)})).join(" | ");return`${t}`}if(typeof e.const!=="undefined"){return JSON.stringify(e.const)}if(e.oneOf){return e.oneOf.map((e=>formatInnerSchema(e,true))).join(" | ")}if(e.anyOf){return e.anyOf.map((e=>formatInnerSchema(e,true))).join(" | ")}if(e.allOf){return e.allOf.map((e=>formatInnerSchema(e,true))).join(" & ")}if(e.if){const{if:t,then:r,else:n}=e;return`${t?`if ${formatInnerSchema(t)}`:""}${r?` then ${formatInnerSchema(r)}`:""}${n?` else ${formatInnerSchema(n)}`:""}`}if(e.$ref){return formatInnerSchema(this.getSchemaPart(e.$ref),true)}if(likeNumber(e)||likeInteger(e)){const[r,...n]=getHints(e,t);const a=`${r}${n.length>0?` ${formatHints(n)}`:""}`;return t?a:n.length>0?`non-${r} | ${a}`:`non-${r}`}if(likeString(e)){const[r,...n]=getHints(e,t);const a=`${r}${n.length>0?` ${formatHints(n)}`:""}`;return t?a:a==="string"?"non-string":`non-string | ${a}`}if(likeBoolean(e)){return`${t?"":"non-"}boolean`}if(likeArray(e)){n=true;const t=[];if(typeof e.minItems==="number"){t.push(`should not have fewer than ${e.minItems} item${e.minItems>1?"s":""}`)}if(typeof e.maxItems==="number"){t.push(`should not have more than ${e.maxItems} item${e.maxItems>1?"s":""}`)}if(e.uniqueItems){t.push("should not have duplicate items")}const r=typeof e.additionalItems==="undefined"||Boolean(e.additionalItems);let a="";if(e.items){if(Array.isArray(e.items)&&e.items.length>0){a=`${e.items.map((e=>formatInnerSchema(e))).join(", ")}`;if(r){if(e.additionalItems&&isObject(e.additionalItems)&&Object.keys(e.additionalItems).length>0){t.push(`additional items should be ${formatInnerSchema(e.additionalItems)}`)}}}else if(e.items&&Object.keys(e.items).length>0){a=`${formatInnerSchema(e.items)}`}else{a="any"}}else{a="any"}if(e.contains&&Object.keys(e.contains).length>0){t.push(`should contains at least one ${this.formatSchema(e.contains)} item`)}return`[${a}${r?", ...":""}]${t.length>0?` (${t.join(", ")})`:""}`}if(likeObject(e)){n=true;const t=[];if(typeof e.minProperties==="number"){t.push(`should not have fewer than ${e.minProperties} ${e.minProperties>1?"properties":"property"}`)}if(typeof e.maxProperties==="number"){t.push(`should not have more than ${e.maxProperties} ${e.minProperties&&e.minProperties>1?"properties":"property"}`)}if(e.patternProperties&&Object.keys(e.patternProperties).length>0){const r=Object.keys(e.patternProperties);t.push(`additional property names should match pattern${r.length>1?"s":""} ${r.map((e=>JSON.stringify(e))).join(" | ")}`)}const r=e.properties?Object.keys(e.properties):[];const a=e.required?e.required:[];const s=[...new Set([].concat(a).concat(r))];const o=s.map((e=>{const t=a.includes(e);return`${e}${t?"":"?"}`})).concat(typeof e.additionalProperties==="undefined"||Boolean(e.additionalProperties)?e.additionalProperties&&isObject(e.additionalProperties)?[`: ${formatInnerSchema(e.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:i,propertyNames:c,patternRequired:u}=e;if(i){Object.keys(i).forEach((e=>{const r=i[e];if(Array.isArray(r)){t.push(`should have ${r.length>1?"properties":"property"} ${r.map((e=>`'${e}'`)).join(", ")} when property '${e}' is present`)}else{t.push(`should be valid according to the schema ${formatInnerSchema(r)} when property '${e}' is present`)}}))}if(c&&Object.keys(c).length>0){t.push(`each property name should match format ${JSON.stringify(e.propertyNames.format)}`)}if(u&&u.length>0){t.push(`should have property matching pattern ${u.map((e=>JSON.stringify(e)))}`)}return`object {${o?` ${o} `:""}}${t.length>0?` (${t.join(", ")})`:""}`}if(likeNull(e)){return`${t?"":"non-"}null`}if(Array.isArray(e.type)){return`${e.type.join(" | ")}`}return JSON.stringify(e,null,2)}getSchemaPartText(e,t,r=false,n=true){if(!e){return""}if(Array.isArray(t)){for(let r=0;r ${e.description}`}if(e.link){a+=`\n-> Read more at ${e.link}`}return a}getSchemaPartDescription(e){if(!e){return""}while(e.$ref){e=this.getSchemaPart(e.$ref)}let t="";if(e.description){t+=`\n-> ${e.description}`}if(e.link){t+=`\n-> Read more at ${e.link}`}return t}formatValidationError(e){const{keyword:t,instancePath:r}=e;const n=r.split("/");const a=[];const s=n.reduce(((e,t)=>{if(t.length>0){if(isNumeric(t)){e.push(`[${t}]`)}else if(/^\[/.test(t)){e.push(t)}else{e.push(`.${t}`)}}return e}),a).join("");const o=`${this.baseDataPath}${s}`;switch(t){case"type":{const{parentSchema:t,params:r}=e;switch(r.type){case"number":return`${o} should be a ${this.getSchemaPartText(t,false,true)}`;case"integer":return`${o} should be an ${this.getSchemaPartText(t,false,true)}`;case"string":return`${o} should be a ${this.getSchemaPartText(t,false,true)}`;case"boolean":return`${o} should be a ${this.getSchemaPartText(t,false,true)}`;case"array":return`${o} should be an array:\n${this.getSchemaPartText(t)}`;case"object":return`${o} should be an object:\n${this.getSchemaPartText(t)}`;case"null":return`${o} should be a ${this.getSchemaPartText(t,false,true)}`;default:return`${o} should be:\n${this.getSchemaPartText(t)}`}}case"instanceof":{const{parentSchema:t}=e;return`${o} should be an instance of ${this.getSchemaPartText(t,false,true)}`}case"pattern":{const{params:t,parentSchema:r}=e;const{pattern:n}=t;return`${o} should match pattern ${JSON.stringify(n)}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"format":{const{params:t,parentSchema:r}=e;const{format:n}=t;return`${o} should match format ${JSON.stringify(n)}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"formatMinimum":case"formatExclusiveMinimum":case"formatMaximum":case"formatExclusiveMaximum":{const{params:t,parentSchema:r}=e;const{comparison:n,limit:a}=t;return`${o} should be ${n} ${JSON.stringify(a)}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:t,params:r}=e;const{comparison:n,limit:a}=r;const[,...s]=getHints(t,true);if(s.length===0){s.push(`should be ${n} ${a}`)}return`${o} ${s.join(" ")}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"multipleOf":{const{params:t,parentSchema:r}=e;const{multipleOf:n}=t;return`${o} should be multiple of ${n}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"patternRequired":{const{params:t,parentSchema:r}=e;const{missingPattern:n}=t;return`${o} should have property matching pattern ${JSON.stringify(n)}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"minLength":{const{params:t,parentSchema:r}=e;const{limit:n}=t;if(n===1){return`${o} should be a non-empty string${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}const a=n-1;return`${o} should be longer than ${a} character${a>1?"s":""}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"minItems":{const{params:t,parentSchema:r}=e;const{limit:n}=t;if(n===1){return`${o} should be a non-empty array${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}return`${o} should not have fewer than ${n} items${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"minProperties":{const{params:t,parentSchema:r}=e;const{limit:n}=t;if(n===1){return`${o} should be a non-empty object${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}return`${o} should not have fewer than ${n} properties${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"maxLength":{const{params:t,parentSchema:r}=e;const{limit:n}=t;const a=n+1;return`${o} should be shorter than ${a} character${a>1?"s":""}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"maxItems":{const{params:t,parentSchema:r}=e;const{limit:n}=t;return`${o} should not have more than ${n} items${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"maxProperties":{const{params:t,parentSchema:r}=e;const{limit:n}=t;return`${o} should not have more than ${n} properties${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"uniqueItems":{const{params:t,parentSchema:r}=e;const{i:n}=t;return`${o} should not contain the item '${e.data[n]}' twice${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"additionalItems":{const{params:t,parentSchema:r}=e;const{limit:n}=t;return`${o} should not have more than ${n} items${getSchemaNonTypes(r)}. These items are valid:\n${this.getSchemaPartText(r)}`}case"contains":{const{parentSchema:t}=e;return`${o} should contains at least one ${this.getSchemaPartText(t,["contains"])} item${getSchemaNonTypes(t)}.`}case"required":{const{parentSchema:t,params:r}=e;const n=r.missingProperty.replace(/^\./,"");const a=t&&Boolean(t.properties&&t.properties[n]);return`${o} misses the property '${n}'${getSchemaNonTypes(t)}.${a?` Should be:\n${this.getSchemaPartText(t,["properties",n])}`:this.getSchemaPartDescription(t)}`}case"additionalProperties":{const{params:t,parentSchema:r}=e;const{additionalProperty:n}=t;return`${o} has an unknown property '${n}'${getSchemaNonTypes(r)}. These properties are valid:\n${this.getSchemaPartText(r)}`}case"dependencies":{const{params:t,parentSchema:r}=e;const{property:n,deps:a}=t;const s=a.split(",").map((e=>`'${e.trim()}'`)).join(", ");return`${o} should have properties ${s} when property '${n}' is present${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"propertyNames":{const{params:t,parentSchema:r,schema:n}=e;const{propertyName:a}=t;return`${o} property name '${a}' is invalid${getSchemaNonTypes(r)}. Property names should be match format ${JSON.stringify(n.format)}.${this.getSchemaPartDescription(r)}`}case"enum":{const{parentSchema:t}=e;if(t&&t.enum&&t.enum.length===1){return`${o} should be ${this.getSchemaPartText(t,false,true)}`}return`${o} should be one of these:\n${this.getSchemaPartText(t)}`}case"const":{const{parentSchema:t}=e;return`${o} should be equal to constant ${this.getSchemaPartText(t,false,true)}`}case"not":{const t=likeObject(e.parentSchema)?`\n${this.getSchemaPartText(e.parentSchema)}`:"";const r=this.getSchemaPartText(e.schema,false,false,false);if(canApplyNot(e.schema)){return`${o} should be any ${r}${t}.`}const{schema:n,parentSchema:a}=e;return`${o} should not be ${this.getSchemaPartText(n,false,true)}${a&&likeObject(a)?`\n${this.getSchemaPartText(a)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:t,children:r}=e;if(r&&r.length>0){if(e.schema.length===1){const e=r[r.length-1];const n=r.slice(0,r.length-1);return this.formatValidationError(Object.assign({},e,{children:n,parentSchema:Object.assign({},t,e.parentSchema)}))}let n=filterChildren(r);if(n.length===1){return this.formatValidationError(n[0])}n=groupChildrenByFirstChild(n);return`${o} should be one of these:\n${this.getSchemaPartText(t)}\nDetails:\n${n.map((e=>` * ${indent(this.formatValidationError(e)," ")}`)).join("\n")}`}return`${o} should be one of these:\n${this.getSchemaPartText(t)}`}case"if":{const{params:t,parentSchema:r}=e;const{failingKeyword:n}=t;return`${o} should match "${n}" schema:\n${this.getSchemaPartText(r,[n])}`}case"absolutePath":{const{message:t,parentSchema:r}=e;return`${o}: ${t}${this.getSchemaPartDescription(r)}`}default:{const{message:t,parentSchema:r}=e;const n=JSON.stringify(e,null,2);return`${o} ${t} (${n}).\n${this.getSchemaPartText(r,false)}`}}}formatValidationErrors(e){return e.map((e=>{let t=this.formatValidationError(e);if(this.postFormatter){t=this.postFormatter(t,e)}return` - ${indent(t," ")}`})).join("\n")}}var o=ValidationError;t["default"]=o},2840:(e,t,r)=>{"use strict";const{validate:n,ValidationError:a,enableValidation:s,disableValidation:o,needValidate:i}=r(3388);e.exports={validate:n,ValidationError:a,enableValidation:s,disableValidation:o,needValidate:i}},6776:(e,t)=>{"use strict";var r;r={value:true};t.Z=void 0;function errorMessage(e,t,r){return{dataPath:undefined,schemaPath:undefined,keyword:"absolutePath",params:{absolutePath:r},message:e,parentSchema:t}}function getErrorFor(e,t,r){const n=e?`The provided value ${JSON.stringify(r)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(r)} is an absolute path!`;return errorMessage(n,t,r)}function addAbsolutePathKeyword(e){e.addKeyword({keyword:"absolutePath",type:"string",errors:true,compile(e,t){const callback=r=>{let n=true;const a=r.includes("!");if(a){callback.errors=[errorMessage(`The provided value ${JSON.stringify(r)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`,t,r)];n=false}const s=e===/^(?:[A-Za-z]:(\\|\/)|\\\\|\/)/.test(r);if(!s){callback.errors=[getErrorFor(e,t,r)];n=false}return n};callback.errors=[];return callback}});return e}var n=addAbsolutePathKeyword;t.Z=n},840:(e,t)=>{"use strict";var r;r={value:true};t.Z=void 0;function addUndefinedAsNullKeyword(e){e.addKeyword({keyword:"undefinedAsNull",before:"enum",modifying:true,validate(e,t,r,n){if(e&&n&&r&&typeof r.enum!=="undefined"){const e=n.parentDataProperty;if(typeof n.parentData[e]==="undefined"){n.parentData[n.parentDataProperty]=null}}return true}});return e}var n=addUndefinedAsNullKeyword;t.Z=n},4826:e=>{"use strict";class Range{static getOperator(e,t){if(e==="left"){return t?">":">="}return t?"<":"<="}static formatRight(e,t,r){if(t===false){return Range.formatLeft(e,!t,!r)}return`should be ${Range.getOperator("right",r)} ${e}`}static formatLeft(e,t,r){if(t===false){return Range.formatRight(e,!t,!r)}return`should be ${Range.getOperator("left",r)} ${e}`}static formatRange(e,t,r,n,a){let s="should be";s+=` ${Range.getOperator(a?"left":"right",a?r:!r)} ${e} `;s+=a?"and":"or";s+=` ${Range.getOperator(a?"right":"left",a?n:!n)} ${t}`;return s}static getRangeValue(e,t){let r=t?Infinity:-Infinity;let n=-1;const a=t?([e])=>e<=r:([e])=>e>=r;for(let t=0;t-1){return e[n]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(e,t=false){this._left.push([e,t])}right(e,t=false){this._right.push([e,t])}format(e=true){const[t,r]=Range.getRangeValue(this._left,e);const[n,a]=Range.getRangeValue(this._right,!e);if(!Number.isFinite(t)&&!Number.isFinite(n)){return""}const s=r?t+1:t;const o=a?n-1:n;if(s===o){return`should be ${e?"":"!"}= ${s}`}if(Number.isFinite(t)&&!Number.isFinite(n)){return Range.formatLeft(t,e,r)}if(!Number.isFinite(t)&&Number.isFinite(n)){return Range.formatRight(n,e,a)}return Range.formatRange(t,n,r,a,e)}}e.exports=Range},4511:(e,t,r)=>{"use strict";const n=r(4826);e.exports.stringHints=function stringHints(e,t){const r=[];let n="string";const a={...e};if(!t){const e=a.minLength;const t=a.formatMinimum;a.minLength=a.maxLength;a.maxLength=e;a.formatMinimum=a.formatMaximum;a.formatMaximum=t}if(typeof a.minLength==="number"){if(a.minLength===1){n="non-empty string"}else{const e=Math.max(a.minLength-1,0);r.push(`should be longer than ${e} character${e>1?"s":""}`)}}if(typeof a.maxLength==="number"){if(a.maxLength===0){n="empty string"}else{const e=a.maxLength+1;r.push(`should be shorter than ${e} character${e>1?"s":""}`)}}if(a.pattern){r.push(`should${t?"":" not"} match pattern ${JSON.stringify(a.pattern)}`)}if(a.format){r.push(`should${t?"":" not"} match format ${JSON.stringify(a.format)}`)}if(a.formatMinimum){r.push(`should be ${a.formatExclusiveMinimum?">":">="} ${JSON.stringify(a.formatMinimum)}`)}if(a.formatMaximum){r.push(`should be ${a.formatExclusiveMaximum?"<":"<="} ${JSON.stringify(a.formatMaximum)}`)}return[n].concat(r)};e.exports.numberHints=function numberHints(e,t){const r=[e.type==="integer"?"integer":"number"];const a=new n;if(typeof e.minimum==="number"){a.left(e.minimum)}if(typeof e.exclusiveMinimum==="number"){a.left(e.exclusiveMinimum,true)}if(typeof e.maximum==="number"){a.right(e.maximum)}if(typeof e.exclusiveMaximum==="number"){a.right(e.exclusiveMaximum,true)}const s=a.format(t);if(s){r.push(s)}if(typeof e.multipleOf==="number"){r.push(`should${t?"":" not"} be multiple of ${e.multipleOf}`)}return r}},1865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;const memoize=e=>{let t=false;let r;return()=>{if(t){return r}r=e();t=true;e=undefined;return r}};var r=memoize;t["default"]=r},3388:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ValidationError",{enumerable:true,get:function(){return n.default}});t.disableValidation=disableValidation;t.enableValidation=enableValidation;t.needValidate=needValidate;t.validate=validate;var n=_interopRequireDefault(r(7851));var a=_interopRequireDefault(r(1865));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,a.default)((()=>{const e=r(4711)["default"];const t=r(4563)["default"];const n=r(3217)["default"];const a=new e({strict:false,allErrors:true,verbose:true,$data:true});t(a,["instanceof","patternRequired"]);n(a,{keywords:true});const s=r(6776).Z;s(a);const o=r(840).Z;o(a);return a}));function applyPrefix(e,t){e.instancePath=`[${t}]${e.instancePath}`;if(e.children){e.children.forEach((e=>applyPrefix(e,t)))}return e}let o=false;function enableValidation(){o=false;if(process&&process.env){process.env.SKIP_VALIDATION="n"}}function disableValidation(){o=true;if(process&&process.env){process.env.SKIP_VALIDATION="y"}}function needValidate(){if(o){return false}if(process&&process.env&&process.env.SKIP_VALIDATION){const e=process.env.SKIP_VALIDATION.trim();if(/^(?:y|yes|true|1|on)$/i.test(e)){return false}if(/^(?:n|no|false|0|off)$/i.test(e)){return true}}return true}function validate(e,t,r){if(!needValidate()){return}let a=[];if(Array.isArray(t)){for(let r=0;r<=t.length-1;r++){a.push(...validateObject(e,t[r]).map((e=>applyPrefix(e,r))))}}else{a=validateObject(e,t)}if(a.length>0){throw new n.default(a,e,r)}}function validateObject(e,t){const r=s().compile(e);const n=r(t);if(n)return[];return r.errors?filterErrors(r.errors):[]}function filterErrors(e){let t=[];for(const r of e){const{instancePath:e}=r;let n=[];t=t.filter((t=>{if(t.instancePath.includes(e)){if(t.children){n=n.concat(t.children.slice(0))}t.children=undefined;n.push(t);return false}return true}));if(n.length){r.children=n}t.push(r)}return t}},199:function(e,t){ -/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */ -(function(e,r){true?r(t):0})(this,(function(e){"use strict";function merge(){for(var e=arguments.length,t=Array(e),r=0;r1){t[0]=t[0].slice(0,-1);var n=t.length-1;for(var a=1;a= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var g=s-o;var v=Math.floor;var $=String.fromCharCode;function error$1(e){throw new RangeError(y[e])}function map(e,t){var r=[];var n=e.length;while(n--){r[n]=t(e[n])}return r}function mapDomain(e,t){var r=e.split("@");var n="";if(r.length>1){n=r[0]+"@";e=r[1]}e=e.replace(h,".");var a=e.split(".");var s=map(a,t).join(".");return n+s}function ucs2decode(e){var t=[];var r=0;var n=e.length;while(r=55296&&a<=56319&&r>1;e+=v(e/t);for(;e>g*i>>1;n+=s){e=v(e/g)}return v(n+(g+1)*e/(e+c))};var E=function decode(e){var t=[];var r=e.length;var n=0;var c=l;var u=d;var p=e.lastIndexOf(f);if(p<0){p=0}for(var m=0;m=128){error$1("not-basic")}t.push(e.charCodeAt(m))}for(var h=p>0?p+1:0;h=r){error$1("invalid-input")}var b=w(e.charCodeAt(h++));if(b>=s||b>v((a-n)/g)){error$1("overflow")}n+=b*g;var S=$<=u?o:$>=u+i?i:$-u;if(bv(a/E)){error$1("overflow")}g*=E}var x=t.length+1;u=P(n-y,x,y==0);if(v(n/x)>a-c){error$1("overflow")}c+=v(n/x);n%=x;t.splice(n++,0,c)}return String.fromCodePoint.apply(String,t)};var x=function encode(e){var t=[];e=ucs2decode(e);var r=e.length;var n=l;var c=0;var u=d;var p=true;var m=false;var h=undefined;try{for(var y=e[Symbol.iterator](),g;!(p=(g=y.next()).done);p=true){var b=g.value;if(b<128){t.push($(b))}}}catch(e){m=true;h=e}finally{try{if(!p&&y.return){y.return()}}finally{if(m){throw h}}}var w=t.length;var E=w;if(w){t.push(f)}while(E=n&&Dv((a-c)/T)){error$1("overflow")}c+=(x-n)*T;n=x;var R=true;var I=false;var M=undefined;try{for(var A=e[Symbol.iterator](),F;!(R=(F=A.next()).done);R=true){var z=F.value;if(za){error$1("overflow")}if(z==n){var V=c;for(var q=s;;q+=s){var K=q<=u?o:q>=u+i?i:q-u;if(V>6|192).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();else r="%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();return r}function pctDecChars(e){var t="";var r=0;var n=e.length;while(r=194&&a<224){if(n-r>=6){var s=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((a&31)<<6|s&63)}else{t+=e.substr(r,6)}r+=6}else if(a>=224){if(n-r>=9){var o=parseInt(e.substr(r+4,2),16);var i=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((a&15)<<12|(o&63)<<6|i&63)}else{t+=e.substr(r,9)}r+=9}else{t+=e.substr(r,3);r+=3}}return t}function _normalizeComponentEncoding(e,t){function decodeUnreserved(e){var r=pctDecChars(e);return!r.match(t.UNRESERVED)?e:r}if(e.scheme)e.scheme=String(e.scheme).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_USERINFO,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.host!==undefined)e.host=String(e.host).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_HOST,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.path!==undefined)e.path=String(e.path).replace(t.PCT_ENCODED,decodeUnreserved).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.query!==undefined)e.query=String(e.query).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_QUERY,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_FRAGMENT,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);return e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,t){var r=e.match(t.IPV4ADDRESS)||[];var a=n(r,2),s=a[1];if(s){return s.split(".").map(_stripLeadingZeros).join(".")}else{return e}}function _normalizeIPv6(e,t){var r=e.match(t.IPV6ADDRESS)||[];var a=n(r,3),s=a[1],o=a[2];if(s){var i=s.toLowerCase().split("::").reverse(),c=n(i,2),u=c[0],d=c[1];var l=d?d.split(":").map(_stripLeadingZeros):[];var f=u.split(":").map(_stripLeadingZeros);var p=t.IPV4ADDRESS.test(f[f.length-1]);var m=p?7:8;var h=f.length-m;var y=Array(m);for(var g=0;g1){var w=y.slice(0,$.index);var S=y.slice($.index+$.length);b=w.join(":")+"::"+S.join(":")}else{b=y.join(":")}if(o){b+="%"+o}return b}else{return e}}var j=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var D="".match(/(){0}/)[1]===undefined;function parse(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var a={};var s=n.iri!==false?r:t;if(n.reference==="suffix")e=(n.scheme?n.scheme+":":"")+"//"+e;var o=e.match(j);if(o){if(D){a.scheme=o[1];a.userinfo=o[3];a.host=o[4];a.port=parseInt(o[5],10);a.path=o[6]||"";a.query=o[7];a.fragment=o[8];if(isNaN(a.port)){a.port=o[5]}}else{a.scheme=o[1]||undefined;a.userinfo=e.indexOf("@")!==-1?o[3]:undefined;a.host=e.indexOf("//")!==-1?o[4]:undefined;a.port=parseInt(o[5],10);a.path=o[6]||"";a.query=e.indexOf("?")!==-1?o[7]:undefined;a.fragment=e.indexOf("#")!==-1?o[8]:undefined;if(isNaN(a.port)){a.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:undefined}}if(a.host){a.host=_normalizeIPv6(_normalizeIPv4(a.host,s),s)}if(a.scheme===undefined&&a.userinfo===undefined&&a.host===undefined&&a.port===undefined&&!a.path&&a.query===undefined){a.reference="same-document"}else if(a.scheme===undefined){a.reference="relative"}else if(a.fragment===undefined){a.reference="absolute"}else{a.reference="uri"}if(n.reference&&n.reference!=="suffix"&&n.reference!==a.reference){a.error=a.error||"URI is not a "+n.reference+" reference."}var i=C[(n.scheme||a.scheme||"").toLowerCase()];if(!n.unicodeSupport&&(!i||!i.unicodeSupport)){if(a.host&&(n.domainHost||i&&i.domainHost)){try{a.host=N.toASCII(a.host.replace(s.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){a.error=a.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(a,t)}else{_normalizeComponentEncoding(a,s)}if(i&&i.parse){i.parse(a,n)}}else{a.error=a.error||"URI can not be parsed."}return a}function _recomposeAuthority(e,n){var a=n.iri!==false?r:t;var s=[];if(e.userinfo!==undefined){s.push(e.userinfo);s.push("@")}if(e.host!==undefined){s.push(_normalizeIPv6(_normalizeIPv4(String(e.host),a),a).replace(a.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"})))}if(typeof e.port==="number"||typeof e.port==="string"){s.push(":");s.push(String(e.port))}return s.length?s.join(""):undefined}var T=/^\.\.?\//;var R=/^\/\.(\/|$)/;var I=/^\/\.\.(\/|$)/;var M=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){var t=[];while(e.length){if(e.match(T)){e=e.replace(T,"")}else if(e.match(R)){e=e.replace(R,"/")}else if(e.match(I)){e=e.replace(I,"/");t.pop()}else if(e==="."||e===".."){e=""}else{var r=e.match(M);if(r){var n=r[0];e=e.slice(n.length);t.push(n)}else{throw new Error("Unexpected dot segment condition")}}}return t.join("")}function serialize(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var a=n.iri?r:t;var s=[];var o=C[(n.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize)o.serialize(e,n);if(e.host){if(a.IPV6ADDRESS.test(e.host)){}else if(n.domainHost||o&&o.domainHost){try{e.host=!n.iri?N.toASCII(e.host.replace(a.PCT_ENCODED,pctDecChars).toLowerCase()):N.toUnicode(e.host)}catch(t){e.error=e.error||"Host's domain name can not be converted to "+(!n.iri?"ASCII":"Unicode")+" via punycode: "+t}}}_normalizeComponentEncoding(e,a);if(n.reference!=="suffix"&&e.scheme){s.push(e.scheme);s.push(":")}var i=_recomposeAuthority(e,n);if(i!==undefined){if(n.reference!=="suffix"){s.push("//")}s.push(i);if(e.path&&e.path.charAt(0)!=="/"){s.push("/")}}if(e.path!==undefined){var c=e.path;if(!n.absolutePath&&(!o||!o.absolutePath)){c=removeDotSegments(c)}if(i===undefined){c=c.replace(/^\/\//,"/%2F")}s.push(c)}if(e.query!==undefined){s.push("?");s.push(e.query)}if(e.fragment!==undefined){s.push("#");s.push(e.fragment)}return s.join("")}function resolveComponents(e,t){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var n=arguments[3];var a={};if(!n){e=parse(serialize(e,r),r);t=parse(serialize(t,r),r)}r=r||{};if(!r.tolerant&&t.scheme){a.scheme=t.scheme;a.userinfo=t.userinfo;a.host=t.host;a.port=t.port;a.path=removeDotSegments(t.path||"");a.query=t.query}else{if(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined){a.userinfo=t.userinfo;a.host=t.host;a.port=t.port;a.path=removeDotSegments(t.path||"");a.query=t.query}else{if(!t.path){a.path=e.path;if(t.query!==undefined){a.query=t.query}else{a.query=e.query}}else{if(t.path.charAt(0)==="/"){a.path=removeDotSegments(t.path)}else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path){a.path="/"+t.path}else if(!e.path){a.path=t.path}else{a.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path}a.path=removeDotSegments(a.path)}a.query=t.query}a.userinfo=e.userinfo;a.host=e.host;a.port=e.port}a.scheme=e.scheme}a.fragment=t.fragment;return a}function resolve(e,t,r){var n=assign({scheme:"null"},r);return serialize(resolveComponents(parse(e,n),parse(t,n),n,true),n)}function normalize(e,t){if(typeof e==="string"){e=serialize(parse(e,t),t)}else if(typeOf(e)==="object"){e=parse(serialize(e,t),t)}return e}function equal(e,t,r){if(typeof e==="string"){e=serialize(parse(e,r),r)}else if(typeOf(e)==="object"){e=serialize(e,r)}if(typeof t==="string"){t=serialize(parse(t,r),r)}else if(typeOf(t)==="object"){t=serialize(t,r)}return e===t}function escapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.ESCAPE:r.ESCAPE,pctEncChar)}function unescapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.PCT_ENCODED:r.PCT_ENCODED,pctDecChars)}var A={scheme:"http",domainHost:true,parse:function parse(e,t){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e},serialize:function serialize(e,t){var r=String(e.scheme).toLowerCase()==="https";if(e.port===(r?443:80)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}};var F={scheme:"https",domainHost:A.domainHost,parse:A.parse,serialize:A.serialize};function isSecure(e){return typeof e.secure==="boolean"?e.secure:String(e.scheme).toLowerCase()==="wss"}var z={scheme:"ws",domainHost:true,parse:function parse(e,t){var r=e;r.secure=isSecure(r);r.resourceName=(r.path||"/")+(r.query?"?"+r.query:"");r.path=undefined;r.query=undefined;return r},serialize:function serialize(e,t){if(e.port===(isSecure(e)?443:80)||e.port===""){e.port=undefined}if(typeof e.secure==="boolean"){e.scheme=e.secure?"wss":"ws";e.secure=undefined}if(e.resourceName){var r=e.resourceName.split("?"),a=n(r,2),s=a[0],o=a[1];e.path=s&&s!=="/"?s:undefined;e.query=o;e.resourceName=undefined}e.fragment=undefined;return e}};var V={scheme:"wss",domainHost:z.domainHost,parse:z.parse,serialize:z.serialize};var q={};var K=true;var U="[A-Za-z0-9\\-\\.\\_\\~"+(K?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var L="[0-9A-Fa-f]";var J=subexp(subexp("%[EFef]"+L+"%"+L+L+"%"+L+L)+"|"+subexp("%[89A-Fa-f]"+L+"%"+L+L)+"|"+subexp("%"+L+L));var H="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var B="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var G=merge(B,'[\\"\\\\]');var Z="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var W=new RegExp(U,"g");var Q=new RegExp(J,"g");var Y=new RegExp(merge("[^]",H,"[\\.]",'[\\"]',G),"g");var X=new RegExp(merge("[^]",U,Z),"g");var ee=X;function decodeUnreserved(e){var t=pctDecChars(e);return!t.match(W)?e:t}var te={scheme:"mailto",parse:function parse$$1(e,t){var r=e;var n=r.to=r.path?r.path.split(","):[];r.path=undefined;if(r.query){var a=false;var s={};var o=r.query.split("&");for(var i=0,c=o.length;i{"use strict";e.exports=require("./package.json")},7718:e=>{"use strict";e.exports=require("@babel/core")},6113:e=>{"use strict";e.exports=require("crypto")},3292:e=>{"use strict";e.exports=require("fs/promises")},7561:e=>{"use strict";e.exports=require("node:fs")},9411:e=>{"use strict";e.exports=require("node:path")},7742:e=>{"use strict";e.exports=require("node:process")},1041:e=>{"use strict";e.exports=require("node:url")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},3837:e=>{"use strict";e.exports=require("util")},9796:e=>{"use strict";e.exports=require("zlib")},7918:e=>{"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},9520:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},6140:e=>{"use strict";e.exports=JSON.parse('{"type":"object","properties":{"cacheDirectory":{"oneOf":[{"type":"boolean"},{"type":"string"}],"default":false},"cacheIdentifier":{"type":"string"},"cacheCompression":{"type":"boolean","default":true},"customize":{"type":"string","default":null}},"additionalProperties":true}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var a=t[r]={exports:{}};var s=true;try{e[r].call(a.exports,a,a.exports,__nccwpck_require__);s=false}finally{if(s)delete t[r]}return a.exports}__nccwpck_require__.m=e;(()=>{__nccwpck_require__.d=(e,t)=>{for(var r in t){if(__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}})();(()=>{__nccwpck_require__.f={};__nccwpck_require__.e=e=>Promise.all(Object.keys(__nccwpck_require__.f).reduce(((t,r)=>{__nccwpck_require__.f[r](e,t);return t}),[]))})();(()=>{__nccwpck_require__.u=e=>""+e+".index.js"})();(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";(()=>{var e={179:1};var installChunk=t=>{var r=t.modules,n=t.ids,a=t.runtime;for(var s in r){if(__nccwpck_require__.o(r,s)){__nccwpck_require__.m[s]=r[s]}}if(a)a(__nccwpck_require__);for(var o=0;o{if(!e[t]){if(true){installChunk(require("./"+__nccwpck_require__.u(t)))}else e[t]=1}}})();var r=__nccwpck_require__(7967);module.exports=r})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/babel-loader/license b/packages/builder/builder-shared/compiled/babel-loader/license deleted file mode 100644 index cc61e19a0394..000000000000 --- a/packages/builder/builder-shared/compiled/babel-loader/license +++ /dev/null @@ -1,22 +0,0 @@ -Copyright (c) 2014-2019 Luís Couto - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/babel-loader/package.json b/packages/builder/builder-shared/compiled/babel-loader/package.json deleted file mode 100644 index 33c0bbfeec04..000000000000 --- a/packages/builder/builder-shared/compiled/babel-loader/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"babel-loader","author":"Luis Couto ","version":"9.1.3","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/css-loader/api.js b/packages/builder/builder-shared/compiled/css-loader/api.js deleted file mode 100644 index cdb89c59d233..000000000000 --- a/packages/builder/builder-shared/compiled/css-loader/api.js +++ /dev/null @@ -1,102 +0,0 @@ -"use strict"; - -/* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra -*/ -module.exports = function (cssWithMappingToString) { - var list = []; // return the list of modules as css string - - list.toString = function toString() { - return this.map(function (item) { - var content = ""; - var needLayer = typeof item[5] !== "undefined"; - - if (item[4]) { - content += "@supports (".concat(item[4], ") {"); - } - - if (item[2]) { - content += "@media ".concat(item[2], " {"); - } - - if (needLayer) { - content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {"); - } - - content += cssWithMappingToString(item); - - if (needLayer) { - content += "}"; - } - - if (item[2]) { - content += "}"; - } - - if (item[4]) { - content += "}"; - } - - return content; - }).join(""); - }; // import a list of modules into the list - - - list.i = function i(modules, media, dedupe, supports, layer) { - if (typeof modules === "string") { - modules = [[null, modules, undefined]]; - } - - var alreadyImportedModules = {}; - - if (dedupe) { - for (var k = 0; k < this.length; k++) { - var id = this[k][0]; - - if (id != null) { - alreadyImportedModules[id] = true; - } - } - } - - for (var _k = 0; _k < modules.length; _k++) { - var item = [].concat(modules[_k]); - - if (dedupe && alreadyImportedModules[item[0]]) { - continue; - } - - if (typeof layer !== "undefined") { - if (typeof item[5] === "undefined") { - item[5] = layer; - } else { - item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}"); - item[5] = layer; - } - } - - if (media) { - if (!item[2]) { - item[2] = media; - } else { - item[1] = "@media ".concat(item[2], " {").concat(item[1], "}"); - item[2] = media; - } - } - - if (supports) { - if (!item[4]) { - item[4] = "".concat(supports); - } else { - item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}"); - item[4] = supports; - } - } - - list.push(item); - } - }; - - return list; -}; \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/css-loader/getUrl.js b/packages/builder/builder-shared/compiled/css-loader/getUrl.js deleted file mode 100644 index a299e9b9916e..000000000000 --- a/packages/builder/builder-shared/compiled/css-loader/getUrl.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; - -module.exports = function (url, options) { - if (!options) { - options = {}; - } - - if (!url) { - return url; - } - - url = String(url.__esModule ? url.default : url); // If url is already wrapped in quotes, remove them - - if (/^['"].*['"]$/.test(url)) { - url = url.slice(1, -1); - } - - if (options.hash) { - url += options.hash; - } // Should url be wrapped? - // See https://drafts.csswg.org/css-values-3/#urls - - - if (/["'() \t\n]|(%20)/.test(url) || options.needQuotes) { - return "\"".concat(url.replace(/"/g, '\\"').replace(/\n/g, "\\n"), "\""); - } - - return url; -}; \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/css-loader/index.d.ts b/packages/builder/builder-shared/compiled/css-loader/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/css-loader/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/css-loader/index.js b/packages/builder/builder-shared/compiled/css-loader/index.js deleted file mode 100644 index cd979984fb04..000000000000 --- a/packages/builder/builder-shared/compiled/css-loader/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={6417:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class CssSyntaxError extends Error{constructor(e){super(e);const{reason:t,line:s,column:r,file:n}=e;this.name="CssSyntaxError";this.message=`${this.name}\n\n`;if(typeof s!=="undefined"){this.message+=`(${s}:${r}) `}this.message+=n?`${n} `:" ";this.message+=`${t}`;const o=e.showSourceCode();if(o){this.message+=`\n\n${o}\n`}this.stack=false}}t["default"]=CssSyntaxError},5520:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class Warning extends Error{constructor(e){super(e);const{text:t,line:s,column:r}=e;this.name="Warning";this.message=`${this.name}\n\n`;if(typeof s!=="undefined"){this.message+=`(${s}:${r}) `}this.message+=`${t}`;this.stack=false}}t["default"]=Warning},5764:(e,t,s)=>{"use strict";const r=s(1300);e.exports=r.default;e.exports.defaultGetLocalIdent=s(1129).defaultGetLocalIdent},1300:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=loader;var r=_interopRequireDefault(s(977));var n=_interopRequireDefault(s(1704));var o=s(3124);var i=_interopRequireDefault(s(6417));var l=_interopRequireDefault(s(5520));var a=_interopRequireDefault(s(9469));var u=s(4026);var c=s(1129);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function loader(e,t,p){const f=this.getOptions(a.default);const h=[];const d=this.async();let m;try{m=(0,c.normalizeOptions)(f,this)}catch(e){d(e);return}const g=[];const E=[];if((0,c.shouldUseModulesPlugins)(m)){h.push(...(0,c.getModulesPlugins)(m,this))}const v=[];const y=[];let R=false;if(this._compilation&&this._compilation.options&&this._compilation.options.experiments&&this._compilation.options.experiments.buildHttp){R=true}const _=m.esModule&&Boolean("fsStartTime"in this._compiler);if((0,c.shouldUseImportPlugin)(m)){h.push((0,u.importParser)({isSupportAbsoluteURL:false,isSupportDataURL:false,isCSSStyleSheet:m.exportType==="css-style-sheet",loaderContext:this,imports:v,api:y,filter:m.import.filter,urlHandler:e=>(0,c.stringifyRequest)(this,(0,c.combineRequests)((0,c.getPreRequester)(this)(m.importLoaders),e))}))}const b=[];if((0,c.shouldUseURLPlugin)(m)){const e=!m.esModule;h.push((0,u.urlParser)({isSupportAbsoluteURL:R,isSupportDataURL:_,imports:b,replacements:g,context:this.context,rootContext:this.rootContext,filter:(0,c.getFilter)(m.url.filter,this.resourcePath),resolver:e?this.getResolve({mainFiles:[],extensions:[]}):undefined,urlHandler:e=>(0,c.stringifyRequest)(this,e)}))}const x=[];const $=[];const w=(0,c.shouldUseIcssPlugin)(m);if(w){h.push((0,u.icssParser)({loaderContext:this,imports:x,api:$,replacements:g,exports:E,urlHandler:e=>(0,c.stringifyRequest)(this,(0,c.combineRequests)((0,c.getPreRequester)(this)(m.importLoaders),e))}))}if(p){const{ast:t}=p;if(t&&t.type==="postcss"&&(0,o.satisfies)(t.version,`^${n.default.version}`)){e=t.root}}const{resourcePath:I}=this;let S;try{S=await(0,r.default)(h).process(e,{hideNothingWarning:true,from:I,to:I,map:m.sourceMap?{prev:t?(0,c.normalizeSourceMap)(t,I):null,inline:false,annotation:false}:false})}catch(e){if(e.file){this.addDependency(e.file)}d(e.name==="CssSyntaxError"?new i.default(e):e);return}for(const e of S.warnings()){this.emitWarning(new l.default(e))}const A=[].concat(x.sort(c.sort)).concat(v.sort(c.sort)).concat(b.sort(c.sort));const O=[].concat(y.sort(c.sort)).concat($.sort(c.sort));if(m.modules.exportOnlyLocals!==true){A.unshift({type:"api_import",importName:"___CSS_LOADER_API_IMPORT___",url:(0,c.stringifyRequest)(this,s.ab+"api.js")});if(m.sourceMap){A.unshift({importName:"___CSS_LOADER_API_SOURCEMAP_IMPORT___",url:(0,c.stringifyRequest)(this,s.ab+"sourceMaps.js")})}else{A.unshift({importName:"___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___",url:(0,c.stringifyRequest)(this,s.ab+"noSourceMaps.js")})}}const L=(0,c.getImportCode)(A,m);let C;try{C=(0,c.getModuleCode)(S,O,g,m,this)}catch(e){d(e);return}const N=(0,c.getExportCode)(E,g,w,m);d(null,`${L}${C}${N}`)}},4026:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"icssParser",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"importParser",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"urlParser",{enumerable:true,get:function(){return o.default}});var r=_interopRequireDefault(s(5339));var n=_interopRequireDefault(s(5726));var o=_interopRequireDefault(s(6198));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},5726:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=s(7417);var n=s(1129);const plugin=(e={})=>({postcssPlugin:"postcss-icss-parser",async OnceExit(t){const s=Object.create(null);const{icssImports:o,icssExports:i}=(0,r.extractICSS)(t);const l=new Map;const a=[];const{loaderContext:u}=e;const c=u.getResolve({dependencyType:"icss",conditionNames:["style"],extensions:["..."],mainFields:["css","style","main","..."],mainFiles:["index","..."],preferRelative:true});for(const e in o){const t=o[e];if(Object.keys(t).length===0){continue}let s=e;let r="";const i=s.split("!");if(i.length>1){s=i.pop();r=i.join("!")}const l=(0,n.requestify)((0,n.normalizeUrl)(s,true),u.rootContext);const doResolve=async()=>{const e=await(0,n.resolveRequests)(c,u.context,[...new Set([s,l])]);if(!e){return}return{url:e,prefix:r,tokens:t}};a.push(doResolve())}const p=await Promise.all(a);for(let t=0;t<=p.length-1;t++){const r=p[t];if(!r){continue}const n=r.prefix?`${r.prefix}!${r.url}`:r.url;const o=n;let i=l.get(o);if(!i){i=`___CSS_LOADER_ICSS_IMPORT_${l.size}___`;l.set(o,i);e.imports.push({type:"icss_import",importName:i,url:e.urlHandler(n),icss:true,index:t});e.api.push({importName:i,dedupe:true,index:t})}for(const[n,o]of Object.keys(r.tokens).entries()){const l=`___CSS_LOADER_ICSS_IMPORT_${t}_REPLACEMENT_${n}___`;const a=r.tokens[o];s[o]=l;e.replacements.push({replacementName:l,importName:i,localName:a})}}if(Object.keys(s).length>0){(0,r.replaceSymbols)(t,s)}for(const t of Object.keys(i)){const n=(0,r.replaceValueSymbols)(i[t],s);e.exports.push({name:t,value:n})}}});plugin.postcss=true;var o=plugin;t["default"]=o},5339:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(7962));var n=s(1129);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parseNode(e,t,s){if(e.parent.type!=="root"){return}if(e.raws&&e.raws.afterName&&e.raws.afterName.trim().length>0){const t=e.raws.afterName.lastIndexOf("/*");const s=e.raws.afterName.slice(t).match(n.WEBPACK_IGNORE_COMMENT_REGEXP);if(s&&s[2]==="true"){return}}const o=e.prev();if(o&&o.type==="comment"){const e=o.text.match(n.WEBPACK_IGNORE_COMMENT_REGEXP);if(e&&e[2]==="true"){return}}if(e.nodes){const t=new Error("It looks like you didn't end your @import statement correctly. Child nodes are attached to it.");t.node=e;throw t}const i=e.raws&&e.raws[t]&&typeof e.raws[t].raw!=="undefined"?e.raws[t].raw:e[t];const{nodes:l}=(0,r.default)(i);if(l.length===0||l[0].type!=="string"&&l[0].type!=="function"){const t=new Error(`Unable to find uri in "${e.toString()}"`);t.node=e;throw t}let a;let u;if(l[0].type==="string"){a=true;u=l[0].value}else{if(l[0].value.toLowerCase()!=="url"){const t=new Error(`Unable to find uri in "${e.toString()}"`);t.node=e;throw t}a=l[0].nodes.length!==0&&l[0].nodes[0].type==="string";u=a?l[0].nodes[0].value:r.default.stringify(l[0].nodes)}u=(0,n.normalizeUrl)(u,a);const{requestable:c,needResolve:p}=(0,n.isURLRequestable)(u,s);let f;if(c&&p){const e=u.split("!");if(e.length>1){u=e.pop();f=e.join("!")}}if(u.trim().length===0){const t=new Error(`Unable to find uri in "${e.toString()}"`);t.node=e;throw t}const h=l.slice(1);let d;let m;let g;if(h.length>0){let e=[];for(const t of h){e.push(t);const s=t.type==="function"&&t.value.toLowerCase()==="layer";const n=t.type==="word"&&t.value.toLowerCase()==="layer";if(s||n){if(s){e.splice(e.length-1,1,...t.nodes)}else{e.splice(e.length-1,1,{type:"string",value:"",unclosed:false})}m=r.default.stringify(e).trim().toLowerCase();e=[]}else if(t.type==="function"&&t.value.toLowerCase()==="supports"){e.splice(e.length-1,1,...t.nodes);d=r.default.stringify(e).trim().toLowerCase();e=[]}}if(e.length>0){g=r.default.stringify(e).trim().toLowerCase()}}return{atRule:e,prefix:f,url:u,layer:m,supports:d,media:g,requestable:c,needResolve:p}}const plugin=(e={})=>({postcssPlugin:"postcss-import-parser",prepare(t){const s=[];return{AtRule:{import(r){if(e.isCSSStyleSheet){e.loaderContext.emitError(new Error(r.error("'@import' rules are not allowed here and will not be processed").message));return}const{isSupportDataURL:n,isSupportAbsoluteURL:o}=e;let i;try{i=parseNode(r,"params",{isSupportAbsoluteURL:o,isSupportDataURL:n})}catch(e){t.warn(e.message,{node:e.node})}if(!i){return}s.push(i)}},async OnceExit(){if(s.length===0){return}const{loaderContext:t}=e;const r=t.getResolve({dependencyType:"css",conditionNames:["style"],mainFields:["css","style","main","..."],mainFiles:["index","..."],extensions:[".css","..."],preferRelative:true});const o=await Promise.all(s.map((async s=>{const{atRule:o,requestable:i,needResolve:l,prefix:a,url:u,layer:c,supports:p,media:f}=s;if(e.filter){const s=await e.filter(u,f,t.resourcePath,p,c);if(!s){return}}if(l){const e=(0,n.requestify)(u,t.rootContext);const s=await(0,n.resolveRequests)(r,t.context,[...new Set([e,u])]);if(!s){return}if(s===t.resourcePath){o.remove();return}o.remove();return{url:s,layer:c,supports:p,media:f,prefix:a,requestable:i}}o.remove();return{url:u,layer:c,supports:p,media:f,prefix:a,requestable:i}})));const i=new Map;for(let t=0;t<=o.length-1;t++){const s=o[t];if(!s){continue}const{url:r,requestable:n,layer:l,supports:a,media:u}=s;if(!n){e.api.push({url:r,layer:l,supports:a,media:u,index:t});continue}const{prefix:c}=s;const p=c?`${c}!${r}`:r;let f=i.get(p);if(!f){f=`___CSS_LOADER_AT_RULE_IMPORT_${i.size}___`;i.set(p,f);e.imports.push({type:"rule_import",importName:f,url:e.urlHandler(p),index:t})}e.api.push({importName:f,layer:l,supports:a,media:u,index:t})}}}}});plugin.postcss=true;var o=plugin;t["default"]=o},6198:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(7962));var n=s(1129);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=/url/i;const i=/^(?:-webkit-)?image-set$/i;const l=/(?:url|(?:-webkit-)?image-set)\(/i;function getNodeFromUrlFunc(e){return e.nodes&&e.nodes[0]}function getWebpackIgnoreCommentValue(e,t,s){if(e===0&&typeof s!=="undefined"){return s}let r=t[e-1];if(!r){return}if(r.type==="space"){if(!t[e-2]){return}r=t[e-2]}if(r.type!=="comment"){return}const o=r.value.match(n.WEBPACK_IGNORE_COMMENT_REGEXP);return o&&o[2]==="true"}function shouldHandleURL(e,t,s,r){if(e.length===0){s.warn(`Unable to find uri in '${t.toString()}'`,{node:t});return{requestable:false,needResolve:false}}return(0,n.isURLRequestable)(e,r)}function parseDeclaration(e,t,s,a){if(!l.test(e[t])){return}const u=(0,r.default)(e.raws&&e.raws.value&&e.raws.value.raw?e.raws.value.raw:e[t]);let c;if(e.raws&&e.raws.between){const t=e.raws.between.lastIndexOf("/*");const s=e.raws.between.slice(t).match(n.WEBPACK_IGNORE_COMMENT_REGEXP);if(s){c=s[2]==="true"}}let p=false;const f=e.prev();if(f&&f.type==="comment"){const e=f.text.match(n.WEBPACK_IGNORE_COMMENT_REGEXP);if(e){p=e[2]==="true"}}let h;const d=[];u.walk(((t,l,f)=>{if(t.type!=="function"){return}if(o.test(t.value)){h=getWebpackIgnoreCommentValue(l,f,c);if(p&&typeof h==="undefined"||h){if(h){h=undefined}return}const{nodes:o}=t;const i=o.length!==0&&o[0].type==="string";let m=i?o[0].value:r.default.stringify(o);m=(0,n.normalizeUrl)(m,i);const{requestable:g,needResolve:E}=shouldHandleURL(m,e,s,a);if(!g){return false}const v=m.split("!");let y;if(v.length>1){m=v.pop();y=v.join("!")}d.push({declaration:e,parsed:u,node:getNodeFromUrlFunc(t),prefix:y,url:m,needQuotes:false,needResolve:E});return false}else if(i.test(t.value)){for(const[i,l]of t.nodes.entries()){const{type:c,value:f}=l;if(c==="function"&&o.test(f)){h=getWebpackIgnoreCommentValue(i,t.nodes);if(p&&typeof h==="undefined"||h){if(h){h=undefined}continue}const{nodes:o}=l;const c=o.length!==0&&o[0].type==="string";let f=c?o[0].value:r.default.stringify(o);f=(0,n.normalizeUrl)(f,c);const{requestable:m,needResolve:g}=shouldHandleURL(f,e,s,a);if(!m){return false}const E=f.split("!");let v;if(E.length>1){f=E.pop();v=E.join("!")}d.push({declaration:e,parsed:u,node:getNodeFromUrlFunc(l),prefix:v,url:f,needQuotes:false,needResolve:g})}else if(c==="string"){h=getWebpackIgnoreCommentValue(i,t.nodes);if(p&&typeof h==="undefined"||h){if(h){h=undefined}continue}let r=(0,n.normalizeUrl)(f,true);const{requestable:o,needResolve:c}=shouldHandleURL(r,e,s,a);if(!o){return false}const m=r.split("!");let g;if(m.length>1){r=m.pop();g=m.join("!")}d.push({declaration:e,parsed:u,node:l,prefix:g,url:r,needQuotes:true,needResolve:c})}}return false}}));return d}const plugin=(e={})=>({postcssPlugin:"postcss-url-parser",prepare(t){const r=[];return{Declaration(s){const{isSupportDataURL:n,isSupportAbsoluteURL:o}=e;const i=parseDeclaration(s,"value",t,{isSupportDataURL:n,isSupportAbsoluteURL:o});if(!i){return}r.push(...i)},async OnceExit(){if(r.length===0){return}const t=await Promise.all(r.map((async t=>{const{url:s,needResolve:r}=t;if(e.filter){const t=await e.filter(s);if(!t){return}}if(!r){return t}const o=s.split(/(\?)?#/);const[i,l,a]=o;let u=l?"?":"";u+=a?`#${a}`:"";const{resolver:c,rootContext:p}=e;const f=(0,n.requestify)(i,p,Boolean(c));if(!c){return{...t,url:f,hash:u}}const h=await(0,n.resolveRequests)(c,e.context,[...new Set([f,s])]);if(!h){return}return{...t,url:h,hash:u}})));const o=new Map;const i=new Map;let l=false;for(let r=0;r<=t.length-1;r++){const n=t[r];if(!n){continue}if(!l){e.imports.push({type:"get_url_import",importName:"___CSS_LOADER_GET_URL_IMPORT___",url:e.urlHandler(s.ab+"getUrl.js"),index:-1});l=true}const{url:a,prefix:u}=n;const c=u?`${u}!${a}`:a;let p=o.get(c);if(!p){p=`___CSS_LOADER_URL_IMPORT_${o.size}___`;o.set(c,p);e.imports.push({type:"url",importName:p,url:e.resolver?e.urlHandler(c):JSON.stringify(c),index:r})}const{hash:f,needQuotes:h}=n;const d=JSON.stringify({newUrl:c,hash:f,needQuotes:h});let m=i.get(d);if(!m){m=`___CSS_LOADER_URL_REPLACEMENT_${i.size}___`;i.set(d,m);e.replacements.push({replacementName:m,importName:p,hash:f,needQuotes:h})}n.node.type="word";n.node.value=m;n.declaration.value=n.parsed.toString()}}}}});plugin.postcss=true;var a=plugin;t["default"]=a},1129:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WEBPACK_IGNORE_COMMENT_REGEXP=void 0;t.camelCase=camelCase;t.combineRequests=combineRequests;t.defaultGetLocalIdent=defaultGetLocalIdent;t.getExportCode=getExportCode;t.getFilter=getFilter;t.getImportCode=getImportCode;t.getModuleCode=getModuleCode;t.getModulesOptions=getModulesOptions;t.getModulesPlugins=getModulesPlugins;t.getPreRequester=getPreRequester;t.isDataUrl=isDataUrl;t.isURLRequestable=isURLRequestable;t.normalizeOptions=normalizeOptions;t.normalizeSourceMap=normalizeSourceMap;t.normalizeUrl=normalizeUrl;t.requestify=requestify;t.resolveRequests=resolveRequests;t.shouldUseIcssPlugin=shouldUseIcssPlugin;t.shouldUseImportPlugin=shouldUseImportPlugin;t.shouldUseModulesPlugins=shouldUseModulesPlugins;t.shouldUseURLPlugin=shouldUseURLPlugin;t.sort=sort;t.stringifyRequest=stringifyRequest;var r=s(7310);var n=_interopRequireDefault(s(1017));var o=_interopRequireDefault(s(7193));var i=_interopRequireDefault(s(3552));var l=_interopRequireDefault(s(8749));var a=_interopRequireDefault(s(7898));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const u=/webpackIgnore:(\s+)?(true|false)/;t.WEBPACK_IGNORE_COMMENT_REGEXP=u;const c=/^\.\.?[/\\]/;function isAbsolutePath(e){return n.default.posix.isAbsolute(e)||n.default.win32.isAbsolute(e)}function isRelativePath(e){return c.test(e)}function stringifyRequest(e,t){if(typeof e.utils!=="undefined"&&typeof e.utils.contextify==="function"){return JSON.stringify(e.utils.contextify(e.context||e.rootContext,t))}const s=t.split("!");const{context:r}=e;return JSON.stringify(s.map((e=>{const t=e.match(/^(.*?)(\?.*)/);const s=t?t[2]:"";let o=t?t[1]:e;if(isAbsolutePath(o)&&r){o=n.default.relative(r,o);if(isAbsolutePath(o)){return o+s}if(isRelativePath(o)===false){o=`./${o}`}}return o.replace(/\\/g,"/")+s})).join("!"))}const p=/^[a-z]:[/\\]|^\\\\/i;const f=/^[^?]*~/;function urlToRequest(e,t){let s;if(p.test(e)){s=e}else if(typeof t!=="undefined"&&/^\//.test(e)){s=t+e}else if(/^\.\.?\//.test(e)){s=e}else{s=`./${e}`}if(f.test(s)){s=s.replace(f,"")}return s}const h=/[ -,.\/:-@[\]\^`{-~]/;const d=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;const preserveCamelCase=e=>{let t=e;let s=false;let r=false;let n=false;for(let e=0;et.toUpperCase())).replace(/\d+([\p{Alpha}\p{N}_]|$)/gu,(e=>e.toUpperCase()))}function escape(e){let t="";let s=0;while(s{if(t&&t.length%2){return e}return(t||"")+s}));return t}function gobbleHex(e){const t=e.toLowerCase();let s="";let r=false;for(let e=0;e<6&&t[e]!==undefined;e++){const n=t.charCodeAt(e);const o=n>=97&&n<=102||n>=48&&n<=57;r=n===32;if(!o){break}s+=t[e]}if(s.length===0){return undefined}const n=parseInt(s,16);const o=n>=55296&&n<=57343;if(o||n===0||n>1114111){return["�",s.length+(r?1:0)]}return[String.fromCodePoint(n),s.length+(r?1:0)]}const m=/\\/;function unescape(e){const t=m.test(e);if(!t){return e}let s="";for(let t=0;t:"/\\|?*]/g;const E=/[\u0000-\u001f\u0080-\u009f]/g;function escapeLocalIdent(e){return escape(e.replace(/^((-?[0-9])|--)/,"_$1").replace(g,"-").replace(E,"-").replace(/\./g,"-"))}function defaultGetLocalIdent(e,t,s,r){const{context:o,hashSalt:i,hashStrategy:l}=r;const{resourcePath:a}=e;const u=normalizePath(n.default.relative(o,a));r.content=l==="minimal-subset"&&/\[local\]/.test(t)?u:`${u}\0${s}`;let{hashFunction:c,hashDigest:p,hashDigestLength:f}=r;const h=t.match(/\[(?:([^:\]]+):)?(?:(hash|contenthash|fullhash))(?::([a-z]+\d*))?(?::(\d+))?\]/i);if(h){const e=h[2]||c;c=h[1]||c;p=h[3]||p;f=h[4]||f;t=t.replace(/\[(?:([^:\]]+):)?(?:hash|contenthash|fullhash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,(()=>e==="fullhash"?"[fullhash]":"[contenthash]"))}let d="";for(let t=0;d.length1){s=n.default.basename(t)}y=y.replace(/\[folder\]/gi,(()=>s))}if(r.regExp){const e=a.match(r.regExp);if(e){e.forEach(((e,t)=>{y=y.replace(new RegExp(`\\[${t}\\]`,"ig"),e)}))}}return y}function fixedEncodeURIComponent(e){return e.replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16)}`))}function isDataUrl(e){if(/^data:/i.test(e)){return true}return false}const v=/^[A-Z]:[/\\]|^\\\\/i;function normalizeUrl(e,t){let s=e.replace(/^( |\t\n|\r\n|\r|\f)*/g,"").replace(/( |\t\n|\r\n|\r|\f)*$/g,"");if(t&&/\\(\n|\r\n|\r|\f)/.test(s)){s=s.replace(/\\(\n|\r\n|\r|\f)/g,"")}if(v.test(e)){try{s=decodeURI(s)}catch(e){}return s}s=unescape(s);if(isDataUrl(e)){return fixedEncodeURIComponent(s)}try{s=decodeURI(s)}catch(e){}return s}function requestify(e,t,s=true){if(s){if(/^file:/i.test(e)){return(0,r.fileURLToPath)(e)}return e.charAt(0)==="/"?urlToRequest(e,t):urlToRequest(e)}if(e.charAt(0)==="/"||/^file:/i.test(e)){return e}if(f.test(e)){return e.replace(f,"")}return e}function getFilter(e,t){return(...s)=>{if(typeof e==="function"){return e(...s,t)}return true}}function getValidLocalName(e,t){const s=t(e);return Array.isArray(s)?s[0]:s}const y=/\.module(s)?\.\w+$/i;const R=/\.icss\.\w+$/i;function getModulesOptions(e,t,s){if(typeof e.modules==="boolean"&&e.modules===false){return false}const r=s._module&&s._module.matchResource||s.resourcePath;let n;let o;if(typeof e.modules==="undefined"){o={};n=true}else if(typeof e.modules==="boolean"){o={}}else if(typeof e.modules==="string"){o={mode:e.modules}}else{o=e.modules;({auto:n}=o)}const{outputOptions:i}=s._compilation;const l=t==="css-style-sheet"||t==="string";const a={auto:n,mode:"local",exportGlobals:false,localIdentName:"[hash:base64]",localIdentContext:s.rootContext,localIdentHashSalt:i.hashSalt,localIdentHashFunction:i.hashFunction,localIdentHashDigest:i.hashDigest,localIdentHashDigestLength:i.hashDigestLength,localIdentRegExp:undefined,getLocalIdent:undefined,namedExport:l||false,exportLocalsConvention:(o.namedExport===true||l)&&typeof o.exportLocalsConvention==="undefined"?"camelCaseOnly":"asIs",exportOnlyLocals:false,...o};let u;if(typeof a.exportLocalsConvention==="string"){u=a.exportLocalsConvention;a.exportLocalsConvention=e=>{switch(u){case"camelCase":{return[e,camelCase(e)]}case"camelCaseOnly":{return camelCase(e)}case"dashes":{return[e,dashesCamelCase(e)]}case"dashesOnly":{return dashesCamelCase(e)}case"asIs":default:return e}}}if(typeof a.auto==="boolean"){const e=a.auto&&y.test(r);let t;if(!e){t=R.test(r);if(t){a.mode="icss"}}if(!e&&!t){return false}}else if(a.auto instanceof RegExp){const e=a.auto.test(r);if(!e){return false}}else if(typeof a.auto==="function"){const e=a.auto(r);if(!e){return false}}if(typeof a.mode==="function"){a.mode=a.mode(s.resourcePath)}if(l){if(e.esModule===false){throw new Error("The 'exportType' option with the 'css-style-sheet' or 'string' value requires the 'esModules' option to be enabled")}if(a.namedExport===false){throw new Error("The 'exportType' option with the 'css-style-sheet' or 'string' value requires the 'modules.namedExport' option to be enabled")}}if(a.namedExport===true){if(e.esModule===false){throw new Error("The 'modules.namedExport' option requires the 'esModules' option to be enabled")}if(typeof u==="string"&&u!=="camelCaseOnly"&&u!=="dashesOnly"){throw new Error('The "modules.namedExport" option requires the "modules.exportLocalsConvention" option to be "camelCaseOnly" or "dashesOnly"')}}return a}function normalizeOptions(e,t){const s=typeof e.exportType==="undefined"?"array":e.exportType;const r=getModulesOptions(e,s,t);return{url:typeof e.url==="undefined"?true:e.url,import:typeof e.import==="undefined"?true:e.import,modules:r,sourceMap:typeof e.sourceMap==="boolean"?e.sourceMap:t.sourceMap,importLoaders:typeof e.importLoaders==="string"?parseInt(e.importLoaders,10):e.importLoaders,esModule:typeof e.esModule==="undefined"?true:e.esModule,exportType:s}}function shouldUseImportPlugin(e){if(e.modules.exportOnlyLocals){return false}if(typeof e.import==="boolean"){return e.import}return true}function shouldUseURLPlugin(e){if(e.modules.exportOnlyLocals){return false}if(typeof e.url==="boolean"){return e.url}return true}function shouldUseModulesPlugins(e){if(typeof e.modules==="boolean"&&e.modules===false){return false}return e.modules.mode!=="icss"}function shouldUseIcssPlugin(e){return Boolean(e.modules)}function getModulesPlugins(e,t){const{mode:s,getLocalIdent:r,localIdentName:n,localIdentContext:u,localIdentHashSalt:c,localIdentHashFunction:p,localIdentHashDigest:f,localIdentHashDigestLength:h,localIdentRegExp:d,hashStrategy:m}=e.modules;let g=[];try{g=[o.default,(0,i.default)({mode:s}),(0,l.default)(),(0,a.default)({generateScopedName(e){let s;if(typeof r!=="undefined"){s=r(t,n,unescape(e),{context:u,hashSalt:c,hashFunction:p,hashDigest:f,hashDigestLength:h,hashStrategy:m,regExp:d})}if(typeof s==="undefined"||s===null){s=defaultGetLocalIdent(t,n,unescape(e),{context:u,hashSalt:c,hashFunction:p,hashDigest:f,hashDigestLength:h,hashStrategy:m,regExp:d});return escapeLocalIdent(s).replace(/\\\[local\\]/gi,e)}return escapeLocalIdent(s)},exportGlobals:e.modules.exportGlobals})]}catch(e){t.emitError(e)}return g}const _=/^[a-z0-9+\-.]+:/i;function getURLType(e){if(e[0]==="/"){if(e[1]==="/"){return"scheme-relative"}return"path-absolute"}if(p.test(e)){return"path-absolute"}return _.test(e)?"absolute":"path-relative"}function normalizeSourceMap(e,t){let s=e;if(typeof s==="string"){s=JSON.parse(s)}delete s.file;const{sourceRoot:r}=s;delete s.sourceRoot;if(s.sources){s.sources=s.sources.map((e=>{if(e.indexOf("<")===0){return e}const s=getURLType(e);if(s==="path-relative"||s==="path-absolute"){const o=s==="path-relative"&&r?n.default.resolve(r,normalizePath(e)):normalizePath(e);return n.default.relative(n.default.dirname(t),o)}return e}))}return s}function getPreRequester({loaders:e,loaderIndex:t}){const s=Object.create(null);return r=>{if(s[r]){return s[r]}if(r===false){s[r]=""}else{const n=e.slice(t,t+1+(typeof r!=="number"?0:r)).map((e=>e.request)).join("!");s[r]=`-!${n}!`}return s[r]}}function getImportCode(e,t){let s="";for(const r of e){const{importName:e,url:n,icss:o,type:i}=r;if(t.esModule){if(o&&t.modules.namedExport){s+=`import ${t.modules.exportOnlyLocals?"":`${e}, `}* as ${e}_NAMED___ from ${n};\n`}else{s+=i==="url"?`var ${e} = new URL(${n}, import.meta.url);\n`:`import ${e} from ${n};\n`}}else{s+=`var ${e} = require(${n});\n`}}return s?`// Imports\n${s}`:""}function normalizeSourceMapForRuntime(e,t){const s=e?e.toJSON():null;if(s){delete s.file;if(t._compilation&&t._compilation.options&&t._compilation.options.devtool&&t._compilation.options.devtool.includes("nosources")){delete s.sourcesContent}s.sourceRoot="";s.sources=s.sources.map((e=>{if(e.indexOf("<")===0){return e}const s=getURLType(e);if(s!=="path-relative"){return e}const r=n.default.dirname(t.resourcePath);const o=n.default.resolve(r,e);const i=normalizePath(n.default.relative(t.rootContext,o));return`webpack://./${i}`}))}return JSON.stringify(s)}function printParams(e,t,s,r){let n="";if(typeof r!=="undefined"){n=`, ${JSON.stringify(r)}`}if(typeof s!=="undefined"){n=`, ${JSON.stringify(s)}${n}`}else if(n.length>0){n=`, undefined${n}`}if(t){n=`, true${n}`}else if(n.length>0){n=`, false${n}`}if(e){n=`${JSON.stringify(e)}${n}`}else if(n.length>0){n=`""${n}`}return n}function getModuleCode(e,t,s,r,n){if(r.modules.exportOnlyLocals===true){return""}let o="";if(r.sourceMap){const t=e.map;o=`,${normalizeSourceMapForRuntime(t,n)}`}let i=JSON.stringify(e.css);let l=`var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(${r.sourceMap?"___CSS_LOADER_API_SOURCEMAP_IMPORT___":"___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___"});\n`;for(const e of t){const{url:t,layer:s,supports:r,media:n,dedupe:o}=e;if(t){const e=printParams(n,undefined,r,s);l+=`___CSS_LOADER_EXPORT___.push([module.id, ${JSON.stringify(`@import url(${t});`)}${e.length>0?`, ${e}`:""}]);\n`}else{const t=printParams(n,o,r,s);l+=`___CSS_LOADER_EXPORT___.i(${e.importName}${t.length>0?`, ${t}`:""});\n`}}for(const e of s){const{replacementName:t,importName:s,localName:n}=e;if(n){i=i.replace(new RegExp(t,"g"),(()=>r.modules.namedExport?`" + ${s}_NAMED___[${JSON.stringify(getValidLocalName(n,r.modules.exportLocalsConvention))}] + "`:`" + ${s}.locals[${JSON.stringify(n)}] + "`))}else{const{hash:r,needQuotes:n}=e;const o=[].concat(r?[`hash: ${JSON.stringify(r)}`]:[]).concat(n?"needQuotes: true":[]);const a=o.length>0?`, { ${o.join(", ")} }`:"";l+=`var ${t} = ___CSS_LOADER_GET_URL_IMPORT___(${s}${a});\n`;i=i.replace(new RegExp(t,"g"),(()=>`" + ${t} + "`))}}return`${l}// Module\n___CSS_LOADER_EXPORT___.push([module.id, ${i}, ""${o}]);\n`}function dashesCamelCase(e){return e.replace(/-+(\w)/g,((e,t)=>t.toUpperCase()))}function getExportCode(e,t,s,r){let n="// Exports\n";if(s){let s="";const addExportToLocalsCode=(e,t)=>{const n=Array.isArray(e)?new Set(e):new Set([e]);for(const e of n){if(r.modules.namedExport){s+=`export var ${e} = ${JSON.stringify(t)};\n`}else{if(s){s+=`,\n`}s+=`\t${JSON.stringify(e)}: ${JSON.stringify(t)}`}}};for(const{name:t,value:s}of e){addExportToLocalsCode(r.modules.exportLocalsConvention(t),s)}for(const e of t){const{replacementName:t,localName:n}=e;if(n){const{importName:o}=e;s=s.replace(new RegExp(t,"g"),(()=>{if(r.modules.namedExport){return`" + ${o}_NAMED___[${JSON.stringify(getValidLocalName(n,r.modules.exportLocalsConvention))}] + "`}else if(r.modules.exportOnlyLocals){return`" + ${o}[${JSON.stringify(n)}] + "`}return`" + ${o}.locals[${JSON.stringify(n)}] + "`}))}else{s=s.replace(new RegExp(t,"g"),(()=>`" + ${t} + "`))}}if(r.modules.exportOnlyLocals){n+=r.modules.namedExport?s:`${r.esModule?"export default":"module.exports ="} {\n${s}\n};\n`;return n}n+=r.modules.namedExport?s:`___CSS_LOADER_EXPORT___.locals = {${s?`\n${s}\n`:""}};\n`}const o=r.exportType==="css-style-sheet";if(o){n+="var ___CSS_LOADER_STYLE_SHEET___ = new CSSStyleSheet();\n";n+="___CSS_LOADER_STYLE_SHEET___.replaceSync(___CSS_LOADER_EXPORT___.toString());\n"}let i;switch(r.exportType){case"string":i="___CSS_LOADER_EXPORT___.toString()";break;case"css-style-sheet":i="___CSS_LOADER_STYLE_SHEET___";break;default:case"array":i="___CSS_LOADER_EXPORT___";break}n+=`${r.esModule?"export default":"module.exports ="} ${i};\n`;return n}async function resolveRequests(e,t,s){return e(t,s[0]).then((e=>e)).catch((r=>{const[,...n]=s;if(n.length===0){throw r}return resolveRequests(e,t,n)}))}function isURLRequestable(e,t={}){if(/^\/\//.test(e)){return{requestable:false,needResolve:false}}if(/^#/.test(e)){return{requestable:false,needResolve:false}}if(isDataUrl(e)&&t.isSupportDataURL){try{decodeURIComponent(e)}catch(e){return{requestable:false,needResolve:false}}return{requestable:true,needResolve:false}}if(/^file:/i.test(e)){return{requestable:true,needResolve:true}}if(/^[a-z][a-z0-9+.-]*:/i.test(e)&&!v.test(e)){if(t.isSupportAbsoluteURL&&/^https?:/i.test(e)){return{requestable:true,needResolve:false}}return{requestable:false,needResolve:false}}return{requestable:true,needResolve:true}}function sort(e,t){return e.index-t.index}function combineRequests(e,t){const s=t.indexOf("!=!");return s!==-1?t.slice(0,s+3)+e+t.slice(s+3):e+t}},2844:(e,t,s)=>{"use strict";const r=s(605);const n=Symbol("max");const o=Symbol("length");const i=Symbol("lengthCalculator");const l=Symbol("allowStale");const a=Symbol("maxAge");const u=Symbol("dispose");const c=Symbol("noDisposeOnSet");const p=Symbol("lruList");const f=Symbol("cache");const h=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[n]=e.max||Infinity;const s=e.length||naiveLength;this[i]=typeof s!=="function"?naiveLength:s;this[l]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[a]=e.maxAge||0;this[u]=e.dispose;this[c]=e.noDisposeOnSet||false;this[h]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[n]=e||Infinity;trim(this)}get max(){return this[n]}set allowStale(e){this[l]=!!e}get allowStale(){return this[l]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[a]=e;trim(this)}get maxAge(){return this[a]}set lengthCalculator(e){if(typeof e!=="function")e=naiveLength;if(e!==this[i]){this[i]=e;this[o]=0;this[p].forEach((e=>{e.length=this[i](e.value,e.key);this[o]+=e.length}))}trim(this)}get lengthCalculator(){return this[i]}get length(){return this[o]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let s=this[p].tail;s!==null;){const r=s.prev;forEachStep(this,e,s,t);s=r}}forEach(e,t){t=t||this;for(let s=this[p].head;s!==null;){const r=s.next;forEachStep(this,e,s,t);s=r}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){if(this[u]&&this[p]&&this[p].length){this[p].forEach((e=>this[u](e.key,e.value)))}this[f]=new Map;this[p]=new r;this[o]=0}dump(){return this[p].map((e=>isStale(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,s){s=s||this[a];if(s&&typeof s!=="number")throw new TypeError("maxAge must be a number");const r=s?Date.now():0;const l=this[i](t,e);if(this[f].has(e)){if(l>this[n]){del(this,this[f].get(e));return false}const i=this[f].get(e);const a=i.value;if(this[u]){if(!this[c])this[u](e,a.value)}a.now=r;a.maxAge=s;a.value=t;this[o]+=l-a.length;a.length=l;this.get(e);trim(this);return true}const h=new Entry(e,t,l,r,s);if(h.length>this[n]){if(this[u])this[u](e,t);return false}this[o]+=h.length;this[p].unshift(h);this[f].set(e,this[p].head);trim(this);return true}has(e){if(!this[f].has(e))return false;const t=this[f].get(e).value;return!isStale(this,t)}get(e){return get(this,e,true)}peek(e){return get(this,e,false)}pop(){const e=this[p].tail;if(!e)return null;del(this,e);return e.value}del(e){del(this,this[f].get(e))}load(e){this.reset();const t=Date.now();for(let s=e.length-1;s>=0;s--){const r=e[s];const n=r.e||0;if(n===0)this.set(r.k,r.v);else{const e=n-t;if(e>0){this.set(r.k,r.v,e)}}}}prune(){this[f].forEach(((e,t)=>get(this,t,false)))}}const get=(e,t,s)=>{const r=e[f].get(t);if(r){const t=r.value;if(isStale(e,t)){del(e,r);if(!e[l])return undefined}else{if(s){if(e[h])r.value.now=Date.now();e[p].unshiftNode(r)}}return t.value}};const isStale=(e,t)=>{if(!t||!t.maxAge&&!e[a])return false;const s=Date.now()-t.now;return t.maxAge?s>t.maxAge:e[a]&&s>e[a]};const trim=e=>{if(e[o]>e[n]){for(let t=e[p].tail;e[o]>e[n]&&t!==null;){const s=t.prev;del(e,t);t=s}}};const del=(e,t)=>{if(t){const s=t.value;if(e[u])e[u](s.key,s.value);e[o]-=s.length;e[f].delete(s.key);e[p].removeNode(t)}};class Entry{constructor(e,t,s,r,n){this.key=e;this.value=t;this.length=s;this.now=r;this.maxAge=n||0}}const forEachStep=(e,t,s,r)=>{let n=s.value;if(isStale(e,n)){del(e,s);if(!e[l])n=undefined}if(n)t.call(r,n.value,n.key,e)};e.exports=LRUCache},7962:(e,t,s)=>{var r=s(3097);var n=s(4874);var o=s(5617);function ValueParser(e){if(this instanceof ValueParser){this.nodes=r(e);return this}return new ValueParser(e)}ValueParser.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):""};ValueParser.prototype.walk=function(e,t){n(this.nodes,e,t);return this};ValueParser.unit=s(6214);ValueParser.walk=n;ValueParser.stringify=o;e.exports=ValueParser},3097:e=>{var t="(".charCodeAt(0);var s=")".charCodeAt(0);var r="'".charCodeAt(0);var n='"'.charCodeAt(0);var o="\\".charCodeAt(0);var i="/".charCodeAt(0);var l=",".charCodeAt(0);var a=":".charCodeAt(0);var u="*".charCodeAt(0);var c="u".charCodeAt(0);var p="U".charCodeAt(0);var f="+".charCodeAt(0);var h=/^[a-f0-9?-]+$/i;e.exports=function(e){var d=[];var m=e;var g,E,v,y,R,_,b,x;var $=0;var w=m.charCodeAt($);var I=m.length;var S=[{nodes:d}];var A=0;var O;var L="";var C="";var N="";while(${function stringifyNode(e,t){var s=e.type;var r=e.value;var n;var o;if(t&&(o=t(e))!==undefined){return o}else if(s==="word"||s==="space"){return r}else if(s==="string"){n=e.quote||"";return n+r+(e.unclosed?"":n)}else if(s==="comment"){return"/*"+r+(e.unclosed?"":"*/")}else if(s==="div"){return(e.before||"")+r+(e.after||"")}else if(Array.isArray(e.nodes)){n=stringify(e.nodes,t);if(s!=="function"){return n}return r+"("+(e.before||"")+n+(e.after||"")+(e.unclosed?"":")")}return r}function stringify(e,t){var s,r;if(Array.isArray(e)){s="";for(r=e.length-1;~r;r-=1){s=stringifyNode(e[r],t)+s}return s}return stringifyNode(e,t)}e.exports=stringify},6214:e=>{var t="-".charCodeAt(0);var s="+".charCodeAt(0);var r=".".charCodeAt(0);var n="e".charCodeAt(0);var o="E".charCodeAt(0);function likeNumber(e){var n=e.charCodeAt(0);var o;if(n===s||n===t){o=e.charCodeAt(1);if(o>=48&&o<=57){return true}var i=e.charCodeAt(2);if(o===r&&i>=48&&i<=57){return true}return false}if(n===r){o=e.charCodeAt(1);if(o>=48&&o<=57){return true}return false}if(n>=48&&n<=57){return true}return false}e.exports=function(e){var i=0;var l=e.length;var a;var u;var c;if(l===0||!likeNumber(e)){return false}a=e.charCodeAt(i);if(a===s||a===t){i++}while(i57){break}i+=1}a=e.charCodeAt(i);u=e.charCodeAt(i+1);if(a===r&&u>=48&&u<=57){i+=2;while(i57){break}i+=1}}a=e.charCodeAt(i);u=e.charCodeAt(i+1);c=e.charCodeAt(i+2);if((a===n||a===o)&&(u>=48&&u<=57||(u===s||u===t)&&c>=48&&c<=57)){i+=u===s||u===t?3:2;while(i57){break}i+=1}}return{number:e.slice(0,i),unit:e.slice(i)}}},4874:e=>{e.exports=function walk(e,t,s){var r,n,o,i;for(r=0,n=e.length;r{const r=Symbol("SemVer ANY");class Comparator{static get ANY(){return r}constructor(e,t){t=n(t);if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}a("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===r){this.value=""}else{this.value=this.operator+this.semver.version}a("comp",this)}parse(e){const t=this.options.loose?o[i.COMPARATORLOOSE]:o[i.COMPARATOR];const s=e.match(t);if(!s){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=s[1]!==undefined?s[1]:"";if(this.operator==="="){this.operator=""}if(!s[2]){this.semver=r}else{this.semver=new u(s[2],this.options.loose)}}toString(){return this.value}test(e){a("Comparator.test",e,this.options.loose);if(this.semver===r||e===r){return true}if(typeof e==="string"){try{e=new u(e,this.options)}catch(e){return false}}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(this.operator===""){if(this.value===""){return true}return new c(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new c(this.value,t).test(e.semver)}const s=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");const r=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");const n=this.semver.version===e.semver.version;const o=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");const i=l(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<");const a=l(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return s||r||n&&o||i||a}}e.exports=Comparator;const n=s(6912);const{re:o,t:i}=s(2475);const l=s(9852);const a=s(8805);const u=s(8607);const c=s(7012)},7012:(e,t,s)=>{class Range{constructor(e,t){t=o(t);if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof i){this.raw=e.value;this.set=[[e]];this.format();return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${e}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter((e=>!isNullSet(e[0])));if(this.set.length===0){this.set=[e]}else if(this.set.length>1){for(const e of this.set){if(e.length===1&&isAny(e[0])){this.set=[e];break}}}}this.format()}format(){this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=Object.keys(this.options).join(",");const s=`parseRange:${t}:${e}`;const r=n.get(s);if(r){return r}const o=this.options.loose;const a=o?u[c.HYPHENRANGELOOSE]:u[c.HYPHENRANGE];e=e.replace(a,hyphenReplace(this.options.includePrerelease));l("hyphen replace",e);e=e.replace(u[c.COMPARATORTRIM],p);l("comparator trim",e);e=e.replace(u[c.TILDETRIM],f);e=e.replace(u[c.CARETTRIM],h);e=e.split(/\s+/).join(" ");let d=e.split(" ").map((e=>parseComparator(e,this.options))).join(" ").split(/\s+/).map((e=>replaceGTE0(e,this.options)));if(o){d=d.filter((e=>{l("loose invalid filter",e,this.options);return!!e.match(u[c.COMPARATORLOOSE])}))}l("range list",d);const m=new Map;const g=d.map((e=>new i(e,this.options)));for(const e of g){if(isNullSet(e)){return[e]}m.set(e.value,e)}if(m.size>1&&m.has("")){m.delete("")}const E=[...m.values()];n.set(s,E);return E}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((s=>isSatisfiable(s,t)&&e.set.some((e=>isSatisfiable(e,t)&&s.every((s=>e.every((e=>s.intersects(e,t)))))))))}test(e){if(!e){return false}if(typeof e==="string"){try{e=new a(e,this.options)}catch(e){return false}}for(let t=0;te.value==="<0.0.0-0";const isAny=e=>e.value==="";const isSatisfiable=(e,t)=>{let s=true;const r=e.slice();let n=r.pop();while(s&&r.length){s=r.every((e=>n.intersects(e,t)));n=r.pop()}return s};const parseComparator=(e,t)=>{l("comp",e,t);e=replaceCarets(e,t);l("caret",e);e=replaceTildes(e,t);l("tildes",e);e=replaceXRanges(e,t);l("xrange",e);e=replaceStars(e,t);l("stars",e);return e};const isX=e=>!e||e.toLowerCase()==="x"||e==="*";const replaceTildes=(e,t)=>e.trim().split(/\s+/).map((e=>replaceTilde(e,t))).join(" ");const replaceTilde=(e,t)=>{const s=t.loose?u[c.TILDELOOSE]:u[c.TILDE];return e.replace(s,((t,s,r,n,o)=>{l("tilde",e,t,s,r,n,o);let i;if(isX(s)){i=""}else if(isX(r)){i=`>=${s}.0.0 <${+s+1}.0.0-0`}else if(isX(n)){i=`>=${s}.${r}.0 <${s}.${+r+1}.0-0`}else if(o){l("replaceTilde pr",o);i=`>=${s}.${r}.${n}-${o} <${s}.${+r+1}.0-0`}else{i=`>=${s}.${r}.${n} <${s}.${+r+1}.0-0`}l("tilde return",i);return i}))};const replaceCarets=(e,t)=>e.trim().split(/\s+/).map((e=>replaceCaret(e,t))).join(" ");const replaceCaret=(e,t)=>{l("caret",e,t);const s=t.loose?u[c.CARETLOOSE]:u[c.CARET];const r=t.includePrerelease?"-0":"";return e.replace(s,((t,s,n,o,i)=>{l("caret",e,t,s,n,o,i);let a;if(isX(s)){a=""}else if(isX(n)){a=`>=${s}.0.0${r} <${+s+1}.0.0-0`}else if(isX(o)){if(s==="0"){a=`>=${s}.${n}.0${r} <${s}.${+n+1}.0-0`}else{a=`>=${s}.${n}.0${r} <${+s+1}.0.0-0`}}else if(i){l("replaceCaret pr",i);if(s==="0"){if(n==="0"){a=`>=${s}.${n}.${o}-${i} <${s}.${n}.${+o+1}-0`}else{a=`>=${s}.${n}.${o}-${i} <${s}.${+n+1}.0-0`}}else{a=`>=${s}.${n}.${o}-${i} <${+s+1}.0.0-0`}}else{l("no pr");if(s==="0"){if(n==="0"){a=`>=${s}.${n}.${o}${r} <${s}.${n}.${+o+1}-0`}else{a=`>=${s}.${n}.${o}${r} <${s}.${+n+1}.0-0`}}else{a=`>=${s}.${n}.${o} <${+s+1}.0.0-0`}}l("caret return",a);return a}))};const replaceXRanges=(e,t)=>{l("replaceXRanges",e,t);return e.split(/\s+/).map((e=>replaceXRange(e,t))).join(" ")};const replaceXRange=(e,t)=>{e=e.trim();const s=t.loose?u[c.XRANGELOOSE]:u[c.XRANGE];return e.replace(s,((s,r,n,o,i,a)=>{l("xRange",e,s,r,n,o,i,a);const u=isX(n);const c=u||isX(o);const p=c||isX(i);const f=p;if(r==="="&&f){r=""}a=t.includePrerelease?"-0":"";if(u){if(r===">"||r==="<"){s="<0.0.0-0"}else{s="*"}}else if(r&&f){if(c){o=0}i=0;if(r===">"){r=">=";if(c){n=+n+1;o=0;i=0}else{o=+o+1;i=0}}else if(r==="<="){r="<";if(c){n=+n+1}else{o=+o+1}}if(r==="<"){a="-0"}s=`${r+n}.${o}.${i}${a}`}else if(c){s=`>=${n}.0.0${a} <${+n+1}.0.0-0`}else if(p){s=`>=${n}.${o}.0${a} <${n}.${+o+1}.0-0`}l("xRange return",s);return s}))};const replaceStars=(e,t)=>{l("replaceStars",e,t);return e.trim().replace(u[c.STAR],"")};const replaceGTE0=(e,t)=>{l("replaceGTE0",e,t);return e.trim().replace(u[t.includePrerelease?c.GTE0PRE:c.GTE0],"")};const hyphenReplace=e=>(t,s,r,n,o,i,l,a,u,c,p,f,h)=>{if(isX(r)){s=""}else if(isX(n)){s=`>=${r}.0.0${e?"-0":""}`}else if(isX(o)){s=`>=${r}.${n}.0${e?"-0":""}`}else if(i){s=`>=${s}`}else{s=`>=${s}${e?"-0":""}`}if(isX(u)){a=""}else if(isX(c)){a=`<${+u+1}.0.0-0`}else if(isX(p)){a=`<${u}.${+c+1}.0-0`}else if(f){a=`<=${u}.${c}.${p}-${f}`}else if(e){a=`<${u}.${c}.${+p+1}-0`}else{a=`<=${a}`}return`${s} ${a}`.trim()};const testSet=(e,t,s)=>{for(let s=0;s0){const r=e[s].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch){return true}}}return false}return true}},8607:(e,t,s)=>{const r=s(8805);const{MAX_LENGTH:n,MAX_SAFE_INTEGER:o}=s(4393);const{re:i,t:l}=s(2475);const a=s(6912);const{compareIdentifiers:u}=s(9350);class SemVer{constructor(e,t){t=a(t);if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid Version: ${e}`)}if(e.length>n){throw new TypeError(`version is longer than ${n} characters`)}r("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const s=e.trim().match(t.loose?i[l.LOOSE]:i[l.FULL]);if(!s){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+s[1];this.minor=+s[2];this.patch=+s[3];if(this.major>o||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>o||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>o||this.patch<0){throw new TypeError("Invalid patch version")}if(!s[4]){this.prerelease=[]}else{this.prerelease=s[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0){if(typeof this.prerelease[e]==="number"){this.prerelease[e]++;e=-2}}if(e===-1){this.prerelease.push(0)}}if(t){if(u(this.prerelease[0],t)===0){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error(`invalid increment argument: ${e}`)}this.format();this.raw=this.version;return this}}e.exports=SemVer},9219:(e,t,s)=>{const r=s(278);const clean=(e,t)=>{const s=r(e.trim().replace(/^[=v]+/,""),t);return s?s.version:null};e.exports=clean},9852:(e,t,s)=>{const r=s(6620);const n=s(3443);const o=s(4421);const i=s(3294);const l=s(7808);const a=s(3923);const cmp=(e,t,s,u)=>{switch(t){case"===":if(typeof e==="object"){e=e.version}if(typeof s==="object"){s=s.version}return e===s;case"!==":if(typeof e==="object"){e=e.version}if(typeof s==="object"){s=s.version}return e!==s;case"":case"=":case"==":return r(e,s,u);case"!=":return n(e,s,u);case">":return o(e,s,u);case">=":return i(e,s,u);case"<":return l(e,s,u);case"<=":return a(e,s,u);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=cmp},970:(e,t,s)=>{const r=s(8607);const n=s(278);const{re:o,t:i}=s(2475);const coerce=(e,t)=>{if(e instanceof r){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let s=null;if(!t.rtl){s=e.match(o[i.COERCE])}else{let t;while((t=o[i.COERCERTL].exec(e))&&(!s||s.index+s[0].length!==e.length)){if(!s||t.index+t[0].length!==s.index+s[0].length){s=t}o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length}o[i.COERCERTL].lastIndex=-1}if(s===null){return null}return n(`${s[2]}.${s[3]||"0"}.${s[4]||"0"}`,t)};e.exports=coerce},4025:(e,t,s)=>{const r=s(8607);const compareBuild=(e,t,s)=>{const n=new r(e,s);const o=new r(t,s);return n.compare(o)||n.compareBuild(o)};e.exports=compareBuild},8414:(e,t,s)=>{const r=s(9433);const compareLoose=(e,t)=>r(e,t,true);e.exports=compareLoose},9433:(e,t,s)=>{const r=s(8607);const compare=(e,t,s)=>new r(e,s).compare(new r(t,s));e.exports=compare},3074:(e,t,s)=>{const r=s(278);const n=s(6620);const diff=(e,t)=>{if(n(e,t)){return null}else{const s=r(e);const n=r(t);const o=s.prerelease.length||n.prerelease.length;const i=o?"pre":"";const l=o?"prerelease":"";for(const e in s){if(e==="major"||e==="minor"||e==="patch"){if(s[e]!==n[e]){return i+e}}}return l}};e.exports=diff},6620:(e,t,s)=>{const r=s(9433);const eq=(e,t,s)=>r(e,t,s)===0;e.exports=eq},4421:(e,t,s)=>{const r=s(9433);const gt=(e,t,s)=>r(e,t,s)>0;e.exports=gt},3294:(e,t,s)=>{const r=s(9433);const gte=(e,t,s)=>r(e,t,s)>=0;e.exports=gte},3779:(e,t,s)=>{const r=s(8607);const inc=(e,t,s,n)=>{if(typeof s==="string"){n=s;s=undefined}try{return new r(e instanceof r?e.version:e,s).inc(t,n).version}catch(e){return null}};e.exports=inc},7808:(e,t,s)=>{const r=s(9433);const lt=(e,t,s)=>r(e,t,s)<0;e.exports=lt},3923:(e,t,s)=>{const r=s(9433);const lte=(e,t,s)=>r(e,t,s)<=0;e.exports=lte},5972:(e,t,s)=>{const r=s(8607);const major=(e,t)=>new r(e,t).major;e.exports=major},2857:(e,t,s)=>{const r=s(8607);const minor=(e,t)=>new r(e,t).minor;e.exports=minor},3443:(e,t,s)=>{const r=s(9433);const neq=(e,t,s)=>r(e,t,s)!==0;e.exports=neq},278:(e,t,s)=>{const{MAX_LENGTH:r}=s(4393);const{re:n,t:o}=s(2475);const i=s(8607);const l=s(6912);const parse=(e,t)=>{t=l(t);if(e instanceof i){return e}if(typeof e!=="string"){return null}if(e.length>r){return null}const s=t.loose?n[o.LOOSE]:n[o.FULL];if(!s.test(e)){return null}try{return new i(e,t)}catch(e){return null}};e.exports=parse},1410:(e,t,s)=>{const r=s(8607);const patch=(e,t)=>new r(e,t).patch;e.exports=patch},8235:(e,t,s)=>{const r=s(278);const prerelease=(e,t)=>{const s=r(e,t);return s&&s.prerelease.length?s.prerelease:null};e.exports=prerelease},9009:(e,t,s)=>{const r=s(9433);const rcompare=(e,t,s)=>r(t,e,s);e.exports=rcompare},6190:(e,t,s)=>{const r=s(4025);const rsort=(e,t)=>e.sort(((e,s)=>r(s,e,t)));e.exports=rsort},3027:(e,t,s)=>{const r=s(7012);const satisfies=(e,t,s)=>{try{t=new r(t,s)}catch(e){return false}return t.test(e)};e.exports=satisfies},2297:(e,t,s)=>{const r=s(4025);const sort=(e,t)=>e.sort(((e,s)=>r(e,s,t)));e.exports=sort},5862:(e,t,s)=>{const r=s(278);const valid=(e,t)=>{const s=r(e,t);return s?s.version:null};e.exports=valid},3124:(e,t,s)=>{const r=s(2475);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:s(4393).SEMVER_SPEC_VERSION,SemVer:s(8607),compareIdentifiers:s(9350).compareIdentifiers,rcompareIdentifiers:s(9350).rcompareIdentifiers,parse:s(278),valid:s(5862),clean:s(9219),inc:s(3779),diff:s(3074),major:s(5972),minor:s(2857),patch:s(1410),prerelease:s(8235),compare:s(9433),rcompare:s(9009),compareLoose:s(8414),compareBuild:s(4025),sort:s(2297),rsort:s(6190),gt:s(4421),lt:s(7808),eq:s(6620),neq:s(3443),gte:s(3294),lte:s(3923),cmp:s(9852),coerce:s(970),Comparator:s(1685),Range:s(7012),satisfies:s(3027),toComparators:s(7564),maxSatisfying:s(3771),minSatisfying:s(758),minVersion:s(3521),validRange:s(4764),outside:s(8866),gtr:s(7234),ltr:s(3063),intersects:s(8875),simplifyRange:s(843),subset:s(6747)}},4393:e=>{const t="2.0.0";const s=256;const r=Number.MAX_SAFE_INTEGER||9007199254740991;const n=16;e.exports={SEMVER_SPEC_VERSION:t,MAX_LENGTH:s,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:n}},8805:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},9350:e=>{const t=/^[0-9]+$/;const compareIdentifiers=(e,s)=>{const r=t.test(e);const n=t.test(s);if(r&&n){e=+e;s=+s}return e===s?0:r&&!n?-1:n&&!r?1:ecompareIdentifiers(t,e);e.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},6912:e=>{const t=["includePrerelease","loose","rtl"];const parseOptions=e=>!e?{}:typeof e!=="object"?{loose:true}:t.filter((t=>e[t])).reduce(((e,t)=>{e[t]=true;return e}),{});e.exports=parseOptions},2475:(e,t,s)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=s(4393);const n=s(8805);t=e.exports={};const o=t.re=[];const i=t.src=[];const l=t.t={};let a=0;const createToken=(e,t,s)=>{const r=a++;n(e,r,t);l[e]=r;i[r]=t;o[r]=new RegExp(t,s?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","[0-9]+");createToken("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");createToken("MAINVERSION",`(${i[l.NUMERICIDENTIFIER]})\\.`+`(${i[l.NUMERICIDENTIFIER]})\\.`+`(${i[l.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${i[l.NUMERICIDENTIFIERLOOSE]})\\.`+`(${i[l.NUMERICIDENTIFIERLOOSE]})\\.`+`(${i[l.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${i[l.NUMERICIDENTIFIER]}|${i[l.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${i[l.NUMERICIDENTIFIERLOOSE]}|${i[l.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${i[l.PRERELEASEIDENTIFIER]}(?:\\.${i[l.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${i[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[l.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+");createToken("BUILD",`(?:\\+(${i[l.BUILDIDENTIFIER]}(?:\\.${i[l.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${i[l.MAINVERSION]}${i[l.PRERELEASE]}?${i[l.BUILD]}?`);createToken("FULL",`^${i[l.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${i[l.MAINVERSIONLOOSE]}${i[l.PRERELEASELOOSE]}?${i[l.BUILD]}?`);createToken("LOOSE",`^${i[l.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${i[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${i[l.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${i[l.XRANGEIDENTIFIER]})`+`(?:\\.(${i[l.XRANGEIDENTIFIER]})`+`(?:\\.(${i[l.XRANGEIDENTIFIER]})`+`(?:${i[l.PRERELEASE]})?${i[l.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${i[l.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${i[l.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${i[l.XRANGEIDENTIFIERLOOSE]})`+`(?:${i[l.PRERELEASELOOSE]})?${i[l.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${i[l.GTLT]}\\s*${i[l.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${i[l.GTLT]}\\s*${i[l.XRANGEPLAINLOOSE]}$`);createToken("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${r}})`+`(?:\\.(\\d{1,${r}}))?`+`(?:\\.(\\d{1,${r}}))?`+`(?:$|[^\\d])`);createToken("COERCERTL",i[l.COERCE],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${i[l.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";createToken("TILDE",`^${i[l.LONETILDE]}${i[l.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${i[l.LONETILDE]}${i[l.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${i[l.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";createToken("CARET",`^${i[l.LONECARET]}${i[l.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${i[l.LONECARET]}${i[l.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${i[l.GTLT]}\\s*(${i[l.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${i[l.GTLT]}\\s*(${i[l.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${i[l.GTLT]}\\s*(${i[l.LOOSEPLAIN]}|${i[l.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${i[l.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${i[l.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${i[l.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${i[l.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},7234:(e,t,s)=>{const r=s(8866);const gtr=(e,t,s)=>r(e,t,">",s);e.exports=gtr},8875:(e,t,s)=>{const r=s(7012);const intersects=(e,t,s)=>{e=new r(e,s);t=new r(t,s);return e.intersects(t)};e.exports=intersects},3063:(e,t,s)=>{const r=s(8866);const ltr=(e,t,s)=>r(e,t,"<",s);e.exports=ltr},3771:(e,t,s)=>{const r=s(8607);const n=s(7012);const maxSatisfying=(e,t,s)=>{let o=null;let i=null;let l=null;try{l=new n(t,s)}catch(e){return null}e.forEach((e=>{if(l.test(e)){if(!o||i.compare(e)===-1){o=e;i=new r(o,s)}}}));return o};e.exports=maxSatisfying},758:(e,t,s)=>{const r=s(8607);const n=s(7012);const minSatisfying=(e,t,s)=>{let o=null;let i=null;let l=null;try{l=new n(t,s)}catch(e){return null}e.forEach((e=>{if(l.test(e)){if(!o||i.compare(e)===1){o=e;i=new r(o,s)}}}));return o};e.exports=minSatisfying},3521:(e,t,s)=>{const r=s(8607);const n=s(7012);const o=s(4421);const minVersion=(e,t)=>{e=new n(e,t);let s=new r("0.0.0");if(e.test(s)){return s}s=new r("0.0.0-0");if(e.test(s)){return s}s=null;for(let t=0;t{const t=new r(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!i||o(t,i)){i=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}));if(i&&(!s||o(s,i))){s=i}}if(s&&e.test(s)){return s}return null};e.exports=minVersion},8866:(e,t,s)=>{const r=s(8607);const n=s(1685);const{ANY:o}=n;const i=s(7012);const l=s(3027);const a=s(4421);const u=s(7808);const c=s(3923);const p=s(3294);const outside=(e,t,s,f)=>{e=new r(e,f);t=new i(t,f);let h,d,m,g,E;switch(s){case">":h=a;d=c;m=u;g=">";E=">=";break;case"<":h=u;d=p;m=a;g="<";E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(l(e,t,f)){return false}for(let s=0;s{if(e.semver===o){e=new n(">=0.0.0")}i=i||e;l=l||e;if(h(e.semver,i.semver,f)){i=e}else if(m(e.semver,l.semver,f)){l=e}}));if(i.operator===g||i.operator===E){return false}if((!l.operator||l.operator===g)&&d(e,l.semver)){return false}else if(l.operator===E&&m(e,l.semver)){return false}}return true};e.exports=outside},843:(e,t,s)=>{const r=s(3027);const n=s(9433);e.exports=(e,t,s)=>{const o=[];let i=null;let l=null;const a=e.sort(((e,t)=>n(e,t,s)));for(const e of a){const n=r(e,t,s);if(n){l=e;if(!i){i=e}}else{if(l){o.push([i,l])}l=null;i=null}}if(i){o.push([i,null])}const u=[];for(const[e,t]of o){if(e===t){u.push(e)}else if(!t&&e===a[0]){u.push("*")}else if(!t){u.push(`>=${e}`)}else if(e===a[0]){u.push(`<=${t}`)}else{u.push(`${e} - ${t}`)}}const c=u.join(" || ");const p=typeof t.raw==="string"?t.raw:String(t);return c.length{const r=s(7012);const n=s(1685);const{ANY:o}=n;const i=s(3027);const l=s(9433);const subset=(e,t,s={})=>{if(e===t){return true}e=new r(e,s);t=new r(t,s);let n=false;e:for(const r of e.set){for(const e of t.set){const t=simpleSubset(r,e,s);n=n||t!==null;if(t){continue e}}if(n){return false}}return true};const simpleSubset=(e,t,s)=>{if(e===t){return true}if(e.length===1&&e[0].semver===o){if(t.length===1&&t[0].semver===o){return true}else if(s.includePrerelease){e=[new n(">=0.0.0-0")]}else{e=[new n(">=0.0.0")]}}if(t.length===1&&t[0].semver===o){if(s.includePrerelease){return true}else{t=[new n(">=0.0.0")]}}const r=new Set;let a,u;for(const t of e){if(t.operator===">"||t.operator===">="){a=higherGT(a,t,s)}else if(t.operator==="<"||t.operator==="<="){u=lowerLT(u,t,s)}else{r.add(t.semver)}}if(r.size>1){return null}let c;if(a&&u){c=l(a.semver,u.semver,s);if(c>0){return null}else if(c===0&&(a.operator!==">="||u.operator!=="<=")){return null}}for(const e of r){if(a&&!i(e,String(a),s)){return null}if(u&&!i(e,String(u),s)){return null}for(const r of t){if(!i(e,String(r),s)){return false}}return true}let p,f;let h,d;let m=u&&!s.includePrerelease&&u.semver.prerelease.length?u.semver:false;let g=a&&!s.includePrerelease&&a.semver.prerelease.length?a.semver:false;if(m&&m.prerelease.length===1&&u.operator==="<"&&m.prerelease[0]===0){m=false}for(const e of t){d=d||e.operator===">"||e.operator===">=";h=h||e.operator==="<"||e.operator==="<=";if(a){if(g){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch){g=false}}if(e.operator===">"||e.operator===">="){p=higherGT(a,e,s);if(p===e&&p!==a){return false}}else if(a.operator===">="&&!i(a.semver,String(e),s)){return false}}if(u){if(m){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===m.major&&e.semver.minor===m.minor&&e.semver.patch===m.patch){m=false}}if(e.operator==="<"||e.operator==="<="){f=lowerLT(u,e,s);if(f===e&&f!==u){return false}}else if(u.operator==="<="&&!i(u.semver,String(e),s)){return false}}if(!e.operator&&(u||a)&&c!==0){return false}}if(a&&h&&!u&&c!==0){return false}if(u&&d&&!a&&c!==0){return false}if(g||m){return false}return true};const higherGT=(e,t,s)=>{if(!e){return t}const r=l(e.semver,t.semver,s);return r>0?e:r<0?t:t.operator===">"&&e.operator===">="?t:e};const lowerLT=(e,t,s)=>{if(!e){return t}const r=l(e.semver,t.semver,s);return r<0?e:r>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=subset},7564:(e,t,s)=>{const r=s(7012);const toComparators=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")));e.exports=toComparators},4764:(e,t,s)=>{const r=s(7012);const validRange=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}};e.exports=validRange},6077:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next){yield e.value}}}},605:(e,t,s)=>{"use strict";e.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(e){var t=this;if(!(t instanceof Yallist)){t=new Yallist}t.tail=null;t.head=null;t.length=0;if(e&&typeof e.forEach==="function"){e.forEach((function(e){t.push(e)}))}else if(arguments.length>0){for(var s=0,r=arguments.length;s1){s=t}else if(this.head){r=this.head.next;s=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var n=0;r!==null;n++){s=e(s,r.value,n);r=r.next}return s};Yallist.prototype.reduceReverse=function(e,t){var s;var r=this.tail;if(arguments.length>1){s=t}else if(this.tail){r=this.tail.prev;s=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var n=this.length-1;r!==null;n--){s=e(s,r.value,n);r=r.prev}return s};Yallist.prototype.toArray=function(){var e=new Array(this.length);for(var t=0,s=this.head;s!==null;t++){e[t]=s.value;s=s.next}return e};Yallist.prototype.toArrayReverse=function(){var e=new Array(this.length);for(var t=0,s=this.tail;s!==null;t++){e[t]=s.value;s=s.prev}return e};Yallist.prototype.slice=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var s=new Yallist;if(tthis.length){t=this.length}for(var r=0,n=this.head;n!==null&&rthis.length){t=this.length}for(var r=this.length,n=this.tail;n!==null&&r>t;r--){n=n.prev}for(;n!==null&&r>e;r--,n=n.prev){s.push(n.value)}return s};Yallist.prototype.splice=function(e,t,...s){if(e>this.length){e=this.length-1}if(e<0){e=this.length+e}for(var r=0,n=this.head;n!==null&&r{"use strict";e.exports=require("../icss-utils")},8749:e=>{"use strict";e.exports=require("../postcss-modules-extract-imports")},3552:e=>{"use strict";e.exports=require("../postcss-modules-local-by-default")},7898:e=>{"use strict";e.exports=require("../postcss-modules-scope")},7193:e=>{"use strict";e.exports=require("../postcss-modules-values")},1017:e=>{"use strict";e.exports=require("path")},977:e=>{"use strict";e.exports=require("postcss")},7310:e=>{"use strict";e.exports=require("url")},9469:e=>{"use strict";e.exports=JSON.parse('{"title":"CSS Loader options","additionalProperties":false,"properties":{"url":{"description":"Allows to enables/disables `url()`/`image-set()` functions handling.","link":"https://github.com/webpack-contrib/css-loader#url","anyOf":[{"type":"boolean"},{"type":"object","properties":{"filter":{"instanceof":"Function"}},"additionalProperties":false}]},"import":{"description":"Allows to enables/disables `@import` at-rules handling.","link":"https://github.com/webpack-contrib/css-loader#import","anyOf":[{"type":"boolean"},{"type":"object","properties":{"filter":{"instanceof":"Function"}},"additionalProperties":false}]},"modules":{"description":"Allows to enable/disable CSS Modules or ICSS and setup configuration.","link":"https://github.com/webpack-contrib/css-loader#modules","anyOf":[{"type":"boolean"},{"enum":["local","global","pure","icss"]},{"type":"object","additionalProperties":false,"properties":{"auto":{"description":"Allows auto enable CSS modules based on filename.","link":"https://github.com/webpack-contrib/css-loader#auto","anyOf":[{"instanceof":"RegExp"},{"instanceof":"Function"},{"type":"boolean"}]},"mode":{"description":"Setup `mode` option.","link":"https://github.com/webpack-contrib/css-loader#mode","anyOf":[{"enum":["local","global","pure","icss"]},{"instanceof":"Function"}]},"localIdentName":{"description":"Allows to configure the generated local ident name.","link":"https://github.com/webpack-contrib/css-loader#localidentname","type":"string","minLength":1},"localIdentContext":{"description":"Allows to redefine basic loader context for local ident name.","link":"https://github.com/webpack-contrib/css-loader#localidentcontext","type":"string","minLength":1},"localIdentHashSalt":{"description":"Allows to add custom hash to generate more unique classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashsalt","type":"string","minLength":1},"localIdentHashFunction":{"description":"Allows to specify hash function to generate classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashfunction","type":"string","minLength":1},"localIdentHashDigest":{"description":"Allows to specify hash digest to generate classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashdigest","type":"string","minLength":1},"localIdentHashDigestLength":{"description":"Allows to specify hash digest length to generate classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashdigestlength","type":"number"},"hashStrategy":{"description":"Allows to specify should localName be used when computing the hash.","link":"https://github.com/webpack-contrib/css-loader#hashstrategy","enum":["resource-path-and-local-name","minimal-subset"]},"localIdentRegExp":{"description":"Allows to specify custom RegExp for local ident name.","link":"https://github.com/webpack-contrib/css-loader#localidentregexp","anyOf":[{"type":"string","minLength":1},{"instanceof":"RegExp"}]},"getLocalIdent":{"description":"Allows to specify a function to generate the classname.","link":"https://github.com/webpack-contrib/css-loader#getlocalident","instanceof":"Function"},"namedExport":{"description":"Enables/disables ES modules named export for locals.","link":"https://github.com/webpack-contrib/css-loader#namedexport","type":"boolean"},"exportGlobals":{"description":"Allows to export names from global class or id, so you can use that as local name.","link":"https://github.com/webpack-contrib/css-loader#exportglobals","type":"boolean"},"exportLocalsConvention":{"description":"Style of exported classnames.","link":"https://github.com/webpack-contrib/css-loader#localsconvention","anyOf":[{"enum":["asIs","camelCase","camelCaseOnly","dashes","dashesOnly"]},{"instanceof":"Function"}]},"exportOnlyLocals":{"description":"Export only locals.","link":"https://github.com/webpack-contrib/css-loader#exportonlylocals","type":"boolean"}}}]},"sourceMap":{"description":"Allows to enable/disable source maps.","link":"https://github.com/webpack-contrib/css-loader#sourcemap","type":"boolean"},"importLoaders":{"description":"Allows enables/disables or setups number of loaders applied before CSS loader for `@import`/CSS Modules and ICSS imports.","link":"https://github.com/webpack-contrib/css-loader#importloaders","anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}]},"esModule":{"description":"Use the ES modules syntax.","link":"https://github.com/webpack-contrib/css-loader#esmodule","type":"boolean"},"exportType":{"description":"Allows exporting styles as array with modules, string or constructable stylesheet (i.e. `CSSStyleSheet`).","link":"https://github.com/webpack-contrib/css-loader#exporttype","enum":["array","string","css-style-sheet"]}},"type":"object"}')},1704:e=>{"use strict";e.exports=JSON.parse('{"name":"postcss","version":"8.4.27","description":"Tool for transforming styles with JS plugins","engines":{"node":"^10 || ^12 || >=14"},"exports":{".":{"require":"./lib/postcss.js","import":"./lib/postcss.mjs"},"./lib/at-rule":"./lib/at-rule.js","./lib/comment":"./lib/comment.js","./lib/container":"./lib/container.js","./lib/css-syntax-error":"./lib/css-syntax-error.js","./lib/declaration":"./lib/declaration.js","./lib/fromJSON":"./lib/fromJSON.js","./lib/input":"./lib/input.js","./lib/lazy-result":"./lib/lazy-result.js","./lib/no-work-result":"./lib/no-work-result.js","./lib/list":"./lib/list.js","./lib/map-generator":"./lib/map-generator.js","./lib/node":"./lib/node.js","./lib/parse":"./lib/parse.js","./lib/parser":"./lib/parser.js","./lib/postcss":"./lib/postcss.js","./lib/previous-map":"./lib/previous-map.js","./lib/processor":"./lib/processor.js","./lib/result":"./lib/result.js","./lib/root":"./lib/root.js","./lib/rule":"./lib/rule.js","./lib/stringifier":"./lib/stringifier.js","./lib/stringify":"./lib/stringify.js","./lib/symbols":"./lib/symbols.js","./lib/terminal-highlight":"./lib/terminal-highlight.js","./lib/tokenize":"./lib/tokenize.js","./lib/warn-once":"./lib/warn-once.js","./lib/warning":"./lib/warning.js","./package.json":"./package.json"},"main":"./lib/postcss.js","types":"./lib/postcss.d.ts","keywords":["css","postcss","rework","preprocessor","parser","source map","transform","manipulation","transpiler"],"funding":[{"type":"opencollective","url":"https://opencollective.com/postcss/"},{"type":"tidelift","url":"https://tidelift.com/funding/github/npm/postcss"},{"type":"github","url":"https://github.com/sponsors/ai"}],"author":"Andrey Sitnik ","license":"MIT","homepage":"https://postcss.org/","repository":"postcss/postcss","bugs":{"url":"https://github.com/postcss/postcss/issues"},"dependencies":{"nanoid":"^3.3.6","picocolors":"^1.0.0","source-map-js":"^1.0.2"},"browser":{"./lib/terminal-highlight":false,"source-map-js":false,"path":false,"url":false,"fs":false}}')}};var t={};function __nccwpck_require__(s){var r=t[s];if(r!==undefined){return r.exports}var n=t[s]={exports:{}};var o=true;try{e[s](n,n.exports,__nccwpck_require__);o=false}finally{if(o)delete t[s]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var s=__nccwpck_require__(5764);module.exports=s})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/css-loader/license b/packages/builder/builder-shared/compiled/css-loader/license deleted file mode 100644 index 8c11fc7289b7..000000000000 --- a/packages/builder/builder-shared/compiled/css-loader/license +++ /dev/null @@ -1,20 +0,0 @@ -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/css-loader/noSourceMaps.js b/packages/builder/builder-shared/compiled/css-loader/noSourceMaps.js deleted file mode 100644 index 9e967aa17244..000000000000 --- a/packages/builder/builder-shared/compiled/css-loader/noSourceMaps.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -module.exports = function (i) { - return i[1]; -}; \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/css-loader/package.json b/packages/builder/builder-shared/compiled/css-loader/package.json deleted file mode 100644 index b3eab5c91798..000000000000 --- a/packages/builder/builder-shared/compiled/css-loader/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"css-loader","author":"Tobias Koppers @sokra","version":"6.7.1","funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/css-loader/sourceMaps.js b/packages/builder/builder-shared/compiled/css-loader/sourceMaps.js deleted file mode 100644 index fb96ae5c7f8e..000000000000 --- a/packages/builder/builder-shared/compiled/css-loader/sourceMaps.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; - -module.exports = function (item) { - var content = item[1]; - var cssMapping = item[3]; - - if (!cssMapping) { - return content; - } - - if (typeof btoa === "function") { - var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping)))); - var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64); - var sourceMapping = "/*# ".concat(data, " */"); - var sourceURLs = cssMapping.sources.map(function (source) { - return "/*# sourceURL=".concat(cssMapping.sourceRoot || "").concat(source, " */"); - }); - return [content].concat(sourceURLs).concat([sourceMapping]).join("\n"); - } - - return [content].join("\n"); -}; \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/file-loader/index.d.ts b/packages/builder/builder-shared/compiled/file-loader/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/file-loader/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/file-loader/index.js b/packages/builder/builder-shared/compiled/file-loader/index.js deleted file mode 100644 index 22d7fbc0d067..000000000000 --- a/packages/builder/builder-shared/compiled/file-loader/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e={100:(e,t,i)=>{const r=i(907);e.exports=r.default;e.exports.raw=r.raw},907:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=loader;t.raw=void 0;var r=_interopRequireDefault(i(17));var o=i(300);var a=i(739);var n=_interopRequireDefault(i(493));var s=i(489);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function loader(e){const t=(0,o.getOptions)(this);(0,a.validate)(n.default,t,{name:"File Loader",baseDataPath:"options"});const i=t.context||this.rootContext;const p=t.name||"[contenthash].[ext]";const u=(0,o.interpolateName)(this,p,{context:i,content:e,regExp:t.regExp});let l=u;if(t.outputPath){if(typeof t.outputPath==="function"){l=t.outputPath(u,this.resourcePath,i)}else{l=r.default.posix.join(t.outputPath,u)}}let c=`__webpack_public_path__ + ${JSON.stringify(l)}`;if(t.publicPath){if(typeof t.publicPath==="function"){c=t.publicPath(u,this.resourcePath,i)}else{c=`${t.publicPath.endsWith("/")?t.publicPath:`${t.publicPath}/`}${u}`}c=JSON.stringify(c)}if(t.postTransformPublicPath){c=t.postTransformPublicPath(c)}if(typeof t.emitFile==="undefined"||t.emitFile){const t={};if(typeof p==="string"){let e=p;const i=e.indexOf("?");if(i>=0){e=e.substr(0,i)}const r=/\[([^:\]]+:)?(hash|contenthash)(:[^\]]+)?]/gi.test(e);if(r===true){t.immutable=true}}t.sourceFilename=(0,s.normalizePath)(r.default.relative(this.rootContext,this.resourcePath));this.emitFile(l,e,null,t)}const f=typeof t.esModule!=="undefined"?t.esModule:true;return`${f?"export default":"module.exports ="} ${c};`}const p=true;t.raw=p},489:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.normalizePath=normalizePath;function normalizePath(e,t){if(e==="\\"||e==="/"){return"/"}const i=e.length;if(i<=1){return e}let r="";if(i>4&&e[3]==="\\"){const t=e[2];if((t==="?"||t===".")&&e.slice(0,2)==="\\\\"){e=e.slice(2);r="//"}}const o=e.split(/[/\\]+/);if(t!==false&&o[o.length-1]===""){o.pop()}return r+o.join("/")}},300:e=>{e.exports=require("../loader-utils2")},739:e=>{e.exports=require("../schema-utils3")},17:e=>{e.exports=require("path")},493:e=>{e.exports=JSON.parse('{"additionalProperties":true,"properties":{"name":{"description":"The filename template for the target file(s) (https://github.com/webpack-contrib/file-loader#name).","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"outputPath":{"description":"A filesystem path where the target file(s) will be placed (https://github.com/webpack-contrib/file-loader#outputpath).","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"publicPath":{"description":"A custom public path for the target file(s) (https://github.com/webpack-contrib/file-loader#publicpath).","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"postTransformPublicPath":{"description":"A custom transformation function for post-processing the publicPath (https://github.com/webpack-contrib/file-loader#posttransformpublicpath).","instanceof":"Function"},"context":{"description":"A custom file context (https://github.com/webpack-contrib/file-loader#context).","type":"string"},"emitFile":{"description":"Enables/Disables emit files (https://github.com/webpack-contrib/file-loader#emitfile).","type":"boolean"},"regExp":{"description":"A Regular Expression to one or many parts of the target file path. The capture groups can be reused in the name property using [N] placeholder (https://github.com/webpack-contrib/file-loader#regexp).","anyOf":[{"type":"string"},{"instanceof":"RegExp"}]},"esModule":{"description":"By default, file-loader generates JS modules that use the ES modules syntax.","type":"boolean"}},"type":"object"}')}};var t={};function __nccwpck_require__(i){var r=t[i];if(r!==undefined){return r.exports}var o=t[i]={exports:{}};var a=true;try{e[i](o,o.exports,__nccwpck_require__);a=false}finally{if(a)delete t[i]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var i=__nccwpck_require__(100);module.exports=i})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/file-loader/license b/packages/builder/builder-shared/compiled/file-loader/license deleted file mode 100644 index 8c11fc7289b7..000000000000 --- a/packages/builder/builder-shared/compiled/file-loader/license +++ /dev/null @@ -1,20 +0,0 @@ -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/file-loader/package.json b/packages/builder/builder-shared/compiled/file-loader/package.json deleted file mode 100644 index 3217915bc220..000000000000 --- a/packages/builder/builder-shared/compiled/file-loader/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"file-loader","author":"Tobias Koppers @sokra","version":"6.2.0","funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/icss-utils/index.d.ts b/packages/builder/builder-shared/compiled/icss-utils/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/icss-utils/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/icss-utils/index.js b/packages/builder/builder-shared/compiled/icss-utils/index.js deleted file mode 100644 index c059c4276889..000000000000 --- a/packages/builder/builder-shared/compiled/icss-utils/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={555:e=>{const createImports=(e,r,t="rule")=>Object.keys(e).map((s=>{const o=e[s];const a=Object.keys(o).map((e=>r.decl({prop:e,value:o[e],raws:{before:"\n "}})));const n=a.length>0;const c=t==="rule"?r.rule({selector:`:import('${s}')`,raws:{after:n?"\n":""}}):r.atRule({name:"icss-import",params:`'${s}'`,raws:{after:n?"\n":""}});if(n){c.append(a)}return c}));const createExports=(e,r,t="rule")=>{const s=Object.keys(e).map((t=>r.decl({prop:t,value:e[t],raws:{before:"\n "}})));if(s.length===0){return[]}const o=t==="rule"?r.rule({selector:`:export`,raws:{after:"\n"}}):r.atRule({name:"icss-export",raws:{after:"\n"}});o.append(s);return[o]};const createICSSRules=(e,r,t,s)=>[...createImports(e,t,s),...createExports(r,t,s)];e.exports=createICSSRules},553:e=>{const r=/^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/;const t=/^("[^"]*"|'[^']*'|[^"']+)$/;const getDeclsObject=e=>{const r={};e.walkDecls((e=>{const t=e.raws.before?e.raws.before.trim():"";r[t+e.prop]=e.value}));return r};const extractICSS=(e,s=true,o="auto")=>{const a={};const n={};function addImports(e,r){const t=r.replace(/'|"/g,"");a[t]=Object.assign(a[t]||{},getDeclsObject(e));if(s){e.remove()}}function addExports(e){Object.assign(n,getDeclsObject(e));if(s){e.remove()}}e.each((e=>{if(e.type==="rule"&&o!=="at-rule"){if(e.selector.slice(0,7)===":import"){const t=r.exec(e.selector);if(t){addImports(e,t[1])}}if(e.selector===":export"){addExports(e)}}if(e.type==="atrule"&&o!=="rule"){if(e.name==="icss-import"){const r=t.exec(e.params);if(r){addImports(e,r[1])}}if(e.name==="icss-export"){addExports(e)}}}));return{icssImports:a,icssExports:n}};e.exports=extractICSS},10:(e,r,t)=>{const s=t(748);const o=t(399);const a=t(553);const n=t(555);e.exports={replaceValueSymbols:s,replaceSymbols:o,extractICSS:a,createICSSRules:n}},399:(e,r,t)=>{const s=t(748);const replaceSymbols=(e,r)=>{e.walk((e=>{if(e.type==="decl"&&e.value){e.value=s(e.value.toString(),r)}else if(e.type==="rule"&&e.selector){e.selector=s(e.selector.toString(),r)}else if(e.type==="atrule"&&e.params){e.params=s(e.params.toString(),r)}}))};e.exports=replaceSymbols},748:e=>{const r=/[$]?[\w-]+/g;const replaceValueSymbols=(e,t)=>{let s;while(s=r.exec(e)){const o=t[s[0]];if(o){e=e.slice(0,s.index)+o+e.slice(r.lastIndex);r.lastIndex-=s[0].length-o.length}}return e};e.exports=replaceValueSymbols}};var r={};function __nccwpck_require__(t){var s=r[t];if(s!==undefined){return s.exports}var o=r[t]={exports:{}};var a=true;try{e[t](o,o.exports,__nccwpck_require__);a=false}finally{if(a)delete r[t]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(10);module.exports=t})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/icss-utils/package.json b/packages/builder/builder-shared/compiled/icss-utils/package.json deleted file mode 100644 index 2cf109410488..000000000000 --- a/packages/builder/builder-shared/compiled/icss-utils/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"icss-utils","author":"Glen Maddern","version":"5.1.0","license":"ISC","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/less-loader/index.d.ts b/packages/builder/builder-shared/compiled/less-loader/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/less-loader/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/less-loader/index.js b/packages/builder/builder-shared/compiled/less-loader/index.js deleted file mode 100644 index ab89e29851d0..000000000000 --- a/packages/builder/builder-shared/compiled/less-loader/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={195:(e,t)=>{function set(e,t,r){if(typeof r.value==="object")r.value=klona(r.value);if(!r.enumerable||r.get||r.set||!r.configurable||!r.writable||t==="__proto__"){Object.defineProperty(e,t,r)}else e[t]=r.value}function klona(e){if(typeof e!=="object")return e;var t=0,r,n,s,o=Object.prototype.toString.call(e);if(o==="[object Object]"){s=Object.create(e.__proto__||null)}else if(o==="[object Array]"){s=Array(e.length)}else if(o==="[object Set]"){s=new Set;e.forEach((function(e){s.add(klona(e))}))}else if(o==="[object Map]"){s=new Map;e.forEach((function(e,t){s.set(klona(t),klona(e))}))}else if(o==="[object Date]"){s=new Date(+e)}else if(o==="[object RegExp]"){s=new RegExp(e.source,e.flags)}else if(o==="[object DataView]"){s=new e.constructor(klona(e.buffer))}else if(o==="[object ArrayBuffer]"){s=e.slice(0)}else if(o.slice(-6)==="Array]"){s=new e.constructor(e)}if(s){for(n=Object.getOwnPropertySymbols(e);t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(17));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class LessError extends Error{constructor(e){super();this.message=["\n",...LessError.getFileExcerptIfPossible(e),e.message.charAt(0).toUpperCase()+e.message.slice(1),e.filename?` Error in ${n.default.normalize(e.filename)} (line ${e.line}, column ${e.column})`:""].join("\n");this.hideStack=true}static getFileExcerptIfPossible(e){if(typeof e.extract==="undefined"){return[]}const t=e.extract.slice(0,2);const r=Math.max(e.column-1,0);if(typeof t[0]==="undefined"){t.shift()}t.push(`${new Array(r).join(" ")}^`);return t}}var s=LessError;t["default"]=s},362:(e,t,r)=>{"use strict";e.exports=r(848)["default"]},848:(e,t,r)=>{"use strict";var n;n={value:true};t["default"]=void 0;var s=_interopRequireDefault(r(17));var o=_interopRequireDefault(r(32));var i=r(204);var a=_interopRequireDefault(r(410));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function lessLoader(e){const t=this.getOptions(o.default);const r=this.async();const n=(0,i.getLessImplementation)(this,t.implementation);if(!n){r(new Error(`The Less implementation "${t.implementation}" not found`));return}const l=(0,i.getLessOptions)(this,t,n);const c=typeof t.sourceMap==="boolean"?t.sourceMap:this.sourceMap;if(c){l.sourceMap={outputSourceFiles:true}}let u=e;if(typeof t.additionalData!=="undefined"){u=typeof t.additionalData==="function"?`${await t.additionalData(u,this)}`:`${t.additionalData}\n${u}`}const p=this.getLogger("less-loader");const f={error(e){p.error(e)},warn(e){p.warn(e)},info(e){p.log(e)},debug(e){p.debug(e)}};n.logger.addListener(f);let d;try{d=await n.render(u,l)}catch(e){if(e.filename){this.addDependency(s.default.normalize(e.filename))}r(new a.default(e));return}finally{n.logger.removeListener(f);delete l.pluginManager.webpackLoaderContext;delete l.pluginManager}const{css:m,imports:b}=d;b.forEach((e=>{if((0,i.isUnsupportedUrl)(e)){return}const t=s.default.normalize(e);if(s.default.isAbsolute(t)){this.addDependency(t)}}));let g=typeof d.map==="string"?JSON.parse(d.map):d.map;if(g&&c){g=(0,i.normalizeSourceMap)(g,this.rootContext)}r(null,m,g)}var l=lessLoader;t["default"]=l},204:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getLessImplementation=getLessImplementation;t.getLessOptions=getLessOptions;t.isUnsupportedUrl=isUnsupportedUrl;t.normalizeSourceMap=normalizeSourceMap;var n=_interopRequireDefault(r(17));var s=r(195);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=/[/\\]$/;const i=/^~[^/]+$/;const a=/^[a-z]:[/\\]|^\\\\/i;const l=/^~([^/]+|[^/]+\/|@[^/]+[/][^/]+|@[^/]+\/?|@[^/]+[/][^/]+\/)$/;const c=/^[^?]*~/;function createWebpackLessPlugin(e,t){const r=e.getResolve({dependencyType:"less",conditionNames:["less","style"],mainFields:["less","style","main","..."],mainFiles:["index","..."],extensions:[".less",".css"],preferRelative:true});class WebpackFileManager extends t.FileManager{supports(e){if(e[0]==="/"||a.test(e)){return true}if(this.isPathAbsolute(e)){return false}return true}supportsSync(){return false}async resolveFilename(e,t){const r=t.replace(o,"");let n=e;if(c.test(e)){n=n.replace(c,"")}if(l.test(e)){n=n[n.length-1]==="/"?n:`${n}/`}return this.resolveRequests(r,[...new Set([n,e])])}async resolveRequests(e,t){if(t.length===0){return Promise.reject()}let n;try{n=await r(e,t[0])}catch(r){const[,...s]=t;if(s.length===0){throw r}n=await this.resolveRequests(e,s)}return n}async loadFile(t,...r){let s;try{if(i.test(t)){const e=new Error;e.type="Next";throw e}s=await super.loadFile(t,...r)}catch(n){if(n.type!=="File"&&n.type!=="Next"){return Promise.reject(n)}try{s=await this.resolveFilename(t,...r)}catch(e){n.message=`Less resolver error:\n${n.message}\n\n`+`Webpack resolver error details:\n${e.details}\n\n`+`Webpack resolver error missing:\n${e.missing}\n\n`;return Promise.reject(n)}e.addDependency(s);return super.loadFile(s,...r)}e.addDependency(n.default.normalize(s.filename));return s}}return{install(e,t){t.addFileManager(new WebpackFileManager)},minVersion:[3,0,0]}}function getLessOptions(e,t,r){const n=(0,s.klona)(typeof t.lessOptions==="function"?t.lessOptions(e)||{}:t.lessOptions||{});const o={plugins:[],relativeUrls:true,filename:e.resourcePath,...n};const i=typeof t.webpackImporter==="boolean"?t.webpackImporter:true;if(i){o.plugins.unshift(createWebpackLessPlugin(e,r))}o.plugins.unshift({install(t,r){r.webpackLoaderContext=e;o.pluginManager=r}});return o}function isUnsupportedUrl(e){if(a.test(e)){return false}return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e)}function normalizeSourceMap(e){const t=e;delete t.file;t.sourceRoot="";t.sources=t.sources.map((e=>n.default.normalize(e)));return t}function getLessImplementation(e,t){let r=t;if(!t||typeof t==="string"){const n=t||"less";try{r=require(n)}catch(t){e.emitError(t);return}}return r}},17:e=>{"use strict";e.exports=require("path")},32:e=>{"use strict";e.exports=JSON.parse('{"title":"Less Loader options","type":"object","properties":{"lessOptions":{"description":"Options to pass through to `Less`.","link":"https://github.com/webpack-contrib/less-loader#lessoptions","anyOf":[{"type":"object","additionalProperties":true},{"instanceof":"Function"}]},"additionalData":{"description":"Prepends/Appends `Less` code to the actual entry file.","link":"https://github.com/webpack-contrib/less-loader#additionalData","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack-contrib/less-loader#sourcemap","type":"boolean"},"webpackImporter":{"description":"Enables/Disables default `webpack` importer.","link":"https://github.com/webpack-contrib/less-loader#webpackimporter","type":"boolean"},"implementation":{"description":"The implementation of the `Less` to be used.","link":"https://github.com/webpack-contrib/less-loader#implementation","anyOf":[{"type":"string"},{"type":"object"}]}},"additionalProperties":false}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={exports:{}};var o=true;try{e[r](s,s.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(362);module.exports=r})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/less-loader/license b/packages/builder/builder-shared/compiled/less-loader/license deleted file mode 100755 index 8c11fc7289b7..000000000000 --- a/packages/builder/builder-shared/compiled/less-loader/license +++ /dev/null @@ -1,20 +0,0 @@ -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/less-loader/package.json b/packages/builder/builder-shared/compiled/less-loader/package.json deleted file mode 100644 index 1b014f5b7498..000000000000 --- a/packages/builder/builder-shared/compiled/less-loader/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"less-loader","author":"Johannes Ewald @jhnns","version":"11.0.0","funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/less/index.d.ts b/packages/builder/builder-shared/compiled/less/index.d.ts deleted file mode 100644 index c5a1343679ac..000000000000 --- a/packages/builder/builder-shared/compiled/less/index.d.ts +++ /dev/null @@ -1,282 +0,0 @@ -// Type definitions for LESS 3.x -// Project: http://lesscss.org/ -// Definitions by: Tom Hasner -// Pranay Prakash -// Daniel Waxweiler -// Richard Lea -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -declare namespace Less { - // https://github.com/less/less.js/blob/master/lib/less/import-manager.js#L10 - interface RootFileInfo { - /** whether to adjust URL's to be relative */ - rewriteUrls?: boolean | undefined; - /** full resolved filename of current file */ - filename: string; - relativeUrls: boolean; - /** path to append to normal URLs for this node */ - rootpath: string; - /** path to the current file, absolute */ - currentDirectory: string; - /** absolute path to the entry file */ - entryPath: string; - /** filename of the base file */ - rootFilename: string; - /** whether the file should not be output and only output parts that are referenced */ - reference: boolean; - } - - class PluginManager { - constructor(less: LessStatic); - - addPreProcessor(preProcessor: PreProcessor, priority?: number): void; - - addFileManager(fileManager: FileManager): void; - } - - interface Plugin { - install: (less: LessStatic, pluginManager: PluginManager) => void; - minVersion?: [number, number, number] | undefined; - } - - interface PreProcessor { - process: (src: string, extra: PreProcessorExtraInfo) => string; - } - - interface PreProcessorExtraInfo { - context: { - pluginManager: PluginManager; - }; - - fileInfo: RootFileInfo; - - imports: { - [key: string]: any; - }; - } - - interface FileLoadResult { - /** Full resolved path to file. */ - filename: string; - - /** The contents of the file, as a string. */ - contents: string; - } - - interface FileLoadError { - /** Error object if an error occurs. */ - error: unknown; - } - - class FileManager extends AbstractFileManager { - /** - * Returns whether this file manager supports this file for file retrieval - * If true is returned, loadFile will then be called with the file. - */ - supports(filename: string, currentDirectory: string, options: LoadFileOptions, environment: Environment): boolean; - - /** - * Loads a file asynchronously. Expects a promise that either rejects with an error or fulfills with a FileLoadResult. - */ - loadFile(filename: string, currentDirectory: string, options: LoadFileOptions, environment: Environment): Promise; - - /** - * Loads a file synchronously. Expects an immediate return with wither a FileLoadResult or FileLoadError. - */ - loadFileSync(filename: string, currentDirectory: string, options: LoadFileOptions, environment: Environment): FileLoadResult | FileLoadError; - } - - class AbstractFileManager { - /** - * Given the full path to a file, return the path component. - */ - getPath(filename: string): string; - - /** - * Append a .less extension if appropriate. Only called if less thinks one could be added. - */ - tryAppendLessExtension(filename: string): string; - - /** - * Whether the rootpath should be converted to be absolute. - * The browser ovverides this to return true because urls must be absolute. - */ - alwaysMakePathsAbsolute(): boolean; - - /** - * Returns whether a path is absolute. - */ - isPathAbsolute(path: string): boolean; - - /** - * Joins together 2 paths. - */ - join(basePath: string, laterPath: string): string; - - /** - * Returns the difference between 2 paths - * E.g. url = a/ baseUrl = a/b/ returns ../ - * url = a/b/ baseUrl = a/ returns b/ - */ - pathDiff(url: string, baseUrl: string): string; - - /** - * Returns whether this file manager supports this file for syncronous file retrieval - * If true is returned, loadFileSync will then be called with the file. - */ - supportsSync(filename: string, currentDirectory: string, options: LoadFileOptions, environment: Environment): boolean; - } - - interface LoadFileOptions { - paths?: string[] | undefined; - prefixes?: string[] | undefined; - ext?: string | undefined; - rawBuffer?: any; - syncImport?: boolean | undefined; - } - - interface Environment { - /** - * Converts a string to a base 64 string - */ - encodeBase64(str: string): string; - - /** - * Lookup the mime-type of a filename - */ - mimeLookup(filename: string): string; - - /** - * Look up the charset of a mime type - */ - charsetLookup(mime: string): string; - - /** - * Gets a source map generator - */ - getSourceMapGenerator(): any; - } - - interface SourceMapOption { - sourceMapURL?: string | undefined; - sourceMapBasepath?: string | undefined; - sourceMapRootpath?: string | undefined; - outputSourceFiles?: boolean | undefined; - sourceMapFileInline?: boolean | undefined; - } - - interface StaticOptions { - async: boolean; - fileAsync: boolean; - modifyVars: { [variable: string]: string }; - } - - interface ImportManager { - contents: { [fileName: string]: string }; - } - - /** - * Reference to: - * * https://github.com/less/less.js/blob/master/bin/lessc - * * http://lesscss.org/usage/#less-options - * - * @interface Options - */ - interface Options { - sourceMap?: SourceMapOption | undefined; - /** Filename of the main file to be passed to less.render() */ - filename?: string | undefined; - /** The locations for less looking for files in @import rules */ - paths?: string[] | undefined; - /** True, if run the less parser and just reports errors without any output. */ - lint?: boolean | undefined; - /** Pre-load global Less.js plugins */ - plugins?: Plugin[] | undefined; - /** @deprecated If true, compress using less built-in compression. */ - compress?: boolean | undefined; - strictImports?: boolean | undefined; - /** If true, allow imports from insecure https hosts. */ - insecure?: boolean | undefined; - depends?: boolean | undefined; - maxLineLen?: number | undefined; - /** @deprecated If false, No color in compiling. */ - color?: boolean | undefined; - /** @deprecated False by default. */ - ieCompat?: boolean | undefined; - /** @deprecated If true, enable evaluation of JavaScript inline in `.less` files. */ - javascriptEnabled?: boolean | undefined; - /** Whether output file information and line numbers in compiled CSS code. */ - dumpLineNumbers?: "comment" | string | undefined; - /** Add a path to every generated import and url in output css files. */ - rootpath?: string | undefined; - /** Math mode options for avoiding symbol conficts on math expressions. */ - math?: 'always' | 'strict' | 'parens-division' | 'parens' | 'strict-legacy' | number | undefined; - /** If true, stops any warnings from being shown. */ - silent?: boolean | undefined; - /** Without this option, Less attempts to guess at the output unit when it does maths. */ - strictUnits?: boolean | undefined; - /** Defines a variable that can be referenced by the file. */ - globalVars?: { - [key: string] : string, - } | undefined; - /** Puts Var declaration at the end of base file. */ - modifyVars?: { - [key: string] : string, - } | undefined; - /** Read files synchronously in Node.js */ - syncImport?: boolean | undefined; - } - - interface RenderError { - column: number; - extract: string[]; - filename: string; - index: number; - line: number; - message: string; - type: string; - } - - interface RenderOutput { - css: string; - map: string; - imports: string[]; - } - - interface RefreshOutput { - endTime: Date; - startTime: Date; - sheets: number; - totalMilliseconds: number; - } -} - -interface LessStatic { - options: Less.StaticOptions; - - importManager?: Less.ImportManager | undefined; - sheets: HTMLLinkElement[]; - - modifyVars(vars: { [name: string]: string }): Promise; - - refreshStyles(): void; - - render(input: string, callback: (error: Less.RenderError, output: Less.RenderOutput | undefined) => void): void; - render(input: string, options: Less.Options, callback: (error: Less.RenderError, output: Less.RenderOutput | undefined) => void): void; - - render(input: string): Promise; - render(input: string, options: Less.Options): Promise; - - refresh(reload?: boolean, modifyVars?: { [variable: string]: string }, clearFileCache?: boolean): Promise; - - version: number[]; - - watch(): void; - - FileManager: typeof Less.FileManager; - PluginManager: typeof Less.PluginManager; -} - -export = Less; - -declare var less: LessStatic; diff --git a/packages/builder/builder-shared/compiled/less/index.js b/packages/builder/builder-shared/compiled/less/index.js deleted file mode 100644 index f997f78a30cc..000000000000 --- a/packages/builder/builder-shared/compiled/less/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={8132:e=>{"use strict";e.exports=clone;var t=Object.getPrototypeOf||function(e){return e.__proto__};function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var i={__proto__:t(e)};else var i=Object.create(null);Object.getOwnPropertyNames(e).forEach((function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(e,t))}));return i}},8127:(e,t,i)=>{var r=i(7147);var n=i(2367);var a=i(7876);var o=i(8132);var s=i(3837);var l;var u;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){l=Symbol.for("graceful-fs.queue");u=Symbol.for("graceful-fs.previous")}else{l="___graceful-fs.queue";u="___graceful-fs.previous"}function noop(){}function publishQueue(e,t){Object.defineProperty(e,l,{get:function(){return t}})}var c=noop;if(s.debuglog)c=s.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))c=function(){var e=s.format.apply(s,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(!r[l]){var p=global[l]||[];publishQueue(r,p);r.close=function(e){function close(t,i){return e.call(r,t,(function(e){if(!e){resetQueue()}if(typeof i==="function")i.apply(this,arguments)}))}Object.defineProperty(close,u,{value:e});return close}(r.close);r.closeSync=function(e){function closeSync(t){e.apply(r,arguments);resetQueue()}Object.defineProperty(closeSync,u,{value:e});return closeSync}(r.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){c(r[l]);i(9491).equal(r[l].length,0)}))}}if(!global[l]){publishQueue(global,r[l])}e.exports=patch(o(r));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!r.__patched){e.exports=patch(r);r.__patched=true}function patch(e){n(e);e.gracefulify=patch;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,i,r){if(typeof i==="function")r=i,i=null;return go$readFile(e,i,r);function go$readFile(e,i,r,n){return t(e,i,(function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,i,r],t,n||Date.now(),Date.now()]);else{if(typeof r==="function")r.apply(this,arguments)}}))}}var i=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,r,n){if(typeof r==="function")n=r,r=null;return go$writeFile(e,t,r,n);function go$writeFile(e,t,r,n,a){return i(e,t,r,(function(i){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$writeFile,[e,t,r,n],i,a||Date.now(),Date.now()]);else{if(typeof n==="function")n.apply(this,arguments)}}))}}var r=e.appendFile;if(r)e.appendFile=appendFile;function appendFile(e,t,i,n){if(typeof i==="function")n=i,i=null;return go$appendFile(e,t,i,n);function go$appendFile(e,t,i,n,a){return r(e,t,i,(function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$appendFile,[e,t,i,n],r,a||Date.now(),Date.now()]);else{if(typeof n==="function")n.apply(this,arguments)}}))}}var o=e.copyFile;if(o)e.copyFile=copyFile;function copyFile(e,t,i,r){if(typeof i==="function"){r=i;i=0}return go$copyFile(e,t,i,r);function go$copyFile(e,t,i,r,n){return o(e,t,i,(function(a){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([go$copyFile,[e,t,i,r],a,n||Date.now(),Date.now()]);else{if(typeof r==="function")r.apply(this,arguments)}}))}}var s=e.readdir;e.readdir=readdir;var l=/^v[0-5]\./;function readdir(e,t,i){if(typeof t==="function")i=t,t=null;var r=l.test(process.version)?function go$readdir(e,t,i,r){return s(e,fs$readdirCallback(e,t,i,r))}:function go$readdir(e,t,i,r){return s(e,t,fs$readdirCallback(e,t,i,r))};return r(e,t,i);function fs$readdirCallback(e,t,i,n){return function(a,o){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([r,[e,t,i],a,n||Date.now(),Date.now()]);else{if(o&&o.sort)o.sort();if(typeof i==="function")i.call(this,a,o)}}}}if(process.version.substr(0,4)==="v0.8"){var u=a(e);ReadStream=u.ReadStream;WriteStream=u.WriteStream}var c=e.ReadStream;if(c){ReadStream.prototype=Object.create(c.prototype);ReadStream.prototype.open=ReadStream$open}var p=e.WriteStream;if(p){WriteStream.prototype=Object.create(p.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(e,"ReadStream",{get:function(){return ReadStream},set:function(e){ReadStream=e},enumerable:true,configurable:true});Object.defineProperty(e,"WriteStream",{get:function(){return WriteStream},set:function(e){WriteStream=e},enumerable:true,configurable:true});var d=ReadStream;Object.defineProperty(e,"FileReadStream",{get:function(){return d},set:function(e){d=e},enumerable:true,configurable:true});var h=WriteStream;Object.defineProperty(e,"FileWriteStream",{get:function(){return h},set:function(e){h=e},enumerable:true,configurable:true});function ReadStream(e,t){if(this instanceof ReadStream)return c.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,i){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=i;e.emit("open",i);e.read()}}))}function WriteStream(e,t){if(this instanceof WriteStream)return p.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,i){if(t){e.destroy();e.emit("error",t)}else{e.fd=i;e.emit("open",i)}}))}function createReadStream(t,i){return new e.ReadStream(t,i)}function createWriteStream(t,i){return new e.WriteStream(t,i)}var v=e.open;e.open=open;function open(e,t,i,r){if(typeof i==="function")r=i,i=null;return go$open(e,t,i,r);function go$open(e,t,i,r,n){return v(e,t,i,(function(a,o){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([go$open,[e,t,i,r],a,n||Date.now(),Date.now()]);else{if(typeof r==="function")r.apply(this,arguments)}}))}}return e}function enqueue(e){c("ENQUEUE",e[0].name,e[1]);r[l].push(e);retry()}var d;function resetQueue(){var e=Date.now();for(var t=0;t2){r[l][t][3]=e;r[l][t][4]=e}}retry()}function retry(){clearTimeout(d);d=undefined;if(r[l].length===0)return;var e=r[l].shift();var t=e[0];var i=e[1];var n=e[2];var a=e[3];var o=e[4];if(a===undefined){c("RETRY",t.name,i);t.apply(null,i)}else if(Date.now()-a>=6e4){c("TIMEOUT",t.name,i);var s=i.pop();if(typeof s==="function")s.call(null,n)}else{var u=Date.now()-o;var p=Math.max(o-a,1);var h=Math.min(p*1.2,100);if(u>=h){c("RETRY",t.name,i);t.apply(null,i.concat([a]))}else{r[l].push(e)}}if(d===undefined){d=setTimeout(retry,0)}}},7876:(e,t,i)=>{var r=i(2781).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,i){if(!(this instanceof ReadStream))return new ReadStream(t,i);r.call(this);var n=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;i=i||{};var a=Object.keys(i);for(var o=0,s=a.length;othis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){n._read()}));return}e.open(this.path,this.flags,this.mode,(function(e,t){if(e){n.emit("error",e);n.readable=false;return}n.fd=t;n.emit("open",t);n._read()}))}function WriteStream(t,i){if(!(this instanceof WriteStream))return new WriteStream(t,i);r.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;i=i||{};var n=Object.keys(i);for(var a=0,o=n.length;a= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},2367:(e,t,i)=>{var r=i(2057);var n=process.cwd;var a=null;var o=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!a)a=n.call(process);return a};try{process.cwd()}catch(e){}if(typeof process.chdir==="function"){var s=process.chdir;process.chdir=function(e){a=null;s.call(process,e)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,s)}e.exports=patch;function patch(e){if(r.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(e.chmod&&!e.lchmod){e.lchmod=function(e,t,i){if(i)process.nextTick(i)};e.lchmodSync=function(){}}if(e.chown&&!e.lchown){e.lchown=function(e,t,i,r){if(r)process.nextTick(r)};e.lchownSync=function(){}}if(o==="win32"){e.rename=typeof e.rename!=="function"?e.rename:function(t){function rename(i,r,n){var a=Date.now();var o=0;t(i,r,(function CB(s){if(s&&(s.code==="EACCES"||s.code==="EPERM")&&Date.now()-a<6e4){setTimeout((function(){e.stat(r,(function(e,a){if(e&&e.code==="ENOENT")t(i,r,CB);else n(s)}))}),o);if(o<100)o+=10;return}if(n)n(s)}))}if(Object.setPrototypeOf)Object.setPrototypeOf(rename,t);return rename}(e.rename)}e.read=typeof e.read!=="function"?e.read:function(t){function read(i,r,n,a,o,s){var l;if(s&&typeof s==="function"){var u=0;l=function(c,p,d){if(c&&c.code==="EAGAIN"&&u<10){u++;return t.call(e,i,r,n,a,o,l)}s.apply(this,arguments)}}return t.call(e,i,r,n,a,o,l)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,t);return read}(e.read);e.readSync=typeof e.readSync!=="function"?e.readSync:function(t){return function(i,r,n,a,o){var s=0;while(true){try{return t.call(e,i,r,n,a,o)}catch(e){if(e.code==="EAGAIN"&&s<10){s++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,i,n){e.open(t,r.O_WRONLY|r.O_SYMLINK,i,(function(t,r){if(t){if(n)n(t);return}e.fchmod(r,i,(function(t){e.close(r,(function(e){if(n)n(t||e)}))}))}))};e.lchmodSync=function(t,i){var n=e.openSync(t,r.O_WRONLY|r.O_SYMLINK,i);var a=true;var o;try{o=e.fchmodSync(n,i);a=false}finally{if(a){try{e.closeSync(n)}catch(e){}}else{e.closeSync(n)}}return o}}function patchLutimes(e){if(r.hasOwnProperty("O_SYMLINK")&&e.futimes){e.lutimes=function(t,i,n,a){e.open(t,r.O_SYMLINK,(function(t,r){if(t){if(a)a(t);return}e.futimes(r,i,n,(function(t){e.close(r,(function(e){if(a)a(t||e)}))}))}))};e.lutimesSync=function(t,i,n){var a=e.openSync(t,r.O_SYMLINK);var o;var s=true;try{o=e.futimesSync(a,i,n);s=false}finally{if(s){try{e.closeSync(a)}catch(e){}}else{e.closeSync(a)}}return o}}else if(e.futimes){e.lutimes=function(e,t,i,r){if(r)process.nextTick(r)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(i,r,n){return t.call(e,i,r,(function(e){if(chownErOk(e))e=null;if(n)n.apply(this,arguments)}))}}function chmodFixSync(t){if(!t)return t;return function(i,r){try{return t.call(e,i,r)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(i,r,n,a){return t.call(e,i,r,n,(function(e){if(chownErOk(e))e=null;if(a)a.apply(this,arguments)}))}}function chownFixSync(t){if(!t)return t;return function(i,r,n){try{return t.call(e,i,r,n)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(i,r,n){if(typeof r==="function"){n=r;r=null}function callback(e,t){if(t){if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296}if(n)n.apply(this,arguments)}return r?t.call(e,i,r,callback):t.call(e,i,callback)}}function statFixSync(t){if(!t)return t;return function(i,r){var n=r?t.call(e,i,r):t.call(e,i);if(n){if(n.uid<0)n.uid+=4294967296;if(n.gid<0)n.gid+=4294967296}return n}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},1658:(e,t,i)=>{function __ncc_wildcard$0(e){if(e==="bmp.js"||e==="bmp")return i(6714);else if(e==="dds.js"||e==="dds")return i(863);else if(e==="gif.js"||e==="gif")return i(4973);else if(e==="jpg.js"||e==="jpg")return i(2306);else if(e==="png.js"||e==="png")return i(6547);else if(e==="psd.js"||e==="psd")return i(6486);else if(e==="svg.js"||e==="svg")return i(6478);else if(e==="tiff.js"||e==="tiff")return i(3558);else if(e==="webp.js"||e==="webp")return i(3802)}"use strict";var r={};var n=i(8376);n.forEach((function(e){r[e]=__ncc_wildcard$0(e).detect}));e.exports=function(e,t){var i,n;for(i in r){n=r[i](e,t);if(n){return i}}}},7412:(e,t,i)=>{function __ncc_wildcard$0(e){if(e==="bmp.js"||e==="bmp")return i(6714);else if(e==="dds.js"||e==="dds")return i(863);else if(e==="gif.js"||e==="gif")return i(4973);else if(e==="jpg.js"||e==="jpg")return i(2306);else if(e==="png.js"||e==="png")return i(6547);else if(e==="psd.js"||e==="psd")return i(6486);else if(e==="svg.js"||e==="svg")return i(6478);else if(e==="tiff.js"||e==="tiff")return i(3558);else if(e==="webp.js"||e==="webp")return i(3802)}"use strict";var r=i(7147);var n=i(1017);var a=i(1658);var o={};var s=i(8376);s.forEach((function(e){o[e]=__ncc_wildcard$0(e)}));var l=128*1024;function lookup(e,t){var i=a(e,t);if(i in o){var r=o[i].calculate(e,t);if(r!==false){r.type=i;return r}}throw new TypeError("unsupported file type: "+i+" (file: "+t+")")}function asyncFileToBuffer(e,t){r.open(e,"r",(function(i,n){if(i){return t(i)}var a=r.fstatSync(n).size;if(a<=0){return t(new Error("File size is not greater than 0 —— "+e))}var o=Math.min(a,l);var s=new Buffer(o);r.read(n,s,0,o,0,(function(e){if(e){return t(e)}r.close(n,(function(e){t(e,s)}))}))}))}function syncFileToBuffer(e){var t=r.openSync(e,"r");var i=r.fstatSync(t).size;var n=Math.min(i,l);var a=new Buffer(n);r.readSync(t,a,0,n,0);r.closeSync(t);return a}e.exports=function(e,t){if(Buffer.isBuffer(e)){return lookup(e)}if(typeof e!=="string"){throw new TypeError("invalid invocation")}var i=n.resolve(e);if(typeof t==="function"){asyncFileToBuffer(i,(function(e,r){if(e){return t(e)}var n;try{n=lookup(r,i)}catch(t){e=t}t(e,n)}))}else{var r=syncFileToBuffer(i);return lookup(r,i)}};e.exports.types=s},3297:e=>{"use strict";function readUInt(e,t,i,r){i=i||0;var n=!!r?"BE":"LE";var a=e["readUInt"+t+n];return a.call(e,i)}e.exports=readUInt},8376:e=>{"use strict";e.exports=["bmp","gif","jpg","png","psd","svg","tiff","webp","dds"]},6714:e=>{"use strict";function isBMP(e){return"BM"===e.toString("ascii",0,2)}function calculate(e){return{width:e.readUInt32LE(18),height:Math.abs(e.readInt32LE(22))}}e.exports={detect:isBMP,calculate:calculate}},863:e=>{"use strict";function isDDS(e){return e.readUInt32LE(0)===542327876}function calculate(e){return{height:e.readUInt32LE(12),width:e.readUInt32LE(16)}}e.exports={detect:isDDS,calculate:calculate}},4973:e=>{"use strict";var t=/^GIF8[79]a/;function isGIF(e){var i=e.toString("ascii",0,6);return t.test(i)}function calculate(e){return{width:e.readUInt16LE(6),height:e.readUInt16LE(8)}}e.exports={detect:isGIF,calculate:calculate}},2306:e=>{"use strict";function isJPG(e){var t=e.toString("hex",0,2);return"ffd8"===t}function extractSize(e,t){return{height:e.readUInt16BE(t),width:e.readUInt16BE(t+2)}}function validateBuffer(e,t){if(t>e.length){throw new TypeError("Corrupt JPG, exceeded buffer limits")}if(e[t]!==255){throw new TypeError("Invalid JPG, marker table corrupted")}}function calculate(e){e=e.slice(4);var t,i;while(e.length){t=e.readUInt16BE(0);validateBuffer(e,t);i=e[t+1];if(i===192||i===193||i===194){return extractSize(e,t+5)}e=e.slice(t+2)}throw new TypeError("Invalid JPG, no size found")}e.exports={detect:isJPG,calculate:calculate}},6547:e=>{"use strict";var t="PNG\r\n\n";var i="IHDR";var r="CgBI";function isPNG(e){if(t===e.toString("ascii",1,8)){var n=e.toString("ascii",12,16);if(n===r){n=e.toString("ascii",28,32)}if(n!==i){throw new TypeError("invalid png")}return true}}function calculate(e){if(e.toString("ascii",12,16)===r){return{width:e.readUInt32BE(32),height:e.readUInt32BE(36)}}return{width:e.readUInt32BE(16),height:e.readUInt32BE(20)}}e.exports={detect:isPNG,calculate:calculate}},6486:e=>{"use strict";function isPSD(e){return"8BPS"===e.toString("ascii",0,4)}function calculate(e){return{width:e.readUInt32BE(18),height:e.readUInt32BE(14)}}e.exports={detect:isPSD,calculate:calculate}},6478:e=>{"use strict";var t=/]+[^>]*>/;function isSVG(e){return t.test(e)}var i={root:/]+>/,width:/\bwidth=(['"])([^%]+?)\1/,height:/\bheight=(['"])([^%]+?)\1/,viewbox:/\bviewBox=(['"])(.+?)\1/};function parseViewbox(e){var t=e.split(" ");return{width:parseInt(t[2],10),height:parseInt(t[3],10)}}function parseAttributes(e){var t=e.match(i.width);var r=e.match(i.height);var n=e.match(i.viewbox);return{width:t&&parseInt(t[2],10),height:r&&parseInt(r[2],10),viewbox:n&&parseViewbox(n[2])}}function calculateByDimensions(e){return{width:e.width,height:e.height}}function calculateByViewbox(e){var t=e.viewbox.width/e.viewbox.height;if(e.width){return{width:e.width,height:Math.floor(e.width/t)}}if(e.height){return{width:Math.floor(e.height*t),height:e.height}}return{width:e.viewbox.width,height:e.viewbox.height}}function calculate(e){var t=e.toString("utf8").match(i.root);if(t){var r=parseAttributes(t[0]);if(r.width&&r.height){return calculateByDimensions(r)}if(r.viewbox){return calculateByViewbox(r)}}throw new TypeError("invalid svg")}e.exports={detect:isSVG,calculate:calculate}},3558:(e,t,i)=>{"use strict";var r=i(7147);var n=i(3297);function isTIFF(e){var t=e.toString("hex",0,4);return"49492a00"===t||"4d4d002a"===t}function readIFD(e,t,i){var a=n(e,32,4,i);var o=1024;var s=r.statSync(t).size;if(a+o>s){o=s-a-10}var l=new Buffer(o);var u=r.openSync(t,"r");r.readSync(u,l,0,o,a);var c=l.slice(2);return c}function readValue(e,t){var i=n(e,16,8,t);var r=n(e,16,10,t);return(r<<16)+i}function nextTag(e){if(e.length>24){return e.slice(12)}}function extractTags(e,t){var i={};var r,a,o;while(e&&e.length){r=n(e,16,0,t);a=n(e,16,2,t);o=n(e,32,4,t);if(r===0){break}else{if(o===1&&(a===3||a===4)){i[r]=readValue(e,t)}e=nextTag(e)}}return i}function determineEndianness(e){var t=e.toString("ascii",0,2);if("II"===t){return"LE"}else if("MM"===t){return"BE"}}function calculate(e,t){if(!t){throw new TypeError("Tiff doesn't support buffer")}var i=determineEndianness(e)==="BE";var r=readIFD(e,t,i);var n=extractTags(r,i);var a=n[256];var o=n[257];if(!a||!o){throw new TypeError("Invalid Tiff, missing tags")}return{width:a,height:o}}e.exports={detect:isTIFF,calculate:calculate}},3802:e=>{"use strict";function isWebP(e){var t="RIFF"===e.toString("ascii",0,4);var i="WEBP"===e.toString("ascii",8,12);var r="VP8"===e.toString("ascii",12,15);return t&&i&&r}function calculate(e){var t=e.toString("ascii",12,16);e=e.slice(20,30);if(t==="VP8X"){var i=e[0];var r=(i&192)===0;var n=(i&1)===0;if(r&&n){return calculateExtended(e)}else{return false}}if(t==="VP8 "&&e[0]!==47){return calculateLossy(e)}var a=e.toString("hex",3,6);if(t==="VP8L"&&a!=="9d012a"){return calculateLossless(e)}return false}function calculateExtended(e){return{width:1+e.readUIntLE(4,3),height:1+e.readUIntLE(7,3)}}function calculateLossless(e){return{width:1+((e[2]&63)<<8|e[1]),height:1+((e[4]&15)<<10|e[3]<<2|(e[2]&192)>>6)}}function calculateLossy(e){return{width:e.readInt16LE(6)&16383,height:e.readInt16LE(8)&16383}}e.exports={detect:isWebP,calculate:calculate}},2104:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getType(e){return Object.prototype.toString.call(e).slice(8,-1)}function isUndefined(e){return getType(e)==="Undefined"}function isNull(e){return getType(e)==="Null"}function isPlainObject(e){if(getType(e)!=="Object")return false;return e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function isObject(e){return isPlainObject(e)}function isEmptyObject(e){return isPlainObject(e)&&Object.keys(e).length===0}function isFullObject(e){return isPlainObject(e)&&Object.keys(e).length>0}function isAnyObject(e){return getType(e)==="Object"}function isObjectLike(e){return isAnyObject(e)}function isFunction(e){return typeof e==="function"}function isArray(e){return getType(e)==="Array"}function isFullArray(e){return isArray(e)&&e.length>0}function isEmptyArray(e){return isArray(e)&&e.length===0}function isString(e){return getType(e)==="String"}function isFullString(e){return isString(e)&&e!==""}function isEmptyString(e){return e===""}function isNumber(e){return getType(e)==="Number"&&!isNaN(e)}function isBoolean(e){return getType(e)==="Boolean"}function isRegExp(e){return getType(e)==="RegExp"}function isMap(e){return getType(e)==="Map"}function isWeakMap(e){return getType(e)==="WeakMap"}function isSet(e){return getType(e)==="Set"}function isWeakSet(e){return getType(e)==="WeakSet"}function isSymbol(e){return getType(e)==="Symbol"}function isDate(e){return getType(e)==="Date"&&!isNaN(e)}function isBlob(e){return getType(e)==="Blob"}function isFile(e){return getType(e)==="File"}function isPromise(e){return getType(e)==="Promise"}function isError(e){return getType(e)==="Error"}function isNaNValue(e){return getType(e)==="Number"&&isNaN(e)}function isPrimitive(e){return isBoolean(e)||isNull(e)||isUndefined(e)||isNumber(e)||isString(e)||isSymbol(e)}var i=isOneOf(isNull,isUndefined);function isOneOf(e,t,i,r,n){return function(a){return e(a)||t(a)||!!i&&i(a)||!!r&&r(a)||!!n&&n(a)}}function isType(e,t){if(!(t instanceof Function)){throw new TypeError("Type must be a function")}if(!Object.prototype.hasOwnProperty.call(t,"prototype")){throw new TypeError("Type is not a class")}var i=t.name;return getType(e)===i||Boolean(e&&e.constructor===t)}t.getType=getType;t.isAnyObject=isAnyObject;t.isArray=isArray;t.isBlob=isBlob;t.isBoolean=isBoolean;t.isDate=isDate;t.isEmptyArray=isEmptyArray;t.isEmptyObject=isEmptyObject;t.isEmptyString=isEmptyString;t.isError=isError;t.isFile=isFile;t.isFullArray=isFullArray;t.isFullObject=isFullObject;t.isFullString=isFullString;t.isFunction=isFunction;t.isMap=isMap;t.isNaNValue=isNaNValue;t.isNull=isNull;t.isNullOrUndefined=i;t.isNumber=isNumber;t.isObject=isObject;t.isObjectLike=isObjectLike;t.isOneOf=isOneOf;t.isPlainObject=isPlainObject;t.isPrimitive=isPrimitive;t.isPromise=isPromise;t.isRegExp=isRegExp;t.isSet=isSet;t.isString=isString;t.isSymbol=isSymbol;t.isType=isType;t.isUndefined=isUndefined;t.isWeakMap=isWeakMap;t.isWeakSet=isWeakSet},4374:(e,t,i)=>{e.exports=i(9505)["default"]},8692:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]={encodeBase64:function encodeBase64(e){var t=Buffer.from?Buffer.from(e):new Buffer(e);return t.toString("base64")},mimeLookup:function(e){return i(4242).lookup(e)},charsetLookup:function(e){return i(4242).charsets.lookup(e)},getSourceMapGenerator:function getSourceMapGenerator(){return i(7435).SourceMapGenerator}}},6213:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(1017));var a=r.__importDefault(i(163));var o=r.__importDefault(i(491));var FileManager=function(){};FileManager.prototype=Object.assign(new o.default,{supports:function(){return true},supportsSync:function(){return true},loadFile:function(e,t,i,r,o){var s;var l=this.isPathAbsolute(e);var u=[];var c=this;var p=e.slice(0,1);var d=p==="."||p==="/";var h=null;var v=false;var m="npm://";i=i||{};var g=l?[""]:[t];if(i.paths){g.push.apply(g,i.paths)}if(!l&&g.indexOf(".")===-1){g.push(".")}var y=i.prefixes||[""];var _=this.extractUrlParts(e);if(i.syncImport){getFileData(returnData,returnData);if(o){o(h.error,h)}else{return h}}else{return new Promise(getFileData)}function returnData(e){if(!e.filename){h={error:e}}else{h=e}}function getFileData(t,r){(function tryPathIndex(o){if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r;try{r=i(8127)}catch(e){r=i(7147)}t["default"]=r},3436:(e,t,i)=>{"use strict";var r;r={value:true};var n=i(4422);var a=n.__importDefault(i(7505));var o=n.__importDefault(i(2026));var s=n.__importDefault(i(6267));t.Z=function(e){function imageSize(t,r){var n=r.value;var a=t.currentFileInfo;var o=a.rewriteUrls?a.currentDirectory:a.entryPath;var s=n.indexOf("#");if(s!==-1){n=n.slice(0,s)}var l=e.getFileManager(n,o,t.context,e,true);if(!l){throw{type:"File",message:"Can not set up FileManager for "+r}}var u=l.loadFileSync(n,o,t.context,e);if(u.error){throw u.error}var c=i(7412);return c(u.filename)}var t={"image-size":function(e){var t=imageSize(this,e);return new o.default([new a.default(t.width,"px"),new a.default(t.height,"px")])},"image-width":function(e){var t=imageSize(this,e);return new a.default(t.width,"px")},"image-height":function(e){var t=imageSize(this,e);return new a.default(t.height,"px")}};s.default.addMultiple(t)}},9505:(e,t,i)=>{"use strict";var r;r={value:true};var n=i(4422);var a=n.__importDefault(i(8692));var o=n.__importDefault(i(6213));var s=n.__importDefault(i(5707));var l=n.__importDefault(i(429));var u=l.default(a.default,[new o.default,new s.default]);var c=n.__importDefault(i(665));u.createFromEnvironment=l.default;u.lesscHelper=c.default;u.PluginLoader=i(4050).Z;u.fs=i(163)["default"];u.FileManager=o.default;u.UrlFileManager=s.default;u.options=i(4182).Z();i(3436).Z(u.environment);t["default"]=u},665:(e,t)=>{var i={stylize:function(e,t){var i={reset:[0,0],bold:[1,22],inverse:[7,27],underline:[4,24],yellow:[33,39],green:[32,39],red:[31,39],grey:[90,39]};return"["+i[t][0]+"m"+e+"["+i[t][1]+"m"},printUsage:function(){console.log("usage: lessc [option option=parameter ...] [destination]");console.log("");console.log("If source is set to `-' (dash or hyphen-minus), input is read from stdin.");console.log("");console.log("options:");console.log(" -h, --help Prints help (this message) and exit.");console.log(" --include-path=PATHS Sets include paths. Separated by `:'. `;' also supported on windows.");console.log(" -M, --depends Outputs a makefile import dependency list to stdout.");console.log(" --no-color Disables colorized output.");console.log(" --ie-compat Enables IE8 compatibility checks.");console.log(" --js Enables inline JavaScript in less files");console.log(" -l, --lint Syntax check only (lint).");console.log(" -s, --silent Suppresses output of error messages.");console.log(" --strict-imports Forces evaluation of imports.");console.log(" --insecure Allows imports from insecure https hosts.");console.log(" -v, --version Prints version number and exit.");console.log(" --verbose Be verbose.");console.log(" --source-map[=FILENAME] Outputs a v3 sourcemap to the filename (or output filename.map).");console.log(" --source-map-rootpath=X Adds this path onto the sourcemap filename and less file paths.");console.log(" --source-map-basepath=X Sets sourcemap base path, defaults to current working directory.");console.log(" --source-map-include-source Puts the less files into the map instead of referencing them.");console.log(" --source-map-inline Puts the map (and any less files) as a base64 data uri into the output css file.");console.log(" --source-map-url=URL Sets a custom URL to map file, for sourceMappingURL comment");console.log(" in generated CSS file.");console.log(" --source-map-no-annotation Excludes the sourceMappingURL comment from the output css file.");console.log(" -rp, --rootpath=URL Sets rootpath for url rewriting in relative imports and urls");console.log(" Works with or without the relative-urls option.");console.log(" -ru=, --rewrite-urls= Rewrites URLs to make them relative to the base less file.");console.log(" all|local|off 'all' rewrites all URLs, 'local' just those starting with a '.'");console.log("");console.log(" -m=, --math=");console.log(" always Less will eagerly perform math operations always.");console.log(" parens-division Math performed except for division (/) operator");console.log(" parens | strict Math only performed inside parentheses");console.log(" strict-legacy Parens required in very strict terms (legacy --strict-math)");console.log("");console.log(" -su=on|off Allows mixed units, e.g. 1px+1em or 1px*1px which have units");console.log(" --strict-units=on|off that cannot be represented.");console.log(" --global-var='VAR=VALUE' Defines a variable that can be referenced by the file.");console.log(" --modify-var='VAR=VALUE' Modifies a variable already declared in the file.");console.log(" --url-args='QUERYSTRING' Adds params into url tokens (e.g. 42, cb=42 or 'a=1&b=2')");console.log(" --plugin=PLUGIN=OPTIONS Loads a plugin. You can also omit the --plugin= if the plugin begins");console.log(" less-plugin. E.g. the clean css plugin is called less-plugin-clean-css");console.log(" once installed (npm install less-plugin-clean-css), use either with");console.log(" --plugin=less-plugin-clean-css or just --clean-css");console.log(' specify options afterwards e.g. --plugin=less-plugin-clean-css="advanced"');console.log(' or --clean-css="advanced"');console.log(" --disable-plugin-rule Disallow @plugin statements");console.log("");console.log("-------------------------- Deprecated ----------------");console.log(" -sm=on|off Legacy parens-only math. Use --math");console.log(" --strict-math=on|off ");console.log("");console.log(" --line-numbers=TYPE Outputs filename and line numbers.");console.log(" TYPE can be either 'comments', which will output");console.log(" the debug info within comments, 'mediaquery'");console.log(" that will output the information within a fake");console.log(" media query which is compatible with the SASS");console.log(" format, and 'all' which will do both.");console.log(" -x, --compress Compresses output by removing some whitespaces.");console.log(" We recommend you use a dedicated minifer like less-plugin-clean-css");console.log("");console.log("Report bugs to: http://github.com/less/less.js/issues");console.log("Home page: ")}};for(var r in i){if(i.hasOwnProperty(r)){t[r]=i[r]}}},4050:(e,t,i)=>{"use strict";var r;r={value:true};var n=i(4422);var a=n.__importDefault(i(1017));var o=n.__importDefault(i(2819));var PluginLoader=function(e){this.less=e;this.require=function(e){e=a.default.dirname(e);return function(t){var i=t.substr(0,2);if(i===".."||i==="./"){return require(a.default.join(e,t))}else{return require(t)}}}};PluginLoader.prototype=Object.assign(new o.default,{loadPlugin:function(e,t,i,r,n){var a=e.slice(0,1);var o=a==="."||a==="/"||e.slice(-3).toLowerCase()===".js";if(!o){i.prefixes=["less-plugin-",""]}if(i.syncImport){return n.loadFileSync(e,t,i,r)}return new Promise((function(a,o){n.loadFile(e,t,i,r).then((function(e){try{a(e)}catch(e){console.log(e);o(e)}})).catch((function(e){o(e)}))}))},loadPluginSync:function(e,t,i,r,n){i.syncImport=true;return this.loadPlugin(e,t,i,r,n)}});t.Z=PluginLoader},5707:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=/^(?:https?:)?\/\//i;var a=r.__importDefault(i(7310));var o;var s=r.__importDefault(i(491));var l=r.__importDefault(i(1529));var UrlFileManager=function(){};UrlFileManager.prototype=Object.assign(new s.default,{supports:function(e,t,i,r){return n.test(e)||n.test(t)},loadFile:function(e,t,r,s){return new Promise((function(r,s){if(o===undefined){try{o=i(2326)}catch(e){o=null}}if(!o){s({type:"File",message:"optional dependency 'needle' required to import over http(s)\n"});return}var u=n.test(e)?e:a.default.resolve(t,e);var c=u.indexOf("?")===-1?u+"?":u;o.get(c,{follow_max:5},(function(e,t,i){if(e||t&&t.statusCode>=400){var n=t&&t.statusCode===404?"resource '"+u+"' was not found\n":"resource '"+u+"' gave this Error:\n "+(e||t.statusMessage||t.statusCode)+"\n";s({type:"File",message:n});return}if(t.statusCode>=300){s({type:"File",message:"resource '"+u+"' caused too many redirects"});return}i=i.toString("utf8");if(!i){l.default.warn("Warning: Empty body (HTTP "+t.statusCode+') returned by "'+u+'"')}r({contents:i||"",filename:u})}))}))}});t["default"]=UrlFileManager},7207:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RewriteUrls=t.Math=void 0;t.Math={ALWAYS:0,PARENS_DIVISION:1,PARENS:2};t.RewriteUrls={OFF:0,LOCAL:1,ALL:2}},3892:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n={};t["default"]=n;var a=r.__importStar(i(7207));var o=function copyFromOriginal(e,t,i){if(!e){return}for(var r=0;ra.Math.PARENS_DIVISION){return this.parensStack&&this.parensStack.length}return true};n.Eval.prototype.pathRequiresRewrite=function(e){var t=this.rewriteUrls===a.RewriteUrls.LOCAL?isPathLocalRelative:isPathRelative;return t(e)};n.Eval.prototype.rewritePath=function(e,t){var i;t=t||"";i=this.normalizePath(t+e);if(isPathLocalRelative(e)&&isPathRelative(t)&&isPathLocalRelative(i)===false){i="./"+i}return i};n.Eval.prototype.normalizePath=function(e){var t=e.split("/").reverse();var i;e=[];while(t.length!==0){i=t.pop();switch(i){case".":break;case"..":if(e.length===0||e[e.length-1]===".."){e.push(i)}else{e.pop()}break;default:e.push(i);break}}return e.join("/")};function isPathRelative(e){return!/^(?:[a-z-]+:|\/|#)/i.test(e)}function isPathLocalRelative(e){return e.charAt(0)==="."}},1748:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},3152:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(1748));var a=r.__importDefault(i(1855));t["default"]={colors:n.default,unitConversions:a.default}},1855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]={length:{m:1,cm:.01,mm:.001,in:.0254,px:.0254/96,pt:.0254/72,pc:.0254/72*12},duration:{s:1,ms:.001},angle:{rad:1/(2*Math.PI),deg:1/360,grad:1/400,turn:1}}},4182:(e,t)=>{"use strict";var i;i={value:true};function default_1(){return{javascriptEnabled:false,depends:false,compress:false,lint:false,paths:[],color:true,strictImports:false,insecure:false,rootpath:"",rewriteUrls:false,math:1,strictUnits:false,globalVars:null,modifyVars:null,urlArgs:""}}t.Z=default_1},491:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var i=function(){function AbstractFileManager(){}AbstractFileManager.prototype.getPath=function(e){var t=e.lastIndexOf("?");if(t>0){e=e.slice(0,t)}t=e.lastIndexOf("/");if(t<0){t=e.lastIndexOf("\\")}if(t<0){return""}return e.slice(0,t+1)};AbstractFileManager.prototype.tryAppendExtension=function(e,t){return/(\.[a-z]*$)|([\?;].*)$/.test(e)?e:e+t};AbstractFileManager.prototype.tryAppendLessExtension=function(e){return this.tryAppendExtension(e,".less")};AbstractFileManager.prototype.supportsSync=function(){return false};AbstractFileManager.prototype.alwaysMakePathsAbsolute=function(){return false};AbstractFileManager.prototype.isPathAbsolute=function(e){return/^(?:[a-z-]+:|\/|\\|#)/i.test(e)};AbstractFileManager.prototype.join=function(e,t){if(!e){return t}return e+t};AbstractFileManager.prototype.pathDiff=function(e,t){var i=this.extractUrlParts(e);var r=this.extractUrlParts(t);var n;var a;var o;var s;var l="";if(i.hostPart!==r.hostPart){return""}a=Math.max(r.directories.length,i.directories.length);for(n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(6267));var a=r.__importDefault(i(6993));var o=function(){function AbstractPluginLoader(){this.require=function(){return null}}AbstractPluginLoader.prototype.evalPlugin=function(e,t,i,r,o){var s,l,u,c,p,d,h;p=t.pluginManager;if(o){if(typeof o==="string"){d=o}else{d=o.filename}}var v=(new this.less.FileManager).extractUrlParts(d).filename;if(d){u=p.get(d);if(u){h=this.trySetOptions(u,d,v,r);if(h){return h}try{if(u.use){u.use.call(this.context,u)}}catch(e){e.message=e.message||"Error during @plugin call";return new a.default(e,i,d)}return u}}c={exports:{},pluginManager:p,fileInfo:o};l=n.default.create();var registerPlugin=function(e){u=e};try{s=new Function("module","require","registerPlugin","functions","tree","less","fileInfo",e);s(c,this.require(d),registerPlugin,l,this.less.tree,this.less,o)}catch(e){return new a.default(e,i,d)}if(!u){u=c.exports}u=this.validatePlugin(u,d,v);if(u instanceof a.default){return u}if(u){u.imports=i;u.filename=d;if(!u.minVersion||this.compareVersion("3.0.0",u.minVersion)<0){h=this.trySetOptions(u,d,v,r);if(h){return h}}p.addPlugin(u,o.filename,l);u.functions=l.getLocalFunctions();h=this.trySetOptions(u,d,v,r);if(h){return h}try{if(u.use){u.use.call(this.context,u)}}catch(e){e.message=e.message||"Error during @plugin call";return new a.default(e,i,d)}}else{return new a.default({message:"Not a valid plugin"},i,d)}return u};AbstractPluginLoader.prototype.trySetOptions=function(e,t,i,r){if(r&&!e.setOptions){return new a.default({message:"Options have been provided but the plugin "+i+" does not support any options."})}try{e.setOptions&&e.setOptions(r)}catch(e){return new a.default(e)}};AbstractPluginLoader.prototype.validatePlugin=function(e,t,i){if(e){if(typeof e==="function"){e=new e}if(e.minVersion){if(this.compareVersion(e.minVersion,this.less.version)<0){return new a.default({message:"Plugin "+i+" requires version "+this.versionToString(e.minVersion)})}}return e}return null};AbstractPluginLoader.prototype.compareVersion=function(e,t){if(typeof e==="string"){e=e.match(/^(\d+)\.?(\d+)?\.?(\d+)?/);e.shift()}for(var i=0;iparseInt(t[i])?-1:1}}return 0};AbstractPluginLoader.prototype.versionToString=function(e){var t="";for(var i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(1529));var a=function(){function Environment(e,t){this.fileManagers=t||[];e=e||{};var i=["encodeBase64","mimeLookup","charsetLookup","getSourceMapGenerator"];var r=[];var n=r.concat(i);for(var a=0;a=0;s--){var l=o[s];if(l[a?"supportsSync":"supports"](e,t,i,r)){return l}}return null};Environment.prototype.addFileManager=function(e){this.fileManagers.push(e)};Environment.prototype.clearFileManagers=function(){this.fileManagers=[]};return Environment}();t["default"]=a},8163:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(8231));var a=r.__importDefault(i(3839));function boolean(e){return e?a.default.True:a.default.False}function If(e,t,i,r){return t.eval(e)?i.eval(e):r?r.eval(e):new n.default}If.evalArgs=false;function isdefined(e,t){try{t.eval(e);return a.default.True}catch(e){return a.default.False}}isdefined.evalArgs=false;t["default"]={isdefined:isdefined,boolean:boolean,if:If}},5454:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(6850));function colorBlend(e,t,i){var r=t.alpha;var a;var o=i.alpha;var s;var l;var u;var c=[];l=o+r*(1-o);for(var p=0;p<3;p++){a=t.rgb[p]/255;s=i.rgb[p]/255;u=e(a,s);if(l){u=(o*s+r*(a-o*(a+s-u)))/l}c[p]=u*255}return new n.default(c,l)}var a={multiply:function(e,t){return e*t},screen:function(e,t){return e+t-e*t},overlay:function(e,t){e*=2;return e<=1?a.multiply(e,t):a.screen(e-1,t)},softlight:function(e,t){var i=1;var r=e;if(t>.5){r=1;i=e>.25?Math.sqrt(e):((16*e-12)*e+4)*e}return e-(1-2*t)*r*(i-e)},hardlight:function(e,t){return a.overlay(t,e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t},average:function(e,t){return(e+t)/2},negation:function(e,t){return 1-Math.abs(e+t-1)}};for(var o in a){if(a.hasOwnProperty(o)){colorBlend[o]=colorBlend.bind(null,a[o])}}t["default"]=colorBlend},329:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(7505));var a=r.__importDefault(i(6850));var o=r.__importDefault(i(7122));var s=r.__importDefault(i(8231));var l=r.__importDefault(i(2026));var u=r.__importDefault(i(7054));var c;function clamp(e){return Math.min(1,Math.max(0,e))}function hsla(e,t){var i=c.hsla(t.h,t.s,t.l,t.a);if(i){if(e.value&&/^(rgb|hsl)/.test(e.value)){i.value=e.value}else{i.value="rgb"}return i}}function toHSL(e){if(e.toHSL){return e.toHSL()}else{throw new Error("Argument cannot be evaluated to a color")}}function toHSV(e){if(e.toHSV){return e.toHSV()}else{throw new Error("Argument cannot be evaluated to a color")}}function number(e){if(e instanceof n.default){return parseFloat(e.unit.is("%")?e.value/100:e.value)}else if(typeof e==="number"){return e}else{throw{type:"Argument",message:"color functions take numbers as parameters"}}}function scaled(e,t){if(e instanceof n.default&&e.unit.is("%")){return parseFloat(e.value*t/100)}else{return number(e)}}c={rgb:function(e,t,i){var r=1;if(e instanceof l.default){var n=e.value;e=n[0];t=n[1];i=n[2];if(i instanceof u.default){var a=i;i=a.operands[0];r=a.operands[1]}}var o=c.rgba(e,t,i,r);if(o){o.value="rgb";return o}},rgba:function(e,t,i,r){try{if(e instanceof a.default){if(t){r=number(t)}else{r=e.alpha}return new a.default(e.rgb,r,"rgba")}var n=[e,t,i].map((function(e){return scaled(e,255)}));r=number(r);return new a.default(n,r,"rgba")}catch(e){}},hsl:function(e,t,i){var r=1;if(e instanceof l.default){var n=e.value;e=n[0];t=n[1];i=n[2];if(i instanceof u.default){var a=i;i=a.operands[0];r=a.operands[1]}}var o=c.hsla(e,t,i,r);if(o){o.value="hsl";return o}},hsla:function(e,t,i,r){try{if(e instanceof a.default){if(t){r=number(t)}else{r=e.alpha}return new a.default(e.rgb,r,"hsla")}var n;var o;function hue(e){e=e<0?e+1:e>1?e-1:e;if(e*6<1){return n+(o-n)*e*6}else if(e*2<1){return o}else if(e*3<2){return n+(o-n)*(2/3-e)*6}else{return n}}e=number(e)%360/360;t=clamp(number(t));i=clamp(number(i));r=clamp(number(r));o=i<=.5?i*(t+1):i+t-i*t;n=i*2-o;var s=[hue(e+1/3)*255,hue(e)*255,hue(e-1/3)*255];r=number(r);return new a.default(s,r,"hsla")}catch(e){}},hsv:function(e,t,i){return c.hsva(e,t,i,1)},hsva:function(e,t,i,r){e=number(e)%360/360*360;t=number(t);i=number(i);r=number(r);var n;var a;n=Math.floor(e/60%6);a=e/60-n;var o=[i,i*(1-t),i*(1-a*t),i*(1-(1-a)*t)];var s=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]];return c.rgba(o[s[n][0]]*255,o[s[n][1]]*255,o[s[n][2]]*255,r)},hue:function(e){return new n.default(toHSL(e).h)},saturation:function(e){return new n.default(toHSL(e).s*100,"%")},lightness:function(e){return new n.default(toHSL(e).l*100,"%")},hsvhue:function(e){return new n.default(toHSV(e).h)},hsvsaturation:function(e){return new n.default(toHSV(e).s*100,"%")},hsvvalue:function(e){return new n.default(toHSV(e).v*100,"%")},red:function(e){return new n.default(e.rgb[0])},green:function(e){return new n.default(e.rgb[1])},blue:function(e){return new n.default(e.rgb[2])},alpha:function(e){return new n.default(toHSL(e).a)},luma:function(e){return new n.default(e.luma()*e.alpha*100,"%")},luminance:function(e){var t=.2126*e.rgb[0]/255+.7152*e.rgb[1]/255+.0722*e.rgb[2]/255;return new n.default(t*e.alpha*100,"%")},saturate:function(e,t,i){if(!e.rgb){return null}var r=toHSL(e);if(typeof i!=="undefined"&&i.value==="relative"){r.s+=r.s*t.value/100}else{r.s+=t.value/100}r.s=clamp(r.s);return hsla(e,r)},desaturate:function(e,t,i){var r=toHSL(e);if(typeof i!=="undefined"&&i.value==="relative"){r.s-=r.s*t.value/100}else{r.s-=t.value/100}r.s=clamp(r.s);return hsla(e,r)},lighten:function(e,t,i){var r=toHSL(e);if(typeof i!=="undefined"&&i.value==="relative"){r.l+=r.l*t.value/100}else{r.l+=t.value/100}r.l=clamp(r.l);return hsla(e,r)},darken:function(e,t,i){var r=toHSL(e);if(typeof i!=="undefined"&&i.value==="relative"){r.l-=r.l*t.value/100}else{r.l-=t.value/100}r.l=clamp(r.l);return hsla(e,r)},fadein:function(e,t,i){var r=toHSL(e);if(typeof i!=="undefined"&&i.value==="relative"){r.a+=r.a*t.value/100}else{r.a+=t.value/100}r.a=clamp(r.a);return hsla(e,r)},fadeout:function(e,t,i){var r=toHSL(e);if(typeof i!=="undefined"&&i.value==="relative"){r.a-=r.a*t.value/100}else{r.a-=t.value/100}r.a=clamp(r.a);return hsla(e,r)},fade:function(e,t){var i=toHSL(e);i.a=t.value/100;i.a=clamp(i.a);return hsla(e,i)},spin:function(e,t){var i=toHSL(e);var r=(i.h+t.value)%360;i.h=r<0?360+r:r;return hsla(e,i)},mix:function(e,t,i){if(!i){i=new n.default(50)}var r=i.value/100;var o=r*2-1;var s=toHSL(e).a-toHSL(t).a;var l=((o*s==-1?o:(o+s)/(1+o*s))+1)/2;var u=1-l;var c=[e.rgb[0]*l+t.rgb[0]*u,e.rgb[1]*l+t.rgb[1]*u,e.rgb[2]*l+t.rgb[2]*u];var p=e.alpha*r+t.alpha*(1-r);return new a.default(c,p)},greyscale:function(e){return c.desaturate(e,new n.default(100))},contrast:function(e,t,i,r){if(!e.rgb){return null}if(typeof i==="undefined"){i=c.rgba(255,255,255,1)}if(typeof t==="undefined"){t=c.rgba(0,0,0,1)}if(t.luma()>i.luma()){var n=i;i=t;t=n}if(typeof r==="undefined"){r=.43}else{r=number(r)}if(e.luma(){"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(7122));var a=r.__importDefault(i(5754));var o=r.__importStar(i(3553));var s=r.__importDefault(i(1529));t["default"]=function(e){var fallback=function(e,t){return new a.default(t,e.index,e.currentFileInfo).eval(e.context)};return{"data-uri":function(t,i){if(!i){i=t;t=null}var r=t&&t.value;var l=i.value;var u=this.currentFileInfo;var c=u.rewriteUrls?u.currentDirectory:u.entryPath;var p=l.indexOf("#");var d="";if(p!==-1){d=l.slice(p);l=l.slice(0,p)}var h=o.clone(this.context);h.rawBuffer=true;var v=e.getFileManager(l,c,h,e,true);if(!v){return fallback(this,i)}var m=false;if(!t){r=e.mimeLookup(l);if(r==="image/svg+xml"){m=false}else{var g=e.charsetLookup(r);m=["US-ASCII","UTF-8"].indexOf(g)<0}if(m){r+=";base64"}}else{m=/;base64$/.test(r)}var y=v.loadFileSync(l,c,h,e);if(!y.contents){s.default.warn("Skipped data-uri embedding of "+l+" because file not found");return fallback(this,i||t)}var _=y.contents;if(m&&!e.encodeBase64){return fallback(this,i)}_=m?e.encodeBase64(_):encodeURIComponent(_);var b="data:"+r+","+_+d;return new a.default(new n.default('"'+b+'"',b,false,this.index,this.currentFileInfo),this.index,this.currentFileInfo)}}}},6871:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(3839));var a={eval:function(){var e=this.value_;var t=this.error_;if(t){throw t}if(e!=null){return e?n.default.True:n.default.False}},value:function(e){this.value_=e},error:function(e){this.error_=e},reset:function(){this.value_=this.error_=null}};t["default"]=a},406:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(2026));var a=function(){function functionCaller(e,t,i,r){this.name=e.toLowerCase();this.index=i;this.context=t;this.currentFileInfo=r;this.func=t.frames[0].functionRegistry.get(this.name)}functionCaller.prototype.isValid=function(){return Boolean(this.func)};functionCaller.prototype.call=function(e){var t=this;if(!Array.isArray(e)){e=[e]}var i=this.func.evalArgs;if(i!==false){e=e.map((function(e){return e.eval(t.context)}))}var commentFilter=function(e){return!(e.type==="Comment")};e=e.filter(commentFilter).map((function(e){if(e.type==="Expression"){var t=e.value.filter(commentFilter);if(t.length===1){if(e.parens&&t[0].op==="/"){return e}return t[0]}else{return new n.default(t)}}return e}));if(i===false){return this.func.apply(this,r.__spreadArray([this.context],e))}return this.func.apply(this,e)};return functionCaller}();t["default"]=a},6267:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function makeRegistry(e){return{_data:{},add:function(e,t){e=e.toLowerCase();if(this._data.hasOwnProperty(e)){}this._data[e]=t},addMultiple:function(e){var t=this;Object.keys(e).forEach((function(i){t.add(i,e[i])}))},get:function(t){return this._data[t]||e&&e.get(t)},getLocalFunctions:function(){return this._data},inherit:function(){return makeRegistry(this)},create:function(e){return makeRegistry(e)}}}t["default"]=makeRegistry(null)},4438:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(6267));var a=r.__importDefault(i(406));var o=r.__importDefault(i(8163));var s=r.__importDefault(i(6871));var l=r.__importDefault(i(329));var u=r.__importDefault(i(5454));var c=r.__importDefault(i(6750));var p=r.__importDefault(i(7355));var d=r.__importDefault(i(4478));var h=r.__importDefault(i(197));var v=r.__importDefault(i(3492));var m=r.__importDefault(i(1615));var g=r.__importDefault(i(6119));t["default"]=function(e){var t={functionRegistry:n.default,functionCaller:a.default};n.default.addMultiple(o.default);n.default.add("default",s.default.eval.bind(s.default));n.default.addMultiple(l.default);n.default.addMultiple(u.default);n.default.addMultiple(c.default(e));n.default.addMultiple(p.default);n.default.addMultiple(d.default);n.default.addMultiple(h.default);n.default.addMultiple(v.default);n.default.addMultiple(m.default(e));n.default.addMultiple(g.default);return t}},7355:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(6922));var a=r.__importDefault(i(866));var o=r.__importDefault(i(7505));var s=r.__importDefault(i(4942));var l=r.__importDefault(i(2026));var u=r.__importDefault(i(3873));var c=r.__importDefault(i(482));var p=r.__importDefault(i(7973));var d=r.__importDefault(i(7122));var h=r.__importDefault(i(3546));var getItemsFromNode=function(e){var t=Array.isArray(e.value)?e.value:Array(e);return t};t["default"]={_SELF:function(e){return e},"~":function(){var e=[];for(var t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(7505));var MathHelper=function(e,t,i){if(!(i instanceof n.default)){throw{type:"Argument",message:"argument must be a number"}}if(t==null){t=i.unit}else{i=i.unify()}return new n.default(e(parseFloat(i.value)),t)};t["default"]=MathHelper},4478:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(7664));var a={ceil:null,floor:null,sqrt:null,abs:null,tan:"",sin:"",cos:"",atan:"rad",asin:"rad",acos:"rad"};for(var o in a){if(a.hasOwnProperty(o)){a[o]=n.default.bind(null,Math[o],a[o])}}a.round=function(e,t){var i=typeof t==="undefined"?0:t.value;return n.default((function(e){return e.toFixed(i)}),null,e)};t["default"]=a},197:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(7505));var a=r.__importDefault(i(8231));var o=r.__importDefault(i(7664));var minMax=function(e,t){t=Array.prototype.slice.call(t);switch(t.length){case 0:throw{type:"Argument",message:"one or more arguments required"}}var i;var r;var o;var s;var l;var u;var c;var p;var d=[];var h={};for(i=0;il.value){d[r]=o}}if(d.length==1){return d[0]}t=d.map((function(e){return e.toCSS(this.context)})).join(this.context.compress?",":", ");return new a.default((e?"min":"max")+"("+t+")")};t["default"]={min:function(){var e=[];for(var t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(7122));var a=r.__importDefault(i(8231));var o=r.__importDefault(i(7615));t["default"]={e:function(e){return new n.default('"',e instanceof o.default?e.evaluated:e.value,true)},escape:function(e){return new a.default(encodeURI(e.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},replace:function(e,t,i,r){var a=e.value;i=i.type==="Quoted"?i.value:i.toCSS();a=a.replace(new RegExp(t.value,r?r.value:""),i);return new n.default(e.quote||"",a,e.escaped)},"%":function(e){var t=Array.prototype.slice.call(arguments,1);var i=e.value;var _loop_1=function(e){i=i.replace(/%[sda]/i,(function(i){var r=t[e].type==="Quoted"&&i.match(/s/i)?t[e].value:t[e].toCSS();return i.match(/[A-Z]$/)?encodeURIComponent(r):r}))};for(var r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(7505));var a=r.__importDefault(i(6850));var o=r.__importDefault(i(2026));var s=r.__importDefault(i(7122));var l=r.__importDefault(i(5754));t["default"]=function(e){return{"svg-gradient":function(e){var t;var i;var r="linear";var u='x="0" y="0" width="1" height="1"';var c={compress:false};var p;var d=e.toCSS(c);var h;var v;var m;var g;var y;function throwArgumentDescriptor(){throw{type:"Argument",message:"svg-gradient expects direction, start_color [start_position], [color position,]...,"+" end_color [end_position] or direction, color list"}}if(arguments.length==2){if(arguments[1].value.length<2){throwArgumentDescriptor()}t=arguments[1].value}else if(arguments.length<3){throwArgumentDescriptor()}else{t=Array.prototype.slice.call(arguments,1)}switch(d){case"to bottom":i='x1="0%" y1="0%" x2="0%" y2="100%"';break;case"to right":i='x1="0%" y1="0%" x2="100%" y2="0%"';break;case"to bottom right":i='x1="0%" y1="0%" x2="100%" y2="100%"';break;case"to top right":i='x1="0%" y1="100%" x2="100%" y2="0%"';break;case"ellipse":case"ellipse at center":r="radial";i='cx="50%" cy="50%" r="75%"';u='x="-50" y="-50" width="101" height="101"';break;default:throw{type:"Argument",message:"svg-gradient direction must be 'to bottom', 'to right',"+" 'to bottom right', 'to top right' or 'ellipse at center'"}}p='<'+r+'Gradient id="g" '+i+">";for(h=0;h"}p+="';p=encodeURIComponent(p);p="data:image/svg+xml,"+p;return new l.default(new s.default("'"+p+"'",p,false,this.index,this.currentFileInfo),this.index,this.currentFileInfo)}}}},6119:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(3839));var a=r.__importDefault(i(4366));var o=r.__importDefault(i(7505));var s=r.__importDefault(i(6850));var l=r.__importDefault(i(7122));var u=r.__importDefault(i(8231));var c=r.__importDefault(i(5754));var p=r.__importDefault(i(7054));var isa=function(e,t){return e instanceof t?n.default.True:n.default.False};var isunit=function(e,t){if(t===undefined){throw{type:"Argument",message:"missing the required second argument to isunit."}}t=typeof t.value==="string"?t.value:t;if(typeof t!=="string"){throw{type:"Argument",message:"Second argument to isunit should be a unit or a string."}}return e instanceof o.default&&e.unit.is(t)?n.default.True:n.default.False};t["default"]={isruleset:function(e){return isa(e,a.default)},iscolor:function(e){return isa(e,s.default)},isnumber:function(e){return isa(e,o.default)},isstring:function(e){return isa(e,l.default)},iskeyword:function(e){return isa(e,n.default)},isurl:function(e){return isa(e,c.default)},ispixel:function(e){return isunit(e,"px")},ispercentage:function(e){return isunit(e,"%")},isem:function(e){return isunit(e,"em")},isunit:isunit,unit:function(e,t){if(!(e instanceof o.default)){throw{type:"Argument",message:"the first argument to unit must be a number"+(e instanceof p.default?". Have you forgotten parenthesis?":"")}}if(t){if(t instanceof n.default){t=t.value}else{t=t.toCSS()}}else{t=""}return new o.default(e.value,t)},"get-unit":function(e){return new u.default(e.unit)}}},5312:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(3892));var a=r.__importDefault(i(5133));var o=r.__importDefault(i(6993));var s=r.__importStar(i(3553));var l=r.__importDefault(i(1529));function default_1(e){var t=function(){function ImportManager(e,t,i){this.less=e;this.rootFilename=i.filename;this.paths=t.paths||[];this.contents={};this.contentsIgnoredChars={};this.mime=t.mime;this.error=null;this.context=t;this.queue=[];this.files={}}ImportManager.prototype.push=function(t,i,r,u,c){var p=this,d=this.context.pluginManager.Loader;this.queue.push(t);var fileParsedFunc=function(e,i,r){p.queue.splice(p.queue.indexOf(t),1);var n=r===p.rootFilename;if(u.optional&&e){c(null,{rules:[]},false,null);l.default.info("The file "+r+" was skipped because it was not found and the import was marked optional.")}else{if(!p.files[r]&&!u.inline){p.files[r]={root:i,options:u}}if(e&&!p.error){p.error=e}c(e,i,n,r)}};var h={rewriteUrls:this.context.rewriteUrls,entryPath:r.entryPath,rootpath:r.rootpath,rootFilename:r.rootFilename};var v=e.getFileManager(t,r.currentDirectory,this.context,e);if(!v){fileParsedFunc({message:"Could not find a file-manager for "+t});return}var loadFileCallback=function(e){var t;var i=e.filename;var s=e.contents.replace(/^\uFEFF/,"");h.currentDirectory=v.getPath(i);if(h.rewriteUrls){h.rootpath=v.join(p.context.rootpath||"",v.pathDiff(h.currentDirectory,h.entryPath));if(!v.isPathAbsolute(h.rootpath)&&v.alwaysMakePathsAbsolute()){h.rootpath=v.join(h.entryPath,h.rootpath)}}h.filename=i;var l=new n.default.Parse(p.context);l.processImports=false;p.contents[i]=s;if(r.reference||u.reference){h.reference=true}if(u.isPlugin){t=d.evalPlugin(s,l,p,u.pluginArgs,h);if(t instanceof o.default){fileParsedFunc(t,null,i)}else{fileParsedFunc(null,t,i)}}else if(u.inline){fileParsedFunc(null,s,i)}else{if(p.files[i]&&!p.files[i].options.multiple&&!u.multiple){fileParsedFunc(null,p.files[i].root,i)}else{new a.default(l,p,h).parse(s,(function(e,t){fileParsedFunc(e,t,i)}))}}};var m;var g;var y=s.clone(this.context);if(i){y.ext=u.isPlugin?".js":".less"}if(u.isPlugin){y.mime="application/javascript";if(y.syncImport){m=d.loadPluginSync(t,r.currentDirectory,y,e,v)}else{g=d.loadPlugin(t,r.currentDirectory,y,e,v)}}else{if(y.syncImport){m=v.loadFileSync(t,r.currentDirectory,y,e)}else{g=v.loadFile(t,r.currentDirectory,y,e,(function(e,t){if(e){fileParsedFunc(e)}else{loadFileCallback(t)}}))}}if(m){if(!m.filename){fileParsedFunc(m)}else{loadFileCallback(m)}}else if(g){g.then(loadFileCallback,fileParsedFunc)}};return ImportManager}();return t}t["default"]=default_1},429:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(7145));var a=r.__importDefault(i(3152));var o=r.__importDefault(i(6444));var s=r.__importDefault(i(491));var l=r.__importDefault(i(2819));var u=r.__importDefault(i(7739));var c=r.__importDefault(i(5133));var p=r.__importDefault(i(4438));var d=r.__importDefault(i(3892));var h=r.__importDefault(i(6993));var v=r.__importDefault(i(3485));var m=r.__importStar(i(3553));var g=r.__importDefault(i(9648));var y=r.__importDefault(i(1529));var _=r.__importDefault(i(1926));var b=r.__importDefault(i(4298));var x=r.__importDefault(i(6405));var w=r.__importDefault(i(5312));var S=r.__importDefault(i(4383));var M=r.__importDefault(i(2557));var C=i(3684);var k=r.__importDefault(i(1338));function default_1(e,t){var i,r,I,P;e=new n.default(e,t);i=_.default(e);r=b.default(i,e);I=x.default(r);P=w.default(e);var O=M.default(e,I,P);var A=S.default(e,I,P);var E=k.default("v"+C.version);var D={version:[E.major,E.minor,E.patch],data:a.default,tree:o.default,Environment:n.default,AbstractFileManager:s.default,AbstractPluginLoader:l.default,environment:e,visitors:u.default,Parser:c.default,functions:p.default(e),contexts:d.default,SourceMapOutput:i,SourceMapBuilder:r,ParseTree:I,ImportManager:P,render:O,parse:A,LessError:h.default,transformTree:v.default,utils:m,PluginManager:g.default,logger:y.default};var ctor=function(e){return function(){var t=Object.create(e.prototype);e.apply(t,Array.prototype.slice.call(arguments,0));return t}};var j;var R=Object.create(D);for(var L in D.tree){j=D.tree[L];if(typeof j==="function"){R[L.toLowerCase()]=ctor(j)}else{R[L]=Object.create(null);for(var V in j){R[L][V.toLowerCase()]=ctor(j[V])}}}D.parse=D.parse.bind(R);D.render=D.render.bind(R);return R}t["default"]=default_1},6993:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importStar(i(3553));var a=/(|Function):(\d+):(\d+)/;var LessError=function(e,t,i){Error.call(this);var r=e.filename||i;this.message=e.message;this.stack=e.stack;if(t&&r){var o=t.contents[r];var s=n.getLocation(e.index,o);var l=s.line;var u=s.column;var c=e.call&&n.getLocation(e.call,o).line;var p=o?o.split("\n"):"";this.type=e.type||"Syntax";this.filename=r;this.index=e.index;this.line=typeof l==="number"?l+1:null;this.column=u;if(!this.line&&this.stack){var d=this.stack.match(a);var h=new Function("a","throw new Error()");var v=0;try{h()}catch(e){var m=e.stack.match(a);var l=parseInt(m[2]);v=1-l}if(d){if(d[2]){this.line=parseInt(d[2])+v}if(d[3]){this.column=parseInt(d[3])}}}this.callLine=c+1;this.callExtract=p[c];this.extract=[p[this.line-2],p[this.line-1],p[this.line]]}};if(typeof Object.create==="undefined"){var F=function(){};F.prototype=Error.prototype;LessError.prototype=new F}else{LessError.prototype=Object.create(Error.prototype)}LessError.prototype.constructor=LessError;LessError.prototype.toString=function(e){e=e||{};var t="";var i=this.extract||[];var r=[];var stylize=function(e){return e};if(e.stylize){var n=typeof e.stylize;if(n!=="function"){throw Error("options.stylize should be a function, got a "+n+"!")}stylize=e.stylize}if(this.line!==null){if(typeof i[0]==="string"){r.push(stylize(this.line-1+" "+i[0],"grey"))}if(typeof i[1]==="string"){var a=this.line+" ";if(i[1]){a+=i[1].slice(0,this.column)+stylize(stylize(stylize(i[1].substr(this.column,1),"bold")+i[1].slice(this.column+1),"red"),"inverse")}r.push(a)}if(typeof i[2]==="string"){r.push(stylize(this.line+1+" "+i[2],"grey"))}r=r.join("\n")+stylize("","reset")+"\n"}t+=stylize(this.type+"Error: "+this.message,"red");if(this.filename){t+=stylize(" in ","red")+this.filename}if(this.line){t+=stylize(" on line "+this.line+", column "+(this.column+1)+":","grey")}t+="\n"+r;if(this.callLine){t+=stylize("from ","red")+(this.filename||"")+"/n";t+=stylize(this.callLine,"grey")+" "+this.callExtract+"/n"}return t};t["default"]=LessError},1529:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]={error:function(e){this._fireEvent("error",e)},warn:function(e){this._fireEvent("warn",e)},info:function(e){this._fireEvent("info",e)},debug:function(e){this._fireEvent("debug",e)},addListener:function(e){this._listeners.push(e)},removeListener:function(e){for(var t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(6993));var a=r.__importDefault(i(3485));var o=r.__importDefault(i(1529));function default_1(e){var t=function(){function ParseTree(e,t){this.root=e;this.imports=t}ParseTree.prototype.toCSS=function(t){var i;var r={};var s;try{i=a.default(this.root,t)}catch(e){throw new n.default(e,this.imports)}try{var l=Boolean(t.compress);if(l){o.default.warn("The compress option has been deprecated. "+"We recommend you use a dedicated css minifier, for instance see less-plugin-clean-css.")}var u={compress:l,dumpLineNumbers:t.dumpLineNumbers,strictUnits:Boolean(t.strictUnits),numPrecision:8};if(t.sourceMap){s=new e(t.sourceMap);r.css=s.toCSS(i,u,this.imports)}else{r.css=i.toCSS(u)}}catch(e){throw new n.default(e,this.imports)}if(t.pluginManager){var c=t.pluginManager.getPostProcessors();for(var p=0;p{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(3892));var a=r.__importDefault(i(5133));var o=r.__importDefault(i(9648));var s=r.__importDefault(i(6993));var l=r.__importStar(i(3553));function default_1(e,t,i){var parse=function(e,t,r){if(typeof t==="function"){r=t;t=l.copyOptions(this.options,{})}else{t=l.copyOptions(this.options,t||{})}if(!r){var u=this;return new Promise((function(i,r){parse.call(u,e,t,(function(e,t){if(e){r(e)}else{i(t)}}))}))}else{var c;var p=void 0;var d=new o.default(this,!t.reUsePluginManager);t.pluginManager=d;c=new n.default.Parse(t);if(t.rootFileInfo){p=t.rootFileInfo}else{var h=t.filename||"input";var v=h.replace(/[^\/\\]*$/,"");p={filename:h,rewriteUrls:c.rewriteUrls,rootpath:c.rootpath||"",currentDirectory:v,entryPath:v,rootFilename:h};if(p.rootpath&&p.rootpath.slice(-1)!=="/"){p.rootpath+="/"}}var m=new i(this,c,p);this.importManager=m;if(t.plugins){t.plugins.forEach((function(e){var t,i;if(e.fileContent){i=e.fileContent.replace(/^\uFEFF/,"");t=d.Loader.evalPlugin(i,c,m,e.options,e.filename);if(t instanceof s.default){return r(t)}}else{d.addPlugin(e)}}))}new a.default(c,m,p).parse(e,(function(e,i){if(e){return r(e)}r(null,i,m,t)}),t)}};return parse}t["default"]=default_1},7227:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function default_1(e,t){var i=e.length;var r=0;var n=0;var a;var o;var s;var l;var u=[];var c=0;var p;var d;var h;var v;var m;function emitChunk(t){var i=p-c;if(i<512&&!t||!i){return}u.push(e.slice(c,p+1));c=p+1}for(p=0;p=97&&h<=122||h<34){continue}switch(h){case 40:n++;o=p;continue;case 41:if(--n<0){return t("missing opening `(`",p)}continue;case 59:if(!n){emitChunk()}continue;case 123:r++;a=p;continue;case 125:if(--r<0){return t("missing opening `{`",p)}if(!r&&!n){emitChunk()}continue;case 92:if(p96){continue}if(v==h){m=1;break}if(v==92){if(p==i-1){return t("unescaped `\\`",p)}p++}}if(m){continue}return t("unmatched `"+String.fromCharCode(h)+"`",d);case 47:if(n||p==i-1){continue}v=e.charCodeAt(p+1);if(v==47){for(p=p+2;pa&&l>s){return t("missing closing `}` or `*/`",a)}else{return t("missing closing `}`",a)}}else if(n!==0){return t("missing closing `)`",o)}emitChunk(true);return u}t["default"]=default_1},6353:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(7227));t["default"]=function(){var e;var t;var i=[];var r;var a;var o;var s;var l;var u={};var c=32;var p=9;var d=10;var h=13;var v=43;var m=44;var g=47;var y=57;function skipWhitespace(i){var r=u.i;var n=t;var a=u.i-l;var v=u.i+s.length-a;var m=u.i+=i;var y=e;var _;var b;var x;for(;u.i=0){x={index:u.i,text:y.substr(u.i,S+2-u.i),isLineComment:false};u.i+=x.text.length-1;u.commentStore.push(x);continue}}break}if(_!==c&&_!==d&&_!==p&&_!==h){break}}s=s.slice(i+u.i-m+a);l=u.i;if(!s.length){if(tr||u.i===r&&e&&!a){r=u.i;a=e}var n=i.pop();s=n.current;l=u.i=n.i;t=n.j};u.forget=function(){i.pop()};u.isWhitespace=function(t){var i=u.i+(t||0);var r=e.charCodeAt(i);return r===c||r===h||r===p||r===d};u.$re=function(e){if(u.i>l){s=s.slice(u.i-l);l=u.i}var t=e.exec(s);if(!t){return null}skipWhitespace(t[0].length);if(typeof t==="string"){return t}return t.length===1?t[0]:t};u.$char=function(t){if(e.charAt(u.i)!==t){return null}skipWhitespace(1);return t};u.$str=function(t){var i=t.length;for(var r=0;rl){h=false}}m=g}while(h);return r?r:null};u.autoCommentAbsorb=true;u.commentStore=[];u.finished=false;u.peek=function(t){if(typeof t==="string"){for(var i=0;iy||t=e.length;if(u.i=e.length-1,furthestChar:e[u.i]}};return u}},5133:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(6993));var a=r.__importDefault(i(6444));var o=r.__importDefault(i(7739));var s=r.__importDefault(i(6353));var l=r.__importStar(i(3553));var u=r.__importDefault(i(6267));var c=function Parser(e,t,i){var r;var c=s.default();function error(e,r){throw new n.default({index:c.i,filename:i.filename,type:r||"Syntax",message:e},t)}function expect(e,t){var i=e instanceof Function?e.call(r):c.$re(e);if(i){return i}error(t||(typeof e==="string"?"expected '"+e+"' got '"+c.currentChar()+"'":"unexpected token"))}function expectChar(e,t){if(c.$char(e)){return e}error(t||"expected '"+e+"' got '"+c.currentChar()+"'")}function getDebugInfo(e){var t=i.filename;return{lineNumber:l.getLocation(e,c.getInput()).line+1,fileName:t}}function parseNode(e,i,a,o,s){var l;var u=[];var p=c;try{p.start(e,false,(function fail(e,t){s({message:e,index:t+a})}));for(var d=0,h=void 0,v=void 0;h=i[d];d++){v=p.i;l=r[h]();if(l){try{l._index=v+a;l._fileInfo=o}catch(e){}u.push(l)}else{u.push(null)}}var m=p.end();if(m.isFinished){s(null,u)}else{s(true,null)}}catch(e){throw new n.default({index:e.index+a,message:e.message},t,o.filename)}}return{parserInput:c,imports:t,fileInfo:i,parseNode:parseNode,parse:function(s,l,p){var d;var h=null;var v;var m;var g;var y="";if(p&&p.disablePluginRule){r.plugin=function(){var e=c.$re(/^@plugin?\s+/);if(e){error("@plugin statements are not allowed when disablePluginRule is set to true")}}}v=p&&p.globalVars?Parser.serializeVars(p.globalVars)+"\n":"";m=p&&p.modifyVars?"\n"+Parser.serializeVars(p.modifyVars):"";if(e.pluginManager){var _=e.pluginManager.getPreProcessors();for(var b=0;b<_.length;b++){s=_[b].process(s,{context:e,imports:t,fileInfo:i})}}if(v||p&&p.banner){y=(p&&p.banner?p.banner:"")+v;g=t.contentsIgnoredChars;g[i.filename]=g[i.filename]||0;g[i.filename]+=y.length}s=s.replace(/\r\n?/g,"\n");s=y+s.replace(/^\uFEFF/,"")+m;t.contents[i.filename]=s;try{c.start(s,e.chunkInput,(function fail(e,r){throw new n.default({index:r,type:"Parse",message:e,filename:i.filename},t)}));a.default.Node.prototype.parse=this;d=new a.default.Ruleset(null,this.parsers.primary());a.default.Node.prototype.rootNode=d;d.root=true;d.firstRoot=true;d.functionRegistry=u.default.inherit()}catch(e){return l(new n.default(e,t,i.filename))}var x=c.end();if(!x.isFinished){var w=x.furthestPossibleErrorMessage;if(!w){w="Unrecognised input";if(x.furthestChar==="}"){w+=". Possibly missing opening '{'"}else if(x.furthestChar===")"){w+=". Possibly missing opening '('"}else if(x.furthestReachedEnd){w+=". Possibly missing something"}}h=new n.default({type:"Parse",message:w,index:x.furthest,filename:i.filename},t)}var finish=function(e){e=h||e||t.error;if(e){if(!(e instanceof n.default)){e=new n.default(e,t,i.filename)}return l(e)}else{return l(null,d)}};if(e.processImports!==false){new o.default.ImportVisitor(t,finish).run(d)}else{return finish()}},parsers:r={primary:function(){var e=this.mixin;var t=[];var i;while(true){while(true){i=this.comment();if(!i){break}t.push(i)}if(c.finished){break}if(c.peek("}")){break}i=this.extendRule();if(i){t=t.concat(i);continue}i=e.definition()||this.declaration()||e.call(false,false)||this.ruleset()||this.variableCall()||this.entities.call()||this.atrule();if(i){t.push(i)}else{var r=false;while(c.$char(";")){r=true}if(!r){break}}}return t},comment:function(){if(c.commentStore.length){var e=c.commentStore.shift();return new a.default.Comment(e.text,e.isLineComment,e.index,i)}},entities:{mixinLookup:function(){return r.mixin.call(true,true)},quoted:function(e){var t;var r=c.i;var n=false;c.save();if(c.$char("~")){n=true}else if(e){c.restore();return}t=c.$quoted();if(!t){c.restore();return}c.forget();return new a.default.Quoted(t.charAt(0),t.substr(1,t.length-2),n,r,i)},keyword:function(){var e=c.$char("%")||c.$re(/^\[?(?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+\]?/);if(e){return a.default.Color.fromKeyword(e)||new a.default.Keyword(e)}},call:function(){var e;var t;var r;var n=c.i;if(c.peek(/^url\(/i)){return}c.save();e=c.$re(/^([\w-]+|%|~|progid:[\w\.]+)\(/);if(!e){c.forget();return}e=e[1];r=this.customFuncCall(e);if(r){t=r.parse();if(t&&r.stop){c.forget();return t}}t=this.arguments(t);if(!c.$char(")")){c.restore("Could not parse call arguments or missing ')'");return}c.forget();return new a.default.Call(e,t,n,i)},customFuncCall:function(e){return{alpha:f(r.ieAlpha,true),boolean:f(condition),if:f(condition)}[e.toLowerCase()];function f(e,t){return{parse:e,stop:t}}function condition(){return[expect(r.condition,"expected condition")]}},arguments:function(e){var t=e||[];var i=[];var n;var o;c.save();while(true){if(e){e=false}else{o=r.detachedRuleset()||this.assignment()||r.expression();if(!o){break}if(o.value&&o.value.length==1){o=o.value[0]}t.push(o)}if(c.$char(",")){continue}if(c.$char(";")||n){n=true;o=t.length<1?t[0]:new a.default.Value(t);i.push(o);t=[]}}c.forget();return n?i:t},literal:function(){return this.dimension()||this.color()||this.quoted()||this.unicodeDescriptor()},assignment:function(){var e;var t;c.save();e=c.$re(/^\w+(?=\s?=)/i);if(!e){c.restore();return}if(!c.$char("=")){c.restore();return}t=r.entity();if(t){c.forget();return new a.default.Assignment(e,t)}else{c.restore()}},url:function(){var e;var t=c.i;c.autoCommentAbsorb=false;if(!c.$str("url(")){c.autoCommentAbsorb=true;return}e=this.quoted()||this.variable()||this.property()||c.$re(/^(?:(?:\\[\(\)'"])|[^\(\)'"])+/)||"";c.autoCommentAbsorb=true;expectChar(")");return new a.default.URL(e.value!=null||e instanceof a.default.Variable||e instanceof a.default.Property?e:new a.default.Anonymous(e,t),t,i)},variable:function(){var e;var t;var n=c.i;c.save();if(c.currentChar()==="@"&&(t=c.$re(/^@@?[\w-]+/))){e=c.currentChar();if(e==="("||e==="["&&!c.prevChar().match(/^\s/)){var o=r.variableCall(t);if(o){c.forget();return o}}c.forget();return new a.default.Variable(t,n,i)}c.restore()},variableCurly:function(){var e;var t=c.i;if(c.currentChar()==="@"&&(e=c.$re(/^@\{([\w-]+)\}/))){return new a.default.Variable("@"+e[1],t,i)}},property:function(){var e;var t=c.i;if(c.currentChar()==="$"&&(e=c.$re(/^\$[\w-]+/))){return new a.default.Property(e,t,i)}},propertyCurly:function(){var e;var t=c.i;if(c.currentChar()==="$"&&(e=c.$re(/^\$\{([\w-]+)\}/))){return new a.default.Property("$"+e[1],t,i)}},color:function(){var e;c.save();if(c.currentChar()==="#"&&(e=c.$re(/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3,4})([\w.#\[])?/))){if(!e[2]){c.forget();return new a.default.Color(e[1],undefined,e[0])}}c.restore()},colorKeyword:function(){c.save();var e=c.autoCommentAbsorb;c.autoCommentAbsorb=false;var t=c.$re(/^[_A-Za-z-][_A-Za-z0-9-]+/);c.autoCommentAbsorb=e;if(!t){c.forget();return}c.restore();var i=a.default.Color.fromKeyword(t);if(i){c.$str(t);return i}},dimension:function(){if(c.peekNotNumeric()){return}var e=c.$re(/^([+-]?\d*\.?\d+)(%|[a-z_]+)?/i);if(e){return new a.default.Dimension(e[1],e[2])}},unicodeDescriptor:function(){var e;e=c.$re(/^U\+[0-9a-fA-F?]+(\-[0-9a-fA-F?]+)?/);if(e){return new a.default.UnicodeDescriptor(e[0])}},javascript:function(){var e;var t=c.i;c.save();var r=c.$char("~");var n=c.$char("`");if(!n){c.restore();return}e=c.$re(/^[^`]*`/);if(e){c.forget();return new a.default.JavaScript(e.substr(0,e.length-1),Boolean(r),t,i)}c.restore("invalid javascript definition")}},variable:function(){var e;if(c.currentChar()==="@"&&(e=c.$re(/^(@[\w-]+)\s*:/))){return e[1]}},variableCall:function(e){var t;var n=c.i;var o=!!e;var s=e;c.save();if(s||c.currentChar()==="@"&&(s=c.$re(/^(@[\w-]+)(\(\s*\))?/))){t=this.mixin.ruleLookups();if(!t&&(o&&c.$str("()")!=="()"||s[2]!=="()")){c.restore("Missing '[...]' lookup in variable call");return}if(!o){s=s[1]}var l=new a.default.VariableCall(s,n,i);if(!o&&r.end()){c.forget();return l}else{c.forget();return new a.default.NamespaceValue(l,t,n,i)}}c.restore()},extend:function(e){var t;var r;var n=c.i;var o;var s;var l;if(!c.$str(e?"&:extend(":":extend(")){return}do{o=null;t=null;while(!(o=c.$re(/^(all)(?=\s*(\)|,))/))){r=this.element();if(!r){break}if(t){t.push(r)}else{t=[r]}}o=o&&o[1];if(!t){error("Missing target selector for :extend().")}l=new a.default.Extend(new a.default.Selector(t),o,n,i);if(s){s.push(l)}else{s=[l]}}while(c.$char(","));expect(/^\)/);if(e){expect(/^;/)}return s},extendRule:function(){return this.extend(true)},mixin:{call:function(e,t){var n=c.currentChar();var o=false;var s;var l=c.i;var u;var p;var d;if(n!=="."&&n!=="#"){return}c.save();u=this.elements();if(u){if(c.$char("(")){p=this.args(true).args;expectChar(")");d=true}if(t!==false){s=this.ruleLookups()}if(t===true&&!s){c.restore();return}if(e&&!s&&!d){c.restore();return}if(!e&&r.important()){o=true}if(e||r.end()){c.forget();var h=new a.default.mixin.Call(u,p,l,i,!s&&o);if(s){return new a.default.NamespaceValue(h,s)}else{return h}}}c.restore()},elements:function(){var e;var t;var r;var n;var o;var s=/^[#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/;while(true){o=c.i;t=c.$re(s);if(!t){break}n=new a.default.Element(r,t,false,o,i);if(e){e.push(n)}else{e=[n]}r=c.$char(">")}return e},args:function(e){var t=r.entities;var i={args:null,variadic:false};var n=[];var o=[];var s=[];var l;var u;var p;var d;var h;var v;var m;var g=true;c.save();while(true){if(e){v=r.detachedRuleset()||r.expression()}else{c.commentStore.length=0;if(c.$str("...")){i.variadic=true;if(c.$char(";")&&!l){l=true}(l?o:s).push({variadic:true});break}v=t.variable()||t.property()||t.literal()||t.keyword()||this.call(true)}if(!v||!g){break}d=null;if(v.throwAwayComments){v.throwAwayComments()}h=v;var y=null;if(e){if(v.value&&v.value.length==1){y=v.value[0]}}else{y=v}if(y&&(y instanceof a.default.Variable||y instanceof a.default.Property)){if(c.$char(":")){if(n.length>0){if(l){error("Cannot mix ; and , as delimiter types")}u=true}h=r.detachedRuleset()||r.expression();if(!h){if(e){error("could not understand value for named argument")}else{c.restore();i.args=[];return i}}d=p=y.name}else if(c.$str("...")){if(!e){i.variadic=true;if(c.$char(";")&&!l){l=true}(l?o:s).push({name:v.name,variadic:true});break}else{m=true}}else if(!e){p=d=y.name;h=null}}if(h){n.push(h)}s.push({name:d,value:h,expand:m});if(c.$char(",")){g=true;continue}g=c.$char(";")===";";if(g||l){if(u){error("Cannot mix ; and , as delimiter types")}l=true;if(n.length>1){h=new a.default.Value(n)}o.push({name:p,value:h,expand:m});p=null;n=[];u=false}}c.forget();i.args=l?o:s;return i},definition:function(){var e;var t=[];var i;var n;var o;var s=false;if(c.currentChar()!=="."&&c.currentChar()!=="#"||c.peek(/^[^{]*\}/)){return}c.save();i=c.$re(/^([#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+)\s*\(/);if(i){e=i[1];var l=this.args(false);t=l.args;s=l.variadic;if(!c.$char(")")){c.restore("Missing closing ')'");return}c.commentStore.length=0;if(c.$str("when")){o=expect(r.conditions,"expected condition")}n=r.block();if(n){c.forget();return new a.default.mixin.Definition(e,t,n,o,s)}else{c.restore()}}else{c.restore()}},ruleLookups:function(){var e;var t;var i=[];if(c.currentChar()!=="["){return}while(true){c.save();t=null;e=this.lookupValue();if(!e&&e!==""){c.restore();break}i.push(e);c.forget()}if(i.length>0){return i}},lookupValue:function(){c.save();if(!c.$char("[")){c.restore();return}var e=c.$re(/^(?:[@$]{0,2})[_a-zA-Z0-9-]*/);if(!c.$char("]")){c.restore();return}if(e||e===""){c.forget();return e}c.restore()}},entity:function(){var e=this.entities;return this.comment()||e.literal()||e.variable()||e.url()||e.property()||e.call()||e.keyword()||this.mixin.call(true)||e.javascript()},end:function(){return c.$char(";")||c.peek("}")},ieAlpha:function(){var e;if(!c.$re(/^opacity=/i)){return}e=c.$re(/^\d+/);if(!e){e=expect(r.entities.variable,"Could not parse alpha");e="@{"+e.name.slice(1)+"}"}expectChar(")");return new a.default.Quoted("","alpha(opacity="+e+")")},element:function(){var e;var t;var r;var n=c.i;t=this.combinator();e=c.$re(/^(?:\d+\.\d+|\d+)%/)||c.$re(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||c.$char("*")||c.$char("&")||this.attribute()||c.$re(/^\([^&()@]+\)/)||c.$re(/^[\.#:](?=@)/)||this.entities.variableCurly();if(!e){c.save();if(c.$char("(")){if((r=this.selector(false))&&c.$char(")")){e=new a.default.Paren(r);c.forget()}else{c.restore("Missing closing ')'")}}else{c.forget()}}if(e){return new a.default.Element(t,e,e instanceof a.default.Variable,n,i)}},combinator:function(){var e=c.currentChar();if(e==="/"){c.save();var t=c.$re(/^\/[a-z]+\//i);if(t){c.forget();return new a.default.Combinator(t)}c.restore()}if(e===">"||e==="+"||e==="~"||e==="|"||e==="^"){c.i++;if(e==="^"&&c.currentChar()==="^"){e="^^";c.i++}while(c.isWhitespace()){c.i++}return new a.default.Combinator(e)}else if(c.isWhitespace(-1)){return new a.default.Combinator(" ")}else{return new a.default.Combinator(null)}},selector:function(e){var t=c.i;var r;var n;var o;var s;var l;var u;var p;e=e!==false;while(e&&(n=this.extend())||e&&(u=c.$str("when"))||(s=this.element())){if(u){p=expect(this.conditions,"expected condition")}else if(p){error("CSS guard can only be used at the end of selector")}else if(n){if(l){l=l.concat(n)}else{l=n}}else{if(l){error("Extend can only be used at the end of selector")}o=c.currentChar();if(r){r.push(s)}else{r=[s]}s=null}if(o==="{"||o==="}"||o===";"||o===","||o===")"){break}}if(r){return new a.default.Selector(r,l,p,t,i)}if(l){error("Extend must be used to extend a selector, it cannot be used on its own")}},selectors:function(){var e;var t;while(true){e=this.selector();if(!e){break}if(t){t.push(e)}else{t=[e]}c.commentStore.length=0;if(e.condition&&t.length>1){error("Guards are only currently allowed on a single selector.")}if(!c.$char(",")){break}if(e.condition){error("Guards are only currently allowed on a single selector.")}c.commentStore.length=0}return t},attribute:function(){if(!c.$char("[")){return}var e=this.entities;var t;var i;var r;var n;if(!(t=e.variableCurly())){t=expect(/^(?:[_A-Za-z0-9-\*]*\|)?(?:[_A-Za-z0-9-]|\\.)+/)}r=c.$re(/^[|~*$^]?=/);if(r){i=e.quoted()||c.$re(/^[0-9]+%/)||c.$re(/^[\w-]+/)||e.variableCurly();if(i){n=c.$re(/^[iIsS]/)}}expectChar("]");return new a.default.Attribute(t,r,i,n)},block:function(){var e;if(c.$char("{")&&(e=this.primary())&&c.$char("}")){return e}},blockRuleset:function(){var e=this.block();if(e){e=new a.default.Ruleset(null,e)}return e},detachedRuleset:function(){var e;var t;var i;c.save();if(c.$re(/^[.#]\(/)){e=this.mixin.args(false);t=e.args;i=e.variadic;if(!c.$char(")")){c.restore();return}}var r=this.blockRuleset();if(r){c.forget();if(t){return new a.default.mixin.Definition(null,t,r,null,i)}return new a.default.DetachedRuleset(r)}c.restore()},ruleset:function(){var t;var i;var r;c.save();if(e.dumpLineNumbers){r=getDebugInfo(c.i)}t=this.selectors();if(t&&(i=this.block())){c.forget();var n=new a.default.Ruleset(t,i,e.strictImports);if(e.dumpLineNumbers){n.debugInfo=r}return n}else{c.restore()}},declaration:function(){var e;var t;var r=c.i;var n;var o=c.currentChar();var s;var l;var u;if(o==="."||o==="#"||o==="&"||o===":"){return}c.save();e=this.variable()||this.ruleProperty();if(e){u=typeof e==="string";if(u){t=this.detachedRuleset();if(t){n=true}}c.commentStore.length=0;if(!t){l=!u&&e.length>1&&e.pop().value;if(e[0].value&&e[0].value.slice(0,2)==="--"){t=this.permissiveValue()}else{t=this.anonymousValue()}if(t){c.forget();return new a.default.Declaration(e,t,false,l,r,i)}if(!t){t=this.value()}if(t){s=this.important()}else if(u){t=this.permissiveValue()}}if(t&&(this.end()||n)){c.forget();return new a.default.Declaration(e,t,s,l,r,i)}else{c.restore()}}else{c.restore()}},anonymousValue:function(){var e=c.i;var t=c.$re(/^([^.#@\$+\/'"*`(;{}-]*);/);if(t){return new a.default.Anonymous(t[1],e)}},permissiveValue:function(e){var t;var r;var n;var o;var s=e||";";var l=c.i;var u=[];function testCurrentChar(){var e=c.currentChar();if(typeof s==="string"){return e===s}else{return s.test(e)}}if(testCurrentChar()){return}o=[];do{r=this.comment();if(r){o.push(r);continue}r=this.entity();if(r){o.push(r)}}while(r);n=testCurrentChar();if(o.length>0){o=new a.default.Expression(o);if(n){return o}else{u.push(o)}if(c.prevChar()===" "){u.push(new a.default.Anonymous(" ",l))}}c.save();o=c.$parseUntil(s);if(o){if(typeof o==="string"){error("Expected '"+o+"'","Parse")}if(o.length===1&&o[0]===" "){c.forget();return new a.default.Anonymous("",l)}var p=void 0;for(t=0;t0){return new a.default.Expression(t)}},mediaFeatures:function(){var e=this.entities;var t=[];var i;do{i=this.mediaFeature();if(i){t.push(i);if(!c.$char(",")){break}}else{i=e.variable()||e.mixinLookup();if(i){t.push(i);if(!c.$char(",")){break}}}}while(i);return t.length>0?t:null},media:function(){var t;var r;var n;var o;var s=c.i;if(e.dumpLineNumbers){o=getDebugInfo(s)}c.save();if(c.$str("@media")){t=this.mediaFeatures();r=this.block();if(!r){error("media definitions require block statements after any features")}c.forget();n=new a.default.Media(r,t,s,i);if(e.dumpLineNumbers){n.debugInfo=o}return n}c.restore()},plugin:function(){var e;var t;var r;var n=c.i;var o=c.$re(/^@plugin\s+/);if(o){t=this.pluginArgs();if(t){r={pluginArgs:t,isPlugin:true}}else{r={isPlugin:true}}if(e=this.entities.quoted()||this.entities.url()){if(!c.$char(";")){c.i=n;error("missing semi-colon on @plugin")}return new a.default.Import(e,null,r,n,i)}else{c.i=n;error("malformed @plugin statement")}}},pluginArgs:function(){c.save();if(!c.$char("(")){c.restore();return null}var e=c.$re(/^\s*([^\);]+)\)\s*/);if(e[1]){c.forget();return e[1].trim()}else{c.restore();return null}},atrule:function(){var t=c.i;var r;var n;var o;var s;var l;var u;var p;var d=true;var h=true;if(c.currentChar()!=="@"){return}n=this["import"]()||this.plugin()||this.media();if(n){return n}c.save();r=c.$re(/^@[a-z-]+/);if(!r){return}s=r;if(r.charAt(1)=="-"&&r.indexOf("-",2)>0){s="@"+r.slice(r.indexOf("-",2)+1)}switch(s){case"@charset":l=true;d=false;break;case"@namespace":u=true;d=false;break;case"@keyframes":case"@counter-style":l=true;break;case"@document":case"@supports":p=true;h=false;break;default:p=true;break}c.commentStore.length=0;if(l){n=this.entity();if(!n){error("expected "+r+" identifier")}}else if(u){n=this.expression();if(!n){error("expected "+r+" expression")}}else if(p){n=this.permissiveValue(/^[{;]/);d=c.currentChar()==="{";if(!n){if(!d&&c.currentChar()!==";"){error(r+" rule is missing block or ending semi-colon")}}else if(!n.value){n=null}}if(d){o=this.blockRuleset()}if(o||!d&&n&&c.$char(";")){c.forget();return new a.default.AtRule(r,n,o,t,i,e.dumpLineNumbers?getDebugInfo(t):null,h)}c.restore("at-rule options not recognised")},value:function(){var e;var t=[];var i=c.i;do{e=this.expression();if(e){t.push(e);if(!c.$char(",")){break}}}while(e);if(t.length>0){return new a.default.Value(t,i)}},important:function(){if(c.currentChar()==="!"){return c.$re(/^! *important/)}},sub:function(){var e;var t;c.save();if(c.$char("(")){e=this.addition();if(e&&c.$char(")")){c.forget();t=new a.default.Expression([e]);t.parens=true;return t}c.restore("Expected ')'");return}c.restore()},multiplication:function(){var e;var t;var i;var r;var n;e=this.operand();if(e){n=c.isWhitespace(-1);while(true){if(c.peek(/^\/[*\/]/)){break}c.save();i=c.$char("/")||c.$char("*")||c.$str("./");if(!i){c.forget();break}t=this.operand();if(!t){c.restore();break}c.forget();e.parensInOp=true;t.parensInOp=true;r=new a.default.Operation(i,[r||e,t],n);n=c.isWhitespace(-1)}return r||e}},addition:function(){var e;var t;var i;var r;var n;e=this.multiplication();if(e){n=c.isWhitespace(-1);while(true){i=c.$re(/^[-+]\s+/)||!n&&(c.$char("+")||c.$char("-"));if(!i){break}t=this.multiplication();if(!t){break}e.parensInOp=true;t.parensInOp=true;r=new a.default.Operation(i,[r||e,t],n);n=c.isWhitespace(-1)}return r||e}},conditions:function(){var e;var t;var i=c.i;var r;e=this.condition(true);if(e){while(true){if(!c.peek(/^,\s*(not\s*)?\(/)||!c.$char(",")){break}t=this.condition(true);if(!t){break}r=new a.default.Condition("or",r||e,t,i)}return r||e}},condition:function(e){var t;var i;var r;function or(){return c.$str("or")}t=this.conditionAnd(e);if(!t){return}i=or();if(i){r=this.condition(e);if(r){t=new a.default.Condition(i,t,r)}else{return}}return t},conditionAnd:function(e){var t;var i;var r;var n=this;function insideCondition(){var t=n.negatedCondition(e)||n.parenthesisCondition(e);if(!t&&!e){return n.atomicCondition(e)}return t}function and(){return c.$str("and")}t=insideCondition();if(!t){return}i=and();if(i){r=this.conditionAnd(e);if(r){t=new a.default.Condition(i,t,r)}else{return}}return t},negatedCondition:function(e){if(c.$str("not")){var t=this.parenthesisCondition(e);if(t){t.negate=!t.negate}return t}},parenthesisCondition:function(e){function tryConditionFollowedByParenthesis(t){var i;c.save();i=t.condition(e);if(!i){c.restore();return}if(!c.$char(")")){c.restore();return}c.forget();return i}var t;c.save();if(!c.$str("(")){c.restore();return}t=tryConditionFollowedByParenthesis(this);if(t){c.forget();return t}t=this.atomicCondition(e);if(!t){c.restore();return}if(!c.$char(")")){c.restore("expected ')' got '"+c.currentChar()+"'");return}c.forget();return t},atomicCondition:function(e){var t=this.entities;var i=c.i;var r;var n;var o;var s;function cond(){return this.addition()||t.keyword()||t.quoted()||t.mixinLookup()}cond=cond.bind(this);r=cond();if(r){if(c.$char(">")){if(c.$char("=")){s=">="}else{s=">"}}else if(c.$char("<")){if(c.$char("=")){s="<="}else{s="<"}}else if(c.$char("=")){if(c.$char(">")){s="=>"}else if(c.$char("<")){s="=<"}else{s="="}}if(s){n=cond();if(n){o=new a.default.Condition(s,r,n,i,false)}else{error("expected expression")}}else{o=new a.default.Condition("=",r,new a.default.Keyword("true"),i,false)}return o}},operand:function(){var e=this.entities;var t;if(c.peek(/^-[@\$\(]/)){t=c.$char("-")}var i=this.sub()||e.dimension()||e.color()||e.variable()||e.property()||e.call()||e.quoted(true)||e.colorKeyword()||e.mixinLookup();if(t){i.parensInOp=true;i=new a.default.Negative(i)}return i},expression:function(){var e=[];var t;var i;var r=c.i;do{t=this.comment();if(t){e.push(t);continue}t=this.addition()||this.entity();if(t instanceof a.default.Comment){t=null}if(t){e.push(t);if(!c.peek(/^\/[\/*]/)){i=c.$char("/");if(i){e.push(new a.default.Anonymous(i,r))}}}}while(t);if(e.length>0){return new a.default.Expression(e)}},property:function(){var e=c.$re(/^(\*?-?[_a-zA-Z0-9-]+)\s*:/);if(e){return e[1]}},ruleProperty:function(){var e=[];var t=[];var r;var n;c.save();var o=c.$re(/^([_a-zA-Z0-9-]+)\s*:/);if(o){e=[new a.default.Keyword(o[1])];c.forget();return e}function match(i){var r=c.i;var n=c.$re(i);if(n){t.push(r);return e.push(n[1])}}match(/^(\*?)/);while(true){if(!match(/^((?:[\w-]+)|(?:[@\$]\{[\w-]+\}))/)){break}}if(e.length>1&&match(/^((?:\+_|\+)?)\s*:/)){c.forget();if(e[0]===""){e.shift();t.shift()}for(n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true});var i=function(){function PluginManager(e){this.less=e;this.visitors=[];this.preProcessors=[];this.postProcessors=[];this.installedPlugins=[];this.fileManagers=[];this.iterator=-1;this.pluginCache={};this.Loader=new e.PluginLoader(e)}PluginManager.prototype.addPlugins=function(e){if(e){for(var t=0;t=t){break}}this.preProcessors.splice(i,0,{preProcessor:e,priority:t})};PluginManager.prototype.addPostProcessor=function(e,t){var i;for(i=0;i=t){break}}this.postProcessors.splice(i,0,{postProcessor:e,priority:t})};PluginManager.prototype.addFileManager=function(e){this.fileManagers.push(e)};PluginManager.prototype.getPreProcessors=function(){var e=[];for(var t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importStar(i(3553));function default_1(e,t,i){var render=function(e,i,r){if(typeof i==="function"){r=i;i=n.copyOptions(this.options,{})}else{i=n.copyOptions(this.options,i||{})}if(!r){var a=this;return new Promise((function(t,r){render.call(a,e,i,(function(e,i){if(e){r(e)}else{t(i)}}))}))}else{this.parse(e,i,(function(e,i,n,a){if(e){return r(e)}var o;try{var s=new t(i,n);o=s.toCSS(a)}catch(e){return r(e)}r(null,o)}))}};return render}t["default"]=default_1},4298:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function default_1(e,t){var i=function(){function SourceMapBuilder(e){this.options=e}SourceMapBuilder.prototype.toCSS=function(t,i,r){var n=new e({contentsIgnoredCharsMap:r.contentsIgnoredChars,rootNode:t,contentsMap:r.contents,sourceMapFilename:this.options.sourceMapFilename,sourceMapURL:this.options.sourceMapURL,outputFilename:this.options.sourceMapOutputFilename,sourceMapBasepath:this.options.sourceMapBasepath,sourceMapRootpath:this.options.sourceMapRootpath,outputSourceFiles:this.options.outputSourceFiles,sourceMapGenerator:this.options.sourceMapGenerator,sourceMapFileInline:this.options.sourceMapFileInline,disableSourcemapAnnotation:this.options.disableSourcemapAnnotation});var a=n.toCSS(i);this.sourceMap=n.sourceMap;this.sourceMapURL=n.sourceMapURL;if(this.options.sourceMapInputFilename){this.sourceMapInputFilename=n.normalizeFilename(this.options.sourceMapInputFilename)}if(this.options.sourceMapBasepath!==undefined&&this.sourceMapURL!==undefined){this.sourceMapURL=n.removeBasepath(this.sourceMapURL)}return a+this.getCSSAppendage()};SourceMapBuilder.prototype.getCSSAppendage=function(){var e=this.sourceMapURL;if(this.options.sourceMapFileInline){if(this.sourceMap===undefined){return""}e="data:application/json;base64,"+t.encodeBase64(this.sourceMap)}if(this.options.disableSourcemapAnnotation){return""}if(e){return"/*# sourceMappingURL="+e+" */"}return""};SourceMapBuilder.prototype.getExternalSourceMap=function(){return this.sourceMap};SourceMapBuilder.prototype.setExternalSourceMap=function(e){this.sourceMap=e};SourceMapBuilder.prototype.isInline=function(){return this.options.sourceMapFileInline};SourceMapBuilder.prototype.getSourceMapURL=function(){return this.sourceMapURL};SourceMapBuilder.prototype.getOutputFilename=function(){return this.options.sourceMapOutputFilename};SourceMapBuilder.prototype.getInputFilename=function(){return this.sourceMapInputFilename};return SourceMapBuilder}();return i}t["default"]=default_1},1926:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function default_1(e){var t=function(){function SourceMapOutput(t){this._css=[];this._rootNode=t.rootNode;this._contentsMap=t.contentsMap;this._contentsIgnoredCharsMap=t.contentsIgnoredCharsMap;if(t.sourceMapFilename){this._sourceMapFilename=t.sourceMapFilename.replace(/\\/g,"/")}this._outputFilename=t.outputFilename;this.sourceMapURL=t.sourceMapURL;if(t.sourceMapBasepath){this._sourceMapBasepath=t.sourceMapBasepath.replace(/\\/g,"/")}if(t.sourceMapRootpath){this._sourceMapRootpath=t.sourceMapRootpath.replace(/\\/g,"/");if(this._sourceMapRootpath.charAt(this._sourceMapRootpath.length-1)!=="/"){this._sourceMapRootpath+="/"}}else{this._sourceMapRootpath=""}this._outputSourceFiles=t.outputSourceFiles;this._sourceMapGeneratorConstructor=e.getSourceMapGenerator();this._lineNumber=0;this._column=0}SourceMapOutput.prototype.removeBasepath=function(e){if(this._sourceMapBasepath&&e.indexOf(this._sourceMapBasepath)===0){e=e.substring(this._sourceMapBasepath.length);if(e.charAt(0)==="\\"||e.charAt(0)==="/"){e=e.substring(1)}}return e};SourceMapOutput.prototype.normalizeFilename=function(e){e=e.replace(/\\/g,"/");e=this.removeBasepath(e);return(this._sourceMapRootpath||"")+e};SourceMapOutput.prototype.add=function(e,t,i,r){if(!e){return}var n,a,o,s,l;if(t&&t.filename){var u=this._contentsMap[t.filename];if(this._contentsIgnoredCharsMap[t.filename]){i-=this._contentsIgnoredCharsMap[t.filename];if(i<0){i=0}u=u.slice(this._contentsIgnoredCharsMap[t.filename])}if(u===undefined){this._css.push(e);return}u=u.substring(0,i);a=u.split("\n");s=a[a.length-1]}n=e.split("\n");o=n[n.length-1];if(t&&t.filename){if(!r){this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+1,column:this._column},original:{line:a.length,column:s.length},source:this.normalizeFilename(t.filename)})}else{for(l=0;l0){var r=void 0;var n=JSON.stringify(this._sourceMapGenerator.toJSON());if(this.sourceMapURL){r=this.sourceMapURL}else if(this._sourceMapFilename){r=this._sourceMapFilename}this.sourceMapURL=r;this.sourceMap=n}return this._css.join("")};return SourceMapOutput}();return t}t["default"]=default_1},3485:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(3892));var a=r.__importDefault(i(7739));var o=r.__importDefault(i(6444));function default_1(e,t){t=t||{};var i;var r=t.variables;var s=new n.default.Eval(t);if(typeof r==="object"&&!Array.isArray(r)){r=Object.keys(r).map((function(e){var t=r[e];if(!(t instanceof o.default.Value)){if(!(t instanceof o.default.Expression)){t=new o.default.Expression([t])}t=new o.default.Value([t])}return new o.default.Declaration("@"+e,t,false,null,0)}));s.frames=[new o.default.Ruleset(null,r)]}var l=[new a.default.JoinSelectorVisitor,new a.default.MarkVisibleSelectorsVisitor(true),new a.default.ExtendVisitor,new a.default.ToCSSVisitor({compress:Boolean(t.compress)})];var u=[];var c;var p;if(t.pluginManager){p=t.pluginManager.visitor();for(var d=0;d<2;d++){p.first();while(c=p.get()){if(c.isPreEvalVisitor){if(d===0||u.indexOf(c)===-1){u.push(c);c.run(e)}}else{if(d===0||l.indexOf(c)===-1){if(c.isPreVisitor){l.unshift(c)}else{l.push(c)}}}}}}i=e.eval(s);for(var d=0;d{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var Anonymous=function(e,t,i,r,n,a){this.value=e;this._index=t;this._fileInfo=i;this.mapLines=r;this.rulesetLike=typeof n==="undefined"?false:n;this.allowRoot=true;this.copyVisibilityInfo(a)};Anonymous.prototype=Object.assign(new n.default,{type:"Anonymous",eval:function(){return new Anonymous(this.value,this._index,this._fileInfo,this.mapLines,this.rulesetLike,this.visibilityInfo())},compare:function(e){return e.toCSS&&this.toCSS()===e.toCSS()?0:undefined},isRulesetLike:function(){return this.rulesetLike},genCSS:function(e,t){this.nodeVisible=Boolean(this.value);if(this.nodeVisible){t.add(this.value,this._fileInfo,this._index,this.mapLines)}}});t["default"]=Anonymous},8477:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var Assignment=function(e,t){this.key=e;this.value=t};Assignment.prototype=Object.assign(new n.default,{type:"Assignment",accept:function(e){this.value=e.visit(this.value)},eval:function(e){if(this.value.eval){return new Assignment(this.key,this.value.eval(e))}return this},genCSS:function(e,t){t.add(this.key+"=");if(this.value.genCSS){this.value.genCSS(e,t)}else{t.add(this.value)}}});t["default"]=Assignment},5431:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(482));var o=r.__importDefault(i(3873));var s=r.__importDefault(i(8231));var AtRule=function(e,t,i,r,o,l,u,c){var p;this.name=e;this.value=t instanceof n.default?t:t?new s.default(t):t;if(i){if(Array.isArray(i)){this.rules=i}else{this.rules=[i];this.rules[0].selectors=new a.default([],null,null,r,o).createEmptySelectors()}for(p=0;p{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var Attribute=function(e,t,i,r){this.key=e;this.op=t;this.value=i;this.cif=r};Attribute.prototype=Object.assign(new n.default,{type:"Attribute",eval:function(e){return new Attribute(this.key.eval?this.key.eval(e):this.key,this.op,this.value&&this.value.eval?this.value.eval(e):this.value,this.cif)},genCSS:function(e,t){t.add(this.toCSS(e))},toCSS:function(e){var t=this.key.toCSS?this.key.toCSS(e):this.key;if(this.op){t+=this.op;t+=this.value.toCSS?this.value.toCSS(e):this.value}if(this.cif){t=t+" "+this.cif}return"["+t+"]"}});t["default"]=Attribute},1069:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(8231));var o=r.__importDefault(i(406));var Call=function(e,t,i,r){this.name=e;this.args=t;this.calc=e==="calc";this._index=i;this._fileInfo=r};Call.prototype=Object.assign(new n.default,{type:"Call",accept:function(e){if(this.args){this.args=e.visitArray(this.args)}},eval:function(e){var t=this;var i=e.mathOn;e.mathOn=!this.calc;if(this.calc||e.inCalc){e.enterCalc()}var exitCalc=function(){if(t.calc||e.inCalc){e.exitCalc()}e.mathOn=i};var r;var s=new o.default(this.name,e,this.getIndex(),this.fileInfo());if(s.isValid()){try{r=s.call(this.args);exitCalc()}catch(e){if(e.hasOwnProperty("line")&&e.hasOwnProperty("column")){throw e}throw{type:e.type||"Runtime",message:"Error evaluating function `"+this.name+"`"+(e.message?": "+e.message:""),index:this.getIndex(),filename:this.fileInfo().filename,line:e.lineNumber,column:e.columnNumber}}}if(r!==null&&r!==undefined){if(!(r instanceof n.default)){if(!r||r===true){r=new a.default(null)}else{r=new a.default(r.toString())}}r._index=this._index;r._fileInfo=this._fileInfo;return r}var l=this.args.map((function(t){return t.eval(e)}));exitCalc();return new Call(this.name,l,this.getIndex(),this.fileInfo())},genCSS:function(e,t){t.add(this.name+"(",this.fileInfo(),this.getIndex());for(var i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(1748));var Color=function(e,t,i){var r=this;if(Array.isArray(e)){this.rgb=e}else if(e.length>=6){this.rgb=[];e.match(/.{2}/g).map((function(e,t){if(t<3){r.rgb.push(parseInt(e,16))}else{r.alpha=parseInt(e,16)/255}}))}else{this.rgb=[];e.split("").map((function(e,t){if(t<3){r.rgb.push(parseInt(e+e,16))}else{r.alpha=parseInt(e+e,16)/255}}))}this.alpha=this.alpha||(typeof t==="number"?t:1);if(typeof i!=="undefined"){this.value=i}};Color.prototype=Object.assign(new n.default,{type:"Color",luma:function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,i=this.rgb[2]/255;e=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4);t=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4);i=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4);return.2126*e+.7152*t+.0722*i},genCSS:function(e,t){t.add(this.toCSS(e))},toCSS:function(e,t){var i=e&&e.compress&&!t;var r;var n;var a;var o=[];n=this.fround(e,this.alpha);if(this.value){if(this.value.indexOf("rgb")===0){if(n<1){a="rgba"}}else if(this.value.indexOf("hsl")===0){if(n<1){a="hsla"}else{a="hsl"}}else{return this.value}}else{if(n<1){a="rgba"}}switch(a){case"rgba":o=this.rgb.map((function(e){return clamp(Math.round(e),255)})).concat(clamp(n,1));break;case"hsla":o.push(clamp(n,1));case"hsl":r=this.toHSL();o=[this.fround(e,r.h),this.fround(e,r.s*100)+"%",this.fround(e,r.l*100)+"%"].concat(o)}if(a){return a+"("+o.join(","+(i?"":" "))+")"}r=this.toRGB();if(i){var s=r.split("");if(s[1]===s[2]&&s[3]===s[4]&&s[5]===s[6]){r="#"+s[1]+s[3]+s[5]}}return r},operate:function(e,t,i){var r=new Array(3);var n=this.alpha*(1-i.alpha)+i.alpha;for(var a=0;a<3;a++){r[a]=this._operate(e,t,this.rgb[a],i.rgb[a])}return new Color(r,n)},toRGB:function(){return toHex(this.rgb)},toHSL:function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,i=this.rgb[2]/255,r=this.alpha;var n=Math.max(e,t,i),a=Math.min(e,t,i);var o;var s;var l=(n+a)/2;var u=n-a;if(n===a){o=s=0}else{s=l>.5?u/(2-n-a):u/(n+a);switch(n){case e:o=(t-i)/u+(t{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a={"":true," ":true,"|":true};var Combinator=function(e){if(e===" "){this.value=" ";this.emptyOrWhitespace=true}else{this.value=e?e.trim():"";this.emptyOrWhitespace=this.value===""}};Combinator.prototype=Object.assign(new n.default,{type:"Combinator",genCSS:function(e,t){var i=e.compress||a[this.value]?"":" ";t.add(i+this.value+i)}});t["default"]=Combinator},6922:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(4476));var Comment=function(e,t,i,r){this.value=e;this.isLineComment=t;this._index=i;this._fileInfo=r;this.allowRoot=true};Comment.prototype=Object.assign(new n.default,{type:"Comment",genCSS:function(e,t){if(this.debugInfo){t.add(a.default(e,this),this.fileInfo(),this.getIndex())}t.add(this.value)},isSilent:function(e){var t=e.compress&&this.value[2]!=="!";return this.isLineComment||t}});t["default"]=Comment},9363:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var Condition=function(e,t,i,r,n){this.op=e.trim();this.lvalue=t;this.rvalue=i;this._index=r;this.negate=n};Condition.prototype=Object.assign(new n.default,{type:"Condition",accept:function(e){this.lvalue=e.visit(this.lvalue);this.rvalue=e.visit(this.rvalue)},eval:function(e){var t=function(e,t,i){switch(e){case"and":return t&&i;case"or":return t||i;default:switch(n.default.compare(t,i)){case-1:return e==="<"||e==="=<"||e==="<=";case 0:return e==="="||e===">="||e==="=<"||e==="<=";case 1:return e===">"||e===">=";default:return false}}}(this.op,this.lvalue.eval(e),this.rvalue.eval(e));return this.negate?!t:t}});t["default"]=Condition},4476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function asComment(e){return"/* line "+e.debugInfo.lineNumber+", "+e.debugInfo.fileName+" */\n"}function asMediaQuery(e){var t=e.debugInfo.fileName;if(!/^[a-z]+:\/\//i.test(t)){t="file://"+t}return"@media -sass-debug-info{filename{font-family:"+t.replace(/([.:\/\\])/g,(function(e){if(e=="\\"){e="/"}return"\\"+e}))+"}line{font-family:\\00003"+e.debugInfo.lineNumber+"}}\n"}function debugInfo(e,t,i){var r="";if(e.dumpLineNumbers&&!e.compress){switch(e.dumpLineNumbers){case"comments":r=asComment(t);break;case"mediaquery":r=asMediaQuery(t);break;case"all":r=asComment(t)+(i||"")+asMediaQuery(t);break}}return r}t["default"]=debugInfo},4942:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(3546));var o=r.__importDefault(i(3839));var s=r.__importDefault(i(8231));var l=r.__importStar(i(7207));var u=l.Math;function evalName(e,t){var i="";var r;var n=t.length;var a={add:function(e){i+=e}};for(r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(3892));var o=r.__importStar(i(3553));var DetachedRuleset=function(e,t){this.ruleset=e;this.frames=t;this.setParent(this.ruleset,this)};DetachedRuleset.prototype=Object.assign(new n.default,{type:"DetachedRuleset",evalFirst:true,accept:function(e){this.ruleset=e.visit(this.ruleset)},eval:function(e){var t=this.frames||o.copyArray(e.frames);return new DetachedRuleset(this.ruleset,t)},callEval:function(e){return this.ruleset.eval(this.frames?new a.default.Eval(e,this.frames.concat(e.frames)):e)}});t["default"]=DetachedRuleset},7505:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(1855));var o=r.__importDefault(i(6735));var s=r.__importDefault(i(6850));var Dimension=function(e,t){this.value=parseFloat(e);if(isNaN(this.value)){throw new Error("Dimension is not a number.")}this.unit=t&&t instanceof o.default?t:new o.default(t?[t]:undefined);this.setParent(this.unit,this)};Dimension.prototype=Object.assign(new n.default,{type:"Dimension",accept:function(e){this.unit=e.visit(this.unit)},eval:function(e){return this},toColor:function(){return new s.default([this.value,this.value,this.value])},genCSS:function(e,t){if(e&&e.strictUnits&&!this.unit.isSingular()){throw new Error("Multiple units in dimension. Correct the units or use the unit function. Bad unit: "+this.unit.toString())}var i=this.fround(e,this.value);var r=String(i);if(i!==0&&i<1e-6&&i>-1e-6){r=i.toFixed(20).replace(/0+$/,"")}if(e&&e.compress){if(i===0&&this.unit.isLength()){t.add(r);return}if(i>0&&i<1){r=r.substr(1)}}t.add(r);this.unit.genCSS(e,t)},operate:function(e,t,i){var r=this._operate(e,t,this.value,i.value);var n=this.unit.clone();if(t==="+"||t==="-"){if(n.numerator.length===0&&n.denominator.length===0){n=i.unit.clone();if(this.unit.backupUnit){n.backupUnit=this.unit.backupUnit}}else if(i.unit.numerator.length===0&&n.denominator.length===0){}else{i=i.convertTo(this.unit.usedUnits());if(e.strictUnits&&i.unit.toString()!==n.toString()){throw new Error("Incompatible units. Change the units or use the unit function. "+("Bad units: '"+n.toString()+"' and '"+i.unit.toString()+"'."))}r=this._operate(e,t,this.value,i.value)}}else if(t==="*"){n.numerator=n.numerator.concat(i.unit.numerator).sort();n.denominator=n.denominator.concat(i.unit.denominator).sort();n.cancel()}else if(t==="/"){n.numerator=n.numerator.concat(i.unit.denominator).sort();n.denominator=n.denominator.concat(i.unit.numerator).sort();n.cancel()}return new Dimension(r,n)},compare:function(e){var t,i;if(!(e instanceof Dimension)){return undefined}if(this.unit.isEmpty()||e.unit.isEmpty()){t=this;i=e}else{t=this.unify();i=e.unify();if(t.unit.compare(i.unit)!==0){return undefined}}return n.default.numericCompare(t.value,i.value)},unify:function(){return this.convertTo({length:"px",duration:"s",angle:"rad"})},convertTo:function(e){var t=this.value;var i=this.unit.clone();var r;var n;var o;var s;var l={};var u;if(typeof e==="string"){for(r in a.default){if(a.default[r].hasOwnProperty(e)){l={};l[r]=e}}e=l}u=function(e,i){if(o.hasOwnProperty(e)){if(i){t=t/(o[e]/o[s])}else{t=t*(o[e]/o[s])}return s}return e};for(n in e){if(e.hasOwnProperty(n)){s=e[n];o=a.default[n];i.map(u)}}i.cancel();return new Dimension(t,i)}});t["default"]=Dimension},7973:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(9185));var o=r.__importDefault(i(6592));var Element=function(e,t,i,r,n,a){this.combinator=e instanceof o.default?e:new o.default(e);if(typeof t==="string"){this.value=t.trim()}else if(t){this.value=t}else{this.value=""}this.isVariable=i;this._index=r;this._fileInfo=n;this.copyVisibilityInfo(a);this.setParent(this.combinator,this)};Element.prototype=Object.assign(new n.default,{type:"Element",accept:function(e){var t=this.value;this.combinator=e.visit(this.combinator);if(typeof t==="object"){this.value=e.visit(t)}},eval:function(e){return new Element(this.combinator,this.value.eval?this.value.eval(e):this.value,this.isVariable,this.getIndex(),this.fileInfo(),this.visibilityInfo())},clone:function(){return new Element(this.combinator,this.value,this.isVariable,this.getIndex(),this.fileInfo(),this.visibilityInfo())},genCSS:function(e,t){t.add(this.toCSS(e),this.fileInfo(),this.getIndex())},toCSS:function(e){e=e||{};var t=this.value;var i=e.firstSelector;if(t instanceof a.default){e.firstSelector=true}t=t.toCSS?t.toCSS(e):t;e.firstSelector=i;if(t===""&&this.combinator.value.charAt(0)==="&"){return""}else{return this.combinator.toCSS(e)+t}}});t["default"]=Element},2026:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(9185));var o=r.__importDefault(i(6922));var s=r.__importDefault(i(7505));var Expression=function(e,t){this.value=e;this.noSpacing=t;if(!e){throw new Error("Expression requires an array parameter")}};Expression.prototype=Object.assign(new n.default,{type:"Expression",accept:function(e){this.value=e.visitArray(this.value)},eval:function(e){var t;var i=e.isMathOn();var r=this.parens;var n=false;if(r){e.inParenthesis()}if(this.value.length>1){t=new Expression(this.value.map((function(t){if(!t.eval){return t}return t.eval(e)})),this.noSpacing)}else if(this.value.length===1){if(this.value[0].parens&&!this.value[0].parensInOp&&!e.inCalc){n=true}t=this.value[0].eval(e)}else{t=this}if(r){e.outOfParenthesis()}if(this.parens&&this.parensInOp&&!i&&!n&&!(t instanceof s.default)){t=new a.default(t)}return t},genCSS:function(e,t){for(var i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(482));var Extend=function(e,t,i,r,n){this.selector=e;this.option=t;this.object_id=Extend.next_id++;this.parent_ids=[this.object_id];this._index=i;this._fileInfo=r;this.copyVisibilityInfo(n);this.allowRoot=true;switch(t){case"all":this.allowBefore=true;this.allowAfter=true;break;default:this.allowBefore=false;this.allowAfter=false;break}this.setParent(this.selector,this)};Extend.prototype=Object.assign(new n.default,{type:"Extend",accept:function(e){this.selector=e.visit(this.selector)},eval:function(e){return new Extend(this.selector.eval(e),this.option,this.getIndex(),this.fileInfo(),this.visibilityInfo())},clone:function(e){return new Extend(this.selector,this.option,this.getIndex(),this.fileInfo(),this.visibilityInfo())},findSelfSelectors:function(e){var t=[],i,r;for(i=0;i0&&r.length&&r[0].combinator.value===""){r[0].combinator.value=" "}t=t.concat(e[i].elements)}this.selfSelectors=[new a.default(t)];this.selfSelectors[0].copyVisibilityInfo(this.visibilityInfo())}});Extend.next_id=0;t["default"]=Extend},4677:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(9370));var o=r.__importDefault(i(5754));var s=r.__importDefault(i(7122));var l=r.__importDefault(i(3873));var u=r.__importDefault(i(8231));var c=r.__importStar(i(3553));var p=r.__importDefault(i(6993));var Import=function(e,t,i,r,n,a){this.options=i;this._index=r;this._fileInfo=n;this.path=e;this.features=t;this.allowRoot=true;if(this.options.less!==undefined||this.options.inline){this.css=!this.options.less||this.options.inline}else{var o=this.getPath();if(o&&/[#\.\&\?]css([\?;].*)?$/.test(o)){this.css=true}}this.copyVisibilityInfo(a);this.setParent(this.features,this);this.setParent(this.path,this)};Import.prototype=Object.assign(new n.default,{type:"Import",accept:function(e){if(this.features){this.features=e.visit(this.features)}this.path=e.visit(this.path);if(!this.options.isPlugin&&!this.options.inline&&this.root){this.root=e.visit(this.root)}},genCSS:function(e,t){if(this.css&&this.path._fileInfo.reference===undefined){t.add("@import ",this._fileInfo,this._index);this.path.genCSS(e,t);if(this.features){t.add(" ");this.features.genCSS(e,t)}t.add(";")}},getPath:function(){return this.path instanceof o.default?this.path.value.value:this.path.value},isVariableImport:function(){var e=this.path;if(e instanceof o.default){e=e.value}if(e instanceof s.default){return e.containsVariables()}return true},evalForImport:function(e){var t=this.path;if(t instanceof o.default){t=t.value}return new Import(t.eval(e),this.features,this.options,this._index,this._fileInfo,this.visibilityInfo())},evalPath:function(e){var t=this.path.eval(e);var i=this._fileInfo;if(!(t instanceof o.default)){var r=t.value;if(i&&r&&e.pathRequiresRewrite(r)){t.value=e.rewritePath(r,i.rootpath)}else{t.value=e.normalizePath(t.value)}}return t},eval:function(e){var t=this.doEval(e);if(this.options.reference||this.blocksVisibility()){if(t.length||t.length===0){t.forEach((function(e){e.addVisibilityBlock()}))}else{t.addVisibilityBlock()}}return t},doEval:function(e){var t;var i;var r=this.features&&this.features.eval(e);if(this.options.isPlugin){if(this.root&&this.root.eval){try{this.root.eval(e)}catch(e){e.message="Plugin error during evaluation";throw new p.default(e,this.root.imports,this.root.filename)}}i=e.frames[0]&&e.frames[0].functionRegistry;if(i&&this.root&&this.root.functions){i.addMultiple(this.root.functions)}return[]}if(this.skip){if(typeof this.skip==="function"){this.skip=this.skip()}if(this.skip){return[]}}if(this.options.inline){var n=new u.default(this.root,0,{filename:this.importedFilename,reference:this.path._fileInfo&&this.path._fileInfo.reference},true,true);return this.features?new a.default([n],this.features.value):[n]}else if(this.css){var o=new Import(this.evalPath(e),r,this.options,this._index);if(!o.css&&this.error){throw this.error}return o}else if(this.root){t=new l.default(null,c.copyArray(this.root.rules));t.evalImports(e);return this.features?new a.default(t.rules,this.features.value):t.rules}else{return[]}}});t["default"]=Import},6444:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(6850));var o=r.__importDefault(i(5431));var s=r.__importDefault(i(4366));var l=r.__importDefault(i(7054));var u=r.__importDefault(i(7505));var c=r.__importDefault(i(6735));var p=r.__importDefault(i(3839));var d=r.__importDefault(i(5844));var h=r.__importDefault(i(4520));var v=r.__importDefault(i(3873));var m=r.__importDefault(i(7973));var g=r.__importDefault(i(4313));var y=r.__importDefault(i(6592));var _=r.__importDefault(i(482));var b=r.__importDefault(i(7122));var x=r.__importDefault(i(2026));var w=r.__importDefault(i(4942));var S=r.__importDefault(i(1069));var M=r.__importDefault(i(5754));var C=r.__importDefault(i(4677));var k=r.__importDefault(i(6922));var I=r.__importDefault(i(8231));var P=r.__importDefault(i(3546));var O=r.__importDefault(i(7615));var A=r.__importDefault(i(8477));var E=r.__importDefault(i(9363));var D=r.__importDefault(i(9185));var j=r.__importDefault(i(9370));var R=r.__importDefault(i(732));var L=r.__importDefault(i(949));var V=r.__importDefault(i(7444));var N=r.__importDefault(i(9289));var B=r.__importDefault(i(9522));var $=r.__importDefault(i(82));var U=r.__importDefault(i(6683));t["default"]={Node:n.default,Color:a.default,AtRule:o.default,DetachedRuleset:s.default,Operation:l.default,Dimension:u.default,Unit:c.default,Keyword:p.default,Variable:d.default,Property:h.default,Ruleset:v.default,Element:m.default,Attribute:g.default,Combinator:y.default,Selector:_.default,Quoted:b.default,Expression:x.default,Declaration:w.default,Call:S.default,URL:M.default,Import:C.default,Comment:k.default,Anonymous:I.default,Value:P.default,JavaScript:O.default,Assignment:A.default,Condition:E.default,Paren:D.default,Media:j.default,UnicodeDescriptor:R.default,Negative:L.default,Extend:V.default,VariableCall:N.default,NamespaceValue:B.default,mixin:{Call:$.default,Definition:U.default}}},7615:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(7200));var a=r.__importDefault(i(7505));var o=r.__importDefault(i(7122));var s=r.__importDefault(i(8231));var JavaScript=function(e,t,i,r){this.escaped=t;this.expression=e;this._index=i;this._fileInfo=r};JavaScript.prototype=Object.assign(new n.default,{type:"JavaScript",eval:function(e){var t=this.evaluateJavaScript(this.expression,e);var i=typeof t;if(i==="number"&&!isNaN(t)){return new a.default(t)}else if(i==="string"){return new o.default('"'+t+'"',t,this.escaped,this._index)}else if(Array.isArray(t)){return new s.default(t.join(", "))}else{return new s.default(t)}}});t["default"]=JavaScript},7200:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(5844));var JsEvalNode=function(){};JsEvalNode.prototype=Object.assign(new n.default,{evaluateJavaScript:function(e,t){var i;var r=this;var n={};if(!t.javascriptEnabled){throw{message:"Inline JavaScript is not enabled. Is it set in your options?",filename:this.fileInfo().filename,index:this.getIndex()}}e=e.replace(/@\{([\w-]+)\}/g,(function(e,i){return r.jsify(new a.default("@"+i,r.getIndex(),r.fileInfo()).eval(t))}));try{e=new Function("return ("+e+")")}catch(t){throw{message:"JavaScript evaluation error: "+t.message+" from `"+e+"`",filename:this.fileInfo().filename,index:this.getIndex()}}var o=t.frames[0].variables();for(var s in o){if(o.hasOwnProperty(s)){n[s.slice(1)]={value:o[s].value,toJS:function(){return this.value.eval(t).toCSS()}}}}try{i=e.call(n)}catch(e){throw{message:"JavaScript evaluation error: '"+e.name+": "+e.message.replace(/["]/g,"'")+"'",filename:this.fileInfo().filename,index:this.getIndex()}}return i},jsify:function(e){if(Array.isArray(e.value)&&e.value.length>1){return"["+e.value.map((function(e){return e.toCSS()})).join(", ")+"]"}else{return e.toCSS()}}});t["default"]=JsEvalNode},3839:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var Keyword=function(e){this.value=e};Keyword.prototype=Object.assign(new n.default,{type:"Keyword",genCSS:function(e,t){if(this.value==="%"){throw{type:"Syntax",message:"Invalid % without number"}}t.add(this.value)}});Keyword.True=new Keyword("true");Keyword.False=new Keyword("false");t["default"]=Keyword},9370:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(3873));var a=r.__importDefault(i(3546));var o=r.__importDefault(i(482));var s=r.__importDefault(i(8231));var l=r.__importDefault(i(2026));var u=r.__importDefault(i(5431));var c=r.__importStar(i(3553));var Media=function(e,t,i,r,s){this._index=i;this._fileInfo=r;var l=new o.default([],null,null,this._index,this._fileInfo).createEmptySelectors();this.features=new a.default(t);this.rules=[new n.default(l,e)];this.rules[0].allowImports=true;this.copyVisibilityInfo(s);this.allowRoot=true;this.setParent(l,this);this.setParent(this.features,this);this.setParent(this.rules,this)};Media.prototype=Object.assign(new u.default,{type:"Media",isRulesetLike:function(){return true},accept:function(e){if(this.features){this.features=e.visit(this.features)}if(this.rules){this.rules=e.visitArray(this.rules)}},genCSS:function(e,t){t.add("@media ",this._fileInfo,this._index);this.features.genCSS(e,t);this.outputRuleset(e,t,this.rules)},eval:function(e){if(!e.mediaBlocks){e.mediaBlocks=[];e.mediaPath=[]}var t=new Media(null,[],this._index,this._fileInfo,this.visibilityInfo());if(this.debugInfo){this.rules[0].debugInfo=this.debugInfo;t.debugInfo=this.debugInfo}t.features=this.features.eval(e);e.mediaPath.push(t);e.mediaBlocks.push(t);this.rules[0].functionRegistry=e.frames[0].functionRegistry.inherit();e.frames.unshift(this.rules[0]);t.rules=[this.rules[0].eval(e)];e.frames.shift();e.mediaPath.pop();return e.mediaPath.length===0?t.evalTop(e):t.evalNested(e)},evalTop:function(e){var t=this;if(e.mediaBlocks.length>1){var i=new o.default([],null,null,this.getIndex(),this.fileInfo()).createEmptySelectors();t=new n.default(i,e.mediaBlocks);t.multiMedia=true;t.copyVisibilityInfo(this.visibilityInfo());this.setParent(t,this)}delete e.mediaBlocks;delete e.mediaPath;return t},evalNested:function(e){var t;var i;var r=e.mediaPath.concat([this]);for(t=0;t0;t--){e.splice(t,0,new s.default("and"))}return new l.default(e)})));this.setParent(this.features,this);return new n.default([],[])},permute:function(e){if(e.length===0){return[]}else if(e.length===1){return e[0]}else{var t=[];var i=this.permute(e.slice(1));for(var r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(482));var o=r.__importDefault(i(6683));var s=r.__importDefault(i(6871));var MixinCall=function(e,t,i,r,n){this.selector=new a.default(e);this.arguments=t||[];this._index=i;this._fileInfo=r;this.important=n;this.allowRoot=true;this.setParent(this.selector,this)};MixinCall.prototype=Object.assign(new n.default,{type:"MixinCall",accept:function(e){if(this.selector){this.selector=e.visit(this.selector)}if(this.arguments.length){this.arguments=e.visitArray(this.arguments)}},eval:function(e){var t;var i;var r;var n=[];var a;var l;var u=[];var c=false;var p;var d;var h;var v;var m;var g=[];var y;var _=[];var b;var x=-1;var w=0;var S=1;var M=2;var C;var k;var I;this.selector=this.selector.eval(e);function calcDefGroup(t,i){var r,a,o;for(r=0;r<2;r++){_[r]=true;s.default.value(r);for(a=0;a0){m=true;for(d=0;d0){b=M}else{b=S;if(C[S]+C[M]>1){throw{type:"Runtime",message:"Ambiguous use of `default()` found when matching for `"+this.format(n)+"`",index:this.getIndex(),filename:this.fileInfo().filename}}}for(d=0;d{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(482));var a=r.__importDefault(i(7973));var o=r.__importDefault(i(3873));var s=r.__importDefault(i(4942));var l=r.__importDefault(i(4366));var u=r.__importDefault(i(2026));var c=r.__importDefault(i(3892));var p=r.__importStar(i(3553));var Definition=function(e,t,i,r,o,s,l){this.name=e||"anonymous mixin";this.selectors=[new n.default([new a.default(null,e,false,this._index,this._fileInfo)])];this.params=t;this.condition=r;this.variadic=o;this.arity=t.length;this.rules=i;this._lookups={};var u=[];this.required=t.reduce((function(e,t){if(!t.name||t.name&&!t.value){return e+1}else{u.push(t.name);return e}}),0);this.optionalParameters=u;this.frames=s;this.copyVisibilityInfo(l);this.allowRoot=true};Definition.prototype=Object.assign(new o.default,{type:"MixinDefinition",evalFirst:true,accept:function(e){if(this.params&&this.params.length){this.params=e.visitArray(this.params)}this.rules=e.visitArray(this.rules);if(this.condition){this.condition=e.visit(this.condition)}},evalParams:function(e,t,i,r){var n=new o.default(null,null);var a;var d;var h=p.copyArray(this.params);var v;var m;var g;var y;var _;var b;var x=0;if(t.frames&&t.frames[0]&&t.frames[0].functionRegistry){n.functionRegistry=t.frames[0].functionRegistry.inherit()}t=new c.default.Eval(t,[n].concat(t.frames));if(i){i=p.copyArray(i);x=i.length;for(v=0;vthis.params.length){return false}}else{if(a{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(5844));var o=r.__importDefault(i(3873));var s=r.__importDefault(i(482));var NamespaceValue=function(e,t,i,r){this.value=e;this.lookups=t;this._index=i;this._fileInfo=r};NamespaceValue.prototype=Object.assign(new n.default,{type:"NamespaceValue",eval:function(e){var t,i,r,n=this.value.eval(e);for(t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(7054));var o=r.__importDefault(i(7505));var Negative=function(e){this.value=e};Negative.prototype=Object.assign(new n.default,{type:"Negative",genCSS:function(e,t){t.add("-");this.value.genCSS(e,t)},eval:function(e){if(e.isMathOn()){return new a.default("*",[new o.default(-1),this.value]).eval(e)}return new Negative(this.value.eval(e))}});t["default"]=Negative},866:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var i=function(){function Node(){this.parent=null;this.visibilityBlocks=undefined;this.nodeVisible=undefined;this.rootNode=null;this.parsed=null}Object.defineProperty(Node.prototype,"currentFileInfo",{get:function(){return this.fileInfo()},enumerable:false,configurable:true});Object.defineProperty(Node.prototype,"index",{get:function(){return this.getIndex()},enumerable:false,configurable:true});Node.prototype.setParent=function(e,t){function set(e){if(e&&e instanceof Node){e.parent=t}}if(Array.isArray(e)){e.forEach(set)}else{set(e)}};Node.prototype.getIndex=function(){return this._index||this.parent&&this.parent.getIndex()||0};Node.prototype.fileInfo=function(){return this._fileInfo||this.parent&&this.parent.fileInfo()||{}};Node.prototype.isRulesetLike=function(){return false};Node.prototype.toCSS=function(e){var t=[];this.genCSS(e,{add:function(e,i,r){t.push(e)},isEmpty:function(){return t.length===0}});return t.join("")};Node.prototype.genCSS=function(e,t){t.add(this.value)};Node.prototype.accept=function(e){this.value=e.visit(this.value)};Node.prototype.eval=function(){return this};Node.prototype._operate=function(e,t,i,r){switch(t){case"+":return i+r;case"-":return i-r;case"*":return i*r;case"/":return i/r}};Node.prototype.fround=function(e,t){var i=e&&e.numPrecision;return i?Number((t+2e-16).toFixed(i)):t};Node.compare=function(e,t){if(e.compare&&!(t.type==="Quoted"||t.type==="Anonymous")){return e.compare(t)}else if(t.compare){return-t.compare(e)}else if(e.type!==t.type){return undefined}e=e.value;t=t.value;if(!Array.isArray(e)){return e===t?0:undefined}if(e.length!==t.length){return undefined}for(var i=0;it?1:undefined};Node.prototype.blocksVisibility=function(){if(this.visibilityBlocks==null){this.visibilityBlocks=0}return this.visibilityBlocks!==0};Node.prototype.addVisibilityBlock=function(){if(this.visibilityBlocks==null){this.visibilityBlocks=0}this.visibilityBlocks=this.visibilityBlocks+1};Node.prototype.removeVisibilityBlock=function(){if(this.visibilityBlocks==null){this.visibilityBlocks=0}this.visibilityBlocks=this.visibilityBlocks-1};Node.prototype.ensureVisibility=function(){this.nodeVisible=true};Node.prototype.ensureInvisibility=function(){this.nodeVisible=false};Node.prototype.isVisible=function(){return this.nodeVisible};Node.prototype.visibilityInfo=function(){return{visibilityBlocks:this.visibilityBlocks,nodeVisible:this.nodeVisible}};Node.prototype.copyVisibilityInfo=function(e){if(!e){return}this.visibilityBlocks=e.visibilityBlocks;this.nodeVisible=e.nodeVisible};return Node}();t["default"]=i},7054:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(6850));var o=r.__importDefault(i(7505));var s=r.__importStar(i(7207));var l=s.Math;var Operation=function(e,t,i){this.op=e.trim();this.operands=t;this.isSpaced=i};Operation.prototype=Object.assign(new n.default,{type:"Operation",accept:function(e){this.operands=e.visitArray(this.operands)},eval:function(e){var t=this.operands[0].eval(e),i=this.operands[1].eval(e),r;if(e.isMathOn(this.op)){r=this.op==="./"?"/":this.op;if(t instanceof o.default&&i instanceof a.default){t=t.toColor()}if(i instanceof o.default&&t instanceof a.default){i=i.toColor()}if(!t.operate||!i.operate){if((t instanceof Operation||i instanceof Operation)&&t.op==="/"&&e.math===l.PARENS_DIVISION){return new Operation(this.op,[t,i],this.isSpaced)}throw{type:"Operation",message:"Operation on an invalid type"}}return t.operate(e,r,i)}else{return new Operation(this.op,[t,i],this.isSpaced)}},genCSS:function(e,t){this.operands[0].genCSS(e,t);if(this.isSpaced){t.add(" ")}t.add(this.op);if(this.isSpaced){t.add(" ")}this.operands[1].genCSS(e,t)}});t["default"]=Operation},9185:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var Paren=function(e){this.value=e};Paren.prototype=Object.assign(new n.default,{type:"Paren",genCSS:function(e,t){t.add("(");this.value.genCSS(e,t);t.add(")")},eval:function(e){return new Paren(this.value.eval(e))}});t["default"]=Paren},4520:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(4942));var Property=function(e,t,i){this.name=e;this._index=t;this._fileInfo=i};Property.prototype=Object.assign(new n.default,{type:"Property",eval:function(e){var t;var i=this.name;var r=e.pluginManager.less.visitors.ToCSSVisitor.prototype._mergeRules;if(this.evaluating){throw{type:"Name",message:"Recursive property reference for "+i,filename:this.fileInfo().filename,index:this.getIndex()}}this.evaluating=true;t=this.find(e.frames,(function(t){var n;var o=t.property(i);if(o){for(var s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(5844));var o=r.__importDefault(i(4520));var Quoted=function(e,t,i,r,n){this.escaped=i==null?true:i;this.value=t||"";this.quote=e.charAt(0);this._index=r;this._fileInfo=n;this.variableRegex=/@\{([\w-]+)\}/g;this.propRegex=/\$\{([\w-]+)\}/g;this.allowRoot=i};Quoted.prototype=Object.assign(new n.default,{type:"Quoted",genCSS:function(e,t){if(!this.escaped){t.add(this.quote,this.fileInfo(),this.getIndex())}t.add(this.value);if(!this.escaped){t.add(this.quote)}},containsVariables:function(){return this.value.match(this.variableRegex)},eval:function(e){var t=this;var i=this.value;var variableReplacement=function(i,r){var n=new a.default("@"+r,t.getIndex(),t.fileInfo()).eval(e,true);return n instanceof Quoted?n.value:n.toCSS()};var propertyReplacement=function(i,r){var n=new o.default("$"+r,t.getIndex(),t.fileInfo()).eval(e,true);return n instanceof Quoted?n.value:n.toCSS()};function iterativeReplace(e,t,i){var r=e;do{e=r.toString();r=e.replace(t,i)}while(e!==r);return r}i=iterativeReplace(i,this.variableRegex,variableReplacement);i=iterativeReplace(i,this.propRegex,propertyReplacement);return new Quoted(this.quote+i+this.quote,i,this.escaped,this.getIndex(),this.fileInfo())},compare:function(e){if(e.type==="Quoted"&&!this.escaped&&!e.escaped){return n.default.numericCompare(this.value,e.value)}else{return e.toCSS&&this.toCSS()===e.toCSS()?0:undefined}}});t["default"]=Quoted},3873:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(4942));var o=r.__importDefault(i(3839));var s=r.__importDefault(i(6922));var l=r.__importDefault(i(9185));var u=r.__importDefault(i(482));var c=r.__importDefault(i(7973));var p=r.__importDefault(i(8231));var d=r.__importDefault(i(3892));var h=r.__importDefault(i(6267));var v=r.__importDefault(i(6871));var m=r.__importDefault(i(4476));var g=r.__importStar(i(3553));var Ruleset=function(e,t,i,r){this.selectors=e;this.rules=t;this._lookups={};this._variables=null;this._properties=null;this.strictImports=i;this.copyVisibilityInfo(r);this.allowRoot=true;this.setParent(this.selectors,this);this.setParent(this.rules,this)};Ruleset.prototype=Object.assign(new n.default,{type:"Ruleset",isRuleset:true,isRulesetLike:function(){return true},accept:function(e){if(this.paths){this.paths=e.visitArray(this.paths,true)}else if(this.selectors){this.selectors=e.visitArray(this.selectors)}if(this.rules&&this.rules.length){this.rules=e.visitArray(this.rules)}},eval:function(e){var t=this;var i;var r;var o;var s;var l;var u=false;if(this.selectors&&(r=this.selectors.length)){i=new Array(r);v.default.error({type:"Syntax",message:"it is currently only allowed in parametric mixin guards,"});for(s=0;s0;e--){var t=this.rules[e-1];if(t instanceof a.default){return this.parseValue(t)}}},parseValue:function(e){var t=this;function transformDeclaration(e){if(e.value instanceof p.default&&!e.parsed){if(typeof e.value.value==="string"){this.parse.parseNode(e.value.value,["value","important"],e.value.getIndex(),e.fileInfo(),(function(t,i){if(t){e.parsed=true}if(i){e.value=i[0];e.important=i[1]||"";e.parsed=true}}))}else{e.parsed=true}return e}else{return e}}if(!Array.isArray(e)){return transformDeclaration.call(t,e)}else{var i=[];e.forEach((function(e){i.push(transformDeclaration.call(t,e))}));return i}},rulesets:function(){if(!this.rules){return[]}var e=[];var t=this.rules;var i;var r;for(i=0;r=t[i];i++){if(r.isRuleset){e.push(r)}}return e},prependRule:function(e){var t=this.rules;if(t){t.unshift(e)}else{this.rules=[e]}this.setParent(e,this)},find:function(e,t,i){t=t||this;var r=[];var n;var a;var o=e.toCSS();if(o in this._lookups){return this._lookups[o]}this.rulesets().forEach((function(o){if(o!==t){for(var s=0;sn){if(!i||i(o)){a=o.find(new u.default(e.elements.slice(n)),t,i);for(var l=0;l0){t.add(d)}e.firstSelector=true;u[0].genCSS(e,t);e.firstSelector=false;for(r=1;r<_;r++){u[r].genCSS(e,t)}}t.add((e.compress?"{":" {\n")+c)}for(i=0;l=a[i];i++){if(i+1===a.length){e.lastRule=true}var b=e.lastRule;if(l.isRulesetLike(l)){e.lastRule=false}if(l.genCSS){l.genCSS(e,t)}else if(l.value){t.add(l.value.toString())}e.lastRule=b;if(!e.lastRule&&l.isVisible()){t.add(e.compress?"":"\n"+c)}else{e.lastRule=false}}if(!this.root){t.add(e.compress?"}":"\n"+p+"}");e.tabLevel--}if(!t.isEmpty()&&!e.compress&&this.firstRoot){t.add("\n")}},joinSelectors:function(e,t,i){for(var r=0;r0){n=g.copyArray(e);a=n.pop();o=r.createDerived(g.copyArray(a.elements))}else{o=r.createDerived([])}if(t.length>0){var s=i.combinator;var l=t[0].elements[0];if(s.emptyOrWhitespace&&!l.combinator.emptyOrWhitespace){s=l.combinator}o.elements.push(new c.default(s,l.value,i.isVariable,i._index,i._fileInfo));o.elements=o.elements.concat(t[0].elements.slice(1))}if(o.elements.length!==0){n.push(o)}if(t.length>1){var u=t.slice(1);u=u.map((function(e){return e.createDerived(e.elements,[])}));n=n.concat(u)}return n}function addAllReplacementsIntoPath(e,t,i,r,n){var a;for(a=0;a0){r[r.length-1]=r[r.length-1].createDerived(r[r.length-1].elements.concat(e))}else{r.push(new u.default(e))}}}function replaceParentSelector(e,t,i){var r,n,a,o,s,p,d,h,v=false,m,g;function findNestedSelector(e){var t;if(!(e.value instanceof l.default)){return null}t=e.value.value;if(!(t instanceof u.default)){return null}return t}o=[];s=[[]];for(r=0;h=i.elements[r];r++){if(h.value!=="&"){var y=findNestedSelector(h);if(y!=null){mergeElementsOnToSelectors(o,s);var _=[];var b=void 0;var x=[];b=replaceParentSelector(_,t,y);v=v||b;for(a=0;a<_.length;a++){var w=createSelector(createParenthesis(_[a],h),h);addAllReplacementsIntoPath(s,[w],h,i,x)}s=x;o=[]}else{o.push(h)}}else{v=true;p=[];mergeElementsOnToSelectors(o,s);for(n=0;n0){d[0].elements.push(new c.default(h.combinator,"",h.isVariable,h._index,h._fileInfo))}p.push(d)}else{for(a=0;a0){e.push(s[r]);g=s[r][m-1];s[r][m-1]=g.createDerived(g.elements,i.extendList)}}return v}function deriveSelector(e,t){var i=t.createDerived(t.elements,t.extendList,t.evaldCondition);i.copyVisibilityInfo(e);return i}var r,n,a;n=[];a=replaceParentSelector(n,t,i);if(!a){if(t.length>0){n=[];for(r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(7973));var o=r.__importDefault(i(6993));var Selector=function(e,t,i,r,n,a){this.extendList=t;this.condition=i;this.evaldCondition=!i;this._index=r;this._fileInfo=n;this.elements=this.getElements(e);this.mixinElements_=undefined;this.copyVisibilityInfo(a);this.setParent(this.elements,this)};Selector.prototype=Object.assign(new n.default,{type:"Selector",accept:function(e){if(this.elements){this.elements=e.visitArray(this.elements)}if(this.extendList){this.extendList=e.visitArray(this.extendList)}if(this.condition){this.condition=e.visit(this.condition)}},createDerived:function(e,t,i){e=this.getElements(e);var r=new Selector(e,t||this.extendList,null,this.getIndex(),this.fileInfo(),this.visibilityInfo());r.evaldCondition=i!=null?i:this.evaldCondition;r.mediaEmpty=this.mediaEmpty;return r},getElements:function(e){if(!e){return[new a.default("","&",false,this._index,this._fileInfo)]}if(typeof e==="string"){this.parse.parseNode(e,["selector"],this._index,this._fileInfo,(function(t,i){if(t){throw new o.default({index:t.index,message:t.message},this.parse.imports,this._fileInfo.filename)}e=i[0].elements}))}return e},createEmptySelectors:function(){var e=new a.default("","&",false,this._index,this._fileInfo),t=[new Selector([e],null,null,this._index,this._fileInfo)];t[0].mediaEmpty=true;return t},match:function(e){var t=this.elements;var i=t.length;var r;var n;e=e.mixinElements();r=e.length;if(r===0||i{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var UnicodeDescriptor=function(e){this.value=e};UnicodeDescriptor.prototype=Object.assign(new n.default,{type:"UnicodeDescriptor"});t["default"]=UnicodeDescriptor},6735:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(1855));var o=r.__importStar(i(3553));var Unit=function(e,t,i){this.numerator=e?o.copyArray(e).sort():[];this.denominator=t?o.copyArray(t).sort():[];if(i){this.backupUnit=i}else if(e&&e.length){this.backupUnit=e[0]}};Unit.prototype=Object.assign(new n.default,{type:"Unit",clone:function(){return new Unit(o.copyArray(this.numerator),o.copyArray(this.denominator),this.backupUnit)},genCSS:function(e,t){var i=e&&e.strictUnits;if(this.numerator.length===1){t.add(this.numerator[0])}else if(!i&&this.backupUnit){t.add(this.backupUnit)}else if(!i&&this.denominator.length){t.add(this.denominator[0])}},toString:function(){var e,t=this.numerator.join("*");for(e=0;e0){for(i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));function escapePath(e){return e.replace(/[\(\)'"\s]/g,(function(e){return"\\"+e}))}var URL=function(e,t,i,r){this.value=e;this._index=t;this._fileInfo=i;this.isEvald=r};URL.prototype=Object.assign(new n.default,{type:"Url",accept:function(e){this.value=e.visit(this.value)},genCSS:function(e,t){t.add("url(");this.value.genCSS(e,t);t.add(")")},eval:function(e){var t=this.value.eval(e);var i;if(!this.isEvald){i=this.fileInfo()&&this.fileInfo().rootpath;if(typeof i==="string"&&typeof t.value==="string"&&e.pathRequiresRewrite(t.value)){if(!t.quote){i=escapePath(i)}t.value=e.rewritePath(t.value,i)}else{t.value=e.normalizePath(t.value)}if(e.urlArgs){if(!t.value.match(/^\s*data:/)){var r=t.value.indexOf("?")===-1?"?":"&";var n=r+e.urlArgs;if(t.value.indexOf("#")!==-1){t.value=t.value.replace("#",n+"#")}else{t.value+=n}}}}return new URL(t,this.getIndex(),this.fileInfo(),true)}});t["default"]=URL},3546:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var Value=function(e){if(!e){throw new Error("Value requires an array argument")}if(!Array.isArray(e)){this.value=[e]}else{this.value=e}};Value.prototype=Object.assign(new n.default,{type:"Value",accept:function(e){if(this.value){this.value=e.visitArray(this.value)}},eval:function(e){if(this.value.length===1){return this.value[0].eval(e)}else{return new Value(this.value.map((function(t){return t.eval(e)})))}},genCSS:function(e,t){var i;for(i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(5844));var o=r.__importDefault(i(3873));var s=r.__importDefault(i(4366));var l=r.__importDefault(i(6993));var VariableCall=function(e,t,i){this.variable=e;this._index=t;this._fileInfo=i;this.allowRoot=true};VariableCall.prototype=Object.assign(new n.default,{type:"VariableCall",eval:function(e){var t;var i=new a.default(this.variable,this.getIndex(),this.fileInfo()).eval(e);var r=new l.default({message:"Could not evaluate variable call "+this.variable});if(!i.ruleset){if(i.rules){t=i}else if(Array.isArray(i)){t=new o.default("",i)}else if(Array.isArray(i.value)){t=new o.default("",i.value)}else{throw r}i=new s.default(t)}if(i.ruleset){return i.callEval(e)}throw r}});t["default"]=VariableCall},5844:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(866));var a=r.__importDefault(i(1069));var Variable=function(e,t,i){this.name=e;this._index=t;this._fileInfo=i};Variable.prototype=Object.assign(new n.default,{type:"Variable",eval:function(e){var t,i=this.name;if(i.indexOf("@@")===0){i="@"+new Variable(i.slice(1),this.getIndex(),this.fileInfo()).eval(e).value}if(this.evaluating){throw{type:"Name",message:"Recursive variable definition for "+i,filename:this.fileInfo().filename,index:this.getIndex()}}this.evaluating=true;t=this.find(e.frames,(function(t){var r=t.variable(i);if(r){if(r.important){var n=e.importantScope[e.importantScope.length-1];n.important=r.important}if(e.inCalc){return new a.default("_SELF",[r.value]).eval(e)}else{return r.value.eval(e)}}}));if(t){this.evaluating=false;return t}else{throw{type:"Name",message:"variable "+i+" is undefined",filename:this.fileInfo().filename,index:this.getIndex()}}},find:function(e,t){for(var i=0,r=void 0;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.flattenArray=t.merge=t.copyOptions=t.defaults=t.clone=t.copyArray=t.getLocation=void 0;var r=i(4422);var n=r.__importStar(i(7207));var a=i(1167);function getLocation(e,t){var i=e+1;var r=null;var n=-1;while(--i>=0&&t.charAt(i)!=="\n"){n++}if(typeof e==="number"){r=(t.slice(0,e).match(/\n/g)||"").length}return{line:r,column:n}}t.getLocation=getLocation;function copyArray(e){var t;var i=e.length;var r=new Array(i);for(t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(6444));var a=r.__importDefault(i(4556));var o=r.__importDefault(i(1529));var s=r.__importStar(i(3553));var l=function(){function ExtendFinderVisitor(){this._visitor=new a.default(this);this.contexts=[];this.allExtendsStack=[[]]}ExtendFinderVisitor.prototype.run=function(e){e=this._visitor.visit(e);e.allExtends=this.allExtendsStack[0];return e};ExtendFinderVisitor.prototype.visitDeclaration=function(e,t){t.visitDeeper=false};ExtendFinderVisitor.prototype.visitMixinDefinition=function(e,t){t.visitDeeper=false};ExtendFinderVisitor.prototype.visitRuleset=function(e,t){if(e.root){return}var i;var r;var a;var o=[];var l;var u=e.rules,c=u?u.length:0;for(i=0;i=0){continue}c=[d.selfSelectors[0]];o=u.findMatch(p,c);if(o.length){p.hasFoundMatches=true;p.selfSelectors.forEach((function(e){var t=d.visibilityInfo();l=u.extendSelector(o,c,e,p.isVisible());h=new n.default.Extend(d.selector,d.option,0,d.fileInfo(),t);h.selfSelectors=l;l[l.length-1].extendList=[h];s.push(h);h.ruleset=d.ruleset;h.parent_ids=h.parent_ids.concat(d.parent_ids,p.parent_ids);if(d.firstExtendOnThisSelectorPath){h.firstExtendOnThisSelectorPath=true;d.ruleset.paths.push(l)}}))}}}if(s.length){this.extendChainCount++;if(i>100){var v="{unable to calculate}";var m="{unable to calculate}";try{v=s[0].selfSelectors[0].toCSS();m=s[0].selector.toCSS()}catch(e){}throw{message:"extend circular reference detected. One of the circular extends is currently:"+v+":extend("+m+")"}}return s.concat(u.doExtendChaining(s,t,i+1))}else{return s}};ProcessExtendsVisitor.prototype.visitDeclaration=function(e,t){t.visitDeeper=false};ProcessExtendsVisitor.prototype.visitMixinDefinition=function(e,t){t.visitDeeper=false};ProcessExtendsVisitor.prototype.visitSelector=function(e,t){t.visitDeeper=false};ProcessExtendsVisitor.prototype.visitRuleset=function(e,t){if(e.root){return}var i;var r;var n;var a=this.allExtendsStack[this.allExtendsStack.length-1];var o=[];var s=this;var l;for(n=0;n0&&u[p.matched].combinator.value!==o){p=null}else{p.matched++}if(p){p.finished=p.matched===u.length;if(p.finished&&(!e.allowAfter&&(n+1a&&o>0){s[s.length-1].elements=s[s.length-1].elements.concat(t[a].elements.slice(o));o=0;a++}d=u.elements.slice(o,p.index).concat([c]).concat(i.elements.slice(1));if(a===p.pathIndex&&l>0){s[s.length-1].elements=s[s.length-1].elements.concat(d)}else{s=s.concat(t.slice(a,p.pathIndex));s.push(new n.default.Selector(d))}a=p.endPathIndex;o=p.endPathElementIndex;if(o>=t[a].elements.length){o=0;a++}}if(a0){s[s.length-1].elements=s[s.length-1].elements.concat(t[a].elements.slice(o));a++}s=s.concat(t.slice(a,t.length));s=s.map((function(e){var t=e.createDerived(e.elements);if(r){t.ensureVisibility()}else{t.ensureInvisibility()}return t}));return s};ProcessExtendsVisitor.prototype.visitMedia=function(e,t){var i=e.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);i=i.concat(this.doExtendChaining(i,e.allExtends));this.allExtendsStack.push(i)};ProcessExtendsVisitor.prototype.visitMediaOut=function(e){var t=this.allExtendsStack.length-1;this.allExtendsStack.length=t};ProcessExtendsVisitor.prototype.visitAtRule=function(e,t){var i=e.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);i=i.concat(this.doExtendChaining(i,e.allExtends));this.allExtendsStack.push(i)};ProcessExtendsVisitor.prototype.visitAtRuleOut=function(e){var t=this.allExtendsStack.length-1;this.allExtendsStack.length=t};return ProcessExtendsVisitor}();t["default"]=u},6903:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var i=function(){function ImportSequencer(e){this.imports=[];this.variableImports=[];this._onSequencerEmpty=e;this._currentDepth=0}ImportSequencer.prototype.addImport=function(e){var t=this,i={callback:e,args:null,isReady:false};this.imports.push(i);return function(){i.args=Array.prototype.slice.call(arguments,0);i.isReady=true;t.tryRun()}};ImportSequencer.prototype.addVariableImport=function(e){this.variableImports.push(e)};ImportSequencer.prototype.tryRun=function(){this._currentDepth++;try{while(true){while(this.imports.length>0){var e=this.imports[0];if(!e.isReady){return}this.imports=this.imports.slice(1);e.callback.apply(null,e.args)}if(this.variableImports.length===0){break}var t=this.variableImports[0];this.variableImports=this.variableImports.slice(1);t()}}finally{this._currentDepth--}if(this._currentDepth===0&&this._onSequencerEmpty){this._onSequencerEmpty()}};return ImportSequencer}();t["default"]=i},8718:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(3892));var a=r.__importDefault(i(4556));var o=r.__importDefault(i(6903));var s=r.__importStar(i(3553));var ImportVisitor=function(e,t){this._visitor=new a.default(this);this._importer=e;this._finish=t;this.context=new n.default.Eval;this.importCount=0;this.onceFileDetectionMap={};this.recursionDetector={};this._sequencer=new o.default(this._onSequencerEmpty.bind(this))};ImportVisitor.prototype={isReplacing:false,run:function(e){try{this._visitor.visit(e)}catch(e){this.error=e}this.isFinished=true;this._sequencer.tryRun()},_onSequencerEmpty:function(){if(!this.isFinished){return}this._finish(this.error)},visitImport:function(e,t){var i=e.options.inline;if(!e.css||i){var r=new n.default.Eval(this.context,s.copyArray(this.context.frames));var a=r.frames[0];this.importCount++;if(e.isVariableImport()){this._sequencer.addVariableImport(this.processImportNode.bind(this,e,r,a))}else{this.processImportNode(e,r,a)}}t.visitDeeper=false},processImportNode:function(e,t,i){var r;var n=e.options.inline;try{r=e.evalForImport(t)}catch(t){if(!t.filename){t.index=e.getIndex();t.filename=e.fileInfo().filename}e.css=true;e.error=t}if(r&&(!r.css||n)){if(r.options.multiple){t.importMultiple=true}var a=r.css===undefined;for(var o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(4556));var a=r.__importDefault(i(8718));var o=r.__importDefault(i(127));var s=r.__importDefault(i(4890));var l=r.__importDefault(i(8413));var u=r.__importDefault(i(5783));t["default"]={Visitor:n.default,ImportVisitor:a.default,MarkVisibleSelectorsVisitor:o.default,ExtendVisitor:s.default,JoinSelectorVisitor:l.default,ToCSSVisitor:u.default}},8413:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(4556));var a=function(){function JoinSelectorVisitor(){this.contexts=[[]];this._visitor=new n.default(this)}JoinSelectorVisitor.prototype.run=function(e){return this._visitor.visit(e)};JoinSelectorVisitor.prototype.visitDeclaration=function(e,t){t.visitDeeper=false};JoinSelectorVisitor.prototype.visitMixinDefinition=function(e,t){t.visitDeeper=false};JoinSelectorVisitor.prototype.visitRuleset=function(e,t){var i=this.contexts[this.contexts.length-1];var r=[];var n;this.contexts.push(r);if(!e.root){n=e.selectors;if(n){n=n.filter((function(e){return e.getIsOutput()}));e.selectors=n.length?n:n=null;if(n){e.joinSelectors(r,i,n)}}if(!n){e.rules=null}e.paths=r}};JoinSelectorVisitor.prototype.visitRulesetOut=function(e){this.contexts.length=this.contexts.length-1};JoinSelectorVisitor.prototype.visitMedia=function(e,t){var i=this.contexts[this.contexts.length-1];e.rules[0].root=i.length===0||i[0].multiMedia};JoinSelectorVisitor.prototype.visitAtRule=function(e,t){var i=this.contexts[this.contexts.length-1];if(e.rules&&e.rules.length){e.rules[0].root=e.isRooted||i.length===0||null}};return JoinSelectorVisitor}();t["default"]=a},127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var i=function(){function SetTreeVisibilityVisitor(e){this.visible=e}SetTreeVisibilityVisitor.prototype.run=function(e){this.visit(e)};SetTreeVisibilityVisitor.prototype.visitArray=function(e){if(!e){return e}var t=e.length;var i;for(i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(6444));var a=r.__importDefault(i(4556));var o=function(){function CSSVisitorUtils(e){this._visitor=new a.default(this);this._context=e}CSSVisitorUtils.prototype.containsSilentNonBlockedChild=function(e){var t;if(!e){return false}for(var i=0;i0:false};CSSVisitorUtils.prototype.resolveVisibility=function(e,t){if(!e.blocksVisibility()){if(this.isEmpty(e)&&!this.containsSilentNonBlockedChild(t)){return}return e}var i=e.rules[0];this.keepOnlyVisibleChilds(i);if(this.isEmpty(i)){return}e.ensureVisibility();e.removeVisibilityBlock();return e};CSSVisitorUtils.prototype.isVisibleRuleset=function(e){if(e.firstRoot){return true}if(this.isEmpty(e)){return false}if(!e.root&&!this.hasVisibleSelector(e)){return false}return true};return CSSVisitorUtils}();var ToCSSVisitor=function(e){this._visitor=new a.default(this);this._context=e;this.utils=new o(e)};ToCSSVisitor.prototype={isReplacing:true,run:function(e){return this._visitor.visit(e)},visitDeclaration:function(e,t){if(e.blocksVisibility()||e.variable){return}return e},visitMixinDefinition:function(e,t){e.frames=[]},visitExtend:function(e,t){},visitComment:function(e,t){if(e.blocksVisibility()||e.isSilent(this._context)){return}return e},visitMedia:function(e,t){var i=e.rules[0].rules;e.accept(this._visitor);t.visitDeeper=false;return this.utils.resolveVisibility(e,i)},visitImport:function(e,t){if(e.blocksVisibility()){return}return e},visitAtRule:function(e,t){if(e.rules&&e.rules.length){return this.visitAtRuleWithBody(e,t)}else{return this.visitAtRuleWithoutBody(e,t)}},visitAnonymous:function(e,t){if(!e.blocksVisibility()){e.accept(this._visitor);return e}},visitAtRuleWithBody:function(e,t){function hasFakeRuleset(e){var t=e.rules;return t.length===1&&(!t[0].paths||t[0].paths.length===0)}function getBodyRules(e){var t=e.rules;if(hasFakeRuleset(e)){return t[0].rules}return t}var i=getBodyRules(e);e.accept(this._visitor);t.visitDeeper=false;if(!this.utils.isEmpty(e)){this._mergeRules(e.rules[0].rules)}return this.utils.resolveVisibility(e,i)},visitAtRuleWithoutBody:function(e,t){if(e.blocksVisibility()){return}if(e.name==="@charset"){if(this.charset){if(e.debugInfo){var i=new n.default.Comment("/* "+e.toCSS(this._context).replace(/\n/g,"")+" */\n");i.debugInfo=e.debugInfo;return this._visitor.visit(i)}return}this.charset=true}return e},checkValidNodes:function(e,t){if(!e){return}for(var i=0;i0){e.accept(this._visitor)}else{e.rules=null}t.visitDeeper=false}else{e.accept(this._visitor);t.visitDeeper=false}if(e.rules){this._mergeRules(e.rules);this._removeDuplicateRules(e.rules)}if(this.utils.isVisibleRuleset(e)){e.ensureVisibility();r.splice(0,0,e)}if(r.length===1){return r[0]}return r},_compileRulesetPaths:function(e){if(e.paths){e.paths=e.paths.filter((function(e){var t;if(e[0].elements[0].combinator.value===" "){e[0].elements[0].combinator=new n.default.Combinator("")}for(t=0;t=0;a--){r=e[a];if(r instanceof n.default.Declaration){if(!t[r.name]){t[r.name]=r}else{i=t[r.name];if(i instanceof n.default.Declaration){i=t[r.name]=[t[r.name].toCSS(this._context)]}var o=r.toCSS(this._context);if(i.indexOf(o)!==-1){e.splice(a,1)}else{i.push(o)}}}}},_mergeRules:function(e){if(!e){return}var t={};var i=[];for(var r=0;r0){var t=e[0];var i=[];var r=[new n.default.Expression(i)];e.forEach((function(e){if(e.merge==="+"&&i.length>0){r.push(new n.default.Expression(i=[]))}i.push(e.value);t.important=t.important||e.important}));t.value=new n.default.Value(r)}}))}};t["default"]=ToCSSVisitor},4556:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(4422);var n=r.__importDefault(i(6444));var a={visitDeeper:true};var o=false;function _noop(e){return e}function indexNodeTypes(e,t){var i,r;for(i in e){r=e[i];switch(typeof r){case"function":if(r.prototype&&r.prototype.type){r.prototype.typeIndex=t++}break;case"object":t=indexNodeTypes(r,t);break}}return t}var s=function(){function Visitor(e){this._implementation=e;this._visitInCache={};this._visitOutCache={};if(!o){indexNodeTypes(n.default,1);o=true}}Visitor.prototype.visit=function(e){if(!e){return e}var t=e.typeIndex;if(!t){if(e.value&&e.value.typeIndex){this.visit(e.value)}return e}var i=this._implementation;var r=this._visitInCache[t];var n=this._visitOutCache[t];var o=a;var s;o.visitDeeper=true;if(!r){s="visit"+e.type;r=i[s]||_noop;n=i[s+"Out"]||_noop;this._visitInCache[t]=r;this._visitOutCache[t]=n}if(r!==_noop){var l=r.call(i,e,o);if(e&&i.isReplacing){e=l}}if(o.visitDeeper&&e){if(e.length){for(var u=0,c=e.length;u{var r=i(1017);var n=i(7147);function Mime(){this.types=Object.create(null);this.extensions=Object.create(null)}Mime.prototype.define=function(e){for(var t in e){var i=e[t];for(var r=0;r{"use strict";function parseNodeVersion(e){var t=e.match(/^v(\d{1,2})\.(\d{1,2})\.(\d{1,2})(?:-([0-9A-Za-z-.]+))?(?:\+([0-9A-Za-z-.]+))?$/);if(!t){throw new Error("Unable to parse: "+e)}var i={major:parseInt(t[1],10),minor:parseInt(t[2],10),patch:parseInt(t[3],10),pre:t[4]||"",build:t[5]||""};return i}e.exports=parseNodeVersion},9409:(e,t,i)=>{var r=i(9308);var n=Object.prototype.hasOwnProperty;var a=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=a?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,t){var i=new ArraySet;for(var r=0,n=e.length;r=0){return t}}else{var i=r.toSetString(e);if(n.call(this._set,i)){return this._set[i]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e{var r=i(8268);var n=5;var a=1<>1;return t?-i:i}t.encode=function base64VLQ_encode(e){var t="";var i;var a=toVLQSigned(e);do{i=a&o;a>>>=n;if(a>0){i|=s}t+=r.encode(i)}while(a>0);return t};t.decode=function base64VLQ_decode(e,t,i){var a=e.length;var l=0;var u=0;var c,p;do{if(t>=a){throw new Error("Expected more digits in base 64 VLQ value.")}p=r.decode(e.charCodeAt(t++));if(p===-1){throw new Error("Invalid base64 digit: "+e.charAt(t-1))}c=!!(p&s);p&=o;l=l+(p<{var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e{t.GREATEST_LOWER_BOUND=1;t.LEAST_UPPER_BOUND=2;function recursiveSearch(e,i,r,n,a,o){var s=Math.floor((i-e)/2)+e;var l=a(r,n[s],true);if(l===0){return s}else if(l>0){if(i-s>1){return recursiveSearch(s,i,r,n,a,o)}if(o==t.LEAST_UPPER_BOUND){return i1){return recursiveSearch(e,s,r,n,a,o)}if(o==t.LEAST_UPPER_BOUND){return s}else{return e<0?-1:e}}}t.search=function search(e,i,r,n){if(i.length===0){return-1}var a=recursiveSearch(-1,i.length,e,i,r,n||t.GREATEST_LOWER_BOUND);if(a<0){return-1}while(a-1>=0){if(r(i[a],i[a-1],true)!==0){break}--a}return a}},2768:(e,t,i)=>{var r=i(9308);function generatedPositionAfter(e,t){var i=e.generatedLine;var n=t.generatedLine;var a=e.generatedColumn;var o=t.generatedColumn;return n>i||n==i&&o>=a||r.compareByGeneratedPositionsInflated(e,t)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,t){this._array.forEach(e,t)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(r.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};t.H=MappingList},4927:(e,t)=>{function swap(e,t,i){var r=e[t];e[t]=e[i];e[i]=r}function randomIntInRange(e,t){return Math.round(e+Math.random()*(t-e))}function doQuickSort(e,t,i,r){if(i{var r;var n=i(9308);var a=i(8183);var o=i(9409).I;var s=i(1019);var l=i(4927).U;function SourceMapConsumer(e,t){var i=e;if(typeof e==="string"){i=n.parseSourceMapInput(e)}return i.sections!=null?new IndexedSourceMapConsumer(i,t):new BasicSourceMapConsumer(i,t)}SourceMapConsumer.fromSourceMap=function(e,t){return BasicSourceMapConsumer.fromSourceMap(e,t)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,t){var i=e.charAt(t);return i===";"||i===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,t){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,t,i){var r=t||null;var a=i||SourceMapConsumer.GENERATED_ORDER;var o;switch(a){case SourceMapConsumer.GENERATED_ORDER:o=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;o.map((function(e){var t=e.source===null?null:this._sources.at(e.source);t=n.computeSourceURL(s,t,this._sourceMapURL);return{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(e,r)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var t=n.getArg(e,"line");var i={source:n.getArg(e,"source"),originalLine:t,originalColumn:n.getArg(e,"column",0)};i.source=this._findSourceIndex(i.source);if(i.source<0){return[]}var r=[];var o=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,a.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(e.column===undefined){var l=s.originalLine;while(s&&s.originalLine===l){r.push({line:n.getArg(s,"generatedLine",null),column:n.getArg(s,"generatedColumn",null),lastColumn:n.getArg(s,"lastGeneratedColumn",null)});s=this._originalMappings[++o]}}else{var u=s.originalColumn;while(s&&s.originalLine===t&&s.originalColumn==u){r.push({line:n.getArg(s,"generatedLine",null),column:n.getArg(s,"generatedColumn",null),lastColumn:n.getArg(s,"lastGeneratedColumn",null)});s=this._originalMappings[++o]}}}return r};r=SourceMapConsumer;function BasicSourceMapConsumer(e,t){var i=e;if(typeof e==="string"){i=n.parseSourceMapInput(e)}var r=n.getArg(i,"version");var a=n.getArg(i,"sources");var s=n.getArg(i,"names",[]);var l=n.getArg(i,"sourceRoot",null);var u=n.getArg(i,"sourcesContent",null);var c=n.getArg(i,"mappings");var p=n.getArg(i,"file",null);if(r!=this._version){throw new Error("Unsupported version: "+r)}if(l){l=n.normalize(l)}a=a.map(String).map(n.normalize).map((function(e){return l&&n.isAbsolute(l)&&n.isAbsolute(e)?n.relative(l,e):e}));this._names=o.fromArray(s.map(String),true);this._sources=o.fromArray(a,true);this._absoluteSources=this._sources.toArray().map((function(e){return n.computeSourceURL(l,e,t)}));this.sourceRoot=l;this.sourcesContent=u;this._mappings=c;this._sourceMapURL=t;this.file=p}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null){t=n.relative(this.sourceRoot,t)}if(this._sources.has(t)){return this._sources.indexOf(t)}var i;for(i=0;i1){y.source=u+b[1];u+=b[1];y.originalLine=a+b[2];a=y.originalLine;y.originalLine+=1;y.originalColumn=o+b[3];o=y.originalColumn;if(b.length>4){y.name=c+b[4];c+=b[4]}}g.push(y);if(typeof y.originalLine==="number"){m.push(y)}}}l(g,n.compareByGeneratedPositionsDeflated);this.__generatedMappings=g;l(m,n.compareByOriginalPositions);this.__originalMappings=m};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,t,i,r,n,o){if(e[i]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[i])}if(e[r]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[r])}return a.search(e,t,n,o)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e=0){var r=this._generatedMappings[i];if(r.generatedLine===t.generatedLine){var a=n.getArg(r,"source",null);if(a!==null){a=this._sources.at(a);a=n.computeSourceURL(this.sourceRoot,a,this._sourceMapURL)}var o=n.getArg(r,"name",null);if(o!==null){o=this._names.at(o)}return{source:a,line:n.getArg(r,"originalLine",null),column:n.getArg(r,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,t){if(!this.sourcesContent){return null}var i=this._findSourceIndex(e);if(i>=0){return this.sourcesContent[i]}var r=e;if(this.sourceRoot!=null){r=n.relative(this.sourceRoot,r)}var a;if(this.sourceRoot!=null&&(a=n.urlParse(this.sourceRoot))){var o=r.replace(/^file:\/\//,"");if(a.scheme=="file"&&this._sources.has(o)){return this.sourcesContent[this._sources.indexOf(o)]}if((!a.path||a.path=="/")&&this._sources.has("/"+r)){return this.sourcesContent[this._sources.indexOf("/"+r)]}}if(t){return null}else{throw new Error('"'+r+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var t=n.getArg(e,"source");t=this._findSourceIndex(t);if(t<0){return{line:null,column:null,lastColumn:null}}var i={source:t,originalLine:n.getArg(e,"line"),originalColumn:n.getArg(e,"column")};var r=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,n.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(r>=0){var a=this._originalMappings[r];if(a.source===i.source){return{line:n.getArg(a,"generatedLine",null),column:n.getArg(a,"generatedColumn",null),lastColumn:n.getArg(a,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};r=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,t){var i=e;if(typeof e==="string"){i=n.parseSourceMapInput(e)}var r=n.getArg(i,"version");var a=n.getArg(i,"sections");if(r!=this._version){throw new Error("Unsupported version: "+r)}this._sources=new o;this._names=new o;var s={line:-1,column:0};this._sections=a.map((function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var i=n.getArg(e,"offset");var r=n.getArg(i,"line");var a=n.getArg(i,"column");if(r{var r=i(1019);var n=i(9308);var a=i(9409).I;var o=i(2768).H;function SourceMapGenerator(e){if(!e){e={}}this._file=n.getArg(e,"file",null);this._sourceRoot=n.getArg(e,"sourceRoot",null);this._skipValidation=n.getArg(e,"skipValidation",false);this._sources=new a;this._names=new a;this._mappings=new o;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var t=e.sourceRoot;var i=new SourceMapGenerator({file:e.file,sourceRoot:t});e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){r.source=e.source;if(t!=null){r.source=n.relative(t,r.source)}r.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){r.name=e.name}}i.addMapping(r)}));e.sources.forEach((function(r){var a=r;if(t!==null){a=n.relative(t,r)}if(!i._sources.has(a)){i._sources.add(a)}var o=e.sourceContentFor(r);if(o!=null){i.setSourceContent(r,o)}}));return i};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var t=n.getArg(e,"generated");var i=n.getArg(e,"original",null);var r=n.getArg(e,"source",null);var a=n.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(t,i,r,a)}if(r!=null){r=String(r);if(!this._sources.has(r)){this._sources.add(r)}}if(a!=null){a=String(a);if(!this._names.has(a)){this._names.add(a)}}this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:i!=null&&i.line,originalColumn:i!=null&&i.column,source:r,name:a})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,t){var i=e;if(this._sourceRoot!=null){i=n.relative(this._sourceRoot,i)}if(t!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[n.toSetString(i)]=t}else if(this._sourcesContents){delete this._sourcesContents[n.toSetString(i)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,t,i){var r=t;if(t==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}r=e.file}var o=this._sourceRoot;if(o!=null){r=n.relative(o,r)}var s=new a;var l=new a;this._mappings.unsortedForEach((function(t){if(t.source===r&&t.originalLine!=null){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});if(a.source!=null){t.source=a.source;if(i!=null){t.source=n.join(i,t.source)}if(o!=null){t.source=n.relative(o,t.source)}t.originalLine=a.line;t.originalColumn=a.column;if(a.name!=null){t.name=a.name}}}var u=t.source;if(u!=null&&!s.has(u)){s.add(u)}var c=t.name;if(c!=null&&!l.has(c)){l.add(c)}}),this);this._sources=s;this._names=l;e.sources.forEach((function(t){var r=e.sourceContentFor(t);if(r!=null){if(i!=null){t=n.join(i,t)}if(o!=null){t=n.relative(o,t)}this.setSourceContent(t,r)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,t,i,r){if(t&&typeof t.line!=="number"&&typeof t.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!i&&!r){return}else if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&i){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:i,original:t,name:r}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var t=1;var i=0;var a=0;var o=0;var s=0;var l="";var u;var c;var p;var d;var h=this._mappings.toArray();for(var v=0,m=h.length;v0){if(!n.compareByGeneratedPositionsInflated(c,h[v-1])){continue}u+=","}}u+=r.encode(c.generatedColumn-e);e=c.generatedColumn;if(c.source!=null){d=this._sources.indexOf(c.source);u+=r.encode(d-s);s=d;u+=r.encode(c.originalLine-1-a);a=c.originalLine-1;u+=r.encode(c.originalColumn-i);i=c.originalColumn;if(c.name!=null){p=this._names.indexOf(c.name);u+=r.encode(p-o);o=p}}l+=u}return l};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,t){return e.map((function(e){if(!this._sourcesContents){return null}if(t!=null){e=n.relative(t,e)}var i=n.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};t.SourceMapGenerator=SourceMapGenerator},6129:(e,t,i)=>{var r;var n=i(746).SourceMapGenerator;var a=i(9308);var o=/(\r?\n)/;var s=10;var l="$$$isSourceNode$$$";function SourceNode(e,t,i,r,n){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=t==null?null:t;this.source=i==null?null:i;this.name=n==null?null:n;this[l]=true;if(r!=null)this.add(r)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,t,i){var r=new SourceNode;var n=e.split(o);var s=0;var shiftNextLine=function(){var e=getNextLine();var t=getNextLine()||"";return e+t;function getNextLine(){return s=0;t--){this.prepend(e[t])}}else if(e[l]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var t;for(var i=0,r=this.children.length;i0){t=[];for(i=0;i{function getArg(e,t,i){if(t in e){return e[t]}else if(arguments.length===3){return i}else{throw new Error('"'+t+'" is a required argument.')}}t.getArg=getArg;var i=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var r=/^data:.+\,.+$/;function urlParse(e){var t=e.match(i);if(!t){return null}return{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}}t.urlParse=urlParse;function urlGenerate(e){var t="";if(e.scheme){t+=e.scheme+":"}t+="//";if(e.auth){t+=e.auth+"@"}if(e.host){t+=e.host}if(e.port){t+=":"+e.port}if(e.path){t+=e.path}return t}t.urlGenerate=urlGenerate;function normalize(e){var i=e;var r=urlParse(e);if(r){if(!r.path){return e}i=r.path}var n=t.isAbsolute(i);var a=i.split(/\/+/);for(var o,s=0,l=a.length-1;l>=0;l--){o=a[l];if(o==="."){a.splice(l,1)}else if(o===".."){s++}else if(s>0){if(o===""){a.splice(l+1,s);s=0}else{a.splice(l,2);s--}}}i=a.join("/");if(i===""){i=n?"/":"."}if(r){r.path=i;return urlGenerate(r)}return i}t.normalize=normalize;function join(e,t){if(e===""){e="."}if(t===""){t="."}var i=urlParse(t);var n=urlParse(e);if(n){e=n.path||"/"}if(i&&!i.scheme){if(n){i.scheme=n.scheme}return urlGenerate(i)}if(i||t.match(r)){return t}if(n&&!n.host&&!n.path){n.host=t;return urlGenerate(n)}var a=t.charAt(0)==="/"?t:normalize(e.replace(/\/+$/,"")+"/"+t);if(n){n.path=a;return urlGenerate(n)}return a}t.join=join;t.isAbsolute=function(e){return e.charAt(0)==="/"||i.test(e)};function relative(e,t){if(e===""){e="."}e=e.replace(/\/$/,"");var i=0;while(t.indexOf(e+"/")!==0){var r=e.lastIndexOf("/");if(r<0){return t}e=e.slice(0,r);if(e.match(/^([^\/]+:\/)?\/*$/)){return t}++i}return Array(i+1).join("../")+t.substr(e.length+1)}t.relative=relative;var n=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}t.toSetString=n?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}t.fromSetString=n?identity:fromSetString;function isProtoString(e){if(!e){return false}var t=e.length;if(t<9){return false}if(e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95){return false}for(var i=t-10;i>=0;i--){if(e.charCodeAt(i)!==36){return false}}return true}function compareByOriginalPositions(e,t,i){var r=strcmp(e.source,t.source);if(r!==0){return r}r=e.originalLine-t.originalLine;if(r!==0){return r}r=e.originalColumn-t.originalColumn;if(r!==0||i){return r}r=e.generatedColumn-t.generatedColumn;if(r!==0){return r}r=e.generatedLine-t.generatedLine;if(r!==0){return r}return strcmp(e.name,t.name)}t.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,t,i){var r=e.generatedLine-t.generatedLine;if(r!==0){return r}r=e.generatedColumn-t.generatedColumn;if(r!==0||i){return r}r=strcmp(e.source,t.source);if(r!==0){return r}r=e.originalLine-t.originalLine;if(r!==0){return r}r=e.originalColumn-t.originalColumn;if(r!==0){return r}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,t){if(e===t){return 0}if(e===null){return 1}if(t===null){return-1}if(e>t){return 1}return-1}function compareByGeneratedPositionsInflated(e,t){var i=e.generatedLine-t.generatedLine;if(i!==0){return i}i=e.generatedColumn-t.generatedColumn;if(i!==0){return i}i=strcmp(e.source,t.source);if(i!==0){return i}i=e.originalLine-t.originalLine;if(i!==0){return i}i=e.originalColumn-t.originalColumn;if(i!==0){return i}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,t,i){t=t||"";if(e){if(e[e.length-1]!=="/"&&t[0]!=="/"){e+="/"}t=e+t}if(i){var r=urlParse(i);if(!r){throw new Error("sourceMapURL could not be parsed")}if(r.path){var n=r.path.lastIndexOf("/");if(n>=0){r.path=r.path.substring(0,n+1)}}t=join(urlGenerate(r),t)}return normalize(t)}t.computeSourceURL=computeSourceURL},7435:(e,t,i)=>{t.SourceMapGenerator=i(746).SourceMapGenerator;i(5939);i(6129)},4422:e=>{var t;var i;var r;var n;var a;var o;var s;var l;var u;var c;var p;var d;var h;var v;var m;var g;var y;var _;var b;var x;var w;var S;var M;var C;var k;(function(t){var i=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(e){t(createExporter(i,createExporter(e)))}))}else if(true&&typeof e.exports==="object"){t(createExporter(i,createExporter(e.exports)))}else{t(createExporter(i))}function createExporter(e,t){if(e!==i){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(i,r){return e[i]=t?t(i,r):r}}})((function(e){var I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]};t=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");I(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};i=Object.assign||function(e){for(var t,i=1,r=arguments.length;i=0;s--)if(o=e[s])a=(n<3?o(a):n>3?o(t,i,a):o(t,i))||a;return n>3&&a&&Object.defineProperty(t,i,a),a};a=function(e,t){return function(i,r){t(i,r,e)}};o=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)};s=function(e,t,i,r){function adopt(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?i(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};l=function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,o;return o={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function verb(e){return function(t){return step([e,t])}}function step(o){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,n&&(a=o[0]&2?n["return"]:o[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,o[1])).done)return a;if(n=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]=e.length)e=void 0;return{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};p=function(e,t){var i=typeof Symbol==="function"&&e[Symbol.iterator];if(!i)return e;var r=i.call(e),n,a=[],o;try{while((t===void 0||t-- >0)&&!(n=r.next()).done)a.push(n.value)}catch(e){o={error:e}}finally{try{if(n&&!n.done&&(i=r["return"]))i.call(r)}finally{if(o)throw o.error}}return a};d=function(){for(var e=[],t=0;t1||resume(e,t)}))}}function resume(e,t){try{step(r[e](t))}catch(e){settle(a[0][3],e)}}function step(e){e.value instanceof m?Promise.resolve(e.value.v).then(fulfill,reject):settle(a[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),a.shift(),a.length)resume(a[0][0],a[0][1])}};y=function(e){var t,i;return t={},verb("next"),verb("throw",(function(e){throw e})),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(r,n){t[r]=e[r]?function(t){return(i=!i)?{value:m(e[r](t)),done:r==="return"}:n?n(t):t}:n}};_=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],i;return t?t.call(e):(e=typeof c==="function"?c(e):e[Symbol.iterator](),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(t){i[t]=e[t]&&function(i){return new Promise((function(r,n){i=e[t](i),settle(r,n,i.done,i.value)}))}}function settle(e,t,i,r){Promise.resolve(r).then((function(t){e({value:t,done:i})}),t)}};b=function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var P=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t};x=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i))k(t,e,i);P(t,e);return t};w=function(e){return e&&e.__esModule?e:{default:e}};S=function(e,t,i,r){if(i==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?r:i==="a"?r.call(e):r?r.value:t.get(e)};M=function(e,t,i,r,n){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?n.call(e,i):n?n.value=i:t.set(e,i),i};C=function(e,t){if(t===null||typeof t!=="object"&&typeof t!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e==="function"?t===e:e.has(t)};e("__extends",t);e("__assign",i);e("__rest",r);e("__decorate",n);e("__param",a);e("__metadata",o);e("__awaiter",s);e("__generator",l);e("__exportStar",u);e("__createBinding",k);e("__values",c);e("__read",p);e("__spread",d);e("__spreadArrays",h);e("__spreadArray",v);e("__await",m);e("__asyncGenerator",g);e("__asyncDelegator",y);e("__asyncValues",_);e("__makeTemplateObject",b);e("__importStar",x);e("__importDefault",w);e("__classPrivateFieldGet",S);e("__classPrivateFieldSet",M);e("__classPrivateFieldIn",C)}))},3684:e=>{"use strict";e.exports=require("./package.json")},9491:e=>{"use strict";e.exports=require("assert")},2057:e=>{"use strict";e.exports=require("constants")},7147:e=>{"use strict";e.exports=require("fs")},2326:e=>{"use strict";e.exports=require("needle")},1017:e=>{"use strict";e.exports=require("path")},2781:e=>{"use strict";e.exports=require("stream")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},1167:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=i(2104);function assignProp(e,t,i,r,n){const a={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";if(a==="enumerable")e[t]=i;if(n&&a==="nonenumerable"){Object.defineProperty(e,t,{value:i,enumerable:false,writable:true,configurable:true})}}function copy(e,t={}){if(r.isArray(e)){return e.map((e=>copy(e,t)))}if(!r.isPlainObject(e)){return e}const i=Object.getOwnPropertyNames(e);const n=Object.getOwnPropertySymbols(e);return[...i,...n].reduce(((i,n)=>{if(r.isArray(t.props)&&!t.props.includes(n)){return i}const a=e[n];const o=copy(a,t);assignProp(i,n,o,e,t.nonenumerable);return i}),{})}t.copy=copy},4598:e=>{"use strict";e.exports=JSON.parse('{"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomsvc+xml":["atomsvc"],"application/bdoc":["bdoc"],"application/ccxml+xml":["ccxml"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/font-tdpfr":["pfr"],"application/font-woff":[],"application/font-woff2":[],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/prs.cww":["cww"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":[],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":[],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":[],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":[],"application/x-msdownload":["com","bat"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["wmf","emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":[],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"application/xaml+xml":["xaml"],"application/xcap-diff+xml":["xdf"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":[],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mp3":[],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/wav":["wav"],"audio/wave":[],"audio/webm":["weba"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":[],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":[],"audio/x-wav":[],"audio/xm":["xm"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/g3fax":["g3"],"image/gif":["gif"],"image/ief":["ief"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/ktx":["ktx"],"image/png":["png"],"image/prs.btif":["btif"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/tiff":["tiff","tif"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":[],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/webp":["webp"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":[],"image/x-pcx":["pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/rfc822":["eml","mime"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.vtu":["vtu"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["x3db","x3dbz"],"model/x3d+vrml":["x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/hjson":["hjson"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/prs.lines.tag":["dsc"],"text/richtext":["rtx"],"text/rtf":[],"text/sgml":["sgml","sgm"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/vtt":["vtt"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":[],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"text/xml":[],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/webm":["webm"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}')}};var t={};function __nccwpck_require__(i){var r=t[i];if(r!==undefined){return r.exports}var n=t[i]={exports:{}};var a=true;try{e[i](n,n.exports,__nccwpck_require__);a=false}finally{if(a)delete t[i]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var i=__nccwpck_require__(4374);module.exports=i})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/less/package.json b/packages/builder/builder-shared/compiled/less/package.json deleted file mode 100644 index a70616df22f7..000000000000 --- a/packages/builder/builder-shared/compiled/less/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"less","author":{"name":"Alexis Sellier","email":"self@cloudhead.net"},"version":"4.1.3","license":"Apache-2.0"} diff --git a/packages/builder/builder-shared/compiled/loader-utils2/index.d.ts b/packages/builder/builder-shared/compiled/loader-utils2/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/loader-utils2/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/loader-utils2/index.js b/packages/builder/builder-shared/compiled/loader-utils2/index.js deleted file mode 100644 index 8b07ca2b4b32..000000000000 --- a/packages/builder/builder-shared/compiled/loader-utils2/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={134:function(e){(function(t){"use strict";var r,i=20,s=1,n=1e6,o=1e6,A=-7,c=21,u="[big.js] ",f=u+"Invalid ",g=f+"decimal places",a=f+"rounding mode",h=u+"Division by zero",l={},p=void 0,I=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function _Big_(){function Big(e){var t=this;if(!(t instanceof Big))return e===p?_Big_():new Big(e);if(e instanceof Big){t.s=e.s;t.e=e.e;t.c=e.c.slice()}else{parse(t,e)}t.constructor=Big}Big.prototype=l;Big.DP=i;Big.RM=s;Big.NE=A;Big.PE=c;Big.version="5.2.2";return Big}function parse(e,t){var r,i,s;if(t===0&&1/t<0)t="-0";else if(!I.test(t+=""))throw Error(f+"number");e.s=t.charAt(0)=="-"?(t=t.slice(1),-1):1;if((r=t.indexOf("."))>-1)t=t.replace(".","");if((i=t.search(/e/i))>0){if(r<0)r=i;r+=+t.slice(i+1);t=t.substring(0,i)}else if(r<0){r=t.length}s=t.length;for(i=0;i0&&t.charAt(--s)=="0";);e.e=r-i-1;e.c=[];for(r=0;i<=s;)e.c[r++]=+t.charAt(i++)}return e}function round(e,t,r,i){var s=e.c,n=e.e+t+1;if(n=5}else if(r===2){i=s[n]>5||s[n]==5&&(i||n<0||s[n+1]!==p||s[n-1]&1)}else if(r===3){i=i||!!s[0]}else{i=false;if(r!==0)throw Error(a)}if(n<1){s.length=1;if(i){e.e=-t;s[0]=1}else{s[0]=e.e=0}}else{s.length=n--;if(i){for(;++s[n]>9;){s[n]=0;if(!n--){++e.e;s.unshift(1)}}}for(n=s.length;!s[--n];)s.pop()}}else if(r<0||r>3||r!==~~r){throw Error(a)}return e}function stringify(e,t,r,i){var s,o,A=e.constructor,c=!e.c[0];if(r!==p){if(r!==~~r||r<(t==3)||r>n){throw Error(t==3?f+"precision":g)}e=new A(e);r=i-e.e;if(e.c.length>++i)round(e,r,A.RM);if(t==2)i=e.e+r+1;for(;e.c.length=A.PE)){o=o.charAt(0)+(r>1?"."+o.slice(1):"")+(s<0?"e":"e+")+s}else if(s<0){for(;++s;)o="0"+o;o="0."+o}else if(s>0){if(++s>r)for(s-=r;s--;)o+="0";else if(s1){o=o.charAt(0)+"."+o.slice(1)}return e.s<0&&(!c||t==4)?"-"+o:o}l.abs=function(){var e=new this.constructor(this);e.s=1;return e};l.cmp=function(e){var t,r=this,i=r.c,s=(e=new r.constructor(e)).c,n=r.s,o=e.s,A=r.e,c=e.e;if(!i[0]||!s[0])return!i[0]?!s[0]?0:-o:n;if(n!=o)return n;t=n<0;if(A!=c)return A>c^t?1:-1;o=(A=i.length)<(c=s.length)?A:c;for(n=-1;++ns[n]^t?1:-1}return A==c?0:A>c^t?1:-1};l.div=function(e){var t=this,r=t.constructor,i=t.c,s=(e=new r(e)).c,o=t.s==e.s?1:-1,A=r.DP;if(A!==~~A||A<0||A>n)throw Error(g);if(!s[0])throw Error(h);if(!i[0])return new r(o*0);var c,u,f,a,l,I=s.slice(),d=c=s.length,B=i.length,E=i.slice(0,c),C=E.length,Q=e,m=Q.c=[],y=0,w=A+(Q.e=t.e-e.e)+1;Q.s=o;o=w<0?0:w;I.unshift(0);for(;C++C?1:-1}else{for(l=-1,a=0;++lE[l]?1:-1;break}}}if(a<0){for(u=C==c?s:I;C;){if(E[--C]w)round(Q,A,r.RM,E[0]!==p);return Q};l.eq=function(e){return!this.cmp(e)};l.gt=function(e){return this.cmp(e)>0};l.gte=function(e){return this.cmp(e)>-1};l.lt=function(e){return this.cmp(e)<0};l.lte=function(e){return this.cmp(e)<1};l.minus=l.sub=function(e){var t,r,i,s,n=this,o=n.constructor,A=n.s,c=(e=new o(e)).s;if(A!=c){e.s=-c;return n.plus(e)}var u=n.c.slice(),f=n.e,g=e.c,a=e.e;if(!u[0]||!g[0]){return g[0]?(e.s=-c,e):new o(u[0]?n:0)}if(A=f-a){if(s=A<0){A=-A;i=u}else{a=f;i=g}i.reverse();for(c=A;c--;)i.push(0);i.reverse()}else{r=((s=u.length0)for(;c--;)u[t++]=0;for(c=t;r>A;){if(u[--r]0){c=o;t=u}else{s=-s;t=A}t.reverse();for(;s--;)t.push(0);t.reverse()}if(A.length-u.length<0){t=u;u=A;A=t}s=u.length;for(n=0;s;A[s]%=10)n=(A[--s]=A[s]+u[s]+n)/10|0;if(n){A.unshift(n);++c}for(s=A.length;A[--s]===0;)A.pop();e.c=A;e.e=c;return e};l.pow=function(e){var t=this,r=new t.constructor(1),i=r,s=e<0;if(e!==~~e||e<-o||e>o)throw Error(f+"exponent");if(s)e=-e;for(;;){if(e&1)i=i.times(t);e>>=1;if(!e)break;t=t.times(t)}return s?r.div(i):i};l.round=function(e,t){var r=this.constructor;if(e===p)e=0;else if(e!==~~e||e<-n||e>n)throw Error(g);return round(new r(this),e,t===p?r.RM:t)};l.sqrt=function(){var e,t,r,i=this,s=i.constructor,n=i.s,o=i.e,A=new s(.5);if(!i.c[0])return new s(i);if(n<0)throw Error(u+"No square root");n=Math.sqrt(i+"");if(n===0||n===1/0){t=i.c.join("");if(!(t.length+o&1))t+="0";n=Math.sqrt(t);o=((o+1)/2|0)-(o<0||o&1);e=new s((n==1/0?"1e":(n=n.toExponential()).slice(0,n.indexOf("e")+1))+o)}else{e=new s(n)}o=e.e+(s.DP+=4);do{r=e;e=A.times(r.plus(i.div(r)))}while(r.c.slice(0,o).join("")!==e.c.slice(0,o).join(""));return round(e,s.DP-=4,s.RM)};l.times=l.mul=function(e){var t,r=this,i=r.constructor,s=r.c,n=(e=new i(e)).c,o=s.length,A=n.length,c=r.e,u=e.e;e.s=r.s==e.s?1:-1;if(!s[0]||!n[0])return new i(e.s*0);e.e=c+u;if(oc;){A=t[u]+n[c]*s[u-c-1]+A;t[u--]=A%10;A=A/10|0}t[u]=(t[u]+A)%10}if(A)++e.e;else t.shift();for(c=t.length;!t[--c];)t.pop();e.c=t;return e};l.toExponential=function(e){return stringify(this,1,e,e)};l.toFixed=function(e){return stringify(this,2,e,this.e+e)};l.toPrecision=function(e){return stringify(this,3,e,e-1)};l.toString=function(){return stringify(this)};l.valueOf=l.toJSON=function(){return stringify(this,4)};r=_Big_();r["default"]=r.Big=r;if(typeof define==="function"&&define.amd){define((function(){return r}))}else if(true&&e.exports){e.exports=r}else{t.Big=r}})(this)},876:e=>{e.exports=["🀄️","🃏","🅰️","🅱️","🅾️","🅿️","🆎","🆑","🆒","🆓","🆔","🆕","🆖","🆗","🆘","🆙","🆚","🇦🇨","🇦🇩","🇦🇪","🇦🇫","🇦🇬","🇦🇮","🇦🇱","🇦🇲","🇦🇴","🇦🇶","🇦🇷","🇦🇸","🇦🇹","🇦🇺","🇦🇼","🇦🇽","🇦🇿","🇦","🇧🇦","🇧🇧","🇧🇩","🇧🇪","🇧🇫","🇧🇬","🇧🇭","🇧🇮","🇧🇯","🇧🇱","🇧🇲","🇧🇳","🇧🇴","🇧🇶","🇧🇷","🇧🇸","🇧🇹","🇧🇻","🇧🇼","🇧🇾","🇧🇿","🇧","🇨🇦","🇨🇨","🇨🇩","🇨🇫","🇨🇬","🇨🇭","🇨🇮","🇨🇰","🇨🇱","🇨🇲","🇨🇳","🇨🇴","🇨🇵","🇨🇷","🇨🇺","🇨🇻","🇨🇼","🇨🇽","🇨🇾","🇨🇿","🇨","🇩🇪","🇩🇬","🇩🇯","🇩🇰","🇩🇲","🇩🇴","🇩🇿","🇩","🇪🇦","🇪🇨","🇪🇪","🇪🇬","🇪🇭","🇪🇷","🇪🇸","🇪🇹","🇪🇺","🇪","🇫🇮","🇫🇯","🇫🇰","🇫🇲","🇫🇴","🇫🇷","🇫","🇬🇦","🇬🇧","🇬🇩","🇬🇪","🇬🇫","🇬🇬","🇬🇭","🇬🇮","🇬🇱","🇬🇲","🇬🇳","🇬🇵","🇬🇶","🇬🇷","🇬🇸","🇬🇹","🇬🇺","🇬🇼","🇬🇾","🇬","🇭🇰","🇭🇲","🇭🇳","🇭🇷","🇭🇹","🇭🇺","🇭","🇮🇨","🇮🇩","🇮🇪","🇮🇱","🇮🇲","🇮🇳","🇮🇴","🇮🇶","🇮🇷","🇮🇸","🇮🇹","🇮","🇯🇪","🇯🇲","🇯🇴","🇯🇵","🇯","🇰🇪","🇰🇬","🇰🇭","🇰🇮","🇰🇲","🇰🇳","🇰🇵","🇰🇷","🇰🇼","🇰🇾","🇰🇿","🇰","🇱🇦","🇱🇧","🇱🇨","🇱🇮","🇱🇰","🇱🇷","🇱🇸","🇱🇹","🇱🇺","🇱🇻","🇱🇾","🇱","🇲🇦","🇲🇨","🇲🇩","🇲🇪","🇲🇫","🇲🇬","🇲🇭","🇲🇰","🇲🇱","🇲🇲","🇲🇳","🇲🇴","🇲🇵","🇲🇶","🇲🇷","🇲🇸","🇲🇹","🇲🇺","🇲🇻","🇲🇼","🇲🇽","🇲🇾","🇲🇿","🇲","🇳🇦","🇳🇨","🇳🇪","🇳🇫","🇳🇬","🇳🇮","🇳🇱","🇳🇴","🇳🇵","🇳🇷","🇳🇺","🇳🇿","🇳","🇴🇲","🇴","🇵🇦","🇵🇪","🇵🇫","🇵🇬","🇵🇭","🇵🇰","🇵🇱","🇵🇲","🇵🇳","🇵🇷","🇵🇸","🇵🇹","🇵🇼","🇵🇾","🇵","🇶🇦","🇶","🇷🇪","🇷🇴","🇷🇸","🇷🇺","🇷🇼","🇷","🇸🇦","🇸🇧","🇸🇨","🇸🇩","🇸🇪","🇸🇬","🇸🇭","🇸🇮","🇸🇯","🇸🇰","🇸🇱","🇸🇲","🇸🇳","🇸🇴","🇸🇷","🇸🇸","🇸🇹","🇸🇻","🇸🇽","🇸🇾","🇸🇿","🇸","🇹🇦","🇹🇨","🇹🇩","🇹🇫","🇹🇬","🇹🇭","🇹🇯","🇹🇰","🇹🇱","🇹🇲","🇹🇳","🇹🇴","🇹🇷","🇹🇹","🇹🇻","🇹🇼","🇹🇿","🇹","🇺🇦","🇺🇬","🇺🇲","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇺","🇻🇦","🇻🇨","🇻🇪","🇻🇬","🇻🇮","🇻🇳","🇻🇺","🇻","🇼🇫","🇼🇸","🇼","🇽🇰","🇽","🇾🇪","🇾🇹","🇾","🇿🇦","🇿🇲","🇿🇼","🇿","🈁","🈂️","🈚️","🈯️","🈲","🈳","🈴","🈵","🈶","🈷️","🈸","🈹","🈺","🉐","🉑","🌀","🌁","🌂","🌃","🌄","🌅","🌆","🌇","🌈","🌉","🌊","🌋","🌌","🌍","🌎","🌏","🌐","🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚","🌛","🌜","🌝","🌞","🌟","🌠","🌡️","🌤️","🌥️","🌦️","🌧️","🌨️","🌩️","🌪️","🌫️","🌬️","🌭","🌮","🌯","🌰","🌱","🌲","🌳","🌴","🌵","🌶️","🌷","🌸","🌹","🌺","🌻","🌼","🌽","🌾","🌿","🍀","🍁","🍂","🍃","🍄","🍅","🍆","🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍔","🍕","🍖","🍗","🍘","🍙","🍚","🍛","🍜","🍝","🍞","🍟","🍠","🍡","🍢","🍣","🍤","🍥","🍦","🍧","🍨","🍩","🍪","🍫","🍬","🍭","🍮","🍯","🍰","🍱","🍲","🍳","🍴","🍵","🍶","🍷","🍸","🍹","🍺","🍻","🍼","🍽️","🍾","🍿","🎀","🎁","🎂","🎃","🎄","🎅🏻","🎅🏼","🎅🏽","🎅🏾","🎅🏿","🎅","🎆","🎇","🎈","🎉","🎊","🎋","🎌","🎍","🎎","🎏","🎐","🎑","🎒","🎓","🎖️","🎗️","🎙️","🎚️","🎛️","🎞️","🎟️","🎠","🎡","🎢","🎣","🎤","🎥","🎦","🎧","🎨","🎩","🎪","🎫","🎬","🎭","🎮","🎯","🎰","🎱","🎲","🎳","🎴","🎵","🎶","🎷","🎸","🎹","🎺","🎻","🎼","🎽","🎾","🎿","🏀","🏁","🏂🏻","🏂🏼","🏂🏽","🏂🏾","🏂🏿","🏂","🏃🏻‍♀️","🏃🏻‍♂️","🏃🏻","🏃🏼‍♀️","🏃🏼‍♂️","🏃🏼","🏃🏽‍♀️","🏃🏽‍♂️","🏃🏽","🏃🏾‍♀️","🏃🏾‍♂️","🏃🏾","🏃🏿‍♀️","🏃🏿‍♂️","🏃🏿","🏃‍♀️","🏃‍♂️","🏃","🏄🏻‍♀️","🏄🏻‍♂️","🏄🏻","🏄🏼‍♀️","🏄🏼‍♂️","🏄🏼","🏄🏽‍♀️","🏄🏽‍♂️","🏄🏽","🏄🏾‍♀️","🏄🏾‍♂️","🏄🏾","🏄🏿‍♀️","🏄🏿‍♂️","🏄🏿","🏄‍♀️","🏄‍♂️","🏄","🏅","🏆","🏇🏻","🏇🏼","🏇🏽","🏇🏾","🏇🏿","🏇","🏈","🏉","🏊🏻‍♀️","🏊🏻‍♂️","🏊🏻","🏊🏼‍♀️","🏊🏼‍♂️","🏊🏼","🏊🏽‍♀️","🏊🏽‍♂️","🏊🏽","🏊🏾‍♀️","🏊🏾‍♂️","🏊🏾","🏊🏿‍♀️","🏊🏿‍♂️","🏊🏿","🏊‍♀️","🏊‍♂️","🏊","🏋🏻‍♀️","🏋🏻‍♂️","🏋🏻","🏋🏼‍♀️","🏋🏼‍♂️","🏋🏼","🏋🏽‍♀️","🏋🏽‍♂️","🏋🏽","🏋🏾‍♀️","🏋🏾‍♂️","🏋🏾","🏋🏿‍♀️","🏋🏿‍♂️","🏋🏿","🏋️‍♀️","🏋️‍♂️","🏋️","🏌🏻‍♀️","🏌🏻‍♂️","🏌🏻","🏌🏼‍♀️","🏌🏼‍♂️","🏌🏼","🏌🏽‍♀️","🏌🏽‍♂️","🏌🏽","🏌🏾‍♀️","🏌🏾‍♂️","🏌🏾","🏌🏿‍♀️","🏌🏿‍♂️","🏌🏿","🏌️‍♀️","🏌️‍♂️","🏌️","🏍️","🏎️","🏏","🏐","🏑","🏒","🏓","🏔️","🏕️","🏖️","🏗️","🏘️","🏙️","🏚️","🏛️","🏜️","🏝️","🏞️","🏟️","🏠","🏡","🏢","🏣","🏤","🏥","🏦","🏧","🏨","🏩","🏪","🏫","🏬","🏭","🏮","🏯","🏰","🏳️‍🌈","🏳️","🏴‍☠️","🏴󠁧󠁢󠁥󠁮󠁧󠁿","🏴󠁧󠁢󠁳󠁣󠁴󠁿","🏴󠁧󠁢󠁷󠁬󠁳󠁿","🏴","🏵️","🏷️","🏸","🏹","🏺","🏻","🏼","🏽","🏾","🏿","🐀","🐁","🐂","🐃","🐄","🐅","🐆","🐇","🐈","🐉","🐊","🐋","🐌","🐍","🐎","🐏","🐐","🐑","🐒","🐓","🐔","🐕‍🦺","🐕","🐖","🐗","🐘","🐙","🐚","🐛","🐜","🐝","🐞","🐟","🐠","🐡","🐢","🐣","🐤","🐥","🐦","🐧","🐨","🐩","🐪","🐫","🐬","🐭","🐮","🐯","🐰","🐱","🐲","🐳","🐴","🐵","🐶","🐷","🐸","🐹","🐺","🐻","🐼","🐽","🐾","🐿️","👀","👁‍🗨","👁️","👂🏻","👂🏼","👂🏽","👂🏾","👂🏿","👂","👃🏻","👃🏼","👃🏽","👃🏾","👃🏿","👃","👄","👅","👆🏻","👆🏼","👆🏽","👆🏾","👆🏿","👆","👇🏻","👇🏼","👇🏽","👇🏾","👇🏿","👇","👈🏻","👈🏼","👈🏽","👈🏾","👈🏿","👈","👉🏻","👉🏼","👉🏽","👉🏾","👉🏿","👉","👊🏻","👊🏼","👊🏽","👊🏾","👊🏿","👊","👋🏻","👋🏼","👋🏽","👋🏾","👋🏿","👋","👌🏻","👌🏼","👌🏽","👌🏾","👌🏿","👌","👍🏻","👍🏼","👍🏽","👍🏾","👍🏿","👍","👎🏻","👎🏼","👎🏽","👎🏾","👎🏿","👎","👏🏻","👏🏼","👏🏽","👏🏾","👏🏿","👏","👐🏻","👐🏼","👐🏽","👐🏾","👐🏿","👐","👑","👒","👓","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","👞","👟","👠","👡","👢","👣","👤","👥","👦🏻","👦🏼","👦🏽","👦🏾","👦🏿","👦","👧🏻","👧🏼","👧🏽","👧🏾","👧🏿","👧","👨🏻‍🌾","👨🏻‍🍳","👨🏻‍🎓","👨🏻‍🎤","👨🏻‍🎨","👨🏻‍🏫","👨🏻‍🏭","👨🏻‍💻","👨🏻‍💼","👨🏻‍🔧","👨🏻‍🔬","👨🏻‍🚀","👨🏻‍🚒","👨🏻‍🦯","👨🏻‍🦰","👨🏻‍🦱","👨🏻‍🦲","👨🏻‍🦳","👨🏻‍🦼","👨🏻‍🦽","👨🏻‍⚕️","👨🏻‍⚖️","👨🏻‍✈️","👨🏻","👨🏼‍🌾","👨🏼‍🍳","👨🏼‍🎓","👨🏼‍🎤","👨🏼‍🎨","👨🏼‍🏫","👨🏼‍🏭","👨🏼‍💻","👨🏼‍💼","👨🏼‍🔧","👨🏼‍🔬","👨🏼‍🚀","👨🏼‍🚒","👨🏼‍🤝‍👨🏻","👨🏼‍🦯","👨🏼‍🦰","👨🏼‍🦱","👨🏼‍🦲","👨🏼‍🦳","👨🏼‍🦼","👨🏼‍🦽","👨🏼‍⚕️","👨🏼‍⚖️","👨🏼‍✈️","👨🏼","👨🏽‍🌾","👨🏽‍🍳","👨🏽‍🎓","👨🏽‍🎤","👨🏽‍🎨","👨🏽‍🏫","👨🏽‍🏭","👨🏽‍💻","👨🏽‍💼","👨🏽‍🔧","👨🏽‍🔬","👨🏽‍🚀","👨🏽‍🚒","👨🏽‍🤝‍👨🏻","👨🏽‍🤝‍👨🏼","👨🏽‍🦯","👨🏽‍🦰","👨🏽‍🦱","👨🏽‍🦲","👨🏽‍🦳","👨🏽‍🦼","👨🏽‍🦽","👨🏽‍⚕️","👨🏽‍⚖️","👨🏽‍✈️","👨🏽","👨🏾‍🌾","👨🏾‍🍳","👨🏾‍🎓","👨🏾‍🎤","👨🏾‍🎨","👨🏾‍🏫","👨🏾‍🏭","👨🏾‍💻","👨🏾‍💼","👨🏾‍🔧","👨🏾‍🔬","👨🏾‍🚀","👨🏾‍🚒","👨🏾‍🤝‍👨🏻","👨🏾‍🤝‍👨🏼","👨🏾‍🤝‍👨🏽","👨🏾‍🦯","👨🏾‍🦰","👨🏾‍🦱","👨🏾‍🦲","👨🏾‍🦳","👨🏾‍🦼","👨🏾‍🦽","👨🏾‍⚕️","👨🏾‍⚖️","👨🏾‍✈️","👨🏾","👨🏿‍🌾","👨🏿‍🍳","👨🏿‍🎓","👨🏿‍🎤","👨🏿‍🎨","👨🏿‍🏫","👨🏿‍🏭","👨🏿‍💻","👨🏿‍💼","👨🏿‍🔧","👨🏿‍🔬","👨🏿‍🚀","👨🏿‍🚒","👨🏿‍🤝‍👨🏻","👨🏿‍🤝‍👨🏼","👨🏿‍🤝‍👨🏽","👨🏿‍🤝‍👨🏾","👨🏿‍🦯","👨🏿‍🦰","👨🏿‍🦱","👨🏿‍🦲","👨🏿‍🦳","👨🏿‍🦼","👨🏿‍🦽","👨🏿‍⚕️","👨🏿‍⚖️","👨🏿‍✈️","👨🏿","👨‍🌾","👨‍🍳","👨‍🎓","👨‍🎤","👨‍🎨","👨‍🏫","👨‍🏭","👨‍👦‍👦","👨‍👦","👨‍👧‍👦","👨‍👧‍👧","👨‍👧","👨‍👨‍👦‍👦","👨‍👨‍👦","👨‍👨‍👧‍👦","👨‍👨‍👧‍👧","👨‍👨‍👧","👨‍👩‍👦‍👦","👨‍👩‍👦","👨‍👩‍👧‍👦","👨‍👩‍👧‍👧","👨‍👩‍👧","👨‍💻","👨‍💼","👨‍🔧","👨‍🔬","👨‍🚀","👨‍🚒","👨‍🦯","👨‍🦰","👨‍🦱","👨‍🦲","👨‍🦳","👨‍🦼","👨‍🦽","👨‍⚕️","👨‍⚖️","👨‍✈️","👨‍❤️‍👨","👨‍❤️‍💋‍👨","👨","👩🏻‍🌾","👩🏻‍🍳","👩🏻‍🎓","👩🏻‍🎤","👩🏻‍🎨","👩🏻‍🏫","👩🏻‍🏭","👩🏻‍💻","👩🏻‍💼","👩🏻‍🔧","👩🏻‍🔬","👩🏻‍🚀","👩🏻‍🚒","👩🏻‍🤝‍👨🏼","👩🏻‍🤝‍👨🏽","👩🏻‍🤝‍👨🏾","👩🏻‍🤝‍👨🏿","👩🏻‍🦯","👩🏻‍🦰","👩🏻‍🦱","👩🏻‍🦲","👩🏻‍🦳","👩🏻‍🦼","👩🏻‍🦽","👩🏻‍⚕️","👩🏻‍⚖️","👩🏻‍✈️","👩🏻","👩🏼‍🌾","👩🏼‍🍳","👩🏼‍🎓","👩🏼‍🎤","👩🏼‍🎨","👩🏼‍🏫","👩🏼‍🏭","👩🏼‍💻","👩🏼‍💼","👩🏼‍🔧","👩🏼‍🔬","👩🏼‍🚀","👩🏼‍🚒","👩🏼‍🤝‍👨🏻","👩🏼‍🤝‍👨🏽","👩🏼‍🤝‍👨🏾","👩🏼‍🤝‍👨🏿","👩🏼‍🤝‍👩🏻","👩🏼‍🦯","👩🏼‍🦰","👩🏼‍🦱","👩🏼‍🦲","👩🏼‍🦳","👩🏼‍🦼","👩🏼‍🦽","👩🏼‍⚕️","👩🏼‍⚖️","👩🏼‍✈️","👩🏼","👩🏽‍🌾","👩🏽‍🍳","👩🏽‍🎓","👩🏽‍🎤","👩🏽‍🎨","👩🏽‍🏫","👩🏽‍🏭","👩🏽‍💻","👩🏽‍💼","👩🏽‍🔧","👩🏽‍🔬","👩🏽‍🚀","👩🏽‍🚒","👩🏽‍🤝‍👨🏻","👩🏽‍🤝‍👨🏼","👩🏽‍🤝‍👨🏾","👩🏽‍🤝‍👨🏿","👩🏽‍🤝‍👩🏻","👩🏽‍🤝‍👩🏼","👩🏽‍🦯","👩🏽‍🦰","👩🏽‍🦱","👩🏽‍🦲","👩🏽‍🦳","👩🏽‍🦼","👩🏽‍🦽","👩🏽‍⚕️","👩🏽‍⚖️","👩🏽‍✈️","👩🏽","👩🏾‍🌾","👩🏾‍🍳","👩🏾‍🎓","👩🏾‍🎤","👩🏾‍🎨","👩🏾‍🏫","👩🏾‍🏭","👩🏾‍💻","👩🏾‍💼","👩🏾‍🔧","👩🏾‍🔬","👩🏾‍🚀","👩🏾‍🚒","👩🏾‍🤝‍👨🏻","👩🏾‍🤝‍👨🏼","👩🏾‍🤝‍👨🏽","👩🏾‍🤝‍👨🏿","👩🏾‍🤝‍👩🏻","👩🏾‍🤝‍👩🏼","👩🏾‍🤝‍👩🏽","👩🏾‍🦯","👩🏾‍🦰","👩🏾‍🦱","👩🏾‍🦲","👩🏾‍🦳","👩🏾‍🦼","👩🏾‍🦽","👩🏾‍⚕️","👩🏾‍⚖️","👩🏾‍✈️","👩🏾","👩🏿‍🌾","👩🏿‍🍳","👩🏿‍🎓","👩🏿‍🎤","👩🏿‍🎨","👩🏿‍🏫","👩🏿‍🏭","👩🏿‍💻","👩🏿‍💼","👩🏿‍🔧","👩🏿‍🔬","👩🏿‍🚀","👩🏿‍🚒","👩🏿‍🤝‍👨🏻","👩🏿‍🤝‍👨🏼","👩🏿‍🤝‍👨🏽","👩🏿‍🤝‍👨🏾","👩🏿‍🤝‍👩🏻","👩🏿‍🤝‍👩🏼","👩🏿‍🤝‍👩🏽","👩🏿‍🤝‍👩🏾","👩🏿‍🦯","👩🏿‍🦰","👩🏿‍🦱","👩🏿‍🦲","👩🏿‍🦳","👩🏿‍🦼","👩🏿‍🦽","👩🏿‍⚕️","👩🏿‍⚖️","👩🏿‍✈️","👩🏿","👩‍🌾","👩‍🍳","👩‍🎓","👩‍🎤","👩‍🎨","👩‍🏫","👩‍🏭","👩‍👦‍👦","👩‍👦","👩‍👧‍👦","👩‍👧‍👧","👩‍👧","👩‍👩‍👦‍👦","👩‍👩‍👦","👩‍👩‍👧‍👦","👩‍👩‍👧‍👧","👩‍👩‍👧","👩‍💻","👩‍💼","👩‍🔧","👩‍🔬","👩‍🚀","👩‍🚒","👩‍🦯","👩‍🦰","👩‍🦱","👩‍🦲","👩‍🦳","👩‍🦼","👩‍🦽","👩‍⚕️","👩‍⚖️","👩‍✈️","👩‍❤️‍👨","👩‍❤️‍👩","👩‍❤️‍💋‍👨","👩‍❤️‍💋‍👩","👩","👪","👫🏻","👫🏼","👫🏽","👫🏾","👫🏿","👫","👬🏻","👬🏼","👬🏽","👬🏾","👬🏿","👬","👭🏻","👭🏼","👭🏽","👭🏾","👭🏿","👭","👮🏻‍♀️","👮🏻‍♂️","👮🏻","👮🏼‍♀️","👮🏼‍♂️","👮🏼","👮🏽‍♀️","👮🏽‍♂️","👮🏽","👮🏾‍♀️","👮🏾‍♂️","👮🏾","👮🏿‍♀️","👮🏿‍♂️","👮🏿","👮‍♀️","👮‍♂️","👮","👯‍♀️","👯‍♂️","👯","👰🏻","👰🏼","👰🏽","👰🏾","👰🏿","👰","👱🏻‍♀️","👱🏻‍♂️","👱🏻","👱🏼‍♀️","👱🏼‍♂️","👱🏼","👱🏽‍♀️","👱🏽‍♂️","👱🏽","👱🏾‍♀️","👱🏾‍♂️","👱🏾","👱🏿‍♀️","👱🏿‍♂️","👱🏿","👱‍♀️","👱‍♂️","👱","👲🏻","👲🏼","👲🏽","👲🏾","👲🏿","👲","👳🏻‍♀️","👳🏻‍♂️","👳🏻","👳🏼‍♀️","👳🏼‍♂️","👳🏼","👳🏽‍♀️","👳🏽‍♂️","👳🏽","👳🏾‍♀️","👳🏾‍♂️","👳🏾","👳🏿‍♀️","👳🏿‍♂️","👳🏿","👳‍♀️","👳‍♂️","👳","👴🏻","👴🏼","👴🏽","👴🏾","👴🏿","👴","👵🏻","👵🏼","👵🏽","👵🏾","👵🏿","👵","👶🏻","👶🏼","👶🏽","👶🏾","👶🏿","👶","👷🏻‍♀️","👷🏻‍♂️","👷🏻","👷🏼‍♀️","👷🏼‍♂️","👷🏼","👷🏽‍♀️","👷🏽‍♂️","👷🏽","👷🏾‍♀️","👷🏾‍♂️","👷🏾","👷🏿‍♀️","👷🏿‍♂️","👷🏿","👷‍♀️","👷‍♂️","👷","👸🏻","👸🏼","👸🏽","👸🏾","👸🏿","👸","👹","👺","👻","👼🏻","👼🏼","👼🏽","👼🏾","👼🏿","👼","👽","👾","👿","💀","💁🏻‍♀️","💁🏻‍♂️","💁🏻","💁🏼‍♀️","💁🏼‍♂️","💁🏼","💁🏽‍♀️","💁🏽‍♂️","💁🏽","💁🏾‍♀️","💁🏾‍♂️","💁🏾","💁🏿‍♀️","💁🏿‍♂️","💁🏿","💁‍♀️","💁‍♂️","💁","💂🏻‍♀️","💂🏻‍♂️","💂🏻","💂🏼‍♀️","💂🏼‍♂️","💂🏼","💂🏽‍♀️","💂🏽‍♂️","💂🏽","💂🏾‍♀️","💂🏾‍♂️","💂🏾","💂🏿‍♀️","💂🏿‍♂️","💂🏿","💂‍♀️","💂‍♂️","💂","💃🏻","💃🏼","💃🏽","💃🏾","💃🏿","💃","💄","💅🏻","💅🏼","💅🏽","💅🏾","💅🏿","💅","💆🏻‍♀️","💆🏻‍♂️","💆🏻","💆🏼‍♀️","💆🏼‍♂️","💆🏼","💆🏽‍♀️","💆🏽‍♂️","💆🏽","💆🏾‍♀️","💆🏾‍♂️","💆🏾","💆🏿‍♀️","💆🏿‍♂️","💆🏿","💆‍♀️","💆‍♂️","💆","💇🏻‍♀️","💇🏻‍♂️","💇🏻","💇🏼‍♀️","💇🏼‍♂️","💇🏼","💇🏽‍♀️","💇🏽‍♂️","💇🏽","💇🏾‍♀️","💇🏾‍♂️","💇🏾","💇🏿‍♀️","💇🏿‍♂️","💇🏿","💇‍♀️","💇‍♂️","💇","💈","💉","💊","💋","💌","💍","💎","💏","💐","💑","💒","💓","💔","💕","💖","💗","💘","💙","💚","💛","💜","💝","💞","💟","💠","💡","💢","💣","💤","💥","💦","💧","💨","💩","💪🏻","💪🏼","💪🏽","💪🏾","💪🏿","💪","💫","💬","💭","💮","💯","💰","💱","💲","💳","💴","💵","💶","💷","💸","💹","💺","💻","💼","💽","💾","💿","📀","📁","📂","📃","📄","📅","📆","📇","📈","📉","📊","📋","📌","📍","📎","📏","📐","📑","📒","📓","📔","📕","📖","📗","📘","📙","📚","📛","📜","📝","📞","📟","📠","📡","📢","📣","📤","📥","📦","📧","📨","📩","📪","📫","📬","📭","📮","📯","📰","📱","📲","📳","📴","📵","📶","📷","📸","📹","📺","📻","📼","📽️","📿","🔀","🔁","🔂","🔃","🔄","🔅","🔆","🔇","🔈","🔉","🔊","🔋","🔌","🔍","🔎","🔏","🔐","🔑","🔒","🔓","🔔","🔕","🔖","🔗","🔘","🔙","🔚","🔛","🔜","🔝","🔞","🔟","🔠","🔡","🔢","🔣","🔤","🔥","🔦","🔧","🔨","🔩","🔪","🔫","🔬","🔭","🔮","🔯","🔰","🔱","🔲","🔳","🔴","🔵","🔶","🔷","🔸","🔹","🔺","🔻","🔼","🔽","🕉️","🕊️","🕋","🕌","🕍","🕎","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛","🕜","🕝","🕞","🕟","🕠","🕡","🕢","🕣","🕤","🕥","🕦","🕧","🕯️","🕰️","🕳️","🕴🏻‍♀️","🕴🏻‍♂️","🕴🏻","🕴🏼‍♀️","🕴🏼‍♂️","🕴🏼","🕴🏽‍♀️","🕴🏽‍♂️","🕴🏽","🕴🏾‍♀️","🕴🏾‍♂️","🕴🏾","🕴🏿‍♀️","🕴🏿‍♂️","🕴🏿","🕴️‍♀️","🕴️‍♂️","🕴️","🕵🏻‍♀️","🕵🏻‍♂️","🕵🏻","🕵🏼‍♀️","🕵🏼‍♂️","🕵🏼","🕵🏽‍♀️","🕵🏽‍♂️","🕵🏽","🕵🏾‍♀️","🕵🏾‍♂️","🕵🏾","🕵🏿‍♀️","🕵🏿‍♂️","🕵🏿","🕵️‍♀️","🕵️‍♂️","🕵️","🕶️","🕷️","🕸️","🕹️","🕺🏻","🕺🏼","🕺🏽","🕺🏾","🕺🏿","🕺","🖇️","🖊️","🖋️","🖌️","🖍️","🖐🏻","🖐🏼","🖐🏽","🖐🏾","🖐🏿","🖐️","🖕🏻","🖕🏼","🖕🏽","🖕🏾","🖕🏿","🖕","🖖🏻","🖖🏼","🖖🏽","🖖🏾","🖖🏿","🖖","🖤","🖥️","🖨️","🖱️","🖲️","🖼️","🗂️","🗃️","🗄️","🗑️","🗒️","🗓️","🗜️","🗝️","🗞️","🗡️","🗣️","🗨️","🗯️","🗳️","🗺️","🗻","🗼","🗽","🗾","🗿","😀","😁","😂","😃","😄","😅","😆","😇","😈","😉","😊","😋","😌","😍","😎","😏","😐","😑","😒","😓","😔","😕","😖","😗","😘","😙","😚","😛","😜","😝","😞","😟","😠","😡","😢","😣","😤","😥","😦","😧","😨","😩","😪","😫","😬","😭","😮","😯","😰","😱","😲","😳","😴","😵","😶","😷","😸","😹","😺","😻","😼","😽","😾","😿","🙀","🙁","🙂","🙃","🙄","🙅🏻‍♀️","🙅🏻‍♂️","🙅🏻","🙅🏼‍♀️","🙅🏼‍♂️","🙅🏼","🙅🏽‍♀️","🙅🏽‍♂️","🙅🏽","🙅🏾‍♀️","🙅🏾‍♂️","🙅🏾","🙅🏿‍♀️","🙅🏿‍♂️","🙅🏿","🙅‍♀️","🙅‍♂️","🙅","🙆🏻‍♀️","🙆🏻‍♂️","🙆🏻","🙆🏼‍♀️","🙆🏼‍♂️","🙆🏼","🙆🏽‍♀️","🙆🏽‍♂️","🙆🏽","🙆🏾‍♀️","🙆🏾‍♂️","🙆🏾","🙆🏿‍♀️","🙆🏿‍♂️","🙆🏿","🙆‍♀️","🙆‍♂️","🙆","🙇🏻‍♀️","🙇🏻‍♂️","🙇🏻","🙇🏼‍♀️","🙇🏼‍♂️","🙇🏼","🙇🏽‍♀️","🙇🏽‍♂️","🙇🏽","🙇🏾‍♀️","🙇🏾‍♂️","🙇🏾","🙇🏿‍♀️","🙇🏿‍♂️","🙇🏿","🙇‍♀️","🙇‍♂️","🙇","🙈","🙉","🙊","🙋🏻‍♀️","🙋🏻‍♂️","🙋🏻","🙋🏼‍♀️","🙋🏼‍♂️","🙋🏼","🙋🏽‍♀️","🙋🏽‍♂️","🙋🏽","🙋🏾‍♀️","🙋🏾‍♂️","🙋🏾","🙋🏿‍♀️","🙋🏿‍♂️","🙋🏿","🙋‍♀️","🙋‍♂️","🙋","🙌🏻","🙌🏼","🙌🏽","🙌🏾","🙌🏿","🙌","🙍🏻‍♀️","🙍🏻‍♂️","🙍🏻","🙍🏼‍♀️","🙍🏼‍♂️","🙍🏼","🙍🏽‍♀️","🙍🏽‍♂️","🙍🏽","🙍🏾‍♀️","🙍🏾‍♂️","🙍🏾","🙍🏿‍♀️","🙍🏿‍♂️","🙍🏿","🙍‍♀️","🙍‍♂️","🙍","🙎🏻‍♀️","🙎🏻‍♂️","🙎🏻","🙎🏼‍♀️","🙎🏼‍♂️","🙎🏼","🙎🏽‍♀️","🙎🏽‍♂️","🙎🏽","🙎🏾‍♀️","🙎🏾‍♂️","🙎🏾","🙎🏿‍♀️","🙎🏿‍♂️","🙎🏿","🙎‍♀️","🙎‍♂️","🙎","🙏🏻","🙏🏼","🙏🏽","🙏🏾","🙏🏿","🙏","🚀","🚁","🚂","🚃","🚄","🚅","🚆","🚇","🚈","🚉","🚊","🚋","🚌","🚍","🚎","🚏","🚐","🚑","🚒","🚓","🚔","🚕","🚖","🚗","🚘","🚙","🚚","🚛","🚜","🚝","🚞","🚟","🚠","🚡","🚢","🚣🏻‍♀️","🚣🏻‍♂️","🚣🏻","🚣🏼‍♀️","🚣🏼‍♂️","🚣🏼","🚣🏽‍♀️","🚣🏽‍♂️","🚣🏽","🚣🏾‍♀️","🚣🏾‍♂️","🚣🏾","🚣🏿‍♀️","🚣🏿‍♂️","🚣🏿","🚣‍♀️","🚣‍♂️","🚣","🚤","🚥","🚦","🚧","🚨","🚩","🚪","🚫","🚬","🚭","🚮","🚯","🚰","🚱","🚲","🚳","🚴🏻‍♀️","🚴🏻‍♂️","🚴🏻","🚴🏼‍♀️","🚴🏼‍♂️","🚴🏼","🚴🏽‍♀️","🚴🏽‍♂️","🚴🏽","🚴🏾‍♀️","🚴🏾‍♂️","🚴🏾","🚴🏿‍♀️","🚴🏿‍♂️","🚴🏿","🚴‍♀️","🚴‍♂️","🚴","🚵🏻‍♀️","🚵🏻‍♂️","🚵🏻","🚵🏼‍♀️","🚵🏼‍♂️","🚵🏼","🚵🏽‍♀️","🚵🏽‍♂️","🚵🏽","🚵🏾‍♀️","🚵🏾‍♂️","🚵🏾","🚵🏿‍♀️","🚵🏿‍♂️","🚵🏿","🚵‍♀️","🚵‍♂️","🚵","🚶🏻‍♀️","🚶🏻‍♂️","🚶🏻","🚶🏼‍♀️","🚶🏼‍♂️","🚶🏼","🚶🏽‍♀️","🚶🏽‍♂️","🚶🏽","🚶🏾‍♀️","🚶🏾‍♂️","🚶🏾","🚶🏿‍♀️","🚶🏿‍♂️","🚶🏿","🚶‍♀️","🚶‍♂️","🚶","🚷","🚸","🚹","🚺","🚻","🚼","🚽","🚾","🚿","🛀🏻","🛀🏼","🛀🏽","🛀🏾","🛀🏿","🛀","🛁","🛂","🛃","🛄","🛅","🛋️","🛌🏻","🛌🏼","🛌🏽","🛌🏾","🛌🏿","🛌","🛍️","🛎️","🛏️","🛐","🛑","🛒","🛕","🛠️","🛡️","🛢️","🛣️","🛤️","🛥️","🛩️","🛫","🛬","🛰️","🛳️","🛴","🛵","🛶","🛷","🛸","🛹","🛺","🟠","🟡","🟢","🟣","🟤","🟥","🟦","🟧","🟨","🟩","🟪","🟫","🤍","🤎","🤏🏻","🤏🏼","🤏🏽","🤏🏾","🤏🏿","🤏","🤐","🤑","🤒","🤓","🤔","🤕","🤖","🤗","🤘🏻","🤘🏼","🤘🏽","🤘🏾","🤘🏿","🤘","🤙🏻","🤙🏼","🤙🏽","🤙🏾","🤙🏿","🤙","🤚🏻","🤚🏼","🤚🏽","🤚🏾","🤚🏿","🤚","🤛🏻","🤛🏼","🤛🏽","🤛🏾","🤛🏿","🤛","🤜🏻","🤜🏼","🤜🏽","🤜🏾","🤜🏿","🤜","🤝","🤞🏻","🤞🏼","🤞🏽","🤞🏾","🤞🏿","🤞","🤟🏻","🤟🏼","🤟🏽","🤟🏾","🤟🏿","🤟","🤠","🤡","🤢","🤣","🤤","🤥","🤦🏻‍♀️","🤦🏻‍♂️","🤦🏻","🤦🏼‍♀️","🤦🏼‍♂️","🤦🏼","🤦🏽‍♀️","🤦🏽‍♂️","🤦🏽","🤦🏾‍♀️","🤦🏾‍♂️","🤦🏾","🤦🏿‍♀️","🤦🏿‍♂️","🤦🏿","🤦‍♀️","🤦‍♂️","🤦","🤧","🤨","🤩","🤪","🤫","🤬","🤭","🤮","🤯","🤰🏻","🤰🏼","🤰🏽","🤰🏾","🤰🏿","🤰","🤱🏻","🤱🏼","🤱🏽","🤱🏾","🤱🏿","🤱","🤲🏻","🤲🏼","🤲🏽","🤲🏾","🤲🏿","🤲","🤳🏻","🤳🏼","🤳🏽","🤳🏾","🤳🏿","🤳","🤴🏻","🤴🏼","🤴🏽","🤴🏾","🤴🏿","🤴","🤵🏻‍♀️","🤵🏻‍♂️","🤵🏻","🤵🏼‍♀️","🤵🏼‍♂️","🤵🏼","🤵🏽‍♀️","🤵🏽‍♂️","🤵🏽","🤵🏾‍♀️","🤵🏾‍♂️","🤵🏾","🤵🏿‍♀️","🤵🏿‍♂️","🤵🏿","🤵‍♀️","🤵‍♂️","🤵","🤶🏻","🤶🏼","🤶🏽","🤶🏾","🤶🏿","🤶","🤷🏻‍♀️","🤷🏻‍♂️","🤷🏻","🤷🏼‍♀️","🤷🏼‍♂️","🤷🏼","🤷🏽‍♀️","🤷🏽‍♂️","🤷🏽","🤷🏾‍♀️","🤷🏾‍♂️","🤷🏾","🤷🏿‍♀️","🤷🏿‍♂️","🤷🏿","🤷‍♀️","🤷‍♂️","🤷","🤸🏻‍♀️","🤸🏻‍♂️","🤸🏻","🤸🏼‍♀️","🤸🏼‍♂️","🤸🏼","🤸🏽‍♀️","🤸🏽‍♂️","🤸🏽","🤸🏾‍♀️","🤸🏾‍♂️","🤸🏾","🤸🏿‍♀️","🤸🏿‍♂️","🤸🏿","🤸‍♀️","🤸‍♂️","🤸","🤹🏻‍♀️","🤹🏻‍♂️","🤹🏻","🤹🏼‍♀️","🤹🏼‍♂️","🤹🏼","🤹🏽‍♀️","🤹🏽‍♂️","🤹🏽","🤹🏾‍♀️","🤹🏾‍♂️","🤹🏾","🤹🏿‍♀️","🤹🏿‍♂️","🤹🏿","🤹‍♀️","🤹‍♂️","🤹","🤺","🤼‍♀️","🤼‍♂️","🤼","🤽🏻‍♀️","🤽🏻‍♂️","🤽🏻","🤽🏼‍♀️","🤽🏼‍♂️","🤽🏼","🤽🏽‍♀️","🤽🏽‍♂️","🤽🏽","🤽🏾‍♀️","🤽🏾‍♂️","🤽🏾","🤽🏿‍♀️","🤽🏿‍♂️","🤽🏿","🤽‍♀️","🤽‍♂️","🤽","🤾🏻‍♀️","🤾🏻‍♂️","🤾🏻","🤾🏼‍♀️","🤾🏼‍♂️","🤾🏼","🤾🏽‍♀️","🤾🏽‍♂️","🤾🏽","🤾🏾‍♀️","🤾🏾‍♂️","🤾🏾","🤾🏿‍♀️","🤾🏿‍♂️","🤾🏿","🤾‍♀️","🤾‍♂️","🤾","🤿","🥀","🥁","🥂","🥃","🥄","🥅","🥇","🥈","🥉","🥊","🥋","🥌","🥍","🥎","🥏","🥐","🥑","🥒","🥓","🥔","🥕","🥖","🥗","🥘","🥙","🥚","🥛","🥜","🥝","🥞","🥟","🥠","🥡","🥢","🥣","🥤","🥥","🥦","🥧","🥨","🥩","🥪","🥫","🥬","🥭","🥮","🥯","🥰","🥱","🥳","🥴","🥵","🥶","🥺","🥻","🥼","🥽","🥾","🥿","🦀","🦁","🦂","🦃","🦄","🦅","🦆","🦇","🦈","🦉","🦊","🦋","🦌","🦍","🦎","🦏","🦐","🦑","🦒","🦓","🦔","🦕","🦖","🦗","🦘","🦙","🦚","🦛","🦜","🦝","🦞","🦟","🦠","🦡","🦢","🦥","🦦","🦧","🦨","🦩","🦪","🦮","🦯","🦰","🦱","🦲","🦳","🦴","🦵🏻","🦵🏼","🦵🏽","🦵🏾","🦵🏿","🦵","🦶🏻","🦶🏼","🦶🏽","🦶🏾","🦶🏿","🦶","🦷","🦸🏻‍♀️","🦸🏻‍♂️","🦸🏻","🦸🏼‍♀️","🦸🏼‍♂️","🦸🏼","🦸🏽‍♀️","🦸🏽‍♂️","🦸🏽","🦸🏾‍♀️","🦸🏾‍♂️","🦸🏾","🦸🏿‍♀️","🦸🏿‍♂️","🦸🏿","🦸‍♀️","🦸‍♂️","🦸","🦹🏻‍♀️","🦹🏻‍♂️","🦹🏻","🦹🏼‍♀️","🦹🏼‍♂️","🦹🏼","🦹🏽‍♀️","🦹🏽‍♂️","🦹🏽","🦹🏾‍♀️","🦹🏾‍♂️","🦹🏾","🦹🏿‍♀️","🦹🏿‍♂️","🦹🏿","🦹‍♀️","🦹‍♂️","🦹","🦺","🦻🏻","🦻🏼","🦻🏽","🦻🏾","🦻🏿","🦻","🦼","🦽","🦾","🦿","🧀","🧁","🧂","🧃","🧄","🧅","🧆","🧇","🧈","🧉","🧊","🧍🏻‍♀️","🧍🏻‍♂️","🧍🏻","🧍🏼‍♀️","🧍🏼‍♂️","🧍🏼","🧍🏽‍♀️","🧍🏽‍♂️","🧍🏽","🧍🏾‍♀️","🧍🏾‍♂️","🧍🏾","🧍🏿‍♀️","🧍🏿‍♂️","🧍🏿","🧍‍♀️","🧍‍♂️","🧍","🧎🏻‍♀️","🧎🏻‍♂️","🧎🏻","🧎🏼‍♀️","🧎🏼‍♂️","🧎🏼","🧎🏽‍♀️","🧎🏽‍♂️","🧎🏽","🧎🏾‍♀️","🧎🏾‍♂️","🧎🏾","🧎🏿‍♀️","🧎🏿‍♂️","🧎🏿","🧎‍♀️","🧎‍♂️","🧎","🧏🏻‍♀️","🧏🏻‍♂️","🧏🏻","🧏🏼‍♀️","🧏🏼‍♂️","🧏🏼","🧏🏽‍♀️","🧏🏽‍♂️","🧏🏽","🧏🏾‍♀️","🧏🏾‍♂️","🧏🏾","🧏🏿‍♀️","🧏🏿‍♂️","🧏🏿","🧏‍♀️","🧏‍♂️","🧏","🧐","🧑🏻‍🤝‍🧑🏻","🧑🏻","🧑🏼‍🤝‍🧑🏻","🧑🏼‍🤝‍🧑🏼","🧑🏼","🧑🏽‍🤝‍🧑🏻","🧑🏽‍🤝‍🧑🏼","🧑🏽‍🤝‍🧑🏽","🧑🏽","🧑🏾‍🤝‍🧑🏻","🧑🏾‍🤝‍🧑🏼","🧑🏾‍🤝‍🧑🏽","🧑🏾‍🤝‍🧑🏾","🧑🏾","🧑🏿‍🤝‍🧑🏻","🧑🏿‍🤝‍🧑🏼","🧑🏿‍🤝‍🧑🏽","🧑🏿‍🤝‍🧑🏾","🧑🏿‍🤝‍🧑🏿","🧑🏿","🧑‍🤝‍🧑","🧑","🧒🏻","🧒🏼","🧒🏽","🧒🏾","🧒🏿","🧒","🧓🏻","🧓🏼","🧓🏽","🧓🏾","🧓🏿","🧓","🧔🏻","🧔🏼","🧔🏽","🧔🏾","🧔🏿","🧔","🧕🏻","🧕🏼","🧕🏽","🧕🏾","🧕🏿","🧕","🧖🏻‍♀️","🧖🏻‍♂️","🧖🏻","🧖🏼‍♀️","🧖🏼‍♂️","🧖🏼","🧖🏽‍♀️","🧖🏽‍♂️","🧖🏽","🧖🏾‍♀️","🧖🏾‍♂️","🧖🏾","🧖🏿‍♀️","🧖🏿‍♂️","🧖🏿","🧖‍♀️","🧖‍♂️","🧖","🧗🏻‍♀️","🧗🏻‍♂️","🧗🏻","🧗🏼‍♀️","🧗🏼‍♂️","🧗🏼","🧗🏽‍♀️","🧗🏽‍♂️","🧗🏽","🧗🏾‍♀️","🧗🏾‍♂️","🧗🏾","🧗🏿‍♀️","🧗🏿‍♂️","🧗🏿","🧗‍♀️","🧗‍♂️","🧗","🧘🏻‍♀️","🧘🏻‍♂️","🧘🏻","🧘🏼‍♀️","🧘🏼‍♂️","🧘🏼","🧘🏽‍♀️","🧘🏽‍♂️","🧘🏽","🧘🏾‍♀️","🧘🏾‍♂️","🧘🏾","🧘🏿‍♀️","🧘🏿‍♂️","🧘🏿","🧘‍♀️","🧘‍♂️","🧘","🧙🏻‍♀️","🧙🏻‍♂️","🧙🏻","🧙🏼‍♀️","🧙🏼‍♂️","🧙🏼","🧙🏽‍♀️","🧙🏽‍♂️","🧙🏽","🧙🏾‍♀️","🧙🏾‍♂️","🧙🏾","🧙🏿‍♀️","🧙🏿‍♂️","🧙🏿","🧙‍♀️","🧙‍♂️","🧙","🧚🏻‍♀️","🧚🏻‍♂️","🧚🏻","🧚🏼‍♀️","🧚🏼‍♂️","🧚🏼","🧚🏽‍♀️","🧚🏽‍♂️","🧚🏽","🧚🏾‍♀️","🧚🏾‍♂️","🧚🏾","🧚🏿‍♀️","🧚🏿‍♂️","🧚🏿","🧚‍♀️","🧚‍♂️","🧚","🧛🏻‍♀️","🧛🏻‍♂️","🧛🏻","🧛🏼‍♀️","🧛🏼‍♂️","🧛🏼","🧛🏽‍♀️","🧛🏽‍♂️","🧛🏽","🧛🏾‍♀️","🧛🏾‍♂️","🧛🏾","🧛🏿‍♀️","🧛🏿‍♂️","🧛🏿","🧛‍♀️","🧛‍♂️","🧛","🧜🏻‍♀️","🧜🏻‍♂️","🧜🏻","🧜🏼‍♀️","🧜🏼‍♂️","🧜🏼","🧜🏽‍♀️","🧜🏽‍♂️","🧜🏽","🧜🏾‍♀️","🧜🏾‍♂️","🧜🏾","🧜🏿‍♀️","🧜🏿‍♂️","🧜🏿","🧜‍♀️","🧜‍♂️","🧜","🧝🏻‍♀️","🧝🏻‍♂️","🧝🏻","🧝🏼‍♀️","🧝🏼‍♂️","🧝🏼","🧝🏽‍♀️","🧝🏽‍♂️","🧝🏽","🧝🏾‍♀️","🧝🏾‍♂️","🧝🏾","🧝🏿‍♀️","🧝🏿‍♂️","🧝🏿","🧝‍♀️","🧝‍♂️","🧝","🧞‍♀️","🧞‍♂️","🧞","🧟‍♀️","🧟‍♂️","🧟","🧠","🧡","🧢","🧣","🧤","🧥","🧦","🧧","🧨","🧩","🧪","🧫","🧬","🧭","🧮","🧯","🧰","🧱","🧲","🧳","🧴","🧵","🧶","🧷","🧸","🧹","🧺","🧻","🧼","🧽","🧾","🧿","🩰","🩱","🩲","🩳","🩸","🩹","🩺","🪀","🪁","🪂","🪐","🪑","🪒","🪓","🪔","🪕","‼️","⁉️","™️","ℹ️","↔️","↕️","↖️","↗️","↘️","↙️","↩️","↪️","#⃣","⌚️","⌛️","⌨️","⏏️","⏩","⏪","⏫","⏬","⏭️","⏮️","⏯️","⏰","⏱️","⏲️","⏳","⏸️","⏹️","⏺️","Ⓜ️","▪️","▫️","▶️","◀️","◻️","◼️","◽️","◾️","☀️","☁️","☂️","☃️","☄️","☎️","☑️","☔️","☕️","☘️","☝🏻","☝🏼","☝🏽","☝🏾","☝🏿","☝️","☠️","☢️","☣️","☦️","☪️","☮️","☯️","☸️","☹️","☺️","♀️","♂️","♈️","♉️","♊️","♋️","♌️","♍️","♎️","♏️","♐️","♑️","♒️","♓️","♟️","♠️","♣️","♥️","♦️","♨️","♻️","♾","♿️","⚒️","⚓️","⚔️","⚕️","⚖️","⚗️","⚙️","⚛️","⚜️","⚠️","⚡️","⚪️","⚫️","⚰️","⚱️","⚽️","⚾️","⛄️","⛅️","⛈️","⛎","⛏️","⛑️","⛓️","⛔️","⛩️","⛪️","⛰️","⛱️","⛲️","⛳️","⛴️","⛵️","⛷🏻","⛷🏼","⛷🏽","⛷🏾","⛷🏿","⛷️","⛸️","⛹🏻‍♀️","⛹🏻‍♂️","⛹🏻","⛹🏼‍♀️","⛹🏼‍♂️","⛹🏼","⛹🏽‍♀️","⛹🏽‍♂️","⛹🏽","⛹🏾‍♀️","⛹🏾‍♂️","⛹🏾","⛹🏿‍♀️","⛹🏿‍♂️","⛹🏿","⛹️‍♀️","⛹️‍♂️","⛹️","⛺️","⛽️","✂️","✅","✈️","✉️","✊🏻","✊🏼","✊🏽","✊🏾","✊🏿","✊","✋🏻","✋🏼","✋🏽","✋🏾","✋🏿","✋","✌🏻","✌🏼","✌🏽","✌🏾","✌🏿","✌️","✍🏻","✍🏼","✍🏽","✍🏾","✍🏿","✍️","✏️","✒️","✔️","✖️","✝️","✡️","✨","✳️","✴️","❄️","❇️","❌","❎","❓","❔","❕","❗️","❣️","❤️","➕","➖","➗","➡️","➰","➿","⤴️","⤵️","*⃣","⬅️","⬆️","⬇️","⬛️","⬜️","⭐️","⭕️","0⃣","〰️","〽️","1⃣","2⃣","㊗️","㊙️","3⃣","4⃣","5⃣","6⃣","7⃣","8⃣","9⃣","©️","®️",""]},752:e=>{"use strict";function getCurrentRequest(e){if(e.currentRequest){return e.currentRequest}const t=e.loaders.slice(e.loaderIndex).map((e=>e.request)).concat([e.resource]);return t.join("!")}e.exports=getCurrentRequest},766:(e,t,r)=>{"use strict";const i={26:"abcdefghijklmnopqrstuvwxyz",32:"123456789abcdefghjkmnpqrstuvwxyz",36:"0123456789abcdefghijklmnopqrstuvwxyz",49:"abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",52:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",62:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"};function encodeBufferToBase(e,t){const s=i[t];if(!s){throw new Error("Unknown encoding base"+t)}const n=e.length;const o=r(134);o.RM=o.DP=0;let A=new o(0);for(let t=n-1;t>=0;t--){A=A.times(256).plus(e[t])}let c="";while(A.gt(0)){c=s[A.mod(t)]+c;A=A.div(t)}o.DP=20;o.RM=1;return c}let s=undefined;let n=undefined;function getHashDigest(e,t,i,o){t=t||"md4";o=o||9999;let A;try{A=r(113).createHash(t)}catch(e){if(e.code==="ERR_OSSL_EVP_UNSUPPORTED"&&t==="md4"){if(s===undefined){s=r(289);if(n===undefined){n=r(250)}}A=new n(s())}if(!A){throw e}}A.update(e);if(i==="base26"||i==="base32"||i==="base36"||i==="base49"||i==="base52"||i==="base58"||i==="base62"){return encodeBufferToBase(A.digest(),i.substr(4)).substr(0,o)}else{return A.digest(i||"hex").substr(0,o)}}e.exports=getHashDigest},951:(e,t,r)=>{"use strict";const i=r(849);function getOptions(e){const t=e.query;if(typeof t==="string"&&t!==""){return i(e.query)}if(!t||typeof t!=="object"){return{}}return t}e.exports=getOptions},187:e=>{"use strict";function getRemainingRequest(e){if(e.remainingRequest){return e.remainingRequest}const t=e.loaders.slice(e.loaderIndex+1).map((e=>e.request)).concat([e.resource]);return t.join("!")}e.exports=getRemainingRequest},250:(e,t,r)=>{const i=r(599).MAX_SHORT_STRING;class BatchedHash{constructor(e){this.string=undefined;this.encoding=undefined;this.hash=e}update(e,t){if(this.string!==undefined){if(typeof e==="string"&&t===this.encoding&&this.string.length+e.length{"use strict";const i=r(599);const s=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqFEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvMCgEYfyMBIQojAiEGIwMhByMEIQgDQCAAIAVLBEAgBSgCCCINIAcgBiAFKAIEIgsgCCAHIAUoAgAiDCAKIAggBiAHIAhzcXNqakEDdyIDIAYgB3Nxc2pqQQd3IgEgAyAGc3FzampBC3chAiAFKAIUIg8gASACIAUoAhAiCSADIAEgBSgCDCIOIAYgAyACIAEgA3Nxc2pqQRN3IgQgASACc3FzampBA3ciAyACIARzcXNqakEHdyEBIAUoAiAiEiADIAEgBSgCHCIRIAQgAyAFKAIYIhAgAiAEIAEgAyAEc3FzampBC3ciAiABIANzcXNqakETdyIEIAEgAnNxc2pqQQN3IQMgBSgCLCIVIAQgAyAFKAIoIhQgAiAEIAUoAiQiEyABIAIgAyACIARzcXNqakEHdyIBIAMgBHNxc2pqQQt3IgIgASADc3FzampBE3chBCAPIBAgCSAVIBQgEyAFKAI4IhYgAiAEIAUoAjQiFyABIAIgBSgCMCIYIAMgASAEIAEgAnNxc2pqQQN3IgEgAiAEc3FzampBB3ciAiABIARzcXNqakELdyIDIAkgAiAMIAEgBSgCPCIJIAQgASADIAEgAnNxc2pqQRN3IgEgAiADcnEgAiADcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyaiASakGZ84nUBWpBCXciAyAPIAQgCyACIBggASADIAIgBHJxIAIgBHFyampBmfOJ1AVqQQ13IgEgAyAEcnEgAyAEcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyampBmfOJ1AVqQQl3IgMgECAEIAIgFyABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmogDWpBmfOJ1AVqQQN3IgIgASADcnEgASADcXJqakGZ84nUBWpBBXciBCABIAJycSABIAJxcmpqQZnzidQFakEJdyIDIBEgBCAOIAIgFiABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmpqQZnzidQFakEDdyICIAEgA3JxIAEgA3FyampBmfOJ1AVqQQV3IgQgASACcnEgASACcXJqakGZ84nUBWpBCXciAyAMIAIgAyAJIAEgAyACIARycSACIARxcmpqQZnzidQFakENdyIBcyAEc2pqQaHX5/YGakEDdyICIAQgASACcyADc2ogEmpBodfn9gZqQQl3IgRzIAFzampBodfn9gZqQQt3IgMgAiADIBggASADIARzIAJzampBodfn9gZqQQ93IgFzIARzaiANakGh1+f2BmpBA3ciAiAUIAQgASACcyADc2pqQaHX5/YGakEJdyIEcyABc2pqQaHX5/YGakELdyIDIAsgAiADIBYgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgIgEyAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3chAyAKIA4gAiADIBcgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgJqIQogBiAJIAEgESADIAIgFSAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3ciAyAEcyACc2pqQaHX5/YGakEPd2ohBiADIAdqIQcgBCAIaiEIIAVBQGshBQwBCwsgCiQBIAYkAiAHJAMgCCQECw0AIAAQASMAIABqJAAL/wQCA38BfiMAIABqrUIDhiEEIABByABqQUBxIgJBCGshAyAAIgFBAWohACABQYABOgAAA0AgACACSUEAIABBB3EbBEAgAEEAOgAAIABBAWohAAwBCwsDQCAAIAJJBEAgAEIANwMAIABBCGohAAwBCwsgAyAENwMAIAIQAUEAIwGtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEIIwKtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEQIwOtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEYIwStIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAAs=","base64"));e.exports=i.bind(null,s,[],64,32)},599:e=>{"use strict";const t=Math.floor((65536-64)/4)&~3;class WasmHash{constructor(e,t,r,i){const s=e.exports;s.init();this.exports=s;this.mem=Buffer.from(s.memory.buffer,0,65536);this.buffered=0;this.instancesPool=t;this.chunkSize=r;this.digestSize=i}reset(){this.buffered=0;this.exports.init()}update(e,r){if(typeof e==="string"){while(e.length>t){this._updateWithShortString(e.slice(0,t),r);e=e.slice(t)}this._updateWithShortString(e,r);return this}this._updateWithBuffer(e);return this}_updateWithShortString(e,t){const{exports:r,buffered:i,mem:s,chunkSize:n}=this;let o;if(e.length<70){if(!t||t==="utf-8"||t==="utf8"){o=i;for(let r=0;r>6|192;s[o+1]=i&63|128;o+=2}else{o+=s.write(e.slice(r),o,t);break}}}else if(t==="latin1"){o=i;for(let t=0;t0){s.copyWithin(0,e,o)}}}_updateWithBuffer(e){const{exports:t,buffered:r,mem:i}=this;const s=e.length;if(r+s65536){let s=65536-r;e.copy(i,r,0,s);t.update(65536);const o=n-r-65536;while(s0){e.copy(i,0,s-o,s)}}}digest(e){const{exports:t,buffered:r,mem:i,digestSize:s}=this;t.final(r);this.instancesPool.push(this);const n=i.toString("latin1",0,s);if(e==="hex"){return n}if(e==="binary"||!e){return Buffer.from(n,"hex")}return Buffer.from(n,"hex").toString(e)}}const create=(e,t,r,i)=>{if(t.length>0){const e=t.pop();e.reset();return e}else{return new WasmHash(new WebAssembly.Instance(e),t,r,i)}};e.exports=create;e.exports.MAX_SHORT_STRING=t},589:(e,t,r)=>{"use strict";const i=r(17);const s=r(876);const n=r(766);const o=/[\uD800-\uDFFF]./;const A=s.filter((e=>o.test(e)));const c={};function encodeStringToEmoji(e,t){if(c[e]){return c[e]}t=t||1;const r=[];do{if(!A.length){throw new Error("Ran out of emoji")}const e=Math.floor(Math.random()*A.length);r.push(A[e]);A.splice(e,1)}while(--t>0);const i=r.join("");c[e]=i;return i}function interpolateName(e,t,r){let s;const o=e.resourceQuery&&e.resourceQuery.length>1;if(typeof t==="function"){s=t(e.resourcePath,o?e.resourceQuery:undefined)}else{s=t||"[hash].[ext]"}const A=r.context;const c=r.content;const u=r.regExp;let f="bin";let g="file";let a="";let h="";let l="";if(e.resourcePath){const t=i.parse(e.resourcePath);let r=e.resourcePath;if(t.ext){f=t.ext.substr(1)}if(t.dir){g=t.name;r=t.dir+i.sep}if(typeof A!=="undefined"){a=i.relative(A,r+"_").replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1");a=a.substr(0,a.length-1)}else{a=r.replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1")}if(a.length===1){a=""}else if(a.length>1){h=i.basename(a)}}if(e.resourceQuery&&e.resourceQuery.length>1){l=e.resourceQuery;const t=l.indexOf("#");if(t>=0){l=l.substr(0,t)}}let p=s;if(c){p=p.replace(/\[(?:([^[:\]]+):)?(?:hash|contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,((e,t,r,i)=>n(c,t,r,parseInt(i,10)))).replace(/\[emoji(?::(\d+))?\]/gi,((e,t)=>encodeStringToEmoji(c,parseInt(t,10))))}p=p.replace(/\[ext\]/gi,(()=>f)).replace(/\[name\]/gi,(()=>g)).replace(/\[path\]/gi,(()=>a)).replace(/\[folder\]/gi,(()=>h)).replace(/\[query\]/gi,(()=>l));if(u&&e.resourcePath){const t=e.resourcePath.match(new RegExp(u));t&&t.forEach(((e,t)=>{p=p.replace(new RegExp("\\["+t+"\\]","ig"),e)}))}if(typeof e.options==="object"&&typeof e.options.customInterpolateName==="function"){p=e.options.customInterpolateName.call(e,p,t,r)}return p}e.exports=interpolateName},959:(e,t,r)=>{"use strict";const i=r(17);function isUrlRequest(e,t){if(/^[a-z][a-z0-9+.-]*:/i.test(e)&&!i.win32.isAbsolute(e)){return false}if(/^\/\//.test(e)){return false}if(/^[{}[\]#*;,'§$%&(=?`´^°<>]/.test(e)){return false}if((t===undefined||t===false)&&/^\//.test(e)){return false}return true}e.exports=isUrlRequest},849:(e,t,r)=>{"use strict";const i=r(26);const s={null:null,true:true,false:false};function parseQuery(e){if(e.substr(0,1)!=="?"){throw new Error("A valid query string passed to parseQuery should begin with '?'")}e=e.substr(1);if(!e){return{}}if(e.substr(0,1)==="{"&&e.substr(-1)==="}"){return i.parse(e)}const t=e.split(/[,&]/g);const r=Object.create(null);t.forEach((e=>{const t=e.indexOf("=");if(t>=0){let i=e.substr(0,t);let n=decodeURIComponent(e.substr(t+1));if(s.hasOwnProperty(n)){n=s[n]}if(i.substr(-2)==="[]"){i=decodeURIComponent(i.substr(0,i.length-2));if(!Array.isArray(r[i])){r[i]=[]}r[i].push(n)}else{i=decodeURIComponent(i);r[i]=n}}else{if(e.substr(0,1)==="-"){r[decodeURIComponent(e.substr(1))]=false}else if(e.substr(0,1)==="+"){r[decodeURIComponent(e.substr(1))]=true}else{r[decodeURIComponent(e)]=true}}}));return r}e.exports=parseQuery},10:e=>{"use strict";function parseString(e){try{if(e[0]==='"'){return JSON.parse(e)}if(e[0]==="'"&&e.substr(e.length-1)==="'"){return parseString(e.replace(/\\.|"/g,(e=>e==='"'?'\\"':e)).replace(/^'|'$/g,'"'))}return JSON.parse('"'+e+'"')}catch(t){return e}}e.exports=parseString},488:(e,t,r)=>{"use strict";const i=r(17);const s=/^\.\.?[/\\]/;function isAbsolutePath(e){return i.posix.isAbsolute(e)||i.win32.isAbsolute(e)}function isRelativePath(e){return s.test(e)}function stringifyRequest(e,t){const r=t.split("!");const s=e.context||e.options&&e.options.context;return JSON.stringify(r.map((e=>{const t=e.match(/^(.*?)(\?.*)/);const r=t?t[2]:"";let n=t?t[1]:e;if(isAbsolutePath(n)&&s){n=i.relative(s,n);if(isAbsolutePath(n)){return n+r}if(isRelativePath(n)===false){n="./"+n}}return n.replace(/\\/g,"/")+r})).join("!"))}e.exports=stringifyRequest},620:e=>{"use strict";const t=/^[A-Z]:[/\\]|^\\\\/i;function urlToRequest(e,r){if(e===""){return""}const i=/^[^?]*~/;let s;if(t.test(e)){s=e}else if(r!==undefined&&r!==false&&/^\//.test(e)){switch(typeof r){case"string":if(i.test(r)){s=r.replace(/([^~/])$/,"$1/")+e.slice(1)}else{s=r+e}break;case"boolean":s=e;break;default:throw new Error("Unexpected parameters to loader-utils 'urlToRequest': url = "+e+", root = "+r+".")}}else if(/^\.\.?\//.test(e)){s=e}else{s="./"+e}if(i.test(s)){s=s.replace(i,"")}return s}e.exports=urlToRequest},26:e=>{"use strict";e.exports=require("@modern-js/utils/json5")},113:e=>{"use strict";e.exports=require("crypto")},17:e=>{"use strict";e.exports=require("path")}};var t={};function __nccwpck_require__(r){var i=t[r];if(i!==undefined){return i.exports}var s=t[r]={exports:{}};var n=true;try{e[r].call(s.exports,s,s.exports,__nccwpck_require__);n=false}finally{if(n)delete t[r]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r={};(()=>{"use strict";var e=r;const t=__nccwpck_require__(951);const i=__nccwpck_require__(849);const s=__nccwpck_require__(488);const n=__nccwpck_require__(187);const o=__nccwpck_require__(752);const A=__nccwpck_require__(959);const c=__nccwpck_require__(620);const u=__nccwpck_require__(10);const f=__nccwpck_require__(766);const g=__nccwpck_require__(589);e.getOptions=t;e.parseQuery=i;e.stringifyRequest=s;e.getRemainingRequest=n;e.getCurrentRequest=o;e.isUrlRequest=A;e.urlToRequest=c;e.parseString=u;e.getHashDigest=f;e.interpolateName=g})();module.exports=r})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/loader-utils2/license b/packages/builder/builder-shared/compiled/loader-utils2/license deleted file mode 100644 index 8c11fc7289b7..000000000000 --- a/packages/builder/builder-shared/compiled/loader-utils2/license +++ /dev/null @@ -1,20 +0,0 @@ -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/loader-utils2/package.json b/packages/builder/builder-shared/compiled/loader-utils2/package.json deleted file mode 100644 index 24a431a471cb..000000000000 --- a/packages/builder/builder-shared/compiled/loader-utils2/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"loader-utils2","author":"Tobias Koppers @sokra","version":"2.0.4","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/node-loader/index.d.ts b/packages/builder/builder-shared/compiled/node-loader/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/node-loader/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/node-loader/index.js b/packages/builder/builder-shared/compiled/node-loader/index.js deleted file mode 100644 index f0cc90270b59..000000000000 --- a/packages/builder/builder-shared/compiled/node-loader/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e={131:(e,r,t)=>{const n=t(577);e.exports=n.default;e.exports.raw=n.raw},577:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=loader;r.raw=void 0;var n=t(300);var o=_interopRequireDefault(t(784));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function loader(e){const r=this.getOptions(o.default);const t=(0,n.interpolateName)(this,typeof r.name!=="undefined"?r.name:"[contenthash].[ext]",{context:this.rootContext,content:e});this.emitFile(t,e);return`\ntry {\n process.dlopen(module, __dirname + require("path").sep + __webpack_public_path__ + ${JSON.stringify(t)}${typeof r.flags!=="undefined"?`, ${JSON.stringify(r.flags)}`:""});\n} catch (error) {\n throw new Error('node-loader:\\n' + error);\n}\n`}const a=true;r.raw=a},300:e=>{e.exports=require("../loader-utils2")},784:e=>{e.exports=JSON.parse('{"title":"Node Loader options","type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"instanceof":"Function"}]},"flags":{"type":"integer"}},"additionalProperties":false}')}};var r={};function __nccwpck_require__(t){var n=r[t];if(n!==undefined){return n.exports}var o=r[t]={exports:{}};var a=true;try{e[t](o,o.exports,__nccwpck_require__);a=false}finally{if(a)delete r[t]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(131);module.exports=t})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/node-loader/license b/packages/builder/builder-shared/compiled/node-loader/license deleted file mode 100644 index 8c11fc7289b7..000000000000 --- a/packages/builder/builder-shared/compiled/node-loader/license +++ /dev/null @@ -1,20 +0,0 @@ -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/node-loader/package.json b/packages/builder/builder-shared/compiled/node-loader/package.json deleted file mode 100644 index 406197380e94..000000000000 --- a/packages/builder/builder-shared/compiled/node-loader/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"node-loader","author":"Tobias Koppers @sokra","version":"2.0.0","funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/open/index.d.ts b/packages/builder/builder-shared/compiled/open/index.d.ts deleted file mode 100644 index 0b0019e02668..000000000000 --- a/packages/builder/builder-shared/compiled/open/index.d.ts +++ /dev/null @@ -1,153 +0,0 @@ -import {ChildProcess} from 'child_process'; - -declare namespace open { - interface Options { - /** - Wait for the opened app to exit before fulfilling the promise. If `false` it's fulfilled immediately when opening the app. - - Note that it waits for the app to exit, not just for the window to close. - - On Windows, you have to explicitly specify an app for it to be able to wait. - - @default false - */ - readonly wait?: boolean; - - /** - __macOS only__ - - Do not bring the app to the foreground. - - @default false - */ - readonly background?: boolean; - - /** - __macOS only__ - - Open a new instance of the app even it's already running. - - A new instance is always opened on other platforms. - - @default false - */ - readonly newInstance?: boolean; - - /** - Specify the `name` of the app to open the `target` with, and optionally, app `arguments`. `app` can be an array of apps to try to open and `name` can be an array of app names to try. If each app fails, the last error will be thrown. - - The app name is platform dependent. Don't hard code it in reusable modules. For example, Chrome is `google chrome` on macOS, `google-chrome` on Linux and `chrome` on Windows. If possible, use [`open.apps`](#openapps) which auto-detects the correct binary to use. - - You may also pass in the app's full path. For example on WSL, this can be `/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe` for the Windows installation of Chrome. - - The app `arguments` are app dependent. Check the app's documentation for what arguments it accepts. - */ - readonly app?: App | readonly App[]; - - /** - Allow the opened app to exit with nonzero exit code when the `wait` option is `true`. - - We do not recommend setting this option. The convention for success is exit code zero. - - @default false - */ - readonly allowNonzeroExitCode?: boolean; - } - - interface OpenAppOptions extends Omit { - /** - Arguments passed to the app. - - These arguments are app dependent. Check the app's documentation for what arguments it accepts. - */ - readonly arguments?: readonly string[]; - } - - type AppName = - | 'chrome' - | 'firefox' - | 'edge'; - - type App = { - name: string | readonly string[]; - arguments?: readonly string[]; - }; -} - -// eslint-disable-next-line no-redeclare -declare const open: { - /** - Open stuff like URLs, files, executables. Cross-platform. - - Uses the command `open` on macOS, `start` on Windows and `xdg-open` on other platforms. - - There is a caveat for [double-quotes on Windows](https://github.com/sindresorhus/open#double-quotes-on-windows) where all double-quotes are stripped from the `target`. - - @param target - The thing you want to open. Can be a URL, file, or executable. Opens in the default app for the file type. For example, URLs open in your default browser. - @returns The [spawned child process](https://nodejs.org/api/child_process.html#child_process_class_childprocess). You would normally not need to use this for anything, but it can be useful if you'd like to attach custom event listeners or perform other operations directly on the spawned process. - - @example - ``` - import open = require('./open'); - - // Opens the image in the default image viewer - await open('unicorn.png', {wait: true}); - console.log('The image viewer app closed'); - - // Opens the url in the default browser - await open('https://sindresorhus.com'); - - // Opens the URL in a specified browser. - await open('https://sindresorhus.com', {app: {name: 'firefox'}}); - - // Specify app arguments. - await open('https://sindresorhus.com', {app: {name: 'google chrome', arguments: ['--incognito']}}); - ``` - */ - ( - target: string, - options?: open.Options - ): Promise; - - /** - An object containing auto-detected binary names for common apps. Useful to work around cross-platform differences. - - @example - ``` - import open = require('./open'); - - await open('https://google.com', { - app: { - name: open.apps.chrome - } - }); - ``` - */ - apps: Record; - - /** - Open an app. Cross-platform. - - Uses the command `open` on macOS, `start` on Windows and `xdg-open` on other platforms. - - @param name - The app you want to open. Can be either builtin supported `open.apps` names or other name supported in platform. - @returns The [spawned child process](https://nodejs.org/api/child_process.html#child_process_class_childprocess). You would normally not need to use this for anything, but it can be useful if you'd like to attach custom event listeners or perform other operations directly on the spawned process. - - @example - ``` - const {apps, openApp} = require('open'); - - // Open Firefox - await openApp(apps.firefox); - - // Open Chrome incognito mode - await openApp(apps.chrome, {arguments: ['--incognito']}); - - // Open Xcode - await openApp('xcode'); - ``` - */ - openApp: (name: open.App['name'], options?: open.OpenAppOptions) => Promise; -}; - -export = open; diff --git a/packages/builder/builder-shared/compiled/open/index.js b/packages/builder/builder-shared/compiled/open/index.js deleted file mode 100644 index 6e84ad2fd29f..000000000000 --- a/packages/builder/builder-shared/compiled/open/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={34:e=>{"use strict";e.exports=(e,r,t)=>{const define=t=>Object.defineProperty(e,r,{value:t,enumerable:true,writable:true});Object.defineProperty(e,r,{configurable:true,enumerable:true,get(){const e=t();define(e);return e},set(e){define(e)}});return e}},148:(e,r,t)=>{"use strict";const o=t(147);let n;function hasDockerEnv(){try{o.statSync("/.dockerenv");return true}catch(e){return false}}function hasDockerCGroup(){try{return o.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch(e){return false}}e.exports=()=>{if(n===undefined){n=hasDockerEnv()||hasDockerCGroup()}return n}},272:(e,r,t)=>{"use strict";const o=t(37);const n=t(147);const s=t(148);const isWsl=()=>{if(process.platform!=="linux"){return false}if(o.release().toLowerCase().includes("microsoft")){if(s()){return false}return true}try{return n.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!s():false}catch(e){return false}};if(process.env.__IS_WSL_TEST__){e.exports=isWsl}else{e.exports=isWsl()}},537:(e,r,t)=>{const o=t(17);const n=t(81);const{promises:s,constants:i}=t(147);const a=t(272);const c=t(148);const u=t(34);const f=t.ab+"xdg-open";const{platform:p,arch:l}=process;const d=(()=>{const e="/mnt/";let r;return async function(){if(r){return r}const t="/etc/wsl.conf";let o=false;try{await s.access(t,i.F_OK);o=true}catch{}if(!o){return e}const n=await s.readFile(t,{encoding:"utf8"});const a=/(?.*)/g.exec(n);if(!a){return e}r=a.groups.mountPoint.trim();r=r.endsWith("/")?r:`${r}/`;return r}})();const pTryEach=async(e,r)=>{let t;for(const o of e){try{return await r(o)}catch(e){t=e}}throw t};const baseOpen=async e=>{e={wait:false,background:false,newInstance:false,allowNonzeroExitCode:false,...e};if(Array.isArray(e.app)){return pTryEach(e.app,(r=>baseOpen({...e,app:r})))}let{name:r,arguments:o=[]}=e.app||{};o=[...o];if(Array.isArray(r)){return pTryEach(r,(r=>baseOpen({...e,app:{name:r,arguments:o}})))}let u;const l=[];const m={};if(p==="darwin"){u="open";if(e.wait){l.push("--wait-apps")}if(e.background){l.push("--background")}if(e.newInstance){l.push("--new")}if(r){l.push("-a",r)}}else if(p==="win32"||a&&!c()){const t=await d();u=a?`${t}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`:`${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`;l.push("-NoProfile","-NonInteractive","–ExecutionPolicy","Bypass","-EncodedCommand");if(!a){m.windowsVerbatimArguments=true}const n=["Start"];if(e.wait){n.push("-Wait")}if(r){n.push(`"\`"${r}\`""`,"-ArgumentList");if(e.target){o.unshift(e.target)}}else if(e.target){n.push(`"${e.target}"`)}if(o.length>0){o=o.map((e=>`"\`"${e}\`""`));n.push(o.join(","))}e.target=Buffer.from(n.join(" "),"utf16le").toString("base64")}else{if(r){u=r}else{const e=!__dirname||__dirname==="/";let r=false;try{await s.access(t.ab+"xdg-open",i.X_OK);r=true}catch{}const o=process.versions.electron||p==="android"||e||!r;u=o?"xdg-open":f}if(o.length>0){l.push(...o)}if(!e.wait){m.stdio="ignore";m.detached=true}}if(e.target){l.push(e.target)}if(p==="darwin"&&o.length>0){l.push("--args",...o)}const w=n.spawn(u,l,m);if(e.wait){return new Promise(((r,t)=>{w.once("error",t);w.once("close",(o=>{if(e.allowNonzeroExitCode&&o>0){t(new Error(`Exited with code ${o}`));return}r(w)}))}))}w.unref();return w};const open=(e,r)=>{if(typeof e!=="string"){throw new TypeError("Expected a `target`")}return baseOpen({...r,target:e})};const openApp=(e,r)=>{if(typeof e!=="string"){throw new TypeError("Expected a `name`")}const{arguments:t=[]}=r||{};if(t!==undefined&&t!==null&&!Array.isArray(t)){throw new TypeError("Expected `appArguments` as Array type")}return baseOpen({...r,app:{name:e,arguments:t}})};function detectArchBinary(e){if(typeof e==="string"||Array.isArray(e)){return e}const{[l]:r}=e;if(!r){throw new Error(`${l} is not supported`)}return r}function detectPlatformBinary({[p]:e},{wsl:r}){if(r&&a){return detectArchBinary(r)}if(!e){throw new Error(`${p} is not supported`)}return detectArchBinary(e)}const m={};u(m,"chrome",(()=>detectPlatformBinary({darwin:"google chrome",win32:"chrome",linux:["google-chrome","google-chrome-stable","chromium"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",x64:["/mnt/c/Program Files/Google/Chrome/Application/chrome.exe","/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe"]}})));u(m,"firefox",(()=>detectPlatformBinary({darwin:"firefox",win32:"C:\\Program Files\\Mozilla Firefox\\firefox.exe",linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"})));u(m,"edge",(()=>detectPlatformBinary({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"})));open.apps=m;open.openApp=openApp;e.exports=open},81:e=>{"use strict";e.exports=require("child_process")},147:e=>{"use strict";e.exports=require("fs")},37:e=>{"use strict";e.exports=require("os")},17:e=>{"use strict";e.exports=require("path")}};var r={};function __nccwpck_require__(t){var o=r[t];if(o!==undefined){return o.exports}var n=r[t]={exports:{}};var s=true;try{e[t](n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete r[t]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(537);module.exports=t})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/open/license b/packages/builder/builder-shared/compiled/open/license deleted file mode 100644 index fa7ceba3eb4a..000000000000 --- a/packages/builder/builder-shared/compiled/open/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/open/package.json b/packages/builder/builder-shared/compiled/open/package.json deleted file mode 100644 index dda5bc03bd0e..000000000000 --- a/packages/builder/builder-shared/compiled/open/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"open","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"version":"8.4.0","funding":"https://github.com/sponsors/sindresorhus","license":"MIT"} diff --git a/packages/builder/builder-shared/compiled/open/xdg-open b/packages/builder/builder-shared/compiled/open/xdg-open deleted file mode 100644 index b392fbff415a..000000000000 --- a/packages/builder/builder-shared/compiled/open/xdg-open +++ /dev/null @@ -1,1066 +0,0 @@ -#!/bin/sh -#--------------------------------------------- -# xdg-open -# -# Utility script to open a URL in the registered default application. -# -# Refer to the usage() function below for usage. -# -# Copyright 2009-2010, Fathi Boudra -# Copyright 2009-2010, Rex Dieter -# Copyright 2006, Kevin Krammer -# Copyright 2006, Jeremy White -# -# LICENSE: -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included -# in all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR -# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -# OTHER DEALINGS IN THE SOFTWARE. -# -#--------------------------------------------- - -manualpage() -{ -cat << _MANUALPAGE -Name - - xdg-open -- opens a file or URL in the user's preferred - application - -Synopsis - - xdg-open { file | URL } - - xdg-open { --help | --manual | --version } - -Description - - xdg-open opens a file or URL in the user's preferred - application. If a URL is provided the URL will be opened in the - user's preferred web browser. If a file is provided the file - will be opened in the preferred application for files of that - type. xdg-open supports file, ftp, http and https URLs. - - xdg-open is for use inside a desktop session only. It is not - recommended to use xdg-open as root. - -Options - - --help - Show command synopsis. - - --manual - Show this manual page. - - --version - Show the xdg-utils version information. - -Exit Codes - - An exit code of 0 indicates success while a non-zero exit code - indicates failure. The following failure codes can be returned: - - 1 - Error in command line syntax. - - 2 - One of the files passed on the command line did not - exist. - - 3 - A required tool could not be found. - - 4 - The action failed. - -See Also - - xdg-mime(1), xdg-settings(1), MIME applications associations - specification - -Examples - -xdg-open 'http://www.freedesktop.org/' - - Opens the freedesktop.org website in the user's default - browser. - -xdg-open /tmp/foobar.png - - Opens the PNG image file /tmp/foobar.png in the user's default - image viewing application. -_MANUALPAGE -} - -usage() -{ -cat << _USAGE - xdg-open -- opens a file or URL in the user's preferred - application - -Synopsis - - xdg-open { file | URL } - - xdg-open { --help | --manual | --version } - -_USAGE -} - -#@xdg-utils-common@ - -#---------------------------------------------------------------------------- -# Common utility functions included in all XDG wrapper scripts -#---------------------------------------------------------------------------- - -DEBUG() -{ - [ -z "${XDG_UTILS_DEBUG_LEVEL}" ] && return 0; - [ ${XDG_UTILS_DEBUG_LEVEL} -lt $1 ] && return 0; - shift - echo "$@" >&2 -} - -# This handles backslashes but not quote marks. -first_word() -{ - read first rest - echo "$first" -} - -#------------------------------------------------------------- -# map a binary to a .desktop file -binary_to_desktop_file() -{ - search="${XDG_DATA_HOME:-$HOME/.local/share}:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" - binary="`which "$1"`" - binary="`readlink -f "$binary"`" - base="`basename "$binary"`" - IFS=: - for dir in $search; do - unset IFS - [ "$dir" ] || continue - [ -d "$dir/applications" ] || [ -d "$dir/applnk" ] || continue - for file in "$dir"/applications/*.desktop "$dir"/applications/*/*.desktop "$dir"/applnk/*.desktop "$dir"/applnk/*/*.desktop; do - [ -r "$file" ] || continue - # Check to make sure it's worth the processing. - grep -q "^Exec.*$base" "$file" || continue - # Make sure it's a visible desktop file (e.g. not "preferred-web-browser.desktop"). - grep -Eq "^(NoDisplay|Hidden)=true" "$file" && continue - command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | first_word`" - command="`which "$command"`" - if [ x"`readlink -f "$command"`" = x"$binary" ]; then - # Fix any double slashes that got added path composition - echo "$file" | sed -e 's,//*,/,g' - return - fi - done - done -} - -#------------------------------------------------------------- -# map a .desktop file to a binary -desktop_file_to_binary() -{ - search="${XDG_DATA_HOME:-$HOME/.local/share}:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" - desktop="`basename "$1"`" - IFS=: - for dir in $search; do - unset IFS - [ "$dir" ] && [ -d "$dir/applications" ] || [ -d "$dir/applnk" ] || continue - # Check if desktop file contains - - if [ "${desktop#*-}" != "$desktop" ]; then - vendor=${desktop%-*} - app=${desktop#*-} - if [ -r $dir/applications/$vendor/$app ]; then - file_path=$dir/applications/$vendor/$app - elif [ -r $dir/applnk/$vendor/$app ]; then - file_path=$dir/applnk/$vendor/$app - fi - fi - if test -z "$file_path" ; then - for indir in "$dir"/applications/ "$dir"/applications/*/ "$dir"/applnk/ "$dir"/applnk/*/; do - file="$indir/$desktop" - if [ -r "$file" ]; then - file_path=$file - break - fi - done - fi - if [ -r "$file_path" ]; then - # Remove any arguments (%F, %f, %U, %u, etc.). - command="`grep -E "^Exec(\[[^]=]*])?=" "$file_path" | cut -d= -f 2- | first_word`" - command="`which "$command"`" - readlink -f "$command" - return - fi - done -} - -#------------------------------------------------------------- -# Exit script on successfully completing the desired operation - -exit_success() -{ - if [ $# -gt 0 ]; then - echo "$@" - echo - fi - - exit 0 -} - - -#----------------------------------------- -# Exit script on malformed arguments, not enough arguments -# or missing required option. -# prints usage information - -exit_failure_syntax() -{ - if [ $# -gt 0 ]; then - echo "xdg-open: $@" >&2 - echo "Try 'xdg-open --help' for more information." >&2 - else - usage - echo "Use 'man xdg-open' or 'xdg-open --manual' for additional info." - fi - - exit 1 -} - -#------------------------------------------------------------- -# Exit script on missing file specified on command line - -exit_failure_file_missing() -{ - if [ $# -gt 0 ]; then - echo "xdg-open: $@" >&2 - fi - - exit 2 -} - -#------------------------------------------------------------- -# Exit script on failure to locate necessary tool applications - -exit_failure_operation_impossible() -{ - if [ $# -gt 0 ]; then - echo "xdg-open: $@" >&2 - fi - - exit 3 -} - -#------------------------------------------------------------- -# Exit script on failure returned by a tool application - -exit_failure_operation_failed() -{ - if [ $# -gt 0 ]; then - echo "xdg-open: $@" >&2 - fi - - exit 4 -} - -#------------------------------------------------------------ -# Exit script on insufficient permission to read a specified file - -exit_failure_file_permission_read() -{ - if [ $# -gt 0 ]; then - echo "xdg-open: $@" >&2 - fi - - exit 5 -} - -#------------------------------------------------------------ -# Exit script on insufficient permission to write a specified file - -exit_failure_file_permission_write() -{ - if [ $# -gt 0 ]; then - echo "xdg-open: $@" >&2 - fi - - exit 6 -} - -check_input_file() -{ - if [ ! -e "$1" ]; then - exit_failure_file_missing "file '$1' does not exist" - fi - if [ ! -r "$1" ]; then - exit_failure_file_permission_read "no permission to read file '$1'" - fi -} - -check_vendor_prefix() -{ - file_label="$2" - [ -n "$file_label" ] || file_label="filename" - file=`basename "$1"` - case "$file" in - [[:alpha:]]*-*) - return - ;; - esac - - echo "xdg-open: $file_label '$file' does not have a proper vendor prefix" >&2 - echo 'A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated' >&2 - echo 'with a dash ("-"). An example '"$file_label"' is '"'example-$file'" >&2 - echo "Use --novendor to override or 'xdg-open --manual' for additional info." >&2 - exit 1 -} - -check_output_file() -{ - # if the file exists, check if it is writeable - # if it does not exists, check if we are allowed to write on the directory - if [ -e "$1" ]; then - if [ ! -w "$1" ]; then - exit_failure_file_permission_write "no permission to write to file '$1'" - fi - else - DIR=`dirname "$1"` - if [ ! -w "$DIR" ] || [ ! -x "$DIR" ]; then - exit_failure_file_permission_write "no permission to create file '$1'" - fi - fi -} - -#---------------------------------------- -# Checks for shared commands, e.g. --help - -check_common_commands() -{ - while [ $# -gt 0 ] ; do - parm="$1" - shift - - case "$parm" in - --help) - usage - echo "Use 'man xdg-open' or 'xdg-open --manual' for additional info." - exit_success - ;; - - --manual) - manualpage - exit_success - ;; - - --version) - echo "xdg-open 1.1.3" - exit_success - ;; - esac - done -} - -check_common_commands "$@" - -[ -z "${XDG_UTILS_DEBUG_LEVEL}" ] && unset XDG_UTILS_DEBUG_LEVEL; -if [ ${XDG_UTILS_DEBUG_LEVEL-0} -lt 1 ]; then - # Be silent - xdg_redirect_output=" > /dev/null 2> /dev/null" -else - # All output to stderr - xdg_redirect_output=" >&2" -fi - -#-------------------------------------- -# Checks for known desktop environments -# set variable DE to the desktop environments name, lowercase - -detectDE() -{ - # see https://bugs.freedesktop.org/show_bug.cgi?id=34164 - unset GREP_OPTIONS - - if [ -n "${XDG_CURRENT_DESKTOP}" ]; then - case "${XDG_CURRENT_DESKTOP}" in - # only recently added to menu-spec, pre-spec X- still in use - Cinnamon|X-Cinnamon) - DE=cinnamon; - ;; - ENLIGHTENMENT) - DE=enlightenment; - ;; - # GNOME, GNOME-Classic:GNOME, or GNOME-Flashback:GNOME - GNOME*) - DE=gnome; - ;; - KDE) - DE=kde; - ;; - # Deepin Desktop Environments - DEEPIN|Deepin|deepin) - DE=dde; - ;; - LXDE) - DE=lxde; - ;; - LXQt) - DE=lxqt; - ;; - MATE) - DE=mate; - ;; - XFCE) - DE=xfce - ;; - X-Generic) - DE=generic - ;; - esac - fi - - if [ x"$DE" = x"" ]; then - # classic fallbacks - if [ x"$KDE_FULL_SESSION" != x"" ]; then DE=kde; - elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome; - elif [ x"$MATE_DESKTOP_SESSION_ID" != x"" ]; then DE=mate; - elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome; - elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce; - elif xprop -root 2> /dev/null | grep -i '^xfce_desktop_window' >/dev/null 2>&1; then DE=xfce - elif echo $DESKTOP | grep -q '^Enlightenment'; then DE=enlightenment; - elif [ x"$LXQT_SESSION_CONFIG" != x"" ]; then DE=lxqt; - fi - fi - - if [ x"$DE" = x"" ]; then - # fallback to checking $DESKTOP_SESSION - case "$DESKTOP_SESSION" in - gnome) - DE=gnome; - ;; - LXDE|Lubuntu) - DE=lxde; - ;; - MATE) - DE=mate; - ;; - xfce|xfce4|'Xfce Session') - DE=xfce; - ;; - esac - fi - - if [ x"$DE" = x"" ]; then - # fallback to uname output for other platforms - case "$(uname 2>/dev/null)" in - CYGWIN*) - DE=cygwin; - ;; - Darwin) - DE=darwin; - ;; - esac - fi - - if [ x"$DE" = x"gnome" ]; then - # gnome-default-applications-properties is only available in GNOME 2.x - # but not in GNOME 3.x - which gnome-default-applications-properties > /dev/null 2>&1 || DE="gnome3" - fi - - if [ -f "$XDG_RUNTIME_DIR/flatpak-info" ]; then - DE="flatpak" - fi -} - -#---------------------------------------------------------------------------- -# kfmclient exec/openURL can give bogus exit value in KDE <= 3.5.4 -# It also always returns 1 in KDE 3.4 and earlier -# Simply return 0 in such case - -kfmclient_fix_exit_code() -{ - version=`LC_ALL=C.UTF-8 kde-config --version 2>/dev/null | grep '^KDE'` - major=`echo $version | sed 's/KDE.*: \([0-9]\).*/\1/'` - minor=`echo $version | sed 's/KDE.*: [0-9]*\.\([0-9]\).*/\1/'` - release=`echo $version | sed 's/KDE.*: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'` - test "$major" -gt 3 && return $1 - test "$minor" -gt 5 && return $1 - test "$release" -gt 4 && return $1 - return 0 -} - -#---------------------------------------------------------------------------- -# Returns true if there is a graphical display attached. - -has_display() -{ - if [ -n "$DISPLAY" ] || [ -n "$WAYLAND_DISPLAY" ]; then - return 0 - else - return 1 - fi -} - -# This handles backslashes but not quote marks. -last_word() -{ - read first rest - echo "$rest" -} - -# Get the value of a key in a desktop file's Desktop Entry group. -# Example: Use get_key foo.desktop Exec -# to get the values of the Exec= key for the Desktop Entry group. -get_key() -{ - local file="${1}" - local key="${2}" - local desktop_entry="" - - IFS_="${IFS}" - IFS="" - while read line - do - case "$line" in - "[Desktop Entry]") - desktop_entry="y" - ;; - # Reset match flag for other groups - "["*) - desktop_entry="" - ;; - "${key}="*) - # Only match Desktop Entry group - if [ -n "${desktop_entry}" ] - then - echo "${line}" | cut -d= -f 2- - fi - esac - done < "${file}" - IFS="${IFS_}" -} - -# Returns true if argument is a file:// URL or path -is_file_url_or_path() -{ - if echo "$1" | grep -q '^file://' \ - || ! echo "$1" | egrep -q '^[[:alpha:]+\.\-]+:'; then - return 0 - else - return 1 - fi -} - -# If argument is a file URL, convert it to a (percent-decoded) path. -# If not, leave it as it is. -file_url_to_path() -{ - local file="$1" - if echo "$file" | grep -q '^file:///'; then - file=${file#file://} - file=${file%%#*} - file=$(echo "$file" | sed -r 's/\?.*$//') - local printf=printf - if [ -x /usr/bin/printf ]; then - printf=/usr/bin/printf - fi - file=$($printf "$(echo "$file" | sed -e 's@%\([a-f0-9A-F]\{2\}\)@\\x\1@g')") - fi - echo "$file" -} - -open_cygwin() -{ - cygstart "$1" - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_darwin() -{ - open "$1" - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_kde() -{ - if [ -n "${KDE_SESSION_VERSION}" ]; then - case "${KDE_SESSION_VERSION}" in - 4) - kde-open "$1" - ;; - 5) - kde-open${KDE_SESSION_VERSION} "$1" - ;; - esac - else - kfmclient exec "$1" - kfmclient_fix_exit_code $? - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_dde() -{ - if dde-open -version >/dev/null 2>&1; then - dde-open "$1" - else - open_generic "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_gnome3() -{ - if gio help open 2>/dev/null 1>&2; then - gio open "$1" - elif gvfs-open --help 2>/dev/null 1>&2; then - gvfs-open "$1" - else - open_generic "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_gnome() -{ - if gio help open 2>/dev/null 1>&2; then - gio open "$1" - elif gvfs-open --help 2>/dev/null 1>&2; then - gvfs-open "$1" - elif gnome-open --help 2>/dev/null 1>&2; then - gnome-open "$1" - else - open_generic "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_mate() -{ - if gio help open 2>/dev/null 1>&2; then - gio open "$1" - elif gvfs-open --help 2>/dev/null 1>&2; then - gvfs-open "$1" - elif mate-open --help 2>/dev/null 1>&2; then - mate-open "$1" - else - open_generic "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_xfce() -{ - if exo-open --help 2>/dev/null 1>&2; then - exo-open "$1" - elif gio help open 2>/dev/null 1>&2; then - gio open "$1" - elif gvfs-open --help 2>/dev/null 1>&2; then - gvfs-open "$1" - else - open_generic "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_enlightenment() -{ - if enlightenment_open --help 2>/dev/null 1>&2; then - enlightenment_open "$1" - else - open_generic "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_flatpak() -{ - gdbus call --session \ - --dest org.freedesktop.portal.Desktop \ - --object-path /org/freedesktop/portal/desktop \ - --method org.freedesktop.portal.OpenURI.OpenURI \ - "" "$1" {} - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -#----------------------------------------- -# Recursively search .desktop file - -search_desktop_file() -{ - local default="$1" - local dir="$2" - local target="$3" - - local file="" - # look for both vendor-app.desktop, vendor/app.desktop - if [ -r "$dir/$default" ]; then - file="$dir/$default" - elif [ -r "$dir/`echo $default | sed -e 's|-|/|'`" ]; then - file="$dir/`echo $default | sed -e 's|-|/|'`" - fi - - if [ -r "$file" ] ; then - command="$(get_key "${file}" "Exec" | first_word)" - command_exec=`which $command 2>/dev/null` - icon="$(get_key "${file}" "Icon")" - # FIXME: Actually LC_MESSAGES should be used as described in - # http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s04.html - localised_name="$(get_key "${file}" "Name")" - set -- $(get_key "${file}" "Exec" | last_word) - # We need to replace any occurrence of "%f", "%F" and - # the like by the target file. We examine each - # argument and append the modified argument to the - # end then shift. - local args=$# - local replaced=0 - while [ $args -gt 0 ]; do - case $1 in - %[c]) - replaced=1 - arg="${localised_name}" - shift - set -- "$@" "$arg" - ;; - %[fFuU]) - replaced=1 - arg="$target" - shift - set -- "$@" "$arg" - ;; - %[i]) - replaced=1 - shift - set -- "$@" "--icon" "$icon" - ;; - *) - arg="$1" - shift - set -- "$@" "$arg" - ;; - esac - args=$(( $args - 1 )) - done - [ $replaced -eq 1 ] || set -- "$@" "$target" - "$command_exec" "$@" - - if [ $? -eq 0 ]; then - exit_success - fi - fi - - for d in $dir/*/; do - [ -d "$d" ] && search_desktop_file "$default" "$d" "$target" - done -} - - -open_generic_xdg_mime() -{ - filetype="$2" - default=`xdg-mime query default "$filetype"` - if [ -n "$default" ] ; then - xdg_user_dir="$XDG_DATA_HOME" - [ -n "$xdg_user_dir" ] || xdg_user_dir="$HOME/.local/share" - - xdg_system_dirs="$XDG_DATA_DIRS" - [ -n "$xdg_system_dirs" ] || xdg_system_dirs=/usr/local/share/:/usr/share/ - -DEBUG 3 "$xdg_user_dir:$xdg_system_dirs" - for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'`; do - search_desktop_file "$default" "$x/applications/" "$1" - done - fi -} - -open_generic_xdg_file_mime() -{ - filetype=`xdg-mime query filetype "$1" | sed "s/;.*//"` - open_generic_xdg_mime "$1" "$filetype" -} - -open_generic_xdg_x_scheme_handler() -{ - scheme="`echo $1 | sed -n 's/\(^[[:alnum:]+\.-]*\):.*$/\1/p'`" - if [ -n $scheme ]; then - filetype="x-scheme-handler/$scheme" - open_generic_xdg_mime "$1" "$filetype" - fi -} - -has_single_argument() -{ - test $# = 1 -} - -open_envvar() -{ - local oldifs="$IFS" - local browser browser_with_arg - - IFS=":" - for browser in $BROWSER; do - IFS="$oldifs" - - if [ -z "$browser" ]; then - continue - fi - - if echo "$browser" | grep -q %s; then - # Avoid argument injection. - # See https://bugs.freedesktop.org/show_bug.cgi?id=103807 - # URIs don't have IFS characters spaces anyway. - has_single_argument $1 && $(printf "$browser" "$1") - else - $browser "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - fi - done -} - -open_generic() -{ - if is_file_url_or_path "$1"; then - local file="$(file_url_to_path "$1")" - - check_input_file "$file" - - if has_display; then - filetype=`xdg-mime query filetype "$file" | sed "s/;.*//"` - open_generic_xdg_mime "$file" "$filetype" - fi - - if which run-mailcap 2>/dev/null 1>&2; then - run-mailcap --action=view "$file" - if [ $? -eq 0 ]; then - exit_success - fi - fi - - if has_display && mimeopen -v 2>/dev/null 1>&2; then - mimeopen -L -n "$file" - if [ $? -eq 0 ]; then - exit_success - fi - fi - fi - - if has_display; then - open_generic_xdg_x_scheme_handler "$1" - fi - - if [ -n "$BROWSER" ]; then - open_envvar "$1" - fi - - # if BROWSER variable is not set, check some well known browsers instead - if [ x"$BROWSER" = x"" ]; then - BROWSER=www-browser:links2:elinks:links:lynx:w3m - if has_display; then - BROWSER=x-www-browser:firefox:iceweasel:seamonkey:mozilla:epiphany:konqueror:chromium:chromium-browser:google-chrome:microsoft-edge:$BROWSER - fi - fi - - open_envvar "$1" - - exit_failure_operation_impossible "no method available for opening '$1'" -} - -open_lxde() -{ - - # pcmanfm only knows how to handle file:// urls and filepaths, it seems. - if pcmanfm --help >/dev/null 2>&1 && is_file_url_or_path "$1"; then - local file="$(file_url_to_path "$1")" - - # handle relative paths - if ! echo "$file" | grep -q ^/; then - file="$(pwd)/$file" - fi - - pcmanfm "$file" - else - open_generic "$1" - fi - - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed - fi -} - -open_lxqt() -{ - open_generic "$1" -} - -[ x"$1" != x"" ] || exit_failure_syntax - -url= -while [ $# -gt 0 ] ; do - parm="$1" - shift - - case "$parm" in - -*) - exit_failure_syntax "unexpected option '$parm'" - ;; - - *) - if [ -n "$url" ] ; then - exit_failure_syntax "unexpected argument '$parm'" - fi - url="$parm" - ;; - esac -done - -if [ -z "${url}" ] ; then - exit_failure_syntax "file or URL argument missing" -fi - -detectDE - -if [ x"$DE" = x"" ]; then - DE=generic -fi - -DEBUG 2 "Selected DE $DE" - -# sanitize BROWSER (avoid caling ourselves in particular) -case "${BROWSER}" in - *:"xdg-open"|"xdg-open":*) - BROWSER=$(echo $BROWSER | sed -e 's|:xdg-open||g' -e 's|xdg-open:||g') - ;; - "xdg-open") - BROWSER= - ;; -esac - -case "$DE" in - kde) - open_kde "$url" - ;; - - dde) - open_dde "$url" - ;; - - gnome3|cinnamon) - open_gnome3 "$url" - ;; - - gnome) - open_gnome "$url" - ;; - - mate) - open_mate "$url" - ;; - - xfce) - open_xfce "$url" - ;; - - lxde) - open_lxde "$url" - ;; - - lxqt) - open_lxqt "$url" - ;; - - enlightenment) - open_enlightenment "$url" - ;; - - cygwin) - open_cygwin "$url" - ;; - - darwin) - open_darwin "$url" - ;; - - flatpak) - open_flatpak "$url" - ;; - - generic) - open_generic "$url" - ;; - - *) - exit_failure_operation_impossible "no method available for opening '$url'" - ;; -esac diff --git a/packages/builder/builder-shared/compiled/postcss-custom-properties/index.d.ts b/packages/builder/builder-shared/compiled/postcss-custom-properties/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-custom-properties/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/postcss-custom-properties/index.js b/packages/builder/builder-shared/compiled/postcss-custom-properties/index.js deleted file mode 100644 index 6897eff67e83..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-custom-properties/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e={36:e=>{e.exports=require("../postcss-value-parser")},161:(e,n,o)=>{var t=o(484),r=o(317);class LayerName{parts;constructor(e){this.parts=e}tokens(){return[...this.parts]}slice(e,n){const o=[];for(let e=0;ee[0]===t.TokenType.Ident||e[0]===t.TokenType.Delim)),n,...e.parts.filter((e=>e[0]===t.TokenType.Ident||e[0]===t.TokenType.Delim))])}segments(){return this.parts.filter((e=>e[0]===t.TokenType.Ident)).map((e=>e[4].value))}name(){return this.parts.filter((e=>e[0]===t.TokenType.Ident||e[0]===t.TokenType.Delim)).map((e=>e[1])).join("")}equal(e){const n=this.segments(),o=e.segments();if(n.length!==o.length)return!1;for(let e=0;e{}),i=["6.4.2. Layer Naming and Nesting","Layer name syntax"," = [ '.' ]*"],a=e[0][2],c=e[e.length-1][3],u=[];for(let e=0;ee.tokens()));let p=!1,l=!1,m=null;for(let e=0;e{const o=n.segments();e:for(let t=0;t=i&&(s=n,i=t)}-1===s?e.push(o):e.splice(s+1,0,o)}})),e},n.parse=function parse(e,n){const o=t.tokenizer({css:e},{onParseError:null==n?void 0:n.onParseError}),r=[];for(;!o.endOfFile();)r.push(o.nextToken());return r.push(o.nextToken()),parseFromTokens(r,n)},n.parseFromTokens=parseFromTokens},317:(e,n,o)=>{var t,r=o(484);function consumeComponentValue(e,n){const o=n[0];if(o[0]===r.TokenType.OpenParen||o[0]===r.TokenType.OpenCurly||o[0]===r.TokenType.OpenSquare){const o=consumeSimpleBlock(e,n);return{advance:o.advance,node:o.node}}if(o[0]===r.TokenType.Function){const o=consumeFunction(e,n);return{advance:o.advance,node:o.node}}if(o[0]===r.TokenType.Whitespace){const o=consumeWhitespace(e,n);return{advance:o.advance,node:o.node}}if(o[0]===r.TokenType.Comment){const o=consumeComment(e,n);return{advance:o.advance,node:o.node}}return{advance:1,node:new TokenNode(o)}}n.ComponentValueType=void 0,(t=n.ComponentValueType||(n.ComponentValueType={})).Function="function",t.SimpleBlock="simple-block",t.Whitespace="whitespace",t.Comment="comment",t.Token="token";class FunctionNode{type=n.ComponentValueType.Function;name;endToken;value;constructor(e,n,o){this.name=e,this.endToken=n,this.value=o}getName(){return this.name[4].value}normalize(){this.endToken[0]===r.TokenType.EOF&&(this.endToken=[r.TokenType.CloseParen,")",-1,-1,void 0])}tokens(){return this.endToken[0]===r.TokenType.EOF?[this.name,...this.value.flatMap((e=>e.tokens()))]:[this.name,...this.value.flatMap((e=>e.tokens())),this.endToken]}toString(){const e=this.value.map((e=>r.isToken(e)?r.stringify(e):e.toString())).join("");return r.stringify(this.name)+e+r.stringify(this.endToken)}indexOf(e){return this.value.indexOf(e)}at(e){if("number"==typeof e)return e<0&&(e=this.value.length+e),this.value[e]}walk(e){let n=!1;if(this.value.forEach(((o,t)=>{n||(!1!==e({node:o,parent:this},t)?"walk"in o&&!1===o.walk(e)&&(n=!0):n=!0)})),n)return!1}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map((e=>e.toJSON()))}}isFunctionNode(){return FunctionNode.isFunctionNode(this)}static isFunctionNode(e){return!!e&&(e instanceof FunctionNode&&e.type===n.ComponentValueType.Function)}}function consumeFunction(e,n){const o=[];let t=1;for(;;){const s=n[t];if(!s||s[0]===r.TokenType.EOF)return e.onParseError(new r.ParseError("Unexpected EOF while consuming a function.",n[0][2],n[n.length-1][3],["5.4.9. Consume a function","Unexpected EOF"])),{advance:n.length,node:new FunctionNode(n[0],s,o)};if(s[0]===r.TokenType.CloseParen)return{advance:t+1,node:new FunctionNode(n[0],s,o)};if(s[0]===r.TokenType.Comment||s[0]===r.TokenType.Whitespace){const r=consumeAllCommentsAndWhitespace(e,n.slice(t));t+=r.advance,o.push(...r.nodes);continue}const i=consumeComponentValue(e,n.slice(t));t+=i.advance,o.push(i.node)}}class SimpleBlockNode{type=n.ComponentValueType.SimpleBlock;startToken;endToken;value;constructor(e,n,o){this.startToken=e,this.endToken=n,this.value=o}normalize(){if(this.endToken[0]===r.TokenType.EOF){const e=r.mirrorVariant(this.startToken);e&&(this.endToken=e)}}tokens(){return this.endToken[0]===r.TokenType.EOF?[this.startToken,...this.value.flatMap((e=>e.tokens()))]:[this.startToken,...this.value.flatMap((e=>e.tokens())),this.endToken]}toString(){const e=this.value.map((e=>r.isToken(e)?r.stringify(e):e.toString())).join("");return r.stringify(this.startToken)+e+r.stringify(this.endToken)}indexOf(e){return this.value.indexOf(e)}at(e){if("number"==typeof e)return e<0&&(e=this.value.length+e),this.value[e]}walk(e){let n=!1;if(this.value.forEach(((o,t)=>{n||(!1!==e({node:o,parent:this},t)?"walk"in o&&!1===o.walk(e)&&(n=!0):n=!0)})),n)return!1}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map((e=>e.toJSON()))}}isSimpleBlockNode(){return SimpleBlockNode.isSimpleBlockNode(this)}static isSimpleBlockNode(e){return!!e&&(e instanceof SimpleBlockNode&&e.type===n.ComponentValueType.SimpleBlock)}}function consumeSimpleBlock(e,n){const o=r.mirrorVariantType(n[0][0]);if(!o)throw new Error("Failed to parse, a mirror variant must exist for all block open tokens.");const t=[];let s=1;for(;;){const i=n[s];if(!i||i[0]===r.TokenType.EOF)return e.onParseError(new r.ParseError("Unexpected EOF while consuming a simple block.",n[0][2],n[n.length-1][3],["5.4.8. Consume a simple block","Unexpected EOF"])),{advance:n.length,node:new SimpleBlockNode(n[0],i,t)};if(i[0]===o)return{advance:s+1,node:new SimpleBlockNode(n[0],i,t)};if(i[0]===r.TokenType.Comment||i[0]===r.TokenType.Whitespace){const o=consumeAllCommentsAndWhitespace(e,n.slice(s));s+=o.advance,t.push(...o.nodes);continue}const a=consumeComponentValue(e,n.slice(s));s+=a.advance,t.push(a.node)}}class WhitespaceNode{type=n.ComponentValueType.Whitespace;value;constructor(e){this.value=e}tokens(){return this.value}toString(){return r.stringify(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return WhitespaceNode.isWhitespaceNode(this)}static isWhitespaceNode(e){return!!e&&(e instanceof WhitespaceNode&&e.type===n.ComponentValueType.Whitespace)}}function consumeWhitespace(e,n){let o=0;for(;;){if(n[o][0]!==r.TokenType.Whitespace)return{advance:o,node:new WhitespaceNode(n.slice(0,o))};o++}}class CommentNode{type=n.ComponentValueType.Comment;value;constructor(e){this.value=e}tokens(){return[this.value]}toString(){return r.stringify(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return CommentNode.isCommentNode(this)}static isCommentNode(e){return!!e&&(e instanceof CommentNode&&e.type===n.ComponentValueType.Comment)}}function consumeComment(e,n){return{advance:1,node:new CommentNode(n[0])}}function consumeAllCommentsAndWhitespace(e,n){const o=[];let t=0;for(;;)if(n[t][0]!==r.TokenType.Whitespace){if(n[t][0]!==r.TokenType.Comment)return{advance:t,nodes:o};o.push(new CommentNode(n[t])),t++}else{const e=consumeWhitespace(0,n.slice(t));t+=e.advance,o.push(e.node)}}class TokenNode{type=n.ComponentValueType.Token;value;constructor(e){this.value=e}tokens(){return[this.value]}toString(){return r.stringify(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNode(){return TokenNode.isTokenNode(this)}static isTokenNode(e){return!!e&&(e instanceof TokenNode&&e.type===n.ComponentValueType.Token)}}function isSimpleBlockNode(e){return SimpleBlockNode.isSimpleBlockNode(e)}function isFunctionNode(e){return FunctionNode.isFunctionNode(e)}n.CommentNode=CommentNode,n.FunctionNode=FunctionNode,n.SimpleBlockNode=SimpleBlockNode,n.TokenNode=TokenNode,n.WhitespaceNode=WhitespaceNode,n.consumeAllCommentsAndWhitespace=consumeAllCommentsAndWhitespace,n.consumeComment=consumeComment,n.consumeComponentValue=consumeComponentValue,n.consumeFunction=consumeFunction,n.consumeSimpleBlock=consumeSimpleBlock,n.consumeWhitespace=consumeWhitespace,n.gatherNodeAncestry=function gatherNodeAncestry(e){const n=new Map;return e.walk((e=>{Array.isArray(e.node)?e.node.forEach((o=>{n.set(o,e.parent)})):n.set(e.node,e.parent)})),n},n.isCommentNode=function isCommentNode(e){return CommentNode.isCommentNode(e)},n.isFunctionNode=isFunctionNode,n.isSimpleBlockNode=isSimpleBlockNode,n.isTokenNode=function isTokenNode(e){return TokenNode.isTokenNode(e)},n.isWhitespaceNode=function isWhitespaceNode(e){return WhitespaceNode.isWhitespaceNode(e)},n.parseCommaSeparatedListOfComponentValues=function parseCommaSeparatedListOfComponentValues(e,n){const o={onParseError:(null==n?void 0:n.onParseError)??(()=>{})},t=[...e];if(0===e.length)return[];t[t.length-1][0]!==r.TokenType.EOF&&t.push([r.TokenType.EOF,"",t[t.length-1][2],t[t.length-1][3],void 0]);const s=[];let i=[],a=0;for(;;){if(!t[a]||t[a][0]===r.TokenType.EOF)return i.length&&s.push(i),s;if(t[a][0]===r.TokenType.Comma){s.push(i),i=[],a++;continue}const n=consumeComponentValue(o,e.slice(a));i.push(n.node),a+=n.advance}},n.parseComponentValue=function parseComponentValue(e,n){const o={onParseError:(null==n?void 0:n.onParseError)??(()=>{})},t=[...e];t[t.length-1][0]!==r.TokenType.EOF&&t.push([r.TokenType.EOF,"",t[t.length-1][2],t[t.length-1][3],void 0]);const s=consumeComponentValue(o,t);if(t[Math.min(s.advance,t.length-1)][0]===r.TokenType.EOF)return s.node;o.onParseError(new r.ParseError("Expected EOF after parsing a component value.",e[0][2],e[e.length-1][3],["5.3.9. Parse a component value","Expected EOF"]))},n.parseListOfComponentValues=function parseListOfComponentValues(e,n){const o={onParseError:(null==n?void 0:n.onParseError)??(()=>{})},t=[...e];t[t.length-1][0]!==r.TokenType.EOF&&t.push([r.TokenType.EOF,"",t[t.length-1][2],t[t.length-1][3],void 0]);const s=[];let i=0;for(;;){if(!t[i]||t[i][0]===r.TokenType.EOF)return s;const e=consumeComponentValue(o,t.slice(i));s.push(e.node),i+=e.advance}},n.replaceComponentValues=function replaceComponentValues(e,n){for(let o=0;o{if("number"!=typeof o)return;const t=e.node,r=n(t);r&&e.parent.value.splice(o,1,r)}))}}return e},n.stringify=function stringify(e){return e.map((e=>e.map((e=>r.stringify(...e.tokens()))).join(""))).join(",")}},484:(e,n)=>{class ParseError extends Error{sourceStart;sourceEnd;parserState;constructor(e,n,o,t){super(e),this.name="ParseError",this.sourceStart=n,this.sourceEnd=o,this.parserState=t}}class Reader{cursor;source="";codePointSource=[];length=0;representationStart=0;representationEnd=-1;constructor(e){this.cursor=0,this.source=e,this.length=e.length,this.codePointSource=new Array(this.length);for(let e=0;e=48&&e<=57}function isUppercaseLetterCodePoint(e){return e>=65&&e<=90}function isLowercaseLetterCodePoint(e){return e>=97&&e<=122}function isHexDigitCodePoint(e){return isDigitCodePoint(e)||e>=97&&e<=102||e>=65&&e<=70}function isLetterCodePoint(e){return isLowercaseLetterCodePoint(e)||isUppercaseLetterCodePoint(e)}function isNonASCIICodePoint(e){return e>=128}function isIdentStartCodePoint(e){return isLetterCodePoint(e)||isNonASCIICodePoint(e)||e===F}function isIdentCodePoint(e){return isIdentStartCodePoint(e)||isDigitCodePoint(e)||e===S}function isNewLine(e){return 10===e||13===e||12===e}function isWhitespace(e){return 32===e||10===e||9===e||13===e||12===e}function checkIfTwoCodePointsAreAValidEscape(e,n){return n.codePointSource[n.cursor]===U&&!isNewLine(n.codePointSource[n.cursor+1])}function checkIfThreeCodePointsWouldStartAnIdentSequence(e,n){return n.codePointSource[n.cursor]===S?n.codePointSource[n.cursor+1]===S||(!!isIdentStartCodePoint(n.codePointSource[n.cursor+1])||n.codePointSource[n.cursor+1]===U&&!isNewLine(n.codePointSource[n.cursor+2])):!!isIdentStartCodePoint(n.codePointSource[n.cursor])||checkIfTwoCodePointsAreAValidEscape(0,n)}function checkIfThreeCodePointsWouldStartANumber(e,n){return n.codePointSource[n.cursor]===x||n.codePointSource[n.cursor]===S?!!isDigitCodePoint(n.codePointSource[n.cursor+1])||n.codePointSource[n.cursor+1]===k&&isDigitCodePoint(n.codePointSource[n.cursor+2]):n.codePointSource[n.cursor]===k?isDigitCodePoint(n.codePointSource[n.cursor+1]):isDigitCodePoint(n.codePointSource[n.cursor])}function checkIfTwoCodePointsStartAComment(e,n){return n.codePointSource[n.cursor]===H&&n.codePointSource[n.cursor+1]===a}function checkIfThreeCodePointsWouldStartCDC(e,n){return n.codePointSource[n.cursor]===S&&n.codePointSource[n.cursor+1]===S&&n.codePointSource[n.cursor+2]===C}function consumeComment(e,o){for(o.advanceCodePoint(2);;){const n=o.readCodePoint();if(!1===n){e.onParseError(new ParseError("Unexpected EOF while consuming a comment.",o.representationStart,o.representationEnd,["4.3.2. Consume comments","Unexpected EOF"]));break}if(n===a&&(void 0!==o.codePointSource[o.cursor]&&o.codePointSource[o.cursor]===H)){o.advanceCodePoint();break}}return[n.TokenType.Comment,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,void 0]}function consumeEscapedCodePoint(e,n){const o=n.readCodePoint();if(!1===o)return e.onParseError(new ParseError("Unexpected EOF while consuming an escaped code point.",n.representationStart,n.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),V;if(isHexDigitCodePoint(o)){const e=[o];for(;void 0!==n.codePointSource[n.cursor]&&isHexDigitCodePoint(n.codePointSource[n.cursor])&&e.length<6;)e.push(n.codePointSource[n.cursor]),n.advanceCodePoint();isWhitespace(n.codePointSource[n.cursor])&&n.advanceCodePoint();const r=parseInt(String.fromCharCode(...e),16);return 0===r?V:(t=r)>=55296&&t<=57343||r>L?V:r}var t;return o}function consumeIdentSequence(e,n){const o=[];for(;;)if(isIdentCodePoint(n.codePointSource[n.cursor]))o.push(n.codePointSource[n.cursor]),n.advanceCodePoint();else{if(!checkIfTwoCodePointsAreAValidEscape(0,n))return o;n.advanceCodePoint(),o.push(consumeEscapedCodePoint(e,n))}}function consumeHashToken(e,o){if(o.advanceCodePoint(),void 0!==o.codePointSource[o.cursor]&&(isIdentCodePoint(o.codePointSource[o.cursor])||checkIfTwoCodePointsAreAValidEscape(0,o))){let t=r.Unrestricted;checkIfThreeCodePointsWouldStartAnIdentSequence(0,o)&&(t=r.ID);const s=consumeIdentSequence(e,o);return[n.TokenType.Hash,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,{value:String.fromCharCode(...s),type:t}]}return[n.TokenType.Delim,"#",o.representationStart,o.representationEnd,{value:"#"}]}function consumeNumber(e,o){let t=n.NumberType.Integer;for(o.codePointSource[o.cursor]!==x&&o.codePointSource[o.cursor]!==S||o.advanceCodePoint();isDigitCodePoint(o.codePointSource[o.cursor]);)o.advanceCodePoint();if(o.codePointSource[o.cursor]===k&&isDigitCodePoint(o.codePointSource[o.cursor+1]))for(o.advanceCodePoint(2),t=n.NumberType.Number;isDigitCodePoint(o.codePointSource[o.cursor]);)o.advanceCodePoint();if(o.codePointSource[o.cursor]===P||o.codePointSource[o.cursor]===v){if(isDigitCodePoint(o.codePointSource[o.cursor+1]))o.advanceCodePoint(2);else{if(o.codePointSource[o.cursor+1]!==S&&o.codePointSource[o.cursor+1]!==x||!isDigitCodePoint(o.codePointSource[o.cursor+2]))return t;o.advanceCodePoint(3)}for(t=n.NumberType.Number;isDigitCodePoint(o.codePointSource[o.cursor]);)o.advanceCodePoint()}return t}function consumeNumericToken(e,o){const t=consumeNumber(0,o),r=parseFloat(o.source.slice(o.representationStart,o.representationEnd+1));if(checkIfThreeCodePointsWouldStartAnIdentSequence(0,o)){const s=consumeIdentSequence(e,o);return[n.TokenType.Dimension,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,{value:r,type:t,unit:String.fromCharCode(...s)}]}return o.codePointSource[o.cursor]===W?(o.advanceCodePoint(),[n.TokenType.Percentage,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,{value:r}]):[n.TokenType.Number,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,{value:r,type:t}]}function consumeWhiteSpace(e,o){for(;isWhitespace(o.codePointSource[o.cursor]);)o.advanceCodePoint();return[n.TokenType.Whitespace,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,void 0]}function consumeStringToken(e,o){let t="";const r=o.readCodePoint();for(;;){const s=o.readCodePoint();if(!1===s)return e.onParseError(new ParseError("Unexpected EOF while consuming a string token.",o.representationStart,o.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"])),[n.TokenType.String,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,{value:t}];if(isNewLine(s))return e.onParseError(new ParseError("Unexpected newline while consuming a string token.",o.representationStart,o.representationEnd,["4.3.5. Consume a string token","Unexpected newline"])),o.unreadCodePoint(),[n.TokenType.BadString,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,void 0];if(s===r)return[n.TokenType.String,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,{value:t}];if(s!==U)t+=String.fromCharCode(s);else{if(void 0===o.codePointSource[o.cursor])continue;if(isNewLine(o.codePointSource[o.cursor])){o.advanceCodePoint();continue}t+=String.fromCharCode(consumeEscapedCodePoint(e,o))}}}const j="u".charCodeAt(0),z="U".charCodeAt(0),J="r".charCodeAt(0),K="R".charCodeAt(0),Q="l".charCodeAt(0),G="L".charCodeAt(0);function checkIfCodePointsMatchURLIdent(e,n){return 3===n.length&&((n[0]===j||n[0]===z)&&((n[1]===J||n[1]===K)&&(n[2]===Q||n[2]===G)))}function consumeBadURL(e,n){for(;;){if(void 0===n.codePointSource[n.cursor])return;if(n.codePointSource[n.cursor]===B)return void n.advanceCodePoint();checkIfTwoCodePointsAreAValidEscape(0,n)?(n.advanceCodePoint(),consumeEscapedCodePoint(e,n)):n.advanceCodePoint()}}function consumeUrlToken(e,o){consumeWhiteSpace(0,o);let t="";for(;;){if(void 0===o.codePointSource[o.cursor])return e.onParseError(new ParseError("Unexpected EOF while consuming a url token.",o.representationStart,o.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"])),[n.TokenType.URL,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,{value:t}];if(o.codePointSource[o.cursor]===B)return o.advanceCodePoint(),[n.TokenType.URL,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,{value:t}];if(isWhitespace(o.codePointSource[o.cursor]))return consumeWhiteSpace(0,o),void 0===o.codePointSource[o.cursor]?(e.onParseError(new ParseError("Unexpected EOF while consuming a url token.",o.representationStart,o.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"])),[n.TokenType.URL,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,{value:t}]):o.codePointSource[o.cursor]===B?(o.advanceCodePoint(),[n.TokenType.URL,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,{value:t}]):(consumeBadURL(e,o),[n.TokenType.BadURL,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,void 0]);if(o.codePointSource[o.cursor]===D||o.codePointSource[o.cursor]===i||o.codePointSource[o.cursor]===g||((r=o.codePointSource[o.cursor])===I||r===f||b<=r&&r<=c||M<=r&&r<=y))return consumeBadURL(e,o),e.onParseError(new ParseError("Unexpected character while consuming a url token.",o.representationStart,o.representationEnd,["4.3.6. Consume a url token","Unexpected U+0022 QUOTATION MARK (\"), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point"])),[n.TokenType.BadURL,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,void 0];if(o.codePointSource[o.cursor]===U){if(checkIfTwoCodePointsAreAValidEscape(0,o)){o.advanceCodePoint(),t+=String.fromCharCode(consumeEscapedCodePoint(e,o));continue}return consumeBadURL(e,o),e.onParseError(new ParseError("Invalid escape sequence while consuming a url token.",o.representationStart,o.representationEnd,["4.3.6. Consume a url token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"])),[n.TokenType.BadURL,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,void 0]}t+=String.fromCharCode(o.codePointSource[o.cursor]),o.advanceCodePoint()}var r}function consumeIdentLikeToken(e,o){const t=consumeIdentSequence(e,o);if(o.codePointSource[o.cursor]!==g)return[n.TokenType.Ident,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,{value:String.fromCharCode(...t)}];if(checkIfCodePointsMatchURLIdent(0,t)){o.advanceCodePoint();let r=0;for(;;){const e=isWhitespace(o.codePointSource[o.cursor]),s=isWhitespace(o.codePointSource[o.cursor+1]);if(e&&s){r+=1,o.advanceCodePoint(1);continue}const a=e?o.codePointSource[o.cursor+1]:o.codePointSource[o.cursor];if(a===D||a===i)return r>0&&o.unreadCodePoint(r),[n.TokenType.Function,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,{value:String.fromCharCode(...t)}];break}return consumeUrlToken(e,o)}return o.advanceCodePoint(),[n.TokenType.Function,o.source.slice(o.representationStart,o.representationEnd+1),o.representationStart,o.representationEnd,{value:String.fromCharCode(...t)}]}function tokenizer(e,o){const t=e.css.valueOf(),r=new Reader(t),s={onParseError:(null==o?void 0:o.onParseError)??(()=>{})};return{nextToken:function nextToken(){if(r.representationStart=r.cursor,r.representationEnd=-1,checkIfTwoCodePointsStartAComment(0,r))return consumeComment(s,r);const e=r.codePointSource[r.cursor];if(void 0===e)return[n.TokenType.EOF,"",-1,-1,void 0];if(isIdentStartCodePoint(e))return consumeIdentLikeToken(s,r);if(isDigitCodePoint(e))return consumeNumericToken(s,r);switch(e){case l:return r.advanceCodePoint(),[n.TokenType.Comma,",",r.representationStart,r.representationEnd,void 0];case p:return r.advanceCodePoint(),[n.TokenType.Colon,":",r.representationStart,r.representationEnd,void 0];case _:return r.advanceCodePoint(),[n.TokenType.Semicolon,";",r.representationStart,r.representationEnd,void 0];case g:return r.advanceCodePoint(),[n.TokenType.OpenParen,"(",r.representationStart,r.representationEnd,void 0];case B:return r.advanceCodePoint(),[n.TokenType.CloseParen,")",r.representationStart,r.representationEnd,void 0];case w:return r.advanceCodePoint(),[n.TokenType.OpenSquare,"[",r.representationStart,r.representationEnd,void 0];case q:return r.advanceCodePoint(),[n.TokenType.CloseSquare,"]",r.representationStart,r.representationEnd,void 0];case E:return r.advanceCodePoint(),[n.TokenType.OpenCurly,"{",r.representationStart,r.representationEnd,void 0];case R:return r.advanceCodePoint(),[n.TokenType.CloseCurly,"}",r.representationStart,r.representationEnd,void 0];case i:case D:return consumeStringToken(s,r);case A:return consumeHashToken(s,r);case x:case k:return checkIfThreeCodePointsWouldStartANumber(0,r)?consumeNumericToken(s,r):(r.advanceCodePoint(),[n.TokenType.Delim,r.source[r.representationStart],r.representationStart,r.representationEnd,{value:r.source[r.representationStart]}]);case O:case u:case h:case d:case $:return consumeWhiteSpace(0,r);case S:return checkIfThreeCodePointsWouldStartANumber(0,r)?consumeNumericToken(s,r):checkIfThreeCodePointsWouldStartCDC(0,r)?(r.advanceCodePoint(3),[n.TokenType.CDC,"--\x3e",r.representationStart,r.representationEnd,void 0]):checkIfThreeCodePointsWouldStartAnIdentSequence(0,r)?consumeIdentLikeToken(s,r):(r.advanceCodePoint(),[n.TokenType.Delim,"-",r.representationStart,r.representationEnd,{value:"-"}]);case N:return checkIfFourCodePointsWouldStartCDO(0,r)?(r.advanceCodePoint(4),[n.TokenType.CDO,"\x3c!--",r.representationStart,r.representationEnd,void 0]):(r.advanceCodePoint(),[n.TokenType.Delim,"<",r.representationStart,r.representationEnd,{value:"<"}]);case m:if(r.advanceCodePoint(),checkIfThreeCodePointsWouldStartAnIdentSequence(0,r)){const e=consumeIdentSequence(s,r);return[n.TokenType.AtKeyword,r.source.slice(r.representationStart,r.representationEnd+1),r.representationStart,r.representationEnd,{value:String.fromCharCode(...e)}]}return[n.TokenType.Delim,"@",r.representationStart,r.representationEnd,{value:"@"}];case U:return checkIfTwoCodePointsAreAValidEscape(0,r)?consumeIdentLikeToken(s,r):(r.advanceCodePoint(),s.onParseError(new ParseError('Invalid escape sequence after "\\"',r.representationStart,r.representationEnd,["4.3.1. Consume a token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"])),[n.TokenType.Delim,"\\",r.representationStart,r.representationEnd,{value:"\\"}])}return r.advanceCodePoint(),[n.TokenType.Delim,r.source[r.representationStart],r.representationStart,r.representationEnd,{value:r.source[r.representationStart]}]},endOfFile:function endOfFile(){return void 0===r.codePointSource[r.cursor]}}}n.ParseError=ParseError,n.Reader=Reader,n.cloneTokens=function cloneTokens(e){return"undefined"!=typeof globalThis&&"structuredClone"in globalThis?structuredClone(e):JSON.parse(JSON.stringify(e))},n.isToken=function isToken(e){return!!Array.isArray(e)&&(!(e.length<4)&&(!!s.includes(e[0])&&("string"==typeof e[1]&&("number"==typeof e[2]&&"number"==typeof e[3]))))},n.mirrorVariant=function mirrorVariant(e){switch(e[0]){case n.TokenType.OpenParen:return[n.TokenType.CloseParen,")",-1,-1,void 0];case n.TokenType.CloseParen:return[n.TokenType.OpenParen,"(",-1,-1,void 0];case n.TokenType.OpenCurly:return[n.TokenType.CloseCurly,"}",-1,-1,void 0];case n.TokenType.CloseCurly:return[n.TokenType.OpenCurly,"{",-1,-1,void 0];case n.TokenType.OpenSquare:return[n.TokenType.CloseSquare,"]",-1,-1,void 0];case n.TokenType.CloseSquare:return[n.TokenType.OpenSquare,"[",-1,-1,void 0];default:return null}},n.mirrorVariantType=function mirrorVariantType(e){switch(e){case n.TokenType.OpenParen:return n.TokenType.CloseParen;case n.TokenType.CloseParen:return n.TokenType.OpenParen;case n.TokenType.OpenCurly:return n.TokenType.CloseCurly;case n.TokenType.CloseCurly:return n.TokenType.OpenCurly;case n.TokenType.OpenSquare:return n.TokenType.CloseSquare;case n.TokenType.CloseSquare:return n.TokenType.OpenSquare;default:return null}},n.mutateIdent=function mutateIdent(e,n){let o="";const t=new Array(n.length);for(let e=0;e{var t=o(36),r=o(161);const s=r.parse("csstools-implicit-layer")[0];function collectCascadeLayerOrder(e){const n=new Map,o=new Map,t=[];e.walkAtRules((e=>{var i;if("layer"!==e.name.toLowerCase())return;{let n=e.parent;for(;n;){if("atrule"!==n.type||"layer"!==n.name.toLowerCase()){if(n===e.root())break;return}n=n.parent}}let a;if(e.nodes)a=normalizeLayerName(e.params,1);else{if(!e.params.trim())return;a=e.params}let c=r.parse(a);if(null!=(i=c)&&i.length){{let n=e.parent;for(;n&&"atrule"===n.type&&"layer"===n.name.toLowerCase();){const e=o.get(n);e?(c=c.map((n=>e.concat(n))),n=n.parent):n=n.parent}}if(r.addLayerToModel(t,c),e.nodes){const t=c[0].concat(s);n.set(e,t),o.set(e,c[0])}}}));for(const e of n.values())r.addLayerToModel(t,[e]);const i=new WeakMap;for(const[e,o]of n)i.set(e,t.findIndex((e=>o.equal(e))));return i}function cascadeLayerNumberForNode(e,n){return e.parent&&"atrule"===e.parent.type&&"layer"===e.parent.name.toLowerCase()?n.has(e.parent)?n.get(e.parent):-1:1/0}function normalizeLayerName(e,n){return e.trim()?e:"csstools-anon-layer--"+n++}const i=/(!\s*)?postcss-custom-properties:\s*off\b/i,a=new WeakMap;function isBlockIgnored(e){if(!e||!e.nodes)return!1;if(a.has(e))return a.get(e);const n=e.some((e=>isIgnoreComment(e,i)));return a.set(e,n),n}const c=/(!\s*)?postcss-custom-properties:\s*ignore\s+next\b/i;function isDeclarationIgnored(e){return!!e&&(!!isBlockIgnored(e.parent)||isIgnoreComment(e.prev(),c))}function isIgnoreComment(e,n){return!!e&&"comment"===e.type&&n.test(e.text)}const u=new Set(["layer"]);function isProcessableRule(e){if(!isHtmlRule(e)&&!isRootRule(e))return!1;let n=e.parent;for(;n;){if("atrule"===n.type&&!u.has(n.name.toLowerCase()))return!1;n=n.parent}return!0}const d=/^html$/i,p=/^:root$/i;function isHtmlRule(e){return e.selectors.some((e=>d.test(e)))&&e.nodes&&e.nodes.length}function isRootRule(e){return e.selectors.some((e=>p.test(e)))&&e.nodes&&e.nodes.length}const l=/^var$/i;function isVarFunction(e){return"function"===e.type&&l.test(e.value)&&Object(e.nodes).length>0}function removeCyclicReferences(e,n){const o=new Set;let t=n;for(;e.size>0;)try{toposort(Array.from(e.keys()),t);break}catch(n){if(!n._graphNode)throw n;e.delete(n._graphNode),o.add(n._graphNode),t=t.filter((e=>-1===e.indexOf(n._graphNode)))}return o}function toposort(e,n){let o=e.length;const t=new Array(o),r={};let s=o;const i=makeOutgoingEdges(n),a=makeNodesHash(e);for(;s--;)r[s]||visit(e[s],s,new Set);return t;function visit(e,n,s){if(s.has(e)){const n=new Error("Cyclic dependency"+JSON.stringify(e));throw n._graphNode=e,n}if(!a.has(e))return;if(r[n])return;r[n]=!0;let c=i.get(e)||new Set;if(c=Array.from(c),n=c.length){s.add(e);do{const e=c[--n];visit(e,a.get(e),s)}while(n);s.delete(e)}t[--o]=e}}function makeOutgoingEdges(e){const n=new Map;for(let o=0,t=e.length;o{isProcessableRule(e)&&(isBlockIgnored(e)||(isHtmlRule(e)?e.each((e=>{if("decl"!==e.type)return;if(!e.variable||isDeclarationIgnored(e))return;if("initial"===e.value.toLowerCase().trim())return;const o=cascadeLayerNumberForNode(e,a),t=s.get(e.prop)??-1;o&&o>=t&&(s.set(e.prop,o),n.set(e.prop,e.value))})):isRootRule(e)&&e.each((e=>{if("decl"!==e.type)return;if(!e.variable||isDeclarationIgnored(e))return;if("initial"===e.value.toLowerCase().trim())return;const n=cascadeLayerNumberForNode(e,a),t=i.get(e.prop)??-1;n&&n>=t&&(i.set(e.prop,n),o.set(e.prop,e.value))}))))}));for(const[e,o]of n.entries())r.set(e,o);for(const[e,n]of o.entries())r.set(e,n);const c=[],u=new Map;for(const[e,n]of r.entries()){const o=t(n);t.walk(o.nodes,(n=>{if(isVarFunction(n)){const[o]=n.nodes.filter((e=>"word"===e.type));c.push([o.value,e])}})),u.set(e,t(n))}return removeCyclicReferences(u,c),u}function transformValueAST(e,n){if(e.nodes&&e.nodes.length){const o=new Map;e.nodes.forEach((n=>{o.set(n,e)})),t.walk(e.nodes,(e=>{"nodes"in e&&e.nodes.length&&e.nodes.forEach((n=>{o.set(n,e)}))})),t.walk(e.nodes,(e=>{if(!isVarFunction(e))return;const[r,...s]=e.nodes.filter((e=>"div"!==e.type)),{value:i}=r,a=o.get(e);if(!a)return;const c=a.nodes.indexOf(e);if(-1===c)return;let u=!1;s&&t.walk(s,(e=>{if(isVarFunction(e)){const[o]=e.nodes.filter((e=>"word"===e.type));if(n.has(o.value))return;return u=!0,!1}}));let d=[];if(n.has(i)){var p;d=(null==(p=n.get(i))?void 0:p.nodes)??[]}else{if(!s.length||u)return;d=e.nodes.slice(e.nodes.indexOf(s[0]))}d.length?(a.nodes.splice(c,1,...d),a.nodes.forEach((e=>o.set(e,a)))):(a.nodes.splice(c,1,{type:"comment",value:"",sourceIndex:e.sourceIndex,sourceEndIndex:e.sourceEndIndex}),a.nodes.forEach((e=>o.set(e,a))))}),!0)}return e.toString()}var transformProperties=(e,n,o)=>{if(isTransformableDecl(e)&&!isDeclarationIgnored(e)){const i=e.value;let a=transformValueAST(t(i),n);const c=new Set;for(;a.includes("--")&&a.toLowerCase().includes("var(")&&!c.has(a);){c.add(a);a=transformValueAST(t(a),n)}if(a!==i){if(parentHasExactFallback(e,a))return void(o.preserve||e.remove());if(o.preserve){var r;const n=e.cloneBefore({value:a});hasTrailingComment(n)&&null!=(r=n.raws)&&r.value&&(n.raws.value.value=n.value.replace(m,"$1"),n.raws.value.raw=n.raws.value.value+n.raws.value.raw.replace(m,"$2"))}else{var s;e.value=a,hasTrailingComment(e)&&null!=(s=e.raws)&&s.value&&(e.raws.value.value=e.value.replace(m,"$1"),e.raws.value.raw=e.raws.value.value+e.raws.value.raw.replace(m,"$2"))}}}};const isTransformableDecl=e=>!e.variable&&e.value.includes("--")&&e.value.toLowerCase().includes("var("),hasTrailingComment=e=>{var n,o;return"value"in Object(Object(e.raws).value)&&"raw"in((null==(n=e.raws)?void 0:n.value)??{})&&m.test((null==(o=e.raws.value)?void 0:o.raw)??"")},m=/^([\W\w]+)(\s*\/\*[\W\w]+?\*\/)$/;function parentHasExactFallback(e,n){if(!e||!e.parent)return!1;let o=!1;const t=e.parent.index(e);return e.parent.each(((r,s)=>r!==e&&(!(s>=t)&&void("decl"===r.type&&r.prop.toLowerCase()===e.prop.toLowerCase()&&r.value===n&&(o=!0))))),o}const creator=e=>{const n=!("preserve"in Object(e))||Boolean(null==e?void 0:e.preserve);if("importFrom"in Object(e))throw new Error('[postcss-custom-properties] "importFrom" is no longer supported');if("exportTo"in Object(e))throw new Error('[postcss-custom-properties] "exportTo" is no longer supported');return{postcssPlugin:"postcss-custom-properties",prepare:()=>{let e=new Map;return{Once:n=>{e=getCustomPropertiesFromRoot(n)},Declaration:o=>{let r=e;if(n&&o.parent){let n=!1;o.parent.each((s=>{o!==s&&"decl"===s.type&&s.variable&&!isDeclarationIgnored(s)&&(n||(r=new Map(e),n=!0),"initial"!==s.value.toLowerCase().trim()?r.set(s.prop,t(s.value)):r.delete(s.prop))}))}transformProperties(o,r,{preserve:n})}}}}};creator.postcss=!0,e.exports=creator}};var n={};function __nccwpck_require__(o){var t=n[o];if(t!==undefined){return t.exports}var r=n[o]={exports:{}};var s=true;try{e[o](r,r.exports,__nccwpck_require__);s=false}finally{if(s)delete n[o]}return r.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var o=__nccwpck_require__(353);module.exports=o})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/postcss-custom-properties/package.json b/packages/builder/builder-shared/compiled/postcss-custom-properties/package.json deleted file mode 100644 index 91855bfaa4ec..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-custom-properties/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"postcss-custom-properties","author":"Jonathan Neal ","version":"13.1.5","funding":{"type":"opencollective","url":"https://opencollective.com/csstools"},"license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/postcss-flexbugs-fixes/index.d.ts b/packages/builder/builder-shared/compiled/postcss-flexbugs-fixes/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-flexbugs-fixes/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/postcss-flexbugs-fixes/index.js b/packages/builder/builder-shared/compiled/postcss-flexbugs-fixes/index.js deleted file mode 100644 index fbb515f3a266..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-flexbugs-fixes/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={750:(e,r,a)=>{var u=a(977);function shouldSetZeroBasis(e){if(!e){return false}return e==="0"||e.replace(/\s/g,"")==="0px"}function properBasis(e){if(shouldSetZeroBasis(e)){return"0%"}return e}e.exports=function(e){if(e.prop==="flex"){var r=u.list.space(e.value);var a="0";var s="1";var t="0%";if(r[0]){a=r[0]}if(r[1]){if(!isNaN(r[1])){s=r[1]}else{t=r[1]}}if(r[2]){t=r[2]}e.value=a+" "+s+" "+properBasis(t)}}},155:(e,r,a)=>{var u=a(977);e.exports=function(e){if(e.prop==="flex"){var r=u.list.space(e.value);var a=r[0];var s=r[1]||"1";var t=r[2]||"0%";if(t==="0%")t=null;e.value=a+" "+s+(t?" "+t:"")}}},114:(e,r,a)=>{var u=a(977);e.exports=function(e){var r=/(\d{1,}) (\d{1,}) (calc\(.*\))/g;var a=r.exec(e.value);if(e.prop==="flex"&&a){var s=u.decl({prop:"flex-grow",value:a[1],source:e.source});var t=u.decl({prop:"flex-shrink",value:a[2],source:e.source});var i=u.decl({prop:"flex-basis",value:a[3],source:e.source});e.parent.insertBefore(e,s);e.parent.insertBefore(e,t);e.parent.insertBefore(e,i);e.remove()}}},662:(e,r,a)=>{var u=a(750);var s=a(155);var t=a(114);var i=["none","auto","content","inherit","initial","unset"];e.exports=function(e){var r=Object.assign({bug4:true,bug6:true,bug81a:true},e);return{postcssPlugin:"postcss-flexbugs-fixes",Once:function(e,a){e.walkDecls((function(e){if(e.value.indexOf("var(")>-1){return}if(e.value==="none"){return}var n=a.list.space(e.value);if(i.indexOf(e.value)>0&&n.length===1){return}if(r.bug4){u(e)}if(r.bug6){s(e)}if(r.bug81a){t(e)}}))}}};e.exports.postcss=true},977:e=>{"use strict";e.exports=require("postcss")}};var r={};function __nccwpck_require__(a){var u=r[a];if(u!==undefined){return u.exports}var s=r[a]={exports:{}};var t=true;try{e[a](s,s.exports,__nccwpck_require__);t=false}finally{if(t)delete r[a]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var a=__nccwpck_require__(662);module.exports=a})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/postcss-flexbugs-fixes/license b/packages/builder/builder-shared/compiled/postcss-flexbugs-fixes/license deleted file mode 100644 index 39fab027fe28..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-flexbugs-fixes/license +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright 2015 Luis Rudge - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/postcss-flexbugs-fixes/package.json b/packages/builder/builder-shared/compiled/postcss-flexbugs-fixes/package.json deleted file mode 100644 index 6b8a556f35eb..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-flexbugs-fixes/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"postcss-flexbugs-fixes","author":"Luis Rudge ","version":"5.0.2","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/postcss-font-variant/index.d.ts b/packages/builder/builder-shared/compiled/postcss-font-variant/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-font-variant/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/postcss-font-variant/index.js b/packages/builder/builder-shared/compiled/postcss-font-variant/index.js deleted file mode 100644 index 899ea32e630c..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-font-variant/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={690:e=>{const n={"font-variant-ligatures":{"common-ligatures":'"liga", "clig"',"no-common-ligatures":'"liga", "clig off"',"discretionary-ligatures":'"dlig"',"no-discretionary-ligatures":'"dlig" off',"historical-ligatures":'"hlig"',"no-historical-ligatures":'"hlig" off',contextual:'"calt"',"no-contextual":'"calt" off'},"font-variant-position":{sub:'"subs"',super:'"sups"',normal:'"subs" off, "sups" off'},"font-variant-caps":{"small-caps":'"smcp"',"all-small-caps":'"smcp", "c2sc"',"petite-caps":'"pcap"',"all-petite-caps":'"pcap", "c2pc"',unicase:'"unic"',"titling-caps":'"titl"'},"font-variant-numeric":{"lining-nums":'"lnum"',"oldstyle-nums":'"onum"',"proportional-nums":'"pnum"',"tabular-nums":'"tnum"',"diagonal-fractions":'"frac"',"stacked-fractions":'"afrc"',ordinal:'"ordn"',"slashed-zero":'"zero"'},"font-kerning":{normal:'"kern"',none:'"kern" off'},"font-variant":{normal:"normal",inherit:"inherit"}};for(const e in n){const t=n[e];for(const e in t){if(!(e in n["font-variant"])){n["font-variant"][e]=t[e]}}}function getFontFeatureSettingsPrevTo(e){let n=null;e.parent.walkDecls((e=>{if(e.prop==="font-feature-settings"){n=e}}));if(n===null){n=e.clone();n.prop="font-feature-settings";n.value="";e.parent.insertBefore(e,n)}return n}function walkRule(e){let t=null;e.walkDecls((e=>{if(!n[e.prop]){return null}let a=e.value;if(e.prop==="font-variant"){a=e.value.split(/\s+/g).map((e=>n["font-variant"][e])).join(", ")}else if(n[e.prop][e.value]){a=n[e.prop][e.value]}if(t===null){t=getFontFeatureSettingsPrevTo(e)}if(t.value&&t.value!==a){t.value+=", "+a}else{t.value=a}}))}e.exports=()=>({postcssPlugin:"postcss-font-variant",Once(e){e.walkRules(walkRule)}});e.exports.postcss=true}};var n={};function __nccwpck_require__(t){var a=n[t];if(a!==undefined){return a.exports}var r=n[t]={exports:{}};var i=true;try{e[t](r,r.exports,__nccwpck_require__);i=false}finally{if(i)delete n[t]}return r.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(690);module.exports=t})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/postcss-font-variant/license b/packages/builder/builder-shared/compiled/postcss-font-variant/license deleted file mode 100755 index efbafd76b2be..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-font-variant/license +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Maxime Thirouin & Ian Storm Taylor - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/postcss-font-variant/package.json b/packages/builder/builder-shared/compiled/postcss-font-variant/package.json deleted file mode 100644 index 2733161ca228..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-font-variant/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"postcss-font-variant","author":"Maxime Thirouin","version":"5.0.0","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/postcss-initial/index.d.ts b/packages/builder/builder-shared/compiled/postcss-initial/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-initial/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/postcss-initial/index.js b/packages/builder/builder-shared/compiled/postcss-initial/index.js deleted file mode 100644 index 74d26a7dc8ec..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-initial/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var i={986:(i,t,r)=>{var n=r(614);i.exports=function postcssInitial(i){i=i||{};i.reset=i.reset||"all";i.replace=i.replace||false;var t=n(i.reset==="inherited");var getPropPrevTo=function(i,t){var r=false;t.parent.walkDecls((function(i){if(i.prop===t.prop&&i.value!==t.value){r=true}}));return r};return{postcssPlugin:"postcss-initial",Declaration:function(r){if(!/\binitial\b/.test(r.value)){return}var n=t(r.prop,r.value);if(n.length===0)return;n.forEach((function(i){if(!getPropPrevTo(r.prop,r)){r.cloneBefore(i)}}));if(i.replace===true){r.remove()}}}};i.exports.postcss=true},614:(i,t,r)=>{var n=r(640);function template(i,t){return i.replace(/\$\{([\w\-\.]*)\}/g,(function(i,r){var n=t[r];return typeof n!=="undefined"&&n!==null?n:""}))}function _getRulesMap(i){return i.filter((function(i){return!i.combined})).reduce((function(i,t){i[t.prop.replace(/\-/g,"")]=t.initial;return i}),{})}function _compileDecls(i){var t=_getRulesMap(i);return i.map((function(i){if(i.combined&&i.initial){i.initial=template(i.initial.replace(/\-/g,""),t)}return i}))}function _getRequirements(i){return i.reduce((function(i,t){if(!t.contains)return i;return t.contains.reduce((function(i,r){i[r]=t;return i}),i)}),{})}function _expandContainments(i){var t=_getRequirements(i);return i.filter((function(i){return!i.contains})).map((function(i){var r=t[i.prop];if(r){i.requiredBy=r.prop;i.basic=i.basic||r.basic;i.inherited=i.inherited||r.inherited}return i}))}var e=_expandContainments(_compileDecls(n));function _clearDecls(i,t){return i.map((function(i){return{prop:i.prop,value:t.replace(/\binitial\b/g,i.initial)}}))}function _allDecls(i){return e.filter((function(t){var r=t.combined||t.basic;if(i)return r&&t.inherited;return r}))}function _concreteDecl(i){return e.filter((function(t){return i===t.prop||i===t.requiredBy}))}function makeFallbackFunction(i){return function(t,r){var n;if(t==="all"){n=_allDecls(i)}else{n=_concreteDecl(t)}return _clearDecls(n,r)}}i.exports=makeFallbackFunction},640:i=>{"use strict";i.exports=JSON.parse('[{"prop":"animation","initial":"${animation-name} ${animation-duration} ${animation-timing-function} ${animation-delay} ${animation-iteration-count} ${animation-direction} ${animation-fill-mode} ${animation-play-state}","combined":true},{"prop":"animation-delay","initial":"0s"},{"prop":"animation-direction","initial":"normal"},{"prop":"animation-duration","initial":"0s"},{"prop":"animation-fill-mode","initial":"none"},{"prop":"animation-iteration-count","initial":"1"},{"prop":"animation-name","initial":"none"},{"prop":"animation-play-state","initial":"running"},{"prop":"animation-timing-function","initial":"ease"},{"prop":"backface-visibility","initial":"visible","basic":true},{"prop":"background","initial":"${background-color} ${background-image} ${background-repeat} ${background-position} / ${background-size} ${background-origin} ${background-clip} ${background-attachment}","combined":true},{"prop":"background-attachment","initial":"scroll"},{"prop":"background-clip","initial":"border-box"},{"prop":"background-color","initial":"transparent"},{"prop":"background-image","initial":"none"},{"prop":"background-origin","initial":"padding-box"},{"prop":"background-position","initial":"0 0"},{"prop":"background-position-x","initial":"0"},{"prop":"background-position-y","initial":"0"},{"prop":"background-repeat","initial":"repeat"},{"prop":"background-size","initial":"auto auto"},{"prop":"border","initial":"${border-width} ${border-style} ${border-color}","combined":true},{"prop":"border-style","initial":"none"},{"prop":"border-width","initial":"medium"},{"prop":"border-color","initial":"currentColor"},{"prop":"border-bottom","initial":"0"},{"prop":"border-bottom-color","initial":"currentColor"},{"prop":"border-bottom-left-radius","initial":"0"},{"prop":"border-bottom-right-radius","initial":"0"},{"prop":"border-bottom-style","initial":"none"},{"prop":"border-bottom-width","initial":"medium"},{"prop":"border-collapse","initial":"separate","basic":true,"inherited":true},{"prop":"border-image","initial":"none","basic":true},{"prop":"border-left","initial":"0"},{"prop":"border-left-color","initial":"currentColor"},{"prop":"border-left-style","initial":"none"},{"prop":"border-left-width","initial":"medium"},{"prop":"border-radius","initial":"0","basic":true},{"prop":"border-right","initial":"0"},{"prop":"border-right-color","initial":"currentColor"},{"prop":"border-right-style","initial":"none"},{"prop":"border-right-width","initial":"medium"},{"prop":"border-spacing","initial":"0","basic":true,"inherited":true},{"prop":"border-top","initial":"0"},{"prop":"border-top-color","initial":"currentColor"},{"prop":"border-top-left-radius","initial":"0"},{"prop":"border-top-right-radius","initial":"0"},{"prop":"border-top-style","initial":"none"},{"prop":"border-top-width","initial":"medium"},{"prop":"bottom","initial":"auto","basic":true},{"prop":"box-shadow","initial":"none","basic":true},{"prop":"box-sizing","initial":"content-box","basic":true},{"prop":"caption-side","initial":"top","basic":true,"inherited":true},{"prop":"clear","initial":"none","basic":true},{"prop":"clip","initial":"auto","basic":true},{"prop":"color","initial":"#000","basic":true},{"prop":"columns","initial":"auto","basic":true},{"prop":"column-count","initial":"auto","basic":true},{"prop":"column-fill","initial":"balance","basic":true},{"prop":"column-gap","initial":"normal","basic":true},{"prop":"column-rule","initial":"${column-rule-width} ${column-rule-style} ${column-rule-color}","combined":true},{"prop":"column-rule-color","initial":"currentColor"},{"prop":"column-rule-style","initial":"none"},{"prop":"column-rule-width","initial":"medium"},{"prop":"column-span","initial":"1","basic":true},{"prop":"column-width","initial":"auto","basic":true},{"prop":"content","initial":"normal","basic":true},{"prop":"counter-increment","initial":"none","basic":true},{"prop":"counter-reset","initial":"none","basic":true},{"prop":"cursor","initial":"auto","basic":true,"inherited":true},{"prop":"direction","initial":"ltr","basic":true,"inherited":true},{"prop":"display","initial":"inline","basic":true},{"prop":"empty-cells","initial":"show","basic":true,"inherited":true},{"prop":"float","initial":"none","basic":true},{"prop":"font","contains":["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],"basic":true,"inherited":true},{"prop":"font-family","initial":"serif"},{"prop":"font-size","initial":"medium"},{"prop":"font-style","initial":"normal"},{"prop":"font-variant","initial":"normal"},{"prop":"font-weight","initial":"normal"},{"prop":"font-stretch","initial":"normal"},{"prop":"line-height","initial":"normal","inherited":true},{"prop":"height","initial":"auto","basic":true},{"prop":"hyphens","initial":"none","basic":true,"inherited":true},{"prop":"left","initial":"auto","basic":true},{"prop":"letter-spacing","initial":"normal","basic":true,"inherited":true},{"prop":"list-style","initial":"${list-style-type} ${list-style-position} ${list-style-image}","combined":true,"inherited":true},{"prop":"list-style-image","initial":"none"},{"prop":"list-style-position","initial":"outside"},{"prop":"list-style-type","initial":"disc"},{"prop":"margin","initial":"0","basic":true},{"prop":"margin-bottom","initial":"0"},{"prop":"margin-left","initial":"0"},{"prop":"margin-right","initial":"0"},{"prop":"margin-top","initial":"0"},{"prop":"max-height","initial":"none","basic":true},{"prop":"max-width","initial":"none","basic":true},{"prop":"min-height","initial":"0","basic":true},{"prop":"min-width","initial":"0","basic":true},{"prop":"opacity","initial":"1","basic":true},{"prop":"orphans","initial":"2","basic":true},{"prop":"outline","initial":"${outline-width} ${outline-style} ${outline-color}","combined":true},{"prop":"outline-color","initial":"invert"},{"prop":"outline-style","initial":"none"},{"prop":"outline-width","initial":"medium"},{"prop":"overflow","initial":"visible","basic":true},{"prop":"overflow-x","initial":"visible","basic":true},{"prop":"overflow-y","initial":"visible","basic":true},{"prop":"padding","initial":"0","basic":true},{"prop":"padding-bottom","initial":"0"},{"prop":"padding-left","initial":"0"},{"prop":"padding-right","initial":"0"},{"prop":"padding-top","initial":"0"},{"prop":"page-break-after","initial":"auto","basic":true},{"prop":"page-break-before","initial":"auto","basic":true},{"prop":"page-break-inside","initial":"auto","basic":true},{"prop":"perspective","initial":"none","basic":true},{"prop":"perspective-origin","initial":"50% 50%","basic":true},{"prop":"position","initial":"static","basic":true},{"prop":"quotes","initial":"“ ” ‘ ’"},{"prop":"right","initial":"auto","basic":true},{"prop":"tab-size","initial":"8","basic":true,"inherited":true},{"prop":"table-layout","initial":"auto","basic":true},{"prop":"text-align","initial":"left","basic":true,"inherited":true},{"prop":"text-align-last","initial":"auto","basic":true,"inherited":true},{"prop":"text-decoration","initial":"${text-decoration-line}","combined":true},{"prop":"text-decoration-color","initial":"inherited"},{"prop":"text-decoration-color","initial":"currentColor"},{"prop":"text-decoration-line","initial":"none"},{"prop":"text-decoration-style","initial":"solid"},{"prop":"text-indent","initial":"0","basic":true,"inherited":true},{"prop":"text-shadow","initial":"none","basic":true,"inherited":true},{"prop":"text-transform","initial":"none","basic":true,"inherited":true},{"prop":"top","initial":"auto","basic":true},{"prop":"transform","initial":"none","basic":true},{"prop":"transform-origin","initial":"50% 50% 0","basic":true},{"prop":"transform-style","initial":"flat","basic":true},{"prop":"transition","initial":"${transition-property} ${transition-duration} ${transition-timing-function} ${transition-delay}","combined":true},{"prop":"transition-delay","initial":"0s"},{"prop":"transition-duration","initial":"0s"},{"prop":"transition-property","initial":"none"},{"prop":"transition-timing-function","initial":"ease"},{"prop":"unicode-bidi","initial":"normal","basic":true},{"prop":"vertical-align","initial":"baseline","basic":true},{"prop":"visibility","initial":"visible","basic":true,"inherited":true},{"prop":"white-space","initial":"normal","basic":true,"inherited":true},{"prop":"widows","initial":"2","basic":true,"inherited":true},{"prop":"width","initial":"auto","basic":true},{"prop":"word-spacing","initial":"normal","basic":true,"inherited":true},{"prop":"z-index","initial":"auto","basic":true}]')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var e=t[r]={exports:{}};var o=true;try{i[r](e,e.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}return e.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(986);module.exports=r})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/postcss-initial/license b/packages/builder/builder-shared/compiled/postcss-initial/license deleted file mode 100644 index deb01646f4cc..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-initial/license +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright 2015 Maksim Koretskiy - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/postcss-initial/package.json b/packages/builder/builder-shared/compiled/postcss-initial/package.json deleted file mode 100644 index 66ccab18a7fa..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-initial/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"postcss-initial","author":"Maksim Koretskiy ","version":"4.0.1","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/postcss-loader/index.d.ts b/packages/builder/builder-shared/compiled/postcss-loader/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-loader/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/postcss-loader/index.js b/packages/builder/builder-shared/compiled/postcss-loader/index.js deleted file mode 100644 index 856d749f8ef9..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-loader/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={4571:(e,t,r)=>{"use strict";e=r.nmd(e);const n=r(6755);const wrapAnsi16=(e,t)=>function(){const r=e.apply(n,arguments);return`[${r+t}m`};const wrapAnsi256=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};5;${r}m`};const wrapAnsi16m=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function assembleStyles(){const e=new Map;const t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(const r of Object.keys(t)){const n=t[r];for(const r of Object.keys(n)){const s=n[r];t[r]={open:`[${s[0]}m`,close:`[${s[1]}m`};n[r]=t[r];e.set(s[0],s[1])}Object.defineProperty(t,r,{value:n,enumerable:false});Object.defineProperty(t,"codes",{value:e,enumerable:false})}const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];t.color.close="";t.bgColor.close="";t.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};t.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};t.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};t.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};t.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};t.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let e of Object.keys(n)){if(typeof n[e]!=="object"){continue}const r=n[e];if(e==="ansi16"){e="ansi"}if("ansi16"in r){t.color.ansi[e]=wrapAnsi16(r.ansi16,0);t.bgColor.ansi[e]=wrapAnsi16(r.ansi16,10)}if("ansi256"in r){t.color.ansi256[e]=wrapAnsi256(r.ansi256,0);t.bgColor.ansi256[e]=wrapAnsi256(r.ansi256,10)}if("rgb"in r){t.color.ansi16m[e]=wrapAnsi16m(r.rgb,0);t.bgColor.ansi16m[e]=wrapAnsi16m(r.rgb,10)}}return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},1576:e=>{"use strict";const callsites=()=>{const e=Error.prepareStackTrace;Error.prepareStackTrace=(e,t)=>t;const t=(new Error).stack.slice(1);Error.prepareStackTrace=e;return t};e.exports=callsites;e.exports["default"]=callsites},6673:(e,t,r)=>{"use strict";const n=r(4434);const s=r(4571);const i=r(2332).stdout;const o=r(1956);const a=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const l=["ansi","ansi","ansi256","ansi16m"];const c=new Set(["gray"]);const u=Object.create(null);function applyOptions(e,t){t=t||{};const r=i?i.level:0;e.level=t.level===undefined?r:t.level;e.enabled="enabled"in t?t.enabled:e.level>0}function Chalk(e){if(!this||!(this instanceof Chalk)||this.template){const t={};applyOptions(t,e);t.template=function(){const e=[].slice.call(arguments);return chalkTag.apply(null,[t.template].concat(e))};Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=Chalk;return t.template}applyOptions(this,e)}if(a){s.blue.open=""}for(const e of Object.keys(s)){s[e].closeRe=new RegExp(n(s[e].close),"g");u[e]={get(){const t=s[e];return build.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}}u.visible={get(){return build.call(this,this._styles||[],true,"visible")}};s.color.closeRe=new RegExp(n(s.color.close),"g");for(const e of Object.keys(s.color.ansi)){if(c.has(e)){continue}u[e]={get(){const t=this.level;return function(){const r=s.color[l[t]][e].apply(null,arguments);const n={open:r,close:s.color.close,closeRe:s.color.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}s.bgColor.closeRe=new RegExp(n(s.bgColor.close),"g");for(const e of Object.keys(s.bgColor.ansi)){if(c.has(e)){continue}const t="bg"+e[0].toUpperCase()+e.slice(1);u[t]={get(){const t=this.level;return function(){const r=s.bgColor[l[t]][e].apply(null,arguments);const n={open:r,close:s.bgColor.close,closeRe:s.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}const f=Object.defineProperties((()=>{}),u);function build(e,t,r){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=e;builder._empty=t;const n=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return n.level},set(e){n.level=e}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return n.enabled},set(e){n.enabled=e}});builder.hasGrey=this.hasGrey||r==="gray"||r==="grey";builder.__proto__=f;return builder}function applyStyle(){const e=arguments;const t=e.length;let r=String(arguments[0]);if(t===0){return""}if(t>1){for(let n=1;n{"use strict";const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const s=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const i=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){if(e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}return i.get(e)||e}function parseArguments(e,t){const r=[];const i=t.trim().split(/\s*,\s*/g);let o;for(const t of i){if(!isNaN(t)){r.push(Number(t))}else if(o=t.match(n)){r.push(o[2].replace(s,((e,t,r)=>t?unescape(t):r)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let n;while((n=r.exec(e))!==null){const e=n[1];if(n[2]){const r=parseArguments(e,n[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let n=e;for(const e of Object.keys(r)){if(Array.isArray(r[e])){if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}if(r[e].length>0){n=n[e].apply(n,r[e])}else{n=n[e]}}}return n}e.exports=(e,r)=>{const n=[];const s=[];let i=[];r.replace(t,((t,r,o,a,l,c)=>{if(r){i.push(unescape(r))}else if(a){const t=i.join("");i=[];s.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:o,styles:parseStyle(a)})}else if(l){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}s.push(buildStyle(e,n)(i.join("")));i=[];n.pop()}else{i.push(c)}}));s.push(i.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return s.join("")}},4461:(e,t,r)=>{var n=r(391);var s={};for(var i in n){if(n.hasOwnProperty(i)){s[n[i]]=i}}var o=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in o){if(o.hasOwnProperty(a)){if(!("channels"in o[a])){throw new Error("missing channels property: "+a)}if(!("labels"in o[a])){throw new Error("missing channel labels property: "+a)}if(o[a].labels.length!==o[a].channels){throw new Error("channel and label counts mismatch: "+a)}var l=o[a].channels;var c=o[a].labels;delete o[a].channels;delete o[a].labels;Object.defineProperty(o[a],"channels",{value:l});Object.defineProperty(o[a],"labels",{value:c})}}o.rgb.hsl=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.min(t,r,n);var i=Math.max(t,r,n);var o=i-s;var a;var l;var c;if(i===s){a=0}else if(t===i){a=(r-n)/o}else if(r===i){a=2+(n-t)/o}else if(n===i){a=4+(t-r)/o}a=Math.min(a*60,360);if(a<0){a+=360}c=(s+i)/2;if(i===s){l=0}else if(c<=.5){l=o/(i+s)}else{l=o/(2-i-s)}return[a,l*100,c*100]};o.rgb.hsv=function(e){var t;var r;var n;var s;var i;var o=e[0]/255;var a=e[1]/255;var l=e[2]/255;var c=Math.max(o,a,l);var u=c-Math.min(o,a,l);var diffc=function(e){return(c-e)/6/u+1/2};if(u===0){s=i=0}else{i=u/c;t=diffc(o);r=diffc(a);n=diffc(l);if(o===c){s=n-r}else if(a===c){s=1/3+t-n}else if(l===c){s=2/3+r-t}if(s<0){s+=1}else if(s>1){s-=1}}return[s*360,i*100,c*100]};o.rgb.hwb=function(e){var t=e[0];var r=e[1];var n=e[2];var s=o.rgb.hsl(e)[0];var i=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[s,i*100,n*100]};o.rgb.cmyk=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s;var i;var o;var a;a=Math.min(1-t,1-r,1-n);s=(1-t-a)/(1-a)||0;i=(1-r-a)/(1-a)||0;o=(1-n-a)/(1-a)||0;return[s*100,i*100,o*100,a*100]};function comparativeDistance(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}o.rgb.keyword=function(e){var t=s[e];if(t){return t}var r=Infinity;var i;for(var o in n){if(n.hasOwnProperty(o)){var a=n[o];var l=comparativeDistance(e,a);if(l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var s=t*.4124+r*.3576+n*.1805;var i=t*.2126+r*.7152+n*.0722;var o=t*.0193+r*.1192+n*.9505;return[s*100,i*100,o*100]};o.rgb.lab=function(e){var t=o.rgb.xyz(e);var r=t[0];var n=t[1];var s=t[2];var i;var a;var l;r/=95.047;n/=100;s/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=s>.008856?Math.pow(s,1/3):7.787*s+16/116;i=116*n-16;a=500*(r-n);l=200*(n-s);return[i,a,l]};o.hsl.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s;var i;var o;var a;var l;if(r===0){l=n*255;return[l,l,l]}if(n<.5){i=n*(1+r)}else{i=n+r-n*r}s=2*n-i;a=[0,0,0];for(var c=0;c<3;c++){o=t+1/3*-(c-1);if(o<0){o++}if(o>1){o--}if(6*o<1){l=s+(i-s)*6*o}else if(2*o<1){l=i}else if(3*o<2){l=s+(i-s)*(2/3-o)*6}else{l=s}a[c]=l*255}return a};o.hsl.hsv=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=r;var i=Math.max(n,.01);var o;var a;n*=2;r*=n<=1?n:2-n;s*=i<=1?i:2-i;a=(n+r)/2;o=n===0?2*s/(i+s):2*r/(n+r);return[t,o*100,a*100]};o.hsv.rgb=function(e){var t=e[0]/60;var r=e[1]/100;var n=e[2]/100;var s=Math.floor(t)%6;var i=t-Math.floor(t);var o=255*n*(1-r);var a=255*n*(1-r*i);var l=255*n*(1-r*(1-i));n*=255;switch(s){case 0:return[n,l,o];case 1:return[a,n,o];case 2:return[o,n,l];case 3:return[o,a,n];case 4:return[l,o,n];case 5:return[n,o,a]}};o.hsv.hsl=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=Math.max(n,.01);var i;var o;var a;a=(2-r)*n;i=(2-r)*s;o=r*s;o/=i<=1?i:2-i;o=o||0;a/=2;return[t,o*100,a*100]};o.hwb.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s=r+n;var i;var o;var a;var l;if(s>1){r/=s;n/=s}i=Math.floor(6*t);o=1-n;a=6*t-i;if((i&1)!==0){a=1-a}l=r+a*(o-r);var c;var u;var f;switch(i){default:case 6:case 0:c=o;u=l;f=r;break;case 1:c=l;u=o;f=r;break;case 2:c=r;u=o;f=l;break;case 3:c=r;u=l;f=o;break;case 4:c=l;u=r;f=o;break;case 5:c=o;u=r;f=l;break}return[c*255,u*255,f*255]};o.cmyk.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s=e[3]/100;var i;var o;var a;i=1-Math.min(1,t*(1-s)+s);o=1-Math.min(1,r*(1-s)+s);a=1-Math.min(1,n*(1-s)+s);return[i*255,o*255,a*255]};o.xyz.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s;var i;var o;s=t*3.2406+r*-1.5372+n*-.4986;i=t*-.9689+r*1.8758+n*.0415;o=t*.0557+r*-.204+n*1.057;s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92;i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92;o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92;s=Math.min(Math.max(0,s),1);i=Math.min(Math.max(0,i),1);o=Math.min(Math.max(0,o),1);return[s*255,i*255,o*255]};o.xyz.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var o;t/=95.047;r/=100;n/=108.883;t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=116*r-16;i=500*(t-r);o=200*(r-n);return[s,i,o]};o.lab.xyz=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var o;i=(t+16)/116;s=r/500+i;o=i-n/200;var a=Math.pow(i,3);var l=Math.pow(s,3);var c=Math.pow(o,3);i=a>.008856?a:(i-16/116)/7.787;s=l>.008856?l:(s-16/116)/7.787;o=c>.008856?c:(o-16/116)/7.787;s*=95.047;i*=100;o*=108.883;return[s,i,o]};o.lab.lch=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var o;s=Math.atan2(n,r);i=s*360/2/Math.PI;if(i<0){i+=360}o=Math.sqrt(r*r+n*n);return[t,o,i]};o.lch.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var o;o=n/360*2*Math.PI;s=r*Math.cos(o);i=r*Math.sin(o);return[t,s,i]};o.rgb.ansi16=function(e){var t=e[0];var r=e[1];var n=e[2];var s=1 in arguments?arguments[1]:o.rgb.hsv(e)[2];s=Math.round(s/50);if(s===0){return 30}var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));if(s===2){i+=60}return i};o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])};o.rgb.ansi256=function(e){var t=e[0];var r=e[1];var n=e[2];if(t===r&&r===n){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}var s=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return s};o.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}var r=(~~(e>50)+1)*.5;var n=(t&1)*r*255;var s=(t>>1&1)*r*255;var i=(t>>2&1)*r*255;return[n,s,i]};o.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r;var n=Math.floor(e/36)/5*255;var s=Math.floor((r=e%36)/6)/5*255;var i=r%6/5*255;return[n,s,i]};o.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);var r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};o.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}var r=t[0];if(t[0].length===3){r=r.split("").map((function(e){return e+e})).join("")}var n=parseInt(r,16);var s=n>>16&255;var i=n>>8&255;var o=n&255;return[s,i,o]};o.rgb.hcg=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.max(Math.max(t,r),n);var i=Math.min(Math.min(t,r),n);var o=s-i;var a;var l;if(o<1){a=i/(1-o)}else{a=0}if(o<=0){l=0}else if(s===t){l=(r-n)/o%6}else if(s===r){l=2+(n-t)/o}else{l=4+(t-r)/o+4}l/=6;l%=1;return[l*360,o*100,a*100]};o.hsl.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1;var s=0;if(r<.5){n=2*t*r}else{n=2*t*(1-r)}if(n<1){s=(r-.5*n)/(1-n)}return[e[0],n*100,s*100]};o.hsv.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=t*r;var s=0;if(n<1){s=(r-n)/(1-n)}return[e[0],n*100,s*100]};o.hcg.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;if(r===0){return[n*255,n*255,n*255]}var s=[0,0,0];var i=t%1*6;var o=i%1;var a=1-o;var l=0;switch(Math.floor(i)){case 0:s[0]=1;s[1]=o;s[2]=0;break;case 1:s[0]=a;s[1]=1;s[2]=0;break;case 2:s[0]=0;s[1]=1;s[2]=o;break;case 3:s[0]=0;s[1]=a;s[2]=1;break;case 4:s[0]=o;s[1]=0;s[2]=1;break;default:s[0]=1;s[1]=0;s[2]=a}l=(1-r)*n;return[(r*s[0]+l)*255,(r*s[1]+l)*255,(r*s[2]+l)*255]};o.hcg.hsv=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);var s=0;if(n>0){s=t/n}return[e[0],s*100,n*100]};o.hcg.hsl=function(e){var t=e[1]/100;var r=e[2]/100;var n=r*(1-t)+.5*t;var s=0;if(n>0&&n<.5){s=t/(2*n)}else if(n>=.5&&n<1){s=t/(2*(1-n))}return[e[0],s*100,n*100]};o.hcg.hwb=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};o.hwb.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1-r;var s=n-t;var i=0;if(s<1){i=(n-s)/(1-s)}return[e[0],s*100,i*100]};o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};o.gray.hsl=o.gray.hsv=function(e){return[0,0,e[0]]};o.gray.hwb=function(e){return[0,100,e[0]]};o.gray.cmyk=function(e){return[0,0,0,e[0]]};o.gray.lab=function(e){return[e[0],0,0]};o.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255;var r=(t<<16)+(t<<8)+t;var n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};o.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},6755:(e,t,r)=>{var n=r(4461);var s=r(1974);var i={};var o=Object.keys(n);function wrapRaw(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}var r=e(t);if(typeof r==="object"){for(var n=r.length,s=0;s{var n=r(4461);function buildGraph(){var e={};var t=Object.keys(n);for(var r=t.length,s=0;s{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},7579:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Explorer=void 0;var n=_interopRequireDefault(r(1017));var s=r(9177);var i=r(6996);var o=r(4618);var a=r(2466);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class Explorer extends s.ExplorerBase{constructor(e){super(e)}async search(e=process.cwd()){const t=await(0,a.getDirectory)(e);const r=await this.searchFromDirectory(t);return r}async searchFromDirectory(e){const t=n.default.resolve(process.cwd(),e);const run=async()=>{const e=await this.searchDirectory(t);const r=this.nextDirectoryToSearch(t,e);if(r){return this.searchFromDirectory(r)}const n=await this.config.transform(e);return n};if(this.searchCache){return(0,o.cacheWrapper)(this.searchCache,t,run)}return run()}async searchDirectory(e){for await(const t of this.config.searchPlaces){const r=await this.loadSearchPlace(e,t);if(this.shouldSearchStopWithResult(r)===true){return r}}return null}async loadSearchPlace(e,t){const r=n.default.join(e,t);const s=await(0,i.readFile)(r);const o=await this.createCosmiconfigResult(r,s);return o}async loadFileContent(e,t){if(t===null){return null}if(t.trim()===""){return undefined}const r=this.getLoaderEntryForFile(e);const n=await r(e,t);return n}async createCosmiconfigResult(e,t){const r=await this.loadFileContent(e,t);const n=this.loadedContentToCosmiconfigResult(e,r);return n}async load(e){this.validateFilePath(e);const t=n.default.resolve(process.cwd(),e);const runLoad=async()=>{const e=await(0,i.readFile)(t,{throwNotFound:true});const r=await this.createCosmiconfigResult(t,e);const n=await this.config.transform(r);return n};if(this.loadCache){return(0,o.cacheWrapper)(this.loadCache,t,runLoad)}return runLoad()}}t.Explorer=Explorer},9177:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getExtensionDescription=getExtensionDescription;t.ExplorerBase=void 0;var n=_interopRequireDefault(r(1017));var s=r(4877);var i=r(4505);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ExplorerBase{constructor(e){if(e.cache===true){this.loadCache=new Map;this.searchCache=new Map}this.config=e;this.validateConfig()}clearLoadCache(){if(this.loadCache){this.loadCache.clear()}}clearSearchCache(){if(this.searchCache){this.searchCache.clear()}}clearCaches(){this.clearLoadCache();this.clearSearchCache()}validateConfig(){const e=this.config;e.searchPlaces.forEach((t=>{const r=n.default.extname(t)||"noExt";const s=e.loaders[r];if(!s){throw new Error(`No loader specified for ${getExtensionDescription(t)}, so searchPlaces item "${t}" is invalid`)}if(typeof s!=="function"){throw new Error(`loader for ${getExtensionDescription(t)} is not a function (type provided: "${typeof s}"), so searchPlaces item "${t}" is invalid`)}}))}shouldSearchStopWithResult(e){if(e===null)return false;if(e.isEmpty&&this.config.ignoreEmptySearchPlaces)return false;return true}nextDirectoryToSearch(e,t){if(this.shouldSearchStopWithResult(t)){return null}const r=nextDirUp(e);if(r===e||e===this.config.stopDir){return null}return r}loadPackageProp(e,t){const r=s.loaders.loadJson(e,t);const n=(0,i.getPropertyByPath)(r,this.config.packageProp);return n||null}getLoaderEntryForFile(e){if(n.default.basename(e)==="package.json"){const e=this.loadPackageProp.bind(this);return e}const t=n.default.extname(e)||"noExt";const r=this.config.loaders[t];if(!r){throw new Error(`No loader specified for ${getExtensionDescription(e)}`)}return r}loadedContentToCosmiconfigResult(e,t){if(t===null){return null}if(t===undefined){return{filepath:e,config:undefined,isEmpty:true}}return{config:t,filepath:e}}validateFilePath(e){if(!e){throw new Error("load must pass a non-empty string")}}}t.ExplorerBase=ExplorerBase;function nextDirUp(e){return n.default.dirname(e)}function getExtensionDescription(e){const t=n.default.extname(e);return t?`extension "${t}"`:"files without extensions"}},7202:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExplorerSync=void 0;var n=_interopRequireDefault(r(1017));var s=r(9177);var i=r(6996);var o=r(4618);var a=r(2466);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ExplorerSync extends s.ExplorerBase{constructor(e){super(e)}searchSync(e=process.cwd()){const t=(0,a.getDirectorySync)(e);const r=this.searchFromDirectorySync(t);return r}searchFromDirectorySync(e){const t=n.default.resolve(process.cwd(),e);const run=()=>{const e=this.searchDirectorySync(t);const r=this.nextDirectoryToSearch(t,e);if(r){return this.searchFromDirectorySync(r)}const n=this.config.transform(e);return n};if(this.searchCache){return(0,o.cacheWrapperSync)(this.searchCache,t,run)}return run()}searchDirectorySync(e){for(const t of this.config.searchPlaces){const r=this.loadSearchPlaceSync(e,t);if(this.shouldSearchStopWithResult(r)===true){return r}}return null}loadSearchPlaceSync(e,t){const r=n.default.join(e,t);const s=(0,i.readFileSync)(r);const o=this.createCosmiconfigResultSync(r,s);return o}loadFileContentSync(e,t){if(t===null){return null}if(t.trim()===""){return undefined}const r=this.getLoaderEntryForFile(e);const n=r(e,t);return n}createCosmiconfigResultSync(e,t){const r=this.loadFileContentSync(e,t);const n=this.loadedContentToCosmiconfigResult(e,r);return n}loadSync(e){this.validateFilePath(e);const t=n.default.resolve(process.cwd(),e);const runLoadSync=()=>{const e=(0,i.readFileSync)(t,{throwNotFound:true});const r=this.createCosmiconfigResultSync(t,e);const n=this.config.transform(r);return n};if(this.loadCache){return(0,o.cacheWrapperSync)(this.loadCache,t,runLoadSync)}return runLoadSync()}}t.ExplorerSync=ExplorerSync},4618:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cacheWrapper=cacheWrapper;t.cacheWrapperSync=cacheWrapperSync;async function cacheWrapper(e,t,r){const n=e.get(t);if(n!==undefined){return n}const s=await r();e.set(t,s);return s}function cacheWrapperSync(e,t,r){const n=e.get(t);if(n!==undefined){return n}const s=r();e.set(t,s);return s}},2466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getDirectory=getDirectory;t.getDirectorySync=getDirectorySync;var n=_interopRequireDefault(r(1017));var s=r(9223);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function getDirectory(e){const t=await(0,s.isDirectory)(e);if(t===true){return e}const r=n.default.dirname(e);return r}function getDirectorySync(e){const t=(0,s.isDirectorySync)(e);if(t===true){return e}const r=n.default.dirname(e);return r}},4505:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getPropertyByPath=getPropertyByPath;function getPropertyByPath(e,t){if(typeof t==="string"&&Object.prototype.hasOwnProperty.call(e,t)){return e[t]}const r=typeof t==="string"?t.split("."):t;return r.reduce(((e,t)=>{if(e===undefined){return e}return e[t]}),e)}},8956:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cosmiconfig=cosmiconfig;t.cosmiconfigSync=cosmiconfigSync;t.defaultLoaders=void 0;var n=_interopRequireDefault(r(2037));var s=r(7579);var i=r(7202);var o=r(4877);var a=r(5173);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function cosmiconfig(e,t={}){const r=normalizeOptions(e,t);const n=new s.Explorer(r);return{search:n.search.bind(n),load:n.load.bind(n),clearLoadCache:n.clearLoadCache.bind(n),clearSearchCache:n.clearSearchCache.bind(n),clearCaches:n.clearCaches.bind(n)}}function cosmiconfigSync(e,t={}){const r=normalizeOptions(e,t);const n=new i.ExplorerSync(r);return{search:n.searchSync.bind(n),load:n.loadSync.bind(n),clearLoadCache:n.clearLoadCache.bind(n),clearSearchCache:n.clearSearchCache.bind(n),clearCaches:n.clearCaches.bind(n)}}const l=Object.freeze({".cjs":o.loaders.loadJs,".js":o.loaders.loadJs,".json":o.loaders.loadJson,".yaml":o.loaders.loadYaml,".yml":o.loaders.loadYaml,noExt:o.loaders.loadYaml});t.defaultLoaders=l;const c=function identity(e){return e};function normalizeOptions(e,t){const r={packageProp:e,searchPlaces:["package.json",`.${e}rc`,`.${e}rc.json`,`.${e}rc.yaml`,`.${e}rc.yml`,`.${e}rc.js`,`.${e}rc.cjs`,`${e}.config.js`,`${e}.config.cjs`],ignoreEmptySearchPlaces:true,stopDir:n.default.homedir(),cache:true,transform:c,loaders:l};const s={...r,...t,loaders:{...r.loaders,...t.loaders}};return s}},4877:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.loaders=void 0;let n;const s=function loadJs(e){if(n===undefined){n=r(833)}const t=n(e);return t};let i;const o=function loadJson(e,t){if(i===undefined){i=r(4302)}try{const e=i(t);return e}catch(t){t.message=`JSON Error in ${e}:\n${t.message}`;throw t}};let a;const l=function loadYaml(e,t){if(a===undefined){a=r(9307)}try{const e=a.parse(t,{prettyErrors:true});return e}catch(t){t.message=`YAML Error in ${e}:\n${t.message}`;throw t}};const c={loadJs:s,loadJson:o,loadYaml:l};t.loaders=c},6996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.readFile=readFile;t.readFileSync=readFileSync;var n=_interopRequireDefault(r(7147));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function fsReadFileAsync(e,t){return new Promise(((r,s)=>{n.default.readFile(e,t,((e,t)=>{if(e){s(e);return}r(t)}))}))}async function readFile(e,t={}){const r=t.throwNotFound===true;try{const t=await fsReadFileAsync(e,"utf8");return t}catch(e){if(r===false&&(e.code==="ENOENT"||e.code==="EISDIR")){return null}throw e}}function readFileSync(e,t={}){const r=t.throwNotFound===true;try{const t=n.default.readFileSync(e,"utf8");return t}catch(e){if(r===false&&(e.code==="ENOENT"||e.code==="EISDIR")){return null}throw e}}},5173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},6305:(e,t,r)=>{"use strict";var n=r(3837);var s=r(1589);var i=function errorEx(e,t){if(!e||e.constructor!==String){t=e||{};e=Error.name}var r=function ErrorEXError(n){if(!this){return new ErrorEXError(n)}n=n instanceof Error?n.message:n||this.message;Error.call(this,n);Error.captureStackTrace(this,r);this.name=e;Object.defineProperty(this,"message",{configurable:true,enumerable:false,get:function(){var e=n.split(/\r?\n/g);for(var r in t){if(!t.hasOwnProperty(r)){continue}var i=t[r];if("message"in i){e=i.message(this[r],e)||e;if(!s(e)){e=[e]}}}return e.join("\n")},set:function(e){n=e}});var i=null;var o=Object.getOwnPropertyDescriptor(this,"stack");var a=o.get;var l=o.value;delete o.value;delete o.writable;o.set=function(e){i=e};o.get=function(){var e=(i||(a?a.call(this):l)).split(/\r?\n+/g);if(!i){e[0]=this.name+": "+this.message}var r=1;for(var n in t){if(!t.hasOwnProperty(n)){continue}var s=t[n];if("line"in s){var o=s.line(this[n]);if(o){e.splice(r++,0," "+o)}}if("stack"in s){s.stack(this[n],e)}}return e.join("\n")};Object.defineProperty(this,"stack",o)};if(Object.setPrototypeOf){Object.setPrototypeOf(r.prototype,Error.prototype);Object.setPrototypeOf(r,Error)}else{n.inherits(r,Error)}return r};i.append=function(e,t){return{message:function(r,n){r=r||t;if(r){n[0]+=" "+e.replace("%s",r.toString())}return n}}};i.line=function(e,t){return{line:function(r){r=r||t;if(r){return e.replace("%s",r.toString())}return null}}};e.exports=i},4434:e=>{"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(t,"\\$&")}},419:e=>{"use strict";e.exports=(e,t)=>{t=t||process.argv;const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const s=t.indexOf("--");return n!==-1&&(s===-1?true:n{"use strict";const n=r(1017);const s=r(2889);const i=r(3938);e.exports=e=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}const t=i(__filename);const r=t?n.dirname(t):__dirname;const o=s(r,e);const a=require.cache[o];if(a&&a.parent){let e=a.parent.children.length;while(e--){if(a.parent.children[e].id===o){a.parent.children.splice(e,1)}}}delete require.cache[o];const l=require.cache[t];return l===undefined?require(o):l.require(o)}},1589:e=>{"use strict";e.exports=function isArrayish(e){if(!e){return false}return e instanceof Array||Array.isArray(e)||e.length>=0&&e.splice instanceof Function}},8629:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},9227:e=>{"use strict";const hexify=e=>{const t=e.charCodeAt(0).toString(16).toUpperCase();return"0x"+(t.length%2?"0":"")+t};const parseError=(e,t,r)=>{if(!t){return{message:e.message+" while parsing empty string",position:0}}const n=e.message.match(/^Unexpected token (.) .*position\s+(\d+)/i);const s=n?+n[2]:e.message.match(/^Unexpected end of JSON.*/i)?t.length-1:null;const i=n?e.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(n[1])} (${hexify(n[1])})`):e.message;if(s!==null&&s!==undefined){const e=s<=r?0:s-r;const n=s+r>=t.length?t.length:s+r;const o=(e===0?"":"...")+t.slice(e,n)+(n===t.length?"":"...");const a=t===o?"":"near ";return{message:i+` while parsing ${a}${JSON.stringify(o)}`,position:s}}else{return{message:i+` while parsing '${t.slice(0,r*2)}'`,position:0}}};class JSONParseError extends SyntaxError{constructor(e,t,r,n){r=r||20;const s=parseError(e,t,r);super(s.message);Object.assign(this,s);this.code="EJSONPARSE";this.systemError=e;Error.captureStackTrace(this,n||this.constructor)}get name(){return this.constructor.name}set name(e){}get[Symbol.toStringTag](){return this.constructor.name}}const t=Symbol.for("indent");const r=Symbol.for("newline");const n=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/;const s=/^(?:\{\}|\[\])((?:\r?\n)+)?$/;const parseJson=(e,i,o)=>{const a=stripBOM(e);o=o||20;try{const[,e="\n",o=" "]=a.match(s)||a.match(n)||[,"",""];const l=JSON.parse(a,i);if(l&&typeof l==="object"){l[r]=e;l[t]=o}return l}catch(t){if(typeof e!=="string"&&!Buffer.isBuffer(e)){const r=Array.isArray(e)&&e.length===0;throw Object.assign(new TypeError(`Cannot parse ${r?"an empty array":String(e)}`),{code:"EJSONPARSE",systemError:t})}throw new JSONParseError(t,a,o,parseJson)}};const stripBOM=e=>String(e).replace(/^\uFEFF/,"");e.exports=parseJson;parseJson.JSONParseError=JSONParseError;parseJson.noExceptions=(e,t)=>{try{return JSON.parse(stripBOM(e),t)}catch(e){}}},4195:(e,t)=>{function set(e,t,r){if(typeof r.value==="object")r.value=klona(r.value);if(!r.enumerable||r.get||r.set||!r.configurable||!r.writable||t==="__proto__"){Object.defineProperty(e,t,r)}else e[t]=r.value}function klona(e){if(typeof e!=="object")return e;var t=0,r,n,s,i=Object.prototype.toString.call(e);if(i==="[object Object]"){s=Object.create(e.__proto__||null)}else if(i==="[object Array]"){s=Array(e.length)}else if(i==="[object Set]"){s=new Set;e.forEach((function(e){s.add(klona(e))}))}else if(i==="[object Map]"){s=new Map;e.forEach((function(e,t){s.set(klona(t),klona(e))}))}else if(i==="[object Date]"){s=new Date(+e)}else if(i==="[object RegExp]"){s=new RegExp(e.source,e.flags)}else if(i==="[object DataView]"){s=new e.constructor(klona(e.buffer))}else if(i==="[object ArrayBuffer]"){s=e.slice(0)}else if(i.slice(-6)==="Array]"){s=new e.constructor(e)}if(s){for(n=Object.getOwnPropertySymbols(e);t{"use strict";t.__esModule=true;t.LinesAndColumns=void 0;var r="\n";var n="\r";var s=function(){function LinesAndColumns(e){this.string=e;var t=[0];for(var s=0;sthis.string.length){return null}var t=0;var r=this.offsets;while(r[t+1]<=e){t++}var n=e-r[t];return{line:t,column:n}};LinesAndColumns.prototype.indexForLocation=function(e){var t=e.line,r=e.column;if(t<0||t>=this.offsets.length){return null}if(r<0||r>this.lengthOfLine(t)){return null}return this.offsets[t]+r};LinesAndColumns.prototype.lengthOfLine=function(e){var t=this.offsets[e];var r=e===this.offsets.length-1?this.string.length:this.offsets[e+1];return r-t};return LinesAndColumns}();t.LinesAndColumns=s;t["default"]=s},2844:(e,t,r)=>{"use strict";const n=r(605);const s=Symbol("max");const i=Symbol("length");const o=Symbol("lengthCalculator");const a=Symbol("allowStale");const l=Symbol("maxAge");const c=Symbol("dispose");const u=Symbol("noDisposeOnSet");const f=Symbol("lruList");const h=Symbol("cache");const p=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[s]=e.max||Infinity;const r=e.length||naiveLength;this[o]=typeof r!=="function"?naiveLength:r;this[a]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0;this[c]=e.dispose;this[u]=e.noDisposeOnSet||false;this[p]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[s]=e||Infinity;trim(this)}get max(){return this[s]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[l]=e;trim(this)}get maxAge(){return this[l]}set lengthCalculator(e){if(typeof e!=="function")e=naiveLength;if(e!==this[o]){this[o]=e;this[i]=0;this[f].forEach((e=>{e.length=this[o](e.value,e.key);this[i]+=e.length}))}trim(this)}get lengthCalculator(){return this[o]}get length(){return this[i]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let r=this[f].tail;r!==null;){const n=r.prev;forEachStep(this,e,r,t);r=n}}forEach(e,t){t=t||this;for(let r=this[f].head;r!==null;){const n=r.next;forEachStep(this,e,r,t);r=n}}keys(){return this[f].toArray().map((e=>e.key))}values(){return this[f].toArray().map((e=>e.value))}reset(){if(this[c]&&this[f]&&this[f].length){this[f].forEach((e=>this[c](e.key,e.value)))}this[h]=new Map;this[f]=new n;this[i]=0}dump(){return this[f].map((e=>isStale(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[f]}set(e,t,r){r=r||this[l];if(r&&typeof r!=="number")throw new TypeError("maxAge must be a number");const n=r?Date.now():0;const a=this[o](t,e);if(this[h].has(e)){if(a>this[s]){del(this,this[h].get(e));return false}const o=this[h].get(e);const l=o.value;if(this[c]){if(!this[u])this[c](e,l.value)}l.now=n;l.maxAge=r;l.value=t;this[i]+=a-l.length;l.length=a;this.get(e);trim(this);return true}const p=new Entry(e,t,a,n,r);if(p.length>this[s]){if(this[c])this[c](e,t);return false}this[i]+=p.length;this[f].unshift(p);this[h].set(e,this[f].head);trim(this);return true}has(e){if(!this[h].has(e))return false;const t=this[h].get(e).value;return!isStale(this,t)}get(e){return get(this,e,true)}peek(e){return get(this,e,false)}pop(){const e=this[f].tail;if(!e)return null;del(this,e);return e.value}del(e){del(this,this[h].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r];const s=n.e||0;if(s===0)this.set(n.k,n.v);else{const e=s-t;if(e>0){this.set(n.k,n.v,e)}}}}prune(){this[h].forEach(((e,t)=>get(this,t,false)))}}const get=(e,t,r)=>{const n=e[h].get(t);if(n){const t=n.value;if(isStale(e,t)){del(e,n);if(!e[a])return undefined}else{if(r){if(e[p])n.value.now=Date.now();e[f].unshiftNode(n)}}return t.value}};const isStale=(e,t)=>{if(!t||!t.maxAge&&!e[l])return false;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[l]&&r>e[l]};const trim=e=>{if(e[i]>e[s]){for(let t=e[f].tail;e[i]>e[s]&&t!==null;){const r=t.prev;del(e,t);t=r}}};const del=(e,t)=>{if(t){const r=t.value;if(e[c])e[c](r.key,r.value);e[i]-=r.length;e[h].delete(r.key);e[f].removeNode(t)}};class Entry{constructor(e,t,r,n,s){this.key=e;this.value=t;this.length=r;this.now=n;this.maxAge=s||0}}const forEachStep=(e,t,r,n)=>{let s=r.value;if(isStale(e,s)){del(e,r);if(!e[a])s=undefined}if(s)t.call(n,s.value,s.key,e)};e.exports=LRUCache},3938:(e,t,r)=>{"use strict";const n=r(1576);e.exports=e=>{const t=n();if(!e){return t[2].getFileName()}let r=false;t.shift();for(const n of t){const t=n.getFileName();if(typeof t!=="string"){continue}if(t===e){r=true;continue}if(t==="module.js"){continue}if(r&&t!==e){return t}}}},4302:(e,t,r)=>{"use strict";const n=r(6305);const s=r(9227);const{default:i}=r(7601);const{codeFrameColumns:o}=r(8135);const a=n("JSONError",{fileName:n.append("in %s"),codeFrame:n.append("\n\n%s\n")});const parseJson=(e,t,r)=>{if(typeof t==="string"){r=t;t=null}try{try{return JSON.parse(e,t)}catch(r){s(e,t);throw r}}catch(t){t.message=t.message.replace(/\n/g,"");const n=t.message.match(/in JSON at position (\d+) while parsing/);const s=new a(t);if(r){s.fileName=r}if(n&&n.length>0){const t=new i(e);const r=Number(n[1]);const a=t.locationForIndex(r);const l=o(e,{start:{line:a.line+1,column:a.column+1}},{highlightCode:true});s.codeFrame=l}throw s}};parseJson.JSONError=a;e.exports=parseJson},9223:(e,t,r)=>{"use strict";const{promisify:n}=r(3837);const s=r(7147);async function isType(e,t,r){if(typeof r!=="string"){throw new TypeError(`Expected a string, got ${typeof r}`)}try{const i=await n(s[e])(r);return i[t]()}catch(e){if(e.code==="ENOENT"){return false}throw e}}function isTypeSync(e,t,r){if(typeof r!=="string"){throw new TypeError(`Expected a string, got ${typeof r}`)}try{return s[e](r)[t]()}catch(e){if(e.code==="ENOENT"){return false}throw e}}t.isFile=isType.bind(null,"stat","isFile");t.isDirectory=isType.bind(null,"stat","isDirectory");t.isSymlink=isType.bind(null,"lstat","isSymbolicLink");t.isFileSync=isTypeSync.bind(null,"statSync","isFile");t.isDirectorySync=isTypeSync.bind(null,"statSync","isDirectory");t.isSymlinkSync=isTypeSync.bind(null,"lstatSync","isSymbolicLink")},5309:e=>{"use strict";class SyntaxError extends Error{constructor(e){super(e);const{line:t,column:r,reason:n,plugin:s,file:i}=e;this.name="SyntaxError";this.message=`${this.name}\n\n`;if(typeof t!=="undefined"){this.message+=`(${t}:${r}) `}this.message+=s?`${s}: `:"";this.message+=i?`${i} `:" ";this.message+=`${n}`;const o=e.showSourceCode();if(o){this.message+=`\n\n${o}\n`}this.stack=false}}e.exports=SyntaxError},5492:e=>{"use strict";class Warning extends Error{constructor(e){super(e);const{text:t,line:r,column:n,plugin:s}=e;this.name="Warning";this.message=`${this.name}\n\n`;if(typeof r!=="undefined"){this.message+=`(${r}:${n}) `}this.message+=s?`${s}: `:"";this.message+=`${t}`;this.stack=false}}e.exports=Warning},7753:(e,t,r)=>{"use strict";e.exports=r(9981)["default"]},9981:(e,t,r)=>{"use strict";var n;n={value:true};t["default"]=loader;var s=_interopRequireDefault(r(1017));var i=r(6584);var o=_interopRequireDefault(r(1704));var a=_interopRequireDefault(r(5492));var l=_interopRequireDefault(r(1756));var c=r(11);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let u=false;async function loader(e,t,r){const n=this.getOptions(l.default);const f=this.async();const h=typeof n.postcssOptions==="undefined"||typeof n.postcssOptions.config==="undefined"?true:n.postcssOptions.config;const p=(0,c.getPostcssImplementation)(this,n.implementation);if(!p){f(new Error(`The Postcss implementation "${n.implementation}" not found`));return}let d;if(h){try{d=await(0,c.loadConfig)(this,h,n.postcssOptions)}catch(e){f(e);return}}const g=typeof n.sourceMap!=="undefined"?n.sourceMap:this.sourceMap;const{plugins:m,processOptions:y}=await(0,c.getPostcssOptions)(this,d,n.postcssOptions);if(g){y.map={inline:false,annotation:false,...y.map}}if(t&&y.map){y.map.prev=(0,c.normalizeSourceMap)(t,this.context)}let v;if(r&&r.ast&&r.ast.type==="postcss"&&(0,i.satisfies)(r.ast.version,`^${o.default.version}`)){({root:v}=r.ast)}if(!v&&n.execute){e=(0,c.exec)(e,this)}let E;let b;try{b=p(m);E=await b.process(v||e,y)}catch(e){if(!u&&b&&b.version&&b.version.startsWith("7.")){const e=(0,c.findPackageJSONDir)(process.cwd(),this.fs.statSync);if(e){let t;try{t=this.fs.readFileSync(s.default.resolve(e,"package.json"),"utf8")}catch(e){}if(t){let e;try{e=JSON.parse(t)}catch(e){}if(e){if(!e.dependencies.postcss&&!e.devDependencies.postcss){this.emitWarning(new Error("Add postcss as project dependency. postcss is not a peer dependency for postcss-loader. "+"Use `npm install postcss` or `yarn add postcss`"))}else{u=true}}}}}(0,c.reportError)(this,f,e);return}for(const e of E.warnings()){this.emitWarning(new a.default(e))}for(const e of E.messages){switch(e.type){case"dependency":this.addDependency(e.file);break;case"build-dependency":this.addBuildDependency(e.file);break;case"missing-dependency":this.addMissingDependency(e.file);break;case"context-dependency":this.addContextDependency(e.file);break;case"dir-dependency":this.addContextDependency(e.dir);break;case"asset":if(e.content&&e.file){this.emitFile(e.file,e.content,e.sourceMap,e.info)}}}let w=E.map?E.map.toJSON():undefined;if(w&&g){w=(0,c.normalizeSourceMapAfterPostcss)(w,this.context)}let S;try{S={type:"postcss",version:E.processor.version,root:E.root}}catch(e){(0,c.reportError)(this,f,e);return}f(null,E.css,w,{ast:S})}},11:(e,t,r)=>{"use strict";e=r.nmd(e);Object.defineProperty(t,"__esModule",{value:true});t.exec=exec;t.findPackageJSONDir=findPackageJSONDir;t.getPostcssImplementation=getPostcssImplementation;t.getPostcssOptions=getPostcssOptions;t.loadConfig=loadConfig;t.normalizeSourceMap=normalizeSourceMap;t.normalizeSourceMapAfterPostcss=normalizeSourceMapAfterPostcss;t.reportError=reportError;var n=_interopRequireDefault(r(1017));var s=_interopRequireDefault(r(7310));var i=_interopRequireDefault(r(8188));var o=r(4195);var a=r(8956);var l=_interopRequireDefault(r(5309));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const c=e;const stat=(e,t)=>new Promise(((r,n)=>{e.stat(t,((e,t)=>{if(e){n(e)}r(t)}))}));function exec(e,t){const{resource:r,context:n}=t;const s=new i.default(r,c);s.paths=i.default._nodeModulePaths(n);s.filename=r;s._compile(e,r);return s.exports}async function loadConfig(e,t,r){const i=typeof t==="string"?n.default.resolve(t):n.default.dirname(e.resourcePath);let l;try{l=await stat(e.fs,i)}catch(e){throw new Error(`No PostCSS config found in: ${i}`)}const c="postcss";const u=(0,a.cosmiconfig)(c,{searchPlaces:["package.json",`.${c}rc`,`.${c}rc.json`,`.${c}rc.yaml`,`.${c}rc.yml`,`.${c}rc.js`,`.${c}rc.mjs`,`.${c}rc.cjs`,`.config/${c}rc`,`.config/${c}rc.json`,`.config/${c}rc.yaml`,`.config/${c}rc.yml`,`.config/${c}rc.js`,`.config/${c}rc.mjs`,`.config/${c}rc.cjs`,`${c}.config.js`,`${c}.config.mjs`,`${c}.config.cjs`],loaders:{".js":async(...e)=>{let t;try{t=a.defaultLoaders[".js"](...e)}catch(r){let n;try{n=new Function("id","return import(id);")}catch(e){n=null}if(r.code==="ERR_REQUIRE_ESM"&&s.default.pathToFileURL&&n){const r=s.default.pathToFileURL(e[0]);t=await n(r)}else{throw r}}return t},".mjs":async(...e)=>{let t;let r;try{r=new Function("id","return import(id);")}catch(e){r=null}if(s.default.pathToFileURL&&r){const n=s.default.pathToFileURL(e[0]);t=await r(n)}else{throw new Error("ESM is not supported")}return t}}});let f;try{if(l.isFile()){f=await u.load(i)}else{f=await u.search(i)}}catch(e){throw e}if(!f){return{}}e.addBuildDependency(f.filepath);e.addDependency(f.filepath);if(f.isEmpty){return f}if(typeof f.config==="function"){const t={mode:e.mode,file:e.resourcePath,webpackLoaderContext:e,env:e.mode,options:r||{}};f.config=f.config(t)}f=(0,o.klona)(f);return f}function loadPlugin(e,t,r){try{let r=require(e);if(r.default){r=r.default}if(!t||Object.keys(t).length===0){return r}return r(t)}catch(t){throw new Error(`Loading PostCSS "${e}" plugin failed: ${t.message}\n\n(@${r})`)}}function pluginFactory(){const e=new Map;return t=>{if(typeof t==="undefined"){return e}if(Array.isArray(t)){for(const r of t){if(Array.isArray(r)){const[t,n]=r;e.set(t,n)}else if(r&&typeof r==="function"){e.set(r)}else if(r&&Object.keys(r).length===1&&(typeof r[Object.keys(r)[0]]==="object"||typeof r[Object.keys(r)[0]]==="boolean")&&r[Object.keys(r)[0]]!==null){const[t]=Object.keys(r);const n=r[t];if(n===false){e.delete(t)}else{e.set(t,n)}}else if(r){e.set(r)}}}else{const r=Object.entries(t);for(const[t,n]of r){if(n===false){e.delete(t)}else{e.set(t,n)}}}return e}}async function tryRequireThenImport(e){let t;try{t=require(e);return t}catch(r){let n;try{n=new Function("id","return import(id);")}catch(e){n=null}if(r.code==="ERR_REQUIRE_ESM"&&n){t=await n(e);return t.default}throw r}}async function getPostcssOptions(e,t={},r={}){const s=e.resourcePath;let i=r;if(typeof i==="function"){i=i(e)}let a=[];try{const e=pluginFactory();if(t.config&&t.config.plugins){e(t.config.plugins)}e(i.plugins);a=[...e()].map((e=>{const[t,r]=e;if(typeof t==="string"){return loadPlugin(t,r,s)}return t}))}catch(t){e.emitError(t)}const l=t.config||{};if(l.from){l.from=n.default.resolve(n.default.dirname(t.filepath),l.from)}if(l.to){l.to=n.default.resolve(n.default.dirname(t.filepath),l.to)}delete l.plugins;const c=(0,o.klona)(i);if(c.from){c.from=n.default.resolve(e.rootContext,c.from)}if(c.to){c.to=n.default.resolve(e.rootContext,c.to)}delete c.config;delete c.plugins;const u={from:s,to:s,map:false,...l,...c};if(typeof u.parser==="string"){try{u.parser=await tryRequireThenImport(u.parser)}catch(t){e.emitError(new Error(`Loading PostCSS "${u.parser}" parser failed: ${t.message}\n\n(@${s})`))}}if(typeof u.stringifier==="string"){try{u.stringifier=await tryRequireThenImport(u.stringifier)}catch(t){e.emitError(new Error(`Loading PostCSS "${u.stringifier}" stringifier failed: ${t.message}\n\n(@${s})`))}}if(typeof u.syntax==="string"){try{u.syntax=await tryRequireThenImport(u.syntax)}catch(t){e.emitError(new Error(`Loading PostCSS "${u.syntax}" syntax failed: ${t.message}\n\n(@${s})`))}}if(u.map===true){u.map={inline:true}}return{plugins:a,processOptions:u}}const u=/^[a-z]:[/\\]|^\\\\/i;const f=/^[a-z0-9+\-.]+:/i;function getURLType(e){if(e[0]==="/"){if(e[1]==="/"){return"scheme-relative"}return"path-absolute"}if(u.test(e)){return"path-absolute"}return f.test(e)?"absolute":"path-relative"}function normalizeSourceMap(e,t){let r=e;if(typeof r==="string"){r=JSON.parse(r)}delete r.file;const{sourceRoot:s}=r;delete r.sourceRoot;if(r.sources){r.sources=r.sources.map((e=>{const r=getURLType(e);if(r==="path-relative"||r==="path-absolute"){const i=r==="path-relative"&&s?n.default.resolve(s,n.default.normalize(e)):n.default.normalize(e);return n.default.relative(t,i)}return e}))}return r}function normalizeSourceMapAfterPostcss(e,t){const r=e;delete r.file;r.sourceRoot="";r.sources=r.sources.map((e=>{if(e.indexOf("<")===0){return e}const r=getURLType(e);if(r==="path-relative"){return n.default.resolve(t,e)}return e}));return r}function findPackageJSONDir(e,t){let r=e;for(;;){try{if(t(n.default.join(r,"package.json")).isFile()){break}}catch(e){}const e=n.default.dirname(r);if(r===e){r=null;break}r=e}return r}function getPostcssImplementation(e,t){let r=t;if(!t||typeof t==="string"){const n=t||"postcss";try{r=require(n)}catch(t){e.emitError(t);return}}return r}function reportError(e,t,r){if(r.file){e.addDependency(r.file)}if(r.name==="CssSyntaxError"){t(new l.default(r))}else{t(r)}}},2889:(e,t,r)=>{"use strict";const n=r(1017);const s=r(8188);const i=r(7147);const resolveFrom=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``)}if(typeof t!=="string"){throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``)}try{e=i.realpathSync(e)}catch(t){if(t.code==="ENOENT"){e=n.resolve(e)}else if(r){return null}else{throw t}}const o=n.join(e,"noop.js");const resolveFileName=()=>s._resolveFilename(t,{id:o,filename:o,paths:s._nodeModulePaths(e)});if(r){try{return resolveFileName()}catch(e){return null}}return resolveFileName()};e.exports=(e,t)=>resolveFrom(e,t);e.exports.silent=(e,t)=>resolveFrom(e,t,true)},3031:(e,t,r)=>{const n=Symbol("SemVer ANY");class Comparator{static get ANY(){return n}constructor(e,t){t=s(t);if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}e=e.trim().split(/\s+/).join(" ");l("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===n){this.value=""}else{this.value=this.operator+this.semver.version}l("comp",this)}parse(e){const t=this.options.loose?i[o.COMPARATORLOOSE]:i[o.COMPARATOR];const r=e.match(t);if(!r){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=r[1]!==undefined?r[1]:"";if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=n}else{this.semver=new c(r[2],this.options.loose)}}toString(){return this.value}test(e){l("Comparator.test",e,this.options.loose);if(this.semver===n||e===n){return true}if(typeof e==="string"){try{e=new c(e,this.options)}catch(e){return false}}return a(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new u(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new u(this.value,t).test(e.semver)}t=s(t);if(t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")){return false}if(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&e.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&e.operator.startsWith("<")){return true}if(this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")){return true}if(a(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")){return true}if(a(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")){return true}return false}}e.exports=Comparator;const s=r(7622);const{safeRe:i,t:o}=r(582);const a=r(7386);const l=r(7413);const c=r(6384);const u=r(2461)},2461:(e,t,r)=>{class Range{constructor(e,t){t=i(t);if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof o){this.raw=e.value;this.set=[[e]];this.format();return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e.trim().split(/\s+/).join(" ");this.set=this.raw.split("||").map((e=>this.parseRange(e))).filter((e=>e.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter((e=>!isNullSet(e[0])));if(this.set.length===0){this.set=[e]}else if(this.set.length>1){for(const e of this.set){if(e.length===1&&isAny(e[0])){this.set=[e];break}}}}this.format()}format(){this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(e){const t=(this.options.includePrerelease&&d)|(this.options.loose&&g);const r=t+":"+e;const n=s.get(r);if(n){return n}const i=this.options.loose;const l=i?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(l,hyphenReplace(this.options.includePrerelease));a("hyphen replace",e);e=e.replace(c[u.COMPARATORTRIM],f);a("comparator trim",e);e=e.replace(c[u.TILDETRIM],h);a("tilde trim",e);e=e.replace(c[u.CARETTRIM],p);a("caret trim",e);let m=e.split(" ").map((e=>parseComparator(e,this.options))).join(" ").split(/\s+/).map((e=>replaceGTE0(e,this.options)));if(i){m=m.filter((e=>{a("loose invalid filter",e,this.options);return!!e.match(c[u.COMPARATORLOOSE])}))}a("range list",m);const y=new Map;const v=m.map((e=>new o(e,this.options)));for(const e of v){if(isNullSet(e)){return[e]}y.set(e.value,e)}if(y.size>1&&y.has("")){y.delete("")}const E=[...y.values()];s.set(r,E);return E}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((r=>isSatisfiable(r,t)&&e.set.some((e=>isSatisfiable(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e){return false}if(typeof e==="string"){try{e=new l(e,this.options)}catch(e){return false}}for(let t=0;te.value==="<0.0.0-0";const isAny=e=>e.value==="";const isSatisfiable=(e,t)=>{let r=true;const n=e.slice();let s=n.pop();while(r&&n.length){r=n.every((e=>s.intersects(e,t)));s=n.pop()}return r};const parseComparator=(e,t)=>{a("comp",e,t);e=replaceCarets(e,t);a("caret",e);e=replaceTildes(e,t);a("tildes",e);e=replaceXRanges(e,t);a("xrange",e);e=replaceStars(e,t);a("stars",e);return e};const isX=e=>!e||e.toLowerCase()==="x"||e==="*";const replaceTildes=(e,t)=>e.trim().split(/\s+/).map((e=>replaceTilde(e,t))).join(" ");const replaceTilde=(e,t)=>{const r=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(r,((t,r,n,s,i)=>{a("tilde",e,t,r,n,s,i);let o;if(isX(r)){o=""}else if(isX(n)){o=`>=${r}.0.0 <${+r+1}.0.0-0`}else if(isX(s)){o=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`}else if(i){a("replaceTilde pr",i);o=`>=${r}.${n}.${s}-${i} <${r}.${+n+1}.0-0`}else{o=`>=${r}.${n}.${s} <${r}.${+n+1}.0-0`}a("tilde return",o);return o}))};const replaceCarets=(e,t)=>e.trim().split(/\s+/).map((e=>replaceCaret(e,t))).join(" ");const replaceCaret=(e,t)=>{a("caret",e,t);const r=t.loose?c[u.CARETLOOSE]:c[u.CARET];const n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,s,i,o)=>{a("caret",e,t,r,s,i,o);let l;if(isX(r)){l=""}else if(isX(s)){l=`>=${r}.0.0${n} <${+r+1}.0.0-0`}else if(isX(i)){if(r==="0"){l=`>=${r}.${s}.0${n} <${r}.${+s+1}.0-0`}else{l=`>=${r}.${s}.0${n} <${+r+1}.0.0-0`}}else if(o){a("replaceCaret pr",o);if(r==="0"){if(s==="0"){l=`>=${r}.${s}.${i}-${o} <${r}.${s}.${+i+1}-0`}else{l=`>=${r}.${s}.${i}-${o} <${r}.${+s+1}.0-0`}}else{l=`>=${r}.${s}.${i}-${o} <${+r+1}.0.0-0`}}else{a("no pr");if(r==="0"){if(s==="0"){l=`>=${r}.${s}.${i}${n} <${r}.${s}.${+i+1}-0`}else{l=`>=${r}.${s}.${i}${n} <${r}.${+s+1}.0-0`}}else{l=`>=${r}.${s}.${i} <${+r+1}.0.0-0`}}a("caret return",l);return l}))};const replaceXRanges=(e,t)=>{a("replaceXRanges",e,t);return e.split(/\s+/).map((e=>replaceXRange(e,t))).join(" ")};const replaceXRange=(e,t)=>{e=e.trim();const r=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(r,((r,n,s,i,o,l)=>{a("xRange",e,r,n,s,i,o,l);const c=isX(s);const u=c||isX(i);const f=u||isX(o);const h=f;if(n==="="&&h){n=""}l=t.includePrerelease?"-0":"";if(c){if(n===">"||n==="<"){r="<0.0.0-0"}else{r="*"}}else if(n&&h){if(u){i=0}o=0;if(n===">"){n=">=";if(u){s=+s+1;i=0;o=0}else{i=+i+1;o=0}}else if(n==="<="){n="<";if(u){s=+s+1}else{i=+i+1}}if(n==="<"){l="-0"}r=`${n+s}.${i}.${o}${l}`}else if(u){r=`>=${s}.0.0${l} <${+s+1}.0.0-0`}else if(f){r=`>=${s}.${i}.0${l} <${s}.${+i+1}.0-0`}a("xRange return",r);return r}))};const replaceStars=(e,t)=>{a("replaceStars",e,t);return e.trim().replace(c[u.STAR],"")};const replaceGTE0=(e,t)=>{a("replaceGTE0",e,t);return e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")};const hyphenReplace=e=>(t,r,n,s,i,o,a,l,c,u,f,h,p)=>{if(isX(n)){r=""}else if(isX(s)){r=`>=${n}.0.0${e?"-0":""}`}else if(isX(i)){r=`>=${n}.${s}.0${e?"-0":""}`}else if(o){r=`>=${r}`}else{r=`>=${r}${e?"-0":""}`}if(isX(c)){l=""}else if(isX(u)){l=`<${+c+1}.0.0-0`}else if(isX(f)){l=`<${c}.${+u+1}.0-0`}else if(h){l=`<=${c}.${u}.${f}-${h}`}else if(e){l=`<${c}.${u}.${+f+1}-0`}else{l=`<=${l}`}return`${r} ${l}`.trim()};const testSet=(e,t,r)=>{for(let r=0;r0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch){return true}}}return false}return true}},6384:(e,t,r)=>{const n=r(7413);const{MAX_LENGTH:s,MAX_SAFE_INTEGER:i}=r(845);const{safeRe:o,t:a}=r(582);const l=r(7622);const{compareIdentifiers:c}=r(3077);class SemVer{constructor(e,t){t=l(t);if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`)}if(e.length>s){throw new TypeError(`version is longer than ${s} characters`)}n("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?o[a.LOOSE]:o[a.FULL]);if(!r){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+r[1];this.minor=+r[2];this.patch=+r[3];if(this.major>i||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>i||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>i||this.patch<0){throw new TypeError("Invalid patch version")}if(!r[4]){this.prerelease=[]}else{this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0){if(typeof this.prerelease[n]==="number"){this.prerelease[n]++;n=-2}}if(n===-1){if(t===this.prerelease.join(".")&&r===false){throw new Error("invalid increment argument: identifier already exists")}this.prerelease.push(e)}}if(t){let n=[t,e];if(r===false){n=[t]}if(c(this.prerelease[0],t)===0){if(isNaN(this.prerelease[1])){this.prerelease=n}}else{this.prerelease=n}}break}default:throw new Error(`invalid increment argument: ${e}`)}this.raw=this.format();if(this.build.length){this.raw+=`+${this.build.join(".")}`}return this}}e.exports=SemVer},4360:(e,t,r)=>{const n=r(1343);const clean=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};e.exports=clean},7386:(e,t,r)=>{const n=r(4855);const s=r(8577);const i=r(6132);const o=r(4759);const a=r(6047);const l=r(7715);const cmp=(e,t,r,c)=>{switch(t){case"===":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e===r;case"!==":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e!==r;case"":case"=":case"==":return n(e,r,c);case"!=":return s(e,r,c);case">":return i(e,r,c);case">=":return o(e,r,c);case"<":return a(e,r,c);case"<=":return l(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=cmp},2078:(e,t,r)=>{const n=r(6384);const s=r(1343);const{safeRe:i,t:o}=r(582);const coerce=(e,t)=>{if(e instanceof n){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let r=null;if(!t.rtl){r=e.match(i[o.COERCE])}else{let t;while((t=i[o.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||t.index+t[0].length!==r.index+r[0].length){r=t}i[o.COERCERTL].lastIndex=t.index+t[1].length+t[2].length}i[o.COERCERTL].lastIndex=-1}if(r===null){return null}return s(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};e.exports=coerce},5663:(e,t,r)=>{const n=r(6384);const compareBuild=(e,t,r)=>{const s=new n(e,r);const i=new n(t,r);return s.compare(i)||s.compareBuild(i)};e.exports=compareBuild},7759:(e,t,r)=>{const n=r(1063);const compareLoose=(e,t)=>n(e,t,true);e.exports=compareLoose},1063:(e,t,r)=>{const n=r(6384);const compare=(e,t,r)=>new n(e,r).compare(new n(t,r));e.exports=compare},9465:(e,t,r)=>{const n=r(1343);const diff=(e,t)=>{const r=n(e,null,true);const s=n(t,null,true);const i=r.compare(s);if(i===0){return null}const o=i>0;const a=o?r:s;const l=o?s:r;const c=!!a.prerelease.length;const u=!!l.prerelease.length;if(u&&!c){if(!l.patch&&!l.minor){return"major"}if(a.patch){return"patch"}if(a.minor){return"minor"}return"major"}const f=c?"pre":"";if(r.major!==s.major){return f+"major"}if(r.minor!==s.minor){return f+"minor"}if(r.patch!==s.patch){return f+"patch"}return"prerelease"};e.exports=diff},4855:(e,t,r)=>{const n=r(1063);const eq=(e,t,r)=>n(e,t,r)===0;e.exports=eq},6132:(e,t,r)=>{const n=r(1063);const gt=(e,t,r)=>n(e,t,r)>0;e.exports=gt},4759:(e,t,r)=>{const n=r(1063);const gte=(e,t,r)=>n(e,t,r)>=0;e.exports=gte},6521:(e,t,r)=>{const n=r(6384);const inc=(e,t,r,s,i)=>{if(typeof r==="string"){i=s;s=r;r=undefined}try{return new n(e instanceof n?e.version:e,r).inc(t,s,i).version}catch(e){return null}};e.exports=inc},6047:(e,t,r)=>{const n=r(1063);const lt=(e,t,r)=>n(e,t,r)<0;e.exports=lt},7715:(e,t,r)=>{const n=r(1063);const lte=(e,t,r)=>n(e,t,r)<=0;e.exports=lte},5804:(e,t,r)=>{const n=r(6384);const major=(e,t)=>new n(e,t).major;e.exports=major},3746:(e,t,r)=>{const n=r(6384);const minor=(e,t)=>new n(e,t).minor;e.exports=minor},8577:(e,t,r)=>{const n=r(1063);const neq=(e,t,r)=>n(e,t,r)!==0;e.exports=neq},1343:(e,t,r)=>{const n=r(6384);const parse=(e,t,r=false)=>{if(e instanceof n){return e}try{return new n(e,t)}catch(e){if(!r){return null}throw e}};e.exports=parse},2981:(e,t,r)=>{const n=r(6384);const patch=(e,t)=>new n(e,t).patch;e.exports=patch},2163:(e,t,r)=>{const n=r(1343);const prerelease=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null};e.exports=prerelease},2187:(e,t,r)=>{const n=r(1063);const rcompare=(e,t,r)=>n(t,e,r);e.exports=rcompare},6144:(e,t,r)=>{const n=r(5663);const rsort=(e,t)=>e.sort(((e,r)=>n(r,e,t)));e.exports=rsort},6022:(e,t,r)=>{const n=r(2461);const satisfies=(e,t,r)=>{try{t=new n(t,r)}catch(e){return false}return t.test(e)};e.exports=satisfies},1132:(e,t,r)=>{const n=r(5663);const sort=(e,t)=>e.sort(((e,r)=>n(e,r,t)));e.exports=sort},7170:(e,t,r)=>{const n=r(1343);const valid=(e,t)=>{const r=n(e,t);return r?r.version:null};e.exports=valid},6584:(e,t,r)=>{const n=r(582);const s=r(845);const i=r(6384);const o=r(3077);const a=r(1343);const l=r(7170);const c=r(4360);const u=r(6521);const f=r(9465);const h=r(5804);const p=r(3746);const d=r(2981);const g=r(2163);const m=r(1063);const y=r(2187);const v=r(7759);const E=r(5663);const b=r(1132);const w=r(6144);const S=r(6132);const O=r(6047);const N=r(4855);const L=r(8577);const A=r(4759);const M=r(7715);const x=r(7386);const T=r(2078);const R=r(3031);const $=r(2461);const C=r(6022);const k=r(4702);const I=r(6938);const P=r(3529);const _=r(9718);const j=r(7729);const D=r(9241);const F=r(4685);const Y=r(2898);const B=r(709);const W=r(3893);const q=r(2030);e.exports={parse:a,valid:l,clean:c,inc:u,diff:f,major:h,minor:p,patch:d,prerelease:g,compare:m,rcompare:y,compareLoose:v,compareBuild:E,sort:b,rsort:w,gt:S,lt:O,eq:N,neq:L,gte:A,lte:M,cmp:x,coerce:T,Comparator:R,Range:$,satisfies:C,toComparators:k,maxSatisfying:I,minSatisfying:P,minVersion:_,validRange:j,outside:D,gtr:F,ltr:Y,intersects:B,simplifyRange:W,subset:q,SemVer:i,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},845:e=>{const t="2.0.0";const r=256;const n=Number.MAX_SAFE_INTEGER||9007199254740991;const s=16;const i=r-6;const o=["major","premajor","minor","preminor","patch","prepatch","prerelease"];e.exports={MAX_LENGTH:r,MAX_SAFE_COMPONENT_LENGTH:s,MAX_SAFE_BUILD_LENGTH:i,MAX_SAFE_INTEGER:n,RELEASE_TYPES:o,SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},7413:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},3077:e=>{const t=/^[0-9]+$/;const compareIdentifiers=(e,r)=>{const n=t.test(e);const s=t.test(r);if(n&&s){e=+e;r=+r}return e===r?0:n&&!s?-1:s&&!n?1:ecompareIdentifiers(t,e);e.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},7622:e=>{const t=Object.freeze({loose:true});const r=Object.freeze({});const parseOptions=e=>{if(!e){return r}if(typeof e!=="object"){return t}return e};e.exports=parseOptions},582:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:s}=r(845);const i=r(7413);t=e.exports={};const o=t.re=[];const a=t.safeRe=[];const l=t.src=[];const c=t.t={};let u=0;const f="[a-zA-Z0-9-]";const h=[["\\s",1],["\\d",n],[f,s]];const makeSafeRegex=e=>{for(const[t,r]of h){e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`)}return e};const createToken=(e,t,r)=>{const n=makeSafeRegex(t);const s=u++;i(e,s,t);c[e]=s;l[s]=t;o[s]=new RegExp(t,r?"g":undefined);a[s]=new RegExp(n,r?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`);createToken("MAINVERSION",`(${l[c.NUMERICIDENTIFIER]})\\.`+`(${l[c.NUMERICIDENTIFIER]})\\.`+`(${l[c.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${l[c.NUMERICIDENTIFIERLOOSE]})\\.`+`(${l[c.NUMERICIDENTIFIERLOOSE]})\\.`+`(${l[c.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${l[c.NUMERICIDENTIFIER]}|${l[c.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${l[c.NUMERICIDENTIFIERLOOSE]}|${l[c.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${l[c.PRERELEASEIDENTIFIER]}(?:\\.${l[c.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${l[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[c.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${f}+`);createToken("BUILD",`(?:\\+(${l[c.BUILDIDENTIFIER]}(?:\\.${l[c.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${l[c.MAINVERSION]}${l[c.PRERELEASE]}?${l[c.BUILD]}?`);createToken("FULL",`^${l[c.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${l[c.MAINVERSIONLOOSE]}${l[c.PRERELEASELOOSE]}?${l[c.BUILD]}?`);createToken("LOOSE",`^${l[c.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${l[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${l[c.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${l[c.XRANGEIDENTIFIER]})`+`(?:\\.(${l[c.XRANGEIDENTIFIER]})`+`(?:\\.(${l[c.XRANGEIDENTIFIER]})`+`(?:${l[c.PRERELEASE]})?${l[c.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${l[c.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})`+`(?:${l[c.PRERELEASELOOSE]})?${l[c.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAINLOOSE]}$`);createToken("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${n}})`+`(?:\\.(\\d{1,${n}}))?`+`(?:\\.(\\d{1,${n}}))?`+`(?:$|[^\\d])`);createToken("COERCERTL",l[c.COERCE],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${l[c.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";createToken("TILDE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${l[c.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";createToken("CARET",`^${l[c.LONECARET]}${l[c.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${l[c.LONECARET]}${l[c.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${l[c.GTLT]}\\s*(${l[c.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]}|${l[c.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${l[c.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${l[c.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${l[c.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${l[c.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},4685:(e,t,r)=>{const n=r(9241);const gtr=(e,t,r)=>n(e,t,">",r);e.exports=gtr},709:(e,t,r)=>{const n=r(2461);const intersects=(e,t,r)=>{e=new n(e,r);t=new n(t,r);return e.intersects(t,r)};e.exports=intersects},2898:(e,t,r)=>{const n=r(9241);const ltr=(e,t,r)=>n(e,t,"<",r);e.exports=ltr},6938:(e,t,r)=>{const n=r(6384);const s=r(2461);const maxSatisfying=(e,t,r)=>{let i=null;let o=null;let a=null;try{a=new s(t,r)}catch(e){return null}e.forEach((e=>{if(a.test(e)){if(!i||o.compare(e)===-1){i=e;o=new n(i,r)}}}));return i};e.exports=maxSatisfying},3529:(e,t,r)=>{const n=r(6384);const s=r(2461);const minSatisfying=(e,t,r)=>{let i=null;let o=null;let a=null;try{a=new s(t,r)}catch(e){return null}e.forEach((e=>{if(a.test(e)){if(!i||o.compare(e)===1){i=e;o=new n(i,r)}}}));return i};e.exports=minSatisfying},9718:(e,t,r)=>{const n=r(6384);const s=r(2461);const i=r(6132);const minVersion=(e,t)=>{e=new s(e,t);let r=new n("0.0.0");if(e.test(r)){return r}r=new n("0.0.0-0");if(e.test(r)){return r}r=null;for(let t=0;t{const t=new n(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!o||i(t,o)){o=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}));if(o&&(!r||i(r,o))){r=o}}if(r&&e.test(r)){return r}return null};e.exports=minVersion},9241:(e,t,r)=>{const n=r(6384);const s=r(3031);const{ANY:i}=s;const o=r(2461);const a=r(6022);const l=r(6132);const c=r(6047);const u=r(7715);const f=r(4759);const outside=(e,t,r,h)=>{e=new n(e,h);t=new o(t,h);let p,d,g,m,y;switch(r){case">":p=l;d=u;g=c;m=">";y=">=";break;case"<":p=c;d=f;g=l;m="<";y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,h)){return false}for(let r=0;r{if(e.semver===i){e=new s(">=0.0.0")}o=o||e;a=a||e;if(p(e.semver,o.semver,h)){o=e}else if(g(e.semver,a.semver,h)){a=e}}));if(o.operator===m||o.operator===y){return false}if((!a.operator||a.operator===m)&&d(e,a.semver)){return false}else if(a.operator===y&&g(e,a.semver)){return false}}return true};e.exports=outside},3893:(e,t,r)=>{const n=r(6022);const s=r(1063);e.exports=(e,t,r)=>{const i=[];let o=null;let a=null;const l=e.sort(((e,t)=>s(e,t,r)));for(const e of l){const s=n(e,t,r);if(s){a=e;if(!o){o=e}}else{if(a){i.push([o,a])}a=null;o=null}}if(o){i.push([o,null])}const c=[];for(const[e,t]of i){if(e===t){c.push(e)}else if(!t&&e===l[0]){c.push("*")}else if(!t){c.push(`>=${e}`)}else if(e===l[0]){c.push(`<=${t}`)}else{c.push(`${e} - ${t}`)}}const u=c.join(" || ");const f=typeof t.raw==="string"?t.raw:String(t);return u.length{const n=r(2461);const s=r(3031);const{ANY:i}=s;const o=r(6022);const a=r(1063);const subset=(e,t,r={})=>{if(e===t){return true}e=new n(e,r);t=new n(t,r);let s=false;e:for(const n of e.set){for(const e of t.set){const t=simpleSubset(n,e,r);s=s||t!==null;if(t){continue e}}if(s){return false}}return true};const l=[new s(">=0.0.0-0")];const c=[new s(">=0.0.0")];const simpleSubset=(e,t,r)=>{if(e===t){return true}if(e.length===1&&e[0].semver===i){if(t.length===1&&t[0].semver===i){return true}else if(r.includePrerelease){e=l}else{e=c}}if(t.length===1&&t[0].semver===i){if(r.includePrerelease){return true}else{t=c}}const n=new Set;let s,u;for(const t of e){if(t.operator===">"||t.operator===">="){s=higherGT(s,t,r)}else if(t.operator==="<"||t.operator==="<="){u=lowerLT(u,t,r)}else{n.add(t.semver)}}if(n.size>1){return null}let f;if(s&&u){f=a(s.semver,u.semver,r);if(f>0){return null}else if(f===0&&(s.operator!==">="||u.operator!=="<=")){return null}}for(const e of n){if(s&&!o(e,String(s),r)){return null}if(u&&!o(e,String(u),r)){return null}for(const n of t){if(!o(e,String(n),r)){return false}}return true}let h,p;let d,g;let m=u&&!r.includePrerelease&&u.semver.prerelease.length?u.semver:false;let y=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:false;if(m&&m.prerelease.length===1&&u.operator==="<"&&m.prerelease[0]===0){m=false}for(const e of t){g=g||e.operator===">"||e.operator===">=";d=d||e.operator==="<"||e.operator==="<=";if(s){if(y){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch){y=false}}if(e.operator===">"||e.operator===">="){h=higherGT(s,e,r);if(h===e&&h!==s){return false}}else if(s.operator===">="&&!o(s.semver,String(e),r)){return false}}if(u){if(m){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===m.major&&e.semver.minor===m.minor&&e.semver.patch===m.patch){m=false}}if(e.operator==="<"||e.operator==="<="){p=lowerLT(u,e,r);if(p===e&&p!==u){return false}}else if(u.operator==="<="&&!o(u.semver,String(e),r)){return false}}if(!e.operator&&(u||s)&&f!==0){return false}}if(s&&d&&!u&&f!==0){return false}if(u&&g&&!s&&f!==0){return false}if(y||m){return false}return true};const higherGT=(e,t,r)=>{if(!e){return t}const n=a(e.semver,t.semver,r);return n>0?e:n<0?t:t.operator===">"&&e.operator===">="?t:e};const lowerLT=(e,t,r)=>{if(!e){return t}const n=a(e.semver,t.semver,r);return n<0?e:n>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=subset},4702:(e,t,r)=>{const n=r(2461);const toComparators=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")));e.exports=toComparators},7729:(e,t,r)=>{const n=r(2461);const validRange=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}};e.exports=validRange},2332:(e,t,r)=>{"use strict";const n=r(2037);const s=r(419);const i=process.env;let o;if(s("no-color")||s("no-colors")||s("color=false")){o=false}else if(s("color")||s("colors")||s("color=true")||s("color=always")){o=true}if("FORCE_COLOR"in i){o=i.FORCE_COLOR.length===0||parseInt(i.FORCE_COLOR,10)!==0}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e){if(o===false){return 0}if(s("color=16m")||s("color=full")||s("color=truecolor")){return 3}if(s("color=256")){return 2}if(e&&!e.isTTY&&o!==true){return 0}const t=o?1:0;if(process.platform==="win32"){const e=n.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in i){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in i))||i.CI_NAME==="codeship"){return 1}return t}if("TEAMCITY_VERSION"in i){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0}if(i.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(i.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)){return 1}if("COLORTERM"in i){return 1}if(i.TERM==="dumb"){return t}return t}function getSupportLevel(e){const t=supportsColor(e);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},6077:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next){yield e.value}}}},605:(e,t,r)=>{"use strict";e.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(e){var t=this;if(!(t instanceof Yallist)){t=new Yallist}t.tail=null;t.head=null;t.length=0;if(e&&typeof e.forEach==="function"){e.forEach((function(e){t.push(e)}))}else if(arguments.length>0){for(var r=0,n=arguments.length;r1){r=t}else if(this.head){n=this.head.next;r=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var s=0;n!==null;s++){r=e(r,n.value,s);n=n.next}return r};Yallist.prototype.reduceReverse=function(e,t){var r;var n=this.tail;if(arguments.length>1){r=t}else if(this.tail){n=this.tail.prev;r=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var s=this.length-1;n!==null;s--){r=e(r,n.value,s);n=n.prev}return r};Yallist.prototype.toArray=function(){var e=new Array(this.length);for(var t=0,r=this.head;r!==null;t++){e[t]=r.value;r=r.next}return e};Yallist.prototype.toArrayReverse=function(){var e=new Array(this.length);for(var t=0,r=this.tail;r!==null;t++){e[t]=r.value;r=r.prev}return e};Yallist.prototype.slice=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var r=new Yallist;if(tthis.length){t=this.length}for(var n=0,s=this.head;s!==null&&nthis.length){t=this.length}for(var n=this.length,s=this.tail;s!==null&&n>t;n--){s=s.prev}for(;s!==null&&n>e;n--,s=s.prev){r.push(s.value)}return r};Yallist.prototype.splice=function(e,t,...r){if(e>this.length){e=this.length-1}if(e<0){e=this.length+e}for(var n=0,s=this.head;s!==null&&n{"use strict";e.exports=require("fs")},8188:e=>{"use strict";e.exports=require("module")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},8135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t["default"]=_default;var n=r(6606);var s=_interopRequireWildcard(r(6673),true);function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var n={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var o=s?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set)){Object.defineProperty(n,i,o)}else{n[i]=e[i]}}}n.default=e;if(r){r.set(e,n)}return n}let i=undefined;function getChalk(e){if(e){var t;(t=i)!=null?t:i=new s.default.constructor({enabled:true,level:1});return i}return s.default}let o=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const a=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:o=3}=r||{};const a=n.line;const l=n.column;const c=s.line;const u=s.column;let f=Math.max(a-(i+1),0);let h=Math.min(t.length,c+o);if(a===-1){f=0}if(c===-1){h=t.length}const p=c-a;const d={};if(p){for(let e=0;e<=p;e++){const r=e+a;if(!l){d[r]=true}else if(e===0){const e=t[r-1].length;d[r]=[l,e-l+1]}else if(e===p){d[r]=[0,u]}else{const n=t[r-e].length;d[r]=[0,n]}}}else{if(l===u){if(l){d[a]=[l,0]}else{d[a]=true}}else{d[a]=[l,u-l]}}return{start:f,end:h,markerLines:d}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const i=getChalk(r.forceColor);const o=getDefs(i);const maybeHighlight=(e,t)=>s?e(t):t;const l=e.split(a);const{start:c,end:u,markerLines:f}=getMarkerLines(t,l,r);const h=t.start&&typeof t.start.column==="number";const p=String(u).length;const d=s?(0,n.default)(e,r):e;let g=d.split(a,u).slice(c,u).map(((e,t)=>{const n=c+1+t;const s=` ${n}`.slice(-p);const i=` ${s} |`;const a=f[n];const l=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",maybeHighlight(o.gutter,i.replace(/\d/g," "))," ",n,maybeHighlight(o.marker,"^").repeat(s)].join("");if(l&&r.message){t+=" "+maybeHighlight(o.message,r.message)}}return[maybeHighlight(o.marker,">"),maybeHighlight(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${maybeHighlight(o.gutter,i)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!h){g=`${" ".repeat(p+1)}${r.message}\n${g}`}if(s){return i.reset(g)}else{return g}}function _default(e,t,r,n={}){if(!o){o=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}},7828:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;t.isIdentifierStart=isIdentifierStart;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191];const a=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,a)}function isIdentifierName(e){let t=true;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});var n=r(7828);var s=r(4314)},4314:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isKeyword=isKeyword;t.isReservedWord=isReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isStrictReservedWord=isStrictReservedWord;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},6606:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=highlight;t.shouldHighlight=shouldHighlight;var n=r(8629);var s=r(1620);var i=_interopRequireWildcard(r(6673),true);function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var n={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var o=s?Object.getOwnPropertyDescriptor(e,i):null;if(o&&(o.get||o.set)){Object.defineProperty(n,i,o)}else{n[i]=e[i]}}}n.default=e;if(r){r.set(e,n)}return n}const o=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const a=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i;const getTokenType=function(t,r,n){if(t.type==="name"){if((0,s.isKeyword)(t.value)||(0,s.isStrictReservedWord)(t.value,true)||o.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.slice(r-2,r)=="t(e))).join("\n")}else{r+=s}}return r}function shouldHighlight(e){return i.default.level>0||e.forceColor}let u=undefined;function getChalk(e){if(e){var t;(t=u)!=null?t:u=new i.default.constructor({enabled:true,level:1});return u}return i.default}{{t.getChalk=e=>getChalk(e.forceColor)}}function highlight(e,t={}){if(e!==""&&shouldHighlight(t)){const r=getDefs(getChalk(t.forceColor));return highlightTokens(r,e)}else{return e}}},8745:(e,t,r)=>{"use strict";var n=r(2592);var s=r(4288);var i=r(5564);const o={anchorPrefix:"a",customTags:null,indent:2,indentSeq:true,keepCstNodes:false,keepNodeTypes:true,keepBlobsInJSON:true,mapAsMap:false,maxAliasCount:100,prettyErrors:false,simpleKeys:false,version:"1.2"};const a={get binary(){return s.binaryOptions},set binary(e){Object.assign(s.binaryOptions,e)},get bool(){return s.boolOptions},set bool(e){Object.assign(s.boolOptions,e)},get int(){return s.intOptions},set int(e){Object.assign(s.intOptions,e)},get null(){return s.nullOptions},set null(e){Object.assign(s.nullOptions,e)},get str(){return s.strOptions},set str(e){Object.assign(s.strOptions,e)}};const l={"1.0":{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:n.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.defaultTagPrefix}]},1.2:{schema:"core",merge:false,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.defaultTagPrefix}]}};function stringifyTag(e,t){if((e.version||e.options.version)==="1.0"){const e=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(e)return"!"+e[1];const r=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return r?`!${r[1]}/${r[2]}`:`!${t.replace(/^tag:/,"")}`}let r=e.tagPrefixes.find((e=>t.indexOf(e.prefix)===0));if(!r){const n=e.getDefaults().tagPrefixes;r=n&&n.find((e=>t.indexOf(e.prefix)===0))}if(!r)return t[0]==="!"?t:`!<${t}>`;const n=t.substr(r.prefix.length).replace(/[!,[\]{}]/g,(e=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"}[e])));return r.handle+n}function getTagObject(e,t){if(t instanceof s.Alias)return s.Alias;if(t.tag){const r=e.filter((e=>e.tag===t.tag));if(r.length>0)return r.find((e=>e.format===t.format))||r[0]}let r,n;if(t instanceof s.Scalar){n=t.value;const s=e.filter((e=>e.identify&&e.identify(n)||e.class&&n instanceof e.class));r=s.find((e=>e.format===t.format))||s.find((e=>!e.format))}else{n=t;r=e.find((e=>e.nodeClass&&n instanceof e.nodeClass))}if(!r){const e=n&&n.constructor?n.constructor.name:typeof n;throw new Error(`Tag not resolved for ${e} value`)}return r}function stringifyProps(e,t,{anchors:r,doc:n}){const s=[];const i=n.anchors.getName(e);if(i){r[i]=e;s.push(`&${i}`)}if(e.tag){s.push(stringifyTag(n,e.tag))}else if(!t.default){s.push(stringifyTag(n,t.tag))}return s.join(" ")}function stringify(e,t,r,n){const{anchors:i,schema:o}=t.doc;let a;if(!(e instanceof s.Node)){const t={aliasNodes:[],onTagObj:e=>a=e,prevObjects:new Map};e=o.createNode(e,true,null,t);for(const e of t.aliasNodes){e.source=e.source.node;let t=i.getName(e.source);if(!t){t=i.newName();i.map[t]=e.source}}}if(e instanceof s.Pair)return e.toString(t,r,n);if(!a)a=getTagObject(o.tags,e);const l=stringifyProps(e,a,t);if(l.length>0)t.indentAtStart=(t.indentAtStart||0)+l.length+1;const c=typeof a.stringify==="function"?a.stringify(e,t,r,n):e instanceof s.Scalar?s.stringifyString(e,t,r,n):e.toString(t,r,n);if(!l)return c;return e instanceof s.Scalar||c[0]==="{"||c[0]==="["?`${l} ${c}`:`${l}\n${t.indent}${c}`}class Anchors{static validAnchorNode(e){return e instanceof s.Scalar||e instanceof s.YAMLSeq||e instanceof s.YAMLMap}constructor(e){n._defineProperty(this,"map",Object.create(null));this.prefix=e}createAlias(e,t){this.setAnchor(e,t);return new s.Alias(e)}createMergePair(...e){const t=new s.Merge;t.value.items=e.map((e=>{if(e instanceof s.Alias){if(e.source instanceof s.YAMLMap)return e}else if(e instanceof s.YAMLMap){return this.createAlias(e)}throw new Error("Merge sources must be Map nodes or their Aliases")}));return t}getName(e){const{map:t}=this;return Object.keys(t).find((r=>t[r]===e))}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){if(!e)e=this.prefix;const t=Object.keys(this.map);for(let r=1;true;++r){const n=`${e}${r}`;if(!t.includes(n))return n}}resolveNodes(){const{map:e,_cstAliases:t}=this;Object.keys(e).forEach((t=>{e[t]=e[t].resolved}));t.forEach((e=>{e.source=e.source.resolved}));delete this._cstAliases}setAnchor(e,t){if(e!=null&&!Anchors.validAnchorNode(e)){throw new Error("Anchors may only be set for Scalar, Seq and Map nodes")}if(t&&/[\x00-\x19\s,[\]{}]/.test(t)){throw new Error("Anchor names must not contain whitespace or control characters")}const{map:r}=this;const n=e&&Object.keys(r).find((t=>r[t]===e));if(n){if(!t){return n}else if(n!==t){delete r[n];r[t]=e}}else{if(!t){if(!e)return null;t=this.newName()}r[t]=e}return t}}const visit=(e,t)=>{if(e&&typeof e==="object"){const{tag:r}=e;if(e instanceof s.Collection){if(r)t[r]=true;e.items.forEach((e=>visit(e,t)))}else if(e instanceof s.Pair){visit(e.key,t);visit(e.value,t)}else if(e instanceof s.Scalar){if(r)t[r]=true}}return t};const listTagNames=e=>Object.keys(visit(e,{}));function parseContents(e,t){const r={before:[],after:[]};let i=undefined;let o=false;for(const a of t){if(a.valueRange){if(i!==undefined){const t="Document contains trailing content not separated by a ... or --- line";e.errors.push(new n.YAMLSyntaxError(a,t));break}const t=s.resolveNode(e,a);if(o){t.spaceBefore=true;o=false}i=t}else if(a.comment!==null){const e=i===undefined?r.before:r.after;e.push(a.comment)}else if(a.type===n.Type.BLANK_LINE){o=true;if(i===undefined&&r.before.length>0&&!e.commentBefore){e.commentBefore=r.before.join("\n");r.before=[]}}}e.contents=i||null;if(!i){e.comment=r.before.concat(r.after).join("\n")||null}else{const t=r.before.join("\n");if(t){const e=i instanceof s.Collection&&i.items[0]?i.items[0]:i;e.commentBefore=e.commentBefore?`${t}\n${e.commentBefore}`:t}e.comment=r.after.join("\n")||null}}function resolveTagDirective({tagPrefixes:e},t){const[r,s]=t.parameters;if(!r||!s){const e="Insufficient parameters given for %TAG directive";throw new n.YAMLSemanticError(t,e)}if(e.some((e=>e.handle===r))){const e="The %TAG directive must only be given at most once per handle in the same document.";throw new n.YAMLSemanticError(t,e)}return{handle:r,prefix:s}}function resolveYamlDirective(e,t){let[r]=t.parameters;if(t.name==="YAML:1.0")r="1.0";if(!r){const e="Insufficient parameters given for %YAML directive";throw new n.YAMLSemanticError(t,e)}if(!l[r]){const s=e.version||e.options.version;const i=`Document will be parsed as YAML ${s} rather than YAML ${r}`;e.warnings.push(new n.YAMLWarning(t,i))}return r}function parseDirectives(e,t,r){const s=[];let i=false;for(const r of t){const{comment:t,name:o}=r;switch(o){case"TAG":try{e.tagPrefixes.push(resolveTagDirective(e,r))}catch(t){e.errors.push(t)}i=true;break;case"YAML":case"YAML:1.0":if(e.version){const t="The %YAML directive must only be given at most once per document.";e.errors.push(new n.YAMLSemanticError(r,t))}try{e.version=resolveYamlDirective(e,r)}catch(t){e.errors.push(t)}i=true;break;default:if(o){const t=`YAML only supports %TAG and %YAML directives, and not %${o}`;e.warnings.push(new n.YAMLWarning(r,t))}}if(t)s.push(t)}if(r&&!i&&"1.1"===(e.version||r.version||e.options.version)){const copyTagPrefix=({handle:e,prefix:t})=>({handle:e,prefix:t});e.tagPrefixes=r.tagPrefixes.map(copyTagPrefix);e.version=r.version}e.commentBefore=s.join("\n")||null}function assertCollection(e){if(e instanceof s.Collection)return true;throw new Error("Expected a YAML collection as document contents")}class Document{constructor(e){this.anchors=new Anchors(e.anchorPrefix);this.commentBefore=null;this.comment=null;this.contents=null;this.directivesEndMarker=null;this.errors=[];this.options=e;this.schema=null;this.tagPrefixes=[];this.version=null;this.warnings=[]}add(e){assertCollection(this.contents);return this.contents.add(e)}addIn(e,t){assertCollection(this.contents);this.contents.addIn(e,t)}delete(e){assertCollection(this.contents);return this.contents.delete(e)}deleteIn(e){if(s.isEmptyPath(e)){if(this.contents==null)return false;this.contents=null;return true}assertCollection(this.contents);return this.contents.deleteIn(e)}getDefaults(){return Document.defaults[this.version]||Document.defaults[this.options.version]||{}}get(e,t){return this.contents instanceof s.Collection?this.contents.get(e,t):undefined}getIn(e,t){if(s.isEmptyPath(e))return!t&&this.contents instanceof s.Scalar?this.contents.value:this.contents;return this.contents instanceof s.Collection?this.contents.getIn(e,t):undefined}has(e){return this.contents instanceof s.Collection?this.contents.has(e):false}hasIn(e){if(s.isEmptyPath(e))return this.contents!==undefined;return this.contents instanceof s.Collection?this.contents.hasIn(e):false}set(e,t){assertCollection(this.contents);this.contents.set(e,t)}setIn(e,t){if(s.isEmptyPath(e))this.contents=t;else{assertCollection(this.contents);this.contents.setIn(e,t)}}setSchema(e,t){if(!e&&!t&&this.schema)return;if(typeof e==="number")e=e.toFixed(1);if(e==="1.0"||e==="1.1"||e==="1.2"){if(this.version)this.version=e;else this.options.version=e;delete this.options.schema}else if(e&&typeof e==="string"){this.options.schema=e}if(Array.isArray(t))this.options.customTags=t;const r=Object.assign({},this.getDefaults(),this.options);this.schema=new i.Schema(r)}parse(e,t){if(this.options.keepCstNodes)this.cstNode=e;if(this.options.keepNodeTypes)this.type="DOCUMENT";const{directives:r=[],contents:s=[],directivesEndMarker:i,error:o,valueRange:a}=e;if(o){if(!o.source)o.source=this;this.errors.push(o)}parseDirectives(this,r,t);if(i)this.directivesEndMarker=true;this.range=a?[a.start,a.end]:null;this.setSchema();this.anchors._cstAliases=[];parseContents(this,s);this.anchors.resolveNodes();if(this.options.prettyErrors){for(const e of this.errors)if(e instanceof n.YAMLError)e.makePretty();for(const e of this.warnings)if(e instanceof n.YAMLError)e.makePretty()}return this}listNonDefaultTags(){return listTagNames(this.contents).filter((e=>e.indexOf(i.Schema.defaultPrefix)!==0))}setTagPrefix(e,t){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(t){const r=this.tagPrefixes.find((t=>t.handle===e));if(r)r.prefix=t;else this.tagPrefixes.push({handle:e,prefix:t})}else{this.tagPrefixes=this.tagPrefixes.filter((t=>t.handle!==e))}}toJSON(e,t){const{keepBlobsInJSON:r,mapAsMap:n,maxAliasCount:i}=this.options;const o=r&&(typeof e!=="string"||!(this.contents instanceof s.Scalar));const a={doc:this,indentStep:" ",keep:o,mapAsMap:o&&!!n,maxAliasCount:i,stringify:stringify};const l=Object.keys(this.anchors.map);if(l.length>0)a.anchors=new Map(l.map((e=>[this.anchors.map[e],{alias:[],aliasCount:0,count:1}])));const c=s.toJSON(this.contents,e,a);if(typeof t==="function"&&a.anchors)for(const{count:e,res:r}of a.anchors.values())t(r,e);return c}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");const e=this.options.indent;if(!Number.isInteger(e)||e<=0){const t=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${t}`)}this.setSchema();const t=[];let r=false;if(this.version){let e="%YAML 1.2";if(this.schema.name==="yaml-1.1"){if(this.version==="1.0")e="%YAML:1.0";else if(this.version==="1.1")e="%YAML 1.1"}t.push(e);r=true}const n=this.listNonDefaultTags();this.tagPrefixes.forEach((({handle:e,prefix:s})=>{if(n.some((e=>e.indexOf(s)===0))){t.push(`%TAG ${e} ${s}`);r=true}}));if(r||this.directivesEndMarker)t.push("---");if(this.commentBefore){if(r||!this.directivesEndMarker)t.unshift("");t.unshift(this.commentBefore.replace(/^/gm,"#"))}const i={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:stringify};let o=false;let a=null;if(this.contents){if(this.contents instanceof s.Node){if(this.contents.spaceBefore&&(r||this.directivesEndMarker))t.push("");if(this.contents.commentBefore)t.push(this.contents.commentBefore.replace(/^/gm,"#"));i.forceBlockIndent=!!this.comment;a=this.contents.comment}const e=a?null:()=>o=true;const n=stringify(this.contents,i,(()=>a=null),e);t.push(s.addComment(n,"",a))}else if(this.contents!==undefined){t.push(stringify(this.contents,i))}if(this.comment){if((!o||a)&&t[t.length-1]!=="")t.push("");t.push(this.comment.replace(/^/gm,"#"))}return t.join("\n")+"\n"}}n._defineProperty(Document,"defaults",l);t.Document=Document;t.defaultOptions=o;t.scalarOptions=a},2592:(e,t)=>{"use strict";const r={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."};const n={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"};const s="tag:yaml.org,2002:";const i={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function findLineStarts(e){const t=[0];let r=e.indexOf("\n");while(r!==-1){r+=1;t.push(r);r=e.indexOf("\n",r)}return t}function getSrcInfo(e){let t,r;if(typeof e==="string"){t=findLineStarts(e);r=e}else{if(Array.isArray(e))e=e[0];if(e&&e.context){if(!e.lineStarts)e.lineStarts=findLineStarts(e.context.src);t=e.lineStarts;r=e.context.src}}return{lineStarts:t,src:r}}function getLinePos(e,t){if(typeof e!=="number"||e<0)return null;const{lineStarts:r,src:n}=getSrcInfo(t);if(!r||!n||e>n.length)return null;for(let t=0;t=1)||e>r.length)return null;const s=r[e-1];let i=r[e];while(i&&i>s&&n[i-1]==="\n")--i;return n.slice(s,i)}function getPrettyContext({start:e,end:t},r,n=80){let s=getLine(e.line,r);if(!s)return null;let{col:i}=e;if(s.length>n){if(i<=n-10){s=s.substr(0,n-1)+"…"}else{const e=Math.round(n/2);if(s.length>i+e)s=s.substr(0,i+e-1)+"…";i-=s.length-n;s="…"+s.substr(1-n)}}let o=1;let a="";if(t){if(t.line===e.line&&i+(t.col-e.col)<=n+1){o=t.col-e.col}else{o=Math.min(s.length+1,n)-i;a="…"}}const l=i>1?" ".repeat(i-1):"";const c="^".repeat(o);return`${s}\n${l}${c}${a}`}class Range{static copy(e){return new Range(e.start,e.end)}constructor(e,t){this.start=e;this.end=t||e}isEmpty(){return typeof this.start!=="number"||!this.end||this.end<=this.start}setOrigRange(e,t){const{start:r,end:n}=this;if(e.length===0||n<=e[0]){this.origStart=r;this.origEnd=n;return t}let s=t;while(sr)break;else++s}this.origStart=r+s;const i=s;while(s=n)break;else++s}this.origEnd=n+s;return i}}class Node{static addStringTerminator(e,t,r){if(r[r.length-1]==="\n")return r;const n=Node.endOfWhiteSpace(e,t);return n>=e.length||e[n]==="\n"?r+"\n":r}static atDocumentBoundary(e,t,n){const s=e[t];if(!s)return true;const i=e[t-1];if(i&&i!=="\n")return false;if(n){if(s!==n)return false}else{if(s!==r.DIRECTIVES_END&&s!==r.DOCUMENT_END)return false}const o=e[t+1];const a=e[t+2];if(o!==s||a!==s)return false;const l=e[t+3];return!l||l==="\n"||l==="\t"||l===" "}static endOfIdentifier(e,t){let r=e[t];const n=r==="<";const s=n?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];while(r&&s.indexOf(r)===-1)r=e[t+=1];if(n&&r===">")t+=1;return t}static endOfIndent(e,t){let r=e[t];while(r===" ")r=e[t+=1];return t}static endOfLine(e,t){let r=e[t];while(r&&r!=="\n")r=e[t+=1];return t}static endOfWhiteSpace(e,t){let r=e[t];while(r==="\t"||r===" ")r=e[t+=1];return t}static startOfLine(e,t){let r=e[t-1];if(r==="\n")return t;while(r&&r!=="\n")r=e[t-=1];return t+1}static endOfBlockIndent(e,t,r){const n=Node.endOfIndent(e,r);if(n>r+t){return n}else{const t=Node.endOfWhiteSpace(e,n);const r=e[t];if(!r||r==="\n")return t}return null}static atBlank(e,t,r){const n=e[t];return n==="\n"||n==="\t"||n===" "||r&&!n}static nextNodeIsIndented(e,t,r){if(!e||t<0)return false;if(t>0)return true;return r&&e==="-"}static normalizeOffset(e,t){const r=e[t];return!r?t:r!=="\n"&&e[t-1]==="\n"?t-1:Node.endOfWhiteSpace(e,t)}static foldNewline(e,t,r){let n=0;let s=false;let i="";let o=e[t+1];while(o===" "||o==="\t"||o==="\n"){switch(o){case"\n":n=0;t+=1;i+="\n";break;case"\t":if(n<=r)s=true;t=Node.endOfWhiteSpace(e,t+2)-1;break;case" ":n+=1;t+=1;break}o=e[t+1]}if(!i)i=" ";if(o&&n<=r)s=true;return{fold:i,offset:t,error:s}}constructor(e,t,r){Object.defineProperty(this,"context",{value:r||null,writable:true});this.error=null;this.range=null;this.valueRange=null;this.props=t||[];this.type=e;this.value=null}getPropValue(e,t,r){if(!this.context)return null;const{src:n}=this.context;const s=this.props[e];return s&&n[s.start]===t?n.slice(s.start+(r?1:0),s.end):null}get anchor(){for(let e=0;e0?e.join("\n"):null}commentHasRequiredWhitespace(e){const{src:t}=this.context;if(this.header&&e===this.header.end)return false;if(!this.valueRange)return false;const{end:r}=this.valueRange;return e!==r||Node.atBlank(t,r-1)}get hasComment(){if(this.context){const{src:e}=this.context;for(let t=0;tr.setOrigRange(e,t)));return t}toString(){const{context:{src:e},range:t,value:r}=this;if(r!=null)return r;const n=e.slice(t.start,t.end);return Node.addStringTerminator(e,t.end,n)}}class YAMLError extends Error{constructor(e,t,r){if(!r||!(t instanceof Node))throw new Error(`Invalid arguments for new ${e}`);super();this.name=e;this.message=r;this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;const e=this.source.context&&this.source.context.root;if(typeof this.offset==="number"){this.range=new Range(this.offset,this.offset+1);const t=e&&getLinePos(this.offset,e);if(t){const e={line:t.line,col:t.col+1};this.linePos={start:t,end:e}}delete this.offset}else{this.range=this.source.range;this.linePos=this.source.rangeAsLinePos}if(this.linePos){const{line:t,col:r}=this.linePos.start;this.message+=` at line ${t}, column ${r}`;const n=e&&getPrettyContext(this.linePos,e);if(n)this.message+=`:\n\n${n}\n`}delete this.source}}class YAMLReferenceError extends YAMLError{constructor(e,t){super("YAMLReferenceError",e,t)}}class YAMLSemanticError extends YAMLError{constructor(e,t){super("YAMLSemanticError",e,t)}}class YAMLSyntaxError extends YAMLError{constructor(e,t){super("YAMLSyntaxError",e,t)}}class YAMLWarning extends YAMLError{constructor(e,t){super("YAMLWarning",e,t)}}function _defineProperty(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}class PlainValue extends Node{static endOfLine(e,t,r){let n=e[t];let s=t;while(n&&n!=="\n"){if(r&&(n==="["||n==="]"||n==="{"||n==="}"||n===","))break;const t=e[s+1];if(n===":"&&(!t||t==="\n"||t==="\t"||t===" "||r&&t===","))break;if((n===" "||n==="\t")&&t==="#")break;s+=1;n=t}return s}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{src:r}=this.context;let n=r[t-1];while(ei?r.slice(i,n+1):e}else{s+=e}}const i=r[e];switch(i){case"\t":{const e="Plain value cannot start with a tab character";const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}case"@":case"`":{const e=`Plain value cannot start with reserved character ${i}`;const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}default:return s}}parseBlockValue(e){const{indent:t,inFlow:r,src:n}=this.context;let s=e;let i=e;for(let e=n[s];e==="\n";e=n[s]){if(Node.atDocumentBoundary(n,s+1))break;const e=Node.endOfBlockIndent(n,t,s+1);if(e===null||n[e]==="#")break;if(n[e]==="\n"){s=e}else{i=PlainValue.endOfLine(n,e,r);s=i}}if(this.valueRange.isEmpty())this.valueRange.start=e;this.valueRange.end=i;return i}parse(e,t){this.context=e;const{inFlow:r,src:n}=e;let s=t;const i=n[s];if(i&&i!=="#"&&i!=="\n"){s=PlainValue.endOfLine(n,t,r)}this.valueRange=new Range(t,s);s=Node.endOfWhiteSpace(n,s);s=this.parseComment(s);if(!this.hasComment||this.valueRange.isEmpty()){s=this.parseBlockValue(s)}return s}}t.Char=r;t.Node=Node;t.PlainValue=PlainValue;t.Range=Range;t.Type=n;t.YAMLError=YAMLError;t.YAMLReferenceError=YAMLReferenceError;t.YAMLSemanticError=YAMLSemanticError;t.YAMLSyntaxError=YAMLSyntaxError;t.YAMLWarning=YAMLWarning;t._defineProperty=_defineProperty;t.defaultTagPrefix=s;t.defaultTags=i},5564:(e,t,r)=>{"use strict";var n=r(2592);var s=r(4288);var i=r(8201);function createMap(e,t,r){const n=new s.YAMLMap(e);if(t instanceof Map){for(const[s,i]of t)n.items.push(e.createPair(s,i,r))}else if(t&&typeof t==="object"){for(const s of Object.keys(t))n.items.push(e.createPair(s,t[s],r))}if(typeof e.sortMapEntries==="function"){n.items.sort(e.sortMapEntries)}return n}const o={createNode:createMap,default:true,nodeClass:s.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:s.resolveMap};function createSeq(e,t,r){const n=new s.YAMLSeq(e);if(t&&t[Symbol.iterator]){for(const s of t){const t=e.createNode(s,r.wrapScalars,null,r);n.items.push(t)}}return n}const a={createNode:createSeq,default:true,nodeClass:s.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:s.resolveSeq};const l={identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify(e,t,r,n){t=Object.assign({actualString:true},t);return s.stringifyString(e,t,r,n)},options:s.strOptions};const c=[o,a,l];const intIdentify$2=e=>typeof e==="bigint"||Number.isInteger(e);const intResolve$1=(e,t,r)=>s.intOptions.asBigInt?BigInt(e):parseInt(t,r);function intStringify$1(e,t,r){const{value:n}=e;if(intIdentify$2(n)&&n>=0)return r+n.toString(t);return s.stringifyNumber(e)}const u={identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr};const f={identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>e[0]==="t"||e[0]==="T",options:s.boolOptions,stringify:({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr};const h={identify:e=>intIdentify$2(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>intResolve$1(e,t,8),options:s.intOptions,stringify:e=>intStringify$1(e,8,"0o")};const p={identify:intIdentify$2,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>intResolve$1(e,e,10),options:s.intOptions,stringify:s.stringifyNumber};const d={identify:e=>intIdentify$2(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>intResolve$1(e,t,16),options:s.intOptions,stringify:e=>intStringify$1(e,16,"0x")};const g={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber};const m={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify:({value:e})=>Number(e).toExponential()};const y={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,r){const n=t||r;const i=new s.Scalar(parseFloat(e));if(n&&n[n.length-1]==="0")i.minFractionDigits=n.length;return i},stringify:s.stringifyNumber};const v=c.concat([u,f,h,p,d,g,m,y]);const intIdentify$1=e=>typeof e==="bigint"||Number.isInteger(e);const stringifyJSON=({value:e})=>JSON.stringify(e);const E=[o,a,{identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify:stringifyJSON},{identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:stringifyJSON},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:stringifyJSON},{identify:intIdentify$1,default:true,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>s.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>intIdentify$1(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:stringifyJSON}];E.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};const boolStringify=({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr;const intIdentify=e=>typeof e==="bigint"||Number.isInteger(e);function intResolve(e,t,r){let n=t.replace(/_/g,"");if(s.intOptions.asBigInt){switch(r){case 2:n=`0b${n}`;break;case 8:n=`0o${n}`;break;case 16:n=`0x${n}`;break}const t=BigInt(n);return e==="-"?BigInt(-1)*t:t}const i=parseInt(n,r);return e==="-"?-1*i:i}function intStringify(e,t,r){const{value:n}=e;if(intIdentify(n)){const e=n.toString(t);return n<0?"-"+r+e.substr(1):r+e}return s.stringifyNumber(e)}const b=c.concat([{identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>true,options:s.boolOptions,stringify:boolStringify},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>false,options:s.boolOptions,stringify:boolStringify},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,r)=>intResolve(t,r,2),stringify:e=>intStringify(e,2,"0b")},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,r)=>intResolve(t,r,8),stringify:e=>intStringify(e,8,"0")},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,r)=>intResolve(t,r,10),stringify:s.stringifyNumber},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,r)=>intResolve(t,r,16),stringify:e=>intStringify(e,16,"0x")},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify:({value:e})=>Number(e).toExponential()},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){const r=new s.Scalar(parseFloat(e.replace(/_/g,"")));if(t){const e=t.replace(/_/g,"");if(e[e.length-1]==="0")r.minFractionDigits=e.length}return r},stringify:s.stringifyNumber}],i.binary,i.omap,i.pairs,i.set,i.intTime,i.floatTime,i.timestamp);const w={core:v,failsafe:c,json:E,yaml11:b};const S={binary:i.binary,bool:f,float:y,floatExp:m,floatNaN:g,floatTime:i.floatTime,int:p,intHex:d,intOct:h,intTime:i.intTime,map:o,null:u,omap:i.omap,pairs:i.pairs,seq:a,set:i.set,timestamp:i.timestamp};function findTagObject(e,t,r){if(t){const e=r.filter((e=>e.tag===t));const n=e.find((e=>!e.format))||e[0];if(!n)throw new Error(`Tag ${t} not found`);return n}return r.find((t=>(t.identify&&t.identify(e)||t.class&&e instanceof t.class)&&!t.format))}function createNode(e,t,r){if(e instanceof s.Node)return e;const{defaultPrefix:n,onTagObj:i,prevObjects:l,schema:c,wrapScalars:u}=r;if(t&&t.startsWith("!!"))t=n+t.slice(2);let f=findTagObject(e,t,c.tags);if(!f){if(typeof e.toJSON==="function")e=e.toJSON();if(!e||typeof e!=="object")return u?new s.Scalar(e):e;f=e instanceof Map?o:e[Symbol.iterator]?a:o}if(i){i(f);delete r.onTagObj}const h={value:undefined,node:undefined};if(e&&typeof e==="object"&&l){const t=l.get(e);if(t){const e=new s.Alias(t);r.aliasNodes.push(e);return e}h.value=e;l.set(e,h)}h.node=f.createNode?f.createNode(r.schema,e,r):u?new s.Scalar(e):e;if(t&&h.node instanceof s.Node)h.node.tag=t;return h.node}function getSchemaTags(e,t,r,n){let s=e[n.replace(/\W/g,"")];if(!s){const t=Object.keys(e).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${n}"; use one of ${t}`)}if(Array.isArray(r)){for(const e of r)s=s.concat(e)}else if(typeof r==="function"){s=r(s.slice())}for(let e=0;eJSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${r}"; use one of ${e}`)}s[e]=n}}return s}const sortMapEntriesByKey=(e,t)=>e.keyt.key?1:0;class Schema{constructor({customTags:e,merge:t,schema:r,sortMapEntries:n,tags:s}){this.merge=!!t;this.name=r;this.sortMapEntries=n===true?sortMapEntriesByKey:n||null;if(!e&&s)i.warnOptionDeprecation("tags","customTags");this.tags=getSchemaTags(w,S,e||s,r)}createNode(e,t,r,n){const s={defaultPrefix:Schema.defaultPrefix,schema:this,wrapScalars:t};const i=n?Object.assign(n,s):s;return createNode(e,r,i)}createPair(e,t,r){if(!r)r={wrapScalars:true};const n=this.createNode(e,r.wrapScalars,null,r);const i=this.createNode(t,r.wrapScalars,null,r);return new s.Pair(n,i)}}n._defineProperty(Schema,"defaultPrefix",n.defaultTagPrefix);n._defineProperty(Schema,"defaultTags",n.defaultTags);t.Schema=Schema},3897:(e,t,r)=>{"use strict";var n=r(4805);var s=r(8745);var i=r(5564);var o=r(2592);var a=r(8201);r(4288);function createNode(e,t=true,r){if(r===undefined&&typeof t==="string"){r=t;t=true}const n=Object.assign({},s.Document.defaults[s.defaultOptions.version],s.defaultOptions);const o=new i.Schema(n);return o.createNode(e,t,r)}class Document extends s.Document{constructor(e){super(Object.assign({},s.defaultOptions,e))}}function parseAllDocuments(e,t){const r=[];let s;for(const i of n.parse(e)){const e=new Document(t);e.parse(i,s);r.push(e);s=e}return r}function parseDocument(e,t){const r=n.parse(e);const s=new Document(t).parse(r[0]);if(r.length>1){const e="Source contains multiple documents; please use YAML.parseAllDocuments()";s.errors.unshift(new o.YAMLSemanticError(r[1],e))}return s}function parse(e,t){const r=parseDocument(e,t);r.warnings.forEach((e=>a.warn(e)));if(r.errors.length>0)throw r.errors[0];return r.toJSON()}function stringify(e,t){const r=new Document(t);r.contents=e;return String(r)}const l={createNode:createNode,defaultOptions:s.defaultOptions,Document:Document,parse:parse,parseAllDocuments:parseAllDocuments,parseCST:n.parse,parseDocument:parseDocument,scalarOptions:s.scalarOptions,stringify:stringify};t.YAML=l},4805:(e,t,r)=>{"use strict";var n=r(2592);class BlankLine extends n.Node{constructor(){super(n.Type.BLANK_LINE)}get includesTrailingLines(){return true}parse(e,t){this.context=e;this.range=new n.Range(t,t+1);return t+1}}class CollectionItem extends n.Node{constructor(e,t){super(e,t);this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let{atLineStart:i,lineStart:o}=e;if(!i&&this.type===n.Type.SEQ_ITEM)this.error=new n.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line");const a=i?t-o:e.indent;let l=n.Node.endOfWhiteSpace(s,t+1);let c=s[l];const u=c==="#";const f=[];let h=null;while(c==="\n"||c==="#"){if(c==="#"){const e=n.Node.endOfLine(s,l+1);f.push(new n.Range(l,e));l=e}else{i=true;o=l+1;const e=n.Node.endOfWhiteSpace(s,o);if(s[e]==="\n"&&f.length===0){h=new BlankLine;o=h.parse({src:s},o)}l=n.Node.endOfIndent(s,o)}c=s[l]}if(n.Node.nextNodeIsIndented(c,l-(o+a),this.type!==n.Type.SEQ_ITEM)){this.node=r({atLineStart:i,inCollection:false,indent:a,lineStart:o,parent:this},l)}else if(c&&o>t+1){l=o-1}if(this.node){if(h){const t=e.parent.items||e.parent.contents;if(t)t.push(h)}if(f.length)Array.prototype.push.apply(this.props,f);l=this.node.range.end}else{if(u){const e=f[0];this.props.push(e);l=e.end}else{l=n.Node.endOfLine(s,t+1)}}const p=this.node?this.node.valueRange.end:l;this.valueRange=new n.Range(t,p);return l}setOrigRanges(e,t){t=super.setOrigRanges(e,t);return this.node?this.node.setOrigRanges(e,t):t}toString(){const{context:{src:e},node:t,range:r,value:s}=this;if(s!=null)return s;const i=t?e.slice(r.start,t.range.start)+String(t):e.slice(r.start,r.end);return n.Node.addStringTerminator(e,r.end,i)}}class Comment extends n.Node{constructor(){super(n.Type.COMMENT)}parse(e,t){this.context=e;const r=this.parseComment(t);this.range=new n.Range(t,r);return r}}function grabCollectionEndComments(e){let t=e;while(t instanceof CollectionItem)t=t.node;if(!(t instanceof Collection))return null;const r=t.items.length;let s=-1;for(let e=r-1;e>=0;--e){const r=t.items[e];if(r.type===n.Type.COMMENT){const{indent:t,lineStart:n}=r.context;if(t>0&&r.range.start>=n+t)break;s=e}else if(r.type===n.Type.BLANK_LINE)s=e;else break}if(s===-1)return null;const i=t.items.splice(s,r-s);const o=i[0].range.start;while(true){t.range.end=o;if(t.valueRange&&t.valueRange.end>o)t.valueRange.end=o;if(t===e)break;t=t.context.parent}return i}class Collection extends n.Node{static nextContentHasIndent(e,t,r){const s=n.Node.endOfLine(e,t)+1;t=n.Node.endOfWhiteSpace(e,s);const i=e[t];if(!i)return false;if(t>=s+r)return true;if(i!=="#"&&i!=="\n")return false;return Collection.nextContentHasIndent(e,t,r)}constructor(e){super(e.type===n.Type.SEQ_ITEM?n.Type.SEQ:n.Type.MAP);for(let t=e.props.length-1;t>=0;--t){if(e.props[t].start0}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let i=n.Node.startOfLine(s,t);const o=this.items[0];o.context.parent=this;this.valueRange=n.Range.copy(o.valueRange);const a=o.range.start-o.context.lineStart;let l=t;l=n.Node.normalizeOffset(s,l);let c=s[l];let u=n.Node.endOfWhiteSpace(s,i)===l;let f=false;while(c){while(c==="\n"||c==="#"){if(u&&c==="\n"&&!f){const e=new BlankLine;l=e.parse({src:s},l);this.valueRange.end=l;if(l>=s.length){c=null;break}this.items.push(e);l-=1}else if(c==="#"){if(l=s.length){c=null;break}}i=l+1;l=n.Node.endOfIndent(s,i);if(n.Node.atBlank(s,l)){const e=n.Node.endOfWhiteSpace(s,l);const t=s[e];if(!t||t==="\n"||t==="#"){l=e}}c=s[l];u=true}if(!c){break}if(l!==i+a&&(u||c!==":")){if(lt)l=i;break}else if(!this.error){const e="All collection items must start at the same column";this.error=new n.YAMLSyntaxError(this,e)}}if(o.type===n.Type.SEQ_ITEM){if(c!=="-"){if(i>t)l=i;break}}else if(c==="-"&&!this.error){const e=s[l+1];if(!e||e==="\n"||e==="\t"||e===" "){const e="A collection cannot be both a mapping and a sequence";this.error=new n.YAMLSyntaxError(this,e)}}const e=r({atLineStart:u,inCollection:true,indent:a,lineStart:i,parent:this},l);if(!e)return l;this.items.push(e);this.valueRange.end=e.valueRange.end;l=n.Node.normalizeOffset(s,e.range.end);c=s[l];u=false;f=e.includesTrailingLines;if(c){let e=l-1;let t=s[e];while(t===" "||t==="\t")t=s[--e];if(t==="\n"){i=e+1;u=true}}const h=grabCollectionEndComments(e);if(h)Array.prototype.push.apply(this.items,h)}return l}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.items.forEach((r=>{t=r.setOrigRanges(e,t)}));return t}toString(){const{context:{src:e},items:t,range:r,value:s}=this;if(s!=null)return s;let i=e.slice(r.start,t[0].range.start)+String(t[0]);for(let e=1;e0){this.contents=this.directives;this.directives=[]}return i}}if(t[i]){this.directivesEndMarker=new n.Range(i,i+3);return i+3}if(s){this.error=new n.YAMLSemanticError(this,"Missing directives-end indicator line")}else if(this.directives.length>0){this.contents=this.directives;this.directives=[]}return i}parseContents(e){const{parseNode:t,src:r}=this.context;if(!this.contents)this.contents=[];let s=e;while(r[s-1]==="-")s-=1;let i=n.Node.endOfWhiteSpace(r,e);let o=s===e;this.valueRange=new n.Range(i);while(!n.Node.atDocumentBoundary(r,i,n.Char.DOCUMENT_END)){switch(r[i]){case"\n":if(o){const e=new BlankLine;i=e.parse({src:r},i);if(i{t=r.setOrigRanges(e,t)}));if(this.directivesEndMarker)t=this.directivesEndMarker.setOrigRange(e,t);this.contents.forEach((r=>{t=r.setOrigRanges(e,t)}));if(this.documentEndMarker)t=this.documentEndMarker.setOrigRange(e,t);return t}toString(){const{contents:e,directives:t,value:r}=this;if(r!=null)return r;let s=t.join("");if(e.length>0){if(t.length>0||e[0].type===n.Type.COMMENT)s+="---\n";s+=e.join("")}if(s[s.length-1]!=="\n")s+="\n";return s}}class Alias extends n.Node{parse(e,t){this.context=e;const{src:r}=e;let s=n.Node.endOfIdentifier(r,t+1);this.valueRange=new n.Range(t+1,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}const s={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"};class BlockValue extends n.Node{constructor(e,t){super(e,t);this.blockIndent=null;this.chomping=s.CLIP;this.header=null}get includesTrailingLines(){return this.chomping===s.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{indent:r,src:i}=this.context;if(this.valueRange.isEmpty())return"";let o=null;let a=i[t-1];while(a==="\n"||a==="\t"||a===" "){t-=1;if(t<=e){if(this.chomping===s.KEEP)break;else return""}if(a==="\n")o=t;a=i[t-1]}let l=t+1;if(o){if(this.chomping===s.KEEP){l=o;t=this.valueRange.end}else{t=o}}const c=r+this.blockIndent;const u=this.type===n.Type.BLOCK_FOLDED;let f=true;let h="";let p="";let d=false;for(let r=e;rl){l=c}}else if(s&&s!=="\n"&&c{if(r instanceof n.Node){t=r.setOrigRanges(e,t)}else if(e.length===0){r.origOffset=r.offset}else{let n=t;while(nr.offset)break;else++n}r.origOffset=r.offset+n;t=n}}));return t}toString(){const{context:{src:e},items:t,range:r,value:s}=this;if(s!=null)return s;const i=t.filter((e=>e instanceof n.Node));let o="";let a=r.start;i.forEach((t=>{const r=e.slice(a,t.range.start);a=t.range.end;o+=r+String(t);if(o[o.length-1]==="\n"&&e[a-1]!=="\n"&&e[a]==="\n"){a+=1}}));o+=e.slice(a,r.end);return n.Node.addStringTerminator(e,r.end,o)}}class QuoteDouble extends n.Node{static endOfQuote(e,t){let r=e[t];while(r&&r!=='"'){t+=r==="\\"?2:1;r=e[t]}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:r}=this.valueRange;const{indent:s,src:i}=this.context;if(i[r-1]!=='"')e.push(new n.YAMLSyntaxError(this,'Missing closing "quote'));let o="";for(let a=t+1;ae?i.slice(e,a+1):t}else{o+=t}}return e.length>0?{errors:e,str:o}:o}parseCharCode(e,t,r){const{src:s}=this.context;const i=s.substr(e,t);const o=i.length===t&&/^[0-9a-fA-F]+$/.test(i);const a=o?parseInt(i,16):NaN;if(isNaN(a)){r.push(new n.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,t+2)}`));return s.substr(e-2,t+2)}return String.fromCodePoint(a)}parse(e,t){this.context=e;const{src:r}=e;let s=QuoteDouble.endOfQuote(r,t+1);this.valueRange=new n.Range(t,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}class QuoteSingle extends n.Node{static endOfQuote(e,t){let r=e[t];while(r){if(r==="'"){if(e[t+1]!=="'")break;r=e[t+=2]}else{r=e[t+=1]}}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:r}=this.valueRange;const{indent:s,src:i}=this.context;if(i[r-1]!=="'")e.push(new n.YAMLSyntaxError(this,"Missing closing 'quote"));let o="";for(let a=t+1;ae?i.slice(e,a+1):t}else{o+=t}}return e.length>0?{errors:e,str:o}:o}parse(e,t){this.context=e;const{src:r}=e;let s=QuoteSingle.endOfQuote(r,t+1);this.valueRange=new n.Range(t,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}function createNewNode(e,t){switch(e){case n.Type.ALIAS:return new Alias(e,t);case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:return new BlockValue(e,t);case n.Type.FLOW_MAP:case n.Type.FLOW_SEQ:return new FlowCollection(e,t);case n.Type.MAP_KEY:case n.Type.MAP_VALUE:case n.Type.SEQ_ITEM:return new CollectionItem(e,t);case n.Type.COMMENT:case n.Type.PLAIN:return new n.PlainValue(e,t);case n.Type.QUOTE_DOUBLE:return new QuoteDouble(e,t);case n.Type.QUOTE_SINGLE:return new QuoteSingle(e,t);default:return null}}class ParseContext{static parseType(e,t,r){switch(e[t]){case"*":return n.Type.ALIAS;case">":return n.Type.BLOCK_FOLDED;case"|":return n.Type.BLOCK_LITERAL;case"{":return n.Type.FLOW_MAP;case"[":return n.Type.FLOW_SEQ;case"?":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.MAP_KEY:n.Type.PLAIN;case":":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.MAP_VALUE:n.Type.PLAIN;case"-":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.SEQ_ITEM:n.Type.PLAIN;case'"':return n.Type.QUOTE_DOUBLE;case"'":return n.Type.QUOTE_SINGLE;default:return n.Type.PLAIN}}constructor(e={},{atLineStart:t,inCollection:r,inFlow:s,indent:i,lineStart:o,parent:a}={}){n._defineProperty(this,"parseNode",((e,t)=>{if(n.Node.atDocumentBoundary(this.src,t))return null;const r=new ParseContext(this,e);const{props:s,type:i,valueStart:o}=r.parseProps(t);const a=createNewNode(i,s);let l=a.parse(r,o);a.range=new n.Range(t,l);if(l<=t){a.error=new Error(`Node#parse consumed no characters`);a.error.parseEnd=l;a.error.source=a;a.range.end=t+1}if(r.nodeStartsCollection(a)){if(!a.error&&!r.atLineStart&&r.parent.type===n.Type.DOCUMENT){a.error=new n.YAMLSyntaxError(a,"Block collection must not have preceding content here (e.g. directives-end indicator)")}const e=new Collection(a);l=e.parse(new ParseContext(r),l);e.range=new n.Range(t,l);return e}return a}));this.atLineStart=t!=null?t:e.atLineStart||false;this.inCollection=r!=null?r:e.inCollection||false;this.inFlow=s!=null?s:e.inFlow||false;this.indent=i!=null?i:e.indent;this.lineStart=o!=null?o:e.lineStart;this.parent=a!=null?a:e.parent||{};this.root=e.root;this.src=e.src}nodeStartsCollection(e){const{inCollection:t,inFlow:r,src:s}=this;if(t||r)return false;if(e instanceof CollectionItem)return true;let i=e.range.end;if(s[i]==="\n"||s[i-1]==="\n")return false;i=n.Node.endOfWhiteSpace(s,i);return s[i]===":"}parseProps(e){const{inFlow:t,parent:r,src:s}=this;const i=[];let o=false;e=this.atLineStart?n.Node.endOfIndent(s,e):n.Node.endOfWhiteSpace(s,e);let a=s[e];while(a===n.Char.ANCHOR||a===n.Char.COMMENT||a===n.Char.TAG||a==="\n"){if(a==="\n"){let t=e;let i;do{i=t+1;t=n.Node.endOfIndent(s,i)}while(s[t]==="\n");const a=t-(i+this.indent);const l=r.type===n.Type.SEQ_ITEM&&r.context.atLineStart;if(s[t]!=="#"&&!n.Node.nextNodeIsIndented(s[t],a,!l))break;this.atLineStart=true;this.lineStart=i;o=false;e=t}else if(a===n.Char.COMMENT){const t=n.Node.endOfLine(s,e+1);i.push(new n.Range(e,t));e=t}else{let t=n.Node.endOfIdentifier(s,e+1);if(a===n.Char.TAG&&s[t]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,t+13))){t=n.Node.endOfIdentifier(s,t+5)}i.push(new n.Range(e,t));o=true;e=n.Node.endOfWhiteSpace(s,t)}a=s[e]}if(o&&a===":"&&n.Node.atBlank(s,e+1,true))e-=1;const l=ParseContext.parseType(s,e,t);return{props:i,type:l,valueStart:e}}}function parse(e){const t=[];if(e.indexOf("\r")!==-1){e=e.replace(/\r\n?/g,((e,r)=>{if(e.length>1)t.push(r);return"\n"}))}const r=[];let n=0;do{const t=new Document;const s=new ParseContext({src:e});n=t.parse(s,n);r.push(t)}while(n{if(t.length===0)return false;for(let e=1;er.join("...\n");return r}t.parse=parse},4288:(e,t,r)=>{"use strict";var n=r(2592);function addCommentBefore(e,t,r){if(!r)return e;const n=r.replace(/[\s\S]^/gm,`$&${t}#`);return`#${n}\n${t}${e}`}function addComment(e,t,r){return!r?e:r.indexOf("\n")===-1?`${e} #${r}`:`${e}\n`+r.replace(/^/gm,`${t||""}#`)}class Node{}function toJSON(e,t,r){if(Array.isArray(e))return e.map(((e,t)=>toJSON(e,String(t),r)));if(e&&typeof e.toJSON==="function"){const n=r&&r.anchors&&r.anchors.get(e);if(n)r.onCreate=e=>{n.res=e;delete r.onCreate};const s=e.toJSON(t,r);if(n&&r.onCreate)r.onCreate(s);return s}if((!r||!r.keep)&&typeof e==="bigint")return Number(e);return e}class Scalar extends Node{constructor(e){super();this.value=e}toJSON(e,t){return t&&t.keep?this.value:toJSON(this.value,e,t)}toString(){return String(this.value)}}function collectionFromPath(e,t,r){let n=r;for(let e=t.length-1;e>=0;--e){const r=t[e];if(Number.isInteger(r)&&r>=0){const e=[];e[r]=n;n=e}else{const e={};Object.defineProperty(e,r,{value:n,writable:true,enumerable:true,configurable:true});n=e}}return e.createNode(n,false)}const isEmptyPath=e=>e==null||typeof e==="object"&&e[Symbol.iterator]().next().done;class Collection extends Node{constructor(e){super();n._defineProperty(this,"items",[]);this.schema=e}addIn(e,t){if(isEmptyPath(e))this.add(t);else{const[r,...n]=e;const s=this.get(r,true);if(s instanceof Collection)s.addIn(n,t);else if(s===undefined&&this.schema)this.set(r,collectionFromPath(this.schema,n,t));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`)}}deleteIn([e,...t]){if(t.length===0)return this.delete(e);const r=this.get(e,true);if(r instanceof Collection)return r.deleteIn(t);else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}getIn([e,...t],r){const n=this.get(e,true);if(t.length===0)return!r&&n instanceof Scalar?n.value:n;else return n instanceof Collection?n.getIn(t,r):undefined}hasAllNullValues(){return this.items.every((e=>{if(!e||e.type!=="PAIR")return false;const t=e.value;return t==null||t instanceof Scalar&&t.value==null&&!t.commentBefore&&!t.comment&&!t.tag}))}hasIn([e,...t]){if(t.length===0)return this.has(e);const r=this.get(e,true);return r instanceof Collection?r.hasIn(t):false}setIn([e,...t],r){if(t.length===0){this.set(e,r)}else{const n=this.get(e,true);if(n instanceof Collection)n.setIn(t,r);else if(n===undefined&&this.schema)this.set(e,collectionFromPath(this.schema,t,r));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}}toJSON(){return null}toString(e,{blockItem:t,flowChars:r,isMap:s,itemIndent:i},o,a){const{indent:l,indentStep:c,stringify:u}=e;const f=this.type===n.Type.FLOW_MAP||this.type===n.Type.FLOW_SEQ||e.inFlow;if(f)i+=c;const h=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:h,indent:i,inFlow:f,type:null});let p=false;let d=false;const g=this.items.reduce(((t,r,n)=>{let s;if(r){if(!p&&r.spaceBefore)t.push({type:"comment",str:""});if(r.commentBefore)r.commentBefore.match(/^.*$/gm).forEach((e=>{t.push({type:"comment",str:`#${e}`})}));if(r.comment)s=r.comment;if(f&&(!p&&r.spaceBefore||r.commentBefore||r.comment||r.key&&(r.key.commentBefore||r.key.comment)||r.value&&(r.value.commentBefore||r.value.comment)))d=true}p=false;let o=u(r,e,(()=>s=null),(()=>p=true));if(f&&!d&&o.includes("\n"))d=true;if(f&&ne.str));if(d||n.reduce(((e,t)=>e+t.length+2),2)>Collection.maxFlowStringSingleLineLength){m=e;for(const e of n){m+=e?`\n${c}${l}${e}`:"\n"}m+=`\n${l}${t}`}else{m=`${e} ${n.join(" ")} ${t}`}}else{const e=g.map(t);m=e.shift();for(const t of e)m+=t?`\n${l}${t}`:"\n"}if(this.comment){m+="\n"+this.comment.replace(/^/gm,`${l}#`);if(o)o()}else if(p&&a)a();return m}}n._defineProperty(Collection,"maxFlowStringSingleLineLength",60);function asItemIndex(e){let t=e instanceof Scalar?e.value:e;if(t&&typeof t==="string")t=Number(t);return Number.isInteger(t)&&t>=0?t:null}class YAMLSeq extends Collection{add(e){this.items.push(e)}delete(e){const t=asItemIndex(e);if(typeof t!=="number")return false;const r=this.items.splice(t,1);return r.length>0}get(e,t){const r=asItemIndex(e);if(typeof r!=="number")return undefined;const n=this.items[r];return!t&&n instanceof Scalar?n.value:n}has(e){const t=asItemIndex(e);return typeof t==="number"&&te.type==="comment"?e.str:`- ${e.str}`,flowChars:{start:"[",end:"]"},isMap:false,itemIndent:(e.indent||"")+" "},t,r)}}const stringifyKey=(e,t,r)=>{if(t===null)return"";if(typeof t!=="object")return String(t);if(e instanceof Node&&r&&r.doc)return e.toString({anchors:Object.create(null),doc:r.doc,indent:"",indentStep:r.indentStep,inFlow:true,inStringifyKey:true,stringify:r.stringify});return JSON.stringify(t)};class Pair extends Node{constructor(e,t=null){super();this.key=e;this.value=t;this.type=Pair.Type.PAIR}get commentBefore(){return this.key instanceof Node?this.key.commentBefore:undefined}set commentBefore(e){if(this.key==null)this.key=new Scalar(null);if(this.key instanceof Node)this.key.commentBefore=e;else{const e="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(e)}}addToJSMap(e,t){const r=toJSON(this.key,"",e);if(t instanceof Map){const n=toJSON(this.value,r,e);t.set(r,n)}else if(t instanceof Set){t.add(r)}else{const n=stringifyKey(this.key,r,e);const s=toJSON(this.value,n,e);if(n in t)Object.defineProperty(t,n,{value:s,writable:true,enumerable:true,configurable:true});else t[n]=s}return t}toJSON(e,t){const r=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,r)}toString(e,t,r){if(!e||!e.doc)return JSON.stringify(this);const{indent:s,indentSeq:i,simpleKeys:o}=e.doc.options;let{key:a,value:l}=this;let c=a instanceof Node&&a.comment;if(o){if(c){throw new Error("With simple keys, key nodes cannot have comments")}if(a instanceof Collection){const e="With simple keys, collection cannot be used as a key value";throw new Error(e)}}let u=!o&&(!a||c||(a instanceof Node?a instanceof Collection||a.type===n.Type.BLOCK_FOLDED||a.type===n.Type.BLOCK_LITERAL:typeof a==="object"));const{doc:f,indent:h,indentStep:p,stringify:d}=e;e=Object.assign({},e,{implicitKey:!u,indent:h+p});let g=false;let m=d(a,e,(()=>c=null),(()=>g=true));m=addComment(m,e.indent,c);if(!u&&m.length>1024){if(o)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");u=true}if(e.allNullValues&&!o){if(this.comment){m=addComment(m,e.indent,this.comment);if(t)t()}else if(g&&!c&&r)r();return e.inFlow&&!u?m:`? ${m}`}m=u?`? ${m}\n${h}:`:`${m}:`;if(this.comment){m=addComment(m,e.indent,this.comment);if(t)t()}let y="";let v=null;if(l instanceof Node){if(l.spaceBefore)y="\n";if(l.commentBefore){const t=l.commentBefore.replace(/^/gm,`${e.indent}#`);y+=`\n${t}`}v=l.comment}else if(l&&typeof l==="object"){l=f.schema.createNode(l,true)}e.implicitKey=false;if(!u&&!this.comment&&l instanceof Scalar)e.indentAtStart=m.length+1;g=false;if(!i&&s>=2&&!e.inFlow&&!u&&l instanceof YAMLSeq&&l.type!==n.Type.FLOW_SEQ&&!l.tag&&!f.anchors.getName(l)){e.indent=e.indent.substr(2)}const E=d(l,e,(()=>v=null),(()=>g=true));let b=" ";if(y||this.comment){b=`${y}\n${e.indent}`}else if(!u&&l instanceof Collection){const t=E[0]==="["||E[0]==="{";if(!t||E.includes("\n"))b=`\n${e.indent}`}else if(E[0]==="\n")b="";if(g&&!v&&r)r();return addComment(m+b+E,e.indent,v)}}n._defineProperty(Pair,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});const getAliasCount=(e,t)=>{if(e instanceof Alias){const r=t.get(e.source);return r.count*r.aliasCount}else if(e instanceof Collection){let r=0;for(const n of e.items){const e=getAliasCount(n,t);if(e>r)r=e}return r}else if(e instanceof Pair){const r=getAliasCount(e.key,t);const n=getAliasCount(e.value,t);return Math.max(r,n)}return 1};class Alias extends Node{static stringify({range:e,source:t},{anchors:r,doc:n,implicitKey:s,inStringifyKey:i}){let o=Object.keys(r).find((e=>r[e]===t));if(!o&&i)o=n.anchors.getName(t)||n.anchors.newName();if(o)return`*${o}${s?" ":""}`;const a=n.anchors.getName(t)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${a} [${e}]`)}constructor(e){super();this.source=e;this.type=n.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,t){if(!t)return toJSON(this.source,e,t);const{anchors:r,maxAliasCount:s}=t;const i=r.get(this.source);if(!i||i.res===undefined){const e="This should not happen: Alias anchor was not resolved?";if(this.cstNode)throw new n.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}if(s>=0){i.count+=1;if(i.aliasCount===0)i.aliasCount=getAliasCount(this.source,r);if(i.count*i.aliasCount>s){const e="Excessive alias count indicates a resource exhaustion attack";if(this.cstNode)throw new n.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}}return i.res}toString(e){return Alias.stringify(this,e)}}n._defineProperty(Alias,"default",true);function findPair(e,t){const r=t instanceof Scalar?t.value:t;for(const n of e){if(n instanceof Pair){if(n.key===t||n.key===r)return n;if(n.key&&n.key.value===r)return n}}return undefined}class YAMLMap extends Collection{add(e,t){if(!e)e=new Pair(e);else if(!(e instanceof Pair))e=new Pair(e.key||e,e.value);const r=findPair(this.items,e.key);const n=this.schema&&this.schema.sortMapEntries;if(r){if(t)r.value=e.value;else throw new Error(`Key ${e.key} already set`)}else if(n){const t=this.items.findIndex((t=>n(e,t)<0));if(t===-1)this.items.push(e);else this.items.splice(t,0,e)}else{this.items.push(e)}}delete(e){const t=findPair(this.items,e);if(!t)return false;const r=this.items.splice(this.items.indexOf(t),1);return r.length>0}get(e,t){const r=findPair(this.items,e);const n=r&&r.value;return!t&&n instanceof Scalar?n.value:n}has(e){return!!findPair(this.items,e)}set(e,t){this.add(new Pair(e,t),true)}toJSON(e,t,r){const n=r?new r:t&&t.mapAsMap?new Map:{};if(t&&t.onCreate)t.onCreate(n);for(const e of this.items)e.addToJSMap(t,n);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(const e of this.items){if(!(e instanceof Pair))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`)}return super.toString(e,{blockItem:e=>e.str,flowChars:{start:"{",end:"}"},isMap:true,itemIndent:e.indent||""},t,r)}}const s="<<";class Merge extends Pair{constructor(e){if(e instanceof Pair){let t=e.value;if(!(t instanceof YAMLSeq)){t=new YAMLSeq;t.items.push(e.value);t.range=e.value.range}super(e.key,t);this.range=e.range}else{super(new Scalar(s),new YAMLSeq)}this.type=Pair.Type.MERGE_PAIR}addToJSMap(e,t){for(const{source:r}of this.value.items){if(!(r instanceof YAMLMap))throw new Error("Merge sources must be maps");const n=r.toJSON(null,e,Map);for(const[e,r]of n){if(t instanceof Map){if(!t.has(e))t.set(e,r)}else if(t instanceof Set){t.add(e)}else if(!Object.prototype.hasOwnProperty.call(t,e)){Object.defineProperty(t,e,{value:r,writable:true,enumerable:true,configurable:true})}}}return t}toString(e,t){const r=this.value;if(r.items.length>1)return super.toString(e,t);this.value=r.items[0];const n=super.toString(e,t);this.value=r;return n}}const i={defaultType:n.Type.BLOCK_LITERAL,lineWidth:76};const o={trueStr:"true",falseStr:"false"};const a={asBigInt:false};const l={nullStr:"null"};const c={defaultType:n.Type.PLAIN,doubleQuoted:{jsonEncoding:false,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function resolveScalar(e,t,r){for(const{format:r,test:n,resolve:s}of t){if(n){const t=e.match(n);if(t){let e=s.apply(null,t);if(!(e instanceof Scalar))e=new Scalar(e);if(r)e.format=r;return e}}}if(r)e=r(e);return new Scalar(e)}const u="flow";const f="block";const h="quoted";const consumeMoreIndentedLines=(e,t)=>{let r=e[t+1];while(r===" "||r==="\t"){do{r=e[t+=1]}while(r&&r!=="\n");r=e[t+1]}return t};function foldFlowLines(e,t,r,{indentAtStart:n,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}){if(!s||s<0)return e;const l=Math.max(1+i,1+s-t.length);if(e.length<=l)return e;const c=[];const u={};let p=s-t.length;if(typeof n==="number"){if(n>s-Math.max(2,i))c.push(0);else p=s-n}let d=undefined;let g=undefined;let m=false;let y=-1;let v=-1;let E=-1;if(r===f){y=consumeMoreIndentedLines(e,y);if(y!==-1)p=y+l}for(let t;t=e[y+=1];){if(r===h&&t==="\\"){v=y;switch(e[y+1]){case"x":y+=3;break;case"u":y+=5;break;case"U":y+=9;break;default:y+=1}E=y}if(t==="\n"){if(r===f)y=consumeMoreIndentedLines(e,y);p=y+l;d=undefined}else{if(t===" "&&g&&g!==" "&&g!=="\n"&&g!=="\t"){const t=e[y+1];if(t&&t!==" "&&t!=="\n"&&t!=="\t")d=y}if(y>=p){if(d){c.push(d);p=d+l;d=undefined}else if(r===h){while(g===" "||g==="\t"){g=t;t=e[y+=1];m=true}const r=y>E+1?y-2:v-1;if(u[r])return e;c.push(r);u[r]=true;p=r+l;d=undefined}else{m=true}}}g=t}if(m&&a)a();if(c.length===0)return e;if(o)o();let b=e.slice(0,c[0]);for(let n=0;ne?Object.assign({indentAtStart:e},c.fold):c.fold;const containsDocumentMarker=e=>/^(%|---|\.\.\.)/m.test(e);function lineLengthOverLimit(e,t,r){if(!t||t<0)return false;const n=t-r;const s=e.length;if(s<=n)return false;for(let t=0,r=0;tn)return true;r=t+1;if(s-r<=n)return false}}return true}function doubleQuotedString(e,t){const{implicitKey:r}=t;const{jsonEncoding:n,minMultiLineLength:s}=c.doubleQuoted;const i=JSON.stringify(e);if(n)return i;const o=t.indent||(containsDocumentMarker(e)?" ":"");let a="";let l=0;for(let e=0,t=i[e];t;t=i[++e]){if(t===" "&&i[e+1]==="\\"&&i[e+2]==="n"){a+=i.slice(l,e)+"\\ ";e+=1;l=e;t="\\"}if(t==="\\")switch(i[e+1]){case"u":{a+=i.slice(l,e);const t=i.substr(e+2,4);switch(t){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:if(t.substr(0,2)==="00")a+="\\x"+t.substr(2);else a+=i.substr(e,6)}e+=5;l=e+1}break;case"n":if(r||i[e+2]==='"'||i.length";if(!r)return h+"\n";let p="";let d="";r=r.replace(/[\n\t ]*$/,(e=>{const t=e.indexOf("\n");if(t===-1){h+="-"}else if(r===e||t!==e.length-1){h+="+";if(o)o()}d=e.replace(/\n$/,"");return""})).replace(/^[\n ]*/,(e=>{if(e.indexOf(" ")!==-1)h+=l;const t=e.match(/ +$/);if(t){p=e.slice(0,-t[0].length);return t[0]}else{p=e;return""}}));if(d)d=d.replace(/\n+(?!\n|$)/g,`$&${a}`);if(p)p=p.replace(/\n+/g,`$&${a}`);if(e){h+=" #"+e.replace(/ ?[\r\n]+/g," ");if(i)i()}if(!r)return`${h}${l}\n${a}${d}`;if(u){r=r.replace(/\n+/g,`$&${a}`);return`${h}\n${a}${p}${r}${d}`}r=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${a}`);const g=foldFlowLines(`${p}${r}${d}`,a,f,c.fold);return`${h}\n${a}${g}`}function plainString(e,t,r,s){const{comment:i,type:o,value:a}=e;const{actualString:l,implicitKey:c,indent:f,inFlow:h}=t;if(c&&/[\n[\]{},]/.test(a)||h&&/[[\]{},]/.test(a)){return doubleQuotedString(a,t)}if(!a||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a)){return c||h||a.indexOf("\n")===-1?a.indexOf('"')!==-1&&a.indexOf("'")===-1?singleQuotedString(a,t):doubleQuotedString(a,t):blockString(e,t,r,s)}if(!c&&!h&&o!==n.Type.PLAIN&&a.indexOf("\n")!==-1){return blockString(e,t,r,s)}if(f===""&&containsDocumentMarker(a)){t.forceBlockIndent=true;return blockString(e,t,r,s)}const p=a.replace(/\n+/g,`$&\n${f}`);if(l){const{tags:e}=t.doc.schema;const r=resolveScalar(p,e,e.scalarFallback).value;if(typeof r!=="string")return doubleQuotedString(a,t)}const d=c?p:foldFlowLines(p,f,u,getFoldOptions(t));if(i&&!h&&(d.indexOf("\n")!==-1||i.indexOf("\n")!==-1)){if(r)r();return addCommentBefore(d,f,i)}return d}function stringifyString(e,t,r,s){const{defaultType:i}=c;const{implicitKey:o,inFlow:a}=t;let{type:l,value:u}=e;if(typeof u!=="string"){u=String(u);e=Object.assign({},e,{value:u})}const _stringify=i=>{switch(i){case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:return blockString(e,t,r,s);case n.Type.QUOTE_DOUBLE:return doubleQuotedString(u,t);case n.Type.QUOTE_SINGLE:return singleQuotedString(u,t);case n.Type.PLAIN:return plainString(e,t,r,s);default:return null}};if(l!==n.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(u)){l=n.Type.QUOTE_DOUBLE}else if((o||a)&&(l===n.Type.BLOCK_FOLDED||l===n.Type.BLOCK_LITERAL)){l=n.Type.QUOTE_DOUBLE}let f=_stringify(l);if(f===null){f=_stringify(i);if(f===null)throw new Error(`Unsupported default string type ${i}`)}return f}function stringifyNumber({format:e,minFractionDigits:t,tag:r,value:n}){if(typeof n==="bigint")return String(n);if(!isFinite(n))return isNaN(n)?".nan":n<0?"-.inf":".inf";let s=JSON.stringify(n);if(!e&&t&&(!r||r==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let e=s.indexOf(".");if(e<0){e=s.length;s+="."}let r=t-(s.length-e-1);while(r-- >0)s+="0"}return s}function checkFlowCollectionEnd(e,t){let r,s;switch(t.type){case n.Type.FLOW_MAP:r="}";s="flow map";break;case n.Type.FLOW_SEQ:r="]";s="flow sequence";break;default:e.push(new n.YAMLSemanticError(t,"Not a flow collection!?"));return}let i;for(let e=t.items.length-1;e>=0;--e){const r=t.items[e];if(!r||r.type!==n.Type.COMMENT){i=r;break}}if(i&&i.char!==r){const o=`Expected ${s} to end with ${r}`;let a;if(typeof i.offset==="number"){a=new n.YAMLSemanticError(t,o);a.offset=i.offset+1}else{a=new n.YAMLSemanticError(i,o);if(i.range&&i.range.end)a.offset=i.range.end-i.range.start}e.push(a)}}function checkFlowCommentSpace(e,t){const r=t.context.src[t.range.start-1];if(r!=="\n"&&r!=="\t"&&r!==" "){const r="Comments must be separated from other tokens by white space characters";e.push(new n.YAMLSemanticError(t,r))}}function getLongKeyError(e,t){const r=String(t);const s=r.substr(0,8)+"..."+r.substr(-8);return new n.YAMLSemanticError(e,`The "${s}" key is too long`)}function resolveComments(e,t){for(const{afterKey:r,before:n,comment:s}of t){let t=e.items[n];if(!t){if(s!==undefined){if(e.comment)e.comment+="\n"+s;else e.comment=s}}else{if(r&&t.value)t=t.value;if(s===undefined){if(r||!t.commentBefore)t.spaceBefore=true}else{if(t.commentBefore)t.commentBefore+="\n"+s;else t.commentBefore=s}}}}function resolveString(e,t){const r=t.strValue;if(!r)return"";if(typeof r==="string")return r;r.errors.forEach((r=>{if(!r.source)r.source=t;e.errors.push(r)}));return r.str}function resolveTagHandle(e,t){const{handle:r,suffix:s}=t.tag;let i=e.tagPrefixes.find((e=>e.handle===r));if(!i){const s=e.getDefaults().tagPrefixes;if(s)i=s.find((e=>e.handle===r));if(!i)throw new n.YAMLSemanticError(t,`The ${r} tag handle is non-default and was not declared.`)}if(!s)throw new n.YAMLSemanticError(t,`The ${r} tag has no suffix.`);if(r==="!"&&(e.version||e.options.version)==="1.0"){if(s[0]==="^"){e.warnings.push(new n.YAMLWarning(t,"YAML 1.0 ^ tag expansion is not supported"));return s}if(/[:/]/.test(s)){const e=s.match(/^([a-z0-9-]+)\/(.*)/i);return e?`tag:${e[1]}.yaml.org,2002:${e[2]}`:`tag:${s}`}}return i.prefix+decodeURIComponent(s)}function resolveTagName(e,t){const{tag:r,type:s}=t;let i=false;if(r){const{handle:s,suffix:o,verbatim:a}=r;if(a){if(a!=="!"&&a!=="!!")return a;const r=`Verbatim tags aren't resolved, so ${a} is invalid.`;e.errors.push(new n.YAMLSemanticError(t,r))}else if(s==="!"&&!o){i=true}else{try{return resolveTagHandle(e,t)}catch(t){e.errors.push(t)}}}switch(s){case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:case n.Type.QUOTE_DOUBLE:case n.Type.QUOTE_SINGLE:return n.defaultTags.STR;case n.Type.FLOW_MAP:case n.Type.MAP:return n.defaultTags.MAP;case n.Type.FLOW_SEQ:case n.Type.SEQ:return n.defaultTags.SEQ;case n.Type.PLAIN:return i?n.defaultTags.STR:null;default:return null}}function resolveByTagName(e,t,r){const{tags:n}=e.schema;const s=[];for(const i of n){if(i.tag===r){if(i.test)s.push(i);else{const r=i.resolve(e,t);return r instanceof Collection?r:new Scalar(r)}}}const i=resolveString(e,t);if(typeof i==="string"&&s.length>0)return resolveScalar(i,s,n.scalarFallback);return null}function getFallbackTagName({type:e}){switch(e){case n.Type.FLOW_MAP:case n.Type.MAP:return n.defaultTags.MAP;case n.Type.FLOW_SEQ:case n.Type.SEQ:return n.defaultTags.SEQ;default:return n.defaultTags.STR}}function resolveTag(e,t,r){try{const n=resolveByTagName(e,t,r);if(n){if(r&&t.tag)n.tag=r;return n}}catch(r){if(!r.source)r.source=t;e.errors.push(r);return null}try{const s=getFallbackTagName(t);if(!s)throw new Error(`The tag ${r} is unavailable`);const i=`The tag ${r} is unavailable, falling back to ${s}`;e.warnings.push(new n.YAMLWarning(t,i));const o=resolveByTagName(e,t,s);o.tag=r;return o}catch(r){const s=new n.YAMLReferenceError(t,r.message);s.stack=r.stack;e.errors.push(s);return null}}const isCollectionItem=e=>{if(!e)return false;const{type:t}=e;return t===n.Type.MAP_KEY||t===n.Type.MAP_VALUE||t===n.Type.SEQ_ITEM};function resolveNodeProps(e,t){const r={before:[],after:[]};let s=false;let i=false;const o=isCollectionItem(t.context.parent)?t.context.parent.props.concat(t.props):t.props;for(const{start:a,end:l}of o){switch(t.context.src[a]){case n.Char.COMMENT:{if(!t.commentHasRequiredWhitespace(a)){const r="Comments must be separated from other tokens by white space characters";e.push(new n.YAMLSemanticError(t,r))}const{header:s,valueRange:i}=t;const o=i&&(a>i.start||s&&a>s.start)?r.after:r.before;o.push(t.context.src.slice(a+1,l));break}case n.Char.ANCHOR:if(s){const r="A node can have at most one anchor";e.push(new n.YAMLSemanticError(t,r))}s=true;break;case n.Char.TAG:if(i){const r="A node can have at most one tag";e.push(new n.YAMLSemanticError(t,r))}i=true;break}}return{comments:r,hasAnchor:s,hasTag:i}}function resolveNodeValue(e,t){const{anchors:r,errors:s,schema:i}=e;if(t.type===n.Type.ALIAS){const e=t.rawValue;const i=r.getNode(e);if(!i){const r=`Aliased anchor not found: ${e}`;s.push(new n.YAMLReferenceError(t,r));return null}const o=new Alias(i);r._cstAliases.push(o);return o}const o=resolveTagName(e,t);if(o)return resolveTag(e,t,o);if(t.type!==n.Type.PLAIN){const e=`Failed to resolve ${t.type} node here`;s.push(new n.YAMLSyntaxError(t,e));return null}try{const r=resolveString(e,t);return resolveScalar(r,i.tags,i.tags.scalarFallback)}catch(e){if(!e.source)e.source=t;s.push(e);return null}}function resolveNode(e,t){if(!t)return null;if(t.error)e.errors.push(t.error);const{comments:r,hasAnchor:s,hasTag:i}=resolveNodeProps(e.errors,t);if(s){const{anchors:r}=e;const n=t.anchor;const s=r.getNode(n);if(s)r.map[r.newName(n)]=s;r.map[n]=t}if(t.type===n.Type.ALIAS&&(s||i)){const r="An alias node must not specify any properties";e.errors.push(new n.YAMLSemanticError(t,r))}const o=resolveNodeValue(e,t);if(o){o.range=[t.range.start,t.range.end];if(e.options.keepCstNodes)o.cstNode=t;if(e.options.keepNodeTypes)o.type=t.type;const n=r.before.join("\n");if(n){o.commentBefore=o.commentBefore?`${o.commentBefore}\n${n}`:n}const s=r.after.join("\n");if(s)o.comment=o.comment?`${o.comment}\n${s}`:s}return t.resolved=o}function resolveMap(e,t){if(t.type!==n.Type.MAP&&t.type!==n.Type.FLOW_MAP){const r=`A ${t.type} node cannot be resolved as a mapping`;e.errors.push(new n.YAMLSyntaxError(t,r));return null}const{comments:r,items:i}=t.type===n.Type.FLOW_MAP?resolveFlowMapItems(e,t):resolveBlockMapItems(e,t);const o=new YAMLMap;o.items=i;resolveComments(o,r);let a=false;for(let r=0;r{if(e instanceof Alias){const{type:t}=e.source;if(t===n.Type.MAP||t===n.Type.FLOW_MAP)return false;return o="Merge nodes aliases can only point to maps"}return o="Merge nodes can only have Alias nodes as values"}));if(o)e.errors.push(new n.YAMLSemanticError(t,o))}else{for(let s=r+1;s{if(s.length===0)return false;const{start:i}=s[0];if(t&&i>t.valueRange.start)return false;if(r[i]!==n.Char.COMMENT)return false;for(let t=e;t0){r=new n.PlainValue(n.Type.PLAIN,[]);r.context={parent:l,src:l.context.src};const e=l.range.start+1;r.range={start:e,end:e};r.valueRange={start:e,end:e};if(typeof l.range.origStart==="number"){const e=l.range.origStart+1;r.range.origStart=r.range.origEnd=e;r.valueRange.origStart=r.valueRange.origEnd=e}}const a=new Pair(i,resolveNode(e,r));resolvePairComment(l,a);s.push(a);if(i&&typeof o==="number"){if(l.range.start>o+1024)e.errors.push(getLongKeyError(t,i))}i=undefined;o=null}break;default:if(i!==undefined)s.push(new Pair(i));i=resolveNode(e,l);o=l.range.start;if(l.error)e.errors.push(l.error);e:for(let r=a+1;;++r){const s=t.items[r];switch(s&&s.type){case n.Type.BLANK_LINE:case n.Type.COMMENT:continue e;case n.Type.MAP_VALUE:break e;default:{const t="Implicit map keys need to be followed by map values";e.errors.push(new n.YAMLSemanticError(l,t));break e}}}if(l.valueRangeContainsNewline){const t="Implicit map keys need to be on a single line";e.errors.push(new n.YAMLSemanticError(l,t))}}}if(i!==undefined)s.push(new Pair(i));return{comments:r,items:s}}function resolveFlowMapItems(e,t){const r=[];const s=[];let i=undefined;let o=false;let a="{";for(let l=0;le instanceof Pair&&e.key instanceof Collection))){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new n.YAMLWarning(t,r))}t.resolved=i;return i}function resolveBlockSeqItems(e,t){const r=[];const s=[];for(let i=0;ia+1024)e.errors.push(getLongKeyError(t,o));const{src:s}=c.context;for(let t=a;t{"use strict";var n=r(2592);var s=r(4288);const i={identify:e=>e instanceof Uint8Array,default:false,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{const r=s.resolveString(e,t);if(typeof Buffer==="function"){return Buffer.from(r,"base64")}else if(typeof atob==="function"){const e=atob(r.replace(/[\n\r]/g,""));const t=new Uint8Array(e.length);for(let r=0;r{let l;if(typeof Buffer==="function"){l=r instanceof Buffer?r.toString("base64"):Buffer.from(r.buffer).toString("base64")}else if(typeof btoa==="function"){let e="";for(let t=0;t1){const e="Each pair must have its own sequence indicator";throw new n.YAMLSemanticError(t,e)}const e=i.items[0]||new s.Pair;if(i.commentBefore)e.commentBefore=e.commentBefore?`${i.commentBefore}\n${e.commentBefore}`:i.commentBefore;if(i.comment)e.comment=e.comment?`${i.comment}\n${e.comment}`:i.comment;i=e}r.items[e]=i instanceof s.Pair?i:new s.Pair(i)}return r}function createPairs(e,t,r){const n=new s.YAMLSeq(e);n.tag="tag:yaml.org,2002:pairs";for(const s of t){let t,i;if(Array.isArray(s)){if(s.length===2){t=s[0];i=s[1]}else throw new TypeError(`Expected [key, value] tuple: ${s}`)}else if(s&&s instanceof Object){const e=Object.keys(s);if(e.length===1){t=e[0];i=s[t]}else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else{t=s}const o=e.createPair(t,i,r);n.items.push(o)}return n}const o={default:false,tag:"tag:yaml.org,2002:pairs",resolve:parsePairs,createNode:createPairs};class YAMLOMap extends s.YAMLSeq{constructor(){super();n._defineProperty(this,"add",s.YAMLMap.prototype.add.bind(this));n._defineProperty(this,"delete",s.YAMLMap.prototype.delete.bind(this));n._defineProperty(this,"get",s.YAMLMap.prototype.get.bind(this));n._defineProperty(this,"has",s.YAMLMap.prototype.has.bind(this));n._defineProperty(this,"set",s.YAMLMap.prototype.set.bind(this));this.tag=YAMLOMap.tag}toJSON(e,t){const r=new Map;if(t&&t.onCreate)t.onCreate(r);for(const e of this.items){let n,i;if(e instanceof s.Pair){n=s.toJSON(e.key,"",t);i=s.toJSON(e.value,n,t)}else{n=s.toJSON(e,"",t)}if(r.has(n))throw new Error("Ordered maps must not include duplicate keys");r.set(n,i)}return r}}n._defineProperty(YAMLOMap,"tag","tag:yaml.org,2002:omap");function parseOMap(e,t){const r=parsePairs(e,t);const i=[];for(const{key:e}of r.items){if(e instanceof s.Scalar){if(i.includes(e.value)){const e="Ordered maps must not include duplicate keys";throw new n.YAMLSemanticError(t,e)}else{i.push(e.value)}}}return Object.assign(new YAMLOMap,r)}function createOMap(e,t,r){const n=createPairs(e,t,r);const s=new YAMLOMap;s.items=n.items;return s}const a={identify:e=>e instanceof Map,nodeClass:YAMLOMap,default:false,tag:"tag:yaml.org,2002:omap",resolve:parseOMap,createNode:createOMap};class YAMLSet extends s.YAMLMap{constructor(){super();this.tag=YAMLSet.tag}add(e){const t=e instanceof s.Pair?e:new s.Pair(e);const r=s.findPair(this.items,t.key);if(!r)this.items.push(t)}get(e,t){const r=s.findPair(this.items,e);return!t&&r instanceof s.Pair?r.key instanceof s.Scalar?r.key.value:r.key:r}set(e,t){if(typeof t!=="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const r=s.findPair(this.items,e);if(r&&!t){this.items.splice(this.items.indexOf(r),1)}else if(!r&&t){this.items.push(new s.Pair(e))}}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,t,r);else throw new Error("Set items must all have null values")}}n._defineProperty(YAMLSet,"tag","tag:yaml.org,2002:set");function parseSet(e,t){const r=s.resolveMap(e,t);if(!r.hasAllNullValues())throw new n.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new YAMLSet,r)}function createSet(e,t,r){const n=new YAMLSet;for(const s of t)n.items.push(e.createPair(s,null,r));return n}const l={identify:e=>e instanceof Set,nodeClass:YAMLSet,default:false,tag:"tag:yaml.org,2002:set",resolve:parseSet,createNode:createSet};const parseSexagesimal=(e,t)=>{const r=t.split(":").reduce(((e,t)=>e*60+Number(t)),0);return e==="-"?-r:r};const stringifySexagesimal=({value:e})=>{if(isNaN(e)||!isFinite(e))return s.stringifyNumber(e);let t="";if(e<0){t="-";e=Math.abs(e)}const r=[e%60];if(e<60){r.unshift(0)}else{e=Math.round((e-r[0])/60);r.unshift(e%60);if(e>=60){e=Math.round((e-r[0])/60);r.unshift(e)}}return t+r.map((e=>e<10?"0"+String(e):String(e))).join(":").replace(/000000\d*$/,"")};const c={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,r)=>parseSexagesimal(t,r.replace(/_/g,"")),stringify:stringifySexagesimal};const u={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,r)=>parseSexagesimal(t,r.replace(/_/g,"")),stringify:stringifySexagesimal};const f={identify:e=>e instanceof Date,default:true,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:"+"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})"+"(?:(?:t|T|[ \\t]+)"+"([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)"+"(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?"+")?"+")$"),resolve:(e,t,r,n,s,i,o,a,l)=>{if(a)a=(a+"00").substr(1,3);let c=Date.UTC(t,r-1,n,s||0,i||0,o||0,a||0);if(l&&l!=="Z"){let e=parseSexagesimal(l[0],l.slice(1));if(Math.abs(e)<30)e*=60;c-=6e4*e}return new Date(c)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function shouldWarn(e){const t=typeof process!=="undefined"&&process.env||{};if(e){if(typeof YAML_SILENCE_DEPRECATION_WARNINGS!=="undefined")return!YAML_SILENCE_DEPRECATION_WARNINGS;return!t.YAML_SILENCE_DEPRECATION_WARNINGS}if(typeof YAML_SILENCE_WARNINGS!=="undefined")return!YAML_SILENCE_WARNINGS;return!t.YAML_SILENCE_WARNINGS}function warn(e,t){if(shouldWarn(false)){const r=typeof process!=="undefined"&&process.emitWarning;if(r)r(e,t);else{console.warn(t?`${t}: ${e}`:e)}}}function warnFileDeprecation(e){if(shouldWarn(true)){const t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");warn(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}const h={};function warnOptionDeprecation(e,t){if(!h[e]&&shouldWarn(true)){h[e]=true;let r=`The option '${e}' will be removed in a future release`;r+=t?`, use '${t}' instead.`:".";warn(r,"DeprecationWarning")}}t.binary=i;t.floatTime=u;t.intTime=c;t.omap=a;t.pairs=o;t.set=l;t.timestamp=f;t.warn=warn;t.warnFileDeprecation=warnFileDeprecation;t.warnOptionDeprecation=warnOptionDeprecation},9307:(e,t,r)=>{e.exports=r(3897).YAML},1756:e=>{"use strict";e.exports=JSON.parse('{"title":"PostCSS Loader options","type":"object","properties":{"postcssOptions":{"description":"Options to pass through to `Postcss`.","link":"https://github.com/webpack-contrib/postcss-loader#postcssOptions","anyOf":[{"type":"object","additionalProperties":true,"properties":{"config":{"description":"Allows to specify PostCSS config path.","link":"https://github.com/webpack-contrib/postcss-loader#config","anyOf":[{"description":"Allows to specify the path to the configuration file","type":"string"},{"description":"Enables/Disables autoloading config","type":"boolean"}]}}},{"instanceof":"Function"}]},"execute":{"description":"Enables/Disables PostCSS parser support in \'CSS-in-JS\'.","link":"https://github.com/webpack-contrib/postcss-loader#execute","type":"boolean"},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack-contrib/postcss-loader#sourcemap","type":"boolean"},"implementation":{"description":"The implementation of postcss to use, instead of the locally installed version","link":"https://github.com/webpack-contrib/postcss-loader#implementation","anyOf":[{"type":"string"},{"instanceof":"Function"}]}},"additionalProperties":false}')},1704:e=>{"use strict";e.exports=JSON.parse('{"name":"postcss","version":"8.4.27","description":"Tool for transforming styles with JS plugins","engines":{"node":"^10 || ^12 || >=14"},"exports":{".":{"require":"./lib/postcss.js","import":"./lib/postcss.mjs"},"./lib/at-rule":"./lib/at-rule.js","./lib/comment":"./lib/comment.js","./lib/container":"./lib/container.js","./lib/css-syntax-error":"./lib/css-syntax-error.js","./lib/declaration":"./lib/declaration.js","./lib/fromJSON":"./lib/fromJSON.js","./lib/input":"./lib/input.js","./lib/lazy-result":"./lib/lazy-result.js","./lib/no-work-result":"./lib/no-work-result.js","./lib/list":"./lib/list.js","./lib/map-generator":"./lib/map-generator.js","./lib/node":"./lib/node.js","./lib/parse":"./lib/parse.js","./lib/parser":"./lib/parser.js","./lib/postcss":"./lib/postcss.js","./lib/previous-map":"./lib/previous-map.js","./lib/processor":"./lib/processor.js","./lib/result":"./lib/result.js","./lib/root":"./lib/root.js","./lib/rule":"./lib/rule.js","./lib/stringifier":"./lib/stringifier.js","./lib/stringify":"./lib/stringify.js","./lib/symbols":"./lib/symbols.js","./lib/terminal-highlight":"./lib/terminal-highlight.js","./lib/tokenize":"./lib/tokenize.js","./lib/warn-once":"./lib/warn-once.js","./lib/warning":"./lib/warning.js","./package.json":"./package.json"},"main":"./lib/postcss.js","types":"./lib/postcss.d.ts","keywords":["css","postcss","rework","preprocessor","parser","source map","transform","manipulation","transpiler"],"funding":[{"type":"opencollective","url":"https://opencollective.com/postcss/"},{"type":"tidelift","url":"https://tidelift.com/funding/github/npm/postcss"},{"type":"github","url":"https://github.com/sponsors/ai"}],"author":"Andrey Sitnik ","license":"MIT","homepage":"https://postcss.org/","repository":"postcss/postcss","bugs":{"url":"https://github.com/postcss/postcss/issues"},"dependencies":{"nanoid":"^3.3.6","picocolors":"^1.0.0","source-map-js":"^1.0.2"},"browser":{"./lib/terminal-highlight":false,"source-map-js":false,"path":false,"url":false,"fs":false}}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={id:r,loaded:false,exports:{}};var i=true;try{e[r](s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}s.loaded=true;return s.exports}(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(7753);module.exports=r})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/postcss-loader/license b/packages/builder/builder-shared/compiled/postcss-loader/license deleted file mode 100644 index 3d5fa7325883..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-loader/license +++ /dev/null @@ -1,20 +0,0 @@ -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/postcss-loader/package.json b/packages/builder/builder-shared/compiled/postcss-loader/package.json deleted file mode 100644 index 59316b37d06d..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-loader/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"postcss-loader","author":"Andrey Sitnik ","version":"7.0.2","funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/postcss-media-minmax/index.d.ts b/packages/builder/builder-shared/compiled/postcss-media-minmax/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-media-minmax/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/postcss-media-minmax/index.js b/packages/builder/builder-shared/compiled/postcss-media-minmax/index.js deleted file mode 100644 index 6bb174ad7411..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-media-minmax/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={518:e=>{const r={width:"px",height:"px","device-width":"px","device-height":"px","aspect-ratio":"","device-aspect-ratio":"",color:"","color-index":"",monochrome:"",resolution:"dpi"};const t=Object.keys(r);const s=.001;const a={">":1,"<":-1};const n={">":"min","<":"max"};function create_query(e,t,i,o){return o.replace(/([-\d\.]+)(.*)/,(function(o,c,p){const u=parseFloat(c);if(parseFloat(c)||i){if(!i){if(p==="px"&&u===parseInt(c,10)){c=u+a[t]}else{c=Number(Math.round(parseFloat(c)+s*a[t]+"e6")+"e-6")}}}else{c=a[t]+r[e]}return"("+n[t]+"-"+e+": "+c+p+")"}))}function transform(e){if(!e.params.includes("<")&&!e.params.includes(">")){return}e.params=e.params.replace(/\(\s*([a-z-]+?)\s*([<>])(=?)\s*((?:-?\d*\.?(?:\s*\/?\s*)?\d+[a-z]*)?)\s*\)/gi,(function(e,r,s,a,n){if(t.indexOf(r)>-1){return create_query(r,s,a,n)}return e}));e.params=e.params.replace(/\(\s*((?:-?\d*\.?(?:\s*\/?\s*)?\d+[a-z]*)?)\s*(<|>)(=?)\s*([a-z-]+)\s*(<|>)(=?)\s*((?:-?\d*\.?(?:\s*\/?\s*)?\d+[a-z]*)?)\s*\)/gi,(function(e,r,s,a,n,i,o,c){if(t.indexOf(n)>-1){if(s==="<"&&i==="<"||s===">"&&i===">"){const e=s==="<"?r:c;const t=s==="<"?c:r;let i=a;let p=o;if(s===">"){i=o;p=a}return create_query(n,">",i,e)+" and "+create_query(n,"<",p,t)}}return e}))}e.exports=()=>({postcssPlugin:"postcss-media-minmax",AtRule:{media:e=>{transform(e)},"custom-media":e=>{transform(e)}}});e.exports.postcss=true}};var r={};function __nccwpck_require__(t){var s=r[t];if(s!==undefined){return s.exports}var a=r[t]={exports:{}};var n=true;try{e[t](a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete r[t]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(518);module.exports=t})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/postcss-media-minmax/license b/packages/builder/builder-shared/compiled/postcss-media-minmax/license deleted file mode 100644 index 9d10f019755c..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-media-minmax/license +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 PostCSS - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/packages/builder/builder-shared/compiled/postcss-media-minmax/package.json b/packages/builder/builder-shared/compiled/postcss-media-minmax/package.json deleted file mode 100644 index 67f04d03b5c2..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-media-minmax/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"postcss-media-minmax","author":"yisi","version":"5.0.0","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/postcss-modules-extract-imports/index.d.ts b/packages/builder/builder-shared/compiled/postcss-modules-extract-imports/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-modules-extract-imports/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/postcss-modules-extract-imports/index.js b/packages/builder/builder-shared/compiled/postcss-modules-extract-imports/index.js deleted file mode 100644 index c6b70588d7b4..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-modules-extract-imports/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var r={77:(r,e,t)=>{const o=t(126);const n=/^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/;const s=/^:import\((?:"([^"]+)"|'([^']+)')\)/;const c=1;function addImportToGraph(r,e,t,o){const n=e+"_"+"siblings";const s=e+"_"+r;if(o[s]!==c){if(!Array.isArray(o[n])){o[n]=[]}const e=o[n];if(Array.isArray(t[r])){t[r]=t[r].concat(e)}else{t[r]=e.slice()}o[s]=c;e.push(r)}}r.exports=(r={})=>{let e=0;const t=typeof r.createImportedName!=="function"?r=>`i__imported_${r.replace(/\W/g,"_")}_${e++}`:r.createImportedName;const c=r.failOnWrongOrder;return{postcssPlugin:"postcss-modules-extract-imports",prepare(){const r={};const e={};const a={};const i={};const p={};return{Once(l,f){l.walkRules((t=>{const o=s.exec(t.selector);if(o){const[,n,s]=o;const c=n||s;addImportToGraph(c,"root",r,e);a[c]=t}}));l.walkDecls(/^composes$/,(o=>{const s=o.value.match(n);if(!s){return}let c;let[,a,l,f,u]=s;if(u){c=a.split(/\s+/).map((r=>`global(${r})`))}else{const n=l||f;let s=o.parent;let u="";while(s.type!=="root"){u=s.parent.index(s)+"_"+u;s=s.parent}const{selector:d}=o.parent;const _=`_${u}${d}`;addImportToGraph(n,_,r,e);i[n]=o;p[n]=p[n]||{};c=a.split(/\s+/).map((r=>{if(!p[n][r]){p[n][r]=t(r,n)}return p[n][r]}))}o.value=c.join(" ")}));const u=o(r,c);if(u instanceof Error){const r=u.nodes.find((r=>i.hasOwnProperty(r)));const e=i[r];throw e.error("Failed to resolve order of composed modules "+u.nodes.map((r=>"`"+r+"`")).join(", ")+".",{plugin:"postcss-modules-extract-imports",word:"composes"})}let d;u.forEach((r=>{const e=p[r];let t=a[r];if(!t&&e){t=f.rule({selector:`:import("${r}")`,raws:{after:"\n"}});if(d){l.insertAfter(d,t)}else{l.prepend(t)}}d=t;if(!e){return}Object.keys(e).forEach((r=>{t.append(f.decl({value:r,prop:e[r],raws:{before:"\n "}}))}))}))}}}}};r.exports.postcss=true},126:r=>{const e=2;const t=1;function createError(r,e){const t=new Error("Nondeterministic import's order");const o=e[r];const n=o.find((t=>e[t].indexOf(r)>-1));t.nodes=[r,n];return t}function walkGraph(r,o,n,s,c){if(n[r]===e){return}if(n[r]===t){if(c){return createError(r,o)}return}n[r]=t;const a=o[r];const i=a.length;for(let r=0;r{var e={811:e=>{"use strict"; -/*! https://mths.be/cssesc v3.0.0 by @mathias */var t={};var r=t.hasOwnProperty;var n=function merge(e,t){if(!e){return t}var n={};for(var s in t){n[s]=r.call(e,s)?e[s]:t[s]}return n};var s=/[ -,\.\/:-@\[-\^`\{-~]/;var i=/[ -,\.\/:-@\[\]\^`\{-~]/;var o=/['"\\]/;var a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,t){t=n(t,cssesc.options);if(t.quotes!="single"&&t.quotes!="double"){t.quotes="single"}var r=t.quotes=="double"?'"':"'";var o=t.isIdentifier;var u=e.charAt(0);var c="";var l=0;var f=e.length;while(l126){if(d>=55296&&d<=56319&&l{const createImports=(e,t,r="rule")=>Object.keys(e).map((n=>{const s=e[n];const i=Object.keys(s).map((e=>t.decl({prop:e,value:s[e],raws:{before:"\n "}})));const o=i.length>0;const a=r==="rule"?t.rule({selector:`:import('${n}')`,raws:{after:o?"\n":""}}):t.atRule({name:"icss-import",params:`'${n}'`,raws:{after:o?"\n":""}});if(o){a.append(i)}return a}));const createExports=(e,t,r="rule")=>{const n=Object.keys(e).map((r=>t.decl({prop:r,value:e[r],raws:{before:"\n "}})));if(n.length===0){return[]}const s=r==="rule"?t.rule({selector:`:export`,raws:{after:"\n"}}):t.atRule({name:"icss-export",raws:{after:"\n"}});s.append(n);return[s]};const createICSSRules=(e,t,r,n)=>[...createImports(e,r,n),...createExports(t,r,n)];e.exports=createICSSRules},553:e=>{const t=/^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/;const r=/^("[^"]*"|'[^']*'|[^"']+)$/;const getDeclsObject=e=>{const t={};e.walkDecls((e=>{const r=e.raws.before?e.raws.before.trim():"";t[r+e.prop]=e.value}));return t};const extractICSS=(e,n=true,s="auto")=>{const i={};const o={};function addImports(e,t){const r=t.replace(/'|"/g,"");i[r]=Object.assign(i[r]||{},getDeclsObject(e));if(n){e.remove()}}function addExports(e){Object.assign(o,getDeclsObject(e));if(n){e.remove()}}e.each((e=>{if(e.type==="rule"&&s!=="at-rule"){if(e.selector.slice(0,7)===":import"){const r=t.exec(e.selector);if(r){addImports(e,r[1])}}if(e.selector===":export"){addExports(e)}}if(e.type==="atrule"&&s!=="rule"){if(e.name==="icss-import"){const t=r.exec(e.params);if(t){addImports(e,t[1])}}if(e.name==="icss-export"){addExports(e)}}}));return{icssImports:i,icssExports:o}};e.exports=extractICSS},10:(e,t,r)=>{const n=r(748);const s=r(399);const i=r(553);const o=r(555);e.exports={replaceValueSymbols:n,replaceSymbols:s,extractICSS:i,createICSSRules:o}},399:(e,t,r)=>{const n=r(748);const replaceSymbols=(e,t)=>{e.walk((e=>{if(e.type==="decl"&&e.value){e.value=n(e.value.toString(),t)}else if(e.type==="rule"&&e.selector){e.selector=n(e.selector.toString(),t)}else if(e.type==="atrule"&&e.params){e.params=n(e.params.toString(),t)}}))};e.exports=replaceSymbols},748:e=>{const t=/[$]?[\w-]+/g;const replaceValueSymbols=(e,r)=>{let n;while(n=t.exec(e)){const s=r[n[0]];if(s){e=e.slice(0,n.index)+s+e.slice(t.lastIndex);t.lastIndex-=n[0].length-s.length}}return e};e.exports=replaceValueSymbols},494:(e,t,r)=>{"use strict";const n=r(98);const s=r(962);const{extractICSS:i}=r(10);const isSpacing=e=>e.type==="combinator"&&e.value===" ";function normalizeNodeArray(e){const t=[];e.forEach((e=>{if(Array.isArray(e)){normalizeNodeArray(e).forEach((e=>{t.push(e)}))}else if(e){t.push(e)}}));if(t.length>0&&isSpacing(t[t.length-1])){t.pop()}return t}function localizeNode(e,t,r){const transform=(e,t)=>{if(t.ignoreNextSpacing&&!isSpacing(e)){throw new Error("Missing whitespace after "+t.ignoreNextSpacing)}if(t.enforceNoSpacing&&isSpacing(e)){throw new Error("Missing whitespace before "+t.enforceNoSpacing)}let s;switch(e.type){case"root":{let r;t.hasPureGlobals=false;s=e.nodes.map((n=>{const s={global:t.global,lastWasSpacing:true,hasLocals:false,explicit:false};n=transform(n,s);if(typeof r==="undefined"){r=s.global}else if(r!==s.global){throw new Error('Inconsistent rule global/local result in rule "'+e+'" (multiple selectors must result in the same mode for the rule)')}if(!s.hasLocals){t.hasPureGlobals=true}return n}));t.global=r;e.nodes=normalizeNodeArray(s);break}case"selector":{s=e.map((e=>transform(e,t)));e=e.clone();e.nodes=normalizeNodeArray(s);break}case"combinator":{if(isSpacing(e)){if(t.ignoreNextSpacing){t.ignoreNextSpacing=false;t.lastWasSpacing=false;t.enforceNoSpacing=false;return null}t.lastWasSpacing=true;return e}break}case"pseudo":{let r;const i=!!e.length;const o=e.value===":local"||e.value===":global";const a=e.value===":import"||e.value===":export";if(a){t.hasLocals=true}else if(i){if(o){if(e.nodes.length===0){throw new Error(`${e.value}() can't be empty`)}if(t.inside){throw new Error(`A ${e.value} is not allowed inside of a ${t.inside}(...)`)}r={global:e.value===":global",inside:e.value,hasLocals:false,explicit:true};s=e.map((e=>transform(e,r))).reduce(((e,t)=>e.concat(t.nodes)),[]);if(s.length){const{before:t,after:r}=e.spaces;const n=s[0];const i=s[s.length-1];n.spaces={before:t,after:n.spaces.after};i.spaces={before:i.spaces.before,after:r}}e=s;break}else{r={global:t.global,inside:t.inside,lastWasSpacing:true,hasLocals:false,explicit:t.explicit};s=e.map((e=>transform(e,r)));e=e.clone();e.nodes=normalizeNodeArray(s);if(r.hasLocals){t.hasLocals=true}}break}else if(o){if(t.inside){throw new Error(`A ${e.value} is not allowed inside of a ${t.inside}(...)`)}const r=!!e.spaces.before;t.ignoreNextSpacing=t.lastWasSpacing?e.value:false;t.enforceNoSpacing=t.lastWasSpacing?false:e.value;t.global=e.value===":global";t.explicit=true;return r?n.combinator({value:" "}):null}break}case"id":case"class":{if(!e.value){throw new Error("Invalid class or id selector syntax")}if(t.global){break}const s=r.has(e.value);const i=s&&t.explicit;if(!s||i){const r=e.clone();r.spaces={before:"",after:""};e=n.pseudo({value:":local",nodes:[r],spaces:e.spaces});t.hasLocals=true}break}}t.lastWasSpacing=false;t.ignoreNextSpacing=false;t.enforceNoSpacing=false;return e};const s={global:t==="global",hasPureGlobals:false};s.selector=n((e=>{transform(e,s)})).processSync(e,{updateSelector:false,lossless:true});return s}function localizeDeclNode(e,t){switch(e.type){case"word":if(t.localizeNextItem){if(!t.localAliasMap.has(e.value)){e.value=":local("+e.value+")";t.localizeNextItem=false}}break;case"function":if(t.options&&t.options.rewriteUrl&&e.value.toLowerCase()==="url"){e.nodes.map((e=>{if(e.type!=="string"&&e.type!=="word"){return}let r=t.options.rewriteUrl(t.global,e.value);switch(e.type){case"string":if(e.quote==="'"){r=r.replace(/(\\)/g,"\\$1").replace(/'/g,"\\'")}if(e.quote==='"'){r=r.replace(/(\\)/g,"\\$1").replace(/"/g,'\\"')}break;case"word":r=r.replace(/("|'|\)|\\)/g,"\\$1");break}e.value=r}))}break}return e}function isWordAFunctionArgument(e,t){return t?t.nodes.some((t=>t.sourceIndex===e.sourceIndex)):false}function localizeDeclarationValues(e,t,r){const n=s(t.value);n.walk(((t,n,s)=>{const i={options:r.options,global:r.global,localizeNextItem:e&&!r.global,localAliasMap:r.localAliasMap};s[n]=localizeDeclNode(t,i)}));t.value=n.toString()}function localizeDeclaration(e,t){const r=/animation$/i.test(e.prop);if(r){const r=/^-?[_a-z][_a-z0-9-]*$/i;const n={$alternate:1,"$alternate-reverse":1,$backwards:1,$both:1,$ease:1,"$ease-in":1,"$ease-in-out":1,"$ease-out":1,$forwards:1,$infinite:1,$linear:1,$none:Infinity,$normal:1,$paused:1,$reverse:1,$running:1,"$step-end":1,"$step-start":1,$initial:Infinity,$inherit:Infinity,$unset:Infinity};const i=false;let o={};let a=null;const u=s(e.value).walk((e=>{if(e.type==="div"){o={}}if(e.type==="function"&&e.value.toLowerCase()==="steps"){a=e}const s=e.type==="word"&&!isWordAFunctionArgument(e,a)?e.value.toLowerCase():null;let u=false;if(!i&&s&&r.test(s)){if("$"+s in n){o["$"+s]="$"+s in o?o["$"+s]+1:0;u=o["$"+s]>=n["$"+s]}else{u=true}}const c={options:t.options,global:t.global,localizeNextItem:u&&!t.global,localAliasMap:t.localAliasMap};return localizeDeclNode(e,c)}));e.value=u.toString();return}const n=/animation(-name)?$/i.test(e.prop);if(n){return localizeDeclarationValues(true,e,t)}const i=/url\(/i.test(e.value);if(i){return localizeDeclarationValues(false,e,t)}}e.exports=(e={})=>{if(e&&e.mode&&e.mode!=="global"&&e.mode!=="local"&&e.mode!=="pure"){throw new Error('options.mode must be either "global", "local" or "pure" (default "local")')}const t=e&&e.mode==="pure";const r=e&&e.mode==="global";return{postcssPlugin:"postcss-modules-local-by-default",prepare(){const n=new Map;return{Once(s){const{icssImports:o}=i(s,false);Object.keys(o).forEach((e=>{Object.keys(o[e]).forEach((t=>{n.set(t,o[e][t])}))}));s.walkAtRules((s=>{if(/keyframes$/i.test(s.name)){const i=/^\s*:global\s*\((.+)\)\s*$/.exec(s.params);const o=/^\s*:local\s*\((.+)\)\s*$/.exec(s.params);let a=r;if(i){if(t){throw s.error("@keyframes :global(...) is not allowed in pure mode")}s.params=i[1];a=true}else if(o){s.params=o[0];a=false}else if(!r){if(s.params&&!n.has(s.params)){s.params=":local("+s.params+")"}}s.walkDecls((t=>{localizeDeclaration(t,{localAliasMap:n,options:e,global:a})}))}else if(s.nodes){s.nodes.forEach((t=>{if(t.type==="decl"){localizeDeclaration(t,{localAliasMap:n,options:e,global:r})}}))}}));s.walkRules((r=>{if(r.parent&&r.parent.type==="atrule"&&/keyframes$/i.test(r.parent.name)){return}const s=localizeNode(r,e.mode,n);s.options=e;s.localAliasMap=n;if(t&&s.hasPureGlobals){throw r.error('Selector "'+r.selector+'" is not pure '+"(pure selectors must contain at least one local class or id)")}r.selector=s.selector;if(r.nodes){r.nodes.forEach((e=>localizeDeclaration(e,s)))}}))}}}}};e.exports.postcss=true},98:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(82));var s=_interopRequireWildcard(r(877));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function _getRequireWildcardCache(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r["default"]=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=function parser(e){return new n["default"](e)};Object.assign(i,s);delete i.__esModule;var o=i;t["default"]=o;e.exports=t.default},514:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(255));var s=_interopRequireDefault(r(823));var i=_interopRequireDefault(r(404));var o=_interopRequireDefault(r(334));var a=_interopRequireDefault(r(419));var u=_interopRequireDefault(r(155));var c=_interopRequireDefault(r(23));var l=_interopRequireDefault(r(638));var f=_interopRequireWildcard(r(888));var p=_interopRequireDefault(r(302));var d=_interopRequireDefault(r(764));var h=_interopRequireDefault(r(275));var v=_interopRequireDefault(r(886));var _=_interopRequireWildcard(r(135));var g=_interopRequireWildcard(r(830));var y=_interopRequireWildcard(r(229));var b=r(349);var S,m;function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function _getRequireWildcardCache(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r["default"]=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r0){var n=this.current.last;if(n){var s=this.convertWhitespaceNodesToSpace(r),i=s.space,o=s.rawSpace;if(o!==undefined){n.rawSpaceAfter+=o}n.spaces.after+=i}else{r.forEach((function(t){return e.newNode(t)}))}}return}var a=this.currToken;var u=undefined;if(t>this.position){u=this.parseWhitespaceEquivalentTokens(t)}var c;if(this.isNamedCombinator()){c=this.namedCombinator()}else if(this.currToken[_.FIELDS.TYPE]===g.combinator){c=new d["default"]({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[_.FIELDS.START_POS]});this.position++}else if(w[this.currToken[_.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(c){if(u){var l=this.convertWhitespaceNodesToSpace(u),f=l.space,p=l.rawSpace;c.spaces.before=f;c.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,true),v=h.space,y=h.rawSpace;if(!y){y=v}var b={};var S={spaces:{}};if(v.endsWith(" ")&&y.endsWith(" ")){b.before=v.slice(0,v.length-1);S.spaces.before=y.slice(0,y.length-1)}else if(v.startsWith(" ")&&y.startsWith(" ")){b.after=v.slice(1);S.spaces.after=y.slice(1)}else{S.value=y}c=new d["default"]({value:" ",source:getTokenSourceSpan(a,this.tokens[this.position-1]),sourceIndex:a[_.FIELDS.START_POS],spaces:b,raws:S})}if(this.currToken&&this.currToken[_.FIELDS.TYPE]===g.space){c.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(c)};e.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new s["default"]({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};e.comment=function comment(){var e=this.currToken;this.newNode(new o["default"]({value:this.content(),source:getTokenSource(e),sourceIndex:e[_.FIELDS.START_POS]}));this.position++};e.error=function error(e,t){throw this.root.error(e,t)};e.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[_.FIELDS.START_POS]})};e.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[_.FIELDS.START_POS])};e.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[_.FIELDS.START_POS])};e.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[_.FIELDS.START_POS])};e.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[_.FIELDS.TYPE]===g.word){this.position++;return this.word(e)}else if(this.nextToken[_.FIELDS.TYPE]===g.asterisk){this.position++;return this.universal(e)}};e.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var t=this.currToken;this.newNode(new h["default"]({value:this.content(),source:getTokenSource(t),sourceIndex:t[_.FIELDS.START_POS]}));this.position++};e.parentheses=function parentheses(){var e=this.current.last;var t=1;this.position++;if(e&&e.type===y.PSEUDO){var r=new s["default"]({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(r);this.current=r;while(this.position1&&e.nextToken&&e.nextToken[_.FIELDS.TYPE]===g.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[_.FIELDS.START_POS]})}}))}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[_.FIELDS.START_POS])}};e.space=function space(){var e=this.content();if(this.position===0||this.prevToken[_.FIELDS.TYPE]===g.comma||this.prevToken[_.FIELDS.TYPE]===g.openParenthesis||this.current.nodes.every((function(e){return e.type==="comment"}))){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[_.FIELDS.TYPE]===g.comma||this.nextToken[_.FIELDS.TYPE]===g.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};e.string=function string(){var e=this.currToken;this.newNode(new c["default"]({value:this.content(),source:getTokenSource(e),sourceIndex:e[_.FIELDS.START_POS]}));this.position++};e.universal=function universal(e){var t=this.nextToken;if(t&&this.content(t)==="|"){this.position++;return this.namespace()}var r=this.currToken;this.newNode(new p["default"]({value:this.content(),source:getTokenSource(r),sourceIndex:r[_.FIELDS.START_POS]}),e);this.position++};e.splitWord=function splitWord(e,t){var r=this;var n=this.nextToken;var s=this.content();while(n&&~[g.dollar,g.caret,g.equals,g.word].indexOf(n[_.FIELDS.TYPE])){this.position++;var o=this.content();s+=o;if(o.lastIndexOf("\\")===o.length-1){var c=this.nextToken;if(c&&c[_.FIELDS.TYPE]===g.space){s+=this.requiredSpace(this.content(c));this.position++}}n=this.nextToken}var l=indexesOf(s,".").filter((function(e){var t=s[e-1]==="\\";var r=/^\d+\.\d+%$/.test(s);return!t&&!r}));var f=indexesOf(s,"#").filter((function(e){return s[e-1]!=="\\"}));var p=indexesOf(s,"#{");if(p.length){f=f.filter((function(e){return!~p.indexOf(e)}))}var d=(0,v["default"])(uniqs([0].concat(l,f)));d.forEach((function(n,o){var c=d[o+1]||s.length;var p=s.slice(n,c);if(o===0&&t){return t.call(r,p,d.length)}var h;var v=r.currToken;var g=v[_.FIELDS.START_POS]+d[o];var y=getSource(v[1],v[2]+n,v[3],v[2]+(c-1));if(~l.indexOf(n)){var b={value:p.slice(1),source:y,sourceIndex:g};h=new i["default"](unescapeProp(b,"value"))}else if(~f.indexOf(n)){var S={value:p.slice(1),source:y,sourceIndex:g};h=new a["default"](unescapeProp(S,"value"))}else{var m={value:p,source:y,sourceIndex:g};unescapeProp(m,"value");h=new u["default"](m)}r.newNode(h,e);e=null}));this.position++};e.word=function word(e){var t=this.nextToken;if(t&&this.content(t)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};e.loop=function loop(){while(this.position{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(514));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s=function(){function Processor(e,t){this.func=e||function noop(){};this.funcRes=null;this.options=t}var e=Processor.prototype;e._shouldUpdateSelector=function _shouldUpdateSelector(e,t){if(t===void 0){t={}}var r=Object.assign({},this.options,t);if(r.updateSelector===false){return false}else{return typeof e!=="string"}};e._isLossy=function _isLossy(e){if(e===void 0){e={}}var t=Object.assign({},this.options,e);if(t.lossless===false){return true}else{return false}};e._root=function _root(e,t){if(t===void 0){t={}}var r=new n["default"](e,this._parseOptions(t));return r.root};e._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};e._run=function _run(e,t){var r=this;if(t===void 0){t={}}return new Promise((function(n,s){try{var i=r._root(e,t);Promise.resolve(r.func(i)).then((function(n){var s=undefined;if(r._shouldUpdateSelector(e,t)){s=i.toString();e.selector=s}return{transform:n,root:i,string:s}})).then(n,s)}catch(e){s(e);return}}))};e._runSync=function _runSync(e,t){if(t===void 0){t={}}var r=this._root(e,t);var n=this.func(r);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var s=undefined;if(t.updateSelector&&typeof e!=="string"){s=r.toString();e.selector=s}return{transform:n,root:r,string:s}};e.ast=function ast(e,t){return this._run(e,t).then((function(e){return e.root}))};e.astSync=function astSync(e,t){return this._runSync(e,t).root};e.transform=function transform(e,t){return this._run(e,t).then((function(e){return e.transform}))};e.transformSync=function transformSync(e,t){return this._runSync(e,t).transform};e.process=function process(e,t){return this._run(e,t).then((function(e){return e.string||e.root.toString()}))};e.processSync=function processSync(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()};return Processor}();t["default"]=s;e.exports=t.default},888:(e,t,r)=>{"use strict";t.__esModule=true;t.unescapeValue=unescapeValue;t["default"]=void 0;var n=_interopRequireDefault(r(811));var s=_interopRequireDefault(r(923));var i=_interopRequireDefault(r(594));var o=r(229);var a;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r0&&!e.quoted&&r.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){r.before=" "}return defaultAttrConcat(t,r)})))}t.push("]");t.push(this.rawSpaceAfter);return t.join("")};_createClass(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){f()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var t=unescapeValue(e),r=t.deprecatedUsage,n=t.unescaped,s=t.quoteMark;if(r){l()}if(n===this._value&&s===this._quoteMark){return}this._value=n;this._quoteMark=s;this._syncRawValue()}else{this._value=e}}},{key:"insensitive",get:function get(){return this._insensitive},set:function set(e){if(!e){this._insensitive=false;if(this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")){this.raws.insensitiveFlag=undefined}}this._insensitive=e}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(i["default"]);t["default"]=d;d.NO_QUOTE=null;d.SINGLE_QUOTE="'";d.DOUBLE_QUOTE='"';var h=(a={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},a[null]={isIdentifier:true},a);function defaultAttrConcat(e,t){return""+t.before+e+t.after}},404:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(811));var s=r(349);var i=_interopRequireDefault(r(519));var o=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(519));var s=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var i=function(e){_inheritsLoose(Combinator,e);function Combinator(t){var r;r=e.call(this,t)||this;r.type=s.COMBINATOR;return r}return Combinator}(n["default"]);t["default"]=i;e.exports=t.default},334:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(519));var s=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var i=function(e){_inheritsLoose(Comment,e);function Comment(t){var r;r=e.call(this,t)||this;r.type=s.COMMENT;return r}return Comment}(n["default"]);t["default"]=i;e.exports=t.default},590:(e,t,r)=>{"use strict";t.__esModule=true;t.universal=t.tag=t.string=t.selector=t.root=t.pseudo=t.nesting=t.id=t.comment=t.combinator=t.className=t.attribute=void 0;var n=_interopRequireDefault(r(888));var s=_interopRequireDefault(r(404));var i=_interopRequireDefault(r(764));var o=_interopRequireDefault(r(334));var a=_interopRequireDefault(r(419));var u=_interopRequireDefault(r(275));var c=_interopRequireDefault(r(638));var l=_interopRequireDefault(r(255));var f=_interopRequireDefault(r(823));var p=_interopRequireDefault(r(23));var d=_interopRequireDefault(r(155));var h=_interopRequireDefault(r(302));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var v=function attribute(e){return new n["default"](e)};t.attribute=v;var _=function className(e){return new s["default"](e)};t.className=_;var g=function combinator(e){return new i["default"](e)};t.combinator=g;var y=function comment(e){return new o["default"](e)};t.comment=y;var b=function id(e){return new a["default"](e)};t.id=b;var S=function nesting(e){return new u["default"](e)};t.nesting=S;var m=function pseudo(e){return new c["default"](e)};t.pseudo=m;var w=function root(e){return new l["default"](e)};t.root=w;var k=function selector(e){return new f["default"](e)};t.selector=k;var T=function string(e){return new p["default"](e)};t.string=T;var O=function tag(e){return new d["default"](e)};t.tag=O;var P=function universal(e){return new h["default"](e)};t.universal=P},118:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(519));var s=_interopRequireWildcard(r(229));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function _getRequireWildcardCache(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r["default"]=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _createForOfIteratorHelperLoose(e,t){var r;if(typeof Symbol==="undefined"||e[Symbol.iterator]==null){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&typeof e.length==="number"){if(r)e=r;var n=0;return function(){if(n>=e.length)return{done:true};return{done:false,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r=e[Symbol.iterator]();return r.next.bind(r)}function _unsupportedIterableToArray(e,t){if(!e)return;if(typeof e==="string")return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor)r=e.constructor.name;if(r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(e,t)}function _arrayLikeToArray(e,t){if(t==null||t>e.length)t=e.length;for(var r=0,n=new Array(t);r=e){this.indexes[r]=t-1}}return this};t.removeAll=function removeAll(){for(var e=_createForOfIteratorHelperLoose(this.nodes),t;!(t=e()).done;){var r=t.value;r.parent=undefined}this.nodes=[];return this};t.empty=function empty(){return this.removeAll()};t.insertAfter=function insertAfter(e,t){t.parent=this;var r=this.index(e);this.nodes.splice(r+1,0,t);t.parent=this;var n;for(var s in this.indexes){n=this.indexes[s];if(r<=n){this.indexes[s]=n+1}}return this};t.insertBefore=function insertBefore(e,t){t.parent=this;var r=this.index(e);this.nodes.splice(r,0,t);t.parent=this;var n;for(var s in this.indexes){n=this.indexes[s];if(n<=r){this.indexes[s]=n+1}}return this};t._findChildAtPosition=function _findChildAtPosition(e,t){var r=undefined;this.each((function(n){if(n.atPosition){var s=n.atPosition(e,t);if(s){r=s;return false}}else if(n.isAtPosition(e,t)){r=n;return false}}));return r};t.atPosition=function atPosition(e,t){if(this.isAtPosition(e,t)){return this._findChildAtPosition(e,t)||this}else{return undefined}};t._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};t.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var t=this.lastEach;this.indexes[t]=0;if(!this.length){return undefined}var r,n;while(this.indexes[t]{"use strict";t.__esModule=true;t.isNode=isNode;t.isPseudoElement=isPseudoElement;t.isPseudoClass=isPseudoClass;t.isContainer=isContainer;t.isNamespace=isNamespace;t.isUniversal=t.isTag=t.isString=t.isSelector=t.isRoot=t.isPseudo=t.isNesting=t.isIdentifier=t.isComment=t.isCombinator=t.isClassName=t.isAttribute=void 0;var n=r(229);var s;var i=(s={},s[n.ATTRIBUTE]=true,s[n.CLASS]=true,s[n.COMBINATOR]=true,s[n.COMMENT]=true,s[n.ID]=true,s[n.NESTING]=true,s[n.PSEUDO]=true,s[n.ROOT]=true,s[n.SELECTOR]=true,s[n.STRING]=true,s[n.TAG]=true,s[n.UNIVERSAL]=true,s);function isNode(e){return typeof e==="object"&&i[e.type]}function isNodeType(e,t){return isNode(t)&&t.type===e}var o=isNodeType.bind(null,n.ATTRIBUTE);t.isAttribute=o;var a=isNodeType.bind(null,n.CLASS);t.isClassName=a;var u=isNodeType.bind(null,n.COMBINATOR);t.isCombinator=u;var c=isNodeType.bind(null,n.COMMENT);t.isComment=c;var l=isNodeType.bind(null,n.ID);t.isIdentifier=l;var f=isNodeType.bind(null,n.NESTING);t.isNesting=f;var p=isNodeType.bind(null,n.PSEUDO);t.isPseudo=p;var d=isNodeType.bind(null,n.ROOT);t.isRoot=d;var h=isNodeType.bind(null,n.SELECTOR);t.isSelector=h;var v=isNodeType.bind(null,n.STRING);t.isString=v;var _=isNodeType.bind(null,n.TAG);t.isTag=_;var g=isNodeType.bind(null,n.UNIVERSAL);t.isUniversal=g;function isPseudoElement(e){return p(e)&&e.value&&(e.value.startsWith("::")||e.value.toLowerCase()===":before"||e.value.toLowerCase()===":after"||e.value.toLowerCase()===":first-letter"||e.value.toLowerCase()===":first-line")}function isPseudoClass(e){return p(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return o(e)||_(e)}},419:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(519));var s=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var i=function(e){_inheritsLoose(ID,e);function ID(t){var r;r=e.call(this,t)||this;r.type=s.ID;return r}var t=ID.prototype;t.valueToString=function valueToString(){return"#"+e.prototype.valueToString.call(this)};return ID}(n["default"]);t["default"]=i;e.exports=t.default},877:(e,t,r)=>{"use strict";t.__esModule=true;var n=r(229);Object.keys(n).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;t[e]=n[e]}));var s=r(590);Object.keys(s).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;t[e]=s[e]}));var i=r(68);Object.keys(i).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;t[e]=i[e]}))},594:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(811));var s=r(349);var i=_interopRequireDefault(r(519));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(519));var s=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var i=function(e){_inheritsLoose(Nesting,e);function Nesting(t){var r;r=e.call(this,t)||this;r.type=s.NESTING;r.value="&";return r}return Nesting}(n["default"]);t["default"]=i;e.exports=t.default},519:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=r(349);function _defineProperties(e,t){for(var r=0;re){return false}if(this.source.end.linet){return false}if(this.source.end.line===e&&this.source.end.column{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(118));var s=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var i=function(e){_inheritsLoose(Pseudo,e);function Pseudo(t){var r;r=e.call(this,t)||this;r.type=s.PSEUDO;return r}var t=Pseudo.prototype;t.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(n["default"]);t["default"]=i;e.exports=t.default},255:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(118));var s=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(118));var s=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var i=function(e){_inheritsLoose(Selector,e);function Selector(t){var r;r=e.call(this,t)||this;r.type=s.SELECTOR;return r}return Selector}(n["default"]);t["default"]=i;e.exports=t.default},23:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(519));var s=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var i=function(e){_inheritsLoose(String,e);function String(t){var r;r=e.call(this,t)||this;r.type=s.STRING;return r}return String}(n["default"]);t["default"]=i;e.exports=t.default},155:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(594));var s=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var i=function(e){_inheritsLoose(Tag,e);function Tag(t){var r;r=e.call(this,t)||this;r.type=s.TAG;return r}return Tag}(n["default"]);t["default"]=i;e.exports=t.default},229:(e,t)=>{"use strict";t.__esModule=true;t.UNIVERSAL=t.ATTRIBUTE=t.CLASS=t.COMBINATOR=t.COMMENT=t.ID=t.NESTING=t.PSEUDO=t.ROOT=t.SELECTOR=t.STRING=t.TAG=void 0;var r="tag";t.TAG=r;var n="string";t.STRING=n;var s="selector";t.SELECTOR=s;var i="root";t.ROOT=i;var o="pseudo";t.PSEUDO=o;var a="nesting";t.NESTING=a;var u="id";t.ID=u;var c="comment";t.COMMENT=c;var l="combinator";t.COMBINATOR=l;var f="class";t.CLASS=f;var p="attribute";t.ATTRIBUTE=p;var d="universal";t.UNIVERSAL=d},302:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(594));var s=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var i=function(e){_inheritsLoose(Universal,e);function Universal(t){var r;r=e.call(this,t)||this;r.type=s.UNIVERSAL;r.value="*";return r}return Universal}(n["default"]);t["default"]=i;e.exports=t.default},886:(e,t)=>{"use strict";t.__esModule=true;t["default"]=sortAscending;function sortAscending(e){return e.sort((function(e,t){return e-t}))}e.exports=t.default},830:(e,t)=>{"use strict";t.__esModule=true;t.combinator=t.word=t.comment=t.str=t.tab=t.newline=t.feed=t.cr=t.backslash=t.bang=t.slash=t.doubleQuote=t.singleQuote=t.space=t.greaterThan=t.pipe=t.equals=t.plus=t.caret=t.tilde=t.dollar=t.closeSquare=t.openSquare=t.closeParenthesis=t.openParenthesis=t.semicolon=t.colon=t.comma=t.at=t.asterisk=t.ampersand=void 0;var r=38;t.ampersand=r;var n=42;t.asterisk=n;var s=64;t.at=s;var i=44;t.comma=i;var o=58;t.colon=o;var a=59;t.semicolon=a;var u=40;t.openParenthesis=u;var c=41;t.closeParenthesis=c;var l=91;t.openSquare=l;var f=93;t.closeSquare=f;var p=36;t.dollar=p;var d=126;t.tilde=d;var h=94;t.caret=h;var v=43;t.plus=v;var _=61;t.equals=_;var g=124;t.pipe=g;var y=62;t.greaterThan=y;var b=32;t.space=b;var S=39;t.singleQuote=S;var m=34;t.doubleQuote=m;var w=47;t.slash=w;var k=33;t.bang=k;var T=92;t.backslash=T;var O=13;t.cr=O;var P=12;t.feed=P;var E=10;t.newline=E;var A=9;t.tab=A;var I=S;t.str=I;var x=-1;t.comment=x;var D=-2;t.word=D;var C=-3;t.combinator=C},135:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=tokenize;t.FIELDS=void 0;var n=_interopRequireWildcard(r(830));var s,i;function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function _getRequireWildcardCache(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r["default"]=e;if(t){t.set(e,r)}return r}var o=(s={},s[n.tab]=true,s[n.newline]=true,s[n.cr]=true,s[n.feed]=true,s);var a=(i={},i[n.space]=true,i[n.tab]=true,i[n.newline]=true,i[n.cr]=true,i[n.feed]=true,i[n.ampersand]=true,i[n.asterisk]=true,i[n.bang]=true,i[n.comma]=true,i[n.colon]=true,i[n.semicolon]=true,i[n.openParenthesis]=true,i[n.closeParenthesis]=true,i[n.openSquare]=true,i[n.closeSquare]=true,i[n.singleQuote]=true,i[n.doubleQuote]=true,i[n.plus]=true,i[n.pipe]=true,i[n.tilde]=true,i[n.greaterThan]=true,i[n.equals]=true,i[n.dollar]=true,i[n.caret]=true,i[n.slash]=true,i);var u={};var c="0123456789abcdefABCDEF";for(var l=0;l0){b=a+_;S=y-g[_].length}else{b=a;S=o}w=n.comment;a=b;d=b;p=y-S}else if(l===n.slash){y=u;w=l;d=a;p=u-o;c=y+1}else{y=consumeWord(r,u);w=n.word;d=a;p=y-o}c=y+1;break}t.push([w,a,u-o,d,p,u,c]);if(S){o=S;S=null}u=c}return t}},385:(e,t)=>{"use strict";t.__esModule=true;t["default"]=ensureObject;function ensureObject(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0){var s=r.shift();if(!e[s]){e[s]={}}e=e[s]}}e.exports=t.default},852:(e,t)=>{"use strict";t.__esModule=true;t["default"]=getProp;function getProp(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0){var s=r.shift();if(!e[s]){return undefined}e=e[s]}return e}e.exports=t.default},349:(e,t,r)=>{"use strict";t.__esModule=true;t.stripComments=t.ensureObject=t.getProp=t.unesc=void 0;var n=_interopRequireDefault(r(923));t.unesc=n["default"];var s=_interopRequireDefault(r(852));t.getProp=s["default"];var i=_interopRequireDefault(r(385));t.ensureObject=i["default"];var o=_interopRequireDefault(r(768));t.stripComments=o["default"];function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},768:(e,t)=>{"use strict";t.__esModule=true;t["default"]=stripComments;function stripComments(e){var t="";var r=e.indexOf("/*");var n=0;while(r>=0){t=t+e.slice(n,r);var s=e.indexOf("*/",r+2);if(s<0){return t}n=s+2;r=e.indexOf("/*",n)}t=t+e.slice(n);return t}e.exports=t.default},923:(e,t)=>{"use strict";t.__esModule=true;t["default"]=unesc;function gobbleHex(e){var t=e.toLowerCase();var r="";var n=false;for(var s=0;s<6&&t[s]!==undefined;s++){var i=t.charCodeAt(s);var o=i>=97&&i<=102||i>=48&&i<=57;n=i===32;if(!o){break}r+=t[s]}if(r.length===0){return undefined}var a=parseInt(r,16);var u=a>=55296&&a<=57343;if(u||a===0||a>1114111){return["�",r.length+(n?1:0)]}return[String.fromCodePoint(a),r.length+(n?1:0)]}var r=/\\/;function unesc(e){var t=r.test(e);if(!t){return e}var n="";for(var s=0;s{var n=r(97);var s=r(874);var i=r(617);function ValueParser(e){if(this instanceof ValueParser){this.nodes=n(e);return this}return new ValueParser(e)}ValueParser.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):""};ValueParser.prototype.walk=function(e,t){s(this.nodes,e,t);return this};ValueParser.unit=r(214);ValueParser.walk=s;ValueParser.stringify=i;e.exports=ValueParser},97:e=>{var t="(".charCodeAt(0);var r=")".charCodeAt(0);var n="'".charCodeAt(0);var s='"'.charCodeAt(0);var i="\\".charCodeAt(0);var o="/".charCodeAt(0);var a=",".charCodeAt(0);var u=":".charCodeAt(0);var c="*".charCodeAt(0);var l="u".charCodeAt(0);var f="U".charCodeAt(0);var p="+".charCodeAt(0);var d=/^[a-f0-9?-]+$/i;e.exports=function(e){var h=[];var v=e;var _,g,y,b,S,m,w,k;var T=0;var O=v.charCodeAt(T);var P=v.length;var E=[{nodes:h}];var A=0;var I;var x="";var D="";var C="";while(T{function stringifyNode(e,t){var r=e.type;var n=e.value;var s;var i;if(t&&(i=t(e))!==undefined){return i}else if(r==="word"||r==="space"){return n}else if(r==="string"){s=e.quote||"";return s+n+(e.unclosed?"":s)}else if(r==="comment"){return"/*"+n+(e.unclosed?"":"*/")}else if(r==="div"){return(e.before||"")+n+(e.after||"")}else if(Array.isArray(e.nodes)){s=stringify(e.nodes,t);if(r!=="function"){return s}return n+"("+(e.before||"")+s+(e.after||"")+(e.unclosed?"":")")}return n}function stringify(e,t){var r,n;if(Array.isArray(e)){r="";for(n=e.length-1;~n;n-=1){r=stringifyNode(e[n],t)+r}return r}return stringifyNode(e,t)}e.exports=stringify},214:e=>{var t="-".charCodeAt(0);var r="+".charCodeAt(0);var n=".".charCodeAt(0);var s="e".charCodeAt(0);var i="E".charCodeAt(0);function likeNumber(e){var s=e.charCodeAt(0);var i;if(s===r||s===t){i=e.charCodeAt(1);if(i>=48&&i<=57){return true}var o=e.charCodeAt(2);if(i===n&&o>=48&&o<=57){return true}return false}if(s===n){i=e.charCodeAt(1);if(i>=48&&i<=57){return true}return false}if(s>=48&&s<=57){return true}return false}e.exports=function(e){var o=0;var a=e.length;var u;var c;var l;if(a===0||!likeNumber(e)){return false}u=e.charCodeAt(o);if(u===r||u===t){o++}while(o57){break}o+=1}u=e.charCodeAt(o);c=e.charCodeAt(o+1);if(u===n&&c>=48&&c<=57){o+=2;while(o57){break}o+=1}}u=e.charCodeAt(o);c=e.charCodeAt(o+1);l=e.charCodeAt(o+2);if((u===s||u===i)&&(c>=48&&c<=57||(c===r||c===t)&&l>=48&&l<=57)){o+=c===r||c===t?3:2;while(o57){break}o+=1}}return{number:e.slice(0,o),unit:e.slice(o)}}},874:e=>{e.exports=function walk(e,t,r){var n,s,i,o;for(n=0,s=e.length;n{e.exports=r(837).deprecate},837:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={exports:{}};var i=true;try{e[r](s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(494);module.exports=r})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/postcss-modules-local-by-default/license b/packages/builder/builder-shared/compiled/postcss-modules-local-by-default/license deleted file mode 100644 index ae675bf14641..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-modules-local-by-default/license +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright 2015 Mark Dalgleish - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/postcss-modules-local-by-default/package.json b/packages/builder/builder-shared/compiled/postcss-modules-local-by-default/package.json deleted file mode 100644 index 2d0da291fb03..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-modules-local-by-default/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"postcss-modules-local-by-default","author":"Mark Dalgleish","version":"4.0.0","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/postcss-modules-scope/index.d.ts b/packages/builder/builder-shared/compiled/postcss-modules-scope/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-modules-scope/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/postcss-modules-scope/index.js b/packages/builder/builder-shared/compiled/postcss-modules-scope/index.js deleted file mode 100644 index afad6932c071..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-modules-scope/index.js +++ /dev/null @@ -1,2 +0,0 @@ -(()=>{var e={811:e=>{"use strict"; -/*! https://mths.be/cssesc v3.0.0 by @mathias */var t={};var r=t.hasOwnProperty;var n=function merge(e,t){if(!e){return t}var n={};for(var i in t){n[i]=r.call(e,i)?e[i]:t[i]}return n};var i=/[ -,\.\/:-@\[-\^`\{-~]/;var s=/[ -,\.\/:-@\[\]\^`\{-~]/;var o=/['"\\]/;var a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,t){t=n(t,cssesc.options);if(t.quotes!="single"&&t.quotes!="double"){t.quotes="single"}var r=t.quotes=="double"?'"':"'";var o=t.isIdentifier;var u=e.charAt(0);var c="";var f=0;var l=e.length;while(f126){if(h>=55296&&h<=56319&&f{"use strict";const n=r(888);const i=Object.prototype.hasOwnProperty;function getSingleLocalNamesForComposes(e){return e.nodes.map((t=>{if(t.type!=="selector"||t.nodes.length!==1){throw new Error(`composition is only allowed when selector is single :local class name not in "${e}"`)}t=t.nodes[0];if(t.type!=="pseudo"||t.value!==":local"||t.nodes.length!==1){throw new Error('composition is only allowed when selector is single :local class name not in "'+e+'", "'+t+'" is weird')}t=t.first;if(t.type!=="selector"||t.length!==1){throw new Error('composition is only allowed when selector is single :local class name not in "'+e+'", "'+t+'" is weird')}t=t.first;if(t.type!=="class"){throw new Error('composition is only allowed when selector is single :local class name not in "'+e+'", "'+t+'" is weird')}return t.value}))}const s="[\\x20\\t\\r\\n\\f]";const o=new RegExp("\\\\([\\da-f]{1,6}"+s+"?|("+s+")|.)","ig");function unescape(e){return e.replace(o,((e,t,r)=>{const n="0x"+t-65536;return n!==n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,n&1023|56320)}))}const plugin=(e={})=>{const t=e&&e.generateScopedName||plugin.generateScopedName;const r=e&&e.generateExportEntry||plugin.generateExportEntry;const s=e&&e.exportGlobals;return{postcssPlugin:"postcss-modules-scope",Once(e,{rule:o}){const a=Object.create(null);function exportScopedName(n,i){const s=t(i?i:n,e.source.input.from,e.source.input.css);const o=r(i?i:n,s,e.source.input.from,e.source.input.css);const{key:u,value:c}=o;a[u]=a[u]||[];if(a[u].indexOf(c)<0){a[u].push(c)}return s}function localizeNode(e){switch(e.type){case"selector":e.nodes=e.map(localizeNode);return e;case"class":return n.className({value:exportScopedName(e.value,e.raws&&e.raws.value?e.raws.value:null)});case"id":{return n.id({value:exportScopedName(e.value,e.raws&&e.raws.value?e.raws.value:null)})}}throw new Error(`${e.type} ("${e}") is not allowed in a :local block`)}function traverseNode(e){switch(e.type){case"pseudo":if(e.value===":local"){if(e.nodes.length!==1){throw new Error('Unexpected comma (",") in :local block')}const t=localizeNode(e.first,e.spaces);t.first.spaces=e.spaces;const r=e.next();if(r&&r.type==="combinator"&&r.value===" "&&/\\[A-F0-9]{1,6}$/.test(t.last.value)){t.last.spaces.after=" "}e.replaceWith(t);return}case"root":case"selector":{e.each(traverseNode);break}case"id":case"class":if(s){a[e.value]=[e.value]}break}return e}const u={};e.walkRules(/^:import\(.+\)$/,(e=>{e.walkDecls((e=>{u[e.prop]=true}))}));e.walkRules((e=>{let t=n().astSync(e);e.selector=traverseNode(t.clone()).toString();e.walkDecls(/composes|compose-with/i,(e=>{const r=getSingleLocalNamesForComposes(t);const n=e.value.split(/\s+/);n.forEach((t=>{const n=/^global\(([^)]+)\)$/.exec(t);if(n){r.forEach((e=>{a[e].push(n[1])}))}else if(i.call(u,t)){r.forEach((e=>{a[e].push(t)}))}else if(i.call(a,t)){r.forEach((e=>{a[t].forEach((t=>{a[e].push(t)}))}))}else{throw e.error(`referenced class name "${t}" in ${e.prop} not found`)}}));e.remove()}));e.walkDecls((e=>{if(!/:local\s*\((.+?)\)/.test(e.value)){return}let t=e.value.split(/(,|'[^']*'|"[^"]*")/);t=t.map(((e,r)=>{if(r===0||t[r-1]===","){let t=e;const r=/:local\s*\((.+?)\)/.exec(e);if(r){const e=r.input;const n=r[0];const i=r[1];const s=exportScopedName(i);t=e.replace(n,s)}else{return e}return t}else{return e}}));e.value=t.join("")}))}));e.walkAtRules(/keyframes$/i,(e=>{const t=/^\s*:local\s*\((.+?)\)\s*$/.exec(e.params);if(!t){return}e.params=exportScopedName(t[1])}));const c=Object.keys(a);if(c.length>0){const t=o({selector:":export"});c.forEach((e=>t.append({prop:e,value:a[e].join(" "),raws:{before:"\n "}})));e.append(t)}}}};plugin.postcss=true;plugin.generateScopedName=function(e,t){const r=t.replace(/\.[^./\\]+$/,"").replace(/[\W_]+/g,"_").replace(/^_|_$/g,"");return`_${r}__${e}`.trim()};plugin.generateExportEntry=function(e,t){return{key:unescape(e),value:unescape(t)}};e.exports=plugin},888:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(82));var i=_interopRequireWildcard(r(877));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function _getRequireWildcardCache(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var s=n?Object.getOwnPropertyDescriptor(e,i):null;if(s&&(s.get||s.set)){Object.defineProperty(r,i,s)}else{r[i]=e[i]}}}r["default"]=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s=function parser(e){return new n["default"](e)};Object.assign(s,i);delete s.__esModule;var o=s;t["default"]=o;e.exports=t.default},514:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(255));var i=_interopRequireDefault(r(823));var s=_interopRequireDefault(r(404));var o=_interopRequireDefault(r(334));var a=_interopRequireDefault(r(419));var u=_interopRequireDefault(r(155));var c=_interopRequireDefault(r(23));var f=_interopRequireDefault(r(638));var l=_interopRequireWildcard(r(141));var p=_interopRequireDefault(r(302));var h=_interopRequireDefault(r(764));var d=_interopRequireDefault(r(275));var v=_interopRequireDefault(r(886));var _=_interopRequireWildcard(r(135));var y=_interopRequireWildcard(r(830));var g=_interopRequireWildcard(r(229));var S=r(349);var b,w;function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function _getRequireWildcardCache(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var s=n?Object.getOwnPropertyDescriptor(e,i):null;if(s&&(s.get||s.set)){Object.defineProperty(r,i,s)}else{r[i]=e[i]}}}r["default"]=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r0){var n=this.current.last;if(n){var i=this.convertWhitespaceNodesToSpace(r),s=i.space,o=i.rawSpace;if(o!==undefined){n.rawSpaceAfter+=o}n.spaces.after+=s}else{r.forEach((function(t){return e.newNode(t)}))}}return}var a=this.currToken;var u=undefined;if(t>this.position){u=this.parseWhitespaceEquivalentTokens(t)}var c;if(this.isNamedCombinator()){c=this.namedCombinator()}else if(this.currToken[_.FIELDS.TYPE]===y.combinator){c=new h["default"]({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[_.FIELDS.START_POS]});this.position++}else if(T[this.currToken[_.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(c){if(u){var f=this.convertWhitespaceNodesToSpace(u),l=f.space,p=f.rawSpace;c.spaces.before=l;c.rawSpaceBefore=p}}else{var d=this.convertWhitespaceNodesToSpace(u,true),v=d.space,g=d.rawSpace;if(!g){g=v}var S={};var b={spaces:{}};if(v.endsWith(" ")&&g.endsWith(" ")){S.before=v.slice(0,v.length-1);b.spaces.before=g.slice(0,g.length-1)}else if(v.startsWith(" ")&&g.startsWith(" ")){S.after=v.slice(1);b.spaces.after=g.slice(1)}else{b.value=g}c=new h["default"]({value:" ",source:getTokenSourceSpan(a,this.tokens[this.position-1]),sourceIndex:a[_.FIELDS.START_POS],spaces:S,raws:b})}if(this.currToken&&this.currToken[_.FIELDS.TYPE]===y.space){c.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(c)};e.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new i["default"]({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};e.comment=function comment(){var e=this.currToken;this.newNode(new o["default"]({value:this.content(),source:getTokenSource(e),sourceIndex:e[_.FIELDS.START_POS]}));this.position++};e.error=function error(e,t){throw this.root.error(e,t)};e.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[_.FIELDS.START_POS]})};e.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[_.FIELDS.START_POS])};e.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[_.FIELDS.START_POS])};e.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[_.FIELDS.START_POS])};e.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[_.FIELDS.TYPE]===y.word){this.position++;return this.word(e)}else if(this.nextToken[_.FIELDS.TYPE]===y.asterisk){this.position++;return this.universal(e)}};e.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var t=this.currToken;this.newNode(new d["default"]({value:this.content(),source:getTokenSource(t),sourceIndex:t[_.FIELDS.START_POS]}));this.position++};e.parentheses=function parentheses(){var e=this.current.last;var t=1;this.position++;if(e&&e.type===g.PSEUDO){var r=new i["default"]({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(r);this.current=r;while(this.position1&&e.nextToken&&e.nextToken[_.FIELDS.TYPE]===y.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[_.FIELDS.START_POS]})}}))}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[_.FIELDS.START_POS])}};e.space=function space(){var e=this.content();if(this.position===0||this.prevToken[_.FIELDS.TYPE]===y.comma||this.prevToken[_.FIELDS.TYPE]===y.openParenthesis||this.current.nodes.every((function(e){return e.type==="comment"}))){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[_.FIELDS.TYPE]===y.comma||this.nextToken[_.FIELDS.TYPE]===y.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};e.string=function string(){var e=this.currToken;this.newNode(new c["default"]({value:this.content(),source:getTokenSource(e),sourceIndex:e[_.FIELDS.START_POS]}));this.position++};e.universal=function universal(e){var t=this.nextToken;if(t&&this.content(t)==="|"){this.position++;return this.namespace()}var r=this.currToken;this.newNode(new p["default"]({value:this.content(),source:getTokenSource(r),sourceIndex:r[_.FIELDS.START_POS]}),e);this.position++};e.splitWord=function splitWord(e,t){var r=this;var n=this.nextToken;var i=this.content();while(n&&~[y.dollar,y.caret,y.equals,y.word].indexOf(n[_.FIELDS.TYPE])){this.position++;var o=this.content();i+=o;if(o.lastIndexOf("\\")===o.length-1){var c=this.nextToken;if(c&&c[_.FIELDS.TYPE]===y.space){i+=this.requiredSpace(this.content(c));this.position++}}n=this.nextToken}var f=indexesOf(i,".").filter((function(e){var t=i[e-1]==="\\";var r=/^\d+\.\d+%$/.test(i);return!t&&!r}));var l=indexesOf(i,"#").filter((function(e){return i[e-1]!=="\\"}));var p=indexesOf(i,"#{");if(p.length){l=l.filter((function(e){return!~p.indexOf(e)}))}var h=(0,v["default"])(uniqs([0].concat(f,l)));h.forEach((function(n,o){var c=h[o+1]||i.length;var p=i.slice(n,c);if(o===0&&t){return t.call(r,p,h.length)}var d;var v=r.currToken;var y=v[_.FIELDS.START_POS]+h[o];var g=getSource(v[1],v[2]+n,v[3],v[2]+(c-1));if(~f.indexOf(n)){var S={value:p.slice(1),source:g,sourceIndex:y};d=new s["default"](unescapeProp(S,"value"))}else if(~l.indexOf(n)){var b={value:p.slice(1),source:g,sourceIndex:y};d=new a["default"](unescapeProp(b,"value"))}else{var w={value:p,source:g,sourceIndex:y};unescapeProp(w,"value");d=new u["default"](w)}r.newNode(d,e);e=null}));this.position++};e.word=function word(e){var t=this.nextToken;if(t&&this.content(t)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};e.loop=function loop(){while(this.position{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(514));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=function(){function Processor(e,t){this.func=e||function noop(){};this.funcRes=null;this.options=t}var e=Processor.prototype;e._shouldUpdateSelector=function _shouldUpdateSelector(e,t){if(t===void 0){t={}}var r=Object.assign({},this.options,t);if(r.updateSelector===false){return false}else{return typeof e!=="string"}};e._isLossy=function _isLossy(e){if(e===void 0){e={}}var t=Object.assign({},this.options,e);if(t.lossless===false){return true}else{return false}};e._root=function _root(e,t){if(t===void 0){t={}}var r=new n["default"](e,this._parseOptions(t));return r.root};e._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};e._run=function _run(e,t){var r=this;if(t===void 0){t={}}return new Promise((function(n,i){try{var s=r._root(e,t);Promise.resolve(r.func(s)).then((function(n){var i=undefined;if(r._shouldUpdateSelector(e,t)){i=s.toString();e.selector=i}return{transform:n,root:s,string:i}})).then(n,i)}catch(e){i(e);return}}))};e._runSync=function _runSync(e,t){if(t===void 0){t={}}var r=this._root(e,t);var n=this.func(r);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var i=undefined;if(t.updateSelector&&typeof e!=="string"){i=r.toString();e.selector=i}return{transform:n,root:r,string:i}};e.ast=function ast(e,t){return this._run(e,t).then((function(e){return e.root}))};e.astSync=function astSync(e,t){return this._runSync(e,t).root};e.transform=function transform(e,t){return this._run(e,t).then((function(e){return e.transform}))};e.transformSync=function transformSync(e,t){return this._runSync(e,t).transform};e.process=function process(e,t){return this._run(e,t).then((function(e){return e.string||e.root.toString()}))};e.processSync=function processSync(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()};return Processor}();t["default"]=i;e.exports=t.default},141:(e,t,r)=>{"use strict";t.__esModule=true;t.unescapeValue=unescapeValue;t["default"]=void 0;var n=_interopRequireDefault(r(811));var i=_interopRequireDefault(r(923));var s=_interopRequireDefault(r(594));var o=r(229);var a;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r0&&!e.quoted&&r.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){r.before=" "}return defaultAttrConcat(t,r)})))}t.push("]");t.push(this.rawSpaceAfter);return t.join("")};_createClass(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){l()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var t=unescapeValue(e),r=t.deprecatedUsage,n=t.unescaped,i=t.quoteMark;if(r){f()}if(n===this._value&&i===this._quoteMark){return}this._value=n;this._quoteMark=i;this._syncRawValue()}else{this._value=e}}},{key:"insensitive",get:function get(){return this._insensitive},set:function set(e){if(!e){this._insensitive=false;if(this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")){this.raws.insensitiveFlag=undefined}}this._insensitive=e}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(s["default"]);t["default"]=h;h.NO_QUOTE=null;h.SINGLE_QUOTE="'";h.DOUBLE_QUOTE='"';var d=(a={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},a[null]={isIdentifier:true},a);function defaultAttrConcat(e,t){return""+t.before+e+t.after}},404:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(811));var i=r(349);var s=_interopRequireDefault(r(519));var o=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(519));var i=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(Combinator,e);function Combinator(t){var r;r=e.call(this,t)||this;r.type=i.COMBINATOR;return r}return Combinator}(n["default"]);t["default"]=s;e.exports=t.default},334:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(519));var i=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(Comment,e);function Comment(t){var r;r=e.call(this,t)||this;r.type=i.COMMENT;return r}return Comment}(n["default"]);t["default"]=s;e.exports=t.default},590:(e,t,r)=>{"use strict";t.__esModule=true;t.universal=t.tag=t.string=t.selector=t.root=t.pseudo=t.nesting=t.id=t.comment=t.combinator=t.className=t.attribute=void 0;var n=_interopRequireDefault(r(141));var i=_interopRequireDefault(r(404));var s=_interopRequireDefault(r(764));var o=_interopRequireDefault(r(334));var a=_interopRequireDefault(r(419));var u=_interopRequireDefault(r(275));var c=_interopRequireDefault(r(638));var f=_interopRequireDefault(r(255));var l=_interopRequireDefault(r(823));var p=_interopRequireDefault(r(23));var h=_interopRequireDefault(r(155));var d=_interopRequireDefault(r(302));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var v=function attribute(e){return new n["default"](e)};t.attribute=v;var _=function className(e){return new i["default"](e)};t.className=_;var y=function combinator(e){return new s["default"](e)};t.combinator=y;var g=function comment(e){return new o["default"](e)};t.comment=g;var S=function id(e){return new a["default"](e)};t.id=S;var b=function nesting(e){return new u["default"](e)};t.nesting=b;var w=function pseudo(e){return new c["default"](e)};t.pseudo=w;var T=function root(e){return new f["default"](e)};t.root=T;var m=function selector(e){return new l["default"](e)};t.selector=m;var O=function string(e){return new p["default"](e)};t.string=O;var k=function tag(e){return new h["default"](e)};t.tag=k;var P=function universal(e){return new d["default"](e)};t.universal=P},118:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(519));var i=_interopRequireWildcard(r(229));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function _getRequireWildcardCache(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var s=n?Object.getOwnPropertyDescriptor(e,i):null;if(s&&(s.get||s.set)){Object.defineProperty(r,i,s)}else{r[i]=e[i]}}}r["default"]=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _createForOfIteratorHelperLoose(e,t){var r;if(typeof Symbol==="undefined"||e[Symbol.iterator]==null){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&typeof e.length==="number"){if(r)e=r;var n=0;return function(){if(n>=e.length)return{done:true};return{done:false,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r=e[Symbol.iterator]();return r.next.bind(r)}function _unsupportedIterableToArray(e,t){if(!e)return;if(typeof e==="string")return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor)r=e.constructor.name;if(r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(e,t)}function _arrayLikeToArray(e,t){if(t==null||t>e.length)t=e.length;for(var r=0,n=new Array(t);r=e){this.indexes[r]=t-1}}return this};t.removeAll=function removeAll(){for(var e=_createForOfIteratorHelperLoose(this.nodes),t;!(t=e()).done;){var r=t.value;r.parent=undefined}this.nodes=[];return this};t.empty=function empty(){return this.removeAll()};t.insertAfter=function insertAfter(e,t){t.parent=this;var r=this.index(e);this.nodes.splice(r+1,0,t);t.parent=this;var n;for(var i in this.indexes){n=this.indexes[i];if(r<=n){this.indexes[i]=n+1}}return this};t.insertBefore=function insertBefore(e,t){t.parent=this;var r=this.index(e);this.nodes.splice(r,0,t);t.parent=this;var n;for(var i in this.indexes){n=this.indexes[i];if(n<=r){this.indexes[i]=n+1}}return this};t._findChildAtPosition=function _findChildAtPosition(e,t){var r=undefined;this.each((function(n){if(n.atPosition){var i=n.atPosition(e,t);if(i){r=i;return false}}else if(n.isAtPosition(e,t)){r=n;return false}}));return r};t.atPosition=function atPosition(e,t){if(this.isAtPosition(e,t)){return this._findChildAtPosition(e,t)||this}else{return undefined}};t._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};t.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var t=this.lastEach;this.indexes[t]=0;if(!this.length){return undefined}var r,n;while(this.indexes[t]{"use strict";t.__esModule=true;t.isNode=isNode;t.isPseudoElement=isPseudoElement;t.isPseudoClass=isPseudoClass;t.isContainer=isContainer;t.isNamespace=isNamespace;t.isUniversal=t.isTag=t.isString=t.isSelector=t.isRoot=t.isPseudo=t.isNesting=t.isIdentifier=t.isComment=t.isCombinator=t.isClassName=t.isAttribute=void 0;var n=r(229);var i;var s=(i={},i[n.ATTRIBUTE]=true,i[n.CLASS]=true,i[n.COMBINATOR]=true,i[n.COMMENT]=true,i[n.ID]=true,i[n.NESTING]=true,i[n.PSEUDO]=true,i[n.ROOT]=true,i[n.SELECTOR]=true,i[n.STRING]=true,i[n.TAG]=true,i[n.UNIVERSAL]=true,i);function isNode(e){return typeof e==="object"&&s[e.type]}function isNodeType(e,t){return isNode(t)&&t.type===e}var o=isNodeType.bind(null,n.ATTRIBUTE);t.isAttribute=o;var a=isNodeType.bind(null,n.CLASS);t.isClassName=a;var u=isNodeType.bind(null,n.COMBINATOR);t.isCombinator=u;var c=isNodeType.bind(null,n.COMMENT);t.isComment=c;var f=isNodeType.bind(null,n.ID);t.isIdentifier=f;var l=isNodeType.bind(null,n.NESTING);t.isNesting=l;var p=isNodeType.bind(null,n.PSEUDO);t.isPseudo=p;var h=isNodeType.bind(null,n.ROOT);t.isRoot=h;var d=isNodeType.bind(null,n.SELECTOR);t.isSelector=d;var v=isNodeType.bind(null,n.STRING);t.isString=v;var _=isNodeType.bind(null,n.TAG);t.isTag=_;var y=isNodeType.bind(null,n.UNIVERSAL);t.isUniversal=y;function isPseudoElement(e){return p(e)&&e.value&&(e.value.startsWith("::")||e.value.toLowerCase()===":before"||e.value.toLowerCase()===":after"||e.value.toLowerCase()===":first-letter"||e.value.toLowerCase()===":first-line")}function isPseudoClass(e){return p(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return o(e)||_(e)}},419:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(519));var i=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(ID,e);function ID(t){var r;r=e.call(this,t)||this;r.type=i.ID;return r}var t=ID.prototype;t.valueToString=function valueToString(){return"#"+e.prototype.valueToString.call(this)};return ID}(n["default"]);t["default"]=s;e.exports=t.default},877:(e,t,r)=>{"use strict";t.__esModule=true;var n=r(229);Object.keys(n).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;t[e]=n[e]}));var i=r(590);Object.keys(i).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;t[e]=i[e]}));var s=r(68);Object.keys(s).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;t[e]=s[e]}))},594:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(811));var i=r(349);var s=_interopRequireDefault(r(519));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(519));var i=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(Nesting,e);function Nesting(t){var r;r=e.call(this,t)||this;r.type=i.NESTING;r.value="&";return r}return Nesting}(n["default"]);t["default"]=s;e.exports=t.default},519:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=r(349);function _defineProperties(e,t){for(var r=0;re){return false}if(this.source.end.linet){return false}if(this.source.end.line===e&&this.source.end.column{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(118));var i=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(Pseudo,e);function Pseudo(t){var r;r=e.call(this,t)||this;r.type=i.PSEUDO;return r}var t=Pseudo.prototype;t.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(n["default"]);t["default"]=s;e.exports=t.default},255:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(118));var i=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(118));var i=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(Selector,e);function Selector(t){var r;r=e.call(this,t)||this;r.type=i.SELECTOR;return r}return Selector}(n["default"]);t["default"]=s;e.exports=t.default},23:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(519));var i=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(String,e);function String(t){var r;r=e.call(this,t)||this;r.type=i.STRING;return r}return String}(n["default"]);t["default"]=s;e.exports=t.default},155:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(594));var i=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(Tag,e);function Tag(t){var r;r=e.call(this,t)||this;r.type=i.TAG;return r}return Tag}(n["default"]);t["default"]=s;e.exports=t.default},229:(e,t)=>{"use strict";t.__esModule=true;t.UNIVERSAL=t.ATTRIBUTE=t.CLASS=t.COMBINATOR=t.COMMENT=t.ID=t.NESTING=t.PSEUDO=t.ROOT=t.SELECTOR=t.STRING=t.TAG=void 0;var r="tag";t.TAG=r;var n="string";t.STRING=n;var i="selector";t.SELECTOR=i;var s="root";t.ROOT=s;var o="pseudo";t.PSEUDO=o;var a="nesting";t.NESTING=a;var u="id";t.ID=u;var c="comment";t.COMMENT=c;var f="combinator";t.COMBINATOR=f;var l="class";t.CLASS=l;var p="attribute";t.ATTRIBUTE=p;var h="universal";t.UNIVERSAL=h},302:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(594));var i=r(229);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(Universal,e);function Universal(t){var r;r=e.call(this,t)||this;r.type=i.UNIVERSAL;r.value="*";return r}return Universal}(n["default"]);t["default"]=s;e.exports=t.default},886:(e,t)=>{"use strict";t.__esModule=true;t["default"]=sortAscending;function sortAscending(e){return e.sort((function(e,t){return e-t}))}e.exports=t.default},830:(e,t)=>{"use strict";t.__esModule=true;t.combinator=t.word=t.comment=t.str=t.tab=t.newline=t.feed=t.cr=t.backslash=t.bang=t.slash=t.doubleQuote=t.singleQuote=t.space=t.greaterThan=t.pipe=t.equals=t.plus=t.caret=t.tilde=t.dollar=t.closeSquare=t.openSquare=t.closeParenthesis=t.openParenthesis=t.semicolon=t.colon=t.comma=t.at=t.asterisk=t.ampersand=void 0;var r=38;t.ampersand=r;var n=42;t.asterisk=n;var i=64;t.at=i;var s=44;t.comma=s;var o=58;t.colon=o;var a=59;t.semicolon=a;var u=40;t.openParenthesis=u;var c=41;t.closeParenthesis=c;var f=91;t.openSquare=f;var l=93;t.closeSquare=l;var p=36;t.dollar=p;var h=126;t.tilde=h;var d=94;t.caret=d;var v=43;t.plus=v;var _=61;t.equals=_;var y=124;t.pipe=y;var g=62;t.greaterThan=g;var S=32;t.space=S;var b=39;t.singleQuote=b;var w=34;t.doubleQuote=w;var T=47;t.slash=T;var m=33;t.bang=m;var O=92;t.backslash=O;var k=13;t.cr=k;var P=12;t.feed=P;var E=10;t.newline=E;var D=9;t.tab=D;var q=b;t.str=q;var L=-1;t.comment=L;var R=-2;t.word=R;var I=-3;t.combinator=I},135:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=tokenize;t.FIELDS=void 0;var n=_interopRequireWildcard(r(830));var i,s;function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function _getRequireWildcardCache(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){var s=n?Object.getOwnPropertyDescriptor(e,i):null;if(s&&(s.get||s.set)){Object.defineProperty(r,i,s)}else{r[i]=e[i]}}}r["default"]=e;if(t){t.set(e,r)}return r}var o=(i={},i[n.tab]=true,i[n.newline]=true,i[n.cr]=true,i[n.feed]=true,i);var a=(s={},s[n.space]=true,s[n.tab]=true,s[n.newline]=true,s[n.cr]=true,s[n.feed]=true,s[n.ampersand]=true,s[n.asterisk]=true,s[n.bang]=true,s[n.comma]=true,s[n.colon]=true,s[n.semicolon]=true,s[n.openParenthesis]=true,s[n.closeParenthesis]=true,s[n.openSquare]=true,s[n.closeSquare]=true,s[n.singleQuote]=true,s[n.doubleQuote]=true,s[n.plus]=true,s[n.pipe]=true,s[n.tilde]=true,s[n.greaterThan]=true,s[n.equals]=true,s[n.dollar]=true,s[n.caret]=true,s[n.slash]=true,s);var u={};var c="0123456789abcdefABCDEF";for(var f=0;f0){S=a+_;b=g-y[_].length}else{S=a;b=o}T=n.comment;a=S;h=S;p=g-b}else if(f===n.slash){g=u;T=f;h=a;p=u-o;c=g+1}else{g=consumeWord(r,u);T=n.word;h=a;p=g-o}c=g+1;break}t.push([T,a,u-o,h,p,u,c]);if(b){o=b;b=null}u=c}return t}},385:(e,t)=>{"use strict";t.__esModule=true;t["default"]=ensureObject;function ensureObject(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0){var i=r.shift();if(!e[i]){e[i]={}}e=e[i]}}e.exports=t.default},852:(e,t)=>{"use strict";t.__esModule=true;t["default"]=getProp;function getProp(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0){var i=r.shift();if(!e[i]){return undefined}e=e[i]}return e}e.exports=t.default},349:(e,t,r)=>{"use strict";t.__esModule=true;t.stripComments=t.ensureObject=t.getProp=t.unesc=void 0;var n=_interopRequireDefault(r(923));t.unesc=n["default"];var i=_interopRequireDefault(r(852));t.getProp=i["default"];var s=_interopRequireDefault(r(385));t.ensureObject=s["default"];var o=_interopRequireDefault(r(768));t.stripComments=o["default"];function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},768:(e,t)=>{"use strict";t.__esModule=true;t["default"]=stripComments;function stripComments(e){var t="";var r=e.indexOf("/*");var n=0;while(r>=0){t=t+e.slice(n,r);var i=e.indexOf("*/",r+2);if(i<0){return t}n=i+2;r=e.indexOf("/*",n)}t=t+e.slice(n);return t}e.exports=t.default},923:(e,t)=>{"use strict";t.__esModule=true;t["default"]=unesc;function gobbleHex(e){var t=e.toLowerCase();var r="";var n=false;for(var i=0;i<6&&t[i]!==undefined;i++){var s=t.charCodeAt(i);var o=s>=97&&s<=102||s>=48&&s<=57;n=s===32;if(!o){break}r+=t[i]}if(r.length===0){return undefined}var a=parseInt(r,16);var u=a>=55296&&a<=57343;if(u||a===0||a>1114111){return["�",r.length+(n?1:0)]}return[String.fromCodePoint(a),r.length+(n?1:0)]}var r=/\\/;function unesc(e){var t=r.test(e);if(!t){return e}var n="";for(var i=0;i{e.exports=r(837).deprecate},837:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var i=t[r]={exports:{}};var s=true;try{e[r](i,i.exports,__nccwpck_require__);s=false}finally{if(s)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(98);module.exports=r})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/postcss-modules-scope/license b/packages/builder/builder-shared/compiled/postcss-modules-scope/license deleted file mode 100644 index fdfeea4b3e77..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-modules-scope/license +++ /dev/null @@ -1,7 +0,0 @@ -ISC License (ISC) - -Copyright (c) 2015, Glen Maddern - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/postcss-modules-scope/package.json b/packages/builder/builder-shared/compiled/postcss-modules-scope/package.json deleted file mode 100644 index edf664d09b98..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-modules-scope/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"postcss-modules-scope","author":"Glen Maddern","version":"3.0.0","license":"ISC","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/postcss-modules-values/index.d.ts b/packages/builder/builder-shared/compiled/postcss-modules-values/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-modules-values/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/postcss-modules-values/index.js b/packages/builder/builder-shared/compiled/postcss-modules-values/index.js deleted file mode 100644 index a1fb61c1a877..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-modules-values/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={555:e=>{const createImports=(e,r,t="rule")=>Object.keys(e).map((s=>{const o=e[s];const a=Object.keys(o).map((e=>r.decl({prop:e,value:o[e],raws:{before:"\n "}})));const n=a.length>0;const c=t==="rule"?r.rule({selector:`:import('${s}')`,raws:{after:n?"\n":""}}):r.atRule({name:"icss-import",params:`'${s}'`,raws:{after:n?"\n":""}});if(n){c.append(a)}return c}));const createExports=(e,r,t="rule")=>{const s=Object.keys(e).map((t=>r.decl({prop:t,value:e[t],raws:{before:"\n "}})));if(s.length===0){return[]}const o=t==="rule"?r.rule({selector:`:export`,raws:{after:"\n"}}):r.atRule({name:"icss-export",raws:{after:"\n"}});o.append(s);return[o]};const createICSSRules=(e,r,t,s)=>[...createImports(e,t,s),...createExports(r,t,s)];e.exports=createICSSRules},553:e=>{const r=/^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/;const t=/^("[^"]*"|'[^']*'|[^"']+)$/;const getDeclsObject=e=>{const r={};e.walkDecls((e=>{const t=e.raws.before?e.raws.before.trim():"";r[t+e.prop]=e.value}));return r};const extractICSS=(e,s=true,o="auto")=>{const a={};const n={};function addImports(e,r){const t=r.replace(/'|"/g,"");a[t]=Object.assign(a[t]||{},getDeclsObject(e));if(s){e.remove()}}function addExports(e){Object.assign(n,getDeclsObject(e));if(s){e.remove()}}e.each((e=>{if(e.type==="rule"&&o!=="at-rule"){if(e.selector.slice(0,7)===":import"){const t=r.exec(e.selector);if(t){addImports(e,t[1])}}if(e.selector===":export"){addExports(e)}}if(e.type==="atrule"&&o!=="rule"){if(e.name==="icss-import"){const r=t.exec(e.params);if(r){addImports(e,r[1])}}if(e.name==="icss-export"){addExports(e)}}}));return{icssImports:a,icssExports:n}};e.exports=extractICSS},10:(e,r,t)=>{const s=t(748);const o=t(399);const a=t(553);const n=t(555);e.exports={replaceValueSymbols:s,replaceSymbols:o,extractICSS:a,createICSSRules:n}},399:(e,r,t)=>{const s=t(748);const replaceSymbols=(e,r)=>{e.walk((e=>{if(e.type==="decl"&&e.value){e.value=s(e.value.toString(),r)}else if(e.type==="rule"&&e.selector){e.selector=s(e.selector.toString(),r)}else if(e.type==="atrule"&&e.params){e.params=s(e.params.toString(),r)}}))};e.exports=replaceSymbols},748:e=>{const r=/[$]?[\w-]+/g;const replaceValueSymbols=(e,t)=>{let s;while(s=r.exec(e)){const o=t[s[0]];if(o){e=e.slice(0,s.index)+o+e.slice(r.lastIndex);r.lastIndex-=s[0].length-o.length}}return e};e.exports=replaceValueSymbols},104:(e,r,t)=>{"use strict";const s=t(10);const o=/^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/;const a=/(?:\s+|^)([\w-]+):?(.*?)$/;const n=/^([\w-]+)(?:\s+as\s+([\w-]+))?/;e.exports=e=>{let r=0;const t=e&&e.createImportedName||(e=>`i__const_${e.replace(/\W/g,"_")}_${r++}`);return{postcssPlugin:"postcss-modules-values",prepare(e){const r=[];const c={};return{Once(p,l){p.walkAtRules(/value/i,(p=>{const l=p.params.match(o);if(l){let[,e,s]=l;if(c[s]){s=c[s]}const o=e.replace(/^\(\s*([\s\S]+)\s*\)$/,"$1").split(/\s*,\s*/).map((e=>{const r=n.exec(e);if(r){const[,e,s=e]=r;const o=t(s);c[s]=o;return{theirName:e,importedName:o}}else{throw new Error(`@import statement "${e}" is invalid!`)}}));r.push({path:s,imports:o});p.remove();return}if(p.params.indexOf("@value")!==-1){e.warn("Invalid value definition: "+p.params)}let[,i,u]=`${p.params}${p.raws.between}`.match(a);const m=u.replace(/\/\*((?!\*\/).*?)\*\//g,"");if(m.length===0){e.warn("Invalid value definition: "+p.params);p.remove();return}let f=/^\s+$/.test(m);if(!f){u=u.trim()}c[i]=s.replaceValueSymbols(u,c);p.remove()}));if(!Object.keys(c).length){return}s.replaceSymbols(p,c);const i=Object.keys(c).map((e=>l.decl({value:c[e],prop:e,raws:{before:"\n "}})));if(i.length>0){const e=l.rule({selector:":export",raws:{after:"\n"}});e.append(i);p.prepend(e)}r.reverse().forEach((({path:e,imports:r})=>{const t=l.rule({selector:`:import(${e})`,raws:{after:"\n"}});r.forEach((({theirName:e,importedName:r})=>{t.append({value:e,prop:r,raws:{before:"\n "}})}));p.prepend(t)}))}}}}};e.exports.postcss=true}};var r={};function __nccwpck_require__(t){var s=r[t];if(s!==undefined){return s.exports}var o=r[t]={exports:{}};var a=true;try{e[t](o,o.exports,__nccwpck_require__);a=false}finally{if(a)delete r[t]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(104);module.exports=t})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/postcss-modules-values/license b/packages/builder/builder-shared/compiled/postcss-modules-values/license deleted file mode 100644 index c7483014aa85..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-modules-values/license +++ /dev/null @@ -1,7 +0,0 @@ -ISC License (ISC) - -Copyright (c) 2015, Glen Maddern - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/postcss-modules-values/package.json b/packages/builder/builder-shared/compiled/postcss-modules-values/package.json deleted file mode 100644 index 61bee0805283..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-modules-values/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"postcss-modules-values","author":"Glen Maddern","version":"4.0.0","license":"ISC","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/postcss-nesting/index.d.ts b/packages/builder/builder-shared/compiled/postcss-nesting/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-nesting/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/postcss-nesting/index.js b/packages/builder/builder-shared/compiled/postcss-nesting/index.js deleted file mode 100644 index c5d8cf4d61c2..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-nesting/index.js +++ /dev/null @@ -1,2 +0,0 @@ -(()=>{var e={811:e=>{"use strict"; -/*! https://mths.be/cssesc v3.0.0 by @mathias */var t={};var r=t.hasOwnProperty;var n=function merge(e,t){if(!e){return t}var n={};for(var i in t){n[i]=r.call(e,i)?e[i]:t[i]}return n};var i=/[ -,\.\/:-@\[-\^`\{-~]/;var s=/[ -,\.\/:-@\[\]\^`\{-~]/;var o=/['"\\]/;var a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,t){t=n(t,cssesc.options);if(t.quotes!="single"&&t.quotes!="double"){t.quotes="single"}var r=t.quotes=="double"?'"':"'";var o=t.isIdentifier;var u=e.charAt(0);var c="";var l=0;var f=e.length;while(l126){if(d>=55296&&d<=56319&&l{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(958));var i=_interopRequireWildcard(r(855));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var n={};var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;if(o&&(o.get||o.set)){Object.defineProperty(n,s,o)}else{n[s]=e[s]}}}n["default"]=e;if(r){r.set(e,n)}return n}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s=function parser(e){return new n["default"](e)};Object.assign(s,i);delete s.__esModule;var o=s;t["default"]=o;e.exports=t.default},176:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(569));var i=_interopRequireDefault(r(945));var s=_interopRequireDefault(r(399));var o=_interopRequireDefault(r(283));var a=_interopRequireDefault(r(697));var u=_interopRequireDefault(r(269));var c=_interopRequireDefault(r(849));var l=_interopRequireDefault(r(263));var f=_interopRequireWildcard(r(830));var p=_interopRequireDefault(r(654));var d=_interopRequireDefault(r(646));var h=_interopRequireDefault(r(101));var v=_interopRequireDefault(r(249));var _=_interopRequireWildcard(r(117));var y=_interopRequireWildcard(r(456));var g=_interopRequireWildcard(r(290));var S=r(157);var b,m;function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var n={};var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;if(o&&(o.get||o.set)){Object.defineProperty(n,s,o)}else{n[s]=e[s]}}}n["default"]=e;if(r){r.set(e,n)}return n}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r0){var n=this.current.last;if(n){var i=this.convertWhitespaceNodesToSpace(r),s=i.space,o=i.rawSpace;if(o!==undefined){n.rawSpaceAfter+=o}n.spaces.after+=s}else{r.forEach((function(t){return e.newNode(t)}))}}return}var a=this.currToken;var u=undefined;if(t>this.position){u=this.parseWhitespaceEquivalentTokens(t)}var c;if(this.isNamedCombinator()){c=this.namedCombinator()}else if(this.currToken[_.FIELDS.TYPE]===y.combinator){c=new d["default"]({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[_.FIELDS.START_POS]});this.position++}else if(O[this.currToken[_.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(c){if(u){var l=this.convertWhitespaceNodesToSpace(u),f=l.space,p=l.rawSpace;c.spaces.before=f;c.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,true),v=h.space,g=h.rawSpace;if(!g){g=v}var S={};var b={spaces:{}};if(v.endsWith(" ")&&g.endsWith(" ")){S.before=v.slice(0,v.length-1);b.spaces.before=g.slice(0,g.length-1)}else if(v.startsWith(" ")&&g.startsWith(" ")){S.after=v.slice(1);b.spaces.after=g.slice(1)}else{b.value=g}c=new d["default"]({value:" ",source:getTokenSourceSpan(a,this.tokens[this.position-1]),sourceIndex:a[_.FIELDS.START_POS],spaces:S,raws:b})}if(this.currToken&&this.currToken[_.FIELDS.TYPE]===y.space){c.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(c)};e.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new i["default"]({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};e.comment=function comment(){var e=this.currToken;this.newNode(new o["default"]({value:this.content(),source:getTokenSource(e),sourceIndex:e[_.FIELDS.START_POS]}));this.position++};e.error=function error(e,t){throw this.root.error(e,t)};e.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[_.FIELDS.START_POS]})};e.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[_.FIELDS.START_POS])};e.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[_.FIELDS.START_POS])};e.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[_.FIELDS.START_POS])};e.unexpectedPipe=function unexpectedPipe(){return this.error("Unexpected '|'.",this.currToken[_.FIELDS.START_POS])};e.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[_.FIELDS.TYPE]===y.word){this.position++;return this.word(e)}else if(this.nextToken[_.FIELDS.TYPE]===y.asterisk){this.position++;return this.universal(e)}this.unexpectedPipe()};e.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var t=this.currToken;this.newNode(new h["default"]({value:this.content(),source:getTokenSource(t),sourceIndex:t[_.FIELDS.START_POS]}));this.position++};e.parentheses=function parentheses(){var e=this.current.last;var t=1;this.position++;if(e&&e.type===g.PSEUDO){var r=new i["default"]({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(r);this.current=r;while(this.position1&&e.nextToken&&e.nextToken[_.FIELDS.TYPE]===y.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[_.FIELDS.START_POS]})}}))}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[_.FIELDS.START_POS])}};e.space=function space(){var e=this.content();if(this.position===0||this.prevToken[_.FIELDS.TYPE]===y.comma||this.prevToken[_.FIELDS.TYPE]===y.openParenthesis||this.current.nodes.every((function(e){return e.type==="comment"}))){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[_.FIELDS.TYPE]===y.comma||this.nextToken[_.FIELDS.TYPE]===y.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};e.string=function string(){var e=this.currToken;this.newNode(new c["default"]({value:this.content(),source:getTokenSource(e),sourceIndex:e[_.FIELDS.START_POS]}));this.position++};e.universal=function universal(e){var t=this.nextToken;if(t&&this.content(t)==="|"){this.position++;return this.namespace()}var r=this.currToken;this.newNode(new p["default"]({value:this.content(),source:getTokenSource(r),sourceIndex:r[_.FIELDS.START_POS]}),e);this.position++};e.splitWord=function splitWord(e,t){var r=this;var n=this.nextToken;var i=this.content();while(n&&~[y.dollar,y.caret,y.equals,y.word].indexOf(n[_.FIELDS.TYPE])){this.position++;var o=this.content();i+=o;if(o.lastIndexOf("\\")===o.length-1){var c=this.nextToken;if(c&&c[_.FIELDS.TYPE]===y.space){i+=this.requiredSpace(this.content(c));this.position++}}n=this.nextToken}var l=indexesOf(i,".").filter((function(e){var t=i[e-1]==="\\";var r=/^\d+\.\d+%$/.test(i);return!t&&!r}));var f=indexesOf(i,"#").filter((function(e){return i[e-1]!=="\\"}));var p=indexesOf(i,"#{");if(p.length){f=f.filter((function(e){return!~p.indexOf(e)}))}var d=(0,v["default"])(uniqs([0].concat(l,f)));d.forEach((function(n,o){var c=d[o+1]||i.length;var p=i.slice(n,c);if(o===0&&t){return t.call(r,p,d.length)}var h;var v=r.currToken;var y=v[_.FIELDS.START_POS]+d[o];var g=getSource(v[1],v[2]+n,v[3],v[2]+(c-1));if(~l.indexOf(n)){var S={value:p.slice(1),source:g,sourceIndex:y};h=new s["default"](unescapeProp(S,"value"))}else if(~f.indexOf(n)){var b={value:p.slice(1),source:g,sourceIndex:y};h=new a["default"](unescapeProp(b,"value"))}else{var m={value:p,source:g,sourceIndex:y};unescapeProp(m,"value");h=new u["default"](m)}r.newNode(h,e);e=null}));this.position++};e.word=function word(e){var t=this.nextToken;if(t&&this.content(t)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};e.loop=function loop(){while(this.position{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(176));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=function(){function Processor(e,t){this.func=e||function noop(){};this.funcRes=null;this.options=t}var e=Processor.prototype;e._shouldUpdateSelector=function _shouldUpdateSelector(e,t){if(t===void 0){t={}}var r=Object.assign({},this.options,t);if(r.updateSelector===false){return false}else{return typeof e!=="string"}};e._isLossy=function _isLossy(e){if(e===void 0){e={}}var t=Object.assign({},this.options,e);if(t.lossless===false){return true}else{return false}};e._root=function _root(e,t){if(t===void 0){t={}}var r=new n["default"](e,this._parseOptions(t));return r.root};e._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};e._run=function _run(e,t){var r=this;if(t===void 0){t={}}return new Promise((function(n,i){try{var s=r._root(e,t);Promise.resolve(r.func(s)).then((function(n){var i=undefined;if(r._shouldUpdateSelector(e,t)){i=s.toString();e.selector=i}return{transform:n,root:s,string:i}})).then(n,i)}catch(e){i(e);return}}))};e._runSync=function _runSync(e,t){if(t===void 0){t={}}var r=this._root(e,t);var n=this.func(r);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var i=undefined;if(t.updateSelector&&typeof e!=="string"){i=r.toString();e.selector=i}return{transform:n,root:r,string:i}};e.ast=function ast(e,t){return this._run(e,t).then((function(e){return e.root}))};e.astSync=function astSync(e,t){return this._runSync(e,t).root};e.transform=function transform(e,t){return this._run(e,t).then((function(e){return e.transform}))};e.transformSync=function transformSync(e,t){return this._runSync(e,t).transform};e.process=function process(e,t){return this._run(e,t).then((function(e){return e.string||e.root.toString()}))};e.processSync=function processSync(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()};return Processor}();t["default"]=i;e.exports=t.default},830:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;t.unescapeValue=unescapeValue;var n=_interopRequireDefault(r(811));var i=_interopRequireDefault(r(145));var s=_interopRequireDefault(r(276));var o=r(290);var a;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r0&&!e.quoted&&r.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){r.before=" "}return defaultAttrConcat(t,r)})))}t.push("]");t.push(this.rawSpaceAfter);return t.join("")};_createClass(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){f()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var t=unescapeValue(e),r=t.deprecatedUsage,n=t.unescaped,i=t.quoteMark;if(r){l()}if(n===this._value&&i===this._quoteMark){return}this._value=n;this._quoteMark=i;this._syncRawValue()}else{this._value=e}}},{key:"insensitive",get:function get(){return this._insensitive},set:function set(e){if(!e){this._insensitive=false;if(this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")){this.raws.insensitiveFlag=undefined}}this._insensitive=e}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(s["default"]);t["default"]=d;d.NO_QUOTE=null;d.SINGLE_QUOTE="'";d.DOUBLE_QUOTE='"';var h=(a={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},a[null]={isIdentifier:true},a);function defaultAttrConcat(e,t){return""+t.before+e+t.after}},399:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(811));var i=r(157);var s=_interopRequireDefault(r(813));var o=r(290);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(813));var i=r(290);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(Combinator,e);function Combinator(t){var r;r=e.call(this,t)||this;r.type=i.COMBINATOR;return r}return Combinator}(n["default"]);t["default"]=s;e.exports=t.default},283:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(813));var i=r(290);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(Comment,e);function Comment(t){var r;r=e.call(this,t)||this;r.type=i.COMMENT;return r}return Comment}(n["default"]);t["default"]=s;e.exports=t.default},587:(e,t,r)=>{"use strict";t.__esModule=true;t.universal=t.tag=t.string=t.selector=t.root=t.pseudo=t.nesting=t.id=t.comment=t.combinator=t.className=t.attribute=void 0;var n=_interopRequireDefault(r(830));var i=_interopRequireDefault(r(399));var s=_interopRequireDefault(r(646));var o=_interopRequireDefault(r(283));var a=_interopRequireDefault(r(697));var u=_interopRequireDefault(r(101));var c=_interopRequireDefault(r(263));var l=_interopRequireDefault(r(569));var f=_interopRequireDefault(r(945));var p=_interopRequireDefault(r(849));var d=_interopRequireDefault(r(269));var h=_interopRequireDefault(r(654));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var v=function attribute(e){return new n["default"](e)};t.attribute=v;var _=function className(e){return new i["default"](e)};t.className=_;var y=function combinator(e){return new s["default"](e)};t.combinator=y;var g=function comment(e){return new o["default"](e)};t.comment=g;var S=function id(e){return new a["default"](e)};t.id=S;var b=function nesting(e){return new u["default"](e)};t.nesting=b;var m=function pseudo(e){return new c["default"](e)};t.pseudo=m;var O=function root(e){return new l["default"](e)};t.root=O;var P=function selector(e){return new f["default"](e)};t.selector=P;var w=function string(e){return new p["default"](e)};t.string=w;var T=function tag(e){return new d["default"](e)};t.tag=T;var k=function universal(e){return new h["default"](e)};t.universal=k},137:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(813));var i=_interopRequireWildcard(r(290));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var n={};var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;if(o&&(o.get||o.set)){Object.defineProperty(n,s,o)}else{n[s]=e[s]}}}n["default"]=e;if(r){r.set(e,n)}return n}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _createForOfIteratorHelperLoose(e,t){var r=typeof Symbol!=="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&typeof e.length==="number"){if(r)e=r;var n=0;return function(){if(n>=e.length)return{done:true};return{done:false,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(!e)return;if(typeof e==="string")return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor)r=e.constructor.name;if(r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(e,t)}function _arrayLikeToArray(e,t){if(t==null||t>e.length)t=e.length;for(var r=0,n=new Array(t);r=e){this.indexes[r]=t-1}}return this};t.removeAll=function removeAll(){for(var e=_createForOfIteratorHelperLoose(this.nodes),t;!(t=e()).done;){var r=t.value;r.parent=undefined}this.nodes=[];return this};t.empty=function empty(){return this.removeAll()};t.insertAfter=function insertAfter(e,t){t.parent=this;var r=this.index(e);this.nodes.splice(r+1,0,t);t.parent=this;var n;for(var i in this.indexes){n=this.indexes[i];if(r<=n){this.indexes[i]=n+1}}return this};t.insertBefore=function insertBefore(e,t){t.parent=this;var r=this.index(e);this.nodes.splice(r,0,t);t.parent=this;var n;for(var i in this.indexes){n=this.indexes[i];if(n<=r){this.indexes[i]=n+1}}return this};t._findChildAtPosition=function _findChildAtPosition(e,t){var r=undefined;this.each((function(n){if(n.atPosition){var i=n.atPosition(e,t);if(i){r=i;return false}}else if(n.isAtPosition(e,t)){r=n;return false}}));return r};t.atPosition=function atPosition(e,t){if(this.isAtPosition(e,t)){return this._findChildAtPosition(e,t)||this}else{return undefined}};t._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};t.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var t=this.lastEach;this.indexes[t]=0;if(!this.length){return undefined}var r,n;while(this.indexes[t]{"use strict";t.__esModule=true;t.isComment=t.isCombinator=t.isClassName=t.isAttribute=void 0;t.isContainer=isContainer;t.isIdentifier=void 0;t.isNamespace=isNamespace;t.isNesting=void 0;t.isNode=isNode;t.isPseudo=void 0;t.isPseudoClass=isPseudoClass;t.isPseudoElement=isPseudoElement;t.isUniversal=t.isTag=t.isString=t.isSelector=t.isRoot=void 0;var n=r(290);var i;var s=(i={},i[n.ATTRIBUTE]=true,i[n.CLASS]=true,i[n.COMBINATOR]=true,i[n.COMMENT]=true,i[n.ID]=true,i[n.NESTING]=true,i[n.PSEUDO]=true,i[n.ROOT]=true,i[n.SELECTOR]=true,i[n.STRING]=true,i[n.TAG]=true,i[n.UNIVERSAL]=true,i);function isNode(e){return typeof e==="object"&&s[e.type]}function isNodeType(e,t){return isNode(t)&&t.type===e}var o=isNodeType.bind(null,n.ATTRIBUTE);t.isAttribute=o;var a=isNodeType.bind(null,n.CLASS);t.isClassName=a;var u=isNodeType.bind(null,n.COMBINATOR);t.isCombinator=u;var c=isNodeType.bind(null,n.COMMENT);t.isComment=c;var l=isNodeType.bind(null,n.ID);t.isIdentifier=l;var f=isNodeType.bind(null,n.NESTING);t.isNesting=f;var p=isNodeType.bind(null,n.PSEUDO);t.isPseudo=p;var d=isNodeType.bind(null,n.ROOT);t.isRoot=d;var h=isNodeType.bind(null,n.SELECTOR);t.isSelector=h;var v=isNodeType.bind(null,n.STRING);t.isString=v;var _=isNodeType.bind(null,n.TAG);t.isTag=_;var y=isNodeType.bind(null,n.UNIVERSAL);t.isUniversal=y;function isPseudoElement(e){return p(e)&&e.value&&(e.value.startsWith("::")||e.value.toLowerCase()===":before"||e.value.toLowerCase()===":after"||e.value.toLowerCase()===":first-letter"||e.value.toLowerCase()===":first-line")}function isPseudoClass(e){return p(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return o(e)||_(e)}},697:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(813));var i=r(290);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(ID,e);function ID(t){var r;r=e.call(this,t)||this;r.type=i.ID;return r}var t=ID.prototype;t.valueToString=function valueToString(){return"#"+e.prototype.valueToString.call(this)};return ID}(n["default"]);t["default"]=s;e.exports=t.default},855:(e,t,r)=>{"use strict";t.__esModule=true;var n=r(290);Object.keys(n).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;t[e]=n[e]}));var i=r(587);Object.keys(i).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;t[e]=i[e]}));var s=r(665);Object.keys(s).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;t[e]=s[e]}))},276:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(811));var i=r(157);var s=_interopRequireDefault(r(813));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(813));var i=r(290);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(Nesting,e);function Nesting(t){var r;r=e.call(this,t)||this;r.type=i.NESTING;r.value="&";return r}return Nesting}(n["default"]);t["default"]=s;e.exports=t.default},813:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=r(157);function _defineProperties(e,t){for(var r=0;re){return false}if(this.source.end.linet){return false}if(this.source.end.line===e&&this.source.end.column{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(137));var i=r(290);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(Pseudo,e);function Pseudo(t){var r;r=e.call(this,t)||this;r.type=i.PSEUDO;return r}var t=Pseudo.prototype;t.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(n["default"]);t["default"]=s;e.exports=t.default},569:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(137));var i=r(290);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(137));var i=r(290);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(Selector,e);function Selector(t){var r;r=e.call(this,t)||this;r.type=i.SELECTOR;return r}return Selector}(n["default"]);t["default"]=s;e.exports=t.default},849:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(813));var i=r(290);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(String,e);function String(t){var r;r=e.call(this,t)||this;r.type=i.STRING;return r}return String}(n["default"]);t["default"]=s;e.exports=t.default},269:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(276));var i=r(290);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(Tag,e);function Tag(t){var r;r=e.call(this,t)||this;r.type=i.TAG;return r}return Tag}(n["default"]);t["default"]=s;e.exports=t.default},290:(e,t)=>{"use strict";t.__esModule=true;t.UNIVERSAL=t.TAG=t.STRING=t.SELECTOR=t.ROOT=t.PSEUDO=t.NESTING=t.ID=t.COMMENT=t.COMBINATOR=t.CLASS=t.ATTRIBUTE=void 0;var r="tag";t.TAG=r;var n="string";t.STRING=n;var i="selector";t.SELECTOR=i;var s="root";t.ROOT=s;var o="pseudo";t.PSEUDO=o;var a="nesting";t.NESTING=a;var u="id";t.ID=u;var c="comment";t.COMMENT=c;var l="combinator";t.COMBINATOR=l;var f="class";t.CLASS=f;var p="attribute";t.ATTRIBUTE=p;var d="universal";t.UNIVERSAL=d},654:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(276));var i=r(290);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}var s=function(e){_inheritsLoose(Universal,e);function Universal(t){var r;r=e.call(this,t)||this;r.type=i.UNIVERSAL;r.value="*";return r}return Universal}(n["default"]);t["default"]=s;e.exports=t.default},249:(e,t)=>{"use strict";t.__esModule=true;t["default"]=sortAscending;function sortAscending(e){return e.sort((function(e,t){return e-t}))}e.exports=t.default},456:(e,t)=>{"use strict";t.__esModule=true;t.word=t.tilde=t.tab=t.str=t.space=t.slash=t.singleQuote=t.semicolon=t.plus=t.pipe=t.openSquare=t.openParenthesis=t.newline=t.greaterThan=t.feed=t.equals=t.doubleQuote=t.dollar=t.cr=t.comment=t.comma=t.combinator=t.colon=t.closeSquare=t.closeParenthesis=t.caret=t.bang=t.backslash=t.at=t.asterisk=t.ampersand=void 0;var r=38;t.ampersand=r;var n=42;t.asterisk=n;var i=64;t.at=i;var s=44;t.comma=s;var o=58;t.colon=o;var a=59;t.semicolon=a;var u=40;t.openParenthesis=u;var c=41;t.closeParenthesis=c;var l=91;t.openSquare=l;var f=93;t.closeSquare=f;var p=36;t.dollar=p;var d=126;t.tilde=d;var h=94;t.caret=h;var v=43;t.plus=v;var _=61;t.equals=_;var y=124;t.pipe=y;var g=62;t.greaterThan=g;var S=32;t.space=S;var b=39;t.singleQuote=b;var m=34;t.doubleQuote=m;var O=47;t.slash=O;var P=33;t.bang=P;var w=92;t.backslash=w;var T=13;t.cr=T;var k=12;t.feed=k;var E=10;t.newline=E;var R=9;t.tab=R;var D=b;t.str=D;var I=-1;t.comment=I;var C=-2;t.word=C;var L=-3;t.combinator=L},117:(e,t,r)=>{"use strict";t.__esModule=true;t.FIELDS=void 0;t["default"]=tokenize;var n=_interopRequireWildcard(r(456));var i,s;function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var n={};var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;if(o&&(o.get||o.set)){Object.defineProperty(n,s,o)}else{n[s]=e[s]}}}n["default"]=e;if(r){r.set(e,n)}return n}var o=(i={},i[n.tab]=true,i[n.newline]=true,i[n.cr]=true,i[n.feed]=true,i);var a=(s={},s[n.space]=true,s[n.tab]=true,s[n.newline]=true,s[n.cr]=true,s[n.feed]=true,s[n.ampersand]=true,s[n.asterisk]=true,s[n.bang]=true,s[n.comma]=true,s[n.colon]=true,s[n.semicolon]=true,s[n.openParenthesis]=true,s[n.closeParenthesis]=true,s[n.openSquare]=true,s[n.closeSquare]=true,s[n.singleQuote]=true,s[n.doubleQuote]=true,s[n.plus]=true,s[n.pipe]=true,s[n.tilde]=true,s[n.greaterThan]=true,s[n.equals]=true,s[n.dollar]=true,s[n.caret]=true,s[n.slash]=true,s);var u={};var c="0123456789abcdefABCDEF";for(var l=0;l0){S=a+_;b=g-y[_].length}else{S=a;b=o}O=n.comment;a=S;d=S;p=g-b}else if(l===n.slash){g=u;O=l;d=a;p=u-o;c=g+1}else{g=consumeWord(r,u);O=n.word;d=a;p=g-o}c=g+1;break}t.push([O,a,u-o,d,p,u,c]);if(b){o=b;b=null}u=c}return t}},507:(e,t)=>{"use strict";t.__esModule=true;t["default"]=ensureObject;function ensureObject(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0){var i=r.shift();if(!e[i]){e[i]={}}e=e[i]}}e.exports=t.default},734:(e,t)=>{"use strict";t.__esModule=true;t["default"]=getProp;function getProp(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0){var i=r.shift();if(!e[i]){return undefined}e=e[i]}return e}e.exports=t.default},157:(e,t,r)=>{"use strict";t.__esModule=true;t.unesc=t.stripComments=t.getProp=t.ensureObject=void 0;var n=_interopRequireDefault(r(145));t.unesc=n["default"];var i=_interopRequireDefault(r(734));t.getProp=i["default"];var s=_interopRequireDefault(r(507));t.ensureObject=s["default"];var o=_interopRequireDefault(r(996));t.stripComments=o["default"];function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},996:(e,t)=>{"use strict";t.__esModule=true;t["default"]=stripComments;function stripComments(e){var t="";var r=e.indexOf("/*");var n=0;while(r>=0){t=t+e.slice(n,r);var i=e.indexOf("*/",r+2);if(i<0){return t}n=i+2;r=e.indexOf("/*",n)}t=t+e.slice(n);return t}e.exports=t.default},145:(e,t)=>{"use strict";t.__esModule=true;t["default"]=unesc;function gobbleHex(e){var t=e.toLowerCase();var r="";var n=false;for(var i=0;i<6&&t[i]!==undefined;i++){var s=t.charCodeAt(i);var o=s>=97&&s<=102||s>=48&&s<=57;n=s===32;if(!o){break}r+=t[i]}if(r.length===0){return undefined}var a=parseInt(r,16);var u=a>=55296&&a<=57343;if(u||a===0||a>1114111){return["�",r.length+(n?1:0)]}return[String.fromCodePoint(a),r.length+(n?1:0)]}var r=/\\/;function unesc(e){var t=r.test(e);if(!t){return e}var n="";for(var i=0;i{e.exports=r(837).deprecate},837:e=>{"use strict";e.exports=require("util")},847:(e,t,r)=>{"use strict";var n=r(659);const i=/[A-Z]/g;function toLowerCaseAZ(e){return e.replace(i,(e=>String.fromCharCode(e.charCodeAt(0)+32)))}function selectorSpecificity(e){if(!e)return{a:0,b:0,c:0};let t=0,r=0,i=0;if("universal"==e.type)return{a:0,b:0,c:0};if("id"===e.type)t+=1;else if("tag"===e.type)i+=1;else if("class"===e.type)r+=1;else if("attribute"===e.type)r+=1;else if(isPseudoElement(e))switch(toLowerCaseAZ(e.value)){case"::slotted":if(i+=1,e.nodes&&e.nodes.length>0){const n=specificityOfMostSpecificListItem(e.nodes);t+=n.a,r+=n.b,i+=n.c}break;case"::view-transition-group":case"::view-transition-image-pair":case"::view-transition-old":case"::view-transition-new":if(e.nodes&&1===e.nodes.length&&"selector"===e.nodes[0].type&&selectorNodeContainsOnlyUniversal(e.nodes[0]))return{a:0,b:0,c:0};i+=1;break;default:i+=1}else if(n.isPseudoClass(e))switch(toLowerCaseAZ(e.value)){case":-moz-any":case":-webkit-any":case":any":case":has":case":is":case":matches":case":not":if(e.nodes&&e.nodes.length>0){const n=specificityOfMostSpecificListItem(e.nodes);t+=n.a,r+=n.b,i+=n.c}break;case":where":break;case":nth-child":case":nth-last-child":if(r+=1,e.nodes&&e.nodes.length>0){const s=e.nodes[0].nodes.findIndex((e=>"tag"===e.type&&"of"===toLowerCaseAZ(e.value)));if(s>-1){const o=[n.selector({nodes:e.nodes[0].nodes.slice(s+1),value:""})];e.nodes.length>1&&o.push(...e.nodes.slice(1));const a=specificityOfMostSpecificListItem(o);t+=a.a,r+=a.b,i+=a.c}}break;case":local":case":global":e.nodes&&e.nodes.length>0&&e.nodes.forEach((e=>{const n=selectorSpecificity(e);t+=n.a,r+=n.b,i+=n.c}));break;case":host":case":host-context":if(r+=1,e.nodes&&e.nodes.length>0){const n=specificityOfMostSpecificListItem(e.nodes);t+=n.a,r+=n.b,i+=n.c}break;default:r+=1}else n.isContainer(e)&&e.nodes.length>0&&e.nodes.forEach((e=>{const n=selectorSpecificity(e);t+=n.a,r+=n.b,i+=n.c}));return{a:t,b:r,c:i}}function specificityOfMostSpecificListItem(e){let t={a:0,b:0,c:0};return e.forEach((e=>{const r=selectorSpecificity(e);r.a>t.a?t=r:r.at.b?t=r:r.bt.c&&(t=r))})),t}function isPseudoElement(e){return n.isPseudoElement(e)}function selectorNodeContainsOnlyUniversal(e){if(!e)return!1;if(!e.nodes)return!1;const t=e.nodes.filter((e=>"comment"!==e.type));return 1===t.length&&"universal"===t[0].type}t.compare=function compare(e,t){return e.a===t.a?e.b===t.b?e.c-t.c:e.b-t.b:e.a-t.a},t.selectorSpecificity=selectorSpecificity},389:(e,t,r)=>{"use strict";var n=r(659),i=r(847);const s=n.pseudo({value:":is"});function sortCompoundSelectorsInsideComplexSelector(e){if(!e||!e.nodes)return;const t=[];let r=[];for(let i=0;i"tag"===e.type))){const t=s.clone({}),r=e.nodes[i];r.replaceWith(t),t.append(n.selector({nodes:[r],value:void 0}))}r.push(e.nodes[i])}else t.push(r),t.push([e.nodes[i]]),r=[];t.push(r);const i=[];for(let e=0;e"selector"===e.type&&"selector"===t.type&&e.nodes.length&&t.nodes.length?selectorTypeOrder(e.nodes[0])-selectorTypeOrder(t.nodes[0]):"selector"===e.type&&e.nodes.length?selectorTypeOrder(e.nodes[0])-selectorTypeOrder(t):"selector"===t.type&&t.nodes.length?selectorTypeOrder(e)-selectorTypeOrder(t.nodes[0]):selectorTypeOrder(e)-selectorTypeOrder(t)));for(let e=0;e=0;t--)i[t].remove(),e.prepend(i[t])}function selectorTypeOrder(e){return n.isPseudoElement(e)?o.pseudoElement:o[e.type]}const o={universal:0,tag:1,pseudoElement:2,id:3,class:4,attribute:5,pseudo:6,selector:7,string:8,root:9,comment:10};function ampersandToScope(e,t){let r,i=e.parent;for(;i;){if("rule"===i.type)return;i=i.parent}try{r=n().astSync(e.selector)}catch(r){return void e.warn(t,`Failed to parse selector : "${e.selector}" with message: "${r.message}"`)}r&&(r.walkNesting((e=>{const t=e.parent;e.replaceWith(n.pseudo({value:":scope"})),t&&sortCompoundSelectorsInsideComplexSelector(t)})),e.selector=r.toString())}function cleanupParent(e){if(!e.nodes.length)return void e.remove();const t=e.nodes.filter((e=>"comment"===e.type));t.length===e.nodes.length&&e.replaceWith(...t)}function shiftNodesBeforeParent(e,t){const r=t.index(e);if(r){const e=t.cloneBefore().removeAll().append(t.nodes.slice(0,r));e.raws.semicolon=!0,cleanupParent(e)}t.before(e),t.raws.semicolon=!0}function combinationsWithSizeN(e,t){if(t<2)throw new Error("n must be greater than 1");if(e.length<2)throw new Error("s must be greater than 1");if(Math.pow(e.length,t)>1e4)throw new Error("Too many combinations when trying to resolve a nested selector with lists, reduce the complexity of your selectors");const r=[];for(let e=0;e=0;s--){let t=r[s];if(t>=e.length){if(t=0,r[s]=0,0===s)return n;r[s-1]+=1}i[s]=e[t]}n.push(i),r[r.length-1]++}}function nodesAreEquallySpecific(e){const t=e.map((e=>n().astSync(e))).map((e=>i.selectorSpecificity(e))),r=t[0];for(let e=1;en().astSync(e))):[n().astSync(`:is(${e.join(",")})`)];const s=[];for(let e=0;e{"nesting"===e.type&&(t=!0)}));const r=e.nodes[0];let i=!1;r.each((e=>"combinator"===e.type&&(i=!0,!1))),t?i&&r.insertBefore(r.at(0),n.nesting({})):(r.insertBefore(r.at(0),n.combinator({value:" "})),r.insertBefore(r.at(0),n.nesting({}))),a=e.toString()}let u=[],c=0;if(n().astSync(a).walkNesting((()=>{c++})),c>1&&i.length>1)u=combinationsWithSizeN(i,c),o=u.length;else{o=i.length;for(let e=0;e{if("nesting"!==i.type)return;let s=u[e][t];t++,"root"===s.type&&1===s.nodes.length&&(s=s.nodes[0]);const o=n().astSync(`:is(${s.toString()})`),a=isSimpleSelector(s.nodes[0]),c=isCompoundSelector(s.nodes[0]),l=isSimpleSelector(i),f=isCompoundSelector(i);if(a&&l)return void i.replaceWith(s.clone());if((a||c)&&(l||f)){const e=i.parent;return a&&"selector"===s.type?i.replaceWith(s.clone().nodes[0]):i.replaceWith(...s.clone().nodes),void(e&&e.nodes.length>1&&sortCompoundSelectorsInsideComplexSelector(e))}if(a){const e=i.parent;return i.replaceWith(s.clone().nodes[0]),void(e&&sortCompoundSelectorsInsideComplexSelector(e))}if(c){const e=i.parent;return i.replaceWith(...s.clone().nodes),void(e&&sortCompoundSelectorsInsideComplexSelector(e))}if(nestingIsFirstAndOnlyInSelectorWithEitherSpaceOrChildCombinator(i)){const e=i.parent;return i.replaceWith(...s.clone().nodes),void(e&&sortCompoundSelectorsInsideComplexSelector(e))}if(nestingIsNotInsideCompoundSelector(i)){const e=i.parent;return i.replaceWith(...s.clone().nodes),void(e&&sortCompoundSelectorsInsideComplexSelector(e))}const p=i.parent;r.noIsPseudoSelector?i.replaceWith(...s.clone().nodes):i.replaceWith(...o.clone({}).nodes),p&&sortCompoundSelectorsInsideComplexSelector(p)})),s.push(i.toString())}}return s}function isSimpleSelector(e){return"combinator"!==e.type&&!(e.parent&&e.parent.nodes.length>1)}function isCompoundSelector(e,t=null){if(isSimpleSelector(e))return!1;if(!e.parent)return!1;if(!!e.parent.nodes.find((e=>"combinator"===e.type)))return!1;return!(!!e.parent.nodes.find((e=>"nesting"===e.type))&&t&&!isCompoundSelector(t))}function nestingIsFirstAndOnlyInSelectorWithEitherSpaceOrChildCombinator(e){if(!e.parent)return!1;if(0!==e.parent.nodes.indexOf(e))return!1;for(let t=1;t"!==e.parent.nodes[t].value)return!1;return!0}function nestingIsNotInsideCompoundSelector(e){if(isSimpleSelector(e))return!0;if(!e.parent)return!1;for(let t=0;t{if("decl"===r.type)return t===n-1?void(t=n):(r.remove(),e.insertAfter(t,r),void(t=e.index(r)));if("atrule"===r.type&&"mixin"===r.name.toLowerCase()){let i=r.prev();for(;i;){if("rule"===i.type||"atrule"===i.type)return;i=i.prev()}return t===n-1?void(t=n):(r.remove(),e.insertAfter(t,r),void(t=e.index(r)))}if("comment"===r.type){const i=r.next();if(i&&("comment"===i.type||"rule"===i.type||"atrule"===i.type&&"mixin"!==i.name.toLowerCase()))return;return t===n-1?void(t=n):(r.remove(),e.insertAfter(t,r),void(t=e.index(r)))}}))}function transformRuleWithinRule(e,t,r,n){let i=[];try{i=mergeSelectors(t.selectors,e.selectors,n)}catch(n){return void e.warn(r,`Failed to parse selectors : "${t.selector}" / "${e.selector}" with message: "${n.message}"`)}if(!i.length)return;groupDeclarations(t),shiftNodesBeforeParent(e,t),e.selectors=i;"rule"===e.type&&"rule"===t.type&&e.selector===t.selector&&e.append(...t.nodes),cleanupParent(t)}function isValidRuleWithinRule(e){return e.selectors.every((e=>-1===e.indexOf("|")))}function comma(e){const t=[];let r="",n=!1,i=0,s=!1,o=!1;for(const a of e)o?o=!1:"\\"===a?o=!0:s?a===s&&(s=!1):'"'===a||"'"===a?s=a:"("===a?i+=1:")"===a?i>0&&(i-=1):0===i&&","===a&&(n=!0),n?(""!==r&&t.push(r.trim()),r="",n=!1):r+=a;return t.push(r.trim()),t}function transformNestRuleWithinRule(e,t,r,n,i){let s=[];try{s=mergeSelectors(t.selectors,comma(e.params),i)}catch(n){return void e.warn(r,`Failed to parse selectors : "${t.selector}" / "${e.params}" with message: "${n.message}"`)}if(!s.length)return;shiftNodesBeforeParent(e,t);const o=t.clone().removeAll().append(e.nodes);o.raws.semicolon=!0,o.selectors=s,e.replaceWith(o),cleanupParent(t),n(o,r,i)}function isValidNestRuleWithinRule(e){return comma(e.params).every((e=>e.split("&").length>=2&&-1===e.indexOf("|")))}var a=["container","document","media","supports","layer","starting-style"];function atruleWithinRule(e,t,r,n,i){if(groupDeclarations(t),shiftNodesBeforeParent(e,t),e.nodes){const s=t.clone().removeAll().append(e.nodes);e.append(s),cleanupParent(t),n(s,r,i)}else cleanupParent(t)}function isAtruleWithinRule(e){return a.includes(e.name)}function transformAtruleWithinAtrule(e,t){var r,n;groupDeclarations(t),shiftNodesBeforeParent(e,t),e.params=(r=t.params,n=e.params,comma(r).map((e=>comma(n).map((t=>`${e} and ${t}`)).join(", "))).join(", ")),cleanupParent(t)}function isAtruleWithinAtrule(e,t){return a.includes(e.name)&&e.name===t.name}function isAtRule(e){return e&&"atrule"===e.type}function isNestRule(e){return e&&isAtRule(e)&&"nest"===e.name}function isRule(e){return e&&"rule"===e.type}function walk(e,t,r){e.each((n=>{const i=n.parent;isNestRule(n)&&!r.silenceAtNestWarning&&e.warn(t,`\`@nest\` was removed from the CSS Nesting specification and will be removed from PostCSS Nesting in the next major version.\nChange \`@nest ${n.params} {}\` to \`${n.params} {}\` to migrate to the latest standard.`),isRule(n)&&isRule(i)&&isValidRuleWithinRule(n)?transformRuleWithinRule(n,i,t,r):isNestRule(n)&&isRule(i)&&isValidNestRuleWithinRule(n)?transformNestRuleWithinRule(n,i,t,walk,r):isAtRule(n)&&isRule(i)&&isAtruleWithinRule(n)?atruleWithinRule(n,i,t,walk,r):isAtRule(n)&&isAtRule(i)&&isAtruleWithinAtrule(n,i)&&transformAtruleWithinAtrule(n,i),"nodes"in n&&n.nodes.length&&walk(n,t,r)}))}const creator=e=>{const t=Object.assign({noIsPseudoSelector:!1,silenceAtNestWarning:!1},e);return{postcssPlugin:"postcss-nesting",Rule(e,{result:r}){walk(e,r,t),e.selector.includes("&")&&ersandToScope(e,r)}}};creator.postcss=!0,e.exports=creator}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var i=t[r]={exports:{}};var s=true;try{e[r](i,i.exports,__nccwpck_require__);s=false}finally{if(s)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(389);module.exports=r})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/postcss-nesting/package.json b/packages/builder/builder-shared/compiled/postcss-nesting/package.json deleted file mode 100644 index 23a42cc26ce2..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-nesting/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"postcss-nesting","version":"12.0.1","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"license":"MIT-0","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/postcss-page-break/index.d.ts b/packages/builder/builder-shared/compiled/postcss-page-break/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-page-break/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/postcss-page-break/index.js b/packages/builder/builder-shared/compiled/postcss-page-break/index.js deleted file mode 100644 index 6386d9a621ea..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-page-break/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={772:e=>{e.exports=function(e){return{postcssPlugin:"postcss-page-break",Declaration(e){if(e.prop.startsWith("break-")&&/^break-(inside|before|after)/.test(e.prop)){if(e.value.search(/column|region/)>=0){return}let r;switch(e.value){case"page":r="always";break;case"avoid-page":r="avoid";break;default:r=e.value}const a="page-"+e.prop;if(e.parent.every((e=>e.prop!==a))){e.cloneBefore({prop:a,value:r})}}}}};e.exports.postcss=true}};var r={};function __nccwpck_require__(a){var t=r[a];if(t!==undefined){return t.exports}var p=r[a]={exports:{}};var o=true;try{e[a](p,p.exports,__nccwpck_require__);o=false}finally{if(o)delete r[a]}return p.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var a=__nccwpck_require__(772);module.exports=a})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/postcss-page-break/license b/packages/builder/builder-shared/compiled/postcss-page-break/license deleted file mode 100644 index 48c74e47e678..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-page-break/license +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright 2017 AUTHOR_NAME - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/postcss-page-break/package.json b/packages/builder/builder-shared/compiled/postcss-page-break/package.json deleted file mode 100644 index 5ba4b5761c3a..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-page-break/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"postcss-page-break","author":"shrpne ","version":"3.0.4","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/postcss-pxtorem/index.d.ts b/packages/builder/builder-shared/compiled/postcss-pxtorem/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-pxtorem/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/postcss-pxtorem/index.js b/packages/builder/builder-shared/compiled/postcss-pxtorem/index.js deleted file mode 100644 index 03e902911b0c..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-pxtorem/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var t={816:(t,e,r)=>{const n=r(509);const i=r(957);const o=r(288);const a={rootValue:16,unitPrecision:5,selectorBlackList:[],propList:["font","font-size","line-height","letter-spacing"],replace:true,mediaQuery:false,minPixelValue:0,exclude:null};const s={root_value:"rootValue",unit_precision:"unitPrecision",selector_black_list:"selectorBlackList",prop_white_list:"propList",media_query:"mediaQuery",propWhiteList:"propList"};function convertLegacyOptions(t){if(typeof t!=="object")return;if((typeof t["prop_white_list"]!=="undefined"&&t["prop_white_list"].length===0||typeof t.propWhiteList!=="undefined"&&t.propWhiteList.length===0)&&typeof t.propList==="undefined"){t.propList=["*"];delete t["prop_white_list"];delete t.propWhiteList}Object.keys(s).forEach((e=>{if(Reflect.has(t,e)){t[s[e]]=t[e];delete t[e]}}))}function createPxReplace(t,e,r){return(n,i)=>{if(!i)return n;const o=parseFloat(i);if(ot.prop===e&&t.value===r))}function blacklistedSelector(t,e){if(typeof e!=="string")return;return t.some((t=>{if(typeof t==="string"){return e.indexOf(t)!==-1}return e.match(t)}))}function createPropListMatcher(t){const e=t.indexOf("*")>-1;const r=e&&t.length===1;const n={exact:i.exact(t),contain:i.contain(t),startWith:i.startWith(t),endWith:i.endWith(t),notExact:i.notExact(t),notContain:i.notContain(t),notStartWith:i.notStartWith(t),notEndWith:i.notEndWith(t)};return t=>{if(r)return true;return(e||n.exact.indexOf(t)>-1||n.contain.some((function(e){return t.indexOf(e)>-1}))||n.startWith.some((function(e){return t.indexOf(e)===0}))||n.endWith.some((function(e){return t.indexOf(e)===t.length-e.length})))&&!(n.notExact.indexOf(t)>-1||n.notContain.some((function(e){return t.indexOf(e)>-1}))||n.notStartWith.some((function(e){return t.indexOf(e)===0}))||n.notEndWith.some((function(e){return t.indexOf(e)===t.length-e.length})))}}t.exports=(t={})=>{convertLegacyOptions(t);const e=Object.assign({},a,t);const r=createPropListMatcher(e.propList);const i=e.exclude;let s=false;let c;return{postcssPlugin:"postcss-pxtorem",Once(t){const r=t.source.input.file;if(i&&(o.isFunction(i)&&i(r)||o.isString(i)&&r.indexOf(i)!==-1||r.match(i)!==null)){s=true}else{s=false}const n=typeof e.rootValue==="function"?e.rootValue(t.source.input):e.rootValue;c=createPxReplace(n,e.unitPrecision,e.minPixelValue)},Declaration(t){if(s)return;if(t.value.indexOf("px")===-1||!r(t.prop)||blacklistedSelector(e.selectorBlackList,t.parent.selector))return;const i=t.value.replace(n,c);if(declarationExists(t.parent,t.prop,i))return;if(e.replace){t.value=i}else{t.cloneAfter({value:i})}},AtRule(t){if(s)return;if(e.mediaQuery&&t.name==="media"){if(t.params.indexOf("px")===-1)return;t.params=t.params.replace(n,c)}}}};t.exports.postcss=true},957:t=>{t.exports={exact:t=>t.filter((t=>t.match(/^[^*!]+$/))),contain:t=>t.filter((t=>t.match(/^\*.+\*$/))).map((t=>t.substr(1,t.length-2))),endWith:t=>t.filter((t=>t.match(/^\*[^*]+$/))).map((t=>t.substr(1))),startWith:t=>t.filter((t=>t.match(/^[^*!]+\*$/))).map((t=>t.substr(0,t.length-1))),notExact:t=>t.filter((t=>t.match(/^![^*].*$/))).map((t=>t.substr(1))),notContain:t=>t.filter((t=>t.match(/^!\*.+\*$/))).map((t=>t.substr(2,t.length-3))),notEndWith:t=>t.filter((t=>t.match(/^!\*[^*]+$/))).map((t=>t.substr(2))),notStartWith:t=>t.filter((t=>t.match(/^![^*]+\*$/))).map((t=>t.substr(1,t.length-2)))}},509:t=>{t.exports=/"[^"]+"|'[^']+'|url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g},288:t=>{const type=t=>Object.prototype.toString.call(t).slice(8,-1).toLowerCase();const e=["String","Array","Undefined","Boolean","Number","Function","Symbol","Object"];t.exports=e.reduce(((t,e)=>{t["is"+e]=t=>type(t)===e.toLowerCase();return t}),{})}};var e={};function __nccwpck_require__(r){var n=e[r];if(n!==undefined){return n.exports}var i=e[r]={exports:{}};var o=true;try{t[r](i,i.exports,__nccwpck_require__);o=false}finally{if(o)delete e[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(816);module.exports=r})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/postcss-pxtorem/license b/packages/builder/builder-shared/compiled/postcss-pxtorem/license deleted file mode 100644 index f4e362e3de6a..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-pxtorem/license +++ /dev/null @@ -1,9 +0,0 @@ -(MIT License) - -Copyright (C) 2014 Jonathan Cuthbert - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/postcss-pxtorem/package.json b/packages/builder/builder-shared/compiled/postcss-pxtorem/package.json deleted file mode 100644 index 29249fa8cf15..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-pxtorem/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"postcss-pxtorem","author":"cuth","version":"6.0.0","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/postcss-value-parser/index.d.ts b/packages/builder/builder-shared/compiled/postcss-value-parser/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-value-parser/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/postcss-value-parser/index.js b/packages/builder/builder-shared/compiled/postcss-value-parser/index.js deleted file mode 100644 index 7ccd66c90ff3..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-value-parser/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={962:(e,r,t)=>{var a=t(97);var n=t(874);var o=t(617);function ValueParser(e){if(this instanceof ValueParser){this.nodes=a(e);return this}return new ValueParser(e)}ValueParser.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):""};ValueParser.prototype.walk=function(e,r){n(this.nodes,e,r);return this};ValueParser.unit=t(214);ValueParser.walk=n;ValueParser.stringify=o;e.exports=ValueParser},97:e=>{var r="(".charCodeAt(0);var t=")".charCodeAt(0);var a="'".charCodeAt(0);var n='"'.charCodeAt(0);var o="\\".charCodeAt(0);var s="/".charCodeAt(0);var d=",".charCodeAt(0);var u=":".charCodeAt(0);var i="*".charCodeAt(0);var c="u".charCodeAt(0);var l="U".charCodeAt(0);var f="+".charCodeAt(0);var h=/^[a-f0-9?-]+$/i;e.exports=function(e){var v=[];var A=e;var p,C,x,y,g,I,_,w;var E=0;var b=A.charCodeAt(E);var k=A.length;var m=[{nodes:v}];var P=0;var V;var q="";var N="";var O="";while(E{function stringifyNode(e,r){var t=e.type;var a=e.value;var n;var o;if(r&&(o=r(e))!==undefined){return o}else if(t==="word"||t==="space"){return a}else if(t==="string"){n=e.quote||"";return n+a+(e.unclosed?"":n)}else if(t==="comment"){return"/*"+a+(e.unclosed?"":"*/")}else if(t==="div"){return(e.before||"")+a+(e.after||"")}else if(Array.isArray(e.nodes)){n=stringify(e.nodes,r);if(t!=="function"){return n}return a+"("+(e.before||"")+n+(e.after||"")+(e.unclosed?"":")")}return a}function stringify(e,r){var t,a;if(Array.isArray(e)){t="";for(a=e.length-1;~a;a-=1){t=stringifyNode(e[a],r)+t}return t}return stringifyNode(e,r)}e.exports=stringify},214:e=>{var r="-".charCodeAt(0);var t="+".charCodeAt(0);var a=".".charCodeAt(0);var n="e".charCodeAt(0);var o="E".charCodeAt(0);function likeNumber(e){var n=e.charCodeAt(0);var o;if(n===t||n===r){o=e.charCodeAt(1);if(o>=48&&o<=57){return true}var s=e.charCodeAt(2);if(o===a&&s>=48&&s<=57){return true}return false}if(n===a){o=e.charCodeAt(1);if(o>=48&&o<=57){return true}return false}if(n>=48&&n<=57){return true}return false}e.exports=function(e){var s=0;var d=e.length;var u;var i;var c;if(d===0||!likeNumber(e)){return false}u=e.charCodeAt(s);if(u===t||u===r){s++}while(s57){break}s+=1}u=e.charCodeAt(s);i=e.charCodeAt(s+1);if(u===a&&i>=48&&i<=57){s+=2;while(s57){break}s+=1}}u=e.charCodeAt(s);i=e.charCodeAt(s+1);c=e.charCodeAt(s+2);if((u===n||u===o)&&(i>=48&&i<=57||(i===t||i===r)&&c>=48&&c<=57)){s+=i===t||i===r?3:2;while(s57){break}s+=1}}return{number:e.slice(0,s),unit:e.slice(s)}}},874:e=>{e.exports=function walk(e,r,t){var a,n,o,s;for(a=0,n=e.length;a - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/postcss-value-parser/package.json b/packages/builder/builder-shared/compiled/postcss-value-parser/package.json deleted file mode 100644 index 97c9a99b0fbc..000000000000 --- a/packages/builder/builder-shared/compiled/postcss-value-parser/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"postcss-value-parser","author":"Bogdan Chadkin ","version":"4.2.0","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/pretty-time/index.d.ts b/packages/builder/builder-shared/compiled/pretty-time/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/pretty-time/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/pretty-time/index.js b/packages/builder/builder-shared/compiled/pretty-time/index.js deleted file mode 100644 index 915180f9b2b7..000000000000 --- a/packages/builder/builder-shared/compiled/pretty-time/index.js +++ /dev/null @@ -1,7 +0,0 @@ -(()=>{var e={347:(e,r,s)=>{"use strict"; -/*! - * pretty-time - * - * Copyright (c) 2015-2018, present, Jon Schlinkert. - * Released under the MIT License. - */const t=s(91);e.exports=(e,r,s)=>{const n=/^[0-9]+$/.test(e);if(!n&&!Array.isArray(e)){throw new TypeError("expected an array or number in nanoseconds")}if(Array.isArray(e)&&e.length!==2){throw new TypeError("expected an array from process.hrtime()")}if(/^[0-9]+$/.test(r)){s=r;r=null}let o=n?e:t.nano(e);let a="";let i;for(const e of Object.keys(t.scale)){const n=t.scale[e];let u=o/n;if(r&&t.isSmallest(e,r)){u=t.round(u,s);if(i&&u===i/n)--u;a+=u+e;return a.trim()}if(u<1)continue;if(!r){u=t.round(u,s);a+=u+e;return a}i=n;u=Math.floor(u);o-=u*n;a+=u+e+" "}return a.trim()}},91:(e,r)=>{r.nano=e=>+e[0]*1e9+ +e[1];r.scale={w:6048e11,d:864e11,h:36e11,m:6e10,s:1e9,ms:1e6,"μs":1e3,ns:1};r.regex={w:/^(w((ee)?k)?s?)$/,d:/^(d(ay)?s?)$/,h:/^(h((ou)?r)?s?)$/,m:/^(min(ute)?s?|m)$/,s:/^((sec(ond)?)s?|s)$/,ms:/^(milli(second)?s?|ms)$/,"μs":/^(micro(second)?s?|μs)$/,ns:/^(nano(second)?s?|ns?)$/};r.isSmallest=function(e,s){return r.regex[e].test(s)};r.round=function(e,r){const s=Math.abs(e);return/[0-9]/.test(r)?s.toFixed(r):Math.round(s)}}};var r={};function __nccwpck_require__(s){var t=r[s];if(t!==undefined){return t.exports}var n=r[s]={exports:{}};var o=true;try{e[s](n,n.exports,__nccwpck_require__);o=false}finally{if(o)delete r[s]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var s=__nccwpck_require__(347);module.exports=s})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/pretty-time/license b/packages/builder/builder-shared/compiled/pretty-time/license deleted file mode 100644 index 7cccaf9e345e..000000000000 --- a/packages/builder/builder-shared/compiled/pretty-time/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015-present, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/pretty-time/package.json b/packages/builder/builder-shared/compiled/pretty-time/package.json deleted file mode 100644 index d07ecc5fb685..000000000000 --- a/packages/builder/builder-shared/compiled/pretty-time/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"pretty-time","author":"Jon Schlinkert (https://github.com/jonschlinkert)","version":"1.1.0","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/pug/index.d.ts b/packages/builder/builder-shared/compiled/pug/index.d.ts deleted file mode 100644 index 6a6c8b6989aa..000000000000 --- a/packages/builder/builder-shared/compiled/pug/index.d.ts +++ /dev/null @@ -1,141 +0,0 @@ -// Type definitions for pug 2.0 -// Project: https://github.com/pugjs/pug -// Definitions by: TonyYang -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/** - * Table of Contents - * - * - Options https://pugjs.org/api/reference.html#options - * - Methods https://pugjs.org/api/reference.html#methods - * - * The order of contents is according to pugjs API document. - */ -declare namespace pug { - //////////////////////////////////////////////////////////// - /// Options https://pugjs.org/api/reference.html#options /// - //////////////////////////////////////////////////////////// - export interface Options { - /** The name of the file being compiled. Used in exceptions, and required for relative includes and extends. Defaults to 'Pug'. */ - filename?: string | undefined, - /** The root directory of all absolute inclusion. */ - basedir?: string | undefined, - /** If the doctype is not specified as part of the template, you can specify it here. It is sometimes useful to get self-closing tags and remove mirroring of boolean attributes; see doctype documentation for more information. */ - doctype?: string | undefined, - /** Adds whitespace to the resulting HTML to make it easier for a human to read using ' ' as indentation. If a string is specified, that will be used as indentation instead (e.g. '\t'). Defaults to false. */ - pretty?: boolean | string | undefined, - /** Hash table of custom filters. Defaults to undefined. */ - filters?: any, - /** Use a self namespace to hold the locals. It will speed up the compilation, but instead of writing variable you will have to write self.variable to access a property of the locals object. Defaults to false. */ - self?: boolean | undefined, - /** If set to true, the tokens and function body are logged to stdout. */ - debug?: boolean | undefined, - /** If set to true, the function source will be included in the compiled template for better error messages (sometimes useful in development). It is enabled by default unless used with Express in production mode. */ - compileDebug?: boolean | undefined, - /** Add a list of global names to make accessible in templates. */ - globals?: Array | undefined, - /** If set to true, compiled functions are cached. filename must be set as the cache key. Only applies to render functions. Defaults to false. */ - cache?: boolean | undefined, - /** Inline runtime functions instead of require-ing them from a shared version. For compileClient functions, the default is true so that one does not have to include the runtime. For all other compilation or rendering types, the default is false. */ - inlineRuntimeFunctions?: boolean | undefined, - /** The name of the template function. Only applies to compileClient functions. Defaults to 'template'. */ - name?: string | undefined - } - - //////////////////////////////////////////////////////////// - /// Methods https://pugjs.org/api/reference.html#methods /// - //////////////////////////////////////////////////////////// - /** - * Compile a Pug template to a function which can be rendered multiple times with different locals. - */ - export function compile(template: string, options?: Options): compileTemplate; - - /** - * Compile a Pug template from a file to a function which can be rendered multiple times with different locals. - */ - export function compileFile(path: string, options?: Options): compileTemplate; - - /** - * Compile a Pug template to a string of JavaScript that can be used client side along with the Pug runtime. - */ - export function compileClient(template: string, options?: Options): string; - - /** - * Compile a Pug template to an object of the form: - * { - * 'body': 'function (locals) {...}', - * 'dependencies': ['filename.pug'] - * } - * that can be used client side along with the Pug runtime. - * You should only use this method if you need dependencies to implement something like watching for changes to the Pug files. - */ - export function compileClientWithDependenciesTracked(template: string, options?: Options): { - body: string; - dependencies: string[]; - }; - - /** - * Compile a Pug template file to a string of JavaScript that can be used client side along with the Pug runtime. - */ - export function compileFileClient(path: string, options?: Options): string; - - /** - * Compile a Pug template and render it without locals to html string. - */ - export function render(template: string): string; - /** - * Compile a Pug template and render it with locals to html string. - * @param {(Options & LocalsObject)} options Pug Options and rendering locals - */ - export function render(template: string, options: Options & LocalsObject): string; - /** - * Compile a Pug template and render it without locals to html string. - * @param {((err: Error | null, html: string) => void)} callback Node.js-style callback receiving the rendered results. This callback is called synchronously. - */ - export function render(template: string, callback: (err: Error | null, html: string) => void): void; - /** - * Compile a Pug template and render it with locals to html string. - * @param {(Options & LocalsObject)} options Pug Options and rendering locals - * @param {((err: Error | null, html: string) => void)} callback Node.js-style callback receiving the rendered results. This callback is called synchronously. - */ - export function render(template: string, options: Options & LocalsObject, callback: (err: Error | null, html: string) => void): void; - - /** - * Compile a Pug template from a file and render it without locals to html string. - */ - export function renderFile(path: string): string; - /** - * Compile a Pug template from a file and render it with locals to html string. - * @param {(Options & LocalsObject)} options Pug Options and rendering locals - */ - export function renderFile(path: string, options: Options & LocalsObject): string; - /** - * Compile a Pug template from a file and render it without locals to html string. - * @param {((err: Error | null, html: string) => void)} callback Node.js-style callback receiving the rendered results. This callback is called synchronously. - */ - export function renderFile(path: string, callback: (err: Error | null, html: string) => void): void; - /** - * Compile a Pug template from a file and render it with locals to html string. - * @param {(Options & LocalsObject)} options Pug Options and rendering locals - * @param {((err: Error | null, html: string) => void)} callback Node.js-style callback receiving the rendered results. This callback is called synchronously. - */ - export function renderFile(path: string, options: Options & LocalsObject, callback: (err: Error | null, html: string) => void): void; - - /////////////////// - /// Types /// - /////////////////// - - /** - * A function that can be use to render html string of compiled template. - */ - export type compileTemplate = (locals?: LocalsObject) => string; - - /** - * An object that can have multiple properties of any type. - */ - export interface LocalsObject { - [propName: string]: any; - } -} - -export = pug; \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/pug/index.js b/packages/builder/builder-shared/compiled/pug/index.js deleted file mode 100644 index 447e8305f5a2..000000000000 --- a/packages/builder/builder-shared/compiled/pug/index.js +++ /dev/null @@ -1,11 +0,0 @@ -(()=>{var e={5808:function(e,t){(function(e,i){true?i(t):0})(this,(function(e){"use strict";var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var r={5:i,"5module":i+" export import",6:i+" const class extends export import super"};var n=/^in(stanceof)?$/;var s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var a="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var o=new RegExp("["+s+"]");var l=new RegExp("["+s+a+"]");s=a=null;var c=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var u=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){var i=65536;for(var r=0;re){return false}i+=t[r+1];if(i>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&o.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,c)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&l.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,c)||isInAstralSet(e,u)}var h=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new h(e,{beforeExpr:true,binop:t})}var p={beforeExpr:true},f={startsExpr:true};var d={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return d[e]=new h(e,t)}var m={num:new h("num",f),regexp:new h("regexp",f),string:new h("string",f),name:new h("name",f),eof:new h("eof"),bracketL:new h("[",{beforeExpr:true,startsExpr:true}),bracketR:new h("]"),braceL:new h("{",{beforeExpr:true,startsExpr:true}),braceR:new h("}"),parenL:new h("(",{beforeExpr:true,startsExpr:true}),parenR:new h(")"),comma:new h(",",p),semi:new h(";",p),colon:new h(":",p),dot:new h("."),question:new h("?",p),questionDot:new h("?."),arrow:new h("=>",p),template:new h("template"),invalidTemplate:new h("invalidTemplate"),ellipsis:new h("...",p),backQuote:new h("`",f),dollarBraceL:new h("${",{beforeExpr:true,startsExpr:true}),eq:new h("=",{beforeExpr:true,isAssign:true}),assign:new h("_=",{beforeExpr:true,isAssign:true}),incDec:new h("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new h("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new h("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new h("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",p),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",p),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",p),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",f),_if:kw("if"),_return:kw("return",p),_switch:kw("switch"),_throw:kw("throw",p),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",f),_super:kw("super",f),_class:kw("class",f),_extends:kw("extends",p),_export:kw("export"),_import:kw("import",f),_null:kw("null",f),_true:kw("true",f),_false:kw("false",f),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var v=/\r\n?|\n|\u2028|\u2029/;var y=new RegExp(v.source,"g");function isNewLine(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var g=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var x=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var b=Object.prototype;var k=b.hasOwnProperty;var _=b.toString;function has(e,t){return k.call(e,t)}var w=Array.isArray||function(e){return _.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var E=function Position(e,t){this.line=e;this.column=t};E.prototype.offset=function offset(e){return new E(this.line,this.column+e)};var C=function SourceLocation(e,t,i){this.start=t;this.end=i;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var i=1,r=0;;){y.lastIndex=r;var n=y.exec(e);if(n&&n.index=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(w(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}if(w(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(i,r,n,s,a,o){var l={type:i?"Block":"Line",value:r,start:n,end:s};if(e.locations){l.loc=new C(this,a,o)}if(e.ranges){l.range=[n,s]}t.push(l)}}var S=1,T=2,I=S|T,P=4,N=8,O=16,F=32,L=64,R=128;function functionFlags(e,t){return T|(e?P:0)|(t?N:0)}var D=0,B=1,M=2,j=3,V=4,U=5;var z=function Parser(e,i,n){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(r[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var s="";if(e.allowReserved!==true){for(var a=e.ecmaVersion;;a--){if(s=t[a]){break}}if(e.sourceType==="module"){s+=" await"}}this.reservedWords=wordsRegexp(s);var o=(s?s+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(o);this.reservedWordsStrictBind=wordsRegexp(o+" "+t.strictBind);this.input=String(i);this.containsEsc=false;if(n){this.pos=n;this.lineStart=this.input.lastIndexOf("\n",n-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(v).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=m.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(S);this.regexpState=null};var q={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};z.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};q.inFunction.get=function(){return(this.currentVarScope().flags&T)>0};q.inGenerator.get=function(){return(this.currentVarScope().flags&N)>0};q.inAsync.get=function(){return(this.currentVarScope().flags&P)>0};q.allowSuper.get=function(){return(this.currentThisScope().flags&L)>0};q.allowDirectSuper.get=function(){return(this.currentThisScope().flags&R)>0};q.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};z.prototype.inNonArrowFunction=function inNonArrowFunction(){return(this.currentThisScope().flags&T)>0};z.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var i=this;for(var r=0;r=,?^&]/.test(n)||n==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length;x.lastIndex=e;e+=x.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};H.eat=function(e){if(this.type===e){this.next();return true}else{return false}};H.isContextual=function(e){return this.type===m.name&&this.value===e&&!this.containsEsc};H.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};H.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};H.canInsertSemicolon=function(){return this.type===m.eof||this.type===m.braceR||v.test(this.input.slice(this.lastTokEnd,this.start))};H.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};H.semicolon=function(){if(!this.eat(m.semi)&&!this.insertSemicolon()){this.unexpected()}};H.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};H.expect=function(e){this.eat(e)||this.unexpected()};H.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var i=t?e.parenthesizedAssign:e.parenthesizedBind;if(i>-1){this.raiseRecoverable(i,"Parenthesized pattern")}};H.checkExpressionErrors=function(e,t){if(!e){return false}var i=e.shorthandAssign;var r=e.doubleProto;if(!t){return i>=0||r>=0}if(i>=0){this.raise(i,"Shorthand property assignments are valid only in destructuring patterns")}if(r>=0){this.raiseRecoverable(r,"Redefinition of __proto__ property")}};H.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos=6){this.unexpected()}return this.parseFunctionStatement(n,false,!e);case m._class:if(e){this.unexpected()}return this.parseClass(n,true);case m._if:return this.parseIfStatement(n);case m._return:return this.parseReturnStatement(n);case m._switch:return this.parseSwitchStatement(n);case m._throw:return this.parseThrowStatement(n);case m._try:return this.parseTryStatement(n);case m._const:case m._var:s=s||this.value;if(e&&s!=="var"){this.unexpected()}return this.parseVarStatement(n,s);case m._while:return this.parseWhileStatement(n);case m._with:return this.parseWithStatement(n);case m.braceL:return this.parseBlock(true,n);case m.semi:return this.parseEmptyStatement(n);case m._export:case m._import:if(this.options.ecmaVersion>10&&r===m._import){x.lastIndex=this.pos;var a=x.exec(this.input);var o=this.pos+a[0].length,l=this.input.charCodeAt(o);if(l===40||l===46){return this.parseExpressionStatement(n,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return r===m._import?this.parseImport(n):this.parseExport(n,i);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(n,true,!e)}var c=this.value,u=this.parseExpression();if(r===m.name&&u.type==="Identifier"&&this.eat(m.colon)){return this.parseLabeledStatement(n,c,u,e)}else{return this.parseExpressionStatement(n,u)}}};W.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next();if(this.eat(m.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==m.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var r=0;for(;r=6){this.eat(m.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};W.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(G);this.enterScope(0);this.expect(m.parenL);if(this.type===m.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var i=this.isLet();if(this.type===m._var||this.type===m._const||i){var r=this.startNode(),n=i?"let":this.value;this.next();this.parseVar(r,true,n);this.finishNode(r,"VariableDeclaration");if((this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===m._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,r)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}var s=new DestructuringErrors;var a=this.parseExpression(true,s);if(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===m._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}this.toAssignable(a,false,s);this.checkLVal(a);return this.parseForIn(e,a)}else{this.checkExpressionErrors(s,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,a)};W.parseFunctionStatement=function(e,t,i){this.next();return this.parseFunction(e,Q|(i?0:X),false,t)};W.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(m._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};W.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(m.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};W.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(m.braceL);this.labels.push(K);this.enterScope(0);var t;for(var i=false;this.type!==m.braceR;){if(this.type===m._case||this.type===m._default){var r=this.type===m._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(r){t.test=this.parseExpression()}else{if(i){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}i=true;t.test=null}this.expect(m.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};W.parseThrowStatement=function(e){this.next();if(v.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var Y=[];W.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===m._catch){var t=this.startNode();this.next();if(this.eat(m.parenL)){t.param=this.parseBindingAtom();var i=t.param.type==="Identifier";this.enterScope(i?F:0);this.checkLVal(t.param,i?V:M);this.expect(m.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(m._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};W.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};W.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(G);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};W.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};W.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};W.parseLabeledStatement=function(e,t,i,r){for(var n=0,s=this.labels;n=0;l--){var c=this.labels[l];if(c.statementStart===e.start){c.statementStart=this.start;c.kind=o}else{break}}this.labels.push({name:t,kind:o,statementStart:this.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.labels.pop();e.label=i;return this.finishNode(e,"LabeledStatement")};W.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};W.parseBlock=function(e,t,i){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(m.braceL);if(e){this.enterScope(0)}while(this.type!==m.braceR){var r=this.parseStatement(null);t.body.push(r)}if(i){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};W.parseFor=function(e,t){e.init=t;this.expect(m.semi);e.test=this.type===m.semi?null:this.parseExpression();this.expect(m.semi);e.update=this.type===m.parenR?null:this.parseExpression();this.expect(m.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};W.parseForIn=function(e,t){var i=this.type===m._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(t.type==="AssignmentPattern"){this.raise(t.start,"Invalid left-hand side in for-loop")}e.left=t;e.right=i?this.parseExpression():this.parseMaybeAssign();this.expect(m.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,i?"ForInStatement":"ForOfStatement")};W.parseVar=function(e,t,i){e.declarations=[];e.kind=i;for(;;){var r=this.startNode();this.parseVarId(r,i);if(this.eat(m.eq)){r.init=this.parseMaybeAssign(t)}else if(i==="const"&&!(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(r.id.type!=="Identifier"&&!(t&&(this.type===m._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{r.init=null}e.declarations.push(this.finishNode(r,"VariableDeclarator"));if(!this.eat(m.comma)){break}}return e};W.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,t==="var"?B:M,false)};var Q=1,X=2,J=4;W.parseFunction=function(e,t,i,r){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r){if(this.type===m.star&&t&X){this.unexpected()}e.generator=this.eat(m.star)}if(this.options.ecmaVersion>=8){e.async=!!r}if(t&Q){e.id=t&J&&this.type!==m.name?null:this.parseIdent();if(e.id&&!(t&X)){this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?B:M:j)}}var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&Q)){e.id=this.type===m.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,i,false);this.yieldPos=n;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(e,t&Q?"FunctionDeclaration":"FunctionExpression")};W.parseFunctionParams=function(e){this.expect(m.parenL);e.params=this.parseBindingList(m.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};W.parseClass=function(e,t){this.next();var i=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var r=this.startNode();var n=false;r.body=[];this.expect(m.braceL);while(this.type!==m.braceR){var s=this.parseClassElement(e.superClass!==null);if(s){r.body.push(s);if(s.type==="MethodDefinition"&&s.kind==="constructor"){if(n){this.raise(s.start,"Duplicate constructor in the same class")}n=true}}}this.strict=i;this.next();e.body=this.finishNode(r,"ClassBody");return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};W.parseClassElement=function(e){var t=this;if(this.eat(m.semi)){return null}var i=this.startNode();var tryContextual=function(e,r){if(r===void 0)r=false;var n=t.start,s=t.startLoc;if(!t.eatContextual(e)){return false}if(t.type!==m.parenL&&(!r||!t.canInsertSemicolon())){return true}if(i.key){t.unexpected()}i.computed=false;i.key=t.startNodeAt(n,s);i.key.name=e;t.finishNode(i.key,"Identifier");return false};i.kind="method";i.static=tryContextual("static");var r=this.eat(m.star);var n=false;if(!r){if(this.options.ecmaVersion>=8&&tryContextual("async",true)){n=true;r=this.options.ecmaVersion>=9&&this.eat(m.star)}else if(tryContextual("get")){i.kind="get"}else if(tryContextual("set")){i.kind="set"}}if(!i.key){this.parsePropertyName(i)}var s=i.key;var a=false;if(!i.computed&&!i.static&&(s.type==="Identifier"&&s.name==="constructor"||s.type==="Literal"&&s.value==="constructor")){if(i.kind!=="method"){this.raise(s.start,"Constructor can't have get/set modifier")}if(r){this.raise(s.start,"Constructor can't be a generator")}if(n){this.raise(s.start,"Constructor can't be an async method")}i.kind="constructor";a=e}else if(i.static&&s.type==="Identifier"&&s.name==="prototype"){this.raise(s.start,"Classes may not have a static property named prototype")}this.parseClassMethod(i,r,n,a);if(i.kind==="get"&&i.value.params.length!==0){this.raiseRecoverable(i.value.start,"getter should have no params")}if(i.kind==="set"&&i.value.params.length!==1){this.raiseRecoverable(i.value.start,"setter should have exactly one param")}if(i.kind==="set"&&i.value.params[0].type==="RestElement"){this.raiseRecoverable(i.value.params[0].start,"Setter cannot use rest params")}return i};W.parseClassMethod=function(e,t,i,r){e.value=this.parseMethod(t,i,r);return this.finishNode(e,"MethodDefinition")};W.parseClassId=function(e,t){if(this.type===m.name){e.id=this.parseIdent();if(t){this.checkLVal(e.id,M,false)}}else{if(t===true){this.unexpected()}e.id=null}};W.parseClassSuper=function(e){e.superClass=this.eat(m._extends)?this.parseExprSubscripts():null};W.parseExport=function(e,t){this.next();if(this.eat(m.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){e.exported=this.parseIdent(true);this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==m.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(m._default)){this.checkExport(t,"default",this.lastTokStart);var i;if(this.type===m._function||(i=this.isAsyncFunction())){var r=this.startNode();this.next();if(i){this.next()}e.declaration=this.parseFunction(r,Q|J,false,i)}else if(this.type===m._class){var n=this.startNode();e.declaration=this.parseClass(n,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==m.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var s=0,a=e.specifiers;s=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(i){this.checkPatternErrors(i,true)}for(var r=0,n=e.properties;r=8&&!s&&a.name==="async"&&!this.canInsertSemicolon()&&this.eat(m._function)){return this.parseFunction(this.startNodeAt(r,n),0,false,true)}if(i&&!this.canInsertSemicolon()){if(this.eat(m.arrow)){return this.parseArrowExpression(this.startNodeAt(r,n),[a],false)}if(this.options.ecmaVersion>=8&&a.name==="async"&&this.type===m.name&&!s){a=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(m.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(r,n),[a],true)}}return a;case m.regexp:var o=this.value;t=this.parseLiteral(o.value);t.regex={pattern:o.pattern,flags:o.flags};return t;case m.num:case m.string:return this.parseLiteral(this.value);case m._null:case m._true:case m._false:t=this.startNode();t.value=this.type===m._null?null:this.type===m._true;t.raw=this.type.keyword;this.next();return this.finishNode(t,"Literal");case m.parenL:var l=this.start,c=this.parseParenAndDistinguishExpression(i);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)){e.parenthesizedAssign=l}if(e.parenthesizedBind<0){e.parenthesizedBind=l}}return c;case m.bracketL:t=this.startNode();this.next();t.elements=this.parseExprList(m.bracketR,true,true,e);return this.finishNode(t,"ArrayExpression");case m.braceL:return this.parseObj(false,e);case m._function:t=this.startNode();this.next();return this.parseFunction(t,0);case m._class:return this.parseClass(this.startNode(),false);case m._new:return this.parseNew();case m.backQuote:return this.parseTemplate();case m._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};ee.parseExprImport=function(){var e=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var t=this.parseIdent(true);switch(this.type){case m.parenL:return this.parseDynamicImport(e);case m.dot:e.meta=t;return this.parseImportMeta(e);default:this.unexpected()}};ee.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(m.parenR)){var t=this.start;if(this.eat(m.comma)&&this.eat(m.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};ee.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};ee.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};ee.parseParenExpression=function(){this.expect(m.parenL);var e=this.parseExpression();this.expect(m.parenR);return e};ee.parseParenAndDistinguishExpression=function(e){var t=this.start,i=this.startLoc,r,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,a=this.startLoc;var o=[],l=true,c=false;var u=new DestructuringErrors,h=this.yieldPos,p=this.awaitPos,f;this.yieldPos=0;this.awaitPos=0;while(this.type!==m.parenR){l?l=false:this.expect(m.comma);if(n&&this.afterTrailingComma(m.parenR,true)){c=true;break}else if(this.type===m.ellipsis){f=this.start;o.push(this.parseParenItem(this.parseRestBinding()));if(this.type===m.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{o.push(this.parseMaybeAssign(false,u,this.parseParenItem))}}var d=this.start,v=this.startLoc;this.expect(m.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(m.arrow)){this.checkPatternErrors(u,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=h;this.awaitPos=p;return this.parseParenArrowList(t,i,o)}if(!o.length||c){this.unexpected(this.lastTokStart)}if(f){this.unexpected(f)}this.checkExpressionErrors(u,true);this.yieldPos=h||this.yieldPos;this.awaitPos=p||this.awaitPos;if(o.length>1){r=this.startNodeAt(s,a);r.expressions=o;this.finishNodeAt(r,"SequenceExpression",d,v)}else{r=o[0]}}else{r=this.parseParenExpression()}if(this.options.preserveParens){var y=this.startNodeAt(t,i);y.expression=r;return this.finishNode(y,"ParenthesizedExpression")}else{return r}};ee.parseParenItem=function(e){return e};ee.parseParenArrowList=function(e,t,i){return this.parseArrowExpression(this.startNodeAt(e,t),i)};var te=[];ee.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(m.dot)){e.meta=t;var i=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(i){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction()){this.raiseRecoverable(e.start,"'new.target' can only be used in functions")}return this.finishNode(e,"MetaProperty")}var r=this.start,n=this.startLoc,s=this.type===m._import;e.callee=this.parseSubscripts(this.parseExprAtom(),r,n,true);if(s&&e.callee.type==="ImportExpression"){this.raise(r,"Cannot use new with import()")}if(this.eat(m.parenL)){e.arguments=this.parseExprList(m.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=te}return this.finishNode(e,"NewExpression")};ee.parseTemplateElement=function(e){var t=e.isTagged;var i=this.startNode();if(this.type===m.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}i.value={raw:this.value,cooked:null}}else{i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();i.tail=this.type===m.backQuote;return this.finishNode(i,"TemplateElement")};ee.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var i=this.startNode();this.next();i.expressions=[];var r=this.parseTemplateElement({isTagged:t});i.quasis=[r];while(!r.tail){if(this.type===m.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(m.dollarBraceL);i.expressions.push(this.parseExpression());this.expect(m.braceR);i.quasis.push(r=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(i,"TemplateLiteral")};ee.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===m.name||this.type===m.num||this.type===m.string||this.type===m.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===m.star)&&!v.test(this.input.slice(this.lastTokEnd,this.start))};ee.parseObj=function(e,t){var i=this.startNode(),r=true,n={};i.properties=[];this.next();while(!this.eat(m.braceR)){if(!r){this.expect(m.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(m.braceR)){break}}else{r=false}var s=this.parseProperty(e,t);if(!e){this.checkPropClash(s,n,t)}i.properties.push(s)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};ee.parseProperty=function(e,t){var i=this.startNode(),r,n,s,a;if(this.options.ecmaVersion>=9&&this.eat(m.ellipsis)){if(e){i.argument=this.parseIdent(false);if(this.type===m.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(i,"RestElement")}if(this.type===m.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}i.argument=this.parseMaybeAssign(false,t);if(this.type===m.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(i,"SpreadElement")}if(this.options.ecmaVersion>=6){i.method=false;i.shorthand=false;if(e||t){s=this.start;a=this.startLoc}if(!e){r=this.eat(m.star)}}var o=this.containsEsc;this.parsePropertyName(i);if(!e&&!o&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(i)){n=true;r=this.options.ecmaVersion>=9&&this.eat(m.star);this.parsePropertyName(i,t)}else{n=false}this.parsePropertyValue(i,e,r,n,s,a,t,o);return this.finishNode(i,"Property")};ee.parsePropertyValue=function(e,t,i,r,n,s,a,o){if((i||r)&&this.type===m.colon){this.unexpected()}if(this.eat(m.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,a);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===m.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(i,r)}else if(!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==m.comma&&this.type!==m.braceR&&this.type!==m.eq)){if(i||r){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var l=e.kind==="get"?0:1;if(e.value.params.length!==l){var c=e.value.start;if(e.kind==="get"){this.raiseRecoverable(c,"getter should have no params")}else{this.raiseRecoverable(c,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(i||r){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=n}e.kind="init";if(t){e.value=this.parseMaybeDefault(n,s,e.key)}else if(this.type===m.eq&&a){if(a.shorthandAssign<0){a.shorthandAssign=this.start}e.value=this.parseMaybeDefault(n,s,e.key)}else{e.value=e.key}e.shorthand=true}else{this.unexpected()}};ee.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(m.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(m.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===m.num||this.type===m.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ee.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};ee.parseMethod=function(e,t,i){var r=this.startNode(),n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.initFunction(r);if(this.options.ecmaVersion>=6){r.generator=e}if(this.options.ecmaVersion>=8){r.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,r.generator)|L|(i?R:0));this.expect(m.parenL);r.params=this.parseBindingList(m.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(r,false,true);this.yieldPos=n;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(r,"FunctionExpression")};ee.parseArrowExpression=function(e,t,i){var r=this.yieldPos,n=this.awaitPos,s=this.awaitIdentPos;this.enterScope(functionFlags(i,false)|O);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!i}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false);this.yieldPos=r;this.awaitPos=n;this.awaitIdentPos=s;return this.finishNode(e,"ArrowFunctionExpression")};ee.parseFunctionBody=function(e,t,i){var r=t&&this.type!==m.braceL;var n=this.strict,s=false;if(r){e.body=this.parseMaybeAssign();e.expression=true;this.checkParams(e,false)}else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!n||a){s=this.strictDirective(this.end);if(s&&a){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var o=this.labels;this.labels=[];if(s){this.strict=true}this.checkParams(e,!n&&!s&&!t&&!i&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLVal(e.id,U)}e.body=this.parseBlock(false,undefined,s&&!n);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=o}this.exitScope()};ee.isSimpleParamList=function(e){for(var t=0,i=e;t-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1;n.lexical.push(e);if(this.inModule&&n.flags&S){delete this.undefinedExports[e]}}else if(t===V){var s=this.currentScope();s.lexical.push(e)}else if(t===j){var a=this.currentScope();if(this.treatFunctionsAsVar){r=a.lexical.indexOf(e)>-1}else{r=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1}a.functions.push(e)}else{for(var o=this.scopeStack.length-1;o>=0;--o){var l=this.scopeStack[o];if(l.lexical.indexOf(e)>-1&&!(l.flags&F&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){r=true;break}l.var.push(e);if(this.inModule&&l.flags&S){delete this.undefinedExports[e]}if(l.flags&I){break}}}if(r){this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")}};re.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};re.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};re.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&I){return t}}};re.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&I&&!(t.flags&O)){return t}}};var se=function Node(e,t,i){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new C(e,i)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var ae=z.prototype;ae.startNode=function(){return new se(this,this.start,this.startLoc)};ae.startNodeAt=function(e,t){return new se(this,e,t)};function finishNodeAt(e,t,i,r){e.type=t;e.end=i;if(this.options.locations){e.loc.end=r}if(this.options.ranges){e.range[1]=i}return e}ae.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};ae.finishNodeAt=function(e,t,i,r){return finishNodeAt.call(this,e,t,i,r)};var oe=function TokContext(e,t,i,r,n){this.token=e;this.isExpr=!!t;this.preserveSpace=!!i;this.override=r;this.generator=!!n};var le={b_stat:new oe("{",false),b_expr:new oe("{",true),b_tmpl:new oe("${",false),p_stat:new oe("(",false),p_expr:new oe("(",true),q_tmpl:new oe("`",true,true,(function(e){return e.tryReadTemplateToken()})),f_stat:new oe("function",false),f_expr:new oe("function",true),f_expr_gen:new oe("function",true,false,null,true),f_gen:new oe("function",false,false,null,true)};var ce=z.prototype;ce.initialContext=function(){return[le.b_stat]};ce.braceIsBlock=function(e){var t=this.curContext();if(t===le.f_expr||t===le.f_stat){return true}if(e===m.colon&&(t===le.b_stat||t===le.b_expr)){return!t.isExpr}if(e===m._return||e===m.name&&this.exprAllowed){return v.test(this.input.slice(this.lastTokEnd,this.start))}if(e===m._else||e===m.semi||e===m.eof||e===m.parenR||e===m.arrow){return true}if(e===m.braceL){return t===le.b_stat}if(e===m._var||e===m._const||e===m.name){return false}return!this.exprAllowed};ce.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};ce.updateContext=function(e){var t,i=this.type;if(i.keyword&&e===m.dot){this.exprAllowed=false}else if(t=i.updateContext){t.call(this,e)}else{this.exprAllowed=i.beforeExpr}};m.parenR.updateContext=m.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===le.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};m.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?le.b_stat:le.b_expr);this.exprAllowed=true};m.dollarBraceL.updateContext=function(){this.context.push(le.b_tmpl);this.exprAllowed=true};m.parenL.updateContext=function(e){var t=e===m._if||e===m._for||e===m._with||e===m._while;this.context.push(t?le.p_stat:le.p_expr);this.exprAllowed=true};m.incDec.updateContext=function(){};m._function.updateContext=m._class.updateContext=function(e){if(e.beforeExpr&&e!==m.semi&&e!==m._else&&!(e===m._return&&v.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===m.colon||e===m.braceL)&&this.curContext()===le.b_stat)){this.context.push(le.f_expr)}else{this.context.push(le.f_stat)}this.exprAllowed=false};m.backQuote.updateContext=function(){if(this.curContext()===le.q_tmpl){this.context.pop()}else{this.context.push(le.q_tmpl)}this.exprAllowed=false};m.star.updateContext=function(e){if(e===m._function){var t=this.context.length-1;if(this.context[t]===le.f_expr){this.context[t]=le.f_expr_gen}else{this.context[t]=le.f_gen}}this.exprAllowed=true};m.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==m.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var ue="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var he=ue+" Extended_Pictographic";var pe=he;var fe={9:ue,10:he,11:pe};var de="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var me="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var ve=me+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var ye=ve+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var ge={9:me,10:ve,11:ye};var xe={};function buildUnicodeData(e){var t=xe[e]={binary:wordsRegexp(fe[e]+" "+de),nonBinary:{General_Category:wordsRegexp(de),Script:wordsRegexp(ge[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);var be=z.prototype;var ke=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"");this.unicodeProperties=xe[e.options.ecmaVersion>=11?11:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};ke.prototype.reset=function reset(e,t,i){var r=i.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=i;this.switchU=r&&this.parser.options.ecmaVersion>=6;this.switchN=r&&this.parser.options.ecmaVersion>=9};ke.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};ke.prototype.at=function at(e,t){if(t===void 0)t=false;var i=this.source;var r=i.length;if(e>=r){return-1}var n=i.charCodeAt(e);if(!(t||this.switchU)||n<=55295||n>=57344||e+1>=r){return n}var s=i.charCodeAt(e+1);return s>=56320&&s<=57343?(n<<10)+s-56613888:n};ke.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var i=this.source;var r=i.length;if(e>=r){return r}var n=i.charCodeAt(e),s;if(!(t||this.switchU)||n<=55295||n>=57344||e+1>=r||(s=i.charCodeAt(e+1))<56320||s>57343){return e+1}return e+2};ke.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};ke.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};ke.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};ke.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}be.validateRegExpFlags=function(e){var t=e.validFlags;var i=e.flags;for(var r=0;r-1){this.raise(e.start,"Duplicate regular expression flag")}}};be.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};be.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,i=e.backReferenceNames;t=9){i=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!i;return true}}e.pos=t;return false};be.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};be.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};be.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var r=0,n=-1;if(this.regexp_eatDecimalDigits(e)){r=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){n=e.lastIntValue}if(e.eat(125)){if(n!==-1&&n=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};be.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};be.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};be.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}be.regexp_eatPatternCharacters=function(e){var t=e.pos;var i=0;while((i=e.current())!==-1&&!isSyntaxCharacter(i)){e.advance()}return e.pos!==t};be.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};be.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};be.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};be.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString(e.lastIntValue)}return true}return false};be.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var r=e.current(i);e.advance(i);if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){r=e.lastIntValue}if(isRegExpIdentifierStart(r)){e.lastIntValue=r;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}be.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var r=e.current(i);e.advance(i);if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){r=e.lastIntValue}if(isRegExpIdentifierPart(r)){e.lastIntValue=r;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}be.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};be.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU){if(i>e.maxBackReference){e.maxBackReference=i}return true}if(i<=e.numCapturingParens){return true}e.pos=t}return false};be.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};be.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};be.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};be.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};be.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};be.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}be.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var i=e.pos;var r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(r&&n>=55296&&n<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343){e.lastIntValue=(n-55296)*1024+(a-56320)+65536;return true}}e.pos=s;e.lastIntValue=n}return true}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(r){e.raise("Invalid unicode escape")}e.pos=i}return false};function isValidUnicode(e){return e>=0&&e<=1114111}be.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};be.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};be.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}be.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,i,r);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var n=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,n);return true}return false};be.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){if(!has(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(i)){e.raise("Invalid property value")}};be.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};be.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}be.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}be.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};be.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};be.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;if(e.switchU&&(t===-1||i===-1)){e.raise("Invalid character class")}if(t!==-1&&i!==-1&&t>i){e.raise("Range out of order in character class")}}}};be.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var i=e.current();if(i===99||isOctalDigit(i)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var r=e.current();if(r!==93){e.lastIntValue=r;e.advance();return true}return false};be.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};be.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};be.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};be.regexp_eatDecimalDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isDecimalDigit(i=e.current())){e.lastIntValue=10*e.lastIntValue+(i-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}be.regexp_eatHexDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isHexDigit(i=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(i);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}be.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+i*8+e.lastIntValue}else{e.lastIntValue=t*8+i}}else{e.lastIntValue=t}return true}return false};be.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}be.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var r=0;r=this.input.length){return this.finishToken(m.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};we.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};we.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344){return e}var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};we.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=i+2;if(this.options.locations){y.lastIndex=t;var r;while((r=y.exec(this.input))&&r.index8&&e<14||e>=5760&&g.test(String.fromCharCode(e))){++this.pos}else{break e}}}};we.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var i=this.type;this.type=e;this.value=t;this.updateContext(i)};we.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(m.ellipsis)}else{++this.pos;return this.finishToken(m.dot)}};we.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.slash,1)};we.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;var r=e===42?m.star:m.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++i;r=m.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(m.assign,i+1)}return this.finishOp(r,i)};we.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61){return this.finishOp(m.assign,3)}}return this.finishOp(e===124?m.logicalOR:m.logicalAND,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(e===124?m.bitwiseOR:m.bitwiseAND,1)};we.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(m.assign,2)}return this.finishOp(m.bitwiseXOR,1)};we.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||v.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(m.incDec,2)}if(t===61){return this.finishOp(m.assign,2)}return this.finishOp(m.plusMin,1)};we.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;if(t===e){i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+i)===61){return this.finishOp(m.assign,i+1)}return this.finishOp(m.bitShift,i)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){i=2}return this.finishOp(m.relational,i)};we.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(m.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(m.arrow)}return this.finishOp(e===61?m.eq:m.prefix,1)};we.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57){return this.finishOp(m.questionDot,2)}}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61){return this.finishOp(m.assign,3)}}return this.finishOp(m.coalesce,2)}}return this.finishOp(m.question,1)};we.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(m.parenL);case 41:++this.pos;return this.finishToken(m.parenR);case 59:++this.pos;return this.finishToken(m.semi);case 44:++this.pos;return this.finishToken(m.comma);case 91:++this.pos;return this.finishToken(m.bracketL);case 93:++this.pos;return this.finishToken(m.bracketR);case 123:++this.pos;return this.finishToken(m.braceL);case 125:++this.pos;return this.finishToken(m.braceR);case 58:++this.pos;return this.finishToken(m.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(m.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(m.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(e)+"'")};we.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,i)};we.readRegexp=function(){var e,t,i=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(i,"Unterminated regular expression")}var r=this.input.charAt(this.pos);if(v.test(r)){this.raise(i,"Unterminated regular expression")}if(!e){if(r==="["){t=true}else if(r==="]"&&t){t=false}else if(r==="/"&&!t){break}e=r==="\\"}else{e=false}++this.pos}var n=this.input.slice(i,this.pos);++this.pos;var s=this.pos;var a=this.readWord1();if(this.containsEsc){this.unexpected(s)}var o=this.regexpState||(this.regexpState=new ke(this));o.reset(i,n,a);this.validateRegExpFlags(o);this.validateRegExpPattern(o);var l=null;try{l=new RegExp(n,a)}catch(e){}return this.finishToken(m.regexp,{pattern:n,flags:a,value:l})};we.readInt=function(e,t,i){var r=this.options.ecmaVersion>=12&&t===undefined;var n=i&&this.input.charCodeAt(this.pos)===48;var s=this.pos,a=0,o=0;for(var l=0,c=t==null?Infinity:t;l=97){h=u-97+10}else if(u>=65){h=u-65+10}else if(u>=48&&u<=57){h=u-48}else{h=Infinity}if(h>=e){break}o=u;a=a*e+h}if(r&&o===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===s||t!=null&&this.pos-s!==t){return null}return a};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}we.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);if(i==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){i=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(m.num,i)};we.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(i&&this.strict){this.raise(t,"Invalid number")}var r=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&r===110){var n=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(m.num,n)}if(i&&/[89]/.test(this.input.slice(t,this.pos))){i=false}if(r===46&&!i){++this.pos;this.readInt(10);r=this.input.charCodeAt(this.pos)}if((r===69||r===101)&&!i){r=this.input.charCodeAt(++this.pos);if(r===43||r===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var s=stringToNumber(this.input.slice(t,this.pos),i);return this.finishToken(m.num,s)};we.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(i,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}we.readString=function(e){var t="",i=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var r=this.input.charCodeAt(this.pos);if(r===e){break}if(r===92){t+=this.input.slice(i,this.pos);t+=this.readEscapedChar(false);i=this.pos}else{if(isNewLine(r,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(i,this.pos++);return this.finishToken(m.string,t)};var Ee={};we.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Ee){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};we.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ee}else{this.raise(e,t)}};we.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===m.template||this.type===m.invalidTemplate)){if(i===36){this.pos+=2;return this.finishToken(m.dollarBraceL)}else{++this.pos;return this.finishToken(m.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(m.template,e)}if(i===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(i)){e+=this.input.slice(t,this.pos);++this.pos;switch(i){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(i);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};we.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var n=parseInt(r,8);if(n>255){r=r.slice(0,-1);n=parseInt(r,8)}this.pos+=r.length-1;t=this.input.charCodeAt(this.pos);if((r!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(n)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};we.readHexChar=function(e){var t=this.pos;var i=this.readInt(16,e);if(i===null){this.invalidStringToken(t,"Bad character escape sequence")}return i};we.readWord1=function(){this.containsEsc=false;var e="",t=true,i=this.pos;var r=this.options.ecmaVersion>=6;while(this.pos{"use strict";var r=i(1186);var n=[];e.exports=asap;function asap(e){var t;if(n.length){t=n.pop()}else{t=new RawTask}t.task=e;t.domain=process.domain;r(t)}function RawTask(){this.task=null;this.domain=null}RawTask.prototype.call=function(){if(this.domain){this.domain.enter()}var e=true;try{this.task.call();e=false;if(this.domain){this.domain.exit()}}finally{if(e){r.requestFlush()}this.task=null;this.domain=null;n.push(this)}}},1186:(e,t,i)=>{"use strict";var r;var n=typeof setImmediate==="function";e.exports=rawAsap;function rawAsap(e){if(!s.length){requestFlush();a=true}s[s.length]=e}var s=[];var a=false;var o=0;var l=1024;function flush(){while(ol){for(var t=0,i=s.length-o;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});function assertNever(e,t){if(t){return e}throw new Error("Unhandled discriminated union member: "+JSON.stringify(e))}t.assertNever=assertNever;t["default"]=assertNever},797:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))r(t,e,i);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});const a=s(i(6638));if(!(Array.isArray(a.TYPES)&&a.TYPES.every((e=>typeof e==="string")))){throw new Error("@babel/types TYPES does not match the expected type.")}const o=a.FLIPPED_ALIAS_KEYS;const l=new Set(a.TYPES);if(!(o&&typeof o==="object"&&Object.keys(o).every((e=>Array.isArray(o[e])&&o[e].every((e=>typeof e==="string")))))){throw new Error("@babel/types FLIPPED_ALIAS_KEYS does not match the expected type.")}function explode(e){const t={};for(const i in e){const r=o[i];if(r){for(const n of r){if(n in t){if(typeof e[i]==="function"){t[n].enter.push(e[i])}else{if(e[i].enter)t[n].enter.push(e[i].enter);if(e[i].exit)t[n].exit.push(e[i].exit)}}else{if(typeof e[i]==="function"){t[n]={enter:[e[i]],exit:[]}}else{t[n]={enter:e[i].enter?[e[i].enter]:[],exit:e[i].exit?[e[i].exit]:[]}}}}}else if(l.has(i)){if(i in t){if(typeof e[i]==="function"){t[i].enter.push(e[i])}else{if(e[i].enter)t[i].enter.push(e[i].enter);if(e[i].exit)t[i].exit.push(e[i].exit)}}else{if(typeof e[i]==="function"){t[i]={enter:[e[i]],exit:[]}}else{t[i]={enter:e[i].enter?[e[i].enter]:[],exit:e[i].exit?[e[i].exit]:[]}}}}}return t}t["default"]=explode},3414:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))r(t,e,i);n(t,e);return t};var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.recursive=t.ancestor=t.simple=void 0;const o=s(i(6638));const l=a(i(797));const c=o.VISITOR_KEYS;if(!(c&&typeof c==="object"&&Object.keys(c).every((e=>Array.isArray(c[e])&&c[e].every((e=>typeof e==="string")))))){throw new Error("@babel/types VISITOR_KEYS does not match the expected type.")}function simple(e){const t=l.default(e);return(e,i)=>{(function recurse(e){if(!e)return;const r=t[e.type];if(r===null||r===void 0?void 0:r.enter){for(const t of r.enter){t(e,i)}}for(const t of c[e.type]||[]){const i=e[t];if(Array.isArray(i)){for(const e of i){recurse(e)}}else{recurse(i)}}if(r===null||r===void 0?void 0:r.exit){for(const t of r.exit){t(e,i)}}})(e)}}t.simple=simple;function ancestor(e){const t=l.default(e);return(e,i)=>{const r=[];(function recurse(e){if(!e)return;const n=t[e.type];const s=e!==r[r.length-1];if(s)r.push(e);if(n===null||n===void 0?void 0:n.enter){for(const t of n.enter){t(e,i,r)}}for(const t of c[e.type]||[]){const i=e[t];if(Array.isArray(i)){for(const e of i){recurse(e)}}else{recurse(i)}}if(n===null||n===void 0?void 0:n.exit){for(const t of n.exit){t(e,i,r)}}if(s)r.pop()})(e)}}t.ancestor=ancestor;function recursive(e){const t=l.default(e);return(e,i)=>{(function recurse(e){if(!e)return;const r=t[e.type];if(r===null||r===void 0?void 0:r.enter){for(const t of r.enter){t(e,i,recurse)}}else{for(const t of c[e.type]||[]){const i=e[t];if(Array.isArray(i)){for(const e of i){recurse(e)}}else{recurse(i)}}}})(e)}}t.recursive=recursive},3249:(e,t,i)=>{"use strict";var r=i(85);var n=i(411);var s=n(r("String.prototype.indexOf"));e.exports=function callBoundIntrinsic(e,t){var i=r(e,!!t);if(typeof i==="function"&&s(e,".prototype.")>-1){return n(i)}return i}},411:(e,t,i)=>{"use strict";var r=i(2796);var n=i(85);var s=n("%Function.prototype.apply%");var a=n("%Function.prototype.call%");var o=n("%Reflect.apply%",true)||r.call(a,s);var l=n("%Object.getOwnPropertyDescriptor%",true);var c=n("%Object.defineProperty%",true);var u=n("%Math.max%");if(c){try{c({},"a",{value:1})}catch(e){c=null}}e.exports=function callBind(e){var t=o(r,a,arguments);if(l&&c){var i=l(t,"length");if(i.configurable){c(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}}return t};var h=function applyBind(){return o(r,s,arguments)};if(c){c(e.exports,"apply",{value:h})}else{e.exports.apply=h}},340:(e,t,i)=>{"use strict";var r=i(7115);t=e.exports=parse;var n=t.TOKEN_TYPES={LINE_COMMENT:"//",BLOCK_COMMENT:"/**/",SINGLE_QUOTE:"'",DOUBLE_QUOTE:'"',TEMPLATE_QUOTE:"`",REGEXP:"//g"};var s=t.BRACKETS={"(":")","{":"}","[":"]"};var a={")":"(","}":"{","]":"["};t.parse=parse;function parse(e,i,r){r=r||{};i=i||t.defaultState();var n=r.start||0;var s=r.end||e.length;var a=n;while(a{"use strict";t.__esModule=true;function binaryOperation(e,t,i){switch(e){case"+":return t+i;case"-":return t-i;case"/":return t/i;case"%":return t%i;case"*":return t*i;case"**":return Math.pow(t,i);case"&":return t&i;case"|":return t|i;case">>":return t>>i;case">>>":return t>>>i;case"<<":return t<":return t>i;case"<":return t=":return t>=i;case"<=":return t<=i}}t["default"]=binaryOperation},5122:(e,t,i)=>{"use strict";t.__esModule=true;var r=i(7780);var n=i(6638);var s=i(9484);function expressionToConstant(e,t){if(t===void 0){t={}}var i=true;function toConstant(e){if(!i)return;if(n.isArrayExpression(e)){var r=[];for(var a=0;i&&a{"use strict";e.exports={html:"",xml:'',transitional:'',strict:'',frameset:'',1.1:'',basic:'',mobile:'',plist:''}},8850:e=>{"use strict";var t="Function.prototype.bind called on incompatible ";var i=Array.prototype.slice;var r=Object.prototype.toString;var n="[object Function]";e.exports=function bind(e){var s=this;if(typeof s!=="function"||r.call(s)!==n){throw new TypeError(t+s)}var a=i.call(arguments,1);var o;var binder=function(){if(this instanceof o){var t=s.apply(this,a.concat(i.call(arguments)));if(Object(t)===t){return t}return this}else{return s.apply(e,a.concat(i.call(arguments)))}};var l=Math.max(0,s.length-a.length);var c=[];for(var u=0;u{"use strict";var r=i(8850);e.exports=Function.prototype.bind||r},85:(e,t,i)=>{"use strict";var r;var n=SyntaxError;var s=Function;var a=TypeError;var getEvalledConstructor=function(e){try{return s('"use strict"; return ('+e+").constructor;")()}catch(e){}};var o=Object.getOwnPropertyDescriptor;if(o){try{o({},"")}catch(e){o=null}}var throwTypeError=function(){throw new a};var l=o?function(){try{arguments.callee;return throwTypeError}catch(e){try{return o(arguments,"callee").get}catch(e){return throwTypeError}}}():throwTypeError;var c=i(3710)();var u=Object.getPrototypeOf||function(e){return e.__proto__};var h={};var p=typeof Uint8Array==="undefined"?r:u(Uint8Array);var f={"%AggregateError%":typeof AggregateError==="undefined"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer==="undefined"?r:ArrayBuffer,"%ArrayIteratorPrototype%":c?u([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics==="undefined"?r:Atomics,"%BigInt%":typeof BigInt==="undefined"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array==="undefined"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array==="undefined"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView==="undefined"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array==="undefined"?r:Float32Array,"%Float64Array%":typeof Float64Array==="undefined"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry==="undefined"?r:FinalizationRegistry,"%Function%":s,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array==="undefined"?r:Int8Array,"%Int16Array%":typeof Int16Array==="undefined"?r:Int16Array,"%Int32Array%":typeof Int32Array==="undefined"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?u(u([][Symbol.iterator]())):r,"%JSON%":typeof JSON==="object"?JSON:r,"%Map%":typeof Map==="undefined"?r:Map,"%MapIteratorPrototype%":typeof Map==="undefined"||!c?r:u((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise==="undefined"?r:Promise,"%Proxy%":typeof Proxy==="undefined"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect==="undefined"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set==="undefined"?r:Set,"%SetIteratorPrototype%":typeof Set==="undefined"||!c?r:u((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer==="undefined"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c?u(""[Symbol.iterator]()):r,"%Symbol%":c?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":l,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array==="undefined"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray==="undefined"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array==="undefined"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array==="undefined"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap==="undefined"?r:WeakMap,"%WeakRef%":typeof WeakRef==="undefined"?r:WeakRef,"%WeakSet%":typeof WeakSet==="undefined"?r:WeakSet};try{null.error}catch(e){var d=u(u(e));f["%Error.prototype%"]=d}var m=function doEval(e){var t;if(e==="%AsyncFunction%"){t=getEvalledConstructor("async function () {}")}else if(e==="%GeneratorFunction%"){t=getEvalledConstructor("function* () {}")}else if(e==="%AsyncGeneratorFunction%"){t=getEvalledConstructor("async function* () {}")}else if(e==="%AsyncGenerator%"){var i=doEval("%AsyncGeneratorFunction%");if(i){t=i.prototype}}else if(e==="%AsyncIteratorPrototype%"){var r=doEval("%AsyncGenerator%");if(r){t=u(r.prototype)}}f[e]=t;return t};var v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]};var y=i(2796);var g=i(9783);var x=y.call(Function.call,Array.prototype.concat);var b=y.call(Function.apply,Array.prototype.splice);var k=y.call(Function.call,String.prototype.replace);var _=y.call(Function.call,String.prototype.slice);var w=y.call(Function.call,RegExp.prototype.exec);var E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;var C=/\\(\\)?/g;var A=function stringToPath(e){var t=_(e,0,1);var i=_(e,-1);if(t==="%"&&i!=="%"){throw new n("invalid intrinsic syntax, expected closing `%`")}else if(i==="%"&&t!=="%"){throw new n("invalid intrinsic syntax, expected opening `%`")}var r=[];k(e,E,(function(e,t,i,n){r[r.length]=i?k(n,C,"$1"):t||e}));return r};var S=function getBaseIntrinsic(e,t){var i=e;var r;if(g(v,i)){r=v[i];i="%"+r[0]+"%"}if(g(f,i)){var s=f[i];if(s===h){s=m(i)}if(typeof s==="undefined"&&!t){throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!")}return{alias:r,name:i,value:s}}throw new n("intrinsic "+e+" does not exist!")};e.exports=function GetIntrinsic(e,t){if(typeof e!=="string"||e.length===0){throw new a("intrinsic name must be a non-empty string")}if(arguments.length>1&&typeof t!=="boolean"){throw new a('"allowMissing" argument must be a boolean')}if(w(/^%?[^%]*%?$/,e)===null){throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name")}var i=A(e);var s=i.length>0?i[0]:"";var l=S("%"+s+"%",t);var c=l.name;var u=l.value;var h=false;var p=l.alias;if(p){s=p[0];b(i,x([0,1],p))}for(var d=1,m=true;d=i.length){var E=o(u,v);m=!!E;if(m&&"get"in E&&!("originalValue"in E.get)){u=E.get}else{u=u[v]}}else{m=g(u,v);u=u[v]}if(m&&!h){f[c]=u}}}return u}},3710:(e,t,i)=>{"use strict";var r=typeof Symbol!=="undefined"&&Symbol;var n=i(203);e.exports=function hasNativeSymbols(){if(typeof r!=="function"){return false}if(typeof Symbol!=="function"){return false}if(typeof r("foo")!=="symbol"){return false}if(typeof Symbol("bar")!=="symbol"){return false}return n()}},203:e=>{"use strict";e.exports=function hasSymbols(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function"){return false}if(typeof Symbol.iterator==="symbol"){return true}var e={};var t=Symbol("test");var i=Object(t);if(typeof t==="string"){return false}if(Object.prototype.toString.call(t)!=="[object Symbol]"){return false}if(Object.prototype.toString.call(i)!=="[object Symbol]"){return false}var r=42;e[t]=r;for(t in e){return false}if(typeof Object.keys==="function"&&Object.keys(e).length!==0){return false}if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(e).length!==0){return false}var n=Object.getOwnPropertySymbols(e);if(n.length!==1||n[0]!==t){return false}if(!Object.prototype.propertyIsEnumerable.call(e,t)){return false}if(typeof Object.getOwnPropertyDescriptor==="function"){var s=Object.getOwnPropertyDescriptor(e,t);if(s.value!==r||s.enumerable!==true){return false}}return true}},1744:(e,t,i)=>{"use strict";var r=i(203);e.exports=function hasToStringTagShams(){return r()&&!!Symbol.toStringTag}},9783:(e,t,i)=>{"use strict";var r=i(2796);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},784:(e,t,i)=>{"use strict";var r=i(9783);function specifierIncluded(e,t){var i=e.split(".");var r=t.split(" ");var n=r.length>1?r[0]:"=";var s=(r.length>1?r[1]:r[0]).split(".");for(var a=0;a<3;++a){var o=parseInt(i[a]||0,10);var l=parseInt(s[a]||0,10);if(o===l){continue}if(n==="<"){return o="){return o>=l}return false}return n===">="}function matchesRange(e,t){var i=t.split(/ ?&& ?/);if(i.length===0){return false}for(var r=0;r{"use strict";var r=i(5808);var n=i(4581);e.exports=isExpression;var s={throw:false,strict:false,lineComment:false};function isExpression(e,t){t=n({},s,t);try{var i=new r.Parser(t,e,0);if(t.strict){i.strict=true}if(!t.lineComment){i.skipLineComment=function(e){this.raise(this.pos,"Line comments not allowed in an expression")}}i.nextToken();i.parseExpression();if(i.type!==r.tokTypes.eof){i.unexpected()}}catch(e){if(!t.throw){return false}throw e}return true}},6907:e=>{e.exports=isPromise;e.exports["default"]=isPromise;function isPromise(e){return!!e&&(typeof e==="object"||typeof e==="function")&&typeof e.then==="function"}},7115:(e,t,i)=>{"use strict";var r=i(3249);var n=i(1744)();var s;var a;var o;var l;if(n){s=r("Object.prototype.hasOwnProperty");a=r("RegExp.prototype.exec");o={};var throwRegexMarker=function(){throw o};l={toString:throwRegexMarker,valueOf:throwRegexMarker};if(typeof Symbol.toPrimitive==="symbol"){l[Symbol.toPrimitive]=throwRegexMarker}}var c=r("Object.prototype.toString");var u=Object.getOwnPropertyDescriptor;var h="[object RegExp]";e.exports=n?function isRegex(e){if(!e||typeof e!=="object"){return false}var t=u(e,"lastIndex");var i=t&&s(t,"value");if(!i){return false}try{a(e,l)}catch(e){return e===o}}:function isRegex(e){if(!e||typeof e!=="object"&&typeof e!=="function"){return false}return c(e)===h}},3734:e=>{"use strict";e.exports=stringify;function stringify(e){if(e instanceof Date){return"new Date("+stringify(e.toISOString())+")"}if(e===undefined){return"undefined"}return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(//g,"\\u003E").replace(/\//g,"\\u002F")}},9147:(e,t,i)=>{"use strict";var r=i(7147);var n=i(9491);var s=i(3803);var a=i(6907);var o=e.exports=function(e){return new Transformer(e)};o.Transformer=Transformer;o.normalizeFn=normalizeFn;o.normalizeFnAsync=normalizeFnAsync;o.normalize=normalize;o.normalizeAsync=normalizeAsync;if(r.readFile){o.readFile=s.denodeify(r.readFile);o.readFileSync=r.readFileSync}else{o.readFile=function(){throw new Error("fs.readFile unsupported")};o.readFileSync=function(){throw new Error("fs.readFileSync unsupported")}}function normalizeFn(e){if(typeof e==="function"){return{fn:e,dependencies:[]}}else if(e&&typeof e==="object"&&typeof e.fn==="function"){if("dependencies"in e){if(!Array.isArray(e.dependencies)){throw new Error("Result should have a dependencies property that is an array")}}else{e.dependencies=[]}return e}else{throw new Error("Invalid result object from transform.")}}function normalizeFnAsync(e,t){return s.resolve(e).then((function(e){if(e&&a(e.fn)){return e.fn.then((function(t){e.fn=t;return e}))}return e})).then(o.normalizeFn).nodeify(t)}function normalize(e){if(typeof e==="string"){return{body:e,dependencies:[]}}else if(e&&typeof e==="object"&&typeof e.body==="string"){if("dependencies"in e){if(!Array.isArray(e.dependencies)){throw new Error("Result should have a dependencies property that is an array")}}else{e.dependencies=[]}return e}else{throw new Error("Invalid result object from transform.")}}function normalizeAsync(e,t){return s.resolve(e).then((function(e){if(e&&a(e.body)){return e.body.then((function(t){e.body=t;return e}))}return e})).then(o.normalize).nodeify(t)}function Transformer(e){n(e,"Transformer must be an object");n(typeof e.name==="string","Transformer must have a name");n(typeof e.outputFormat==="string","Transformer must have an output format");n(["compile","compileAsync","compileFile","compileFileAsync","compileClient","compileClientAsync","compileFileClient","compileFileClientAsync","render","renderAsync","renderFile","renderFileAsync"].some((function(t){return typeof e[t]==="function"})),"Transformer must implement at least one of the potential methods.");this._tr=e;this.name=this._tr.name;this.outputFormat=this._tr.outputFormat;this.inputFormats=this._tr.inputFormats||[this.name]}var l={compile:["compile","render"],compileAsync:["compileAsync","compile","render"],compileFile:["compileFile","compile","renderFile","render"],compileFileAsync:["compileFileAsync","compileFile","compileAsync","compile","renderFile","render"],compileClient:["compileClient"],compileClientAsync:["compileClientAsync","compileClient"],compileFileClient:["compileFileClient","compileClient"],compileFileClientAsync:["compileFileClientAsync","compileFileClient","compileClientAsync","compileClient"],render:["render","compile"],renderAsync:["renderAsync","render","compileAsync","compile"],renderFile:["renderFile","render","compileFile","compile"],renderFileAsync:["renderFileAsync","renderFile","renderAsync","render","compileFileAsync","compileFile","compileAsync","compile"]};Transformer.prototype._hasMethod=function(e){return typeof this._tr[e]==="function"};Transformer.prototype.can=function(e){return l[e].some(function(e){return this._hasMethod(e)}.bind(this))};Transformer.prototype.compile=function(e,t){if(!this._hasMethod("compile")){if(this.can("render")){var i=this;return{fn:function(r){return o.normalize(i._tr.render(e,t,r)).body},dependencies:[]}}if(this.can("compileAsync")){throw new Error('The Transform "'+this.name+'" does not support synchronous compilation')}else if(this.can("compileFileAsync")){throw new Error('The Transform "'+this.name+'" does not support compiling plain strings')}else{throw new Error('The Transform "'+this.name+'" does not support compilation')}}return o.normalizeFn(this._tr.compile(e,t))};Transformer.prototype.compileAsync=function(e,t,i){if(!this.can("compileAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support compiling plain strings')).nodeify(i)}if(this._hasMethod("compileAsync")){return o.normalizeFnAsync(this._tr.compileAsync(e,t),i)}else{return o.normalizeFnAsync(this.compile(e,t),i)}};Transformer.prototype.compileFile=function(e,t){if(!this.can("compileFile")){throw new Error('The Transform "'+this.name+'" does not support synchronous compilation')}if(this._hasMethod("compileFile")){return o.normalizeFn(this._tr.compileFile(e,t))}else if(this._hasMethod("renderFile")){return o.normalizeFn(function(i){return o.normalize(this._tr.renderFile(e,t,i)).body}.bind(this))}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return this.compile(o.readFileSync(e,"utf8"),t)}};Transformer.prototype.compileFileAsync=function(e,t,i){if(!this.can("compileFileAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support compilation'))}if(this._hasMethod("compileFileAsync")){return o.normalizeFnAsync(this._tr.compileFileAsync(e,t),i)}else if(this._hasMethod("compileFile")||this._hasMethod("renderFile")){return o.normalizeFnAsync(this.compileFile(e,t),i)}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalizeFnAsync(o.readFile(e,"utf8").then(function(e){if(this._hasMethod("compileAsync")){return this._tr.compileAsync(e,t)}else{return this.compile(e,t)}}.bind(this)),i)}};Transformer.prototype.compileClient=function(e,t){if(!this.can("compileClient")){if(this.can("compileClientAsync")){throw new Error('The Transform "'+this.name+'" does not support compiling for the client synchronously.')}else if(this.can("compileFileClientAsync")){throw new Error('The Transform "'+this.name+'" does not support compiling for the client from a string.')}else{throw new Error('The Transform "'+this.name+'" does not support compiling for the client')}}return o.normalize(this._tr.compileClient(e,t))};Transformer.prototype.compileClientAsync=function(e,t,i){if(!this.can("compileClientAsync")){if(this.can("compileFileClientAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client from a string.')).nodeify(i)}else{return s.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client')).nodeify(i)}}if(this._hasMethod("compileClientAsync")){return o.normalizeAsync(this._tr.compileClientAsync(e,t),i)}else{return o.normalizeAsync(this._tr.compileClient(e,t),i)}};Transformer.prototype.compileFileClient=function(e,t){if(!this.can("compileFileClient")){if(this.can("compileFileClientAsync")){throw new Error('The Transform "'+this.name+'" does not support compiling for the client synchronously.')}else{throw new Error('The Transform "'+this.name+'" does not support compiling for the client')}}if(this._hasMethod("compileFileClient")){return o.normalize(this._tr.compileFileClient(e,t))}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalize(this._tr.compileClient(o.readFileSync(e,"utf8"),t))}};Transformer.prototype.compileFileClientAsync=function(e,t,i){if(!this.can("compileFileClientAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client')).nodeify(i)}if(this._hasMethod("compileFileClientAsync")){return o.normalizeAsync(this._tr.compileFileClientAsync(e,t),i)}else if(this._hasMethod("compileFileClient")){return o.normalizeAsync(this._tr.compileFileClient(e,t),i)}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalizeAsync(o.readFile(e,"utf8").then(function(e){if(this._hasMethod("compileClientAsync")){return this._tr.compileClientAsync(e,t)}else{return this._tr.compileClient(e,t)}}.bind(this)),i)}};Transformer.prototype.render=function(e,t,i){if(!this.can("render")){if(this.can("renderAsync")){throw new Error('The Transform "'+this.name+'" does not support rendering synchronously.')}else if(this.can("renderFileAsync")){throw new Error('The Transform "'+this.name+'" does not support rendering from a string.')}else{throw new Error('The Transform "'+this.name+'" does not support rendering')}}if(this._hasMethod("render")){return o.normalize(this._tr.render(e,t,i))}else{var r=o.normalizeFn(this._tr.compile(e,t));var n=r.fn(i||t);if(typeof n!=="string"){throw new Error('The Transform "'+this.name+'" does not support rendering synchronously.')}return o.normalize({body:n,dependencies:r.dependencies})}};Transformer.prototype.renderAsync=function(e,t,i,r){if(typeof i==="function"){r=i;i=t}if(!this.can("renderAsync")){if(this.can("renderFileAsync")){return s.reject(new Error('The Transform "'+this.name+'" does not support rendering from a string.')).nodeify(r)}else{return s.reject(new Error('The Transform "'+this.name+'" does not support rendering')).nodeify(r)}}if(this._hasMethod("renderAsync")){return o.normalizeAsync(this._tr.renderAsync(e,t,i),r)}else if(this._hasMethod("render")){return o.normalizeAsync(this._tr.render(e,t,i),r)}else{return o.normalizeAsync(this.compileAsync(e,t).then((function(e){return{body:e.fn(i||t),dependencies:e.dependencies}})),r)}};Transformer.prototype.renderFile=function(e,t,i){if(!this.can("renderFile")){throw new Error('The Transform "'+this.name+'" does not support rendering synchronously.')}if(this._hasMethod("renderFile")){return o.normalize(this._tr.renderFile(e,t,i))}else if(this._hasMethod("render")){if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalize(this._tr.render(o.readFileSync(e,"utf8"),t,i))}else{var r=this.compileFile(e,t);return o.normalize({body:r.fn(i||t),dependencies:r.dependencies})}};Transformer.prototype.renderFileAsync=function(e,t,i,r){if(!this.can("renderFileAsync")){throw new Error('The Transform "'+this.name+'" does not support rendering.')}if(typeof i==="function"){r=i;i=t}if(this._hasMethod("renderFileAsync")){return o.normalizeAsync(this._tr.renderFileAsync(e,t,i),r)}else if(this._hasMethod("renderFile")){return o.normalizeAsync(this._tr.renderFile(e,t,i),r)}else if(this._hasMethod("compile")||this._hasMethod("compileAsync")||this._hasMethod("compileFile")||this._hasMethod("compileFileAsync")){return o.normalizeAsync(this.compileFileAsync(e,t).then((function(e){return{body:e.fn(i||t),dependencies:e.dependencies}})),r)}else{if(!t)t={};if(t.filename===undefined)t.filename=e;return o.normalizeAsync(o.readFile(e,"utf8").then(function(e){return this.renderAsync(e,t,i)}.bind(this)),r)}}},4581:e=>{"use strict"; -/* -object-assign -(c) Sindre Sorhus -@license MIT -*/var t=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty;var r=Object.prototype.propertyIsEnumerable;function toObject(e){if(e===null||e===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(e)}function shouldUseNative(){try{if(!Object.assign){return false}var e=new String("abc");e[5]="de";if(Object.getOwnPropertyNames(e)[0]==="5"){return false}var t={};for(var i=0;i<10;i++){t["_"+String.fromCharCode(i)]=i}var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if(r.join("")!=="0123456789"){return false}var n={};"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e}));if(Object.keys(Object.assign({},n)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(e){return false}}e.exports=shouldUseNative()?Object.assign:function(e,n){var s;var a=toObject(e);var o;for(var l=1;l{"use strict";var t=process.platform==="win32";var i=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/;var r={};function win32SplitPath(e){return i.exec(e).slice(1)}r.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=win32SplitPath(e);if(!t||t.length!==5){throw new TypeError("Invalid path '"+e+"'")}return{root:t[1],dir:t[0]===t[1]?t[0]:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};var n=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/;var s={};function posixSplitPath(e){return n.exec(e).slice(1)}s.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=posixSplitPath(e);if(!t||t.length!==5){throw new TypeError("Invalid path '"+e+"'")}return{root:t[1],dir:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};if(t)e.exports=r.parse;else e.exports=s.parse;e.exports.posix=s.parse;e.exports.win32=r.parse},3803:(e,t,i)=>{"use strict";e.exports=i(4558)},2880:(e,t,i)=>{"use strict";var r=i(1186);function noop(){}var n=null;var s={};function getThen(e){try{return e.then}catch(e){n=e;return s}}function tryCallOne(e,t){try{return e(t)}catch(e){n=e;return s}}function tryCallTwo(e,t,i){try{e(t,i)}catch(e){n=e;return s}}e.exports=Promise;function Promise(e){if(typeof this!=="object"){throw new TypeError("Promises must be constructed via new")}if(typeof e!=="function"){throw new TypeError("Promise constructor's argument is not a function")}this._40=0;this._65=0;this._55=null;this._72=null;if(e===noop)return;doResolve(e,this)}Promise._37=null;Promise._87=null;Promise._61=noop;Promise.prototype.then=function(e,t){if(this.constructor!==Promise){return safeThen(this,e,t)}var i=new Promise(noop);handle(this,new Handler(e,t,i));return i};function safeThen(e,t,i){return new e.constructor((function(r,n){var s=new Promise(noop);s.then(r,n);handle(e,new Handler(t,i,s))}))}function handle(e,t){while(e._65===3){e=e._55}if(Promise._37){Promise._37(e)}if(e._65===0){if(e._40===0){e._40=1;e._72=t;return}if(e._40===1){e._40=2;e._72=[e._72,t];return}e._72.push(t);return}handleResolved(e,t)}function handleResolved(e,t){r((function(){var i=e._65===1?t.onFulfilled:t.onRejected;if(i===null){if(e._65===1){resolve(t.promise,e._55)}else{reject(t.promise,e._55)}return}var r=tryCallOne(i,e._55);if(r===s){reject(t.promise,n)}else{resolve(t.promise,r)}}))}function resolve(e,t){if(t===e){return reject(e,new TypeError("A promise cannot be resolved with itself."))}if(t&&(typeof t==="object"||typeof t==="function")){var i=getThen(t);if(i===s){return reject(e,n)}if(i===e.then&&t instanceof Promise){e._65=3;e._55=t;finale(e);return}else if(typeof i==="function"){doResolve(i.bind(t),e);return}}e._65=1;e._55=t;finale(e)}function reject(e,t){e._65=2;e._55=t;if(Promise._87){Promise._87(e,t)}finale(e)}function finale(e){if(e._40===1){handle(e,e._72);e._72=null}if(e._40===2){for(var t=0;t{"use strict";var r=i(2880);e.exports=r;r.prototype.done=function(e,t){var i=arguments.length?this.then.apply(this,arguments):this;i.then(null,(function(e){setTimeout((function(){throw e}),0)}))}},7189:(e,t,i)=>{"use strict";var r=i(2880);e.exports=r;var n=valuePromise(true);var s=valuePromise(false);var a=valuePromise(null);var o=valuePromise(undefined);var l=valuePromise(0);var c=valuePromise("");function valuePromise(e){var t=new r(r._61);t._65=1;t._55=e;return t}r.resolve=function(e){if(e instanceof r)return e;if(e===null)return a;if(e===undefined)return o;if(e===true)return n;if(e===false)return s;if(e===0)return l;if(e==="")return c;if(typeof e==="object"||typeof e==="function"){try{var t=e.then;if(typeof t==="function"){return new r(t.bind(e))}}catch(e){return new r((function(t,i){i(e)}))}}return valuePromise(e)};r.all=function(e){var t=Array.prototype.slice.call(e);return new r((function(e,i){if(t.length===0)return e([]);var n=t.length;function res(s,a){if(a&&(typeof a==="object"||typeof a==="function")){if(a instanceof r&&a.then===r.prototype.then){while(a._65===3){a=a._55}if(a._65===1)return res(s,a._55);if(a._65===2)i(a._55);a.then((function(e){res(s,e)}),i);return}else{var o=a.then;if(typeof o==="function"){var l=new r(o.bind(a));l.then((function(e){res(s,e)}),i);return}}}t[s]=a;if(--n===0){e(t)}}for(var s=0;s{"use strict";var r=i(2880);e.exports=r;r.prototype["finally"]=function(e){return this.then((function(t){return r.resolve(e()).then((function(){return t}))}),(function(t){return r.resolve(e()).then((function(){throw t}))}))}},4558:(e,t,i)=>{"use strict";e.exports=i(2880);i(4975);i(5017);i(7189);i(5439);i(5569)},5439:(e,t,i)=>{"use strict";var r=i(2880);var n=i(4206);e.exports=r;r.denodeify=function(e,t){if(typeof t==="number"&&t!==Infinity){return denodeifyWithCount(e,t)}else{return denodeifyWithoutCount(e)}};var s="function (err, res) {"+"if (err) { rj(err); } else { rs(res); }"+"}";function denodeifyWithCount(e,t){var i=[];for(var n=0;n "+t+") {","args = new Array(arguments.length + 1);","for (var i = 0; i < arguments.length; i++) {","args[i] = arguments[i];","}","}","return new Promise(function (rs, rj) {","var cb = "+s+";","var res;","switch (argLength) {",i.concat(["extra"]).map((function(e,t){return"case "+t+":"+"res = fn.call("+["self"].concat(i.slice(0,t)).concat("cb").join(",")+");"+"break;"})).join(""),"default:","args[argLength] = cb;","res = fn.apply(self, args);","}","if (res &&",'(typeof res === "object" || typeof res === "function") &&','typeof res.then === "function"',") {rs(res);}","});","};"].join("");return Function(["Promise","fn"],a)(r,e)}r.nodeify=function(e){return function(){var t=Array.prototype.slice.call(arguments);var i=typeof t[t.length-1]==="function"?t.pop():null;var s=this;try{return e.apply(this,arguments).nodeify(i,s)}catch(e){if(i===null||typeof i=="undefined"){return new r((function(t,i){i(e)}))}else{n((function(){i.call(s,e)}))}}}};r.prototype.nodeify=function(e,t){if(typeof e!="function")return this;this.then((function(i){n((function(){e.call(t,null,i)}))}),(function(i){n((function(){e.call(t,i)}))}))}},5569:(e,t,i)=>{"use strict";var r=i(2880);e.exports=r;r.enableSynchronous=function(){r.prototype.isPending=function(){return this.getState()==0};r.prototype.isFulfilled=function(){return this.getState()==1};r.prototype.isRejected=function(){return this.getState()==2};r.prototype.getValue=function(){if(this._65===3){return this._55.getValue()}if(!this.isFulfilled()){throw new Error("Cannot get a value of an unfulfilled promise.")}return this._55};r.prototype.getReason=function(){if(this._65===3){return this._55.getReason()}if(!this.isRejected()){throw new Error("Cannot get a rejection reason of a non-rejected promise.")}return this._55};r.prototype.getState=function(){if(this._65===3){return this._55.getState()}if(this._65===-1||this._65===-2){return 0}return this._65}};r.disableSynchronous=function(){r.prototype.isPending=undefined;r.prototype.isFulfilled=undefined;r.prototype.isRejected=undefined;r.prototype.getValue=undefined;r.prototype.getReason=undefined;r.prototype.getState=undefined}},1042:(e,t,i)=>{"use strict";var r=i(9491);var n=i(5122);var s=i(5804);var a=i(3734);function isConstant(e){return n(e,{pug:s,pug_interp:undefined})}function toConstant(e){return n.toConstant(e,{pug:s,pug_interp:undefined})}e.exports=compileAttrs;function compileAttrs(e,t){r(Array.isArray(e),"Attrs should be an array");r(e.every((function(e){return e&&typeof e==="object"&&typeof e.name==="string"&&(typeof e.val==="string"||typeof e.val==="boolean")&&typeof e.mustEscape==="boolean"})),"All attributes should be supplied as an object of the form {name, val, mustEscape}");r(t&&typeof t==="object","Options should be an object");r(typeof t.terse==="boolean","Options.terse should be a boolean");r(typeof t.runtime==="function","Options.runtime should be a function that takes a runtime function name and returns the source code that will evaluate to that function at runtime");r(t.format==="html"||t.format==="object",'Options.format should be "html" or "object"');var i=[];var n=[];var o=[];function addAttribute(e,i,r,n){if(isConstant(i)){if(t.format==="html"){var o=a(s.attr(e,toConstant(i),r,t.terse));var l=n[n.length-1];if(l&&l[l.length-1]===o[0]){n[n.length-1]=l.substr(0,l.length-1)+o.substr(1)}else{n.push(o)}}else{i=toConstant(i);if(r){i=s.escape(i)}n.push(a(e)+": "+a(i))}}else{if(t.format==="html"){n.push(t.runtime("attr")+'("'+e+'", '+i+", "+a(r)+", "+a(t.terse)+")")}else{if(r){i=t.runtime("escape")+"("+i+")"}n.push(a(e)+": "+i)}}}e.forEach((function(e){var r=e.name;var l=e.val;var c=e.mustEscape;if(r==="class"){n.push(l);o.push(c)}else{if(r==="style"){if(isConstant(l)){l=a(s.style(toConstant(l)))}else{l=t.runtime("style")+"("+l+")"}}addAttribute(r,l,c,i)}}));var l=[];if(n.length){if(n.every(isConstant)){addAttribute("class",a(s.classes(n.map(toConstant),o)),false,l)}else{n=n.map((function(e,t){if(isConstant(e)){e=a(o[t]?s.escape(toConstant(e)):toConstant(e));o[t]=false}return e}));addAttribute("class",t.runtime("classes")+"(["+n.join(",")+"], "+a(o)+")",false,l)}}i=l.concat(i);if(t.format==="html")return i.length?i.join("+"):'""';else return"{"+i.join(",")+"}"}},4880:(e,t,i)=>{"use strict";var r=i(8263);var n=i(3520);var s=i(264);var a=i(5804);var o=i(1042);var l=i(4449);var c=i(5122);var u=i(3734);var h=i(86);var p={pre:true,textarea:true};var f=["pug","pug_mixins","pug_interp","pug_debug_filename","pug_debug_line","pug_debug_sources","pug_html"];e.exports=generateCode;e.exports.CodeGenerator=Compiler;function generateCode(e,t){return new Compiler(e,t).compile()}function isConstant(e){return c(e,{pug:a,pug_interp:undefined})}function toConstant(e){return c.toConstant(e,{pug:a,pug_interp:undefined})}function Compiler(e,t){this.options=t=t||{};this.node=e;this.bufferedConcatenationCount=0;this.hasCompiledDoctype=false;this.hasCompiledTag=false;this.pp=t.pretty||false;if(this.pp&&typeof this.pp!=="string"){this.pp=" "}if(this.pp&&!/^\s+$/.test(this.pp)){throw new Error("The pretty parameter should either be a boolean or whitespace only string")}this.debug=false!==t.compileDebug;this.indents=0;this.parentIndents=0;this.terse=false;this.mixins={};this.dynamicMixins=false;this.eachCount=0;if(t.doctype)this.setDoctype(t.doctype);this.runtimeFunctionsUsed=[];this.inlineRuntimeFunctions=t.inlineRuntimeFunctions||false;if(this.debug&&this.inlineRuntimeFunctions){this.runtimeFunctionsUsed.push("rethrow")}}Compiler.prototype={runtime:function(e){if(this.inlineRuntimeFunctions){this.runtimeFunctionsUsed.push(e);return"pug_"+e}else{return"pug."+e}},error:function(e,t,i){var r=n(t,e,{line:i.line,column:i.column,filename:i.filename});throw r},compile:function(){this.buf=[];if(this.pp)this.buf.push("var pug_indent = [];");this.lastBufferedIdx=-1;this.visit(this.node);if(!this.dynamicMixins){var e=Object.keys(this.mixins);for(var t=0;t";this.terse=this.doctype.toLowerCase()=="";this.xml=0==this.doctype.indexOf("1&&!t&&e.nodes[0].type==="Text"&&e.nodes[1].type==="Text"){this.prettyIndent(1,true)}for(var r=0;r0&&!t&&e.nodes[r].type==="Text"&&e.nodes[r-1].type==="Text"&&/\n$/.test(e.nodes[r-1].val)){this.prettyIndent(1,false)}this.visit(e.nodes[r],e)}},visitMixinBlock:function(e){if(this.pp)this.buf.push("pug_indent.push("+u(Array(this.indents+1).join(this.pp))+");");this.buf.push("block && block();");if(this.pp)this.buf.push("pug_indent.pop();")},visitDoctype:function(e){if(e&&(e.val||!this.doctype)){this.setDoctype(e.val||"html")}if(this.doctype)this.buffer(this.doctype);this.hasCompiledDoctype=true},visitMixin:function(e){var t="pug_mixins[";var i=e.args||"";var r=e.block;var n=e.attrs;var s=this.attributeBlocks(e.attributeBlocks);var a=this.pp;var o=e.name[0]==="#";var l=e.name;if(o)this.dynamicMixins=true;t+=(o?e.name.substr(2,e.name.length-3):'"'+e.name+'"')+"]";this.mixins[l]=this.mixins[l]||{used:false,instances:[]};if(e.call){this.mixins[l].used=true;if(a)this.buf.push("pug_indent.push("+u(Array(this.indents+1).join(a))+");");if(r||n.length||s.length){this.buf.push(t+".call({");if(r){this.buf.push("block: function(){");this.parentIndents++;var c=this.indents;this.indents=0;this.visit(e.block,e);this.indents=c;this.parentIndents--;if(n.length||s.length){this.buf.push("},")}else{this.buf.push("}")}}if(s.length){if(n.length){var h=this.attrs(n);s.unshift(h)}if(s.length>1){this.buf.push("attributes: "+this.runtime("merge")+"(["+s.join(",")+"])")}else{this.buf.push("attributes: "+s[0])}}else if(n.length){var h=this.attrs(n);this.buf.push("attributes: "+h)}if(i){this.buf.push("}, "+i+");")}else{this.buf.push("});")}}else{this.buf.push(t+"("+i+");")}if(a)this.buf.push("pug_indent.pop();")}else{var p=this.buf.length;i=i?i.split(","):[];var f;if(i.length&&/^\.\.\./.test(i[i.length-1].trim())){f=i.pop().trim().replace(/^\.\.\./,"")}this.buf.push(t+" = pug_interp = function("+i.join(",")+"){");this.buf.push("var block = (this && this.block), attributes = (this && this.attributes) || {};");if(f){this.buf.push("var "+f+" = [];");this.buf.push("for (pug_interp = "+i.length+"; pug_interp < arguments.length; pug_interp++) {");this.buf.push(" "+f+".push(arguments[pug_interp]);");this.buf.push("}")}this.parentIndents++;this.visit(r,e);this.parentIndents--;this.buf.push("};");var d=this.buf.length;this.mixins[l].instances.push({start:p,end:d})}},visitTag:function(e,t){this.indents++;var i=e.name,r=this.pp,n=this;function bufferName(){if(t)n.bufferExpression(e.expr);else n.buffer(i)}if(p[e.name]===true)this.escapePrettyMode=true;if(!this.hasCompiledTag){if(!this.hasCompiledDoctype&&"html"==i){this.visitDoctype()}this.hasCompiledTag=true}if(r&&!e.isInline)this.prettyIndent(0,true);if(e.selfClosing||!this.xml&&l[e.name]){this.buffer("<");bufferName();this.visitAttributes(e.attrs,this.attributeBlocks(e.attributeBlocks));if(this.terse&&!e.selfClosing){this.buffer(">")}else{this.buffer("/>")}if(e.code||e.block&&!(e.block.type==="Block"&&e.block.nodes.length===0)&&e.block.nodes.some((function(e){return e.type!=="Text"||!/^\s*$/.test(e.val)}))){this.error(i+" is a self closing element: <"+i+"/> but contains nested content.","SELF_CLOSING_CONTENT",e)}}else{this.buffer("<");bufferName();this.visitAttributes(e.attrs,this.attributeBlocks(e.attributeBlocks));this.buffer(">");if(e.code)this.visitCode(e.code);this.visit(e.block,e);if(r&&!e.isInline&&p[e.name]!==true&&!tagCanInline(e))this.prettyIndent(0,true);this.buffer("")}if(p[e.name]===true)this.escapePrettyMode=false;this.indents--},visitInterpolatedTag:function(e){return this.visitTag(e,true)},visitText:function(e){this.buffer(e.val)},visitComment:function(e){if(!e.buffer)return;if(this.pp)this.prettyIndent(1,true);this.buffer("\x3c!--"+e.val+"--\x3e")},visitYieldBlock:function(e){},visitBlockComment:function(e){if(!e.buffer)return;if(this.pp)this.prettyIndent(1,true);this.buffer("\x3c!--"+(e.val||""));this.visit(e.block,e);if(this.pp)this.prettyIndent(1,true);this.buffer("--\x3e")},visitCode:function(e){if(e.buffer){var t=e.val.trim();t="null == (pug_interp = "+t+') ? "" : pug_interp';if(e.mustEscape!==false)t=this.runtime("escape")+"("+t+")";this.bufferExpression(t)}else{this.buf.push(e.val)}if(e.block){if(!e.buffer)this.buf.push("{");this.visit(e.block,e);if(!e.buffer)this.buf.push("}")}},visitConditional:function(e){var t=e.test;this.buf.push("if ("+t+") {");this.visit(e.consequent,e);this.buf.push("}");if(e.alternate){if(e.alternate.type==="Conditional"){this.buf.push("else");this.visitConditional(e.alternate)}else{this.buf.push("else {");this.visit(e.alternate,e);this.buf.push("}")}}},visitWhile:function(e){var t=e.test;this.buf.push("while ("+t+") {");this.visit(e.block,e);this.buf.push("}")},visitEach:function(e){var t=e.key||"pug_index"+this.eachCount;this.eachCount++;this.buf.push(""+"// iterate "+e.obj+"\n"+";(function(){\n"+" var $$obj = "+e.obj+";\n"+" if ('number' == typeof $$obj.length) {");if(e.alternate){this.buf.push(" if ($$obj.length) {")}this.buf.push(""+" for (var "+t+" = 0, $$l = $$obj.length; "+t+" < $$l; "+t+"++) {\n"+" var "+e.val+" = $$obj["+t+"];");this.visit(e.block,e);this.buf.push(" }");if(e.alternate){this.buf.push(" } else {");this.visit(e.alternate,e);this.buf.push(" }")}this.buf.push(""+" } else {\n"+" var $$l = 0;\n"+" for (var "+t+" in $$obj) {\n"+" $$l++;\n"+" var "+e.val+" = $$obj["+t+"];");this.visit(e.block,e);this.buf.push(" }");if(e.alternate){this.buf.push(" if ($$l === 0) {");this.visit(e.alternate,e);this.buf.push(" }")}this.buf.push(" }\n}).call(this);\n")},visitEachOf:function(e){this.buf.push(""+"// iterate "+e.obj+"\n"+"for (const "+e.val+" of "+e.obj+") {\n");this.visit(e.block,e);this.buf.push("}\n")},visitAttributes:function(e,t){if(t.length){if(e.length){var i=this.attrs(e);t.unshift(i)}if(t.length>1){this.bufferExpression(this.runtime("attrs")+"("+this.runtime("merge")+"(["+t.join(",")+"]), "+u(this.terse)+")")}else{this.bufferExpression(this.runtime("attrs")+"("+t[0]+", "+u(this.terse)+")")}}else if(e.length){this.attrs(e,true)}},attrs:function(e,t){var i=o(e,{terse:this.terse,format:t?"html":"object",runtime:this.runtime.bind(this)});if(t){this.bufferExpression(i)}return i},attributeBlocks:function(e){return e&&e.slice().map((function(e){return e.val}))}};function tagCanInline(e){function isInline(e){if(e.type==="Block")return e.nodes.every(isInline);if(e.type==="YieldBlock")return true;return e.type==="Text"&&!/\n/.test(e.val)||e.isInline}return e.block.nodes.every(isInline)}},3520:e=>{"use strict";e.exports=makeError;function makeError(e,t,i){var r=i.line;var n=i.column;var s=i.filename;var a=i.src;var o;var l=r+(n?":"+n:"");if(a&&r>=1&&r<=a.split("\n").length){var c=a.split("\n");var u=Math.max(r-3,0);var h=Math.min(c.length,r+3);var p=c.slice(u,h).map((function(e,t){var i=t+u+1;var s=(i==r?" > ":" ")+i+"| ";var a=s+e;if(i===r&&n>0){a+="\n";a+=Array(s.length+n).join("-")+"^"}return a})).join("\n");o=(s||"Pug")+":"+l+"\n"+p+"\n\n"+t}else{o=(s||"Pug")+":"+l+"\n\n"+t}var f=new Error(o);f.code="PUG:"+e;f.msg=t;f.line=r;f.column=n;f.filename=s;f.src=a;f.toJSON=function(){return{code:this.code,msg:this.msg,line:this.line,column:this.column,filename:this.filename}};return f}},1879:(e,t,i)=>{"use strict";t.runFilter=i(5288);t.handleFilters=i(8517)},8517:(e,t,i)=>{"use strict";var r=i(1017).dirname;var n=i(5122);var s=i(6147);var a=i(3520);var o=i(5288);e.exports=handleFilters;function handleFilters(e,t,i,n){i=i||{};s(e,(function(e){var s=e.filename?r(e.filename):null;if(e.type==="Filter"){handleNestedFilters(e,t,i,n);var l=getBodyAsText(e);var c=getAttributes(e,i);c.filename=e.filename;e.type="Text";e.val=filterWithFallback(e,l,c)}else if(e.type==="RawInclude"&&e.filters.length){var u=e.filters.pop();var c=getAttributes(u,i);var h=c.filename=e.file.fullPath;e.type="Text";e.val=filterFileWithFallback(u,h,e.file,c);e.filters.slice().reverse().forEach((function(t){var r=getAttributes(t,i);r.filename=h;e.val=filterWithFallback(t,e.val,r)}));e.filters=undefined;e.file=undefined}function filterWithFallback(e,i,r,n){try{var l=getFilterName(e);if(t&&t[l]){return t[l](i,r)}else{return o(l,i,r,s,n)}}catch(t){if(t.code==="UNKNOWN_FILTER"){throw a(t.code,t.message,e)}throw t}}function filterFileWithFallback(e,i,r,n){var s=getFilterName(e);if(t&&t[s]){if(t[s].renderBuffer){return t[s].renderBuffer(r.raw,n)}else{return t[s](r.str,n)}}else{return filterWithFallback(e,i,n,"renderFile")}}}),{includeDependencies:true});function getFilterName(e){var t=e.name;if(n&&n[t]){t=n[t];if(n[t]){throw a("FILTER_ALISE_CHAIN",'The filter "'+e.name+'" is an alias for "'+t+'", which is an alias for "'+n[t]+'". Pug does not support chains of filter aliases.',e)}}return t}return e}function handleNestedFilters(e,t,i,r){if(e.block.nodes[0]&&e.block.nodes[0].type==="Filter"){e.block.nodes[0]=handleFilters(e.block,t,i,r).nodes[0]}}function getBodyAsText(e){return e.block.nodes.map((function(e){return e.val})).join("")}function getAttributes(e,t){var i={};e.attrs.forEach((function(t){try{i[t.name]=t.val===true?true:n.toConstant(t.val)}catch(t){if(/not constant/.test(t.message)){throw a("FILTER_OPTION_NOT_CONSTANT",t.message+" All filters are rendered compile-time so filter options must be constants.",e)}throw t}}));var r=t[e.name]||{};Object.keys(r).forEach((function(e){if(!i.hasOwnProperty(e)){i[e]=r[e]}}));return i}},5288:(e,t,i)=>{"use strict";var r=i(9147);var n=i(6510);e.exports=filter;function getMinifyTransformerName(e){switch(e){case"js":return"uglify-js";case"css":return"clean-css"}}function filter(e,t,i,s,a){a=a||"render";var o;try{try{o=n.sync("jstransformer-"+e,{basedir:s||process.cwd()})}catch(t){o=require.resolve("jstransformer-"+e)}}catch(t){var l=new Error('unknown filter ":'+e+'"');l.code="UNKNOWN_FILTER";throw l}var c=r(require(o));var u=c[a](t,i,i).body;if(i&&i.minify){var h=getMinifyTransformerName(c.outputFormat);if(h){try{u=filter(h,u,null,s)}catch(e){}}}return u}},267:(e,t,i)=>{"use strict";var r=i(9491);var n=i(538);var s=i(340);var a=i(3520);e.exports=lex;e.exports.Lexer=Lexer;function lex(e,t){var i=new Lexer(e,t);return JSON.parse(JSON.stringify(i.getTokens()))}function Lexer(e,t){t=t||{};if(typeof e!=="string"){throw new Error('Expected source code to be a string but got "'+typeof e+'"')}if(typeof t!=="object"){throw new Error('Expected "options" to be an object but got "'+typeof t+'"')}e=e.replace(/^\uFEFF/,"");this.input=e.replace(/\r\n|\r/g,"\n");this.originalInput=this.input;this.filename=t.filename;this.interpolated=t.interpolated||false;this.lineno=t.startingLine||1;this.colno=t.startingColumn||1;this.plugins=t.plugins||[];this.indentStack=[0];this.indentRe=null;this.interpolationAllowed=true;this.whitespaceRe=/[ \n\t]/;this.tokens=[];this.ended=false}Lexer.prototype={constructor:Lexer,error:function(e,t){var i=a(e,t,{line:this.lineno,column:this.colno,filename:this.filename,src:this.originalInput});throw i},assert:function(e,t){if(!e)this.error("ASSERT_FAILED",t)},isExpression:function(e){return n(e,{throw:true})},assertExpression:function(e,t){try{this.callLexerFunction("isExpression",e);return true}catch(e){if(t)return false;if(!e.loc)throw e;this.incrementLine(e.loc.line-1);this.incrementColumn(e.loc.column);var i="Syntax Error: "+e.message.replace(/ \([0-9]+:[0-9]+\)$/,"");this.error("SYNTAX_ERROR",i)}},assertNestingCorrect:function(e){var t=s(e);if(t.isNesting()){this.error("INCORRECT_NESTING","Nesting must match on expression `"+e+"`")}},tok:function(e,t){var i={type:e,loc:{start:{line:this.lineno,column:this.colno},filename:this.filename}};if(t!==undefined)i.val=t;return i},tokEnd:function(e){e.loc.end={line:this.lineno,column:this.colno};return e},incrementLine:function(e){this.lineno+=e;if(e)this.colno=1},incrementColumn:function(e){this.colno+=e},consume:function(e){this.input=this.input.substr(e)},scan:function(e,t){var i;if(i=e.exec(this.input)){var r=i[0].length;var n=i[1];var s=r-(n?n.length:0);var a=this.tok(t,n);this.consume(r);this.incrementColumn(s);return a}},scanEndOfLine:function(e,t){var i;if(i=e.exec(this.input)){var r=0;var n;var s;if(n=/^([ ]+)([^ ]*)/.exec(i[0])){r=n[1].length;this.incrementColumn(r)}var a=this.input.substr(i[0].length);if(a[0]===":"){this.input=a;s=this.tok(t,i[1]);this.incrementColumn(i[0].length-r);return s}if(/^[ \t]*(\n|$)/.test(a)){this.input=a.substr(/^[ \t]*/.exec(a)[0].length);s=this.tok(t,i[1]);this.incrementColumn(i[0].length-r);return s}}},bracketExpression:function(e){e=e||0;var t=this.input[e];r(t==="("||t==="{"||t==="[",'The start character should be "(", "{" or "["');var i=s.BRACKETS[t];var n;try{n=s.parseUntil(this.input,i,{start:e+1})}catch(t){if(t.index!==undefined){var a=t.index;var o=this.input.substr(e).indexOf("\n");var l=o+e;var c=0;while(a>l&&o!==-1){this.incrementLine(1);a-=l+1;c+=l+1;o=l=this.input.substr(c).indexOf("\n")}this.incrementColumn(a)}if(t.code==="CHARACTER_PARSER:END_OF_STRING_REACHED"){this.error("NO_END_BRACKET","The end of the string reached with no closing bracket "+i+" found.")}else if(t.code==="CHARACTER_PARSER:MISMATCHED_BRACKET"){this.error("BRACKET_MISMATCH",t.message)}throw t}return n},scanIndentation:function(){var e,t;if(this.indentRe){e=this.indentRe.exec(this.input)}else{t=/^\n(\t*) */;e=t.exec(this.input);if(e&&!e[1].length){t=/^\n( *)/;e=t.exec(this.input)}if(e&&e[1].length)this.indentRe=t}return e},eos:function(){if(this.input.length)return;if(this.interpolated){this.error("NO_END_BRACKET","End of line was reached with no closing bracket for interpolation.")}for(var e=0;this.indentStack[e];e++){this.tokens.push(this.tokEnd(this.tok("outdent")))}this.tokens.push(this.tokEnd(this.tok("eos")));this.ended=true;return true},blank:function(){var e;if(e=/^\n[ \t]*\n/.exec(this.input)){this.consume(e[0].length-1);this.incrementLine(1);return true}},comment:function(){var e;if(e=/^\/\/(-)?([^\n]*)/.exec(this.input)){this.consume(e[0].length);var t=this.tok("comment",e[2]);t.buffer="-"!=e[1];this.interpolationAllowed=t.buffer;this.tokens.push(t);this.incrementColumn(e[0].length);this.tokEnd(t);this.callLexerFunction("pipelessText");return true}},interpolation:function(){if(/^#\{/.test(this.input)){var e=this.bracketExpression(1);this.consume(e.end+1);var t=this.tok("interpolation",e.src);this.tokens.push(t);this.incrementColumn(2);this.assertExpression(e.src);var i=e.src.split("\n");var r=i.length-1;this.incrementLine(r);this.incrementColumn(i[r].length+1);this.tokEnd(t);return true}},tag:function(){var e;if(e=/^(\w(?:[-:\w]*\w)?)/.exec(this.input)){var t,i=e[1],r=e[0].length;this.consume(r);t=this.tok("tag",i);this.tokens.push(t);this.incrementColumn(r);this.tokEnd(t);return true}},filter:function(e){var t=this.scan(/^:([\w\-]+)/,"filter");var i=e&&e.inInclude;if(t){this.tokens.push(t);this.incrementColumn(t.val.length);this.tokEnd(t);this.callLexerFunction("attrs");if(!i){this.interpolationAllowed=false;this.callLexerFunction("pipelessText")}return true}},doctype:function(){var e=this.scanEndOfLine(/^doctype *([^\n]*)/,"doctype");if(e){this.tokens.push(this.tokEnd(e));return true}},id:function(){var e=this.scan(/^#([\w-]+)/,"id");if(e){this.tokens.push(e);this.incrementColumn(e.val.length);this.tokEnd(e);return true}if(/^#/.test(this.input)){this.error("INVALID_ID",'"'+/.[^ \t\(\#\.\:]*/.exec(this.input.substr(1))[0]+'" is not a valid ID.')}},className:function(){var e=this.scan(/^\.([_a-z0-9\-]*[_a-z][_a-z0-9\-]*)/i,"class");if(e){this.tokens.push(e);this.incrementColumn(e.val.length);this.tokEnd(e);return true}if(/^\.[_a-z0-9\-]+/i.test(this.input)){this.error("INVALID_CLASS_NAME","Class names must contain at least one letter or underscore.")}if(/^\./.test(this.input)){this.error("INVALID_CLASS_NAME",'"'+/.[^ \t\(\#\.\:]*/.exec(this.input.substr(1))[0]+'" is not a valid class name. Class names can only contain "_", "-", a-z and 0-9, and must contain at least one of "_", or a-z')}},endInterpolation:function(){if(this.interpolated&&this.input[0]==="]"){this.input=this.input.substr(1);this.ended=true;return true}},addText:function(e,t,i,r){var n;if(t+i==="")return;i=i||"";r=r||0;var a=this.interpolated?t.indexOf("]"):-1;var o=this.interpolationAllowed?t.indexOf("#["):-1;var l=this.interpolationAllowed?t.indexOf("\\#["):-1;var c=/(\\)?([#!]){((?:.|\n)*)$/.exec(t);var u=this.interpolationAllowed&&c?c.index:Infinity;if(a===-1)a=Infinity;if(o===-1)o=Infinity;if(l===-1)l=Infinity;if(l!==Infinity&&li){if(this.indentStack[1]this.indentStack[0]){this.tokens.push(this.tokEnd(this.tok("start-pipeless-text")));var i=[];var r=[];var n;var s=0;do{var a=this.input.substr(s+1).indexOf("\n");if(-1==a)a=this.input.length-s-1;var o=this.input.substr(s+1,a);var l=this.indentRe.exec("\n"+o);var c=l&&l[1].length;n=c>=e;r.push(n);n=n||!o.trim();if(n){s+=o.length+1;i.push(o.substr(e))}else if(c>this.indentStack[0]){this.tokens.pop();return pipelessText.call(this,l[1].length)}}while(this.input.length-s&&n);this.consume(s);while(this.input.length===0&&i[i.length-1]==="")i.pop();i.forEach(function(t,i){var n;this.incrementLine(1);if(i!==0)n=this.tok("newline");if(r[i])this.incrementColumn(e);if(n)this.tokens.push(this.tokEnd(n));this.addText("text",t)}.bind(this));this.tokens.push(this.tokEnd(this.tok("end-pipeless-text")));return true}},slash:function(){var e=this.scan(/^\//,"slash");if(e){this.tokens.push(this.tokEnd(e));return true}},colon:function(){var e=this.scan(/^: +/,":");if(e){this.tokens.push(this.tokEnd(e));return true}},fail:function(){this.error("UNEXPECTED_TEXT",'unexpected text "'+this.input.substr(0,5)+'"')},callLexerFunction:function(e){var t=[];for(var i=1;i{"use strict";var r=i(9491);var n=i(6147);function error(){throw i(3520).apply(null,arguments)}e.exports=link;function link(e){r(e.type==="Block","The top level element should always be a block");var t=null;if(e.nodes.length){var i=e.nodes[0].type==="Extends";checkExtendPosition(e,i);if(i){t=e.nodes.shift()}}e=applyIncludes(e);e.declaredBlocks=findDeclaredBlocks(e);if(t){var s=[];var a=[];e.nodes.forEach((function addNode(e){if(e.type==="NamedBlock"){a.push(e)}else if(e.type==="Block"){e.nodes.forEach(addNode)}else if(e.type==="Mixin"&&e.call===false){s.push(e)}else{error("UNEXPECTED_NODES_IN_EXTENDING_ROOT","Only named blocks and mixins can appear at the top level of an extending template",e)}}));var o=link(t.file.ast);extend(o.declaredBlocks,e);var l=[];n(o,(function(e){if(e.type==="NamedBlock"){l.push(e.name)}}));a.forEach((function(e){if(l.indexOf(e.name)===-1){error("UNEXPECTED_BLOCK","Unexpected block "+e.name,e)}}));Object.keys(e.declaredBlocks).forEach((function(t){o.declaredBlocks[t]=e.declaredBlocks[t]}));o.nodes=s.concat(o.nodes);o.hasExtends=true;return o}return e}function findDeclaredBlocks(e){var t={};n(e,(function before(e){if(e.type==="NamedBlock"&&e.mode==="replace"){t[e.name]=t[e.name]||[];t[e.name].push(e)}}));return t}function flattenParentBlocks(e,t){t=t||[];e.forEach((function(e){if(e.parents){flattenParentBlocks(e.parents,t)}t.push(e)}));return t}function extend(e,t){var i={};n(t,(function before(t){if(t.type==="NamedBlock"){if(i[t.name]===t.name){return t.ignore=true}i[t.name]=t.name;var r=e[t.name]?flattenParentBlocks(e[t.name]):[];if(r.length){t.parents=r;r.forEach((function(e){switch(t.mode){case"append":e.nodes=e.nodes.concat(t.nodes);break;case"prepend":e.nodes=t.nodes.concat(e.nodes);break;case"replace":e.nodes=t.nodes;break}}))}}}),(function after(e){if(e.type==="NamedBlock"&&!e.ignore){delete i[e.name]}}))}function applyIncludes(e,t){return n(e,(function before(e,t){if(e.type==="RawInclude"){t({type:"Text",val:e.file.str.replace(/\r/g,"")})}}),(function after(e,t){if(e.type==="Include"){var i=link(e.file.ast);if(i.hasExtends){i=removeBlocks(i)}t(applyYield(i,e.block))}}))}function removeBlocks(e){return n(e,(function(e,t){if(e.type==="NamedBlock"){t({type:"Block",nodes:e.nodes})}}))}function applyYield(e,t){if(!t||!t.nodes.length)return e;var i=false;e=n(e,null,(function(e,r){if(e.type==="YieldBlock"){i=true;e.type="Block";e.nodes=[t]}}));function defaultYieldLocation(e){var t=e;for(var i=0;i{"use strict";var r=i(7147);var n=i(1017);var s=i(6147);var a=i(4581);e.exports=load;function load(e,t){t=getOptions(t);e=JSON.parse(JSON.stringify(e));return s(e,(function(e){if(e.str===undefined){if(e.type==="Include"||e.type==="RawInclude"||e.type==="Extends"){var i=e.file;if(i.type!=="FileReference"){throw new Error('Expected file.type to be "FileReference"')}var r,n,s;try{r=t.resolve(i.path,i.filename,t);i.fullPath=r;s=t.read(r,t);n=s.toString("utf8")}catch(t){t.message+="\n at "+e.filename+" line "+e.line;throw t}i.str=n;i.raw=s;if(e.type==="Extends"||e.type==="Include"){i.ast=load.string(n,a({},t,{filename:r}))}}}}))}load.string=function loadString(e,t){t=a(getOptions(t),{src:e});var i=t.lex(e,t);var r=t.parse(i,t);return load(r,t)};load.file=function loadFile(e,t){t=a(getOptions(t),{filename:e});var i=t.read(e).toString("utf8");return load.string(i,t)};load.resolve=function resolve(e,t,i){e=e.trim();if(e[0]!=="/"&&!t)throw new Error('the "filename" option is required to use includes and extends with "relative" paths');if(e[0]==="/"&&!i.basedir)throw new Error('the "basedir" option is required to use includes and extends with "absolute" paths');e=n.join(e[0]==="/"?i.basedir:n.dirname(t.trim()),e);return e};load.read=function read(e,t){return r.readFileSync(e)};load.validateOptions=function validateOptions(e){if(typeof e!=="object"){throw new TypeError("options must be an object")}if(typeof e.lex!=="function"){throw new TypeError("options.lex must be a function")}if(typeof e.parse!=="function"){throw new TypeError("options.parse must be a function")}if(e.resolve&&typeof e.resolve!=="function"){throw new TypeError("options.resolve must be a function")}if(e.read&&typeof e.read!=="function"){throw new TypeError("options.read must be a function")}};function getOptions(e){load.validateOptions(e);return a({resolve:load.resolve,read:load.read},e)}},1227:(e,t,i)=>{"use strict";var r=i(9491);var n=i(2609);var s=i(3520);var a=i(5991);e.exports=parse;e.exports.Parser=Parser;function parse(e,t){var i=new Parser(e,t);var r=i.parse();return JSON.parse(JSON.stringify(r))}function Parser(e,t){t=t||{};if(!Array.isArray(e)){throw new Error('Expected tokens to be an Array but got "'+typeof e+'"')}if(typeof t!=="object"){throw new Error('Expected "options" to be an object but got "'+typeof t+'"')}this.tokens=new n(e);this.filename=t.filename;this.src=t.src;this.inMixin=0;this.plugins=t.plugins||[]}Parser.prototype={constructor:Parser,error:function(e,t,i){var r=s(e,t,{line:i.loc.start.line,column:i.loc.start.column,filename:this.filename,src:this.src});throw r},advance:function(){return this.tokens.advance()},peek:function(){return this.tokens.peek()},lookahead:function(e){return this.tokens.lookahead(e)},parse:function(){var e=this.emptyBlock(0);while("eos"!=this.peek().type){if("newline"==this.peek().type){this.advance()}else if("text-html"==this.peek().type){e.nodes=e.nodes.concat(this.parseTextHtml())}else{var t=this.parseExpr();if(t){if(t.type==="Block"){e.nodes=e.nodes.concat(t.nodes)}else{e.nodes.push(t)}}}}return e},expect:function(e){if(this.peek().type===e){return this.advance()}else{this.error("INVALID_TOKEN",'expected "'+e+'", but got "'+this.peek().type+'"',this.peek())}},accept:function(e){if(this.peek().type===e){return this.advance()}},initBlock:function(e,t){if((e|0)!==e)throw new Error("`line` is not an integer");if(!Array.isArray(t))throw new Error("`nodes` is not an array");return{type:"Block",nodes:t,line:e,filename:this.filename}},emptyBlock:function(e){return this.initBlock(e,[])},runPlugin:function(e,t){var i=[this];for(var r=2;r{"use strict";e.exports=["a","abbr","acronym","b","br","code","em","font","i","img","ins","kbd","map","samp","small","span","strong","sub","sup"]},264:(e,t,i)=>{"use strict";var r=i(7147);var n=i(7366);var s=i(4753);var a=i(5182);e.exports=build;function build(e){var t=[];e=e.filter((function(e){return!s[e]}));for(var i=0;i{"use strict";var r=Object.prototype.hasOwnProperty;t.merge=pug_merge;function pug_merge(e,t){if(arguments.length===1){var i=e[0];for(var r=1;r]/;t.escape=pug_escape;function pug_escape(e){var t=""+e;var i=n.exec(t);if(!i)return e;var r="";var s,a,o;for(s=i.index,a=0;s ":" ")+i+"| "+e})).join("\n");e.path=t;try{e.message=(t||"Pug")+":"+r+"\n"+s+"\n\n"+e.message}catch(e){}throw e}},7366:e=>{e.exports={has_own_property:[],merge:["style"],classes_array:["classes","escape"],classes_object:["has_own_property"],classes:["classes_array","classes_object"],style:["has_own_property"],attr:["escape"],attrs:["attr","classes","has_own_property","style"],match_html:[],escape:["match_html"],rethrow:[]}},4753:e=>{e.exports={dependencies:true,internals:true,has_own_property:true,classes_array:true,classes_object:true,match_html:true}},5182:e=>{e.exports={has_own_property:"var pug_has_own_property=Object.prototype.hasOwnProperty;",merge:'function pug_merge(e,r){if(1===arguments.length){for(var t=e[0],g=1;g]/;',escape:'function pug_escape(e){var a=""+e,t=pug_match_html.exec(a);if(!t)return e;var r,c,n,s="";for(r=t.index,c=0;r ":" ")+t+"| "+e}).join("\\n"),e.path=n;try{e.message=(n||"Pug")+":"+r+"\\n"+o+"\\n\\n"+e.message}catch(e){}throw e}'}},2696:(e,t,i)=>{var r=i(5804);e.exports=wrap;function wrap(e,t){t=t||"template";return Function("pug",e+"\n"+"return "+t+";")(r)}},5477:(e,t,i)=>{"use strict";var r=i(3520);e.exports=stripComments;function unexpectedToken(e,t,i,n){var s="`"+e+"` encountered when "+t;throw r("UNEXPECTED_TOKEN",s,{filename:i,line:n})}function stripComments(e,t){t=t||{};var i=t.stripUnbuffered!==false;var r=t.stripBuffered===true;var n=t.filename;var s=[];var a=false;var o=false;return e.filter((function(e){switch(e.type){case"comment":if(a){unexpectedToken("comment","already in a comment",n,e.line)}else{a=e.buffer?r:i;return!a}case"start-pipeless-text":if(!a)return true;if(o){unexpectedToken("start-pipeless-text","already in pipeless text mode",n,e.line)}o=true;return false;case"end-pipeless-text":if(!a)return true;if(!o){unexpectedToken("end-pipeless-text","not in pipeless text mode",n,e.line)}o=false;a=false;return false;case"text":return!a;default:if(o)return false;a=false;return true}}))}},6147:e=>{"use strict";e.exports=walkAST;function walkAST(e,t,i,r){if(i&&typeof i==="object"&&typeof r==="undefined"){r=i;i=null}r=r||{includeDependencies:false};var n=r.parents=r.parents||[];var s=function replace(t){if(Array.isArray(t)&&!replace.arrayAllowed){throw new Error("replace() can only be called with an array if the last parent is a Block or NamedBlock")}e=t};s.arrayAllowed=n[0]&&(/^(Named)?Block$/.test(n[0].type)||n[0].type==="RawInclude"&&e.type==="IncludeFilter");if(t){var a=t(e,s);if(a===false){return e}else if(Array.isArray(e)){return walkAndMergeNodes(e)}}n.unshift(e);switch(e.type){case"NamedBlock":case"Block":e.nodes=walkAndMergeNodes(e.nodes);break;case"Case":case"Filter":case"Mixin":case"Tag":case"InterpolatedTag":case"When":case"Code":case"While":if(e.block){e.block=walkAST(e.block,t,i,r)}break;case"Each":if(e.block){e.block=walkAST(e.block,t,i,r)}if(e.alternate){e.alternate=walkAST(e.alternate,t,i,r)}break;case"EachOf":if(e.block){e.block=walkAST(e.block,t,i,r)}break;case"Conditional":if(e.consequent){e.consequent=walkAST(e.consequent,t,i,r)}if(e.alternate){e.alternate=walkAST(e.alternate,t,i,r)}break;case"Include":walkAST(e.block,t,i,r);walkAST(e.file,t,i,r);break;case"Extends":walkAST(e.file,t,i,r);break;case"RawInclude":e.filters=walkAndMergeNodes(e.filters);walkAST(e.file,t,i,r);break;case"Attrs":case"BlockComment":case"Comment":case"Doctype":case"IncludeFilter":case"MixinBlock":case"YieldBlock":case"Text":break;case"FileReference":if(r.includeDependencies&&e.ast){walkAST(e.ast,t,i,r)}break;default:throw new Error("Unexpected node type "+e.type);break}n.shift();i&&i(e,s);return e;function walkAndMergeNodes(e){return e.reduce((function(e,n){var s=walkAST(n,t,i,r);if(Array.isArray(s)){return e.concat(s)}else{return e.concat([s])}}),[])}}},7638:(e,t,i)=>{"use strict"; -/*! - * Pug - * Copyright(c) 2010 TJ Holowaychuk - * MIT Licensed - */var r=i(7147);var n=i(1017);var s=i(267);var a=i(5477);var o=i(1227);var l=i(6397);var c=i(1879);var u=i(6502);var h=i(4880);var p=i(5804);var f=i(2696);t.name="Pug";t.runtime=p;t.cache={};function applyPlugins(e,t,i,r){return i.reduce((function(e,i){return i[r]?i[r](e,t):e}),e)}function findReplacementFunc(e,t){var i=e.filter((function(e){return e[t]}));if(i.length>1){throw new Error("Two or more plugins all implement "+t+" method.")}else if(i.length){return i[0][t].bind(i[0])}return null}t.filters={};function compileBody(e,i){var r={};r[i.filename]=e;var p=[];var f=i.plugins||[];var d=l.string(e,{filename:i.filename,basedir:i.basedir,lex:function(e,t){var i={};Object.keys(t).forEach((function(e){i[e]=t[e]}));i.plugins=f.filter((function(e){return!!e.lex})).map((function(e){return e.lex}));var r=applyPlugins(e,{filename:t.filename},f,"preLex");return applyPlugins(s(r,i),t,f,"postLex")},parse:function(e,t){e=e.map((function(e){if(e.type==="path"&&n.extname(e.val)===""){return{type:"path",loc:e.loc,val:e.val+".pug"}}return e}));e=a(e,t);e=applyPlugins(e,t,f,"preParse");var i={};Object.keys(t).forEach((function(e){i[e]=t[e]}));i.plugins=f.filter((function(e){return!!e.parse})).map((function(e){return e.parse}));return applyPlugins(applyPlugins(o(e,i),t,f,"postParse"),t,f,"preLoad")},resolve:function(e,t,r){var n=findReplacementFunc(f,"resolve");if(n){return n(e,t,i)}return l.resolve(e,t,r)},read:function(e,t){p.push(e);var n;var s=findReplacementFunc(f,"read");if(s){n=s(e,i)}else{n=l.read(e,t)}r[e]=Buffer.isBuffer(n)?n.toString("utf8"):n;return n}});d=applyPlugins(d,i,f,"postLoad");d=applyPlugins(d,i,f,"preFilters");var m={};Object.keys(t.filters).forEach((function(e){m[e]=t.filters[e]}));if(i.filters){Object.keys(i.filters).forEach((function(e){m[e]=i.filters[e]}))}d=c.handleFilters(d,m,i.filterOptions,i.filterAliases);d=applyPlugins(d,i,f,"postFilters");d=applyPlugins(d,i,f,"preLink");d=u(d);d=applyPlugins(d,i,f,"postLink");d=applyPlugins(d,i,f,"preCodeGen");var v=(findReplacementFunc(f,"generateCode")||h)(d,{pretty:i.pretty,compileDebug:i.compileDebug,doctype:i.doctype,inlineRuntimeFunctions:i.inlineRuntimeFunctions,globals:i.globals,self:i.self,includeSources:i.includeSources?r:false,templateName:i.templateName});v=applyPlugins(v,i,f,"postCodeGen");if(i.debug){console.error("\nCompiled Function:\n\n%s",v.replace(/^/gm," "))}return{body:v,dependencies:p}}function handleTemplateCache(e,i){var n=e.filename;if(e.cache&&t.cache[n]){return t.cache[n]}else{if(i===undefined)i=r.readFileSync(e.filename,"utf8");var s=t.compile(i,e);if(e.cache)t.cache[n]=s;return s}}t.compile=function(e,t){var t=t||{};e=String(e);var i=compileBody(e,{compileDebug:t.compileDebug!==false,filename:t.filename,basedir:t.basedir,pretty:t.pretty,doctype:t.doctype,inlineRuntimeFunctions:t.inlineRuntimeFunctions,globals:t.globals,self:t.self,includeSources:t.compileDebug===true,debug:t.debug,templateName:"template",filters:t.filters,filterOptions:t.filterOptions,filterAliases:t.filterAliases,plugins:t.plugins});var r=t.inlineRuntimeFunctions?new Function("",i.body+";return template;")():f(i.body);r.dependencies=i.dependencies;return r};t.compileClientWithDependenciesTracked=function(e,t){var t=t||{};e=String(e);var i=compileBody(e,{compileDebug:t.compileDebug,filename:t.filename,basedir:t.basedir,pretty:t.pretty,doctype:t.doctype,inlineRuntimeFunctions:t.inlineRuntimeFunctions!==false,globals:t.globals,self:t.self,includeSources:t.compileDebug,debug:t.debug,templateName:t.name||"template",filters:t.filters,filterOptions:t.filterOptions,filterAliases:t.filterAliases,plugins:t.plugins});var r=i.body;if(t.module){if(t.inlineRuntimeFunctions===false){r='var pug = require("pug-runtime");'+r}r+=" module.exports = "+(t.name||"template")+";"}return{body:r,dependencies:i.dependencies}};t.compileClient=function(e,i){return t.compileClientWithDependenciesTracked(e,i).body};t.compileFile=function(e,t){t=t||{};t.filename=e;return handleTemplateCache(t)};t.render=function(e,i,r){if("function"==typeof i){r=i,i=undefined}if(typeof r==="function"){var n;try{n=t.render(e,i)}catch(e){return r(e)}return r(null,n)}i=i||{};if(i.cache&&!i.filename){throw new Error('the "filename" option is required for caching')}return handleTemplateCache(i,e)(i)};t.renderFile=function(e,i,r){if("function"==typeof i){r=i,i=undefined}if(typeof r==="function"){var n;try{n=t.renderFile(e,i)}catch(e){return r(e)}return r(null,n)}i=i||{};i.filename=e;return handleTemplateCache(i)(i)};t.compileFileClient=function(e,i){var n=e+":client";i=i||{};i.filename=e;if(i.cache&&t.cache[n]){return t.cache[n]}var s=r.readFileSync(i.filename,"utf8");var a=t.compileClient(s,i);if(i.cache)t.cache[n]=a;return a};t.__express=function(e,i,r){if(i.compileDebug==undefined&&process.env.NODE_ENV==="production"){i.compileDebug=false}t.renderFile(e,i,r)}},6510:(e,t,i)=>{var r=i(6922);r.core=i(3284);r.isCore=i(9069);r.sync=i(9920);e.exports=r},6922:(e,t,i)=>{var r=i(7147);var n=i(209);var s=i(1017);var a=i(8177);var o=i(3617);var l=i(7603);var c=i(784);var u=process.platform!=="win32"&&r.realpath&&typeof r.realpath.native==="function"?r.realpath.native:r.realpath;var h=n();var defaultPaths=function(){return[s.join(h,".node_modules"),s.join(h,".node_libraries")]};var p=function isFile(e,t){r.stat(e,(function(e,i){if(!e){return t(null,i.isFile()||i.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};var f=function isDirectory(e,t){r.stat(e,(function(e,i){if(!e){return t(null,i.isDirectory())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};var d=function realpath(e,t){u(e,(function(i,r){if(i&&i.code!=="ENOENT")t(i);else t(null,i?e:r)}))};var m=function maybeRealpath(e,t,i,r){if(i&&i.preserveSymlinks===false){e(t,r)}else{r(null,t)}};var v=function defaultReadPackage(e,t,i){e(t,(function(e,t){if(e)i(e);else{try{var r=JSON.parse(t);i(null,r)}catch(e){i(null)}}}))};var y=function getPackageCandidates(e,t,i){var r=o(t,i,e);for(var n=0;n{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;Error.prepareStackTrace=e;return t[2].getFileName()}},3284:(e,t,i)=>{"use strict";var r=i(784);var n=i(2950);var s={};for(var a in n){if(Object.prototype.hasOwnProperty.call(n,a)){s[a]=r(a)}}e.exports=s},209:(e,t,i)=>{"use strict";var r=i(2037);e.exports=r.homedir||function homedir(){var e=process.env.HOME;var t=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;if(process.platform==="win32"){return process.env.USERPROFILE||process.env.HOMEDRIVE+process.env.HOMEPATH||e||null}if(process.platform==="darwin"){return e||(t?"/Users/"+t:null)}if(process.platform==="linux"){return e||(process.getuid()===0?"/root":t?"/home/"+t:null)}return e||null}},9069:(e,t,i)=>{var r=i(784);e.exports=function isCore(e){return r(e)}},3617:(e,t,i)=>{var r=i(1017);var n=r.parse||i(4187);var s=function getNodeModulesDirs(e,t){var i="/";if(/^([A-Za-z]:)/.test(e)){i=""}else if(/^\\\\/.test(e)){i="\\\\"}var s=[e];var a=n(e);while(a.dir!==s[s.length-1]){s.push(a.dir);a=n(a.dir)}return s.reduce((function(e,n){return e.concat(t.map((function(e){return r.resolve(i,n,e)})))}),[])};e.exports=function nodeModulesPaths(e,t,i){var r=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths==="function"){return t.paths(i,e,(function(){return s(e,r)}),t)}var n=s(e,r);return t&&t.paths?n.concat(t.paths):n}},7603:e=>{e.exports=function(e,t){return t||{}}},9920:(e,t,i)=>{var r=i(784);var n=i(7147);var s=i(1017);var a=i(209);var o=i(8177);var l=i(3617);var c=i(7603);var u=process.platform!=="win32"&&n.realpathSync&&typeof n.realpathSync.native==="function"?n.realpathSync.native:n.realpathSync;var h=a();var defaultPaths=function(){return[s.join(h,".node_modules"),s.join(h,".node_libraries")]};var p=function isFile(e){try{var t=n.statSync(e,{throwIfNoEntry:false})}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return!!t&&(t.isFile()||t.isFIFO())};var f=function isDirectory(e){try{var t=n.statSync(e,{throwIfNoEntry:false})}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return!!t&&t.isDirectory()};var d=function realpathSync(e){try{return u(e)}catch(e){if(e.code!=="ENOENT"){throw e}}return e};var m=function maybeRealpathSync(e,t,i){if(i&&i.preserveSymlinks===false){return e(t)}return t};var v=function defaultReadPackageSync(e,t){var i=e(t);try{var r=JSON.parse(i);return r}catch(e){}};var y=function getPackageCandidates(e,t,i){var r=l(t,i,e);for(var n=0;n{"use strict";e.exports=TokenStream;function TokenStream(e){if(!Array.isArray(e)){throw new TypeError("tokens must be passed to TokenStream as an array.")}this._tokens=e}TokenStream.prototype.lookahead=function(e){if(this._tokens.length<=e){throw new Error("Cannot read past the end of a stream")}return this._tokens[e]};TokenStream.prototype.peek=function(){if(this._tokens.length===0){throw new Error("Cannot read past the end of a stream")}return this._tokens[0]};TokenStream.prototype.advance=function(){if(this._tokens.length===0){throw new Error("Cannot read past the end of a stream")}return this._tokens.shift()};TokenStream.prototype.defer=function(e){this._tokens.unshift(e)}},4449:e=>{e.exports={area:true,base:true,br:true,col:true,embed:true,hr:true,img:true,input:true,link:true,meta:true,param:true,source:true,track:true,wbr:true}},133:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))r(t,e,i);n(t,e);return t};var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const o=a(i(4510));const l=i(3414);const c=s(i(6638));const u=a(i(7439));const isScope=e=>c.isFunctionParent(e)||c.isProgram(e);const isBlockScope=e=>c.isBlockStatement(e)||isScope(e);const declaresArguments=e=>c.isFunction(e)&&!c.isArrowFunctionExpression(e);const h=declaresArguments;const p=Symbol("locals");const getLocals=e=>e[p];const declareLocals=e=>e[p]=e[p]||new Set;const setLocal=(e,t)=>declareLocals(e).add(t);function declareFunction(e){for(const t of e.params){declarePattern(t,e)}const t=e.id;if(t){setLocal(e,t.name)}}function declarePattern(e,t){switch(e.type){case"Identifier":setLocal(t,e.name);break;case"ObjectPattern":for(const i of e.properties){switch(i.type){case"RestElement":declarePattern(i.argument,t);break;case"ObjectProperty":declarePattern(i.value,t);break;default:o.default(i);break}}break;case"ArrayPattern":for(const i of e.elements){if(i)declarePattern(i,t)}break;case"RestElement":declarePattern(e.argument,t);break;case"AssignmentPattern":declarePattern(e.left,t);break;default:throw new Error("Unrecognized pattern type: "+e.type)}}function declareModuleSpecifier(e,t,i){for(let t=i.length-2;t>=0;t--){if(isScope(i[t])){setLocal(i[t],e.local.name);return}}}const f=l.ancestor({VariableDeclaration(e,t,i){for(let t=i.length-2;t>=0;t--){if(e.kind==="var"?c.isFunctionParent(i[t]):isBlockScope(i[t])){for(const r of e.declarations){declarePattern(r.id,i[t])}return}}},FunctionDeclaration(e,t,i){if(e.id){for(let t=i.length-2;t>=0;t--){if(isScope(i[t])){setLocal(i[t],e.id.name);return}}}},Function:declareFunction,ClassDeclaration(e,t,i){for(let t=i.length-2;t>=0;t--){if(isScope(i[t])){setLocal(i[t],e.id.name);return}}},TryStatement(e){if(e.handler===null)return;if(e.handler.param===null)return;declarePattern(e.handler.param,e.handler)},ImportDefaultSpecifier:declareModuleSpecifier,ImportSpecifier:declareModuleSpecifier,ImportNamespaceSpecifier:declareModuleSpecifier});const d=l.ancestor({Identifier(e,t,i){var r;const n=e.name;if(n==="undefined")return;const s=i[i.length-2];if(s){if(!u.default(e,s))return;for(const e of i){if(n==="arguments"&&declaresArguments(e)){return}if((r=getLocals(e))===null||r===void 0?void 0:r.has(n)){return}}}t.globals.push(e)},ThisExpression(e,t,i){for(const e of i){if(h(e)){return}}t.globals.push(e)}});function findGlobals(e){const t=[];if(!c.isNode(e)){throw new TypeError("Source must be a Babylon AST")}f(e,undefined);d(e,{globals:t});const i=new Map;for(const e of t){const t=e.type==="ThisExpression"?"this":e.name;const r=i.get(t);if(r){r.push(e)}else{i.set(t,[e])}}return[...i].map((([e,t])=>({name:e,nodes:t}))).sort(((e,t)=>e.namee.name))]);const a=new Set(u.default(r).map((e=>e.name)).filter((e=>!s.has(e))));if(a.size===0)return t;let l="";let p="locals_for_with";let f="result_of_with";if(c.isValidIdentifier(e)){p=e}else{while(a.has(p)||s.has(p)){p+="_"}l=`var ${p} = (${e});`}while(a.has(f)||s.has(f)){f+="_"}const d=["this",...Array.from(a).map((e=>`${JSON.stringify(e)} in ${p} ?\n ${p}.${e} :\n typeof ${e} !== 'undefined' ? ${e} : undefined`))];const m=unwrapReturns(r,t,f);return`;\n ${l}\n ${m.before}\n (function (${Array.from(a).join(", ")}) {\n ${m.body}\n }.call(${d.join(", ")}));\n ${m.after};`}t["default"]=addWith;const p=l.recursive({Function(e,t,i){},ReturnStatement(e,t){t.hasReturn=true;let i="";if(e.argument){i=`value: (${t.source(e.argument)})`}t.replace(e,`return {${i}};`)}});function unwrapReturns(e,t,i){const r=t.split("");const n={hasReturn:false,source(e){return t.slice(e.start,e.end)},replace(e,t){r.fill("",e.start,e.end);r[e.start]=t}};p(e,n);return{before:n.hasReturn?`var ${i} = `:"",body:r.join(""),after:n.hasReturn?`;if (${i}) return ${i}.value`:""}}e.exports=addWith;e.exports["default"]=addWith},7439:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))r(t,e,i);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});const a=s(i(6638));function isReferenced(e,t){switch(t.type){case"ObjectProperty":return t.value===e||t.computed;case"BreakStatement":case"ContinueStatement":return false;case"AssignmentExpression":return true}return a.isReferenced(e,t)}t["default"]=isReferenced},7780:e=>{"use strict";e.exports=require("@babel/parser")},6638:e=>{"use strict";e.exports=require("@babel/types")},9491:e=>{"use strict";e.exports=require("assert")},3639:e=>{"use strict";e.exports=require("domain")},7147:e=>{"use strict";e.exports=require("fs")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},4055:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16","async_hooks":">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],"buffer_ieee754":">= 0.5 && < 0.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],"_http_agent":">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],"_http_client":">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],"_http_common":">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],"_http_incoming":">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],"_http_outgoing":">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],"_http_server":">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],"http":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12","os":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16","perf_hooks":">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],"process":">= 1","node:process":[">= 14.18 && < 15",">= 16"],"punycode":">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17","repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],"_stream_transform":">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],"_stream_wrap":">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],"_stream_passthrough":">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],"_stream_readable":">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],"_stream_writable":">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],"stream":true,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5","string_decoder":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],"timers":true,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16","_tls_common":">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],"_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],"tls":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8":">= 1","node:v8":[">= 14.18 && < 15",">= 16"],"vm":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],"worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}')},2950:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16","async_hooks":">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],"buffer_ieee754":">= 0.5 && < 0.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],"_http_agent":">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],"_http_client":">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],"_http_common":">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],"_http_incoming":">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],"_http_outgoing":">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],"_http_server":">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],"http":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12","os":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16","perf_hooks":">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],"process":">= 1","node:process":[">= 14.18 && < 15",">= 16"],"punycode":">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17","repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],"_stream_transform":">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],"_stream_wrap":">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],"_stream_passthrough":">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],"_stream_readable":">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],"_stream_writable":">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],"stream":true,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5","string_decoder":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],"timers":true,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16","_tls_common":">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],"_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],"tls":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8":">= 1","node:v8":[">= 14.18 && < 15",">= 16"],"vm":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],"worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}')}};var t={};function __nccwpck_require__(i){var r=t[i];if(r!==undefined){return r.exports}var n=t[i]={exports:{}};var s=true;try{e[i].call(n.exports,n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete t[i]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var i=__nccwpck_require__(7638);module.exports=i})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/pug/license b/packages/builder/builder-shared/compiled/pug/license deleted file mode 100644 index 0f3c76789296..000000000000 --- a/packages/builder/builder-shared/compiled/pug/license +++ /dev/null @@ -1,22 +0,0 @@ -(The MIT License) - -Copyright (c) 2009-2014 TJ Holowaychuk - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/pug/package.json b/packages/builder/builder-shared/compiled/pug/package.json deleted file mode 100644 index 2f7e5c6e396c..000000000000 --- a/packages/builder/builder-shared/compiled/pug/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"pug","author":"TJ Holowaychuk ","version":"3.0.2","license":"MIT"} diff --git a/packages/builder/builder-shared/compiled/resolve-url-loader/index.d.ts b/packages/builder/builder-shared/compiled/resolve-url-loader/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/builder-shared/compiled/resolve-url-loader/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/builder-shared/compiled/resolve-url-loader/index.js b/packages/builder/builder-shared/compiled/resolve-url-loader/index.js deleted file mode 100644 index 73bac7614f52..000000000000 --- a/packages/builder/builder-shared/compiled/resolve-url-loader/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={9653:(e,r,t)=>{"use strict";var n=t(1017),o=t(7147);e.exports={name:"absolute",decode:decode,encode:encode,root:root};function decode(e){return n.isAbsolute(e)&&o.existsSync(e)&&o.statSync(e).isFile()&&e}function encode(e){return e}function root(){}},1199:e=>{"use strict";e.exports={name:"bowerComponent",decode:decode,abstract:true};function decode(e){return/^\/?([\w-]+)\s+\(bower component\)$/.test(e)}},3175:(e,r,t)=>{e.exports=[t(6261),t(2336),t(1199),t(6221),t(1358),t(3082),t(8155),t(8876),t(8940),t(6652),t(9653)]},6221:(e,r,t)=>{"use strict";var n=t(1017),o=t(7147);var i=t(3300);var s=t(7982);e.exports={name:"npmModule",decode:decode};function decode(e){if(/~/.test(e)){var r=i.urlToRequest(e),t=s.call(this),a=n.normalize(n.join(t,"node_modules",r)),u=!!a&&o.existsSync(a)&&o.statSync(a).isFile();return u&&a}}},1358:(e,r,t)=>{"use strict";var n=t(1017),o=t(7147);var i=t(7965);e.exports={name:"outputRelative",decode:decode,encode:encode,root:i};function decode(e){var r=!e.startsWith("/")&&i.call(this),t=!!r&&n.normalize(n.join(r,e)),s=!!t&&o.existsSync(t)&&o.statSync(t).isFile();return s&&t}function encode(e){var r=i.call(this);if(!r){throw new Error("Cannot locate the Webpack output directory")}else{return n.relative(r,e)}}},3082:(e,r,t)=>{"use strict";var n=t(1358);e.exports={name:"outputRootRelative",decode:decode,encode:encode,root:n.root};function decode(e){return e.startsWith("/")&&n.decode.call(this,e.slice(1))}function encode(e){return"/"+n.encode.call(this,e)}},8155:(e,r,t)=>{"use strict";var n=t(1017),o=t(7147);var i=t(7982),s=t(2014);e.exports={name:"projectRelative",decode:decode,encode:encode,root:i};function decode(e){var r=!e.startsWith("/")&&i.call(this),t=!!r&&n.normalize(n.join(r,e)),s=!!t&&o.existsSync(t)&&o.statSync(t).isFile();return s&&t}function encode(e){var r=i.call(this);if(!r){throw new Error("Cannot locate the Webpack project directory")}else{return s(r,e)}}},8876:(e,r,t)=>{"use strict";var n=t(8155);e.exports={name:"projectRootRelative",decode:decode,encode:encode,root:n.root};function decode(e){return e.startsWith("/")&&n.decode.call(this,e.slice(1))}function encode(e){return"/"+n.encode.call(this,e)}},8940:(e,r,t)=>{"use strict";var n=t(1017),o=t(7147);e.exports={name:"sourceRelative",decode:decode,encode:encode,root:root};function decode(e){var r=!e.startsWith("/")&&this.context,t=!!r&&n.normalize(n.join(r,e)),i=!!t&&o.existsSync(t)&&o.statSync(t).isFile();return i&&t}function encode(e){return n.relative(this.context,e)}function root(){return this.context}},6652:(e,r,t)=>{"use strict";var n=t(8940);e.exports={name:"sourceRootRelative",decode:decode,encode:encode,root:n.root};function decode(e){return e.startsWith("/")&&n.decode.call(this,e.slice(1))}function encode(e){return"/"+n.encode.call(this,e)}},2014:(e,r,t)=>{"use strict";var n=t(7147),o=t(1017);var i;function enhancedRelative(e,r){var t=o.relative(e,r);var s=t.replace(/^\.{2}[\\\/]/,""),a=r.replace(s,"");var u=t===s;if(u){return t}else{var c=s.split(/[\\\/]/);for(var l=i?2:1,p=false;l>0&&!p;l--){i=i||indexLinkedModules(e);for(var f=0;f0){var i=r.shift(),s=o.join(i,"package.json"),a=n.existsSync(s)&&require(s).name;if(a){t[a]=t[a]||i;r.push.apply(r,listSymLinkedModules(i))}}return t;function listSymLinkedModules(e){var r=o.join(e,"node_modules"),t=n.existsSync(r)&&n.statSync(r).isDirectory(),i=!!t&&n.readdirSync(r)||[];return i.map(joinDirectory).filter(testIsSymLink);function joinDirectory(e){return o.join(r,e)}function testIsSymLink(e){return n.lstatSync(e).isSymbolicLink()}}}},7982:(e,r,t)=>{"use strict";var n=t(1017);function getContextDirectory(){var e=this.options?this.options.context:null;return!!e&&n.resolve(e)||process.cwd()}e.exports=getContextDirectory},7965:(e,r,t)=>{"use strict";var n=t(1017),o=t(7147);var i=t(7982);function getOutputDirectory(){var e=this.options&&this.options.output?this.options.output.directory:null,r=!!e&&n.resolve(i.call(this),e),t=!!r&&o.existsSync(r)&&o.statSync(r).isDirectory();return t?r:undefined}e.exports=getOutputDirectory},2336:e=>{"use strict";e.exports={name:"webpackBootstrap",decode:decode,abstract:true};function decode(e){return/^webpack\/bootstrap\s+\w{20}$/.test(e)}},6261:(e,r,t)=>{"use strict";var n=t(8155);e.exports={name:"webpackProtocol",decode:decode,encode:encode,root:root};function decode(e){var r=/^webpack:\/{2}(.*)$/.exec(e);return!!r&&n.decode.call(this,r[1])}function encode(e){return"webpack://"+n.encode.call(this,e)}function root(){}},4303:(e,r,t)=>{"use strict";var n=t(3684).name,o=new Array(11).join(" ");function debugMessage(e,r){return[" ",n+":"," "+e.resourcePath,formatField("@",precedingRequest(e)),formatField("INPUT",r.input||"(source-map absent)"),formatField("ABSOLUTE",r.absolute),formatField("OUTPUT",r.output),formatField("ROOT",r.root)].filter(Boolean).join("\n")}e.exports=debugMessage;function precedingRequest(e){var r="loaderIndex"in e&&"loaders"in e&&Array.isArray(e.loaders);if(r){var t=e.loaderIndex+1;return t in e.loaders?e.loaders[t].request:"(no preceding loader)"}}function formatField(e,r){return!!r&&rightAlign(e)+formatData(r);function rightAlign(e){return(o+e+" ").slice(-o.length)}function formatData(e){return Array.isArray(e)?e.join("\n"+o):e}}},6823:(e,r,t)=>{"use strict";var n=t(7486);function decodeSourcesWith(e,r){var t=this;var n=[].concat(e).reduce(reduceValidDecoder.bind(null,e),[]);return function decode(e){for(var o=0,i=null;o{"use strict";var n=t(7486),o=t(9520);function encodeSourcesWith(e){var r=this,t=n("encode")(e);if(!t){return new o('Specified format does not support encoding (it lacks an "encoder" function)')}else{return function encode(n){var o;try{o=n&&t.call(r,n)}catch(e){return getNamedError(e)}return o;function getNamedError(r){var t=e.name||"(unnamed)",o=["Encoding with codec: "+t,"Absolute source: "+n,r&&(r.stack?r.stack:r)].filter(Boolean).join("\n");return new Error(o)}}}}e.exports=encodeSourcesWith},9520:(e,r,t)=>{"use strict";var n=t(3684).name;function getError(){var e=(n+":\n"+Array.prototype.slice.call(arguments).join(" ")).split(/\s*\n\s*/).join("\n ");return new Error(e)}e.exports=getError},7486:e=>{"use strict";function getFieldAsFn(e){return function getFromValue(r){return!!r&&typeof r==="object"&&typeof r[e]==="function"&&r[e]}}e.exports=getFieldAsFn},1952:(e,r,t)=>{"use strict";var n=t(4303),o=t(8088),i=t(7575),s=t(6823),a=t(2232),u=t(1520),c=t(5957);var l=t(3175);function process(e,r,t){var p=Object.assign({sep:"/",debug:false,fail:false,format:false,root:false,codecs:l},r);var f=p.codecs.filter(c);var d=!!t&&typeof t==="object"&&t,g=typeof t==="string"&&t,h=d&&d.sources||g&&[g];var m,v,S,_;if(h){m=h.map(s.call(e,f,p.fail));i(e.resourcePath,m);_=!d||p.format==="remove"?undefined:Object.assign({},d);if(p.format){var y=f.filter(testNamedCodec).pop();if(!y){throw new Error('Specified format "'+p.format+'" does not match any available codec.')}v=m.map(u.call(e,y)).map(insertAbstractSources).map(convertPathSep);S=!!p.root&&a.call(e,y)()||undefined;i(e.resourcePath,v.concat(S));if(_){_.sources=v;_.sourceRoot=S}}}var C=o(p.debug).test(e.resourcePath);if(C){console.log(n(e,{input:h,absolute:m,output:v,root:S}))}return d?_:v?v[0]:undefined;function testNamedCodec(e){return e.name===p.format}function insertAbstractSources(e,r){return e||h[r]}function convertPathSep(e){return e instanceof Error?e:e.replace(/[\\\/]/g,p.sep)}}e.exports=process},2232:(e,r,t)=>{"use strict";var n=t(7486),o=t(9520);function locateRootWith(e){var r=this,t=n("root")(e);if(!t){return new o('Specified format does not support encoding (it lacks a "root" function)')}else{return function locate(){var n;try{n=t.call(r)}catch(e){return getNamedError(e)}return n;function getNamedError(r){var t=e.name||"(unnamed)",n=["Locating root with codec: "+t,r&&(r.stack?r.stack:r)].filter(Boolean).join("\n");return new Error(n)}}}}e.exports=locateRootWith},5957:(e,r,t)=>{"use strict";var n=t(9491);function testCodec(e){n(!!e&&typeof e==="object","Codec must be an object");n(typeof e.name==="string"&&/^[\w-]+$/.test(e.name),"Codec.name must be a kebab-case string");n(typeof e.decode==="function"&&e.decode.length===1,"Codec.decode must be a function that accepts a single source string");n(typeof e.encode==="undefined"||typeof e.encode==="function"&&e.encode.length===1,"Codec.encode must be a function that accepts a single absolute path string, or else be omitted");n(typeof e.root==="undefined"||typeof e.root==="function"&&e.root.length===0,"Codec.root must be a function that accepts no arguments, or else be omitted");return true}e.exports=testCodec},7575:(e,r,t)=>{"use strict";var n=t(9520);function throwErrors(e,r){var t=!!r&&r.filter(testIsError).map(getMessage);var o=!!t&&t.length;if(o){throw n(["For resource: "+e].concat(t).join("\n"))}function testIsError(e){return!!e&&typeof e==="object"&&e instanceof Error}function getMessage(e){return e.message}}e.exports=throwErrors},8088:(e,r,t)=>{"use strict";var n=t(3794);var o=/(\/?)(.+)\1([a-z]*)/i;function toRegExp(e){return typeof e==="object"&&typeof e.test==="function"&&e||typeof e==="string"&&o.test(e)&&n(e)||/^true$|^$/.test(e)&&/.*/||/matchnone^/}e.exports=toRegExp},3794:e=>{"use strict";var r=e.exports=function(e){if(typeof e!=="string"){throw new Error("Invalid input. Input must be a string")}var r=e.match(/(\/?)(.+)\1([a-z]*)/i);if(r[3]&&!/^(?!.*?(.).*?\1)[gmixXsuUAJ]+$/.test(r[3])){return RegExp(e)}return new RegExp(r[2],r[3])}},4393:(e,r,t)=>{"use strict";const n=t(2037);const o=t(1017);const i=t(7147);const s=t(3837);const a=t(3300);const u=t(7435).SourceMapConsumer;const c=t(1952);const l=t(5331);const p=t(9185);const f=t(4232);const d={engine:["DEP_RESOLVE_URL_LOADER_OPTION_ENGINE",'"engine" option has been removed, postcss is the only parser used'],keepQuery:["DEP_RESOLVE_URL_LOADER_OPTION_KEEP_QUERY",'"keepQuery" option has been removed, the query and/or hash are now always retained'],absolute:["DEP_RESOLVE_URL_LOADER_OPTION_ABSOLUTE",'"absolute" option has been removed, consider the "join" option if absolute paths must be processed'],attempts:["DEP_RESOLVE_URL_LOADER_OPTION_ATTEMPTS",'"attempts" option has been removed, consider the "join" option if search is needed'],includeRoot:["DEP_RESOLVE_URL_LOADER_OPTION_INCLUDE_ROOT",'"includeRoot" option has been removed, consider the "join" option if search is needed'],fail:["DEP_RESOLVE_URL_LOADER_OPTION_FAIL",'"fail" option has been removed']};function resolveUrlLoader(e,r){const g=this;if(/^\./.test(g.context)){return handleAsError("webpack misconfiguration","loader.context is relative, expected absolute")}const h="getOptions"in g&&typeof g.getOptions==="function";const m=h?g.getOptions():a.getOptions(g);const v=Object.assign({sourceMap:g.sourceMap,silent:false,removeCR:n.EOL.includes("\r"),root:false,debug:false,join:p.defaultJoin},m);if(process.env.RESOLVE_URL_LOADER_TEST_HARNESS){f(process[process.env.RESOLVE_URL_LOADER_TEST_HARNESS],v)}const S=Object.entries(d).filter((([e])=>e in m));if(S.length){S.forEach((([,e])=>handleAsDeprecated(...e)))}if(typeof v.join!=="function"){return handleAsError("loader misconfiguration",'"join" option must be a Function')}else if(v.join.length!==2){return handleAsError("loader misconfiguration",'"join" Function must take exactly 2 arguments (options, loader)')}const _=v.join(v,g);if(typeof _!=="function"){return handleAsError("loader misconfiguration",'"join" option must itself return a Function when it is called')}else if(_.length!==1){return handleAsError("loader misconfiguration",'"join" Function must create a function that takes exactly 1 arguments (item)')}if(typeof v.root==="string"){const e=v.root===""||o.isAbsolute(v.root)&&i.existsSync(v.root)&&i.statSync(v.root).isDirectory();if(!e){return handleAsError("loader misconfiguration",'"root" option must be an empty string or an absolute path to an existing directory')}}else if(v.root!==false){handleAsWarning("loader misconfiguration",'"root" option must be string where used or false where unused')}g.cacheable();let y=null;let C=null;if(r){if(typeof r==="string"){try{r=JSON.parse(r)}catch(e){return handleAsError("source-map error","cannot parse source-map string (from less-loader?)")}}try{y=c(g,{format:"absolute"},r)}catch(e){return handleAsError("source-map error",e.message)}C=new u(y)}else{handleAsWarning("webpack misconfiguration","webpack or the upstream loader did not supply a source-map")}let M=null;try{M=t(3388)}catch(e){return handleAsError("error initialising",e)}const A=g.async();Promise.resolve(M(g.resourcePath,e,{outputSourceMap:!!v.sourceMap,absSourceMap:y,sourceMapConsumer:C,removeCR:v.removeCR,transformDeclaration:l({join:_,root:v.root,directory:o.dirname(g.resourcePath)})})).catch(onFailure).then(onSuccess);function onFailure(e){A(encodeError("error processing CSS",e))}function onSuccess(e){if(e){if(v.sourceMap){const r=c(g,{format:h?"projectRelative":"sourceRelative"},e.map);A(null,e.content,r)}else{A(null,e.content)}}}function handleAsDeprecated(r,t){if(!v.silent){s.deprecate((()=>undefined),t,r)()}return e}function handleAsWarning(r,t){if(!v.silent){g.emitWarning(encodeError(r,t))}return e}function handleAsError(r,t){g.emitError(encodeError(r,t));return e}function encodeError(e,r){return new Error(["resolve-url-loader",": ",[e].concat(typeof r==="string"&&r||Array.isArray(r)&&r||r instanceof Error&&[r.message,r.stack.split("\n")[1].trim()]||[]).filter(Boolean).join("\n ")].join(""))}}e.exports=Object.assign(resolveUrlLoader,p)},3388:(e,r,t)=>{"use strict";const n=t(2037);const o=t(1017);const i=t(977);const s=t(221);const a=t(2109);const u=/\r(?!\n)(.|\n)?/g;function process(e,r,t){const c=t.removeCR&&n.EOL!=="\r"?r.replace(u," $1"):r;const l=Object.assign((()=>({postcssPlugin:"postcss-resolve-url",prepare:()=>{const e=new Set;const positionToOriginalDirectory=e=>{const r=!!t.sourceMapConsumer&&t.sourceMapConsumer.originalPositionFor(e);const n=!!r&&!!r.source&&s.remove(o.dirname(r.source));return n};return{Declaration:n=>{var o,i=n.value&&n.value.indexOf("url")>=0&&!e.has(n);if(i){o=n.prop+n.raws.between;n.value=t.transformDeclaration(n.value,getPathsAtChar);e.add(n)}function getPathsAtChar(e){var i=n.value.slice(0,e),s=a.sanitise(n.parent.source.start),c=a.sanitise(n.source.start),l=a.add([c,a.strToOffset(o)]),p=a.add([l,a.strToOffset(i)]);var f={subString:positionToOriginalDirectory(p),value:positionToOriginalDirectory(l),property:positionToOriginalDirectory(c),selector:positionToOriginalDirectory(s)};var d=[f.subString,f.value,f.property,f.selector].every(Boolean);if(d){return f}else if(t.sourceMapConsumer){throw new Error("source-map information is not available at url() declaration "+(u.test(r)?"(found orphan CR, try removeCR option)":"(no orphan CR found)"))}else{throw new Error("a valid source-map is not present (ensure preceding loaders output a source-map)")}}}}}})),{postcss:true});return i([l]).process(c,{from:s.prepend(e),map:t.outputSourceMap&&{prev:!!t.absSourceMap&&s.prepend(t.absSourceMap),inline:false,annotation:false,sourcesContent:true}}).then((({css:e,map:r})=>({content:e,map:t.outputSourceMap?s.remove(r.toJSON()):null})))}e.exports=process},221:(e,r)=>{"use strict";function prepend(e){if(typeof e==="string"){return"file://"+e}else if(e&&typeof e==="object"&&Array.isArray(e.sources)){return Object.assign({},e,{sources:e.sources.map(prepend)})}else{throw new Error("expected string|object")}}r.prepend=prepend;function remove(e){if(typeof e==="string"){return e.replace(/^file:\/{2}/,"")}else if(e&&typeof e==="object"&&Array.isArray(e.sources)){return Object.assign({},e,{sources:e.sources.map(remove)})}else{throw new Error("expected string|object")}}r.remove=remove},5535:(e,r,t)=>{"use strict";const n=t(1017);const o=t(3684).name;const pathToString=e=>{if(e===""){return"-empty-"}else{const r=n.relative(process.cwd(),e).split(n.sep);const t=r[0]!==".."?["."].concat(r).filter(Boolean):r.lastIndexOf("..")<2?r:e.replace(/^[A-Z]\:/,"").split(n.sep);return t.join("/")}};r.pathToString=pathToString;const formatJoinMessage=(e,r,t)=>{const attemptToCells=(e,r,t)=>{const{base:n}=r===0?{}:t[r-1];const{base:o,joined:i}=t[r];return[o===n?"":pathToString(o),pathToString(i)]};const formatCells=e=>{const r=e.reduce(((e,[r])=>Math.max(e,r.length)),0);return e.map((([e,t])=>[e.padEnd(r),t])).map((e=>e.join(" --\x3e ")))};return[o+": "+pathToString(e)+": "+r].concat(t.length===0?"-empty-":formatCells(t.map(attemptToCells))).concat(t.some((({isSuccess:e})=>e))?"FOUND":"NOT FOUND").join("\n ")};r.formatJoinMessage=formatJoinMessage;const createDebugLogger=e=>{const r=!!e&&(typeof e==="function"?e:console.log);const t={};return r?(e,n)=>{const o=Function.prototype.toString.call(e)+JSON.stringify(n);if(!t[o]){t[o]=true;r(e.apply(null,n))}}:()=>undefined};r.createDebugLogger=createDebugLogger},8757:e=>{"use strict";const fsUtils=e=>{const withStats=r=>t=>{try{return r(e.statSync(t))}catch(e){return false}};return{isFileSync:withStats((e=>e.isFile())),isDirectorySync:withStats((e=>e.isDirectory())),existsSync:withStats((e=>e.isFile()||e.isDirectory()))}};e.exports=fsUtils},9185:(e,r,t)=>{"use strict";const n=t(1017);const{createDebugLogger:o,formatJoinMessage:i}=t(5535);const s=t(8757);const a=1e5;const asGenerator=e=>{const toTuple=e=>r=>{const t=[].concat(r);return[...t,...e.slice(t.length)]};const isTupleUnique=(e,r,t)=>{const n=e.join(",");return t.findIndex((e=>e.join(",")===n))===r};return(r,...t)=>{const{uri:n}=r;const o=toTuple([null,n]);const i=e(r,...t);if(Array.isArray(i)){return i.map(o).filter(isTupleUnique)[Symbol.iterator]()}else if(i&&typeof i==="object"&&typeof i.next==="function"&&i.next.length===0){return i}else{throw new TypeError(`in "join" function expected "generator" to return Array|Iterator`)}}};r.asGenerator=asGenerator;const createJoinImplementation=e=>(r,t,o)=>{const{isAbsolute:i}=r;const{root:u}=t;const{fs:c}=o;const l=e(r,t,o);const p=l&&typeof l==="object"&&typeof l.next==="function";if(!p){throw new Error("expected generator to return Iterator")}const{isFileSync:f,isDirectorySync:d}=s(c);const g=[];for(let e=0;etypeof e==="string"||!e));if(!r){throw new Error("expected Iterator values to be tuple of [string,string]")}}}}return g};r.createJoinImplementation=createJoinImplementation;const createJoinFunction=(e,r)=>{const assertAttempts=e=>{const r=Array.isArray(e)&&e.every((e=>e&&typeof e==="object"&&typeof e.base==="string"&&typeof e.uri==="string"&&typeof e.joined==="string"&&typeof e.isSuccess==="boolean"&&typeof e.isFallback==="boolean"));if(!r){throw new Error(`expected implementation to return Array of {base, uri, joined, isSuccess, isFallback}`)}else{return e}};const assertJoined=e=>{const r=e&&typeof e==="string"&&n.isAbsolute(e)||e===null;if(!r){throw new Error(`expected "joined" to be absolute path, got "${e}"`)}else{return e}};const join=(e,t)=>{const{debug:n}=e;const{resourcePath:s}=t;const a=o(n);return o=>{const{uri:u}=o;const c=r(o,e,t);assertAttempts(c,!!n);const{joined:l}=c.find((({isFallback:e})=>e))||{};const{joined:p}=c.find((({isSuccess:e})=>e))||{};a(i,[s,u,c]);return assertJoined(p||l||null)}};const toString=()=>"[Function "+e+"]";return Object.assign(join,!!e&&{toString:toString,toJSON:toString})};r.createJoinFunction=createJoinFunction;const u=asGenerator((({uri:e,isAbsolute:r,bases:{subString:t,value:n,property:o,selector:i}},{root:s})=>r?[s]:[t,n,o,i]));r.defaultJoinGenerator=u;r.defaultJoin=createJoinFunction("defaultJoin",createJoinImplementation(u))},4232:(e,r,t)=>{"use strict";var n=t(2781);var o=false;function logToTestHarness(e,r){var t=!o&&!!e&&typeof e==="object"&&e instanceof n.Writable;if(t){o=true;Object.keys(r).forEach(eachOptionKey)}function eachOptionKey(t){e.write(t+": "+stringify(r[t])+"\n")}function stringify(e){try{return JSON.stringify(e)||String(e)}catch(e){return"-unstringifyable-"}}}e.exports=logToTestHarness},2109:(e,r)=>{"use strict";function sanitise(e){var r=!!e&&typeof e==="object"&&e||{};return{line:isNaN(r.line)?NaN:r.line,column:isNaN(r.column)?NaN:r.column}}r.sanitise=sanitise;function strToOffset(e){var r=e.split(/\r\n|\n/g);var t=r[r.length-1];return{line:r.length-1,column:t.length}}r.strToOffset=strToOffset;function add(e){return e.slice(1).reduce((function(e,r){return{line:e.line+r.line,column:r.line>0?r.column:e.column+r.column}}),e[0])}r.add=add},5331:(e,r,t)=>{"use strict";var n=t(1017),o=t(3300);function valueProcessor({join:e,root:r,directory:t}){var i=/(url\s*\(\s*)(?:(['"])((?:(?!\2).)*)(\2)|([^'"](?:(?!\)).)*[^'"]))(\s*\))/g,s=/([?#])/g;return function transformValue(r,a){return r.split(i).map(initialise).map(eachSplitOrGroup).join("");function initialise(e){return typeof e==="string"?e:""}function accumulateLength(e,r){return e+r.length}function eachSplitOrGroup(r,i,u){var c=i%7;if(r&&(c===3||c===5)){var l=u.slice(0,i-c+1).reduce(accumulateLength,0);var p=u[i-1],f=u[i+1],d=p===f&&(p==="'"||p==='"'),g=d?r.replace(/\\{2}/g,"\\"):r;var h=g.split(s),m=h[0],v=h.slice(1).join(""),S=testIsRelative(m),_=testIsAbsolute(m);if(S||_){var y=a(l),C=e({uri:m,query:v,isAbsolute:_,bases:y});if(typeof C==="string"){var M=n.relative(t,C).replace(/\\/g,"/");return o.urlToRequest(M+v)}}}return r}};function testIsRelative(e){return!!e&&o.isUrlRequest(e,false)&&!n.isAbsolute(e)&&e.indexOf("~")!==0}function testIsAbsolute(e){return!!e&&typeof r==="string"&&o.isUrlRequest(e,r)&&(/^\//.test(e)||n.isAbsolute(e))}}e.exports=valueProcessor},9409:(e,r,t)=>{var n=t(9308);var o=Object.prototype.hasOwnProperty;var i=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=i?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,r){var t=new ArraySet;for(var n=0,o=e.length;n=0){return r}}else{var t=n.toSetString(e);if(o.call(this._set,t)){return this._set[t]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e{var n=t(8268);var o=5;var i=1<>1;return r?-t:t}r.encode=function base64VLQ_encode(e){var r="";var t;var i=toVLQSigned(e);do{t=i&s;i>>>=o;if(i>0){t|=a}r+=n.encode(t)}while(i>0);return r};r.decode=function base64VLQ_decode(e,r,t){var i=e.length;var u=0;var c=0;var l,p;do{if(r>=i){throw new Error("Expected more digits in base 64 VLQ value.")}p=n.decode(e.charCodeAt(r++));if(p===-1){throw new Error("Invalid base64 digit: "+e.charAt(r-1))}l=!!(p&a);p&=s;u=u+(p<{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");r.encode=function(e){if(0<=e&&e{r.GREATEST_LOWER_BOUND=1;r.LEAST_UPPER_BOUND=2;function recursiveSearch(e,t,n,o,i,s){var a=Math.floor((t-e)/2)+e;var u=i(n,o[a],true);if(u===0){return a}else if(u>0){if(t-a>1){return recursiveSearch(a,t,n,o,i,s)}if(s==r.LEAST_UPPER_BOUND){return t1){return recursiveSearch(e,a,n,o,i,s)}if(s==r.LEAST_UPPER_BOUND){return a}else{return e<0?-1:e}}}r.search=function search(e,t,n,o){if(t.length===0){return-1}var i=recursiveSearch(-1,t.length,e,t,n,o||r.GREATEST_LOWER_BOUND);if(i<0){return-1}while(i-1>=0){if(n(t[i],t[i-1],true)!==0){break}--i}return i}},2768:(e,r,t)=>{var n=t(9308);function generatedPositionAfter(e,r){var t=e.generatedLine;var o=r.generatedLine;var i=e.generatedColumn;var s=r.generatedColumn;return o>t||o==t&&s>=i||n.compareByGeneratedPositionsInflated(e,r)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,r){this._array.forEach(e,r)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(n.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};r.H=MappingList},4927:(e,r)=>{function swap(e,r,t){var n=e[r];e[r]=e[t];e[t]=n}function randomIntInRange(e,r){return Math.round(e+Math.random()*(r-e))}function doQuickSort(e,r,t,n){if(t{var n;var o=t(9308);var i=t(8183);var s=t(9409).I;var a=t(1019);var u=t(4927).U;function SourceMapConsumer(e,r){var t=e;if(typeof e==="string"){t=o.parseSourceMapInput(e)}return t.sections!=null?new IndexedSourceMapConsumer(t,r):new BasicSourceMapConsumer(t,r)}SourceMapConsumer.fromSourceMap=function(e,r){return BasicSourceMapConsumer.fromSourceMap(e,r)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,r){var t=e.charAt(r);return t===";"||t===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,r){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,r,t){var n=r||null;var i=t||SourceMapConsumer.GENERATED_ORDER;var s;switch(i){case SourceMapConsumer.GENERATED_ORDER:s=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;s.map((function(e){var r=e.source===null?null:this._sources.at(e.source);r=o.computeSourceURL(a,r,this._sourceMapURL);return{source:r,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(e,n)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var r=o.getArg(e,"line");var t={source:o.getArg(e,"source"),originalLine:r,originalColumn:o.getArg(e,"column",0)};t.source=this._findSourceIndex(t.source);if(t.source<0){return[]}var n=[];var s=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(s>=0){var a=this._originalMappings[s];if(e.column===undefined){var u=a.originalLine;while(a&&a.originalLine===u){n.push({line:o.getArg(a,"generatedLine",null),column:o.getArg(a,"generatedColumn",null),lastColumn:o.getArg(a,"lastGeneratedColumn",null)});a=this._originalMappings[++s]}}else{var c=a.originalColumn;while(a&&a.originalLine===r&&a.originalColumn==c){n.push({line:o.getArg(a,"generatedLine",null),column:o.getArg(a,"generatedColumn",null),lastColumn:o.getArg(a,"lastGeneratedColumn",null)});a=this._originalMappings[++s]}}}return n};r.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,r){var t=e;if(typeof e==="string"){t=o.parseSourceMapInput(e)}var n=o.getArg(t,"version");var i=o.getArg(t,"sources");var a=o.getArg(t,"names",[]);var u=o.getArg(t,"sourceRoot",null);var c=o.getArg(t,"sourcesContent",null);var l=o.getArg(t,"mappings");var p=o.getArg(t,"file",null);if(n!=this._version){throw new Error("Unsupported version: "+n)}if(u){u=o.normalize(u)}i=i.map(String).map(o.normalize).map((function(e){return u&&o.isAbsolute(u)&&o.isAbsolute(e)?o.relative(u,e):e}));this._names=s.fromArray(a.map(String),true);this._sources=s.fromArray(i,true);this._absoluteSources=this._sources.toArray().map((function(e){return o.computeSourceURL(u,e,r)}));this.sourceRoot=u;this.sourcesContent=c;this._mappings=l;this._sourceMapURL=r;this.file=p}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var r=e;if(this.sourceRoot!=null){r=o.relative(this.sourceRoot,r)}if(this._sources.has(r)){return this._sources.indexOf(r)}var t;for(t=0;t1){v.source=c+_[1];c+=_[1];v.originalLine=i+_[2];i=v.originalLine;v.originalLine+=1;v.originalColumn=s+_[3];s=v.originalColumn;if(_.length>4){v.name=l+_[4];l+=_[4]}}m.push(v);if(typeof v.originalLine==="number"){h.push(v)}}}u(m,o.compareByGeneratedPositionsDeflated);this.__generatedMappings=m;u(h,o.compareByOriginalPositions);this.__originalMappings=h};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,r,t,n,o,s){if(e[t]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[t])}if(e[n]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[n])}return i.search(e,r,o,s)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e=0){var n=this._generatedMappings[t];if(n.generatedLine===r.generatedLine){var i=o.getArg(n,"source",null);if(i!==null){i=this._sources.at(i);i=o.computeSourceURL(this.sourceRoot,i,this._sourceMapURL)}var s=o.getArg(n,"name",null);if(s!==null){s=this._names.at(s)}return{source:i,line:o.getArg(n,"originalLine",null),column:o.getArg(n,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,r){if(!this.sourcesContent){return null}var t=this._findSourceIndex(e);if(t>=0){return this.sourcesContent[t]}var n=e;if(this.sourceRoot!=null){n=o.relative(this.sourceRoot,n)}var i;if(this.sourceRoot!=null&&(i=o.urlParse(this.sourceRoot))){var s=n.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(s)){return this.sourcesContent[this._sources.indexOf(s)]}if((!i.path||i.path=="/")&&this._sources.has("/"+n)){return this.sourcesContent[this._sources.indexOf("/"+n)]}}if(r){return null}else{throw new Error('"'+n+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var r=o.getArg(e,"source");r=this._findSourceIndex(r);if(r<0){return{line:null,column:null,lastColumn:null}}var t={source:r,originalLine:o.getArg(e,"line"),originalColumn:o.getArg(e,"column")};var n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,o.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(n>=0){var i=this._originalMappings[n];if(i.source===t.source){return{line:o.getArg(i,"generatedLine",null),column:o.getArg(i,"generatedColumn",null),lastColumn:o.getArg(i,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};n=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,r){var t=e;if(typeof e==="string"){t=o.parseSourceMapInput(e)}var n=o.getArg(t,"version");var i=o.getArg(t,"sections");if(n!=this._version){throw new Error("Unsupported version: "+n)}this._sources=new s;this._names=new s;var a={line:-1,column:0};this._sections=i.map((function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var t=o.getArg(e,"offset");var n=o.getArg(t,"line");var i=o.getArg(t,"column");if(n{var n=t(1019);var o=t(9308);var i=t(9409).I;var s=t(2768).H;function SourceMapGenerator(e){if(!e){e={}}this._file=o.getArg(e,"file",null);this._sourceRoot=o.getArg(e,"sourceRoot",null);this._skipValidation=o.getArg(e,"skipValidation",false);this._sources=new i;this._names=new i;this._mappings=new s;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var r=e.sourceRoot;var t=new SourceMapGenerator({file:e.file,sourceRoot:r});e.eachMapping((function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){n.source=e.source;if(r!=null){n.source=o.relative(r,n.source)}n.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){n.name=e.name}}t.addMapping(n)}));e.sources.forEach((function(n){var i=n;if(r!==null){i=o.relative(r,n)}if(!t._sources.has(i)){t._sources.add(i)}var s=e.sourceContentFor(n);if(s!=null){t.setSourceContent(n,s)}}));return t};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var r=o.getArg(e,"generated");var t=o.getArg(e,"original",null);var n=o.getArg(e,"source",null);var i=o.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(r,t,n,i)}if(n!=null){n=String(n);if(!this._sources.has(n)){this._sources.add(n)}}if(i!=null){i=String(i);if(!this._names.has(i)){this._names.add(i)}}this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:t!=null&&t.line,originalColumn:t!=null&&t.column,source:n,name:i})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,r){var t=e;if(this._sourceRoot!=null){t=o.relative(this._sourceRoot,t)}if(r!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[o.toSetString(t)]=r}else if(this._sourcesContents){delete this._sourcesContents[o.toSetString(t)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,r,t){var n=r;if(r==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}n=e.file}var s=this._sourceRoot;if(s!=null){n=o.relative(s,n)}var a=new i;var u=new i;this._mappings.unsortedForEach((function(r){if(r.source===n&&r.originalLine!=null){var i=e.originalPositionFor({line:r.originalLine,column:r.originalColumn});if(i.source!=null){r.source=i.source;if(t!=null){r.source=o.join(t,r.source)}if(s!=null){r.source=o.relative(s,r.source)}r.originalLine=i.line;r.originalColumn=i.column;if(i.name!=null){r.name=i.name}}}var c=r.source;if(c!=null&&!a.has(c)){a.add(c)}var l=r.name;if(l!=null&&!u.has(l)){u.add(l)}}),this);this._sources=a;this._names=u;e.sources.forEach((function(r){var n=e.sourceContentFor(r);if(n!=null){if(t!=null){r=o.join(t,r)}if(s!=null){r=o.relative(s,r)}this.setSourceContent(r,n)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,r,t,n){if(r&&typeof r.line!=="number"&&typeof r.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!t&&!n){return}else if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&t){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:t,original:r,name:n}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var r=1;var t=0;var i=0;var s=0;var a=0;var u="";var c;var l;var p;var f;var d=this._mappings.toArray();for(var g=0,h=d.length;g0){if(!o.compareByGeneratedPositionsInflated(l,d[g-1])){continue}c+=","}}c+=n.encode(l.generatedColumn-e);e=l.generatedColumn;if(l.source!=null){f=this._sources.indexOf(l.source);c+=n.encode(f-a);a=f;c+=n.encode(l.originalLine-1-i);i=l.originalLine-1;c+=n.encode(l.originalColumn-t);t=l.originalColumn;if(l.name!=null){p=this._names.indexOf(l.name);c+=n.encode(p-s);s=p}}u+=c}return u};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,r){return e.map((function(e){if(!this._sourcesContents){return null}if(r!=null){e=o.relative(r,e)}var t=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,t)?this._sourcesContents[t]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};r.h=SourceMapGenerator},6129:(e,r,t)=>{var n;var o=t(746).h;var i=t(9308);var s=/(\r?\n)/;var a=10;var u="$$$isSourceNode$$$";function SourceNode(e,r,t,n,o){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=r==null?null:r;this.source=t==null?null:t;this.name=o==null?null:o;this[u]=true;if(n!=null)this.add(n)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,r,t){var n=new SourceNode;var o=e.split(s);var a=0;var shiftNextLine=function(){var e=getNextLine();var r=getNextLine()||"";return e+r;function getNextLine(){return a=0;r--){this.prepend(e[r])}}else if(e[u]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var r;for(var t=0,n=this.children.length;t0){r=[];for(t=0;t{function getArg(e,r,t){if(r in e){return e[r]}else if(arguments.length===3){return t}else{throw new Error('"'+r+'" is a required argument.')}}r.getArg=getArg;var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var n=/^data:.+\,.+$/;function urlParse(e){var r=e.match(t);if(!r){return null}return{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}}r.urlParse=urlParse;function urlGenerate(e){var r="";if(e.scheme){r+=e.scheme+":"}r+="//";if(e.auth){r+=e.auth+"@"}if(e.host){r+=e.host}if(e.port){r+=":"+e.port}if(e.path){r+=e.path}return r}r.urlGenerate=urlGenerate;function normalize(e){var t=e;var n=urlParse(e);if(n){if(!n.path){return e}t=n.path}var o=r.isAbsolute(t);var i=t.split(/\/+/);for(var s,a=0,u=i.length-1;u>=0;u--){s=i[u];if(s==="."){i.splice(u,1)}else if(s===".."){a++}else if(a>0){if(s===""){i.splice(u+1,a);a=0}else{i.splice(u,2);a--}}}t=i.join("/");if(t===""){t=o?"/":"."}if(n){n.path=t;return urlGenerate(n)}return t}r.normalize=normalize;function join(e,r){if(e===""){e="."}if(r===""){r="."}var t=urlParse(r);var o=urlParse(e);if(o){e=o.path||"/"}if(t&&!t.scheme){if(o){t.scheme=o.scheme}return urlGenerate(t)}if(t||r.match(n)){return r}if(o&&!o.host&&!o.path){o.host=r;return urlGenerate(o)}var i=r.charAt(0)==="/"?r:normalize(e.replace(/\/+$/,"")+"/"+r);if(o){o.path=i;return urlGenerate(o)}return i}r.join=join;r.isAbsolute=function(e){return e.charAt(0)==="/"||t.test(e)};function relative(e,r){if(e===""){e="."}e=e.replace(/\/$/,"");var t=0;while(r.indexOf(e+"/")!==0){var n=e.lastIndexOf("/");if(n<0){return r}e=e.slice(0,n);if(e.match(/^([^\/]+:\/)?\/*$/)){return r}++t}return Array(t+1).join("../")+r.substr(e.length+1)}r.relative=relative;var o=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}r.toSetString=o?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}r.fromSetString=o?identity:fromSetString;function isProtoString(e){if(!e){return false}var r=e.length;if(r<9){return false}if(e.charCodeAt(r-1)!==95||e.charCodeAt(r-2)!==95||e.charCodeAt(r-3)!==111||e.charCodeAt(r-4)!==116||e.charCodeAt(r-5)!==111||e.charCodeAt(r-6)!==114||e.charCodeAt(r-7)!==112||e.charCodeAt(r-8)!==95||e.charCodeAt(r-9)!==95){return false}for(var t=r-10;t>=0;t--){if(e.charCodeAt(t)!==36){return false}}return true}function compareByOriginalPositions(e,r,t){var n=strcmp(e.source,r.source);if(n!==0){return n}n=e.originalLine-r.originalLine;if(n!==0){return n}n=e.originalColumn-r.originalColumn;if(n!==0||t){return n}n=e.generatedColumn-r.generatedColumn;if(n!==0){return n}n=e.generatedLine-r.generatedLine;if(n!==0){return n}return strcmp(e.name,r.name)}r.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,r,t){var n=e.generatedLine-r.generatedLine;if(n!==0){return n}n=e.generatedColumn-r.generatedColumn;if(n!==0||t){return n}n=strcmp(e.source,r.source);if(n!==0){return n}n=e.originalLine-r.originalLine;if(n!==0){return n}n=e.originalColumn-r.originalColumn;if(n!==0){return n}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,r){if(e===r){return 0}if(e===null){return 1}if(r===null){return-1}if(e>r){return 1}return-1}function compareByGeneratedPositionsInflated(e,r){var t=e.generatedLine-r.generatedLine;if(t!==0){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0){return t}t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}r.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,r,t){r=r||"";if(e){if(e[e.length-1]!=="/"&&r[0]!=="/"){e+="/"}r=e+r}if(t){var n=urlParse(t);if(!n){throw new Error("sourceMapURL could not be parsed")}if(n.path){var o=n.path.lastIndexOf("/");if(o>=0){n.path=n.path.substring(0,o+1)}}r=join(urlGenerate(n),r)}return normalize(r)}r.computeSourceURL=computeSourceURL},7435:(e,r,t)=>{t(746).h;r.SourceMapConsumer=t(5939).SourceMapConsumer;t(6129)},3300:e=>{"use strict";e.exports=require("../loader-utils2")},3684:e=>{"use strict";e.exports=require("./package.json")},9491:e=>{"use strict";e.exports=require("assert")},7147:e=>{"use strict";e.exports=require("fs")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},977:e=>{"use strict";e.exports=require("postcss")},2781:e=>{"use strict";e.exports=require("stream")},3837:e=>{"use strict";e.exports=require("util")}};var r={};function __nccwpck_require__(t){var n=r[t];if(n!==undefined){return n.exports}var o=r[t]={exports:{}};var i=true;try{e[t](o,o.exports,__nccwpck_require__);i=false}finally{if(i)delete r[t]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(4393);module.exports=t})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/resolve-url-loader/license b/packages/builder/builder-shared/compiled/resolve-url-loader/license deleted file mode 100644 index 0f121112a9a4..000000000000 --- a/packages/builder/builder-shared/compiled/resolve-url-loader/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Ben Holloway - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/resolve-url-loader/package.json b/packages/builder/builder-shared/compiled/resolve-url-loader/package.json deleted file mode 100644 index 2ba8966b499b..000000000000 --- a/packages/builder/builder-shared/compiled/resolve-url-loader/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"resolve-url-loader","author":"bholloway","version":"5.0.0","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/sass-loader/index.d.ts b/packages/builder/builder-shared/compiled/sass-loader/index.d.ts deleted file mode 100644 index d2c1015556eb..000000000000 --- a/packages/builder/builder-shared/compiled/sass-loader/index.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Type definitions for sass-loader 8.0 -// Project: https://github.com/webpack-contrib/sass-loader -// Definitions by: Jason Kwok -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 3.7 - -import { LoaderOptions } from './interfaces'; - -declare function loader(content: string): void; - -declare namespace loader { - type Options = LoaderOptions; -} - -export = loader; diff --git a/packages/builder/builder-shared/compiled/sass-loader/index.js b/packages/builder/builder-shared/compiled/sass-loader/index.js deleted file mode 100644 index 191afc919e8d..000000000000 --- a/packages/builder/builder-shared/compiled/sass-loader/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={195:(e,t)=>{function set(e,t,r){if(typeof r.value==="object")r.value=klona(r.value);if(!r.enumerable||r.get||r.set||!r.configurable||!r.writable||t==="__proto__"){Object.defineProperty(e,t,r)}else e[t]=r.value}function klona(e){if(typeof e!=="object")return e;var t=0,r,n,a,i=Object.prototype.toString.call(e);if(i==="[object Object]"){a=Object.create(e.__proto__||null)}else if(i==="[object Array]"){a=Array(e.length)}else if(i==="[object Set]"){a=new Set;e.forEach((function(e){a.add(klona(e))}))}else if(i==="[object Map]"){a=new Map;e.forEach((function(e,t){a.set(klona(t),klona(e))}))}else if(i==="[object Date]"){a=new Date(+e)}else if(i==="[object RegExp]"){a=new RegExp(e.source,e.flags)}else if(i==="[object DataView]"){a=new e.constructor(klona(e.buffer))}else if(i==="[object ArrayBuffer]"){a=e.slice(0)}else if(i.slice(-6)==="Array]"){a=new e.constructor(e)}if(a){for(n=Object.getOwnPropertySymbols(e);t=t&&e[l]>=n){l--}if(i>l){break}swap(e,a,i++,l--)}return i}function swap(e,t,r,n){var a=e[r];e[r]=e[n];e[n]=a;var i=t[r];t[r]=t[n];t[n]=i}function quickSort(e,t,r,n){if(t===r){return}var a=t;while(++a<=r&&e[t]===e[a]){var i=a-1;if(n[i]>n[a]){var l=n[i];n[i]=n[a];n[a]=l}}if(a>r){return}var o=e[t]>e[a]?t:a;a=partition(e,t,r,e[o],n);quickSort(e,t,a-1,n);quickSort(e,a,r,n)}function makeConcatResult(e){var r=[];arrayEachSync(e,(function(e){if(e===t){return}if(o(e)){c.apply(r,e)}else{r.push(e)}}));return r}function arrayEach(e,t,r){var n=-1;var a=e.length;if(t.length===3){while(++ny?y:a,I);function arrayIterator(){h=x++;if(hc?c:n,b);function arrayIterator(){if(Ic?c:n,m);function arrayIterator(){y=g++;if(yc?c:n,b);function arrayIterator(){y=g++;if(yy?y:a,I);function arrayIterator(){h=k++;if(hy?y:a,I);function arrayIterator(){h=x++;if(hc?c:r,b);function arrayIterator(){y=g++;if(yc?c:n,g);function arrayIterator(){if(x=2){c.apply(m,slice(arguments,1))}if(e){a(e,m)}else if(++I===l){v=r;a(null,m)}else if(b){f(v)}else{b=true;v()}b=false}}function concatLimit(e,n,a,l){l=l||t;var c,y,h,d,p,v;var b=false;var m=0;var I=0;if(o(e)){c=e.length;p=a.length===3?arrayIteratorWithIndex:arrayIterator}else if(!e){}else if(u&&e[u]){c=Infinity;v=[];h=e[u]();p=a.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof e===i){var g=s(e);c=g.length;p=a.length===3?objectIteratorWithKey:objectIterator}if(!c||isNaN(n)||n<1){return l(null,[])}v=v||Array(c);timesSync(n>c?c:n,p);function arrayIterator(){if(mc?c:n,m);function arrayIterator(){if(gl?l:n,d);function arrayIterator(){c=v++;if(c1){var n=slice(arguments,1);return go.apply(this,n)}else{return go}}}function DLL(){this.head=null;this.tail=null;this.length=0}DLL.prototype._removeLink=function(e){var t=e.prev;var r=e.next;if(t){t.next=r}else{this.head=r}if(r){r.prev=t}else{this.tail=t}e.prev=null;e.next=null;this.length--;return e};DLL.prototype.empty=DLL;DLL.prototype._setInitial=function(e){this.length=1;this.head=this.tail=e};DLL.prototype.insertBefore=function(e,t){t.prev=e.prev;t.next=e;if(e.prev){e.prev.next=t}else{this.head=t}e.prev=t;this.length++};DLL.prototype.unshift=function(e){if(this.head){this.insertBefore(this.head,e)}else{this._setInitial(e)}};DLL.prototype.push=function(e){var t=this.tail;if(t){e.prev=t;e.next=t.next;this.tail=e;t.next=e;this.length++}else{this._setInitial(e)}};DLL.prototype.shift=function(){return this.head&&this._removeLink(this.head)};DLL.prototype.splice=function(e){var t;var r=[];while(e--&&(t=this.shift())){r.push(t)}return r};DLL.prototype.remove=function(e){var t=this.head;while(t){if(e(t)){this._removeLink(t)}t=t.next}return this};function baseQueue(e,n,a,i){if(a===undefined){a=1}else if(isNaN(a)||a<1){throw new Error("Concurrency must not be zero")}var l=0;var s=[];var u,y;var h={_tasks:new DLL,concurrency:a,payload:i,saturated:t,unsaturated:t,buffer:a/4,empty:t,drain:t,error:t,started:false,paused:false,push:push,kill:kill,unshift:unshift,remove:remove,process:e?runQueue:runCargo,length:getLength,running:running,workersList:getWorkersList,idle:idle,pause:pause,resume:resume,_worker:n};return h;function push(e,t){_insert(e,t)}function unshift(e,t){_insert(e,t,true)}function _exec(e){var t={data:e,callback:u};if(y){h._tasks.unshift(t)}else{h._tasks.push(t)}f(h.process)}function _insert(e,r,n){if(r==null){r=t}else if(typeof r!=="function"){throw new Error("task callback must be a function")}h.started=true;var a=o(e)?e:[e];if(e===undefined||!a.length){if(h.idle()){f(h.drain)}return}y=n;u=r;arrayEachSync(a,_exec);u=undefined}function kill(){h.drain=t;h._tasks.empty()}function _next(e,t){var n=false;return function done(a,i){if(n){r()}n=true;l--;var o;var c=-1;var u=s.length;var f=-1;var y=t.length;var h=arguments.length>2;var d=h&&createArray(arguments);while(++f=c.priority){c=c.next}while(s--){var u={data:i[s],priority:r,callback:a};if(c){n._tasks.insertBefore(c,u)}else{n._tasks.push(u)}f(n.process)}}}function cargo(e,t){return baseQueue(false,e,1,t)}function auto(e,n,a){if(typeof n===l){a=n;n=null}var i=s(e);var c=i.length;var u={};if(c===0){return a(null,u)}var f=0;var y=new DLL;var h=Object.create(null);a=onlyOnce(a||t);n=n||c;baseEachSync(e,iterator,i);proceedQueue();function iterator(e,n){var l,s;if(!o(e)){l=e;s=0;y.push([l,s,done]);return}var d=e.length-1;l=e[d];s=d;if(d===0){y.push([l,s,done]);return}var p=-1;while(++p=e){a(null,i);a=r}else if(l){f(iterate)}else{l=true;iterate()}l=false}}function timesLimit(e,n,a,i){i=i||t;e=+e;if(isNaN(e)||e<1||isNaN(n)||n<1){return i(null,[])}var l=Array(e);var o=false;var s=0;var c=0;timesSync(n>e?e:n,iterate);function iterate(){var t=s++;if(t=e){i(null,l);i=r}else if(o){f(iterate)}else{o=true;iterate()}o=false}}}function race(e,r){r=once(r||t);var n,a;var l=-1;if(o(e)){n=e.length;while(++l2){r=slice(arguments,1)}t(null,{value:r})}}}function reflectAll(e){var t,r;if(o(e)){t=Array(e.length);arrayEachSync(e,iterate)}else if(e&&typeof e===i){r=s(e);t={};baseEachSync(e,iterate,r)}return t;function iterate(e,r){t[r]=reflect(e)}}function createLogger(e){return function(e){var t=slice(arguments,1);t.push(done);e.apply(null,t)};function done(t){if(typeof console===i){if(t){if(console.error){console.error(t)}return}if(console[e]){var r=slice(arguments,1);arrayEachSync(r,(function(t){console[e](t)}))}}}}function safe(){createImmediate();return e}function fast(){createImmediate(false);return e}}))},705:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class SassError extends Error{constructor(e){super();this.name="SassError";this.hideStack=true;Error.captureStackTrace(this,this.constructor);if(typeof e.line!=="undefined"||typeof e.column!=="undefined"){this.loc={line:e.line,column:e.column}}this.message=`${this.name}: ${typeof e.message!=="undefined"?e.message:e}`;if(e.formatted){this.message=`${this.name}: ${e.formatted.replace(/^Error: /,"")}`}}}var r=SassError;t["default"]=r},67:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class SassWarning extends Error{constructor(e,t){super(e);this.name="SassWarning";this.hideStack=true;if(t.span){this.loc={line:t.span.start.line,column:t.span.start.column}}}}var r=SassWarning;t["default"]=r},790:(e,t,r)=>{"use strict";const n=r(664);e.exports=n.default},664:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(310));var a=_interopRequireDefault(r(17));var i=_interopRequireDefault(r(325));var l=r(40);var o=_interopRequireDefault(r(705));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function loader(e){const t=this.getOptions(i.default);const r=this.async();const s=(0,l.getSassImplementation)(this,t.implementation);if(!s){r();return}const c=typeof t.sourceMap==="boolean"?t.sourceMap:this.sourceMap;const u=await(0,l.getSassOptions)(this,t,e,s,c);const f=typeof t.webpackImporter==="boolean"?t.webpackImporter:true;if(f){const e=t.api==="modern";if(!e){const{includePaths:e}=u;u.importer.push((0,l.getWebpackImporter)(this,s,e))}else{u.importers.push((0,l.getModernWebpackImporter)(this,s))}}const y=(0,l.getCompileFn)(s,t);let h;try{h=await y(u,t)}catch(e){if(e.span&&typeof e.span.url!=="undefined"){this.addDependency(n.default.fileURLToPath(e.span.url))}else if(typeof e.file!=="undefined"){this.addDependency(a.default.normalize(e.file))}r(new o.default(e));return}let d=h.sourceMap?h.sourceMap:h.map?JSON.parse(h.map):null;if(d&&c){d=(0,l.normalizeSourceMap)(d,this.rootContext)}if(typeof h.loadedUrls!=="undefined"){h.loadedUrls.forEach((e=>{const t=n.default.fileURLToPath(e);if(a.default.isAbsolute(t)){this.addDependency(t)}}))}else if(typeof h.stats!=="undefined"&&typeof h.stats.includedFiles!=="undefined"){h.stats.includedFiles.forEach((e=>{const t=a.default.normalize(e);if(a.default.isAbsolute(t)){this.addDependency(t)}}))}r(null,h.css.toString(),d)}var s=loader;t["default"]=s},40:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getCompileFn=getCompileFn;t.getModernWebpackImporter=getModernWebpackImporter;t.getSassImplementation=getSassImplementation;t.getSassOptions=getSassOptions;t.getWebpackImporter=getWebpackImporter;t.getWebpackResolver=getWebpackResolver;t.isSupportedFibers=isSupportedFibers;t.normalizeSourceMap=normalizeSourceMap;var n=_interopRequireDefault(r(310));var a=_interopRequireDefault(r(17));var i=r(195);var l=_interopRequireDefault(r(87));var o=_interopRequireDefault(r(67));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getDefaultSassImplementation(){let e="sass";try{r.ab+"sass.default.dart.js"}catch(t){try{require.resolve("node-sass");e="node-sass"}catch(t){try{require.resolve("sass-embedded");e="sass-embedded"}catch(t){e="sass"}}}return r(342)}function getSassImplementation(e,t){let r=t;if(!r){try{r=getDefaultSassImplementation()}catch(t){e.emitError(t);return}}if(typeof r==="string"){try{r=require(r)}catch(t){e.emitError(t);return}}const{info:n}=r;if(!n){e.emitError(new Error("Unknown Sass implementation."));return}const a=n.split("\t");if(a.length<2){e.emitError(new Error(`Unknown Sass implementation "${n}".`));return}const[i]=a;if(i==="dart-sass"){return r}else if(i==="node-sass"){return r}else if(i==="sass-embedded"){return r}e.emitError(new Error(`Unknown Sass implementation "${i}".`))}function isProductionLikeMode(e){return e.mode==="production"||!e.mode}function proxyCustomImporters(e,t){return[].concat(e).map((e=>function proxyImporter(...r){const n={...this,webpackLoaderContext:t};return e.apply(n,r)}))}function isSupportedFibers(){const[e]=process.versions.node.split(".");return Number(e)<16}async function getSassOptions(e,t,r,l,s){const c=(0,i.klona)(t.sassOptions?typeof t.sassOptions==="function"?t.sassOptions(e)||{}:t.sassOptions:{});const u=l.info.includes("dart-sass");const f=t.api==="modern";c.data=t.additionalData?typeof t.additionalData==="function"?await t.additionalData(r,e):`${t.additionalData}\n${r}`:r;if(!c.logger){const r=t.warnRuleAsWarning!==false;const n=e.getLogger("sass-loader");const formatSpan=e=>`${e.url||"-"}:${e.start.line}:${e.start.column}: `;const formatDebugSpan=e=>`[debug:${e.start.line}:${e.start.column}] `;c.logger={debug(e,t){let r="";if(t.span){r=formatDebugSpan(t.span)}r+=e;n.debug(r)},warn(t,a){let i="";if(a.deprecation){i+="Deprecation "}if(a.span&&!a.stack){i=formatSpan(a.span)}i+=t;if(a.stack){i+=`\n\n${a.stack}`}if(r){e.emitWarning(new o.default(i,a))}else{n.warn(i)}}}}const{resourcePath:y}=e;if(f){c.url=n.default.pathToFileURL(y);if(!c.style&&isProductionLikeMode(e)){c.style="compressed"}if(s){c.sourceMap=true}if(typeof c.syntax==="undefined"){const e=a.default.extname(y);if(e&&e.toLowerCase()===".scss"){c.syntax="scss"}else if(e&&e.toLowerCase()===".sass"){c.syntax="indented"}else if(e&&e.toLowerCase()===".css"){c.syntax="css"}}c.importers=c.importers?Array.isArray(c.importers)?c.importers:[c.importers]:[]}else{c.file=y;if(u&&isSupportedFibers()){const e=!c.fiber&&c.fiber!==false;if(e){let e;try{e=require.resolve("fibers")}catch(e){}if(e){c.fiber=require(e)}}else if(c.fiber===false){delete c.fiber}}else{delete c.fiber}if(!c.outputStyle&&isProductionLikeMode(e)){c.outputStyle="compressed"}if(s){c.sourceMap=true;c.outFile=a.default.join(e.rootContext,"style.css.map");c.sourceMapContents=true;c.omitSourceMapUrl=true;c.sourceMapEmbed=false}const t=a.default.extname(y);if(t&&t.toLowerCase()===".sass"&&typeof c.indentedSyntax==="undefined"){c.indentedSyntax=true}else{c.indentedSyntax=Boolean(c.indentedSyntax)}c.importer=c.importer?proxyCustomImporters(Array.isArray(c.importer)?c.importer:[c.importer],e):[];c.includePaths=[].concat(process.cwd()).concat((c.includePaths||[]).map((e=>a.default.isAbsolute(e)?e:a.default.join(process.cwd(),e)))).concat(process.env.SASS_PATH?process.env.SASS_PATH.split(process.platform==="win32"?";":":"):[]);if(typeof c.charset==="undefined"){c.charset=true}}return c}const s=/^[^?]*~/;const c=/^~([^/]+|[^/]+\/|@[^/]+[/][^/]+|@[^/]+\/?|@[^/]+[/][^/]+\/)$/;function getPossibleRequests(e,t=false,r=false){let n=e;if(t){if(s.test(e)){n=n.replace(s,"")}if(c.test(e)){n=n[n.length-1]==="/"?n:`${n}/`;return[...new Set([n,e])]}}const i=a.default.extname(n).toLowerCase();if(i===".css"){return[]}const l=a.default.dirname(n);const o=l==="."?"":`${l}/`;const u=a.default.basename(n);const f=a.default.basename(n,i);return[...new Set([].concat(r?[`${o}_${f}.import${i}`,`${o}${f}.import${i}`]:[]).concat([`${o}_${u}`,`${o}${u}`]).concat(t?[e]:[]))]}function promiseResolve(e){return(t,r)=>new Promise(((n,a)=>{e(t,r,((e,t)=>{if(e){a(e)}else{n(t)}}))}))}async function startResolving(e){if(e.length===0){return Promise.reject()}const[{possibleRequests:t}]=e;if(t.length===0){return Promise.reject()}const[{resolve:r,context:n}]=e;try{return await r(n,t[0])}catch(r){const[,...n]=t;if(n.length===0){const[,...t]=e;return startResolving(t)}e[0].possibleRequests=n;return startResolving(e)}}const u=/^~[^/]+$/;const f=/^[a-z]:[/\\]|^\\\\/i;function getWebpackResolver(e,t,r=[]){const i=t&&t.info.includes("dart-sass");const l=promiseResolve(e({alias:[],aliasFields:[],conditionNames:[],descriptionFiles:[],extensions:[".sass",".scss",".css"],exportsFields:[],mainFields:[],mainFiles:["_index","index"],modules:[],restrictions:[/\.((sa|sc|c)ss)$/i],preferRelative:true}));const o=promiseResolve(e({alias:[],aliasFields:[],conditionNames:[],descriptionFiles:[],extensions:[".sass",".scss",".css"],exportsFields:[],mainFields:[],mainFiles:["_index.import","_index","index.import","index"],modules:[],restrictions:[/\.((sa|sc|c)ss)$/i],preferRelative:true}));const s=promiseResolve(e({dependencyType:"sass",conditionNames:["sass","style"],mainFields:["sass","style","main","..."],mainFiles:["_index","index","..."],extensions:[".sass",".scss",".css"],restrictions:[/\.((sa|sc|c)ss)$/i],preferRelative:true}));const c=promiseResolve(e({dependencyType:"sass",conditionNames:["sass","style"],mainFields:["sass","style","main","..."],mainFiles:["_index.import","_index","index.import","index","..."],extensions:[".sass",".scss",".css"],restrictions:[/\.((sa|sc|c)ss)$/i],preferRelative:true}));return(e,t,y)=>{if(!i&&!a.default.isAbsolute(e)){return Promise.reject()}const h=t;const d=h.slice(0,5).toLowerCase()==="file:";if(d){try{t=n.default.fileURLToPath(h)}catch(e){t=t.slice(7)}}let p=[];const v=!u.test(t)&&!d&&!h.startsWith("/")&&!f.test(h);if(r.length>0&&v){const n=getPossibleRequests(t,false,y);if(!i){p=p.concat({resolve:y?o:l,context:a.default.dirname(e),possibleRequests:n})}p=p.concat(r.map((e=>({resolve:y?o:l,context:e,possibleRequests:n}))))}const b=getPossibleRequests(t,true,y);p=p.concat({resolve:y?c:s,context:a.default.dirname(e),possibleRequests:b});return startResolving(p)}}const y=/\.css$/i;function getModernWebpackImporter(){return{async canonicalize(){return null},load(){}}}function getWebpackImporter(e,t,r){const n=getWebpackResolver(e.getResolve,t,r);return function importer(t,r,i){const{fromImport:l}=this;n(r,t,l).then((t=>{e.addDependency(a.default.normalize(t));i({file:t.replace(y,"")})})).catch((()=>{i({file:t})}))}}let h=null;function getCompileFn(e,t){const r=e.info.includes("dart-sass")||e.info.includes("sass-embedded");if(r){if(t.api==="modern"){return t=>{const{data:r,...n}=t;return e.compileStringAsync(r,n)}}return t=>new Promise(((r,n)=>{e.render(t,((e,t)=>{if(e){n(e);return}r(t)}))}))}if(t.api==="modern"){throw new Error("Modern API is not supported for 'node-sass'")}if(h===null){const t=Number(process.env.UV_THREADPOOL_SIZE||4);h=l.default.queue(e.render.bind(e),t-1)}return e=>new Promise(((t,r)=>{h.push.bind(h)(e,((e,n)=>{if(e){r(e);return}t(n)}))}))}const d=/^[A-Za-z0-9+\-.]+:/;function getURLType(e){if(e[0]==="/"){if(e[1]==="/"){return"scheme-relative"}return"path-absolute"}if(f.test(e)){return"path-absolute"}return d.test(e)?"absolute":"path-relative"}function normalizeSourceMap(e,t){const r=e;if(typeof r.file!=="undefined"){delete r.file}r.sourceRoot="";r.sources=r.sources.map((e=>{const r=getURLType(e);if(r==="absolute"&&/^file:/i.test(e)){return n.default.fileURLToPath(e)}else if(r==="path-relative"){return a.default.resolve(t,a.default.normalize(e))}return e}));return r}},342:e=>{"use strict";e.exports=require("../sass")},17:e=>{"use strict";e.exports=require("path")},310:e=>{"use strict";e.exports=require("url")},325:e=>{"use strict";e.exports=JSON.parse('{"title":"Sass Loader options","type":"object","properties":{"implementation":{"description":"The implementation of the sass to be used.","link":"https://github.com/webpack-contrib/sass-loader#implementation","anyOf":[{"type":"string"},{"type":"object"}]},"api":{"description":"Switch between old and modern API for `sass` (`Dart Sass`) and `Sass Embedded` implementations.","link":"https://github.com/webpack-contrib/sass-loader#sassoptions","enum":["legacy","modern"]},"sassOptions":{"description":"Options for `node-sass` or `sass` (`Dart Sass`) implementation.","link":"https://github.com/webpack-contrib/sass-loader#sassoptions","anyOf":[{"type":"object","additionalProperties":true},{"instanceof":"Function"}]},"additionalData":{"description":"Prepends/Appends `Sass`/`SCSS` code before the actual entry file.","link":"https://github.com/webpack-contrib/sass-loader#additionaldata","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack-contrib/sass-loader#sourcemap","type":"boolean"},"webpackImporter":{"description":"Enables/Disables default `webpack` importer.","link":"https://github.com/webpack-contrib/sass-loader#webpackimporter","type":"boolean"},"warnRuleAsWarning":{"description":"Treats the \'@warn\' rule as a webpack warning.","link":"https://github.com/webpack-contrib/sass-loader#warnruleaswarning","type":"boolean"}},"additionalProperties":false}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var a=t[r]={exports:{}};var i=true;try{e[r].call(a.exports,a,a.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(790);module.exports=r})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/sass-loader/interfaces.d.ts b/packages/builder/builder-shared/compiled/sass-loader/interfaces.d.ts deleted file mode 100644 index 996a2907b683..000000000000 --- a/packages/builder/builder-shared/compiled/sass-loader/interfaces.d.ts +++ /dev/null @@ -1,441 +0,0 @@ -import * as NodeSass from './node-sass'; -import * as Sass from '../sass'; -import * as Webpack from '../webpack'; - -export interface LoaderOptions { - /** - * The special `implementation` option determines which implementation of Sass - * to use. - * - * By default the loader resolve the implementation based on your dependencies. - * Just add required implementation to `package.json` (`node-sass` or `sass` - * package) and install dependencies. - * - * Example where the `sass-loader` loader uses the `sass` (`dart-sass`) - * implementation: - * - * **package.json** - * - * ```json - * { - * "devDependencies": { - * "sass-loader": "^7.2.0", - * "sass": "^1.22.10" - * } - * } - * ``` - * - * Example where the `sass-loader` loader uses the `node-sass` implementation: - * - * **package.json** - * - * ```json - * { - * "devDependencies": { - * "sass-loader": "^7.2.0", - * "node-sass": "^4.0.0" - * } - * } - * ``` - * - * Beware the situation when `node-sass` and `sass` were installed! By default - * the `sass-loader` prefers `node-sass`. In order to avoid this situation you - * can use the `implementation` option. - * - * The `implementation` options either accepts `node-sass` or `sass` (`Dart Sass`) - * as a module. - * - * For example, to use Dart Sass, you'd pass: - * - * ```js - * module.exports = { - * module: { - * rules: [ - * { - * test: /\.s[ac]ss$/i, - * use: [ - * 'style-loader', - * 'css-loader', - * { - * loader: 'sass-loader', - * options: { - * // Prefer `dart-sass` - * implementation: require('sass'), - * }, - * }, - * ], - * }, - * ], - * }, - * }; - * ``` - * - * Note that when using `sass` (`Dart Sass`), **synchronous compilation is twice - * as fast as asynchronous compilation** by default, due to the overhead of - * asynchronous callbacks. To avoid this overhead, you can use the [fibers](https://www.npmjs.com/package/fibers) - * package to call asynchronous importers from the synchronous code path. - * - * We automatically inject the [`fibers`](https://github.com/laverdet/node-fibers) - * package (setup `sassOptions.fiber`) if is possible (i.e. you need install the - * [`fibers`](https://github.com/laverdet/node-fibers) package). - * - * **package.json** - * - * ```json - * { - * "devDependencies": { - * "sass-loader": "^7.2.0", - * "sass": "^1.22.10", - * "fibers": "^4.0.1" - * } - * } - * ``` - * - * You can disable automatically injecting the [`fibers`](https://github.com/laverdet/node-fibers) - * package by passing a `false` value for the `sassOptions.fiber` option. - * - * **webpack.config.js** - * - * ```js - * module.exports = { - * module: { - * rules: [ - * { - * test: /\.s[ac]ss$/i, - * use: [ - * 'style-loader', - * 'css-loader', - * { - * loader: 'sass-loader', - * options: { - * implementation: require('sass'), - * sassOptions: { - * fiber: false, - * }, - * }, - * }, - * ], - * }, - * ], - * }, - * }; - * ``` - * - * You can also pass the `fiber` value using this code: - * - * **webpack.config.js** - * - * ```js - * module.exports = { - * module: { - * rules: [ - * { - * test: /\.s[ac]ss$/i, - * use: [ - * 'style-loader', - * 'css-loader', - * { - * loader: 'sass-loader', - * options: { - * implementation: require('sass'), - * sassOptions: { - * fiber: require('fibers'), - * }, - * }, - * }, - * ], - * }, - * ], - * }, - * }; - * ``` - */ - implementation?: any; - - /** - * Options for [Node Sass](https://github.com/sass/node-sass) or [Dart Sass](http://sass-lang.com/dart-sass) - * implementation. - * - * > ℹ️ The `indentedSyntax` option has `true` value for the `sass` extension. - * - * > ℹ️ Options such as `file` and `outFile` are unavailable. - * - * > ℹ️ We recommend not to use the `sourceMapContents`, `sourceMapEmbed`, - * `sourceMapRoot` options because `sass-loader` automatically sets these - * options. - * - * There is a slight difference between the `node-sass` and `sass` (`Dart Sass`) - * options. Please consult documentation before using them: - * - * - [Node Sass documentation](https://github.com/sass/node-sass/#options) for - * all available `node-sass` options. - * - [Dart Sass documentation](https://github.com/sass/dart-sass#javascript-api) - * for all available `sass` options. - * - * #### `Object` - * - * Use and object for the Sass implementation setup. - * - * **webpack.config.js** - * - * ```js - * module.exports = { - * module: { - * rules: [ - * { - * test: /\.s[ac]ss$/i, - * use: [ - * 'style-loader', - * 'css-loader', - * { - * loader: 'sass-loader', - * options: { - * sassOptions: { - * indentWidth: 4, - * includePaths: ['absolute/path/a', 'absolute/path/b'], - * }, - * }, - * }, - * ], - * }, - * ], - * }, - * }; - * ``` - * - * #### `Function` - * - * Allows to setup the Sass implementation by setting different options based on - * the loader context. - * - * ```js - * module.exports = { - * module: { - * rules: [ - * { - * test: /\.s[ac]ss$/i, - * use: [ - * 'style-loader', - * 'css-loader', - * { - * loader: 'sass-loader', - * options: { - * sassOptions: (loaderContext) => { - * // More information about available properties https://webpack.js.org/api/loaders/ - * const { resourcePath, rootContext } = loaderContext; - * const relativePath = path.relative(rootContext, resourcePath); - * - * if (relativePath === 'styles/foo.scss') { - * return { - * includePaths: ['absolute/path/c', 'absolute/path/d'], - * }; - * } - * - * return { - * includePaths: ['absolute/path/a', 'absolute/path/b'], - * }; - * }, - * }, - * }, - * ], - * }, - * ], - * }, - * }; - * ``` - */ - sassOptions?: LoaderOptions.SassOptions | LoaderOptions.Callback | undefined; - - /** - * Prepends `Sass`/`SCSS` code before the actual entry file. In this case, the - * `sass-loader` will not override the `data` option but just append the entry's - * content. - * - * This is especially useful when some of your Sass variables depend on the - * environment: - * - * > ℹ Since you're injecting code, this will break the source mappings in your - * entry file. Often there's a simpler solution than this, like multiple Sass - * entry files. - * - * #### `String` - * - * ```js - * module.exports = { - * module: { - * rules: [ - * { - * test: /\.s[ac]ss$/i, - * use: [ - * 'style-loader', - * 'css-loader', - * { - * loader: 'sass-loader', - * options: { - * prependData: '$env: ' + process.env.NODE_ENV + ';', - * }, - * }, - * ], - * }, - * ], - * }, - * }; - * ``` - * - * #### `Function` - * - * ```js - * module.exports = { - * module: { - * rules: [ - * { - * test: /\.s[ac]ss$/i, - * use: [ - * 'style-loader', - * 'css-loader', - * { - * loader: 'sass-loader', - * options: { - * prependData: (loaderContext) => { - * // More information about available properties https://webpack.js.org/api/loaders/ - * const { resourcePath, rootContext } = loaderContext; - * const relativePath = path.relative(rootContext, resourcePath); - * - * if (relativePath === 'styles/foo.scss') { - * return '$value: 100px;'; - * } - * - * return '$value: 200px;'; - * }, - * }, - * }, - * ], - * }, - * ], - * }, - * }; - * ``` - * - * @default - * undefined - */ - additionalData?: string | LoaderOptions.Callback | undefined; - - /** - * Enables/Disables generation of source maps. - * - * By default generation of source maps depends on the [`devtool`](https://webpack.js.org/configuration/devtool/) - * option. All values enable source map generation except `eval` and `false` - * value. - * - * **webpack.config.js** - * - * ```js - * module.exports = { - * module: { - * rules: [ - * { - * test: /\.s[ac]ss$/i, - * use: [ - * 'style-loader', - * { - * loader: 'css-loader', - * options: { - * sourceMap: true, - * }, - * }, - * { - * loader: 'sass-loader', - * options: { - * sourceMap: true, - * }, - * }, - * ], - * }, - * ], - * }, - * }; - * ``` - * - * > ℹ In some rare cases `node-sass` can output invalid source maps (it is a - * `node-sass` bug). In order to avoid this, you can try to update `node-sass` - * to latest version or you can try to set within `sassOptions` the - * `outputStyle` option to `compressed`. - * - * @defaults - * Depends on the `compiler.devtool` value. - */ - sourceMap?: boolean | undefined; - - /** - * Enables/Disables the default Webpack importer. - * - * This can improve performance in some cases. Use it with caution because - * aliases and `@import` at-rules starting with `~` will not work. You can pass - * own `importer` to solve this (see [`importer docs`](https://github.com/sass/node-sass#importer--v200---experimental)). - * - * **webpack.config.js** - * - * ```js - * module.exports = { - * module: { - * rules: [ - * { - * test: /\.s[ac]ss$/i, - * use: [ - * 'style-loader', - * 'css-loader', - * { - * loader: 'sass-loader', - * options: { - * webpackImporter: false, - * }, - * }, - * ], - * }, - * ], - * }, - * }; - * ``` - * - * @default - * true - */ - webpackImporter?: boolean | undefined; - /** - * Treats the @warn rule as a webpack warning. - * - * Note: It will be true by default in the next major release. - * - * **webpack.config.js** - * - * ```js - * module.exports = { - * module: { - * rules: [ - * { - * test: /\.s[ac]ss$/i, - * use: [ - * 'style-loader', - * 'css-loader', - * { - * loader: 'sass-loader', - * options: { - * warnRuleAsWarning: false, - * }, - * }, - * ], - * }, - * ], - * }, - * }; - * ``` - */ - warnRuleAsWarning ?: boolean | undefined; -} - -export namespace LoaderOptions { - type Callback = (loaderContext: Webpack.loader.LoaderContext) => T; - - type SassOptions = NodeSass.Options | Sass.Options; -} diff --git a/packages/builder/builder-shared/compiled/sass-loader/license b/packages/builder/builder-shared/compiled/sass-loader/license deleted file mode 100644 index 3d5fa7325883..000000000000 --- a/packages/builder/builder-shared/compiled/sass-loader/license +++ /dev/null @@ -1,20 +0,0 @@ -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/sass-loader/node-sass/index.d.ts b/packages/builder/builder-shared/compiled/sass-loader/node-sass/index.d.ts deleted file mode 100644 index 087952dbbb5a..000000000000 --- a/packages/builder/builder-shared/compiled/sass-loader/node-sass/index.d.ts +++ /dev/null @@ -1,409 +0,0 @@ -// Type definitions for node-sass 4.11 -// Project: https://github.com/sass/node-sass -// Definitions by: Asana , Chris Eppstein -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.7 - -/// - -export type ImporterReturnType = { file: string } | { file?: string | undefined; contents: string } | Error | null | types.Null | types.Error; - -/** - * The context value is a value that is shared for the duration of a single render. - * The context object is the implicit `this` for importers and sass functions - * that are implemented in javascript. - * - * A render can be detected as asynchronous if the `callback` property is set on the context object. - */ -export interface Context { - options: Options; - callback: SassRenderCallback | undefined; - [data: string]: any; -} - -export interface AsyncContext extends Context { - callback: SassRenderCallback; -} - -export interface SyncContext extends Context { - callback: undefined; -} - -export type AsyncImporter = (this: AsyncContext, url: string, prev: string, done: (data: ImporterReturnType) => void) => void; -export type SyncImporter = (this: SyncContext, url: string, prev: string) => ImporterReturnType; -export type Importer = AsyncImporter | SyncImporter; - -// These function types enumerate up to 6 js arguments. More than that will be incorrectly marked by the compiler as an error. - -// ** Sync Sass functions receiving fixed # of arguments *** -export type SyncSassFn = (this: SyncContext, ...$args: types.Value[]) => types.ReturnValue; - -/* tslint:disable:max-line-length */ -// ** Sync Sass functions receiving variable # of arguments *** -export type SyncSassVarArgFn1 = (this: SyncContext, $arg1: types.Value[]) => types.ReturnValue; -export type SyncSassVarArgFn2 = (this: SyncContext, $arg1: types.Value, $arg2: types.Value[]) => types.ReturnValue; -export type SyncSassVarArgFn3 = (this: SyncContext, $arg1: types.Value, $arg2: types.Value, $arg3: types.Value[]) => types.ReturnValue; -export type SyncSassVarArgFn4 = (this: SyncContext, $arg1: types.Value, $arg2: types.Value, $arg3: types.Value, $arg4: types.Value[]) => types.ReturnValue; -export type SyncSassVarArgFn5 = (this: SyncContext, $arg1: types.Value, $arg2: types.Value, $arg3: types.Value, $arg4: types.Value, $arg5: types.Value[]) => types.ReturnValue; -export type SyncSassVarArgFn6 = (this: SyncContext, $arg1: types.Value, $arg2: types.Value, $arg3: types.Value, $arg4: types.Value, $arg5: types.Value, $arg6: types.Value[]) => types.ReturnValue; - -export type SassFunctionCallback = ($result: types.ReturnValue) => void; - -// ** Async Sass functions receiving fixed # of arguments *** -export type AsyncSassFn0 = (this: AsyncContext, cb: SassFunctionCallback) => void; -export type AsyncSassFn1 = (this: AsyncContext, $arg1: types.Value, cb: SassFunctionCallback) => void; -export type AsyncSassFn2 = (this: AsyncContext, $arg1: types.Value, $arg2: types.Value, cb: SassFunctionCallback) => void; -export type AsyncSassFn3 = (this: AsyncContext, $arg1: types.Value, $arg2: types.Value, $arg3: types.Value, cb: SassFunctionCallback) => void; -export type AsyncSassFn4 = (this: AsyncContext, $arg1: types.Value, $arg2: types.Value, $arg3: types.Value, $arg4: types.Value, cb: SassFunctionCallback) => void; -export type AsyncSassFn5 = (this: AsyncContext, $arg1: types.Value, $arg2: types.Value, $arg3: types.Value, $arg4: types.Value, $arg5: types.Value, cb: SassFunctionCallback) => void; -export type AsyncSassFn6 = (this: AsyncContext, $arg1: types.Value, $arg2: types.Value, $arg3: types.Value, $arg4: types.Value, $arg5: types.Value, $arg6: types.Value, cb: SassFunctionCallback) => void; - -// *** Async Sass Functions receiving variable # of arguments *** -export type AsyncSassVarArgFn1 = (this: AsyncContext, $arg1: types.Value[], cb: SassFunctionCallback) => void; -export type AsyncSassVarArgFn2 = (this: AsyncContext, $arg1: types.Value, $arg2: types.Value[], cb: SassFunctionCallback) => void; -export type AsyncSassVarArgFn3 = (this: AsyncContext, $arg1: types.Value, $arg2: types.Value, $arg3: types.Value[], cb: SassFunctionCallback) => void; -export type AsyncSassVarArgFn4 = (this: AsyncContext, $arg1: types.Value, $arg2: types.Value, $arg3: types.Value, $arg4: types.Value[], cb: SassFunctionCallback) => void; -export type AsyncSassVarArgFn5 = (this: AsyncContext, $arg1: types.Value, $arg2: types.Value, $arg3: types.Value, $arg4: types.Value, $arg5: types.Value[], cb: SassFunctionCallback) => void; -export type AsyncSassVarArgFn6 = (this: AsyncContext, $arg1: types.Value, $arg2: types.Value, $arg3: types.Value, $arg4: types.Value, $arg5: types.Value, $arg6: types.Value[], cb: SassFunctionCallback) => void; -/* tslint:enable:max-line-length */ - -export type SyncSassFunction = SyncSassFn | SyncSassVarArgFn1 | SyncSassVarArgFn2 | SyncSassVarArgFn3 | SyncSassVarArgFn4 | SyncSassVarArgFn5 | SyncSassVarArgFn6; - -export type AsyncSassFunction = AsyncSassFn0 | AsyncSassFn1 | AsyncSassFn2 | AsyncSassFn3 | AsyncSassFn4 | AsyncSassFn5 | AsyncSassFn6 - | AsyncSassVarArgFn1 | AsyncSassVarArgFn2 | AsyncSassVarArgFn3 | AsyncSassVarArgFn4 | AsyncSassVarArgFn5 | AsyncSassVarArgFn6; - -export type SassFunction = SyncSassFunction | AsyncSassFunction; - -export type FunctionDeclarations = Record; - -export interface Options { - file?: string | undefined; - data?: string | undefined; - importer?: Importer | Importer[] | undefined; - functions?: FunctionDeclarations | undefined; - includePaths?: string[] | undefined; - indentedSyntax?: boolean | undefined; - indentType?: string | undefined; - indentWidth?: number | undefined; - linefeed?: string | undefined; - omitSourceMapUrl?: boolean | undefined; - outFile?: string | undefined; - outputStyle?: "compact" | "compressed" | "expanded" | "nested" | undefined; - precision?: number | undefined; - sourceComments?: boolean | undefined; - sourceMap?: boolean | string | undefined; - sourceMapContents?: boolean | undefined; - sourceMapEmbed?: boolean | undefined; - sourceMapRoot?: string | undefined; - [key: string]: any; -} - -export interface SyncOptions extends Options { - functions?: FunctionDeclarations | undefined; - importer?: SyncImporter | SyncImporter[] | undefined; -} - -/** - * The error object returned to javascript by sass's render methods. - * - * This is not the same thing as types.Error. - */ -export interface SassError extends Error { - message: string; - line: number; - column: number; - status: number; - file: string; -} - -/** - * The result of successfully compiling a Sass file. - */ -export interface Result { - css: Buffer; - map: Buffer; - stats: { - entry: string; - start: number; - end: number; - duration: number; - includedFiles: string[]; - }; -} -export type SassRenderCallback = (err: SassError, result: Result) => any; - -// Note, most node-sass constructors can be invoked as a function or with a new -// operator. The exception: the types Null and Boolean for which new is -// forbidden. -// -// Because of this, the new-able object notation is used here, a class does not -// work for these types. -export namespace types { - /* tslint:disable:ban-types */ - /** - * Values that are received from Sass as an argument to a javascript function. - */ - export type Value = Null | Number | String | Color | Boolean | List | Map; - - /** - * Values that are legal to return to Sass from a javascript function. - */ - export type ReturnValue = Value | Error; - - // *** Sass Null *** - - export interface Null { - /** - * This property doesn't exist, but its presence forces the typescript - * compiler to properly type check this type. Without it, it seems to - * allow things that aren't types.Null to match it in case statements and - * assignments. - */ - readonly ___NULL___: unique symbol; - } - - interface NullConstructor { - (): Null; - NULL: Null; - } - export const Null: NullConstructor; - - // *** Sass Number *** - - export interface Number { - getValue(): number; - setValue(n: number): void; - getUnit(): string; - setUnit(u: string): void; - } - interface NumberConstructor { - /** - * Constructs a new Sass number. Does not require use of the `new` keyword. - */ - new(value: number, unit?: string): Number; - /** - * Constructs a new Sass number. Can also be used with the `new` keyword. - */ - (value: number, unit?: string): Number; - } - - export const Number: NumberConstructor; - - // *** Sass String *** - - export interface String { - getValue(): string; - setValue(s: string): void; - } - - interface StringConstructor { - /** - * Constructs a new Sass string. Does not require use of the `new` keyword. - */ - new (value: string): String; - /** - * Constructs a new Sass string. Can also be used with the `new` keyword. - */ - (value: string): String; - } - - export const String: StringConstructor; - - // *** Sass Color *** - - export interface Color { - /** - * Get the red component of the color. - * @returns integer between 0 and 255 inclusive; - */ - getR(): number; - /** - * Set the red component of the color. - * @returns integer between 0 and 255 inclusive; - */ - setR(r: number): void; - /** - * Get the green component of the color. - * @returns integer between 0 and 255 inclusive; - */ - getG(): number; - /** - * Set the green component of the color. - * @param g integer between 0 and 255 inclusive; - */ - setG(g: number): void; - /** - * Get the blue component of the color. - * @returns integer between 0 and 255 inclusive; - */ - getB(): number; - /** - * Set the blue component of the color. - * @param b integer between 0 and 255 inclusive; - */ - setB(b: number): void; - /** - * Get the alpha transparency component of the color. - * @returns number between 0 and 1 inclusive; - */ - getA(): number; - /** - * Set the alpha component of the color. - * @param a number between 0 and 1 inclusive; - */ - setA(a: number): void; - } - - interface ColorConstructor { - /** - * Constructs a new Sass color given the RGBA component values. Do not invoke with the `new` keyword. - * - * @param r integer 0-255 inclusive - * @param g integer 0-255 inclusive - * @param b integer 0-255 inclusive - * @param [a] float 0 - 1 inclusive - * @returns a SassColor instance. - */ - new (r: number, g: number, b: number, a?: number): Color; - - /** - * Constructs a new Sass color given a 4 byte number. Do not invoke with the `new` keyword. - * - * If a single number is passed it is assumed to be a number that contains - * all the components which are extracted using bitmasks and bitshifting. - * - * @param hexN A number that is usually written in hexadecimal form. E.g. 0xff0088cc. - * @returns a Sass Color instance. - * @example - * // Comparison with byte array manipulation - * let a = new ArrayBuffer(4); - * let hexN = 0xCCFF0088; // 0xAARRGGBB - * let a32 = new Uint32Array(a); // Uint32Array [ 0 ] - * a32[0] = hexN; - * let a8 = new Uint8Array(a); // Uint8Array [ 136, 0, 255, 204 ] - * let componentBytes = [a8[2], a8[1], a8[0], a8[3] / 255] // [ 136, 0, 255, 0.8 ] - * let c = sass.types.Color(hexN); - * let components = [c.getR(), c.getG(), c.getR(), c.getA()] // [ 136, 0, 255, 0.8 ] - * assert.deepEqual(componentBytes, components); // does not raise. - */ - new (hexN: number): Color; - - /** - * Constructs a new Sass color given the RGBA component values. Do not invoke with the `new` keyword. - * - * @param r integer 0-255 inclusive - * @param g integer 0-255 inclusive - * @param b integer 0-255 inclusive - * @param [a] float 0 - 1 inclusive - * @returns a SassColor instance. - */ - (r: number, g: number, b: number, a?: number): Color; - - /** - * Constructs a new Sass color given a 4 byte number. Do not invoke with the `new` keyword. - * - * If a single number is passed it is assumed to be a number that contains - * all the components which are extracted using bitmasks and bitshifting. - * - * @param hexN A number that is usually written in hexadecimal form. E.g. 0xff0088cc. - * @returns a Sass Color instance. - * @example - * // Comparison with byte array manipulation - * let a = new ArrayBuffer(4); - * let hexN = 0xCCFF0088; // 0xAARRGGBB - * let a32 = new Uint32Array(a); // Uint32Array [ 0 ] - * a32[0] = hexN; - * let a8 = new Uint8Array(a); // Uint8Array [ 136, 0, 255, 204 ] - * let componentBytes = [a8[2], a8[1], a8[0], a8[3] / 255] // [ 136, 0, 255, 0.8 ] - * let c = sass.types.Color(hexN); - * let components = [c.getR(), c.getG(), c.getR(), c.getA()] // [ 136, 0, 255, 0.8 ] - * assert.deepEqual(componentBytes, components); // does not raise. - */ - (hexN: number): Color; - } - - export const Color: ColorConstructor; - - // *** Sass Boolean *** - - export interface Boolean { - getValue(): boolean; - } - - interface BooleanConstructor { - (bool: boolean): Boolean; - TRUE: Boolean; - FALSE: Boolean; - } - - export const Boolean: BooleanConstructor; - - // *** Sass List *** - - export interface Enumerable { - getValue(index: number): Value; - setValue(index: number, value: Value): void; - getLength(): number; - } - - export interface List extends Enumerable { - getSeparator(): boolean; - setSeparator(isComma: boolean): void; - } - interface ListConstructor { - new (length: number, commaSeparator?: boolean): List; - (length: number, commaSeparator?: boolean): List; - } - export const List: ListConstructor; - - // *** Sass Map *** - - export interface Map extends Enumerable { - getKey(index: number): Value; - setKey(index: number, key: Value): void; - } - interface MapConstructor { - new (length: number): Map; - (length: number): Map; - } - export const Map: MapConstructor; - - // *** Sass Error *** - - export interface Error { - /** - * This property doesn't exist, but its presence forces the typescript - * compiler to properly type check this type. Without it, it seems to - * allow things that aren't types.Error to match it in case statements and - * assignments. - */ - readonly ___SASS_ERROR___: unique symbol; - // why isn't there a getMessage() method? - } - - interface ErrorConstructor { - /** - * An error return value for async functions. - * For synchronous functions, this can be returned or a standard error object can be thrown. - */ - new (message: string): Error; - /** - * An error return value for async functions. - * For synchronous functions, this can be returned or a standard error object can be thrown. - */ - (message: string): Error; - } - export const Error: ErrorConstructor; - - /* eslint-enable @typescript-eslint/ban-types */ - /* tslint:enable:ban-types */ -} - -// *** Top level Constants *** - -export const NULL: types.Null; -export const TRUE: types.Boolean; -export const FALSE: types.Boolean; -export const info: string; -export function render(options: Options, callback: SassRenderCallback): void; -export function renderSync(options: SyncOptions): Result; diff --git a/packages/builder/builder-shared/compiled/sass-loader/package.json b/packages/builder/builder-shared/compiled/sass-loader/package.json deleted file mode 100644 index d00da048748e..000000000000 --- a/packages/builder/builder-shared/compiled/sass-loader/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"sass-loader","author":"J. Tangelder","version":"13.0.2","funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"license":"MIT"} diff --git a/packages/builder/builder-shared/compiled/sass-loader/sass.default.dart.js b/packages/builder/builder-shared/compiled/sass-loader/sass.default.dart.js deleted file mode 100644 index 955ac043b60b..000000000000 --- a/packages/builder/builder-shared/compiled/sass-loader/sass.default.dart.js +++ /dev/null @@ -1,4 +0,0 @@ -var library = require('./sass.dart.js'); -library.load({}); - -module.exports = library; diff --git a/packages/builder/builder-shared/compiled/sass/index.js b/packages/builder/builder-shared/compiled/sass/index.js deleted file mode 100644 index a4c33f737efe..000000000000 --- a/packages/builder/builder-shared/compiled/sass/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var __webpack_modules__={158:function(e,r){(function(e,n){true?n(r):0})(this,(function(e){"use strict";var r="delete";var n=5;var i=1<>>0;if(""+n!==r||n===4294967295){return NaN}r=n}return r<0?ensureSize(e)+r:r}function returnTrue(){return true}function wholeSlice(e,r,n){return(e===0&&!isNeg(e)||n!==undefined&&e<=-n)&&(r===undefined||n!==undefined&&r>=n)}function resolveBegin(e,r){return resolveIndex(e,r,0)}function resolveEnd(e,r){return resolveIndex(e,r,r)}function resolveIndex(e,r,n){return e===undefined?n:isNeg(e)?r===Infinity?r:Math.max(0,r+e)|0:r===undefined||r===e?e:Math.min(r,e)|0}function isNeg(e){return e<0||e===0&&1/e===-Infinity}var o="@@__IMMUTABLE_ITERABLE__@@";function isCollection(e){return Boolean(e&&e[o])}var l="@@__IMMUTABLE_KEYED__@@";function isKeyed(e){return Boolean(e&&e[l])}var u="@@__IMMUTABLE_INDEXED__@@";function isIndexed(e){return Boolean(e&&e[u])}function isAssociative(e){return isKeyed(e)||isIndexed(e)}var _=function Collection(e){return isCollection(e)?e:C(e)};var c=function(e){function KeyedCollection(e){return isKeyed(e)?e:E(e)}if(e)KeyedCollection.__proto__=e;KeyedCollection.prototype=Object.create(e&&e.prototype);KeyedCollection.prototype.constructor=KeyedCollection;return KeyedCollection}(_);var $=function(e){function IndexedCollection(e){return isIndexed(e)?e:A(e)}if(e)IndexedCollection.__proto__=e;IndexedCollection.prototype=Object.create(e&&e.prototype);IndexedCollection.prototype.constructor=IndexedCollection;return IndexedCollection}(_);var p=function(e){function SetCollection(e){return isCollection(e)&&!isAssociative(e)?e:M(e)}if(e)SetCollection.__proto__=e;SetCollection.prototype=Object.create(e&&e.prototype);SetCollection.prototype.constructor=SetCollection;return SetCollection}(_);_.Keyed=c;_.Indexed=$;_.Set=p;var h="@@__IMMUTABLE_SEQ__@@";function isSeq(e){return Boolean(e&&e[h])}var d="@@__IMMUTABLE_RECORD__@@";function isRecord(e){return Boolean(e&&e[d])}function isImmutable(e){return isCollection(e)||isRecord(e)}var m="@@__IMMUTABLE_ORDERED__@@";function isOrdered(e){return Boolean(e&&e[m])}var g=0;var f=1;var y=2;var S=typeof Symbol==="function"&&Symbol.iterator;var v="@@iterator";var b=S||v;var x=function Iterator(e){this.next=e};x.prototype.toString=function toString(){return"[Iterator]"};x.KEYS=g;x.VALUES=f;x.ENTRIES=y;x.prototype.inspect=x.prototype.toSource=function(){return this.toString()};x.prototype[b]=function(){return this};function iteratorValue(e,r,n,i){var s=e===0?r:e===1?n:[r,n];i?i.value=s:i={value:s,done:false};return i}function iteratorDone(){return{value:undefined,done:true}}function hasIterator(e){if(Array.isArray(e)){return true}return!!getIteratorFn(e)}function isIterator(e){return e&&typeof e.next==="function"}function getIterator(e){var r=getIteratorFn(e);return r&&r.call(e)}function getIteratorFn(e){var r=e&&(S&&e[S]||e[v]);if(typeof r==="function"){return r}}function isEntriesIterable(e){var r=getIteratorFn(e);return r&&r===e.entries}function isKeysIterable(e){var r=getIteratorFn(e);return r&&r===e.keys}var w=Object.prototype.hasOwnProperty;function isArrayLike(e){if(Array.isArray(e)||typeof e==="string"){return true}return e&&typeof e==="object"&&Number.isInteger(e.length)&&e.length>=0&&(e.length===0?Object.keys(e).length===1:e.hasOwnProperty(e.length-1))}var C=function(e){function Seq(e){return e===undefined||e===null?emptySequence():isImmutable(e)?e.toSeq():seqFromValue(e)}if(e)Seq.__proto__=e;Seq.prototype=Object.create(e&&e.prototype);Seq.prototype.constructor=Seq;Seq.prototype.toSeq=function toSeq(){return this};Seq.prototype.toString=function toString(){return this.__toString("Seq {","}")};Seq.prototype.cacheResult=function cacheResult(){if(!this._cache&&this.__iterateUncached){this._cache=this.entrySeq().toArray();this.size=this._cache.length}return this};Seq.prototype.__iterate=function __iterate(e,r){var n=this._cache;if(n){var i=n.length;var s=0;while(s!==i){var a=n[r?i-++s:s++];if(e(a[1],a[0],this)===false){break}}return s}return this.__iterateUncached(e,r)};Seq.prototype.__iterator=function __iterator(e,r){var n=this._cache;if(n){var i=n.length;var s=0;return new x((function(){if(s===i){return iteratorDone()}var a=n[r?i-++s:s++];return iteratorValue(e,a[0],a[1])}))}return this.__iteratorUncached(e,r)};return Seq}(_);var E=function(e){function KeyedSeq(e){return e===undefined||e===null?emptySequence().toKeyedSeq():isCollection(e)?isKeyed(e)?e.toSeq():e.fromEntrySeq():isRecord(e)?e.toSeq():keyedSeqFromValue(e)}if(e)KeyedSeq.__proto__=e;KeyedSeq.prototype=Object.create(e&&e.prototype);KeyedSeq.prototype.constructor=KeyedSeq;KeyedSeq.prototype.toKeyedSeq=function toKeyedSeq(){return this};return KeyedSeq}(C);var A=function(e){function IndexedSeq(e){return e===undefined||e===null?emptySequence():isCollection(e)?isKeyed(e)?e.entrySeq():e.toIndexedSeq():isRecord(e)?e.toSeq().entrySeq():indexedSeqFromValue(e)}if(e)IndexedSeq.__proto__=e;IndexedSeq.prototype=Object.create(e&&e.prototype);IndexedSeq.prototype.constructor=IndexedSeq;IndexedSeq.of=function of(){return IndexedSeq(arguments)};IndexedSeq.prototype.toIndexedSeq=function toIndexedSeq(){return this};IndexedSeq.prototype.toString=function toString(){return this.__toString("Seq [","]")};return IndexedSeq}(C);var M=function(e){function SetSeq(e){return(isCollection(e)&&!isAssociative(e)?e:A(e)).toSetSeq()}if(e)SetSeq.__proto__=e;SetSeq.prototype=Object.create(e&&e.prototype);SetSeq.prototype.constructor=SetSeq;SetSeq.of=function of(){return SetSeq(arguments)};SetSeq.prototype.toSetSeq=function toSetSeq(){return this};return SetSeq}(C);C.isSeq=isSeq;C.Keyed=E;C.Set=M;C.Indexed=A;C.prototype[h]=true;var I=function(e){function ArraySeq(e){this._array=e;this.size=e.length}if(e)ArraySeq.__proto__=e;ArraySeq.prototype=Object.create(e&&e.prototype);ArraySeq.prototype.constructor=ArraySeq;ArraySeq.prototype.get=function get(e,r){return this.has(e)?this._array[wrapIndex(this,e)]:r};ArraySeq.prototype.__iterate=function __iterate(e,r){var n=this._array;var i=n.length;var s=0;while(s!==i){var a=r?i-++s:s++;if(e(n[a],a,this)===false){break}}return s};ArraySeq.prototype.__iterator=function __iterator(e,r){var n=this._array;var i=n.length;var s=0;return new x((function(){if(s===i){return iteratorDone()}var a=r?i-++s:s++;return iteratorValue(e,a,n[a])}))};return ArraySeq}(A);var V=function(e){function ObjectSeq(e){var r=Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]);this._object=e;this._keys=r;this.size=r.length}if(e)ObjectSeq.__proto__=e;ObjectSeq.prototype=Object.create(e&&e.prototype);ObjectSeq.prototype.constructor=ObjectSeq;ObjectSeq.prototype.get=function get(e,r){if(r!==undefined&&!this.has(e)){return r}return this._object[e]};ObjectSeq.prototype.has=function has(e){return w.call(this._object,e)};ObjectSeq.prototype.__iterate=function __iterate(e,r){var n=this._object;var i=this._keys;var s=i.length;var a=0;while(a!==s){var o=i[r?s-++a:a++];if(e(n[o],o,this)===false){break}}return a};ObjectSeq.prototype.__iterator=function __iterator(e,r){var n=this._object;var i=this._keys;var s=i.length;var a=0;return new x((function(){if(a===s){return iteratorDone()}var o=i[r?s-++a:a++];return iteratorValue(e,o,n[o])}))};return ObjectSeq}(E);V.prototype[m]=true;var L=function(e){function CollectionSeq(e){this._collection=e;this.size=e.length||e.size}if(e)CollectionSeq.__proto__=e;CollectionSeq.prototype=Object.create(e&&e.prototype);CollectionSeq.prototype.constructor=CollectionSeq;CollectionSeq.prototype.__iterateUncached=function __iterateUncached(e,r){if(r){return this.cacheResult().__iterate(e,r)}var n=this._collection;var i=getIterator(n);var s=0;if(isIterator(i)){var a;while(!(a=i.next()).done){if(e(a.value,s++,this)===false){break}}}return s};CollectionSeq.prototype.__iteratorUncached=function __iteratorUncached(e,r){if(r){return this.cacheResult().__iterator(e,r)}var n=this._collection;var i=getIterator(n);if(!isIterator(i)){return new x(iteratorDone)}var s=0;return new x((function(){var r=i.next();return r.done?r:iteratorValue(e,s++,r.value)}))};return CollectionSeq}(A);var R;function emptySequence(){return R||(R=new I([]))}function keyedSeqFromValue(e){var r=maybeIndexedSeqFromValue(e);if(r){return r.fromEntrySeq()}if(typeof e==="object"){return new V(e)}throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function indexedSeqFromValue(e){var r=maybeIndexedSeqFromValue(e);if(r){return r}throw new TypeError("Expected Array or collection object of values: "+e)}function seqFromValue(e){var r=maybeIndexedSeqFromValue(e);if(r){return isEntriesIterable(e)?r.fromEntrySeq():isKeysIterable(e)?r.toSetSeq():r}if(typeof e==="object"){return new V(e)}throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}function maybeIndexedSeqFromValue(e){return isArrayLike(e)?new I(e):hasIterator(e)?new L(e):undefined}var k="@@__IMMUTABLE_MAP__@@";function isMap(e){return Boolean(e&&e[k])}function isOrderedMap(e){return isMap(e)&&isOrdered(e)}function isValueObject(e){return Boolean(e&&typeof e.equals==="function"&&typeof e.hashCode==="function")}function is(e,r){if(e===r||e!==e&&r!==r){return true}if(!e||!r){return false}if(typeof e.valueOf==="function"&&typeof r.valueOf==="function"){e=e.valueOf();r=r.valueOf();if(e===r||e!==e&&r!==r){return true}if(!e||!r){return false}}return!!(isValueObject(e)&&isValueObject(r)&&e.equals(r))}var F=typeof Math.imul==="function"&&Math.imul(4294967295,2)===-2?Math.imul:function imul(e,r){e|=0;r|=0;var n=e&65535;var i=r&65535;return n*i+((e>>>16)*i+n*(r>>>16)<<16>>>0)|0};function smi(e){return e>>>1&1073741824|e&3221225471}var T=Object.prototype.valueOf;function hash(e){if(e==null){return hashNullish(e)}if(typeof e.hashCode==="function"){return smi(e.hashCode(e))}var r=valueOf(e);if(r==null){return hashNullish(r)}switch(typeof r){case"boolean":return r?1108378657:1108378656;case"number":return hashNumber(r);case"string":return r.length>z?cachedHashString(r):hashString(r);case"object":case"function":return hashJSObj(r);case"symbol":return hashSymbol(r);default:if(typeof r.toString==="function"){return hashString(r.toString())}throw new Error("Value type "+typeof r+" cannot be hashed.")}}function hashNullish(e){return e===null?1108378658:1108378659}function hashNumber(e){if(e!==e||e===Infinity){return 0}var r=e|0;if(r!==e){r^=e*4294967295}while(e>4294967295){e/=4294967295;r^=e}return smi(r)}function cachedHashString(e){var r=W[e];if(r===undefined){r=hashString(e);if(q===H){q=0;W={}}q++;W[e]=r}return r}function hashString(e){var r=0;for(var n=0;n0){switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}}function valueOf(e){return e.valueOf!==T&&typeof e.valueOf==="function"?e.valueOf(e):e}function nextHash(){var e=++B;if(B&1073741824){B=0}return e}var J=typeof WeakMap==="function";var P;if(J){P=new WeakMap}var O=Object.create(null);var B=0;var D="__immutablehash__";if(typeof Symbol==="function"){D=Symbol(D)}var z=16;var H=255;var q=0;var W={};var j=function(e){function ToKeyedSequence(e,r){this._iter=e;this._useKeys=r;this.size=e.size}if(e)ToKeyedSequence.__proto__=e;ToKeyedSequence.prototype=Object.create(e&&e.prototype);ToKeyedSequence.prototype.constructor=ToKeyedSequence;ToKeyedSequence.prototype.get=function get(e,r){return this._iter.get(e,r)};ToKeyedSequence.prototype.has=function has(e){return this._iter.has(e)};ToKeyedSequence.prototype.valueSeq=function valueSeq(){return this._iter.valueSeq()};ToKeyedSequence.prototype.reverse=function reverse(){var e=this;var r=reverseFactory(this,true);if(!this._useKeys){r.valueSeq=function(){return e._iter.toSeq().reverse()}}return r};ToKeyedSequence.prototype.map=function map(e,r){var n=this;var i=mapFactory(this,e,r);if(!this._useKeys){i.valueSeq=function(){return n._iter.toSeq().map(e,r)}}return i};ToKeyedSequence.prototype.__iterate=function __iterate(e,r){var n=this;return this._iter.__iterate((function(r,i){return e(r,i,n)}),r)};ToKeyedSequence.prototype.__iterator=function __iterator(e,r){return this._iter.__iterator(e,r)};return ToKeyedSequence}(E);j.prototype[m]=true;var K=function(e){function ToIndexedSequence(e){this._iter=e;this.size=e.size}if(e)ToIndexedSequence.__proto__=e;ToIndexedSequence.prototype=Object.create(e&&e.prototype);ToIndexedSequence.prototype.constructor=ToIndexedSequence;ToIndexedSequence.prototype.includes=function includes(e){return this._iter.includes(e)};ToIndexedSequence.prototype.__iterate=function __iterate(e,r){var n=this;var i=0;r&&ensureSize(this);return this._iter.__iterate((function(s){return e(s,r?n.size-++i:i++,n)}),r)};ToIndexedSequence.prototype.__iterator=function __iterator(e,r){var n=this;var i=this._iter.__iterator(f,r);var s=0;r&&ensureSize(this);return new x((function(){var a=i.next();return a.done?a:iteratorValue(e,r?n.size-++s:s++,a.value,a)}))};return ToIndexedSequence}(A);var Q=function(e){function ToSetSequence(e){this._iter=e;this.size=e.size}if(e)ToSetSequence.__proto__=e;ToSetSequence.prototype=Object.create(e&&e.prototype);ToSetSequence.prototype.constructor=ToSetSequence;ToSetSequence.prototype.has=function has(e){return this._iter.includes(e)};ToSetSequence.prototype.__iterate=function __iterate(e,r){var n=this;return this._iter.__iterate((function(r){return e(r,r,n)}),r)};ToSetSequence.prototype.__iterator=function __iterator(e,r){var n=this._iter.__iterator(f,r);return new x((function(){var r=n.next();return r.done?r:iteratorValue(e,r.value,r.value,r)}))};return ToSetSequence}(M);var G=function(e){function FromEntriesSequence(e){this._iter=e;this.size=e.size}if(e)FromEntriesSequence.__proto__=e;FromEntriesSequence.prototype=Object.create(e&&e.prototype);FromEntriesSequence.prototype.constructor=FromEntriesSequence;FromEntriesSequence.prototype.entrySeq=function entrySeq(){return this._iter.toSeq()};FromEntriesSequence.prototype.__iterate=function __iterate(e,r){var n=this;return this._iter.__iterate((function(r){if(r){validateEntry(r);var i=isCollection(r);return e(i?r.get(1):r[1],i?r.get(0):r[0],n)}}),r)};FromEntriesSequence.prototype.__iterator=function __iterator(e,r){var n=this._iter.__iterator(f,r);return new x((function(){while(true){var r=n.next();if(r.done){return r}var i=r.value;if(i){validateEntry(i);var s=isCollection(i);return iteratorValue(e,s?i.get(0):i[0],s?i.get(1):i[1],r)}}}))};return FromEntriesSequence}(E);K.prototype.cacheResult=j.prototype.cacheResult=Q.prototype.cacheResult=G.prototype.cacheResult=cacheResultThrough;function flipFactory(e){var r=makeSequence(e);r._iter=e;r.size=e.size;r.flip=function(){return e};r.reverse=function(){var r=e.reverse.apply(this);r.flip=function(){return e.reverse()};return r};r.has=function(r){return e.includes(r)};r.includes=function(r){return e.has(r)};r.cacheResult=cacheResultThrough;r.__iterateUncached=function(r,n){var i=this;return e.__iterate((function(e,n){return r(n,e,i)!==false}),n)};r.__iteratorUncached=function(r,n){if(r===y){var i=e.__iterator(r,n);return new x((function(){var e=i.next();if(!e.done){var r=e.value[0];e.value[0]=e.value[1];e.value[1]=r}return e}))}return e.__iterator(r===f?g:f,n)};return r}function mapFactory(e,r,n){var i=makeSequence(e);i.size=e.size;i.has=function(r){return e.has(r)};i.get=function(i,s){var o=e.get(i,a);return o===a?s:r.call(n,o,i,e)};i.__iterateUncached=function(i,s){var a=this;return e.__iterate((function(e,s,o){return i(r.call(n,e,s,o),s,a)!==false}),s)};i.__iteratorUncached=function(i,s){var a=e.__iterator(y,s);return new x((function(){var s=a.next();if(s.done){return s}var o=s.value;var l=o[0];return iteratorValue(i,l,r.call(n,o[1],l,e),s)}))};return i}function reverseFactory(e,r){var n=this;var i=makeSequence(e);i._iter=e;i.size=e.size;i.reverse=function(){return e};if(e.flip){i.flip=function(){var r=flipFactory(e);r.reverse=function(){return e.flip()};return r}}i.get=function(n,i){return e.get(r?n:-1-n,i)};i.has=function(n){return e.has(r?n:-1-n)};i.includes=function(r){return e.includes(r)};i.cacheResult=cacheResultThrough;i.__iterate=function(n,i){var s=this;var a=0;i&&ensureSize(e);return e.__iterate((function(e,o){return n(e,r?o:i?s.size-++a:a++,s)}),!i)};i.__iterator=function(i,s){var a=0;s&&ensureSize(e);var o=e.__iterator(y,!s);return new x((function(){var e=o.next();if(e.done){return e}var l=e.value;return iteratorValue(i,r?l[0]:s?n.size-++a:a++,l[1],e)}))};return i}function filterFactory(e,r,n,i){var s=makeSequence(e);if(i){s.has=function(i){var s=e.get(i,a);return s!==a&&!!r.call(n,s,i,e)};s.get=function(i,s){var o=e.get(i,a);return o!==a&&r.call(n,o,i,e)?o:s}}s.__iterateUncached=function(s,a){var o=this;var l=0;e.__iterate((function(e,a,u){if(r.call(n,e,a,u)){l++;return s(e,i?a:l-1,o)}}),a);return l};s.__iteratorUncached=function(s,a){var o=e.__iterator(y,a);var l=0;return new x((function(){while(true){var a=o.next();if(a.done){return a}var u=a.value;var _=u[0];var c=u[1];if(r.call(n,c,_,e)){return iteratorValue(s,i?_:l++,c,a)}}}))};return s}function countByFactory(e,r,n){var i=Y().asMutable();e.__iterate((function(s,a){i.update(r.call(n,s,a,e),0,(function(e){return e+1}))}));return i.asImmutable()}function groupByFactory(e,r,n){var i=isKeyed(e);var s=(isOrdered(e)?me():Y()).asMutable();e.__iterate((function(a,o){s.update(r.call(n,a,o,e),(function(e){return e=e||[],e.push(i?[o,a]:a),e}))}));var a=collectionClass(e);return s.map((function(r){return reify(e,a(r))})).asImmutable()}function sliceFactory(e,r,n,i){var s=e.size;if(wholeSlice(r,n,s)){return e}var a=resolveBegin(r,s);var o=resolveEnd(n,s);if(a!==a||o!==o){return sliceFactory(e.toSeq().cacheResult(),r,n,i)}var l=o-a;var u;if(l===l){u=l<0?0:l}var _=makeSequence(e);_.size=u===0?u:e.size&&u||undefined;if(!i&&isSeq(e)&&u>=0){_.get=function(r,n){r=wrapIndex(this,r);return r>=0&&ru){return iteratorDone()}var e=s.next();if(i||r===f||e.done){return e}if(r===g){return iteratorValue(r,l-1,undefined,e)}return iteratorValue(r,l-1,e.value[1],e)}))};return _}function takeWhileFactory(e,r,n){var i=makeSequence(e);i.__iterateUncached=function(i,s){var a=this;if(s){return this.cacheResult().__iterate(i,s)}var o=0;e.__iterate((function(e,s,l){return r.call(n,e,s,l)&&++o&&i(e,s,a)}));return o};i.__iteratorUncached=function(i,s){var a=this;if(s){return this.cacheResult().__iterator(i,s)}var o=e.__iterator(y,s);var l=true;return new x((function(){if(!l){return iteratorDone()}var e=o.next();if(e.done){return e}var s=e.value;var u=s[0];var _=s[1];if(!r.call(n,_,u,a)){l=false;return iteratorDone()}return i===y?e:iteratorValue(i,u,_,e)}))};return i}function skipWhileFactory(e,r,n,i){var s=makeSequence(e);s.__iterateUncached=function(s,a){var o=this;if(a){return this.cacheResult().__iterate(s,a)}var l=true;var u=0;e.__iterate((function(e,a,_){if(!(l&&(l=r.call(n,e,a,_)))){u++;return s(e,i?a:u-1,o)}}));return u};s.__iteratorUncached=function(s,a){var o=this;if(a){return this.cacheResult().__iterator(s,a)}var l=e.__iterator(y,a);var u=true;var _=0;return new x((function(){var e;var a;var c;do{e=l.next();if(e.done){if(i||s===f){return e}if(s===g){return iteratorValue(s,_++,undefined,e)}return iteratorValue(s,_++,e.value[1],e)}var $=e.value;a=$[0];c=$[1];u&&(u=r.call(n,c,a,o))}while(u);return s===y?e:iteratorValue(s,a,c,e)}))};return s}function concatFactory(e,r){var n=isKeyed(e);var i=[e].concat(r).map((function(e){if(!isCollection(e)){e=n?keyedSeqFromValue(e):indexedSeqFromValue(Array.isArray(e)?e:[e])}else if(n){e=c(e)}return e})).filter((function(e){return e.size!==0}));if(i.length===0){return e}if(i.length===1){var s=i[0];if(s===e||n&&isKeyed(s)||isIndexed(e)&&isIndexed(s)){return s}}var a=new I(i);if(n){a=a.toKeyedSeq()}else if(!isIndexed(e)){a=a.toSetSeq()}a=a.flatten(true);a.size=i.reduce((function(e,r){if(e!==undefined){var n=r.size;if(n!==undefined){return e+n}}}),0);return a}function flattenFactory(e,r,n){var i=makeSequence(e);i.__iterateUncached=function(s,a){if(a){return this.cacheResult().__iterate(s,a)}var o=0;var l=false;function flatDeep(e,u){e.__iterate((function(e,a){if((!r||u0}function zipWithFactory(e,r,n,i){var s=makeSequence(e);var a=new I(n).map((function(e){return e.size}));s.size=i?a.max():a.min();s.__iterate=function(e,r){var n=this.__iterator(f,r);var i;var s=0;while(!(i=n.next()).done){if(e(i.value,s++,this)===false){break}}return s};s.__iteratorUncached=function(e,s){var a=n.map((function(e){return e=_(e),getIterator(s?e.reverse():e)}));var o=0;var l=false;return new x((function(){var n;if(!l){n=a.map((function(e){return e.next()}));l=i?n.every((function(e){return e.done})):n.some((function(e){return e.done}))}if(l){return iteratorDone()}return iteratorValue(e,o++,r.apply(null,n.map((function(e){return e.value}))))}))};return s}function reify(e,r){return e===r?e:isSeq(e)?r:e.constructor(r)}function validateEntry(e){if(e!==Object(e)){throw new TypeError("Expected [K, V] tuple: "+e)}}function collectionClass(e){return isKeyed(e)?c:isIndexed(e)?$:p}function makeSequence(e){return Object.create((isKeyed(e)?E:isIndexed(e)?A:M).prototype)}function cacheResultThrough(){if(this._iter.cacheResult){this._iter.cacheResult();this.size=this._iter.size;return this}return C.prototype.cacheResult.call(this)}function defaultComparator(e,r){if(e===undefined&&r===undefined){return 0}if(e===undefined){return 1}if(r===undefined){return-1}return e>r?1:e0)r[n]=arguments[n+1];if(typeof e!=="function"){throw new TypeError("Invalid merger function: "+e)}return mergeIntoKeyedWith(this,r,e)}function mergeIntoKeyedWith(e,r,n){var i=[];for(var s=0;s0)r[n]=arguments[n+1];return mergeWithSources(e,r)}function mergeWith(e,r){var n=[],i=arguments.length-2;while(i-- >0)n[i]=arguments[i+2];return mergeWithSources(r,n,e)}function mergeDeep$1(e){var r=[],n=arguments.length-1;while(n-- >0)r[n]=arguments[n+1];return mergeDeepWithSources(e,r)}function mergeDeepWith$1(e,r){var n=[],i=arguments.length-2;while(i-- >0)n[i]=arguments[i+2];return mergeDeepWithSources(r,n,e)}function mergeDeepWithSources(e,r,n){return mergeWithSources(e,r,deepMergerWith(n))}function mergeWithSources(e,r,n){if(!isDataStructure(e)){throw new TypeError("Cannot merge into non-data-structure value: "+e)}if(isImmutable(e)){return typeof n==="function"&&e.mergeWith?e.mergeWith.apply(e,[n].concat(r)):e.merge?e.merge.apply(e,r):e.concat.apply(e,r)}var i=Array.isArray(e);var s=e;var a=i?$:c;var o=i?function(r){if(s===e){s=shallowCopy(s)}s.push(r)}:function(r,i){var a=w.call(s,i);var o=a&&n?n(s[i],r,i):r;if(!a||o!==s[i]){if(s===e){s=shallowCopy(s)}s[i]=o}};for(var l=0;l0)r[n]=arguments[n+1];return mergeDeepWithSources(this,r,e)}function mergeIn(e){var r=[],n=arguments.length-1;while(n-- >0)r[n]=arguments[n+1];return updateIn$1(this,e,emptyMap(),(function(e){return mergeWithSources(e,r)}))}function mergeDeepIn(e){var r=[],n=arguments.length-1;while(n-- >0)r[n]=arguments[n+1];return updateIn$1(this,e,emptyMap(),(function(e){return mergeDeepWithSources(e,r)}))}function withMutations(e){var r=this.asMutable();e(r);return r.wasAltered()?r.__ensureOwner(this.__ownerID):this}function asMutable(){return this.__ownerID?this:this.__ensureOwner(new OwnerID)}function asImmutable(){return this.__ensureOwner()}function wasAltered(){return this.__altered}var Y=function(e){function Map(r){return r===undefined||r===null?emptyMap():isMap(r)&&!isOrdered(r)?r:emptyMap().withMutations((function(n){var i=e(r);assertNotInfinite(i.size);i.forEach((function(e,r){return n.set(r,e)}))}))}if(e)Map.__proto__=e;Map.prototype=Object.create(e&&e.prototype);Map.prototype.constructor=Map;Map.of=function of(){var e=[],r=arguments.length;while(r--)e[r]=arguments[r];return emptyMap().withMutations((function(r){for(var n=0;n=e.length){throw new Error("Missing value for key: "+e[n])}r.set(e[n],e[n+1])}}))};Map.prototype.toString=function toString(){return this.__toString("Map {","}")};Map.prototype.get=function get(e,r){return this._root?this._root.get(0,undefined,e,r):r};Map.prototype.set=function set(e,r){return updateMap(this,e,r)};Map.prototype.remove=function remove(e){return updateMap(this,e,a)};Map.prototype.deleteAll=function deleteAll(e){var r=_(e);if(r.size===0){return this}return this.withMutations((function(e){r.forEach((function(r){return e.remove(r)}))}))};Map.prototype.clear=function clear(){if(this.size===0){return this}if(this.__ownerID){this.size=0;this._root=null;this.__hash=undefined;this.__altered=true;return this}return emptyMap()};Map.prototype.sort=function sort(e){return me(sortFactory(this,e))};Map.prototype.sortBy=function sortBy(e,r){return me(sortFactory(this,r,e))};Map.prototype.map=function map(e,r){var n=this;return this.withMutations((function(i){i.forEach((function(s,a){i.set(a,e.call(r,s,a,n))}))}))};Map.prototype.__iterator=function __iterator(e,r){return new se(this,e,r)};Map.prototype.__iterate=function __iterate(e,r){var n=this;var i=0;this._root&&this._root.iterate((function(r){i++;return e(r[1],r[0],n)}),r);return i};Map.prototype.__ensureOwner=function __ensureOwner(e){if(e===this.__ownerID){return this}if(!e){if(this.size===0){return emptyMap()}this.__ownerID=e;this.__altered=false;return this}return makeMap(this.size,this._root,e,this.__hash)};return Map}(c);Y.isMap=isMap;var X=Y.prototype;X[k]=true;X[r]=X.remove;X.removeAll=X.deleteAll;X.setIn=setIn;X.removeIn=X.deleteIn=deleteIn;X.update=update;X.updateIn=updateIn;X.merge=X.concat=merge$1;X.mergeWith=mergeWith$1;X.mergeDeep=mergeDeep;X.mergeDeepWith=mergeDeepWith;X.mergeIn=mergeIn;X.mergeDeepIn=mergeDeepIn;X.withMutations=withMutations;X.wasAltered=wasAltered;X.asImmutable=asImmutable;X["@@transducer/init"]=X.asMutable=asMutable;X["@@transducer/step"]=function(e,r){return e.set(r[0],r[1])};X["@@transducer/result"]=function(e){return e.asImmutable()};var ee=function ArrayMapNode(e,r){this.ownerID=e;this.entries=r};ee.prototype.get=function get(e,r,n,i){var s=this.entries;for(var a=0,o=s.length;a=oe){return createNodes(e,_,i,s)}var h=e&&e===this.ownerID;var d=h?_:arrCopy(_);if(p){if(u){c===$-1?d.pop():d[c]=d.pop()}else{d[c]=[i,s]}}else{d.push([i,s])}if(h){this.entries=d;return this}return new ee(e,d)};var te=function BitmapIndexedNode(e,r,n){this.ownerID=e;this.bitmap=r;this.nodes=n};te.prototype.get=function get(e,r,i,a){if(r===undefined){r=hash(i)}var o=1<<((e===0?r:r>>>e)&s);var l=this.bitmap;return(l&o)===0?a:this.nodes[popCount(l&o-1)].get(e+n,r,i,a)};te.prototype.update=function update(e,r,i,o,l,u,_){if(i===undefined){i=hash(o)}var c=(r===0?i:i>>>r)&s;var $=1<=le){return expandNodes(e,m,p,c,f)}if(h&&!f&&m.length===2&&isLeafNode(m[d^1])){return m[d^1]}if(h&&f&&m.length===1&&isLeafNode(f)){return f}var y=e&&e===this.ownerID;var S=h?f?p:p^$:p|$;var v=h?f?setAt(m,d,f,y):spliceOut(m,d,y):spliceIn(m,d,f,y);if(y){this.bitmap=S;this.nodes=v;return this}return new te(e,S,v)};var re=function HashArrayMapNode(e,r,n){this.ownerID=e;this.count=r;this.nodes=n};re.prototype.get=function get(e,r,i,a){if(r===undefined){r=hash(i)}var o=(e===0?r:r>>>e)&s;var l=this.nodes[o];return l?l.get(e+n,r,i,a):a};re.prototype.update=function update(e,r,i,o,l,u,_){if(i===undefined){i=hash(o)}var c=(r===0?i:i>>>r)&s;var $=l===a;var p=this.nodes;var h=p[c];if($&&!h){return this}var d=updateNode(h,e,r+n,i,o,l,u,_);if(d===h){return this}var m=this.count;if(!h){m++}else if(!d){m--;if(m>>i)&s;var u=(i===0?a:a>>>i)&s;var _;var c=l===u?[mergeIntoNode(e,r,i+n,a,o)]:(_=new ie(r,a,o),l>>=1){l[u]=n&1?r[o++]:undefined}l[s]=a;return new re(e,o+1,l)}function popCount(e){e-=e>>1&1431655765;e=(e&858993459)+(e>>2&858993459);e=e+(e>>4)&252645135;e+=e>>8;e+=e>>16;return e&127}function setAt(e,r,n,i){var s=i?e:arrCopy(e);s[r]=n;return s}function spliceIn(e,r,n,i){var s=e.length+1;if(i&&r+1===s){e[r]=n;return e}var a=new Array(s);var o=0;for(var l=0;l0&&o=0&&e>>r&s;if(a>=this.array.length){return new pe([],e)}var o=a===0;var l;if(r>0){var u=this.array[a];l=u&&u.removeBefore(e,r-n,i);if(l===u&&o){return this}}if(o&&!l){return this}var _=editableVNode(this,e);if(!o){for(var c=0;c>>r&s;if(a>=this.array.length){return this}var o;if(r>0){var l=this.array[a];o=l&&l.removeAfter(e,r-n,i);if(o===l&&a===this.array.length-1){return this}}var u=editableVNode(this,e);u.array.splice(a+1);if(o){u.array[a]=o}return u};var he={};function iterateList(e,r){var s=e._origin;var a=e._capacity;var o=getTailOffset(a);var l=e._tail;return iterateNodeOrLeaf(e._root,e._level,0);function iterateNodeOrLeaf(e,r,n){return r===0?iterateLeaf(e,n):iterateNode(e,r,n)}function iterateLeaf(e,n){var u=n===o?l&&l.array:e&&e.array;var _=n>s?0:s-n;var c=a-n;if(c>i){c=i}return function(){if(_===c){return he}var e=r?--c:_++;return u&&u[e]}}function iterateNode(e,o,l){var u;var _=e&&e.array;var c=l>s?0:s-l>>o;var $=(a-l>>o)+1;if($>i){$=i}return function(){while(true){if(u){var e=u();if(e!==he){return e}u=null}if(c===$){return he}var i=r?--$:c++;u=iterateNodeOrLeaf(_&&_[i],o-n,l+(i<=e.size||r<0){return e.withMutations((function(e){r<0?setListBounds(e,r).set(0,n):setListBounds(e,0,r+1).set(r,n)}))}r+=e._origin;var i=e._tail;var s=e._root;var a=MakeRef();if(r>=getTailOffset(e._capacity)){i=updateVNode(i,e.__ownerID,0,r,n,a)}else{s=updateVNode(s,e.__ownerID,e._level,r,n,a)}if(!a.value){return e}if(e.__ownerID){e._root=s;e._tail=i;e.__hash=undefined;e.__altered=true;return e}return makeList(e._origin,e._capacity,e._level,s,i)}function updateVNode(e,r,i,a,o,l){var u=a>>>i&s;var _=e&&u0){var $=e&&e.array[u];var p=updateVNode($,r,i-n,a,o,l);if(p===$){return e}c=editableVNode(e,r);c.array[u]=p;return c}if(_&&e.array[u]===o){return e}if(l){SetRef(l)}c=editableVNode(e,r);if(o===undefined&&u===c.array.length-1){c.array.pop()}else{c.array[u]=o}return c}function editableVNode(e,r){if(r&&e&&r===e.ownerID){return e}return new pe(e?e.array.slice():[],r)}function listNodeFor(e,r){if(r>=getTailOffset(e._capacity)){return e._tail}if(r<1<0){i=i.array[r>>>a&s];a-=n}return i}}function setListBounds(e,r,i){if(r!==undefined){r|=0}if(i!==undefined){i|=0}var a=e.__ownerID||new OwnerID;var o=e._origin;var l=e._capacity;var u=o+r;var _=i===undefined?l:i<0?l+i:o+i;if(u===o&&_===l){return e}if(u>=_){return e.clear()}var c=e._level;var $=e._root;var p=0;while(u+p<0){$=new pe($&&$.array.length?[undefined,$]:[],a);c+=n;p+=1<=1<h?new pe([],a):m;if(m&&d>h&&un;y-=n){var S=h>>>y&s;f=f.array[S]=editableVNode(f.array[S],a)}f.array[h>>>n&s]=m}if(_=d){u-=d;_-=d;c=n;$=null;g=g&&g.removeBefore(a,0,u)}else if(u>o||d>>c&s;if(v!==d>>>c&s){break}if(v){p+=(1<o){$=$.removeBefore(a,c,u-p)}if($&&d>>n<=i&&o.size>=s.size*2){c=o.filter((function(e,r){return e!==undefined&&l!==r}));_=c.toKeyedSeq().map((function(e){return e[0]})).flip().toMap();if(e.__ownerID){_.__ownerID=c.__ownerID=e.__ownerID}}else{_=s.remove(r);c=l===o.size-1?o.pop():o.set(l,undefined)}}else if(u){if(n===o.get(l)[1]){return e}_=s;c=o.set(l,[r,n])}else{_=s.set(r,o.size);c=o.set(o.size,[r,n])}if(e.__ownerID){e.size=_.size;e._map=_;e._list=c;e.__hash=undefined;e.__altered=true;return e}return makeOrderedMap(_,c)}var fe="@@__IMMUTABLE_STACK__@@";function isStack(e){return Boolean(e&&e[fe])}var ye=function(e){function Stack(e){return e===undefined||e===null?emptyStack():isStack(e)?e:emptyStack().pushAll(e)}if(e)Stack.__proto__=e;Stack.prototype=Object.create(e&&e.prototype);Stack.prototype.constructor=Stack;Stack.of=function of(){return this(arguments)};Stack.prototype.toString=function toString(){return this.__toString("Stack [","]")};Stack.prototype.get=function get(e,r){var n=this._head;e=wrapIndex(this,e);while(n&&e--){n=n.next}return n?n.value:r};Stack.prototype.peek=function peek(){return this._head&&this._head.value};Stack.prototype.push=function push(){var e=arguments;if(arguments.length===0){return this}var r=this.size+arguments.length;var n=this._head;for(var i=arguments.length-1;i>=0;i--){n={value:e[i],next:n}}if(this.__ownerID){this.size=r;this._head=n;this.__hash=undefined;this.__altered=true;return this}return makeStack(r,n)};Stack.prototype.pushAll=function pushAll(r){r=e(r);if(r.size===0){return this}if(this.size===0&&isStack(r)){return r}assertNotInfinite(r.size);var n=this.size;var i=this._head;r.__iterate((function(e){n++;i={value:e,next:i}}),true);if(this.__ownerID){this.size=n;this._head=i;this.__hash=undefined;this.__altered=true;return this}return makeStack(n,i)};Stack.prototype.pop=function pop(){return this.slice(1)};Stack.prototype.clear=function clear(){if(this.size===0){return this}if(this.__ownerID){this.size=0;this._head=undefined;this.__hash=undefined;this.__altered=true;return this}return emptyStack()};Stack.prototype.slice=function slice(r,n){if(wholeSlice(r,n,this.size)){return this}var i=resolveBegin(r,this.size);var s=resolveEnd(n,this.size);if(s!==this.size){return e.prototype.slice.call(this,r,n)}var a=this.size-i;var o=this._head;while(i--){o=o.next}if(this.__ownerID){this.size=a;this._head=o;this.__hash=undefined;this.__altered=true;return this}return makeStack(a,o)};Stack.prototype.__ensureOwner=function __ensureOwner(e){if(e===this.__ownerID){return this}if(!e){if(this.size===0){return emptyStack()}this.__ownerID=e;this.__altered=false;return this}return makeStack(this.size,this._head,e,this.__hash)};Stack.prototype.__iterate=function __iterate(e,r){var n=this;if(r){return new I(this.toArray()).__iterate((function(r,i){return e(r,i,n)}),r)}var i=0;var s=this._head;while(s){if(e(s.value,i++,this)===false){break}s=s.next}return i};Stack.prototype.__iterator=function __iterator(e,r){if(r){return new I(this.toArray()).__iterator(e,r)}var n=0;var i=this._head;return new x((function(){if(i){var r=i.value;i=i.next;return iteratorValue(e,n++,r)}return iteratorDone()}))};return Stack}($);ye.isStack=isStack;var Se=ye.prototype;Se[fe]=true;Se.shift=Se.pop;Se.unshift=Se.push;Se.unshiftAll=Se.pushAll;Se.withMutations=withMutations;Se.wasAltered=wasAltered;Se.asImmutable=asImmutable;Se["@@transducer/init"]=Se.asMutable=asMutable;Se["@@transducer/step"]=function(e,r){return e.unshift(r)};Se["@@transducer/result"]=function(e){return e.asImmutable()};function makeStack(e,r,n,i){var s=Object.create(Se);s.size=e;s._head=r;s.__ownerID=n;s.__hash=i;s.__altered=false;return s}var ve;function emptyStack(){return ve||(ve=makeStack(0))}var be="@@__IMMUTABLE_SET__@@";function isSet(e){return Boolean(e&&e[be])}function isOrderedSet(e){return isSet(e)&&isOrdered(e)}function deepEqual(e,r){if(e===r){return true}if(!isCollection(r)||e.size!==undefined&&r.size!==undefined&&e.size!==r.size||e.__hash!==undefined&&r.__hash!==undefined&&e.__hash!==r.__hash||isKeyed(e)!==isKeyed(r)||isIndexed(e)!==isIndexed(r)||isOrdered(e)!==isOrdered(r)){return false}if(e.size===0&&r.size===0){return true}var n=!isAssociative(e);if(isOrdered(e)){var i=e.entries();return r.every((function(e,r){var s=i.next().value;return s&&is(s[1],e)&&(n||is(s[0],r))}))&&i.next().done}var s=false;if(e.size===undefined){if(r.size===undefined){if(typeof e.cacheResult==="function"){e.cacheResult()}}else{s=true;var o=e;e=r;r=o}}var l=true;var u=r.__iterate((function(r,i){if(n?!e.has(r):s?!is(r,e.get(i,a)):!is(e.get(i,a),r)){l=false;return false}}));return l&&e.size===u}function mixin(e,r){var keyCopier=function(n){e.prototype[n]=r[n]};Object.keys(r).forEach(keyCopier);Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(r).forEach(keyCopier);return e}function toJS(e){if(!e||typeof e!=="object"){return e}if(!isCollection(e)){if(!isDataStructure(e)){return e}e=C(e)}if(isKeyed(e)){var r={};e.__iterate((function(e,n){r[n]=toJS(e)}));return r}var n=[];e.__iterate((function(e){n.push(toJS(e))}));return n}var xe=function(e){function Set(r){return r===undefined||r===null?emptySet():isSet(r)&&!isOrdered(r)?r:emptySet().withMutations((function(n){var i=e(r);assertNotInfinite(i.size);i.forEach((function(e){return n.add(e)}))}))}if(e)Set.__proto__=e;Set.prototype=Object.create(e&&e.prototype);Set.prototype.constructor=Set;Set.of=function of(){return this(arguments)};Set.fromKeys=function fromKeys(e){return this(c(e).keySeq())};Set.intersect=function intersect(e){e=_(e).toArray();return e.length?we.intersect.apply(Set(e.pop()),e):emptySet()};Set.union=function union(e){e=_(e).toArray();return e.length?we.union.apply(Set(e.pop()),e):emptySet()};Set.prototype.toString=function toString(){return this.__toString("Set {","}")};Set.prototype.has=function has(e){return this._map.has(e)};Set.prototype.add=function add(e){return updateSet(this,this._map.set(e,e))};Set.prototype.remove=function remove(e){return updateSet(this,this._map.remove(e))};Set.prototype.clear=function clear(){return updateSet(this,this._map.clear())};Set.prototype.map=function map(e,r){var n=this;var i=false;var s=updateSet(this,this._map.mapEntries((function(s){var a=s[1];var o=e.call(r,a,a,n);if(o!==a){i=true}return[o,o]}),r));return i?s:this};Set.prototype.union=function union(){var r=[],n=arguments.length;while(n--)r[n]=arguments[n];r=r.filter((function(e){return e.size!==0}));if(r.length===0){return this}if(this.size===0&&!this.__ownerID&&r.length===1){return this.constructor(r[0])}return this.withMutations((function(n){for(var i=0;i=0&&r=0&&nthis.size?r:this.find((function(r,n){return n===e}),undefined,r)},has:function has(e){e=wrapIndex(this,e);return e>=0&&(this.size!==undefined?this.size===Infinity||er?-1:0}function hashCollection(e){if(e.size===Infinity){return 0}var r=isOrdered(e);var n=isKeyed(e);var i=r?1:0;var s=e.__iterate(n?r?function(e,r){i=31*i+hashMerge(hash(e),hash(r))|0}:function(e,r){i=i+hashMerge(hash(e),hash(r))|0}:r?function(e){i=31*i+hash(e)|0}:function(e){i=i+hash(e)|0});return murmurHashOfSize(s,i)}function murmurHashOfSize(e,r){r=F(r,3432918353);r=F(r<<15|r>>>-15,461845907);r=F(r<<13|r>>>-13,5);r=(r+3864292196|0)^e;r=F(r^r>>>16,2246822507);r=F(r^r>>>13,3266489909);r=smi(r^r>>>16);return r}function hashMerge(e,r){return e^r+2654435769+(e<<6)+(e>>2)|0}var Re=function(e){function OrderedSet(e){return e===undefined||e===null?emptyOrderedSet():isOrderedSet(e)?e:emptyOrderedSet().withMutations((function(r){var n=p(e);assertNotInfinite(n.size);n.forEach((function(e){return r.add(e)}))}))}if(e)OrderedSet.__proto__=e;OrderedSet.prototype=Object.create(e&&e.prototype);OrderedSet.prototype.constructor=OrderedSet;OrderedSet.of=function of(){return this(arguments)};OrderedSet.fromKeys=function fromKeys(e){return this(c(e).keySeq())};OrderedSet.prototype.toString=function toString(){return this.__toString("OrderedSet {","}")};return OrderedSet}(xe);Re.isOrderedSet=isOrderedSet;var ke=Re.prototype;ke[m]=true;ke.zip=Ve.zip;ke.zipWith=Ve.zipWith;ke.zipAll=Ve.zipAll;ke.__empty=emptyOrderedSet;ke.__make=makeOrderedSet;function makeOrderedSet(e,r){var n=Object.create(ke);n.size=e?e.size:0;n._map=e;n.__ownerID=r;return n}var Fe;function emptyOrderedSet(){return Fe||(Fe=makeOrderedSet(emptyOrderedMap()))}function throwOnInvalidDefaultValues(e){if(isRecord(e)){throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.")}if(isImmutable(e)){throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.")}if(e===null||typeof e!=="object"){throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}}var Te=function Record(e,r){var n;throwOnInvalidDefaultValues(e);var i=function Record(a){var o=this;if(a instanceof i){return a}if(!(this instanceof i)){return new i(a)}if(!n){n=true;var l=Object.keys(e);var u=s._indices={};s._name=r;s._keys=l;s._defaultValues=e;for(var _=0;_2?[]:undefined,{"":e})}function fromJSWith(e,r,n,i,s,a){if(typeof n!=="string"&&!isImmutable(n)&&(isArrayLike(n)||hasIterator(n)||isPlainObject(n))){if(~e.indexOf(n)){throw new TypeError("Cannot convert circular structure to Immutable")}e.push(n);s&&i!==""&&s.push(i);var o=r.call(a,i,C(n).map((function(i,a){return fromJSWith(e,r,i,a,s,n)})),s&&s.slice());e.pop();s&&s.pop();return o}return n}function defaultConverter(e,r){return isIndexed(r)?r.toList():isKeyed(r)?r.toMap():r.toSet()}var Pe="4.1.0";var Oe={version:Pe,Collection:_,Iterable:_,Seq:C,Map:Y,OrderedMap:me,List:ce,Stack:ye,Set:xe,OrderedSet:Re,Record:Te,Range:Ee,Repeat:Ue,is:is,fromJS:fromJS,hash:hash,isImmutable:isImmutable,isCollection:isCollection,isKeyed:isKeyed,isIndexed:isIndexed,isAssociative:isAssociative,isOrdered:isOrdered,isValueObject:isValueObject,isPlainObject:isPlainObject,isSeq:isSeq,isList:isList,isMap:isMap,isOrderedMap:isOrderedMap,isStack:isStack,isSet:isSet,isOrderedSet:isOrderedSet,isRecord:isRecord,get:get,getIn:getIn$1,has:has,hasIn:hasIn$1,merge:merge,mergeDeep:mergeDeep$1,mergeWith:mergeWith,mergeDeepWith:mergeDeepWith$1,remove:remove,removeIn:removeIn,set:set,setIn:setIn$1,update:update$1,updateIn:updateIn$1};var Be=_;e.Collection=_;e.Iterable=Be;e.List=ce;e.Map=Y;e.OrderedMap=me;e.OrderedSet=Re;e.Range=Ee;e.Record=Te;e.Repeat=Ue;e.Seq=C;e.Set=xe;e.Stack=ye;e.default=Oe;e.fromJS=fromJS;e.get=get;e.getIn=getIn$1;e.has=has;e.hasIn=hasIn$1;e.hash=hash;e.is=is;e.isAssociative=isAssociative;e.isCollection=isCollection;e.isImmutable=isImmutable;e.isIndexed=isIndexed;e.isKeyed=isKeyed;e.isList=isList;e.isMap=isMap;e.isOrdered=isOrdered;e.isOrderedMap=isOrderedMap;e.isOrderedSet=isOrderedSet;e.isPlainObject=isPlainObject;e.isRecord=isRecord;e.isSeq=isSeq;e.isSet=isSet;e.isStack=isStack;e.isValueObject=isValueObject;e.merge=merge;e.mergeDeep=mergeDeep$1;e.mergeDeepWith=mergeDeepWith$1;e.mergeWith=mergeWith;e.remove=remove;e.removeIn=removeIn;e.set=set;e.setIn=setIn$1;e.update=update$1;e.updateIn=updateIn$1;e.version=Pe;Object.defineProperty(e,"__esModule",{value:true})}))},372:(__unused_webpack_module,exports,__nccwpck_require__)=>{exports.load=function(_cli_pkg_requires){var dartNodePreambleSelf=typeof global!=="undefined"?global:window;var self=Object.create(dartNodePreambleSelf);self.scheduleImmediate=typeof setImmediate!=="undefined"?function(e){setImmediate(e)}:function(e){setTimeout(e,0)};self.exports=exports;if(typeof process!=="undefined"){self.process=process}if(typeof __dirname!=="undefined"){self.__dirname=__dirname}if(typeof __filename!=="undefined"){self.__filename=__filename}if(typeof Buffer!=="undefined"){self.Buffer=Buffer}var dartNodeIsActuallyNode=!dartNodePreambleSelf.window;try{if("undefined"!==typeof WorkerGlobalScope&&dartNodePreambleSelf instanceof WorkerGlobalScope){dartNodeIsActuallyNode=false}if("undefined"!==typeof process&&process.versions&&process.versions.hasOwnProperty("electron")&&process.versions.hasOwnProperty("node")){dartNodeIsActuallyNode=true}}catch(e){}if(dartNodeIsActuallyNode){var url=(true?eval("require"):0)("url");Object.defineProperty(self,"location",{value:{get href(){if(url.pathToFileURL){return url.pathToFileURL(process.cwd()).href+"/"}else{return"file://"+function(){var e=process.cwd();if(process.platform!="win32")return e;return"/"+e.replace(/\\/g,"/")}()+"/"}}}});(function(){function computeCurrentScript(){try{throw new Error}catch(s){var e=s.stack;var r=new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$","mg");var n=null;do{var i=r.exec(e);if(i!=null)n=i}while(i!=null);return n[1]}}var e=null;Object.defineProperty(self,"document",{value:{get currentScript(){if(e==null){e={src:computeCurrentScript()}}return e}}})})();self.dartDeferredLibraryLoader=function(e,r,n){try{load(e);r()}catch(e){n(e)}}}self.util=__nccwpck_require__(837);self.immutable=__nccwpck_require__(158);self.fs=__nccwpck_require__(147);self.chokidar=_cli_pkg_requires.chokidar;self.readline=_cli_pkg_requires.readline;(function dartProgram(){function copyProperties(e,r){var n=Object.keys(e);for(var i=0;i=0)return true;if(typeof version=="function"&&version.length==0){var r=version();if(/^\d+\.\d+\.\d+\.\d+$/.test(r))return true}}catch(e){}return false}();function inherit(r,n){r.prototype.constructor=r;r.prototype["$is"+r.name]=r;if(n!=null){if(e){r.prototype.__proto__=n.prototype;return}var i=Object.create(n.prototype);copyProperties(r.prototype,i);r.prototype=i}}function inheritMany(e,r){for(var n=0;n")._is(e))return new s._EfficientLengthCastIterable(e,r._eval$1("@<0>")._bind$1(n)._eval$1("_EfficientLengthCastIterable<1,2>"));return new s.CastIterable(e,r._eval$1("@<0>")._bind$1(n)._eval$1("CastIterable<1,2>"))},LateError$fieldADI(e){return new s.LateError("Field '"+e+"' has been assigned during initialization.")},LateError$localNI(e){return new s.LateError("Local '"+e+"' has not been initialized.")},hexDigitValue(e){var r,n=e^48;if(n<=9)return n;r=e|32;if(97<=r&&r<=102)return r-87;return-1},SystemHash_combine(e,r){e=e+r&536870911;e=e+((e&524287)<<10)&536870911;return e^e>>>6},SystemHash_finish(e){e=e+((e&67108863)<<3)&536870911;e^=e>>>11;return e+((e&16383)<<15)&536870911},checkNotNullable(e,r,n){return e},SubListIterable$(e,r,n,i){s.RangeError_checkNotNegative(r,"start");if(n!=null){s.RangeError_checkNotNegative(n,"end");if(r>n)s.throwExpression(s.RangeError$range(r,0,n,"start",null))}return new s.SubListIterable(e,r,n,i._eval$1("SubListIterable<0>"))},MappedIterable_MappedIterable(e,r,n,i){if($.EfficientLengthIterable_dynamic._is(e))return new s.EfficientLengthMappedIterable(e,r,n._eval$1("@<0>")._bind$1(i)._eval$1("EfficientLengthMappedIterable<1,2>"));return new s.MappedIterable(e,r,n._eval$1("@<0>")._bind$1(i)._eval$1("MappedIterable<1,2>"))},TakeIterable_TakeIterable(e,r,n){var i="takeCount";s.ArgumentError_checkNotNull(r,i);s.RangeError_checkNotNegative(r,i);if($.EfficientLengthIterable_dynamic._is(e))return new s.EfficientLengthTakeIterable(e,r,n._eval$1("EfficientLengthTakeIterable<0>"));return new s.TakeIterable(e,r,n._eval$1("TakeIterable<0>"))},SkipIterable_SkipIterable(e,r,n){var i="count";if($.EfficientLengthIterable_dynamic._is(e)){s.ArgumentError_checkNotNull(r,i);s.RangeError_checkNotNegative(r,i);return new s.EfficientLengthSkipIterable(e,r,n._eval$1("EfficientLengthSkipIterable<0>"))}s.ArgumentError_checkNotNull(r,i);s.RangeError_checkNotNegative(r,i);return new s.SkipIterable(e,r,n._eval$1("SkipIterable<0>"))},FollowedByIterable_FollowedByIterable$firstEfficient(e,r,n){if(n._eval$1("EfficientLengthIterable<0>")._is(r))return new s.EfficientLengthFollowedByIterable(e,r,n._eval$1("EfficientLengthFollowedByIterable<0>"));return new s.FollowedByIterable(e,r,n._eval$1("FollowedByIterable<0>"))},IterableElementError_noElement(){return new s.StateError("No element")},IterableElementError_tooMany(){return new s.StateError("Too many elements")},IterableElementError_tooFew(){return new s.StateError("Too few elements")},Sort_sort(e,r){s.Sort__doSort(e,0,a.get$length$asx(e)-1,r)},Sort__doSort(e,r,n,i){if(n-r<=32)s.Sort__insertionSort(e,r,n,i);else s.Sort__dualPivotQuicksort(e,r,n,i)},Sort__insertionSort(e,r,n,i){var s,o,l,u,_;for(s=r+1,o=a.getInterceptor$asx(e);s<=n;++s){l=o.$index(e,s);u=s;while(true){if(!(u>r&&i.call$2(o.$index(e,u-1),l)>0))break;_=u-1;o.$indexSet(e,u,o.$index(e,_));u=_}o.$indexSet(e,u,l)}},Sort__dualPivotQuicksort(e,r,n,i){var l,u,_,c,$,p,h,d,m,g,f=o.JSInt_methods._tdivFast$1(n-r+1,6),y=r+f,S=n-f,v=o.JSInt_methods._tdivFast$1(r+n,2),b=v-f,x=v+f,w=a.getInterceptor$asx(e),C=w.$index(e,y),E=w.$index(e,b),A=w.$index(e,v),M=w.$index(e,x),I=w.$index(e,S);if(i.call$2(C,E)>0){l=E;E=C;C=l}if(i.call$2(M,I)>0){l=I;I=M;M=l}if(i.call$2(C,A)>0){l=A;A=C;C=l}if(i.call$2(E,A)>0){l=A;A=E;E=l}if(i.call$2(C,M)>0){l=M;M=C;C=l}if(i.call$2(A,M)>0){l=M;M=A;A=l}if(i.call$2(E,I)>0){l=I;I=E;E=l}if(i.call$2(E,A)>0){l=A;A=E;E=l}if(i.call$2(M,I)>0){l=I;I=M;M=l}w.$indexSet(e,y,C);w.$indexSet(e,v,A);w.$indexSet(e,S,I);w.$indexSet(e,b,w.$index(e,r));w.$indexSet(e,x,w.$index(e,n));u=r+1;_=n-1;if(a.$eq$(i.call$2(E,M),0)){for(c=u;c<=_;++c){$=w.$index(e,c);p=i.call$2($,E);if(p===0)continue;if(p<0){if(c!==u){w.$indexSet(e,c,w.$index(e,u));w.$indexSet(e,u,$)}++u}else for(;true;){p=i.call$2(w.$index(e,_),E);if(p>0){--_;continue}else{h=_-1;if(p<0){w.$indexSet(e,c,w.$index(e,u));d=u+1;w.$indexSet(e,u,w.$index(e,_));w.$indexSet(e,_,$);_=h;u=d;break}else{w.$indexSet(e,c,w.$index(e,_));w.$indexSet(e,_,$);_=h;break}}}}m=true}else{for(c=u;c<=_;++c){$=w.$index(e,c);if(i.call$2($,E)<0){if(c!==u){w.$indexSet(e,c,w.$index(e,u));w.$indexSet(e,u,$)}++u}else if(i.call$2($,M)>0)for(;true;)if(i.call$2(w.$index(e,_),M)>0){--_;if(_S){for(;a.$eq$(i.call$2(w.$index(e,u),E),0);)++u;for(;a.$eq$(i.call$2(w.$index(e,_),M),0);)--_;for(c=u;c<=_;++c){$=w.$index(e,c);if(i.call$2($,E)===0){if(c!==u){w.$indexSet(e,c,w.$index(e,u));w.$indexSet(e,u,$)}++u}else if(i.call$2($,M)===0)for(;true;)if(i.call$2(w.$index(e,_),M)===0){--_;if(_")._bind$1(n)._eval$1("ConstantStringMap<1,2>"))}return new s.ConstantMapView(s.LinkedHashMap_LinkedHashMap$from(e,r,n),r._eval$1("@<0>")._bind$1(n)._eval$1("ConstantMapView<1,2>"))},ConstantMap__throwUnmodifiable(){throw s.wrapException(s.UnsupportedError$("Cannot modify unmodifiable Map"))},GeneralConstantMap__constantMapHashCode(e){if(typeof e=="number")return o.JSNumber_methods.get$hashCode(e);if($.Symbol._is(e))return e.get$hashCode(e);if($.Type._is(e))return s.Primitives_objectHashCode(e);return s.objectHashCode(e)},GeneralConstantMap__typeTest(e){return new s.GeneralConstantMap__typeTest_closure(e)},instantiate1(e,r){var n=new s.Instantiation1(e,r._eval$1("Instantiation1<0>"));n.Instantiation$1(e);return n},unminifyOrTag(e){var r=_.mangledGlobalNames[e];if(r!=null)return r;return e},isJsIndexable(e,r){var n;if(r!=null){n=r.x;if(n!=null)return n}return $.JavaScriptIndexingBehavior_dynamic._is(e)},S(e){var r;if(typeof e=="string")return e;if(typeof e=="number"){if(e!==0)return""+e}else if(true===e)return"true";else if(false===e)return"false";else if(e==null)return"null";r=a.toString$0$(e);return r},Primitives_objectHashCode(e){var r,n=u.Primitives__identityHashCodeProperty;if(n==null)n=u.Primitives__identityHashCodeProperty=Symbol("identityHashCode");r=e[n];if(r==null){r=Math.random()*1073741823|0;e[n]=r}return r},Primitives_parseInt(e,r){var n,i,a,l,u,_=null,c=/^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(e);if(c==null)return _;n=c[3];if(r==null){if(n!=null)return parseInt(e,10);if(c[2]!=null)return parseInt(e,16);return _}if(r<2||r>36)throw s.wrapException(s.RangeError$range(r,2,36,"radix",_));if(r===10&&n!=null)return parseInt(e,10);if(r<10||n==null){i=r<=10?47+r:86+r;a=c[1];for(l=a.length,u=0;ui)return _}return parseInt(e,r)},Primitives_parseDouble(e){var r,n;if(!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(e))return null;r=parseFloat(e);if(isNaN(r)){n=o.JSString_methods.trim$0(e);if(n==="NaN"||n==="+NaN"||n==="-NaN")return r;return null}return r},Primitives_objectTypeName(e){return s.Primitives__objectTypeNameNewRti(e)},Primitives__objectTypeNameNewRti(e){var r,n,i,l,u;if(e instanceof s.Object)return s._rtiToString(s.instanceType(e),null);r=a.getInterceptor$(e);if(r===o.Interceptor_methods||r===o.JavaScriptObject_methods||$.UnknownJavaScriptObject._is(e)){n=o.C_JS_CONST(e);i=n!=="Object"&&n!=="";if(i)return n;l=e.constructor;if(typeof l=="function"){u=l.name;if(typeof u=="string")i=u!=="Object"&&u!=="";else i=false;if(i)return u}}return s._rtiToString(s.instanceType(e),null)},Primitives_currentUri(){if(!!self.location)return self.location.href;return null},Primitives__fromCharCodeApply(e){var r,n,i,s,a=e.length;if(a<=500)return String.fromCharCode.apply(null,e);for(r="",n=0;n65535)return s.Primitives_stringFromCodePoints(e)}return s.Primitives__fromCharCodeApply(e)},Primitives_stringFromNativeUint8List(e,r,n){var i,s,a,o;if(n<=500&&r===0&&n===e.length)return String.fromCharCode.apply(null,e);for(i=r,s="";i>>0,r&1023|56320)}}throw s.wrapException(s.RangeError$range(e,0,1114111,null,null))},Primitives_lazyAsJsDate(e){if(e.date===void 0)e.date=new Date(e._core$_value);return e.date},Primitives_getYear(e){var r=s.Primitives_lazyAsJsDate(e).getFullYear()+0;return r},Primitives_getMonth(e){var r=s.Primitives_lazyAsJsDate(e).getMonth()+1;return r},Primitives_getDay(e){var r=s.Primitives_lazyAsJsDate(e).getDate()+0;return r},Primitives_getHours(e){var r=s.Primitives_lazyAsJsDate(e).getHours()+0;return r},Primitives_getMinutes(e){var r=s.Primitives_lazyAsJsDate(e).getMinutes()+0;return r},Primitives_getSeconds(e){var r=s.Primitives_lazyAsJsDate(e).getSeconds()+0;return r},Primitives_getMilliseconds(e){var r=s.Primitives_lazyAsJsDate(e).getMilliseconds()+0;return r},Primitives_functionNoSuchMethod(e,r,n){var i,l,u={};u.argumentCount=0;i=[];l=[];u.argumentCount=r.length;o.JSArray_methods.addAll$1(i,r);u.names="";if(n!=null&&n.__js_helper$_length!==0)n.forEach$1(0,new s.Primitives_functionNoSuchMethod_closure(u,l,i));return a.noSuchMethod$1$(e,new s.JSInvocationMirror(o.Symbol_call,0,i,l,0))},Primitives_applyFunction(e,r,n){var i,a,o;if(Array.isArray(r))i=n==null||n.__js_helper$_length===0;else i=false;if(i){a=r.length;if(a===0){if(!!e.call$0)return e.call$0()}else if(a===1){if(!!e.call$1)return e.call$1(r[0])}else if(a===2){if(!!e.call$2)return e.call$2(r[0],r[1])}else if(a===3){if(!!e.call$3)return e.call$3(r[0],r[1],r[2])}else if(a===4){if(!!e.call$4)return e.call$4(r[0],r[1],r[2],r[3])}else if(a===5)if(!!e.call$5)return e.call$5(r[0],r[1],r[2],r[3],r[4]);o=e["call"+"$"+a];if(o!=null)return o.apply(e,r)}return s.Primitives__generalApplyFunction(e,r,n)},Primitives__generalApplyFunction(e,r,n){var i,l,u,_,c,p,h,d,m,g,f,y,S=Array.isArray(r)?r:s.List_List$of(r,true,$.dynamic),v=S.length,b=e.$requiredArgCount;if(vp)return s.Primitives_functionNoSuchMethod(e,S,null);if(vb)return s.Primitives_functionNoSuchMethod(e,S,n);if(S===r)S=s.List_List$of(S,true,$.dynamic);d=Object.keys(u);if(n==null)for(l=d.length,m=0;m=n)return s.IndexError$(r,e,i,null,n);return s.RangeError$value(r,i,null)},diagnoseRangeError(e,r,n){if(e<0||e>n)return s.RangeError$range(e,0,n,"start",null);if(r!=null)if(rn)return s.RangeError$range(r,e,n,"end",null);return new s.ArgumentError(true,r,"end",null)},argumentErrorValue(e){return new s.ArgumentError(true,e,null,null)},checkNum(e){return e},wrapException(e){var r,n;if(e==null)e=new s.NullThrownError;r=new Error;r.dartException=e;n=s.toStringWrapper;if("defineProperty"in Object){Object.defineProperty(r,"message",{get:n});r.name=""}else r.toString=n;return r},toStringWrapper(){return a.toString$0$(this.dartException)},throwExpression(e){throw s.wrapException(e)},throwConcurrentModificationError(e){throw s.wrapException(s.ConcurrentModificationError$(e))},TypeErrorDecoder_extractPattern(e){var r,n,i,a,o,l;e=s.quoteStringForRegExp(e.replace(String({}),"$receiver$"));r=e.match(/\\\$[a-zA-Z]+\\\$/g);if(r==null)r=s._setArrayType([],$.JSArray_String);n=r.indexOf("\\$arguments\\$");i=r.indexOf("\\$argumentsExpr\\$");a=r.indexOf("\\$expr\\$");o=r.indexOf("\\$method\\$");l=r.indexOf("\\$receiver\\$");return new s.TypeErrorDecoder(e.replace(new RegExp("\\\\\\$arguments\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$","g"),"((?:x|[^x])*)"),n,i,a,o,l)},TypeErrorDecoder_provokeCallErrorOn(e){return function(e){var r="$arguments$";try{e.$method$(r)}catch(e){return e.message}}(e)},TypeErrorDecoder_provokePropertyErrorOn(e){return function(e){try{e.$method$}catch(e){return e.message}}(e)},JsNoSuchMethodError$(e,r){var n=r==null,i=n?null:r.method;return new s.JsNoSuchMethodError(e,i,n?null:r.receiver)},unwrapException(e){if(e==null)return new s.NullThrownFromJavaScriptException(e);if(e instanceof s.ExceptionAndStackTrace)return s.saveStackTrace(e,e.dartException);if(typeof e!=="object")return e;if("dartException"in e)return s.saveStackTrace(e,e.dartException);return s._unwrapNonDartException(e)},saveStackTrace(e,r){if($.Error._is(r))if(r.$thrownJsError==null)r.$thrownJsError=e;return r},_unwrapNonDartException(e){var r,n,i,a,l,_,c,$,p,h,d,m,g,f,y=null;if(!("message"in e))return e;r=e.message;if("number"in e&&typeof e.number=="number"){n=e.number;i=n&65535;if((o.JSInt_methods._shrOtherPositive$1(n,16)&8191)===10)switch(i){case 438:return s.saveStackTrace(e,s.JsNoSuchMethodError$(s.S(r)+" (Error "+i+")",y));case 445:case 5007:a=s.S(r);return s.saveStackTrace(e,new s.NullError(a+" (Error "+i+")",y))}}if(e instanceof TypeError){l=u.$get$TypeErrorDecoder_noSuchMethodPattern();_=u.$get$TypeErrorDecoder_notClosurePattern();c=u.$get$TypeErrorDecoder_nullCallPattern();$=u.$get$TypeErrorDecoder_nullLiteralCallPattern();p=u.$get$TypeErrorDecoder_undefinedCallPattern();h=u.$get$TypeErrorDecoder_undefinedLiteralCallPattern();d=u.$get$TypeErrorDecoder_nullPropertyPattern();u.$get$TypeErrorDecoder_nullLiteralPropertyPattern();m=u.$get$TypeErrorDecoder_undefinedPropertyPattern();g=u.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();f=l.matchTypeError$1(r);if(f!=null)return s.saveStackTrace(e,s.JsNoSuchMethodError$(r,f));else{f=_.matchTypeError$1(r);if(f!=null){f.method="call";return s.saveStackTrace(e,s.JsNoSuchMethodError$(r,f))}else{f=c.matchTypeError$1(r);if(f==null){f=$.matchTypeError$1(r);if(f==null){f=p.matchTypeError$1(r);if(f==null){f=h.matchTypeError$1(r);if(f==null){f=d.matchTypeError$1(r);if(f==null){f=$.matchTypeError$1(r);if(f==null){f=m.matchTypeError$1(r);if(f==null){f=g.matchTypeError$1(r);a=f!=null}else a=true}else a=true}else a=true}else a=true}else a=true}else a=true}else a=true;if(a)return s.saveStackTrace(e,new s.NullError(r,f==null?y:f.method))}}return s.saveStackTrace(e,new s.UnknownJsTypeError(typeof r=="string"?r:""))}if(e instanceof RangeError){if(typeof r=="string"&&r.indexOf("call stack")!==-1)return new s.StackOverflowError;r=function(e){try{return String(e)}catch(e){}return null}(e);return s.saveStackTrace(e,new s.ArgumentError(false,y,y,typeof r=="string"?r.replace(/^RangeError:\s*/,""):r))}if(typeof InternalError=="function"&&e instanceof InternalError)if(typeof r=="string"&&r==="too much recursion")return new s.StackOverflowError;return e},getTraceFromException(e){var r;if(e instanceof s.ExceptionAndStackTrace)return e.stackTrace;if(e==null)return new s._StackTrace(e);r=e.$cachedTrace;if(r!=null)return r;return e.$cachedTrace=new s._StackTrace(e)},objectHashCode(e){if(e==null||typeof e!="object")return a.get$hashCode$(e);else return s.Primitives_objectHashCode(e)},fillLiteralMap(e,r){var n,i,s,a=e.length;for(n=0;n=0;else if(r instanceof s.JSSyntaxRegExp){i=o.JSString_methods.substring$1(e,n);return r._nativeRegExp.test(i)}else{i=a.allMatches$1$s(r,o.JSString_methods.substring$1(e,n));return!i.get$isEmpty(i)}},escapeReplacement(e){if(e.indexOf("$",0)>=0)return e.replace(/\$/g,"$$$$");return e},stringReplaceFirstRE(e,r,n,i){var a=r._execGlobal$2(e,i);if(a==null)return e;return s.stringReplaceRangeUnchecked(e,a._match.index,a.get$end(a),n)},quoteStringForRegExp(e){if(/[[\]{}()*+?.\\^$|]/.test(e))return e.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&");return e},stringReplaceAllUnchecked(e,r,n){var i;if(typeof r=="string")return s.stringReplaceAllUncheckedString(e,r,n);if(r instanceof s.JSSyntaxRegExp){i=r.get$_nativeGlobalVersion();i.lastIndex=0;return e.replace(i,s.escapeReplacement(n))}return s.stringReplaceAllGeneral(e,r,n)},stringReplaceAllGeneral(e,r,n){var i,s,o,l;for(i=a.allMatches$1$s(r,e),i=i.get$iterator(i),s=0,o="";i.moveNext$0();){l=i.get$current(i);o=o+e.substring(s,l.get$start(l))+n;s=l.get$end(l)}i=o+e.substring(s);return i.charCodeAt(0)==0?i:i},stringReplaceAllUncheckedString(e,r,n){var i,a,o,l;if(r===""){if(e==="")return n;i=e.length;a=""+n;for(o=0;o=0)return e.split(r).join(n);return e.replace(new RegExp(s.quoteStringForRegExp(r),"g"),s.escapeReplacement(n))},stringReplaceFirstUnchecked(e,r,n,i){var l,u,_,c;if(typeof r=="string"){l=e.indexOf(r,i);if(l<0)return e;return s.stringReplaceRangeUnchecked(e,l,l+r.length,n)}if(r instanceof s.JSSyntaxRegExp)return i===0?e.replace(r._nativeRegExp,s.escapeReplacement(n)):s.stringReplaceFirstRE(e,r,n,i);u=a.allMatches$2$s(r,e,i);_=u.get$iterator(u);if(!_.moveNext$0())return e;c=_.get$current(_);return o.JSString_methods.replaceRange$3(e,c.get$start(c),c.get$end(c),n)},stringReplaceRangeUnchecked(e,r,n,i){return e.substring(0,r)+i+e.substring(n)},ConstantMapView:function ConstantMapView(e,r){this._map=e;this.$ti=r},ConstantMap:function ConstantMap(){},ConstantStringMap:function ConstantStringMap(e,r,n,i){var s=this;s.__js_helper$_length=e;s._jsObject=r;s.__js_helper$_keys=n;s.$ti=i},ConstantStringMap_values_closure:function ConstantStringMap_values_closure(e){this.$this=e},_ConstantMapKeyIterable:function _ConstantMapKeyIterable(e,r){this.__js_helper$_map=e;this.$ti=r},GeneralConstantMap:function GeneralConstantMap(e,r){this._jsData=e;this.$ti=r},GeneralConstantMap__typeTest_closure:function GeneralConstantMap__typeTest_closure(e){this.T=e},Instantiation:function Instantiation(){},Instantiation1:function Instantiation1(e,r){this._genericClosure=e;this.$ti=r},JSInvocationMirror:function JSInvocationMirror(e,r,n,i,s){var a=this;a.__js_helper$_memberName=e;a.__js_helper$_kind=r;a._arguments=n;a._namedArgumentNames=i;a._typeArgumentCount=s},Primitives_functionNoSuchMethod_closure:function Primitives_functionNoSuchMethod_closure(e,r,n){this._box_0=e;this.namedArgumentList=r;this.$arguments=n},TypeErrorDecoder:function TypeErrorDecoder(e,r,n,i,s,a){var o=this;o._pattern=e;o._arguments=r;o._argumentsExpr=n;o._expr=i;o._method=s;o._receiver=a},NullError:function NullError(e,r){this.__js_helper$_message=e;this._method=r},JsNoSuchMethodError:function JsNoSuchMethodError(e,r,n){this.__js_helper$_message=e;this._method=r;this._receiver=n},UnknownJsTypeError:function UnknownJsTypeError(e){this.__js_helper$_message=e},NullThrownFromJavaScriptException:function NullThrownFromJavaScriptException(e){this._irritant=e},ExceptionAndStackTrace:function ExceptionAndStackTrace(e,r){this.dartException=e;this.stackTrace=r},_StackTrace:function _StackTrace(e){this._exception=e;this._trace=null},Closure:function Closure(){},Closure0Args:function Closure0Args(){},Closure2Args:function Closure2Args(){},TearOffClosure:function TearOffClosure(){},StaticClosure:function StaticClosure(){},BoundClosure:function BoundClosure(e,r){this._receiver=e;this._interceptor=r},RuntimeError:function RuntimeError(e){this.message=e},_Required:function _Required(){},JsLinkedHashMap:function JsLinkedHashMap(e){var r=this;r.__js_helper$_length=0;r._last=r._first=r.__js_helper$_rest=r._nums=r._strings=null;r._modifications=0;r.$ti=e},JsLinkedHashMap_values_closure:function JsLinkedHashMap_values_closure(e){this.$this=e},JsLinkedHashMap_addAll_closure:function JsLinkedHashMap_addAll_closure(e){this.$this=e},LinkedHashMapCell:function LinkedHashMapCell(e,r){var n=this;n.hashMapCellKey=e;n.hashMapCellValue=r;n._previous=n._next=null},LinkedHashMapKeyIterable:function LinkedHashMapKeyIterable(e,r){this.__js_helper$_map=e;this.$ti=r},LinkedHashMapKeyIterator:function LinkedHashMapKeyIterator(e,r){var n=this;n.__js_helper$_map=e;n._modifications=r;n.__js_helper$_current=n._cell=null},initHooks_closure:function initHooks_closure(e){this.getTag=e},initHooks_closure0:function initHooks_closure0(e){this.getUnknownTag=e},initHooks_closure1:function initHooks_closure1(e){this.prototypeForTag=e},JSSyntaxRegExp:function JSSyntaxRegExp(e,r){var n=this;n.pattern=e;n._nativeRegExp=r;n._nativeAnchoredRegExp=n._nativeGlobalRegExp=null},_MatchImplementation:function _MatchImplementation(e){this._match=e},_AllMatchesIterable:function _AllMatchesIterable(e,r,n){this._re=e;this._string=r;this._start=n},_AllMatchesIterator:function _AllMatchesIterator(e,r,n){var i=this;i._regExp=e;i._string=r;i._nextIndex=n;i.__js_helper$_current=null},StringMatch:function StringMatch(e,r){this.start=e;this.pattern=r},_StringAllMatchesIterable:function _StringAllMatchesIterable(e,r,n){this._input=e;this._pattern=r;this.__js_helper$_index=n},_StringAllMatchesIterator:function _StringAllMatchesIterator(e,r,n){var i=this;i._input=e;i._pattern=r;i.__js_helper$_index=n;i.__js_helper$_current=null},throwLateFieldADI(e){return s.throwExpression(s.LateError$fieldADI(e))},_Cell$(){var e=new s._Cell("");return e._value=e},_Cell$named(e){var r=new s._Cell(e);return r._value=r},_lateReadCheck(e,r){if(e===u)throw s.wrapException(new s.LateError("Field '"+r+"' has not been initialized."));return e},_lateWriteOnceCheck(e,r){if(e!==u)throw s.wrapException(new s.LateError("Field '"+r+"' has already been initialized."))},_lateInitializeOnceCheck(e,r){if(e!==u)throw s.wrapException(s.LateError$fieldADI(r))},_Cell:function _Cell(e){this.__late_helper$_name=e;this._value=null},_ensureNativeList(e){return e},NativeInt8List__create1(e){return new Int8Array(e)},_checkValidIndex(e,r,n){if(e>>>0!==e||e>=n)throw s.wrapException(s.diagnoseIndexError(r,e))},_checkValidRange(e,r,n){var i;if(!(e>>>0!==e))if(r==null)i=e>n;else i=r>>>0!==r||e>r||r>n;else i=true;if(i)throw s.wrapException(s.diagnoseRangeError(e,r,n));if(r==null)return n;return r},NativeTypedData:function NativeTypedData(){},NativeTypedArray:function NativeTypedArray(){},NativeTypedArrayOfDouble:function NativeTypedArrayOfDouble(){},NativeTypedArrayOfInt:function NativeTypedArrayOfInt(){},NativeInt16List:function NativeInt16List(){},NativeInt32List:function NativeInt32List(){},NativeInt8List:function NativeInt8List(){},NativeUint16List:function NativeUint16List(){},NativeUint32List:function NativeUint32List(){},NativeUint8ClampedList:function NativeUint8ClampedList(){},NativeUint8List:function NativeUint8List(){},_NativeTypedArrayOfDouble_NativeTypedArray_ListMixin:function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin(){},_NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin:function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin(){},_NativeTypedArrayOfInt_NativeTypedArray_ListMixin:function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin(){},_NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin:function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin(){},Rti__getQuestionFromStar(e,r){var n=r._precomputed1;return n==null?r._precomputed1=s._Universe__lookupQuestionRti(e,r._primary,true):n},Rti__getFutureFromFutureOr(e,r){var n=r._precomputed1;return n==null?r._precomputed1=s._Universe__lookupInterfaceRti(e,"Future",[r._primary]):n},Rti__isUnionOfFunctionType(e){var r=e._kind;if(r===6||r===7||r===8)return s.Rti__isUnionOfFunctionType(e._primary);return r===11||r===12},Rti__getCanonicalRecipe(e){return e._canonicalRecipe},findType(e){return s._Universe_eval(_.typeUniverse,e,false)},instantiatedGenericFunctionType(e,r){var n,i,a,o,l;if(e==null)return null;n=r._rest;i=e._bindCache;if(i==null)i=e._bindCache=new Map;a=r._canonicalRecipe;o=i.get(a);if(o!=null)return o;l=s._substitute(_.typeUniverse,e._primary,n,0);i.set(a,l);return l},_substitute(e,r,n,i){var a,o,l,u,_,c,$,p,h,d,m,g,f,y,S,v,b=r._kind;switch(b){case 5:case 1:case 2:case 3:case 4:return r;case 6:a=r._primary;o=s._substitute(e,a,n,i);if(o===a)return r;return s._Universe__lookupStarRti(e,o,true);case 7:a=r._primary;o=s._substitute(e,a,n,i);if(o===a)return r;return s._Universe__lookupQuestionRti(e,o,true);case 8:a=r._primary;o=s._substitute(e,a,n,i);if(o===a)return r;return s._Universe__lookupFutureOrRti(e,o,true);case 9:l=r._rest;u=s._substituteArray(e,l,n,i);if(u===l)return r;return s._Universe__lookupInterfaceRti(e,r._primary,u);case 10:_=r._primary;c=s._substitute(e,_,n,i);$=r._rest;p=s._substituteArray(e,$,n,i);if(c===_&&p===$)return r;return s._Universe__lookupBindingRti(e,c,p);case 11:h=r._primary;d=s._substitute(e,h,n,i);m=r._rest;g=s._substituteFunctionParameters(e,m,n,i);if(d===h&&g===m)return r;return s._Universe__lookupFunctionRti(e,d,g);case 12:f=r._rest;i+=f.length;y=s._substituteArray(e,f,n,i);_=r._primary;c=s._substitute(e,_,n,i);if(y===f&&c===_)return r;return s._Universe__lookupGenericFunctionRti(e,c,y,true);case 13:S=r._primary;if(S0;--u)r.push("T"+(l+u));for(_=$.nullable_Object,c=$.legacy_Object,p="<",h="",u=0;u0){E+=A+"[";for(A="",u=0;u0){E+=A+"{";for(A="",u=0;u "+C},_rtiToString(e,r){var n,i,a,o,l,u,_=e._kind;if(_===5)return"erased";if(_===2)return"dynamic";if(_===3)return"void";if(_===1)return"Never";if(_===4)return"any";if(_===6){n=s._rtiToString(e._primary,r);return n}if(_===7){i=e._primary;n=s._rtiToString(i,r);a=i._kind;return(a===11||a===12?"("+n+")":n)+"?"}if(_===8)return"FutureOr<"+s._rtiToString(e._primary,r)+">";if(_===9){o=s._unminifyOrTag(e._primary);l=e._rest;return l.length>0?o+("<"+s._rtiArrayToString(l,r)+">"):o}if(_===11)return s._functionRtiToString(e,r,null);if(_===12)return s._functionRtiToString(e._primary,r,e._rest);if(_===13){u=e._primary;return r[r.length-1-u]}return"?"},_unminifyOrTag(e){var r=_.mangledGlobalNames[e];if(r!=null)return r;return e},_Universe_findRule(e,r){var n=e.tR[r];for(;typeof n=="string";)n=e.tR[n];return n},_Universe_findErasedType(e,r){var n,i,a,o,l,u=e.eT,_=u[r];if(_==null)return s._Universe_eval(e,r,false);else if(typeof _=="number"){n=_;i=s._Universe__lookupTerminalRti(e,5,"#");a=s._Utils_newArrayOrEmpty(n);for(o=0;o0)l+="<"+s._Universe__canonicalRecipeJoin(n)+">";i=e.eC.get(l);if(i!=null)return i;a=new s.Rti(null,null);a._kind=9;a._primary=r;a._rest=n;if(n.length>0)a._precomputed1=n[0];a._canonicalRecipe=l;o=s._Universe__installTypeTests(e,a);e.eC.set(l,o);return o},_Universe__lookupBindingRti(e,r,n){var i,a,o,l,u,_;if(r._kind===10){i=r._primary;a=r._rest.concat(n)}else{a=n;i=r}o=i._canonicalRecipe+(";<"+s._Universe__canonicalRecipeJoin(a)+">");l=e.eC.get(o);if(l!=null)return l;u=new s.Rti(null,null);u._kind=10;u._primary=i;u._rest=a;u._canonicalRecipe=o;_=s._Universe__installTypeTests(e,u);e.eC.set(o,_);return _},_Universe__lookupFunctionRti(e,r,n){var i,a,o,l,u,_=r._canonicalRecipe,c=n._requiredPositional,$=c.length,p=n._optionalPositional,h=p.length,d=n._named,m=d.length,g="("+s._Universe__canonicalRecipeJoin(c);if(h>0){i=$>0?",":"";g+=i+"["+s._Universe__canonicalRecipeJoin(p)+"]"}if(m>0){i=$>0?",":"";g+=i+"{"+s._Universe__canonicalRecipeJoinNamed(d)+"}"}a=_+(g+")");o=e.eC.get(a);if(o!=null)return o;l=new s.Rti(null,null);l._kind=11;l._primary=r;l._rest=n;l._canonicalRecipe=a;u=s._Universe__installTypeTests(e,l);e.eC.set(a,u);return u},_Universe__lookupGenericFunctionRti(e,r,n,i){var a,o=r._canonicalRecipe+("<"+s._Universe__canonicalRecipeJoin(n)+">"),l=e.eC.get(o);if(l!=null)return l;a=s._Universe__createGenericFunctionRti(e,r,n,o,i);e.eC.set(o,a);return a},_Universe__createGenericFunctionRti(e,r,n,i,a){var o,l,u,_,c,$,p,h;if(a){o=n.length;l=s._Utils_newArrayOrEmpty(o);for(u=0,_=0;_0){$=s._substitute(e,r,l,0);p=s._substituteArray(e,n,l,0);return s._Universe__lookupGenericFunctionRti(e,$,p,n!==p)}}h=new s.Rti(null,null);h._kind=12;h._primary=r;h._rest=n;h._canonicalRecipe=i;return s._Universe__installTypeTests(e,h)},_Parser_create(e,r,n,i){return{u:e,e:r,r:n,s:[],p:0,n:i}},_Parser_parse(e){var r,n,i,a,o,l,u,_,c,$,p,h=e.r,d=e.s;for(r=h.length,n=0;n=48&&i<=57)n=s._Parser_handleDigit(n+1,i,h,d);else if((((i|32)>>>0)-97&65535)<26||i===95||i===36)n=s._Parser_handleIdentifier(e,n,h,d,false);else if(i===46)n=s._Parser_handleIdentifier(e,n,h,d,true);else{++n;switch(i){case 44:break;case 58:d.push(false);break;case 33:d.push(true);break;case 59:d.push(s._Parser_toType(e.u,e.e,d.pop()));break;case 94:d.push(s._Universe__lookupGenericFunctionParameterRti(e.u,d.pop()));break;case 35:d.push(s._Universe__lookupTerminalRti(e.u,5,"#"));break;case 64:d.push(s._Universe__lookupTerminalRti(e.u,2,"@"));break;case 126:d.push(s._Universe__lookupTerminalRti(e.u,3,"~"));break;case 60:d.push(e.p);e.p=d.length;break;case 62:a=e.u;o=d.splice(e.p);s._Parser_toTypes(e.u,e.e,o);e.p=d.pop();l=d.pop();if(typeof l=="string")d.push(s._Universe__lookupInterfaceRti(a,l,o));else{u=s._Parser_toType(a,e.e,l);switch(u._kind){case 11:d.push(s._Universe__lookupGenericFunctionRti(a,u,o,e.n));break;default:d.push(s._Universe__lookupBindingRti(a,u,o));break}}break;case 38:s._Parser_handleExtendedOperations(e,d);break;case 42:a=e.u;d.push(s._Universe__lookupStarRti(a,s._Parser_toType(a,e.e,d.pop()),e.n));break;case 63:a=e.u;d.push(s._Universe__lookupQuestionRti(a,s._Parser_toType(a,e.e,d.pop()),e.n));break;case 47:a=e.u;d.push(s._Universe__lookupFutureOrRti(a,s._Parser_toType(a,e.e,d.pop()),e.n));break;case 40:d.push(e.p);e.p=d.length;break;case 41:a=e.u;_=new s._FunctionParameters;c=a.sEA;$=a.sEA;l=d.pop();if(typeof l=="number")switch(l){case-1:c=d.pop();break;case-2:$=d.pop();break;default:d.push(l);break}else d.push(l);o=d.splice(e.p);s._Parser_toTypes(e.u,e.e,o);e.p=d.pop();_._requiredPositional=o;_._optionalPositional=c;_._named=$;d.push(s._Universe__lookupFunctionRti(a,s._Parser_toType(a,e.e,d.pop()),_));break;case 91:d.push(e.p);e.p=d.length;break;case 93:o=d.splice(e.p);s._Parser_toTypes(e.u,e.e,o);e.p=d.pop();d.push(o);d.push(-1);break;case 123:d.push(e.p);e.p=d.length;break;case 125:o=d.splice(e.p);s._Parser_toTypesNamed(e.u,e.e,o);e.p=d.pop();d.push(o);d.push(-2);break;default:throw"Bad character "+i}}}p=d.pop();return s._Parser_toType(e.u,e.e,p)},_Parser_handleDigit(e,r,n,i){var s,a,o=r-48;for(s=n.length;e=48&&a<=57))break;o=o*10+(a-48)}i.push(o);return e},_Parser_handleIdentifier(e,r,n,i,a){var o,l,u,_,c,$,p=r+1;for(o=n.length;p>>0)-97&65535)<26||l===95||l===36))u=l>=48&&l<=57;else u=true;if(!u)break}}_=n.substring(r,p);if(a){o=e.u;c=e.e;if(c._kind===10)c=c._primary;$=s._Universe_findRule(o,c._primary)[_];if($==null)s.throwExpression('No "'+_+'" in "'+s.Rti__getCanonicalRecipe(c)+'"');i.push(s._Universe_evalInEnvironment(o,c,$))}else i.push(_);return p},_Parser_handleExtendedOperations(e,r){var n=r.pop();if(0===n){r.push(s._Universe__lookupTerminalRti(e.u,1,"0&"));return}if(1===n){r.push(s._Universe__lookupTerminalRti(e.u,4,"1&"));return}throw s.wrapException(s.AssertionError$("Unexpected extended operation "+s.S(n)))},_Parser_toType(e,r,n){if(typeof n=="string")return s._Universe__lookupInterfaceRti(e,n,e.sEA);else if(typeof n=="number")return s._Parser_indexToType(e,r,n);else return n},_Parser_toTypes(e,r,n){var i,a=n.length;for(i=0;i$)return false;p=$-c;h=o._optionalPositional;d=l._optionalPositional;m=h.length;g=d.length;if(c+m<$+g)return false;for(f=0;f=b)return false;A=S[w];w+=3;if(E0?new Array(u):_.typeUniverse.sEA;for($=0;$0?new Array(e):_.typeUniverse.sEA},Rti:function Rti(e,r){var n=this;n._as=e;n._is=r;n._cachedRuntimeType=n._specializedTestResource=n._precomputed1=null;n._kind=0;n._canonicalRecipe=n._bindCache=n._evalCache=n._rest=n._primary=null},_FunctionParameters:function _FunctionParameters(){this._named=this._optionalPositional=this._requiredPositional=null},_Type:function _Type(e){this._rti=e},_Error:function _Error(){},_TypeError:function _TypeError(e){this.__rti$_message=e},_AsyncRun__initializeScheduleImmediate(){var e,r,n={};if(self.scheduleImmediate!=null)return s.async__AsyncRun__scheduleImmediateJsOverride$closure();if(self.MutationObserver!=null&&self.document!=null){e=self.document.createElement("div");r=self.document.createElement("span");n.storedCallback=null;new self.MutationObserver(s.convertDartClosureToJS(new s._AsyncRun__initializeScheduleImmediate_internalCallback(n),1)).observe(e,{childList:true});return new s._AsyncRun__initializeScheduleImmediate_closure(n,e,r)}else if(self.setImmediate!=null)return s.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();return s.async__AsyncRun__scheduleImmediateWithTimer$closure()},_AsyncRun__scheduleImmediateJsOverride(e){self.scheduleImmediate(s.convertDartClosureToJS(new s._AsyncRun__scheduleImmediateJsOverride_internalCallback(e),0))},_AsyncRun__scheduleImmediateWithSetImmediate(e){self.setImmediate(s.convertDartClosureToJS(new s._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(e),0))},_AsyncRun__scheduleImmediateWithTimer(e){s.Timer__createTimer(o.Duration_0,e)},Timer__createTimer(e,r){var n=o.JSInt_methods._tdivFast$1(e._duration,1e3);return s._TimerImpl$(n<0?0:n,r)},_TimerImpl$(e,r){var n=new s._TimerImpl(true);n._TimerImpl$2(e,r);return n},_TimerImpl$periodic(e,r){var n=new s._TimerImpl(false);n._TimerImpl$periodic$2(e,r);return n},_makeAsyncAwaitCompleter(e){return new s._AsyncAwaitCompleter(new s._Future(u.Zone__current,e._eval$1("_Future<0>")),e._eval$1("_AsyncAwaitCompleter<0>"))},_asyncStartSync(e,r){e.call$2(0,null);r.isSync=true;return r._future},_asyncAwait(e,r){s._awaitOnObject(e,r)},_asyncReturn(e,r){r.complete$1(e)},_asyncRethrow(e,r){r.completeError$2(s.unwrapException(e),s.getTraceFromException(e))},_awaitOnObject(e,r){var n,i,a=new s._awaitOnObject_closure(r),o=new s._awaitOnObject_closure0(r);if(e instanceof s._Future)e._thenAwait$1$2(a,o,$.dynamic);else{n=$.dynamic;if($.Future_dynamic._is(e))e.then$1$2$onError(0,a,o,n);else{i=new s._Future(u.Zone__current,$._Future_dynamic);i._state=8;i._resultOrListeners=e;i._thenAwait$1$2(a,o,n)}}},_wrapJsFunctionForAsync(e){var r=function(e,r){return function(n,i){while(true)try{e(n,i);break}catch(e){i=e;n=r}}}(e,1);return u.Zone__current.registerBinaryCallback$3$1(new s._wrapJsFunctionForAsync_closure(r),$.void,$.int,$.dynamic)},_IterationMarker_yieldStar(e){return new s._IterationMarker(e,1)},_IterationMarker_endOfIteration(){return o._IterationMarker_null_2},_IterationMarker_uncaughtError(e){return new s._IterationMarker(e,3)},_makeSyncStarIterable(e,r){return new s._SyncStarIterable(e,r._eval$1("_SyncStarIterable<0>"))},AsyncError$(e,r){var n=s.checkNotNullable(e,"error",$.Object);return new s.AsyncError(n,r==null?s.AsyncError_defaultStackTrace(e):r)},AsyncError_defaultStackTrace(e){var r;if($.Error._is(e)){r=e.get$stackTrace();if(r!=null)return r}return o._StringStackTrace_3uE},Future_Future$value(e,r){var n,i;r._as(e);n=e;i=new s._Future(u.Zone__current,r._eval$1("_Future<0>"));i._asyncComplete$1(n);return i},Future_Future$error(e,r,n){var i,a;s.checkNotNullable(e,"error",$.Object);i=u.Zone__current;if(i!==o.C__RootZone){a=i.errorCallback$2(e,r);if(a!=null){e=a.error;r=a.stackTrace}}if(r==null)r=s.AsyncError_defaultStackTrace(e);i=new s._Future(u.Zone__current,n._eval$1("_Future<0>"));i._asyncCompleteError$2(e,r);return i},Future_wait(e,r){var n,i,o,l,_,c,p,h,d,m,g={},f=null,y=false,S=new s._Future(u.Zone__current,r._eval$1("_Future>"));g.values=null;g.remaining=0;n=s._Cell$named("error");i=s._Cell$named("stackTrace");o=new s.Future_wait_handleError(g,f,y,S,n,i);try{for(h=a.get$iterator$ax(e),d=$.Null;h.moveNext$0();){l=h.get$current(h);_=g.remaining;a.then$1$2$onError$x(l,new s.Future_wait_closure(g,_,S,f,y,n,i,r),o,d);++g.remaining}h=g.remaining;if(h===0){h=S;h._completeWithValue$1(s._setArrayType([],r._eval$1("JSArray<0>")));return h}g.values=s.List_List$filled(h,null,false,r._eval$1("0?"))}catch(m){c=s.unwrapException(m);p=s.getTraceFromException(m);if(g.remaining===0||y)return s.Future_Future$error(c,p,r._eval$1("List<0>"));else{n._value=c;i._value=p}}return S},_Future$zoneValue(e,r,n){var i=new s._Future(r,n._eval$1("_Future<0>"));i._state=8;i._resultOrListeners=e;return i},_Future__chainCoreFuture(e,r){var n,i;for(;n=e._state,(n&4)!==0;)e=e._resultOrListeners;if((n&24)!==0){i=r._removeListeners$0();r._cloneResult$1(e);s._Future__propagateToListeners(r,i)}else{i=r._resultOrListeners;r._state=r._state&1|4;r._resultOrListeners=e;e._prependListeners$1(i)}},_Future__propagateToListeners(e,r){var n,i,a,o,l,_,c,p,h,d,m,g,f,y={},S=y.source=e;for(n=$.Future_dynamic;true;){i={};a=S._state;o=(a&16)===0;l=!o;if(r==null){if(l&&(a&1)===0){n=S._resultOrListeners;S._zone.handleUncaughtError$2(n.error,n.stackTrace)}return}i.listener=r;_=r._nextListener;for(S=r;_!=null;S=_,_=c){S._nextListener=null;s._Future__propagateToListeners(y.source,S);i.listener=_;c=_._nextListener}a=y.source;p=a._resultOrListeners;i.listenerHasError=l;i.listenerValueOrError=p;if(o){h=S.state;h=(h&1)!==0||(h&15)===8}else h=true;if(h){d=S.result._zone;if(l){S=a._zone;S=!(S===d||S.get$errorZone()===d.get$errorZone())}else S=false;if(S){S=y.source;n=S._resultOrListeners;S._zone.handleUncaughtError$2(n.error,n.stackTrace);return}m=u.Zone__current;if(m!==d)u.Zone__current=d;else m=null;S=i.listener.state;if((S&15)===8)new s._Future__propagateToListeners_handleWhenCompleteCallback(i,y,l).call$0();else if(o){if((S&1)!==0)new s._Future__propagateToListeners_handleValueCallback(i,p).call$0()}else if((S&2)!==0)new s._Future__propagateToListeners_handleError(y,i).call$0();if(m!=null)u.Zone__current=m;S=i.listenerValueOrError;if(n._is(S)){a=i.listener.$ti;a=a._eval$1("Future<2>")._is(S)||!a._rest[1]._is(S)}else a=false;if(a){g=i.listener.result;if((S._state&24)!==0){f=g._resultOrListeners;g._resultOrListeners=null;r=g._reverseListeners$1(f);g._state=S._state&30|g._state&1;g._resultOrListeners=S._resultOrListeners;y.source=S;continue}else s._Future__chainCoreFuture(S,g);return}}g=i.listener.result;f=g._resultOrListeners;g._resultOrListeners=null;r=g._reverseListeners$1(f);S=i.listenerHasError;a=i.listenerValueOrError;if(!S){g._state=8;g._resultOrListeners=a}else{g._state=g._state&1|16;g._resultOrListeners=a}y.source=g;S=g}},_registerErrorHandler(e,r){if($.dynamic_Function_Object_StackTrace._is(e))return r.registerBinaryCallback$3$1(e,$.dynamic,$.Object,$.StackTrace);if($.dynamic_Function_Object._is(e))return r.registerUnaryCallback$2$1(e,$.dynamic,$.Object);throw s.wrapException(s.ArgumentError$value(e,"onError",c.Error_))},_microtaskLoop(){var e,r;for(e=u._nextCallback;e!=null;e=u._nextCallback){u._lastPriorityCallback=null;r=e.next;u._nextCallback=r;if(r==null)u._lastCallback=null;e.callback.call$0()}},_startMicrotaskLoop(){u._isInCallbackLoop=true;try{s._microtaskLoop()}finally{u._lastPriorityCallback=null;u._isInCallbackLoop=false;if(u._nextCallback!=null)u.$get$_AsyncRun__scheduleImmediateClosure().call$1(s.async___startMicrotaskLoop$closure())}},_scheduleAsyncCallback(e){var r=new s._AsyncCallbackEntry(e),n=u._lastCallback;if(n==null){u._nextCallback=u._lastCallback=r;if(!u._isInCallbackLoop)u.$get$_AsyncRun__scheduleImmediateClosure().call$1(s.async___startMicrotaskLoop$closure())}else u._lastCallback=n.next=r},_schedulePriorityAsyncCallback(e){var r,n,i,a=u._nextCallback;if(a==null){s._scheduleAsyncCallback(e);u._lastPriorityCallback=u._lastCallback;return}r=new s._AsyncCallbackEntry(e);n=u._lastPriorityCallback;if(n==null){r.next=a;u._nextCallback=u._lastPriorityCallback=r}else{i=n.next;r.next=i;u._lastPriorityCallback=n.next=r;if(i==null)u._lastCallback=r}},scheduleMicrotask(e){var r,n=null,i=u.Zone__current;if(o.C__RootZone===i){s._rootScheduleMicrotask(n,n,o.C__RootZone,e);return}if(o.C__RootZone===i.get$_scheduleMicrotask().zone)r=o.C__RootZone.get$errorZone()===i.get$errorZone();else r=false;if(r){s._rootScheduleMicrotask(n,n,i,i.registerCallback$1$1(e,$.void));return}r=u.Zone__current;r.scheduleMicrotask$1(r.bindCallbackGuarded$1(e))},Stream_Stream$fromFuture(e,r){var n=null,i=r._eval$1("_SyncStreamController<0>"),a=new s._SyncStreamController(n,n,n,n,i);e.then$1$2$onError(0,new s.Stream_Stream$fromFuture_closure(a,r),new s.Stream_Stream$fromFuture_closure0(a),$.Null);return new s._ControllerStream(a,i._eval$1("_ControllerStream<1>"))},StreamIterator_StreamIterator(e){return new s._StreamIterator(s.checkNotNullable(e,"stream",$.Object))},StreamController_StreamController(e,r,n,i,a,o){return a?new s._SyncStreamController(r,n,i,e,o._eval$1("_SyncStreamController<0>")):new s._AsyncStreamController(r,n,i,e,o._eval$1("_AsyncStreamController<0>"))},_runGuarded(e){var r,n,i;if(e==null)return;try{e.call$0()}catch(i){r=s.unwrapException(i);n=s.getTraceFromException(i);u.Zone__current.handleUncaughtError$2(r,n)}},_ControllerSubscription$(e,r,n,i,a,o){var l=u.Zone__current,_=a?1:0,c=s._BufferingStreamSubscription__registerDataHandler(l,r,o),p=s._BufferingStreamSubscription__registerErrorHandler(l,n),h=i==null?s.async___nullDoneHandler$closure():i;return new s._ControllerSubscription(e,c,p,l.registerCallback$1$1(h,$.void),l,_,o._eval$1("_ControllerSubscription<0>"))},_BufferingStreamSubscription__registerDataHandler(e,r,n){var i=r==null?s.async___nullDataHandler$closure():r;return e.registerUnaryCallback$2$1(i,$.void,n)},_BufferingStreamSubscription__registerErrorHandler(e,r){if(r==null)r=s.async___nullErrorHandler$closure();if($.void_Function_Object_StackTrace._is(r))return e.registerBinaryCallback$3$1(r,$.dynamic,$.Object,$.StackTrace);if($.void_Function_Object._is(r))return e.registerUnaryCallback$2$1(r,$.dynamic,$.Object);throw s.wrapException(s.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.",null))},_nullDataHandler(e){},_nullErrorHandler(e,r){u.Zone__current.handleUncaughtError$2(e,r)},_nullDoneHandler(){},Timer_Timer(e,r){var n=u.Zone__current;if(n===o.C__RootZone)return n.createTimer$2(e,r);return n.createTimer$2(e,n.bindCallbackGuarded$1(r))},_rootHandleUncaughtError(e,r,n,i,a){s._rootHandleError(i,a)},_rootHandleError(e,r){s._schedulePriorityAsyncCallback(new s._rootHandleError_closure(e,r))},_rootRun(e,r,n,i){var s,a=u.Zone__current;if(a===n)return i.call$0();u.Zone__current=n;s=a;try{a=i.call$0();return a}finally{u.Zone__current=s}},_rootRunUnary(e,r,n,i,s){var a,o=u.Zone__current;if(o===n)return i.call$1(s);u.Zone__current=n;a=o;try{o=i.call$1(s);return o}finally{u.Zone__current=a}},_rootRunBinary(e,r,n,i,s,a){var o,l=u.Zone__current;if(l===n)return i.call$2(s,a);u.Zone__current=n;o=l;try{l=i.call$2(s,a);return l}finally{u.Zone__current=o}},_rootRegisterCallback(e,r,n,i){return i},_rootRegisterUnaryCallback(e,r,n,i){return i},_rootRegisterBinaryCallback(e,r,n,i){return i},_rootErrorCallback(e,r,n,i,s){return null},_rootScheduleMicrotask(e,r,n,i){var a,l;if(o.C__RootZone!==n){a=o.C__RootZone.get$errorZone();l=n.get$errorZone();i=a!==l?n.bindCallbackGuarded$1(i):n.bindCallback$1$1(i,$.void)}s._scheduleAsyncCallback(i)},_rootCreateTimer(e,r,n,i,a){return s.Timer__createTimer(i,o.C__RootZone!==n?n.bindCallback$1$1(a,$.void):a)},_rootCreatePeriodicTimer(e,r,n,i,a){var l;if(o.C__RootZone!==n)a=n.bindUnaryCallback$2$1(a,$.void,$.Timer);l=o.JSInt_methods._tdivFast$1(i._duration,1e3);return s._TimerImpl$periodic(l<0?0:l,a)},_rootPrint(e,r,n,i){s.printString(i)},_printToZone(e){u.Zone__current.print$1(e)},_rootFork(e,r,n,i,a){var l,_,c;u.printToZone=s.async___printToZone$closure();if(i==null)i=o._ZoneSpecification_ALf;if(a==null)l=n.get$_async$_map();else{_=$.nullable_Object;l=s.HashMap_HashMap$from(a,_,_)}_=new s._CustomZone(n.get$_run(),n.get$_runUnary(),n.get$_runBinary(),n.get$_registerCallback(),n.get$_registerUnaryCallback(),n.get$_registerBinaryCallback(),n.get$_errorCallback(),n.get$_scheduleMicrotask(),n.get$_createTimer(),n.get$_createPeriodicTimer(),n.get$_print(),n.get$_fork(),n.get$_handleUncaughtError(),n,l);c=i.handleUncaughtError;if(c!=null)_._handleUncaughtError=new s._ZoneFunction(_,c);return _},runZoned(e,r,n){s.checkNotNullable(e,"body",n._eval$1("0()"));return s._runZoned(e,r,null,n)},_runZoned(e,r,n,i){return u.Zone__current.fork$2$specification$zoneValues(n,r).run$1$1(0,e,i)},_AsyncRun__initializeScheduleImmediate_internalCallback:function _AsyncRun__initializeScheduleImmediate_internalCallback(e){this._box_0=e},_AsyncRun__initializeScheduleImmediate_closure:function _AsyncRun__initializeScheduleImmediate_closure(e,r,n){this._box_0=e;this.div=r;this.span=n},_AsyncRun__scheduleImmediateJsOverride_internalCallback:function _AsyncRun__scheduleImmediateJsOverride_internalCallback(e){this.callback=e},_AsyncRun__scheduleImmediateWithSetImmediate_internalCallback:function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(e){this.callback=e},_TimerImpl:function _TimerImpl(e){this._once=e;this._handle=null;this._tick=0},_TimerImpl_internalCallback:function _TimerImpl_internalCallback(e,r){this.$this=e;this.callback=r},_TimerImpl$periodic_closure:function _TimerImpl$periodic_closure(e,r,n,i){var s=this;s.$this=e;s.milliseconds=r;s.start=n;s.callback=i},_AsyncAwaitCompleter:function _AsyncAwaitCompleter(e,r){this._future=e;this.isSync=false;this.$ti=r},_awaitOnObject_closure:function _awaitOnObject_closure(e){this.bodyFunction=e},_awaitOnObject_closure0:function _awaitOnObject_closure0(e){this.bodyFunction=e},_wrapJsFunctionForAsync_closure:function _wrapJsFunctionForAsync_closure(e){this.$protected=e},_IterationMarker:function _IterationMarker(e,r){this.value=e;this.state=r},_SyncStarIterator:function _SyncStarIterator(e){var r=this;r._body=e;r._suspendedBodies=r._nestedIterator=r._async$_current=null},_SyncStarIterable:function _SyncStarIterable(e,r){this._outerHelper=e;this.$ti=r},AsyncError:function AsyncError(e,r){this.error=e;this.stackTrace=r},Future_wait_handleError:function Future_wait_handleError(e,r,n,i,s,a){var o=this;o._box_0=e;o.cleanUp=r;o.eagerError=n;o._future=i;o.error=s;o.stackTrace=a},Future_wait_closure:function Future_wait_closure(e,r,n,i,s,a,o,l){var u=this;u._box_0=e;u.pos=r;u._future=n;u.cleanUp=i;u.eagerError=s;u.error=a;u.stackTrace=o;u.T=l},_Completer:function _Completer(){},_AsyncCompleter:function _AsyncCompleter(e,r){this.future=e;this.$ti=r},_SyncCompleter:function _SyncCompleter(e,r){this.future=e;this.$ti=r},_FutureListener:function _FutureListener(e,r,n,i,s){var a=this;a._nextListener=null;a.result=e;a.state=r;a.callback=n;a.errorCallback=i;a.$ti=s},_Future:function _Future(e,r){var n=this;n._state=0;n._zone=e;n._resultOrListeners=null;n.$ti=r},_Future__addListener_closure:function _Future__addListener_closure(e,r){this.$this=e;this.listener=r},_Future__prependListeners_closure:function _Future__prependListeners_closure(e,r){this._box_0=e;this.$this=r},_Future__chainForeignFuture_closure:function _Future__chainForeignFuture_closure(e){this.$this=e},_Future__chainForeignFuture_closure0:function _Future__chainForeignFuture_closure0(e){this.$this=e},_Future__chainForeignFuture_closure1:function _Future__chainForeignFuture_closure1(e,r,n){this.$this=e;this.e=r;this.s=n},_Future__asyncCompleteWithValue_closure:function _Future__asyncCompleteWithValue_closure(e,r){this.$this=e;this.value=r},_Future__chainFuture_closure:function _Future__chainFuture_closure(e,r){this.$this=e;this.value=r},_Future__asyncCompleteError_closure:function _Future__asyncCompleteError_closure(e,r,n){this.$this=e;this.error=r;this.stackTrace=n},_Future__propagateToListeners_handleWhenCompleteCallback:function _Future__propagateToListeners_handleWhenCompleteCallback(e,r,n){this._box_0=e;this._box_1=r;this.hasError=n},_Future__propagateToListeners_handleWhenCompleteCallback_closure:function _Future__propagateToListeners_handleWhenCompleteCallback_closure(e){this.originalSource=e},_Future__propagateToListeners_handleValueCallback:function _Future__propagateToListeners_handleValueCallback(e,r){this._box_0=e;this.sourceResult=r},_Future__propagateToListeners_handleError:function _Future__propagateToListeners_handleError(e,r){this._box_1=e;this._box_0=r},_AsyncCallbackEntry:function _AsyncCallbackEntry(e){this.callback=e;this.next=null},Stream:function Stream(){},Stream_Stream$fromFuture_closure:function Stream_Stream$fromFuture_closure(e,r){this.controller=e;this.T=r},Stream_Stream$fromFuture_closure0:function Stream_Stream$fromFuture_closure0(e){this.controller=e},Stream_length_closure:function Stream_length_closure(e,r){this._box_0=e;this.$this=r},Stream_length_closure0:function Stream_length_closure0(e,r){this._box_0=e;this.future=r},StreamTransformerBase:function StreamTransformerBase(){},_StreamController:function _StreamController(){},_StreamController__subscribe_closure:function _StreamController__subscribe_closure(e){this.$this=e},_StreamController__recordCancel_complete:function _StreamController__recordCancel_complete(e){this.$this=e},_SyncStreamControllerDispatch:function _SyncStreamControllerDispatch(){},_AsyncStreamControllerDispatch:function _AsyncStreamControllerDispatch(){},_AsyncStreamController:function _AsyncStreamController(e,r,n,i,s){var a=this;a._varData=null;a._state=0;a._doneFuture=null;a.onListen=e;a.onPause=r;a.onResume=n;a.onCancel=i;a.$ti=s},_SyncStreamController:function _SyncStreamController(e,r,n,i,s){var a=this;a._varData=null;a._state=0;a._doneFuture=null;a.onListen=e;a.onPause=r;a.onResume=n;a.onCancel=i;a.$ti=s},_ControllerStream:function _ControllerStream(e,r){this._controller=e;this.$ti=r},_ControllerSubscription:function _ControllerSubscription(e,r,n,i,s,a,o){var l=this;l._controller=e;l._onData=r;l._onError=n;l._onDone=i;l._zone=s;l._state=a;l._pending=l._cancelFuture=null;l.$ti=o},_AddStreamState:function _AddStreamState(){},_AddStreamState_cancel_closure:function _AddStreamState_cancel_closure(e){this.$this=e},_StreamControllerAddStreamState:function _StreamControllerAddStreamState(e,r,n){this.varData=e;this.addStreamFuture=r;this.addSubscription=n},_BufferingStreamSubscription:function _BufferingStreamSubscription(){},_BufferingStreamSubscription__sendError_sendError:function _BufferingStreamSubscription__sendError_sendError(e,r,n){this.$this=e;this.error=r;this.stackTrace=n},_BufferingStreamSubscription__sendDone_sendDone:function _BufferingStreamSubscription__sendDone_sendDone(e){this.$this=e},_StreamImpl:function _StreamImpl(){},_DelayedEvent:function _DelayedEvent(){},_DelayedData:function _DelayedData(e){this.value=e;this.next=null},_DelayedError:function _DelayedError(e,r){this.error=e;this.stackTrace=r;this.next=null},_DelayedDone:function _DelayedDone(){},_PendingEvents:function _PendingEvents(){},_PendingEvents_schedule_closure:function _PendingEvents_schedule_closure(e,r){this.$this=e;this.dispatch=r},_StreamImplEvents:function _StreamImplEvents(){this.lastPendingEvent=this.firstPendingEvent=null;this._state=0},_StreamIterator:function _StreamIterator(e){this._subscription=null;this._stateData=e;this._async$_hasValue=false},_ForwardingStream:function _ForwardingStream(){},_ForwardingStreamSubscription:function _ForwardingStreamSubscription(e,r,n,i,s,a,o){var l=this;l._stream=e;l._subscription=null;l._onData=r;l._onError=n;l._onDone=i;l._zone=s;l._state=a;l._pending=l._cancelFuture=null;l.$ti=o},_ExpandStream:function _ExpandStream(e,r,n){this._expand=e;this._async$_source=r;this.$ti=n},_ZoneFunction:function _ZoneFunction(e,r){this.zone=e;this.$function=r},_RunNullaryZoneFunction:function _RunNullaryZoneFunction(e,r){this.zone=e;this.$function=r},_RunUnaryZoneFunction:function _RunUnaryZoneFunction(e,r){this.zone=e;this.$function=r},_RunBinaryZoneFunction:function _RunBinaryZoneFunction(e,r){this.zone=e;this.$function=r},_RegisterNullaryZoneFunction:function _RegisterNullaryZoneFunction(e,r){this.zone=e;this.$function=r},_RegisterUnaryZoneFunction:function _RegisterUnaryZoneFunction(e,r){this.zone=e;this.$function=r},_RegisterBinaryZoneFunction:function _RegisterBinaryZoneFunction(e,r){this.zone=e;this.$function=r},_ZoneSpecification:function _ZoneSpecification(e,r,n,i,s,a,o,l,u,_,c,$,p){var h=this;h.handleUncaughtError=e;h.run=r;h.runUnary=n;h.runBinary=i;h.registerCallback=s;h.registerUnaryCallback=a;h.registerBinaryCallback=o;h.errorCallback=l;h.scheduleMicrotask=u;h.createTimer=_;h.createPeriodicTimer=c;h.print=$;h.fork=p},_ZoneDelegate:function _ZoneDelegate(e){this._delegationTarget=e},_Zone:function _Zone(){},_CustomZone:function _CustomZone(e,r,n,i,s,a,o,l,u,_,c,$,p,h,d){var m=this;m._run=e;m._runUnary=r;m._runBinary=n;m._registerCallback=i;m._registerUnaryCallback=s;m._registerBinaryCallback=a;m._errorCallback=o;m._scheduleMicrotask=l;m._createTimer=u;m._createPeriodicTimer=_;m._print=c;m._fork=$;m._handleUncaughtError=p;m._delegateCache=null;m.parent=h;m._async$_map=d},_CustomZone_bindCallback_closure:function _CustomZone_bindCallback_closure(e,r,n){this.$this=e;this.registered=r;this.R=n},_CustomZone_bindUnaryCallback_closure:function _CustomZone_bindUnaryCallback_closure(e,r,n,i){var s=this;s.$this=e;s.registered=r;s.T=n;s.R=i},_CustomZone_bindCallbackGuarded_closure:function _CustomZone_bindCallbackGuarded_closure(e,r){this.$this=e;this.registered=r},_rootHandleError_closure:function _rootHandleError_closure(e,r){this.error=e;this.stackTrace=r},_RootZone:function _RootZone(){},_RootZone_bindCallback_closure:function _RootZone_bindCallback_closure(e,r,n){this.$this=e;this.f=r;this.R=n},_RootZone_bindUnaryCallback_closure:function _RootZone_bindUnaryCallback_closure(e,r,n,i){var s=this;s.$this=e;s.f=r;s.T=n;s.R=i},_RootZone_bindCallbackGuarded_closure:function _RootZone_bindCallbackGuarded_closure(e,r){this.$this=e;this.f=r},HashMap_HashMap(e,r){return new s._HashMap(e._eval$1("@<0>")._bind$1(r)._eval$1("_HashMap<1,2>"))},_HashMap__getTableEntry(e,r){var n=e[r];return n===e?null:n},_HashMap__setTableEntry(e,r,n){if(n==null)e[r]=e;else e[r]=n},_HashMap__newHashTable(){var e=Object.create(null);s._HashMap__setTableEntry(e,"",e);delete e[""];return e},LinkedHashMap_LinkedHashMap(e,r,n,i,a){if(n==null)if(r==null){if(e==null)return new s.JsLinkedHashMap(i._eval$1("@<0>")._bind$1(a)._eval$1("JsLinkedHashMap<1,2>"));r=s.collection___defaultHashCode$closure()}else{if(s.core__identityHashCode$closure()===r&&s.core__identical$closure()===e)return new s._LinkedIdentityHashMap(i._eval$1("@<0>")._bind$1(a)._eval$1("_LinkedIdentityHashMap<1,2>"));if(e==null)e=s.collection___defaultEquals$closure()}else{if(r==null)r=s.collection___defaultHashCode$closure();if(e==null)e=s.collection___defaultEquals$closure()}return s._LinkedCustomHashMap$(e,r,n,i,a)},LinkedHashMap_LinkedHashMap$_literal(e,r,n){return s.fillLiteralMap(e,new s.JsLinkedHashMap(r._eval$1("@<0>")._bind$1(n)._eval$1("JsLinkedHashMap<1,2>")))},LinkedHashMap_LinkedHashMap$_empty(e,r){return new s.JsLinkedHashMap(e._eval$1("@<0>")._bind$1(r)._eval$1("JsLinkedHashMap<1,2>"))},_LinkedCustomHashMap$(e,r,n,i,a){var o=n!=null?n:new s._LinkedCustomHashMap_closure(i);return new s._LinkedCustomHashMap(e,r,o,i._eval$1("@<0>")._bind$1(a)._eval$1("_LinkedCustomHashMap<1,2>"))},LinkedHashSet_LinkedHashSet(e){return new s._LinkedHashSet(e._eval$1("_LinkedHashSet<0>"))},LinkedHashSet_LinkedHashSet$_empty(e){return new s._LinkedHashSet(e._eval$1("_LinkedHashSet<0>"))},LinkedHashSet_LinkedHashSet$_literal(e,r){return s.fillLiteralSet(e,new s._LinkedHashSet(r._eval$1("_LinkedHashSet<0>")))},_LinkedHashSet__newHashTable(){var e=Object.create(null);e[""]=e;delete e[""];return e},_LinkedHashSetIterator$(e,r){var n=new s._LinkedHashSetIterator(e,r);n._collection$_cell=e._collection$_first;return n},UnmodifiableListView$(e,r){return new s.UnmodifiableListView(e,r._eval$1("UnmodifiableListView<0>"))},_defaultEquals(e,r){return a.$eq$(e,r)},_defaultHashCode(e){return a.get$hashCode$(e)},HashMap_HashMap$from(e,r,n){var i=s.HashMap_HashMap(r,n);e.forEach$1(0,new s.HashMap_HashMap$from_closure(i,r,n));return i},IterableBase_iterableToShortString(e,r,n){var i,a;if(s._isToStringVisiting(e)){if(r==="("&&n===")")return"(...)";return r+"..."+n}i=s._setArrayType([],$.JSArray_String);u._toStringVisiting.push(e);try{s._iterablePartsToStrings(e,i)}finally{u._toStringVisiting.pop()}a=s.StringBuffer__writeAll(r,i,", ")+n;return a.charCodeAt(0)==0?a:a},IterableBase_iterableToFullString(e,r,n){var i,a;if(s._isToStringVisiting(e))return r+"..."+n;i=new s.StringBuffer(r);u._toStringVisiting.push(e);try{a=i;a._contents=s.StringBuffer__writeAll(a._contents,e,", ")}finally{u._toStringVisiting.pop()}i._contents+=n;a=i._contents;return a.charCodeAt(0)==0?a:a},_isToStringVisiting(e){var r,n;for(r=u._toStringVisiting.length,n=0;n100){while(true){if(!($>75&&p>3))break;$-=r.pop().length+2;--p}r.push("...");return}}a=s.S(o);i=s.S(l);$+=i.length+a.length+4}}if(p>r.length+2){$+=5;_="..."}else _=null;while(true){if(!($>80&&r.length>3))break;$-=r.pop().length+2;if(_==null){$+=5;_="..."}}if(_!=null)r.push(_);r.push(a);r.push(i)},LinkedHashMap_LinkedHashMap$from(e,r,n){var i=s.LinkedHashMap_LinkedHashMap(null,null,null,r,n);e.forEach$1(0,new s.LinkedHashMap_LinkedHashMap$from_closure(i,r,n));return i},LinkedHashMap_LinkedHashMap$of(e,r,n){var i=s.LinkedHashMap_LinkedHashMap(null,null,null,r,n);i.addAll$1(0,e);return i},LinkedHashSet_LinkedHashSet$from(e,r){var n,i,a=s.LinkedHashSet_LinkedHashSet(r);for(n=e.length,i=0;i"))},ListQueue__calculateCapacity(e){return 8},ListQueue_ListQueue$of(e,r){var n=s.ListQueue$(r);n.addAll$1(0,e);return n},ListQueue__nextPowerOf2(e){var r;e=(e<<1>>>0)-1;for(;true;e=r){r=(e&e-1)>>>0;if(r===0)return e}},_ListQueueIterator$(e){return new s._ListQueueIterator(e,e._collection$_tail,e._modificationCount,e._collection$_head)},_UnmodifiableSetMixin__throwUnmodifiable(){throw s.wrapException(s.UnsupportedError$("Cannot change an unmodifiable set"))},_HashMap:function _HashMap(e){var r=this;r._collection$_length=0;r._keys=r._collection$_rest=r._collection$_nums=r._collection$_strings=null;r.$ti=e},_HashMap_values_closure:function _HashMap_values_closure(e){this.$this=e},_HashMap_addAll_closure:function _HashMap_addAll_closure(e){this.$this=e},_IdentityHashMap:function _IdentityHashMap(e){var r=this;r._collection$_length=0;r._keys=r._collection$_rest=r._collection$_nums=r._collection$_strings=null;r.$ti=e},_HashMapKeyIterable:function _HashMapKeyIterable(e,r){this._map=e;this.$ti=r},_HashMapKeyIterator:function _HashMapKeyIterator(e,r){var n=this;n._map=e;n._keys=r;n._offset=0;n._collection$_current=null},_LinkedIdentityHashMap:function _LinkedIdentityHashMap(e){var r=this;r.__js_helper$_length=0;r._last=r._first=r.__js_helper$_rest=r._nums=r._strings=null;r._modifications=0;r.$ti=e},_LinkedCustomHashMap:function _LinkedCustomHashMap(e,r,n,i){var s=this;s._equals=e;s._hashCode=r;s._validKey=n;s.__js_helper$_length=0;s._last=s._first=s.__js_helper$_rest=s._nums=s._strings=null;s._modifications=0;s.$ti=i},_LinkedCustomHashMap_closure:function _LinkedCustomHashMap_closure(e){this.K=e},_LinkedHashSet:function _LinkedHashSet(e){var r=this;r._collection$_length=0;r._collection$_last=r._collection$_first=r._collection$_rest=r._collection$_nums=r._collection$_strings=null;r._collection$_modifications=0;r.$ti=e},_LinkedIdentityHashSet:function _LinkedIdentityHashSet(e){var r=this;r._collection$_length=0;r._collection$_last=r._collection$_first=r._collection$_rest=r._collection$_nums=r._collection$_strings=null;r._collection$_modifications=0;r.$ti=e},_LinkedHashSetCell:function _LinkedHashSetCell(e){this._element=e;this._collection$_previous=this._collection$_next=null},_LinkedHashSetIterator:function _LinkedHashSetIterator(e,r){var n=this;n._set=e;n._collection$_modifications=r;n._collection$_current=n._collection$_cell=null},UnmodifiableListView:function UnmodifiableListView(e,r){this._collection$_source=e;this.$ti=r},HashMap_HashMap$from_closure:function HashMap_HashMap$from_closure(e,r,n){this.result=e;this.K=r;this.V=n},IterableBase:function IterableBase(){},LinkedHashMap_LinkedHashMap$from_closure:function LinkedHashMap_LinkedHashMap$from_closure(e,r,n){this.result=e;this.K=r;this.V=n},ListBase:function ListBase(){},ListMixin:function ListMixin(){},MapBase:function MapBase(){},MapBase_mapToString_closure:function MapBase_mapToString_closure(e,r){this._box_0=e;this.result=r},MapMixin:function MapMixin(){},MapMixin_addAll_closure:function MapMixin_addAll_closure(e){this.$this=e},MapMixin_entries_closure:function MapMixin_entries_closure(e){this.$this=e},UnmodifiableMapBase:function UnmodifiableMapBase(){},_MapBaseValueIterable:function _MapBaseValueIterable(e,r){this._map=e;this.$ti=r},_MapBaseValueIterator:function _MapBaseValueIterator(e,r){this._keys=e;this._map=r;this._collection$_current=null},_UnmodifiableMapMixin:function _UnmodifiableMapMixin(){},MapView:function MapView(){},UnmodifiableMapView:function UnmodifiableMapView(e,r){this._map=e;this.$ti=r},ListQueue:function ListQueue(e,r){var n=this;n._collection$_table=e;n._modificationCount=n._collection$_tail=n._collection$_head=0;n.$ti=r},_ListQueueIterator:function _ListQueueIterator(e,r,n,i){var s=this;s._queue=e;s._collection$_end=r;s._modificationCount=n;s._collection$_position=i;s._collection$_current=null},SetMixin:function SetMixin(){},_SetBase:function _SetBase(){},_UnmodifiableSetMixin:function _UnmodifiableSetMixin(){},_UnmodifiableSet:function _UnmodifiableSet(e,r){this._map=e;this.$ti=r},_ListBase_Object_ListMixin:function _ListBase_Object_ListMixin(){},_UnmodifiableMapView_MapView__UnmodifiableMapMixin:function _UnmodifiableMapView_MapView__UnmodifiableMapMixin(){},__SetBase_Object_SetMixin:function __SetBase_Object_SetMixin(){},__UnmodifiableSet__SetBase__UnmodifiableSetMixin:function __UnmodifiableSet__SetBase__UnmodifiableSetMixin(){},Utf8Decoder__convertIntercepted(e,r,n,i){var a,o;if(r instanceof Uint8Array){a=r;i=a.length;if(i-n<15)return null;o=s.Utf8Decoder__convertInterceptedUint8List(e,a,n,i);if(o!=null&&e)if(o.indexOf("�")>=0)return null;return o}return null},Utf8Decoder__convertInterceptedUint8List(e,r,n,i){var a=e?u.$get$Utf8Decoder__decoderNonfatal():u.$get$Utf8Decoder__decoder();if(a==null)return null;if(0===n&&i===r.length)return s.Utf8Decoder__useTextDecoder(a,r);return s.Utf8Decoder__useTextDecoder(a,r.subarray(n,s.RangeError_checkValidRange(n,i,r.length)))},Utf8Decoder__useTextDecoder(e,r){var n,i;try{n=e.decode(r);return n}catch(i){}return null},Base64Codec__checkPadding(e,r,n,i,a,l){if(o.JSInt_methods.$mod(l,4)!==0)throw s.wrapException(s.FormatException$("Invalid base64 padding, padded length must be multiple of four, is "+l,e,n));if(i+a!==l)throw s.wrapException(s.FormatException$("Invalid base64 padding, '=' not at the end",e,r));if(a>2)throw s.wrapException(s.FormatException$("Invalid base64 padding, more than two '=' characters",e,r))},_Base64Encoder_encodeChunk(e,r,n,i,l,u,_,c){var $,p,h,d,m,g,f=c>>>2,y=3-(c&3);for($=a.getInterceptor$asx(r),p=n,h=0;p>>0;f=(f<<8|d)&16777215;--y;if(y===0){m=_+1;u[_]=o.JSString_methods._codeUnitAt$1(e,f>>>18&63);_=m+1;u[m]=o.JSString_methods._codeUnitAt$1(e,f>>>12&63);m=_+1;u[_]=o.JSString_methods._codeUnitAt$1(e,f>>>6&63);_=m+1;u[m]=o.JSString_methods._codeUnitAt$1(e,f&63);f=0;y=3}}if(h>=0&&h<=255){if(l&&y<3){m=_+1;g=m+1;if(3-y===1){u[_]=o.JSString_methods._codeUnitAt$1(e,f>>>2&63);u[m]=o.JSString_methods._codeUnitAt$1(e,f<<4&63);u[g]=61;u[g+1]=61}else{u[_]=o.JSString_methods._codeUnitAt$1(e,f>>>10&63);u[m]=o.JSString_methods._codeUnitAt$1(e,f>>>4&63);u[g]=o.JSString_methods._codeUnitAt$1(e,f<<2&63);u[g+1]=61}return 0}return(f<<2|3-y)>>>0}for(p=n;p255)break;++p}throw s.wrapException(s.ArgumentError$value(r,"Not a byte value at index "+p+": 0x"+a.toRadixString$1$n($.$index(r,p),16),null))},JsonUnsupportedObjectError$(e,r,n){return new s.JsonUnsupportedObjectError(e,r)},_defaultToEncodable(e){return e.toJson$0()},_JsonStringStringifier$(e,r){return new s._JsonStringStringifier(e,[],s.convert___defaultToEncodable$closure())},_JsonStringStringifier_stringify(e,r,n){var i,a=new s.StringBuffer(""),o=s._JsonStringStringifier$(a,r);o.writeObject$1(e);i=a._contents;return i.charCodeAt(0)==0?i:i},_Utf8Decoder_errorDescription(e){switch(e){case 65:return"Missing extension byte";case 67:return"Unexpected extension byte";case 69:return"Invalid UTF-8 byte";case 71:return"Overlong encoding";case 73:return"Out of unicode range";case 75:return"Encoded surrogate";case 77:return"Unfinished UTF-8 octet sequence";default:return""}},_Utf8Decoder__makeUint8List(e,r,n){var i,s,o,l=n-r,u=new Uint8Array(l);for(i=a.getInterceptor$asx(e),s=0;s>>0!==0?255:o}return u},Utf8Decoder__decoder_closure:function Utf8Decoder__decoder_closure(){},Utf8Decoder__decoderNonfatal_closure:function Utf8Decoder__decoderNonfatal_closure(){},AsciiCodec:function AsciiCodec(){},_UnicodeSubsetEncoder:function _UnicodeSubsetEncoder(){},AsciiEncoder:function AsciiEncoder(e){this._subsetMask=e},Base64Codec:function Base64Codec(){},Base64Encoder:function Base64Encoder(){},_Base64Encoder:function _Base64Encoder(e){this._convert$_state=0;this._alphabet=e},_Base64EncoderSink:function _Base64EncoderSink(){},_Utf8Base64EncoderSink:function _Utf8Base64EncoderSink(e,r){this._sink=e;this._encoder=r},ByteConversionSink:function ByteConversionSink(){},ByteConversionSinkBase:function ByteConversionSinkBase(){},ChunkedConversionSink:function ChunkedConversionSink(){},Codec:function Codec(){},Converter:function Converter(){},Encoding:function Encoding(){},JsonUnsupportedObjectError:function JsonUnsupportedObjectError(e,r){this.unsupportedObject=e;this.cause=r},JsonCyclicError:function JsonCyclicError(e,r){this.unsupportedObject=e;this.cause=r},JsonCodec:function JsonCodec(){},JsonEncoder:function JsonEncoder(e){this._toEncodable=e},_JsonStringifier:function _JsonStringifier(){},_JsonStringifier_writeMap_closure:function _JsonStringifier_writeMap_closure(e,r){this._box_0=e;this.keyValueList=r},_JsonStringStringifier:function _JsonStringStringifier(e,r,n){this._sink=e;this._seen=r;this._toEncodable=n},StringConversionSinkBase:function StringConversionSinkBase(){},StringConversionSinkMixin:function StringConversionSinkMixin(){},_StringSinkConversionSink:function _StringSinkConversionSink(e){this._stringSink=e},_StringCallbackSink:function _StringCallbackSink(e,r){this._convert$_callback=e;this._stringSink=r},_Utf8StringSinkAdapter:function _Utf8StringSinkAdapter(e,r,n){this._decoder=e;this._sink=r;this._stringSink=n},Utf8Codec:function Utf8Codec(){},Utf8Encoder:function Utf8Encoder(){},_Utf8Encoder:function _Utf8Encoder(e){this._bufferIndex=0;this._convert$_buffer=e},Utf8Decoder:function Utf8Decoder(e){this._allowMalformed=e},_Utf8Decoder:function _Utf8Decoder(e){this.allowMalformed=e;this._convert$_state=16;this._charOrIndex=0},identityHashCode(e){return s.objectHashCode(e)},Function_apply(e,r){return s.Primitives_applyFunction(e,r,null)},Expando$(){return new s.Expando(new WeakMap)},Expando__checkType(e){var r=s._isBool(e)||typeof e=="number"||typeof e=="string";if(r)throw s.wrapException(s.ArgumentError$value(e,c.Expand,null))},int_parse(e,r){var n=s.Primitives_parseInt(e,r);if(n!=null)return n;throw s.wrapException(s.FormatException$(e,null,null))},double_parse(e){var r=s.Primitives_parseDouble(e);if(r!=null)return r;throw s.wrapException(s.FormatException$("Invalid double",e,null))},Error__objectToString(e){if(e instanceof s.Closure)return e.toString$0(0);return"Instance of '"+s.Primitives_objectTypeName(e)+"'"},Error__throw(e,r){e=s.wrapException(e);e.stack=r.toString$0(0);throw e;throw s.wrapException("unreachable")},List_List$filled(e,r,n,i){var s,o=n?a.JSArray_JSArray$growable(e,i):a.JSArray_JSArray$fixed(e,i);if(e!==0&&r!=null)for(s=0;s"));for(i=a.get$iterator$ax(e);i.moveNext$0();)o.push(i.get$current(i));if(r)return o;return a.JSArray_markFixedList(o)},List_List$of(e,r,n){var i;if(r)return s.List_List$_of(e,n);i=a.JSArray_markFixedList(s.List_List$_of(e,n));return i},List_List$_of(e,r){var n,i;if(Array.isArray(e))return s._setArrayType(e.slice(0),r._eval$1("JSArray<0>"));n=s._setArrayType([],r._eval$1("JSArray<0>"));for(i=a.get$iterator$ax(e);i.moveNext$0();)n.push(i.get$current(i));return n},List_List$unmodifiable(e,r){return a.JSArray_markUnmodifiableList(s.List_List$from(e,false,r))},String_String$fromCharCodes(e,r,n){var i,a;if(Array.isArray(e)){i=e;a=i.length;n=s.RangeError_checkValidRange(r,n,a);return s.Primitives_stringFromCharCodes(r>0||n>>4]&1<<($&15))!==0)c+=s.Primitives_stringFromCharCode($);else c=i&&$===32?c+"+":c+"%"+p[$>>>4&15]+p[$&15]}return c.charCodeAt(0)==0?c:c},StackTrace_current(){var e,r;if(u.$get$_hasErrorStackProperty())return s.getTraceFromException(new Error);try{throw s.wrapException("")}catch(r){e=s.getTraceFromException(r);return e}},DateTime$_withValue(e,r){var n;if(Math.abs(e)<=864e13)n=false;else n=true;if(n)s.throwExpression(s.ArgumentError$("DateTime is outside valid range: "+e,null));s.checkNotNullable(false,"isUtc",$.bool);return new s.DateTime(e,false)},DateTime__fourDigits(e){var r=Math.abs(e),n=e<0?"-":"";if(r>=1e3)return""+e;if(r>=100)return n+"0"+r;if(r>=10)return n+"00"+r;return n+"000"+r},DateTime__threeDigits(e){if(e>=100)return""+e;if(e>=10)return"0"+e;return"00"+e},DateTime__twoDigits(e){if(e>=10)return""+e;return"0"+e},Duration$(e){return new s.Duration(1e3*e)},Error_safeToString(e){if(typeof e=="number"||s._isBool(e)||e==null)return a.toString$0$(e);if(typeof e=="string")return JSON.stringify(e);return s.Error__objectToString(e)},AssertionError$(e){return new s.AssertionError(e)},ArgumentError$(e,r){return new s.ArgumentError(false,null,r,e)},ArgumentError$value(e,r,n){return new s.ArgumentError(true,e,r,n)},ArgumentError_checkNotNull(e,r){return e},RangeError$(e){var r=null;return new s.RangeError(r,r,false,r,r,e)},RangeError$value(e,r,n){return new s.RangeError(null,null,true,e,r,n==null?"Value not in range":n)},RangeError$range(e,r,n,i,a){return new s.RangeError(r,n,true,e,i,a==null?"Invalid value":a)},RangeError_checkValueInInterval(e,r,n,i){if(en)throw s.wrapException(s.RangeError$range(e,r,n,i,null));return e},RangeError_checkValidIndex(e,r,n){var i=r.get$length(r);if(0>e||e>=i)throw s.wrapException(s.IndexError$(e,r,n==null?"index":n,null,i));return e},RangeError_checkValidRange(e,r,n){if(0>e||e>n)throw s.wrapException(s.RangeError$range(e,0,n,"start",null));if(r!=null){if(e>r||r>n)throw s.wrapException(s.RangeError$range(r,e,n,"end",null));return r}return n},RangeError_checkNotNegative(e,r){if(e<0)throw s.wrapException(s.RangeError$range(e,0,null,r,null));return e},IndexError$(e,r,n,i,o){var l=o==null?a.get$length$asx(r):o;return new s.IndexError(l,true,e,n,"Index out of range")},UnsupportedError$(e){return new s.UnsupportedError(e)},UnimplementedError$(e){return new s.UnimplementedError(e)},StateError$(e){return new s.StateError(e)},ConcurrentModificationError$(e){return new s.ConcurrentModificationError(e)},FormatException$(e,r,n){return new s.FormatException(e,r,n)},Iterable_Iterable$generate(e,r,n){if(e<=0)return new s.EmptyIterable(n._eval$1("EmptyIterable<0>"));return new s._GeneratorIterable(e,r,n._eval$1("_GeneratorIterable<0>"))},Map_castFrom(e,r,n,i,a){return new s.CastMap(e,r._eval$1("@<0>")._bind$1(n)._bind$1(i)._bind$1(a)._eval$1("CastMap<1,2,3,4>"))},Object_hash(e,r,n){var i,l;if(o.C_SentinelValue===n){i=a.get$hashCode$(e);r=a.get$hashCode$(r);return s.SystemHash_finish(s.SystemHash_combine(s.SystemHash_combine(u.$get$_hashSeed(),i),r))}i=a.get$hashCode$(e);r=a.get$hashCode$(r);n=a.get$hashCode$(n);l=u.$get$_hashSeed();return s.SystemHash_finish(s.SystemHash_combine(s.SystemHash_combine(s.SystemHash_combine(l,i),r),n))},print(e){var r=s.S(e),n=u.printToZone;if(n==null)s.printString(r);else n.call$1(r)},Set_castFrom(e,r,n,i){return new s.CastSet(e,r,n._eval$1("@<0>")._bind$1(i)._eval$1("CastSet<1,2>"))},_combineSurrogatePair(e,r){return 65536+((e&1023)<<10)+(r&1023)},Uri_Uri$dataFromString(e,r,n){var i,a,l=new s.StringBuffer(""),u=s._setArrayType([-1],$.JSArray_int);if(r==null)i=null;else i="utf-8";if(r==null)r=o.C_AsciiCodec;s.UriData__writeUri(n,i,null,l,u);u.push(l._contents.length);l._contents+=",";s.UriData__uriEncodeBytes(o.List_CVk,r.encode$1(e),l);a=l._contents;return new s.UriData(a.charCodeAt(0)==0?a:a,u,null).get$uri()},Uri_parse(e){var r,n,i,a,l,u,_,c,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A=null,M=e.length;if(M>=5){r=((o.JSString_methods._codeUnitAt$1(e,4)^58)*3|o.JSString_methods._codeUnitAt$1(e,0)^100|o.JSString_methods._codeUnitAt$1(e,1)^97|o.JSString_methods._codeUnitAt$1(e,2)^116|o.JSString_methods._codeUnitAt$1(e,3)^97)>>>0;if(r===0)return s.UriData__parse(M=14)n[7]=M;i=n[1];if(i>=0)if(s._scan(e,0,i,20,n)===20)n[7]=i;a=n[2]+1;l=n[3];u=n[4];_=n[5];c=n[6];if(c<_)_=c;if(ui+3){h=A;p=false}else{d=l>0;if(d&&l+1===u){h=A;p=false}else{if(!(_u+2&&o.JSString_methods.startsWith$2(e,"/..",_-3);else m=true;if(m){h=A;p=false}else{if(i===4)if(o.JSString_methods.startsWith$2(e,"file",0)){if(a<=0){if(!o.JSString_methods.startsWith$2(e,"/",u)){g="file:///";r=3}else{g="file://";r=2}e=g+o.JSString_methods.substring$2(e,u,M);i-=0;d=r-0;_+=d;c+=d;M=e.length;a=7;l=7;u=7}else if(u===_){++c;f=_+1;e=o.JSString_methods.replaceRange$3(e,u,_,"/");++M;_=f}h="file"}else if(o.JSString_methods.startsWith$2(e,"http",0)){if(d&&l+3===u&&o.JSString_methods.startsWith$2(e,"80",l+1)){c-=3;y=u-3;_-=3;e=o.JSString_methods.replaceRange$3(e,l,u,"");M-=3;u=y}h="http"}else h=A;else if(i===5&&o.JSString_methods.startsWith$2(e,"https",0)){if(d&&l+4===u&&o.JSString_methods.startsWith$2(e,"443",l+1)){c-=4;y=u-4;_-=4;e=o.JSString_methods.replaceRange$3(e,l,u,"");M-=3;u=y}h="https"}else h=A;p=true}}}else h=A;if(p){if(M0)h=s._Uri__makeScheme(e,0,i);else{if(i===0)s._Uri__fail(e,0,"Invalid empty scheme");h=""}if(a>0){S=i+3;v=S9)h.call$2("invalid character",i)}else{if(l===3)h.call$2($,i);_=s.int_parse(o.JSString_methods.substring$2(e,a,i),null);if(_>255)h.call$2(p,a);c=l+1;d[l]=_;a=i+1;l=c}}if(l!==3)h.call$2($,n);_=s.int_parse(o.JSString_methods.substring$2(e,a,n),null);if(_>255)h.call$2(p,a);d[l]=_;return d},Uri_parseIPv6Address(e,r,n){var i,a,l,u,_,c,p,h,d,m,g,f,y,S,v=null,b=new s.Uri_parseIPv6Address_error(e),x=new s.Uri_parseIPv6Address_parseHex(b,e);if(e.length<2)b.call$2("address is too short",v);i=s._setArrayType([],$.JSArray_int);for(a=r,l=a,u=false,_=false;a>>0);i.push((d[2]<<8|d[3])>>>0)}if(u){if(i.length>7)b.call$2("an address with a wildcard must have less than 7 parts",v)}else if(i.length!==8)b.call$2("an address without a wildcard must contain exactly 8 parts",v);m=new Uint8Array(16);for(h=i.length,g=9-h,a=0,f=0;au)s.throwExpression(s.RangeError$range(0,0,l.get$length(o),null,null));if(s.stringContainsUnchecked(o,"/",0)){n=s.UnsupportedError$("Illegal path character "+s.S(o));throw s.wrapException(n)}}},_Uri__checkWindowsPathReservedCharacters(e,r,n){var i,a,o,l;for(i=s.SubListIterable$(e,n,null,s._arrayInstanceType(e)._precomputed1),i=new s.ListIterator(i,i.get$length(i)),a=s._instanceType(i)._precomputed1;i.moveNext$0();){o=i.__internal$_current;if(o==null)o=a._as(o);l=s.RegExp_RegExp('["*/:<>?\\\\|]',false);if(s.stringContainsUnchecked(o,l,0))if(r)throw s.wrapException(s.ArgumentError$("Illegal character in path",null));else throw s.wrapException(s.UnsupportedError$("Illegal character in path: "+o))}},_Uri__checkWindowsDriveLetter(e,r){var n,i="Illegal drive letter ";if(!(65<=e&&e<=90))n=97<=e&&e<=122;else n=true;if(n)return;if(r)throw s.wrapException(s.ArgumentError$(i+s.String_String$fromCharCode(e),null));else throw s.wrapException(s.UnsupportedError$(i+s.String_String$fromCharCode(e)))},_Uri__makeFileUri(e,r){var n=null,i=s._setArrayType(e.split("/"),$.JSArray_String);if(o.JSString_methods.startsWith$1(e,"/"))return s._Uri__Uri(n,n,i,"file");else return s._Uri__Uri(n,n,i,n)},_Uri__makeWindowsFileUrl(e,r){var n,i,a,l,u="\\",_=null,c="file";if(o.JSString_methods.startsWith$1(e,"\\\\?\\"))if(o.JSString_methods.startsWith$2(e,"UNC\\",4))e=o.JSString_methods.replaceRange$3(e,0,7,u);else{e=o.JSString_methods.substring$1(e,4);if(e.length<3||o.JSString_methods._codeUnitAt$1(e,1)!==58||o.JSString_methods._codeUnitAt$1(e,2)!==92)throw s.wrapException(s.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute",_))}else e=s.stringReplaceAllUnchecked(e,"/",u);n=e.length;if(n>1&&o.JSString_methods._codeUnitAt$1(e,1)===58){s._Uri__checkWindowsDriveLetter(o.JSString_methods._codeUnitAt$1(e,0),true);if(n===2||o.JSString_methods._codeUnitAt$1(e,2)!==92)throw s.wrapException(s.ArgumentError$("Windows paths with drive letter must be absolute",_));i=s._setArrayType(e.split(u),$.JSArray_String);s._Uri__checkWindowsPathReservedCharacters(i,true,1);return s._Uri__Uri(_,_,i,c)}if(o.JSString_methods.startsWith$1(e,u))if(o.JSString_methods.startsWith$2(e,u,1)){a=o.JSString_methods.indexOf$2(e,u,2);n=a<0;l=n?o.JSString_methods.substring$1(e,2):o.JSString_methods.substring$2(e,2,a);i=s._setArrayType((n?"":o.JSString_methods.substring$1(e,a+1)).split(u),$.JSArray_String);s._Uri__checkWindowsPathReservedCharacters(i,true,0);return s._Uri__Uri(l,_,i,c)}else{i=s._setArrayType(e.split(u),$.JSArray_String);s._Uri__checkWindowsPathReservedCharacters(i,true,0);return s._Uri__Uri(_,_,i,c)}else{i=s._setArrayType(e.split(u),$.JSArray_String);s._Uri__checkWindowsPathReservedCharacters(i,true,0);return s._Uri__Uri(_,_,i,_)}},_Uri__makePort(e,r){if(e!=null&&e===s._Uri__defaultPort(r))return null;return e},_Uri__makeHost(e,r,n,i){var a,l,u,_,c,$;if(e==null)return null;if(r===n)return"";if(o.JSString_methods.codeUnitAt$1(e,r)===91){a=n-1;if(o.JSString_methods.codeUnitAt$1(e,a)!==93)s._Uri__fail(e,r,"Missing end `]` to match `[` in host");l=r+1;u=s._Uri__checkZoneID(e,l,a);if(u=r&&u=r&&i>>4]&1<<(_&15))!==0){if(u&&65<=_&&90>=_){if(g==null)g=new s.StringBuffer("");if(l>>4]&1<<(_&15))!==0){if(u&&65<=_&&90>=_){if(l==null)l=new s.StringBuffer("");if(a>>4]&1<<(_&15))!==0)s._Uri__fail(e,i,"Invalid character");else{if((_&64512)===55296&&i+1>>4]&1<<(l&15))!==0))s._Uri__fail(e,i,"Illegal scheme character");if(65<=l&&l<=90)a=true}e=o.JSString_methods.substring$2(e,r,n);return s._Uri__canonicalizeScheme(a?e.toLowerCase():e)},_Uri__canonicalizeScheme(e){if(e==="http")return"http";if(e==="file")return"file";if(e==="https")return"https";if(e==="package")return"package";return e},_Uri__makeUserInfo(e,r,n){if(e==null)return"";return s._Uri__normalizeOrSubstring(e,r,n,o.List_gRj,false)},_Uri__makePath(e,r,n,i,a,l){var u,_=a==="file",c=_||l;if(e==null){if(i==null)return _?"/":"";u=new s.MappedListIterable(i,new s._Uri__makePath_closure,s._arrayInstanceType(i)._eval$1("MappedListIterable<1,String>")).join$1(0,"/")}else if(i!=null)throw s.wrapException(s.ArgumentError$("Both path and pathSegments specified",null));else u=s._Uri__normalizeOrSubstring(e,r,n,o.List_qg4,true);if(u.length===0){if(_)return"/"}else if(c&&!o.JSString_methods.startsWith$1(u,"/"))u="/"+u;return s._Uri__normalizePath(u,a,l)},_Uri__normalizePath(e,r,n){var i=r.length===0;if(i&&!n&&!o.JSString_methods.startsWith$1(e,"/"))return s._Uri__normalizeRelativePath(e,!i||n);return s._Uri__removeDotSegments(e)},_Uri__makeQuery(e,r,n,i){if(e!=null)return s._Uri__normalizeOrSubstring(e,r,n,o.List_CVk,true);return null},_Uri__makeFragment(e,r,n){if(e==null)return null;return s._Uri__normalizeOrSubstring(e,r,n,o.List_CVk,true)},_Uri__normalizeEscape(e,r,n){var i,a,l,u,_,c=r+2;if(c>=e.length)return"%";i=o.JSString_methods.codeUnitAt$1(e,r+1);a=o.JSString_methods.codeUnitAt$1(e,c);l=s.hexDigitValue(i);u=s.hexDigitValue(a);if(l<0||u<0)return"%";_=l*16+u;if(_<127&&(o.List_nxB[o.JSInt_methods._shrOtherPositive$1(_,4)]&1<<(_&15))!==0)return s.Primitives_stringFromCharCode(n&&65<=_&&90>=_?(_|32)>>>0:_);if(i>=97||a>=97)return o.JSString_methods.substring$2(e,r,r+3).toUpperCase();return null},_Uri__escapeChar(e){var r,n,i,a,l,u="0123456789ABCDEF";if(e<128){r=new Uint8Array(3);r[0]=37;r[1]=o.JSString_methods._codeUnitAt$1(u,e>>>4);r[2]=o.JSString_methods._codeUnitAt$1(u,e&15)}else{if(e>2047)if(e>65535){n=240;i=4}else{n=224;i=3}else{n=192;i=2}r=new Uint8Array(3*i);for(a=0;--i,i>=0;n=128){l=o.JSInt_methods._shrReceiverPositive$1(e,6*i)&63|n;r[a]=37;r[a+1]=o.JSString_methods._codeUnitAt$1(u,l>>>4);r[a+2]=o.JSString_methods._codeUnitAt$1(u,l&15);a+=3}}return s.String_String$fromCharCodes(r,0,null)},_Uri__normalizeOrSubstring(e,r,n,i,a){var l=s._Uri__normalize(e,r,n,i,a);return l==null?o.JSString_methods.substring$2(e,r,n):l},_Uri__normalize(e,r,n,i,a){var l,u,_,c,$,p,h,d,m,g,f=null;for(l=!a,u=r,_=u,c=f;u>>4]&1<<($&15))!==0)++u;else{if($===37){p=s._Uri__normalizeEscape(e,u,false);if(p==null){u+=3;continue}if("%"===p){p="%25";h=1}else h=3}else if(l&&$<=93&&(o.List_2Vk[$>>>4]&1<<($&15))!==0){s._Uri__fail(e,u,"Invalid character");h=f;p=h}else{if(($&64512)===55296){d=u+1;if(d=2&&s._Uri__isAlphabeticCharacter(o.JSString_methods._codeUnitAt$1(e,0)))for(r=1;r127||(o.List_JYB[n>>>4]&1<<(n&15))===0)break}return e},_Uri__packageNameEnd(e,r){if(e.isScheme$1("package")&&e._host==null)return s._skipPackageNameChars(r,0,r.length);return-1},_Uri__toWindowsFilePath(e){var r,n,i,o=e.get$pathSegments(),l=o.length;if(l>0&&a.get$length$asx(o[0])===2&&a.codeUnitAt$1$s(o[0],1)===58){s._Uri__checkWindowsDriveLetter(a.codeUnitAt$1$s(o[0],0),false);s._Uri__checkWindowsPathReservedCharacters(o,false,1);r=true}else{s._Uri__checkWindowsPathReservedCharacters(o,false,0);r=false}n=e.get$hasAbsolutePath()&&!r?""+"\\":"";if(e.get$hasAuthority()){i=e.get$host();if(i.length!==0)n=n+"\\"+i+"\\"}n=s.StringBuffer__writeAll(n,o,"\\");l=r&&l===1?n+"\\":n;return l.charCodeAt(0)==0?l:l},_Uri__hexCharPairToByte(e,r){var n,i,a;for(n=0,i=0;i<2;++i){a=o.JSString_methods._codeUnitAt$1(e,r+i);if(48<=a&&a<=57)n=n*16+a-48;else{a|=32;if(97<=a&&a<=102)n=n*16+a-87;else throw s.wrapException(s.ArgumentError$("Invalid URL encoding",null))}}return n},_Uri__uriDecode(e,r,n,i,a){var l,u,_,c,p=r;while(true){if(!(p127)throw s.wrapException(s.ArgumentError$("Illegal percent encoding in URI",null));if(u===37){if(p+3>_)throw s.wrapException(s.ArgumentError$("Truncated URI",null));c.push(s._Uri__hexCharPairToByte(e,p+1));p+=2}else c.push(u)}}return o.Utf8Decoder_false.convert$1(c)},_Uri__isAlphabeticCharacter(e){var r=e|32;return 97<=r&&r<=122},UriData__writeUri(e,r,n,i,a){var l,u;if(e!=null)l=10===e.length&&s._caseInsensitiveCompareStart("text/plain",e,0)>=0;else l=true;if(l)e="";if(e.length===0||e==="application/octet-stream")l=i._contents+=e;else{u=s.UriData__validateMimeType(e);if(u<0)throw s.wrapException(s.ArgumentError$value(e,"mimeType","Invalid MIME type"));l=i._contents+=s._Uri__uriEncode(o.List_qFt,o.JSString_methods.substring$2(e,0,u),o.C_Utf8Codec,false);i._contents=l+"/";l=i._contents+=s._Uri__uriEncode(o.List_qFt,o.JSString_methods.substring$1(e,u+1),o.C_Utf8Codec,false)}if(r!=null){a.push(l.length);a.push(i._contents.length+8);i._contents+=";charset=";i._contents+=s._Uri__uriEncode(o.List_qFt,r,o.C_Utf8Codec,false)}},UriData__validateMimeType(e){var r,n,i;for(r=e.length,n=-1,i=0;ir)throw s.wrapException(s.FormatException$(d,e,a));for(;u!==44;){m.push(a);++a;for(_=-1;a=0)m.push(_);else{c=o.JSArray_methods.get$last(m);if(u!==44||a!==c+7||!o.JSString_methods.startsWith$2(e,"base64",c+1))throw s.wrapException(s.FormatException$("Expecting '='",e,a));break}}m.push(a);p=a+1;if((m.length&1)===1)e=o.C_Base64Codec.normalize$3(e,p,i);else{h=s._Uri__normalize(e,p,i,o.List_CVk,true);if(h!=null)e=o.JSString_methods.replaceRange$3(e,p,i,h)}return new s.UriData(e,m,n)},UriData__uriEncodeBytes(e,r,n){var i,l,u,_,c,$,p="0123456789ABCDEF";for(i=a.getInterceptor$asx(r),l=0,u=0;u>>0!==0)for(u=0;u255)throw s.wrapException(s.ArgumentError$value(_,"non-byte value",null))}},_createTables(){var e,r,n,i,o,l="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",u=".",_=":",c="/",p="?",h="#",d=a.JSArray_JSArray$allocateGrowable(22,$.Uint8List);for(e=0;e<22;++e)d[e]=new Uint8Array(96);r=new s._createTables_build(d);n=new s._createTables_setChars;i=new s._createTables_setRange;o=r.call$2(0,225);n.call$3(o,l,1);n.call$3(o,u,14);n.call$3(o,_,34);n.call$3(o,c,3);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(14,225);n.call$3(o,l,1);n.call$3(o,u,15);n.call$3(o,_,34);n.call$3(o,c,234);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(15,225);n.call$3(o,l,1);n.call$3(o,"%",225);n.call$3(o,_,34);n.call$3(o,c,9);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(1,225);n.call$3(o,l,1);n.call$3(o,_,34);n.call$3(o,c,10);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(2,235);n.call$3(o,l,139);n.call$3(o,c,131);n.call$3(o,u,146);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(3,235);n.call$3(o,l,11);n.call$3(o,c,68);n.call$3(o,u,18);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(4,229);n.call$3(o,l,5);i.call$3(o,"AZ",229);n.call$3(o,_,102);n.call$3(o,"@",68);n.call$3(o,"[",232);n.call$3(o,c,138);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(5,229);n.call$3(o,l,5);i.call$3(o,"AZ",229);n.call$3(o,_,102);n.call$3(o,"@",68);n.call$3(o,c,138);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(6,231);i.call$3(o,"19",7);n.call$3(o,"@",68);n.call$3(o,c,138);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(7,231);i.call$3(o,"09",7);n.call$3(o,"@",68);n.call$3(o,c,138);n.call$3(o,p,172);n.call$3(o,h,205);n.call$3(r.call$2(8,8),"]",5);o=r.call$2(9,235);n.call$3(o,l,11);n.call$3(o,u,16);n.call$3(o,c,234);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(16,235);n.call$3(o,l,11);n.call$3(o,u,17);n.call$3(o,c,234);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(17,235);n.call$3(o,l,11);n.call$3(o,c,9);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(10,235);n.call$3(o,l,11);n.call$3(o,u,18);n.call$3(o,c,234);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(18,235);n.call$3(o,l,11);n.call$3(o,u,19);n.call$3(o,c,234);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(19,235);n.call$3(o,l,11);n.call$3(o,c,234);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(11,235);n.call$3(o,l,11);n.call$3(o,c,10);n.call$3(o,p,172);n.call$3(o,h,205);o=r.call$2(12,236);n.call$3(o,l,12);n.call$3(o,p,12);n.call$3(o,h,205);o=r.call$2(13,237);n.call$3(o,l,13);n.call$3(o,p,13);i.call$3(r.call$2(20,245),"az",21);o=r.call$2(21,245);i.call$3(o,"az",21);i.call$3(o,"09",21);n.call$3(o,"+-.",21);return d},_scan(e,r,n,i,s){var a,l,_,c,$=u.$get$_scannerTables();for(a=r;a95?31:_];i=c&31;s[c>>>5]=a}return i},_SimpleUri__packageNameEnd(e){if(e._schemeEnd===7&&o.JSString_methods.startsWith$1(e._uri,"package")&&e._hostStart<=0)return s._skipPackageNameChars(e._uri,e._pathStart,e._queryStart);return-1},_skipPackageNameChars(e,r,n){var i,s,a;for(i=r,s=0;i=65&&e<=90))if(!(e>=97&&e<=122))r=e>=48&&e<=57;else r=true;else r=true;return r},Parser0:function Parser0(e,r,n,i,s,a){var o=this;o._commandName=e;o._parser$_parent=r;o._grammar=n;o._args=i;o._parser$_rest=s;o._results=a},Parser_parse_closure:function Parser_parse_closure(e){this.$this=e},Parser__setOption_closure:function Parser__setOption_closure(){},_Usage:function _Usage(e,r,n){var i=this;i._usage$_optionsAndSeparators=e;i._buffer=r;i._currentColumn=0;i.___Usage__columnWidths=u;i._newlinesNeeded=0;i.lineLength=n},_Usage__writeOption_closure:function _Usage__writeOption_closure(){},_Usage__buildAllowedList_closure:function _Usage__buildAllowedList_closure(e){this.option=e},ErrorResult:function ErrorResult(e,r){this.error=e;this.stackTrace=r},ValueResult:function ValueResult(e,r){this.value=e;this.$ti=r},StreamCompleter:function StreamCompleter(e,r){this._stream_completer$_stream=e;this.$ti=r},_CompleterStream:function _CompleterStream(e){this._sourceStream=this._stream_completer$_controller=null;this.$ti=e},StreamGroup:function StreamGroup(e,r,n){var i=this;i.__StreamGroup__controller=u;i._closed=false;i._stream_group$_state=e;i._subscriptions=r;i.$ti=n},StreamGroup_add_closure:function StreamGroup_add_closure(){},StreamGroup_add_closure0:function StreamGroup_add_closure0(e,r){this.$this=e;this.stream=r},StreamGroup__onListen_closure:function StreamGroup__onListen_closure(){},StreamGroup__onCancel_closure:function StreamGroup__onCancel_closure(e){this.$this=e},StreamGroup__listenToStream_closure:function StreamGroup__listenToStream_closure(e,r){this.$this=e;this.stream=r},_StreamGroupState:function _StreamGroupState(e){this.name=e},StreamQueue:function StreamQueue(e,r,n,i){var s=this;s._stream_queue$_source=e;s._stream_queue$_subscription=null;s._isDone=false;s._eventsReceived=0;s._eventQueue=r;s._requestQueue=n;s.$ti=i},StreamQueue__ensureListening_closure:function StreamQueue__ensureListening_closure(e){this.$this=e},StreamQueue__ensureListening_closure1:function StreamQueue__ensureListening_closure1(e){this.$this=e},StreamQueue__ensureListening_closure0:function StreamQueue__ensureListening_closure0(e){this.$this=e},_NextRequest:function _NextRequest(e,r){this._completer=e;this.$ti=r},Repl:function Repl(e,r,n,i){var s=this;s.prompt=e;s.continuation=r;s.validator=n;s.__Repl__adapter=u;s.history=i},alwaysValid_closure:function alwaysValid_closure(){},ReplAdapter:function ReplAdapter(e){this.repl=e;this.rl=null},ReplAdapter_runAsync_closure:function ReplAdapter_runAsync_closure(e,r,n,i){var s=this;s._box_0=e;s.$this=r;s.rl=n;s.runController=i},ReplAdapter_runAsync__closure:function ReplAdapter_runAsync__closure(e){this.lineController=e},Stdin:function Stdin(){},Stdout:function Stdout(){},ReadlineModule:function ReadlineModule(){},ReadlineOptions:function ReadlineOptions(){},ReadlineInterface:function ReadlineInterface(){},EmptyUnmodifiableSet:function EmptyUnmodifiableSet(e){this.$ti=e},_EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin:function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin(){},DefaultEquality:function DefaultEquality(){},IterableEquality:function IterableEquality(){},ListEquality:function ListEquality(){},_MapEntry:function _MapEntry(e,r,n){this.equality=e;this.key=r;this.value=n},MapEquality:function MapEquality(){},QueueList$(e,r){return new s.QueueList(s.List_List$filled(s.QueueList__computeInitialCapacity(e),null,false,r._eval$1("0?")),0,0,r._eval$1("QueueList<0>"))},QueueList_QueueList$from(e,r){var n,i,o;if($.List_dynamic._is(e)){n=a.get$length$asx(e);i=s.QueueList$(n+1,r);a.setRange$4$ax(i._table,0,n,e,0);i._tail=n;return i}else{o=s.QueueList$(null,r);o.addAll$1(0,e);return o}},QueueList__computeInitialCapacity(e){if(e==null||e<8)return 8;++e;if((e&e-1)>>>0===0)return e;return s.QueueList__nextPowerOf2(e)},QueueList__nextPowerOf2(e){var r;e=(e<<1>>>0)-1;for(;true;e=r){r=(e&e-1)>>>0;if(r===0)return e}},QueueList:function QueueList(e,r,n,i){var s=this;s._table=e;s._head=r;s._tail=n;s.$ti=i},_CastQueueList:function _CastQueueList(e,r,n,i,s){var a=this;a._queue_list$_delegate=e;a._table=r;a._head=n;a._tail=i;a.$ti=s},_QueueList_Object_ListMixin:function _QueueList_Object_ListMixin(){},UnmodifiableSetMixin__throw(){throw s.wrapException(s.UnsupportedError$("Cannot modify an unmodifiable Set"))},UnmodifiableSetView:function UnmodifiableSetView(e,r){this._base=e;this.$ti=r},UnmodifiableSetMixin:function UnmodifiableSetMixin(){},_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin:function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin(){},_DelegatingIterableBase:function _DelegatingIterableBase(){},DelegatingSet:function DelegatingSet(e,r){this._base=e;this.$ti=r},MapKeySet:function MapKeySet(e,r){this._baseMap=e;this.$ti=r},MapKeySet_difference_closure:function MapKeySet_difference_closure(e,r){this.$this=e;this.other=r},_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin:function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin(){},BufferModule:function BufferModule(){},BufferConstants:function BufferConstants(){},Buffer:function Buffer(){},ConsoleModule:function ConsoleModule(){},Console:function Console(){},EventEmitter:function EventEmitter(){},fs(){var e=u._fs;return e==null?u._fs=self.fs:e},FS:function FS(){},FSConstants:function FSConstants(){},FSWatcher:function FSWatcher(){},ReadStream:function ReadStream(){},ReadStreamOptions:function ReadStreamOptions(){},WriteStream:function WriteStream(){},WriteStreamOptions:function WriteStreamOptions(){},FileOptions:function FileOptions(){},StatOptions:function StatOptions(){},MkdirOptions:function MkdirOptions(){},RmdirOptions:function RmdirOptions(){},WatchOptions:function WatchOptions(){},WatchFileOptions:function WatchFileOptions(){},Stats:function Stats(){},Promise:function Promise(){},Date:function Date(){},JsError:function JsError(){},Atomics:function Atomics(){},Modules:function Modules(){},Module1:function Module1(){},Net:function Net(){},Socket:function Socket(){},NetAddress:function NetAddress(){},NetServer:function NetServer(){},NodeJsError:function NodeJsError(){},JsAssertionError:function JsAssertionError(){},JsRangeError:function JsRangeError(){},JsReferenceError:function JsReferenceError(){},JsSyntaxError:function JsSyntaxError(){},JsTypeError:function JsTypeError(){},JsSystemError:function JsSystemError(){},Process:function Process(){},CPUUsage:function CPUUsage(){},Release:function Release(){},StreamModule:function StreamModule(){},Readable:function Readable(){},Writable:function Writable(){},Duplex:function Duplex(){},Transform:function Transform(){},WritableOptions:function WritableOptions(){},ReadableOptions:function ReadableOptions(){},Immediate:function Immediate(){},Timeout:function Timeout(){},TTY:function TTY(){},TTYReadStream:function TTYReadStream(){},TTYWriteStream:function TTYWriteStream(){},jsify(e){if(s._isBasicType(e))return e;return s._convertDataTree(e)},_isBasicType(e){return false},promiseToFuture(e,r){var n=new s._Future(u.Zone__current,r._eval$1("_Future<0>")),i=new s._SyncCompleter(n,r._eval$1("_SyncCompleter<0>"));a.then$2$x(e,s.allowInterop(new s.promiseToFuture_closure(i)),s.allowInterop(new s.promiseToFuture_closure0(i)));return n},futureToPromise(e,r){return new self.Promise(s.allowInterop(new s.futureToPromise_closure(e,r)))},Util:function Util(){},promiseToFuture_closure:function promiseToFuture_closure(e){this.completer=e},promiseToFuture_closure0:function promiseToFuture_closure0(e){this.completer=e},futureToPromise_closure:function futureToPromise_closure(e,r){this.future=e;this.T=r},futureToPromise__closure:function futureToPromise__closure(e,r){this.resolve=e;this.T=r},Context_Context(e){var r=e==null?s.current():".";if(e==null)e=u.$get$Style_platform();return new s.Context($.InternalStyle._as(e),r)},_parseUri(e){if(typeof e=="string")return s.Uri_parse(e);if($.Uri._is(e))return e;throw s.wrapException(s.ArgumentError$value(e,"uri","Value must be a String or a Uri"))},_validateArgList(e,r){var n,i,a,o,l,u,_,c;for(n=r.length,i=1;i=1;n=a){a=n-1;if(r[a]!=null)break}o=new s.StringBuffer("");l=""+(e+"(");o._contents=l;u=s._arrayInstanceType(r);_=u._eval$1("SubListIterable<1>");c=new s.SubListIterable(r,0,n,_);c.SubListIterable$3(r,0,n,u._precomputed1);_=l+new s.MappedListIterable(c,new s._validateArgList_closure,_._eval$1("MappedListIterable")).join$1(0,", ");o._contents=_;o._contents=_+("): part "+(i-1)+" was null, but part "+i+" was not.");throw s.wrapException(s.ArgumentError$(o.toString$0(0),null))}},Context:function Context(e,r){this.style=e;this._context$_current=r},Context_joinAll_closure:function Context_joinAll_closure(){},Context_split_closure:function Context_split_closure(){},_validateArgList_closure:function _validateArgList_closure(){},_PathDirection:function _PathDirection(e){this.name=e},_PathRelation:function _PathRelation(e){this.name=e},InternalStyle:function InternalStyle(){},ParsedPath_ParsedPath$parse(e,r){var n,i,a,l,u,_=r.getRoot$1(e),c=r.isRootRelative$1(e);if(_!=null)e=o.JSString_methods.substring$1(e,_.length);n=$.JSArray_String;i=s._setArrayType([],n);a=s._setArrayType([],n);n=e.length;if(n!==0&&r.isSeparator$1(o.JSString_methods._codeUnitAt$1(e,0))){a.push(e[0]);l=1}else{a.push("");l=0}for(u=l;u1&&r==null)s.throwExpression(s.ArgumentError$(c.If_con,null));return new s.CssMediaQuery(null,null,r!==false,n)},CssMediaQuery:function CssMediaQuery(e,r,n,i){var s=this;s.modifier=e;s.type=r;s.conjunction=n;s.conditions=i},_SingletonCssMediaQueryMergeResult:function _SingletonCssMediaQueryMergeResult(e){this._media_query$_name=e},MediaQuerySuccessfulMergeResult:function MediaQuerySuccessfulMergeResult(e){this.query=e},ModifiableCssAtRule$(e,r,n,i){var a=s._setArrayType([],$.JSArray_ModifiableCssNode);return new s.ModifiableCssAtRule(e,i,n,r,new s.UnmodifiableListView(a,$.UnmodifiableListView_ModifiableCssNode),a)},ModifiableCssAtRule:function ModifiableCssAtRule(e,r,n,i,s,a){var o=this;o.name=e;o.value=r;o.isChildless=n;o.span=i;o.children=s;o._children=a;o._indexInParent=o._parent=null;o.isGroupEnd=false},ModifiableCssComment:function ModifiableCssComment(e,r){var n=this;n.text=e;n.span=r;n._indexInParent=n._parent=null;n.isGroupEnd=false},ModifiableCssDeclaration$(e,r,n,i,o){var l=o==null?r.get$span(r):o;if(i)if(!a.startsWith$1$s(e.get$value(e),"--"))s.throwExpression(s.ArgumentError$(c.parsed,null));else if(!(r.get$value(r)instanceof s.SassString))s.throwExpression(s.ArgumentError$(c.If_par+r.toString$0(0)+"` of type "+s.getRuntimeType(r.get$value(r)).toString$0(0)+").",null));return new s.ModifiableCssDeclaration(e,r,i,l,n)},ModifiableCssDeclaration:function ModifiableCssDeclaration(e,r,n,i,s){var a=this;a.name=e;a.value=r;a.parsedAsCustomProperty=n;a.valueSpanForMap=i;a.span=s;a._indexInParent=a._parent=null;a.isGroupEnd=false},ModifiableCssImport:function ModifiableCssImport(e,r,n){var i=this;i.url=e;i.modifiers=r;i.span=n;i._indexInParent=i._parent=null;i.isGroupEnd=false},ModifiableCssKeyframeBlock$(e,r){var n=s._setArrayType([],$.JSArray_ModifiableCssNode);return new s.ModifiableCssKeyframeBlock(e,r,new s.UnmodifiableListView(n,$.UnmodifiableListView_ModifiableCssNode),n)},ModifiableCssKeyframeBlock:function ModifiableCssKeyframeBlock(e,r,n,i){var s=this;s.selector=e;s.span=r;s.children=n;s._children=i;s._indexInParent=s._parent=null;s.isGroupEnd=false},ModifiableCssMediaRule$(e,r){var n=s.List_List$unmodifiable(e,$.CssMediaQuery),i=s._setArrayType([],$.JSArray_ModifiableCssNode);if(a.get$isEmpty$asx(e))s.throwExpression(s.ArgumentError$value(e,"queries","may not be empty."));return new s.ModifiableCssMediaRule(n,r,new s.UnmodifiableListView(i,$.UnmodifiableListView_ModifiableCssNode),i)},ModifiableCssMediaRule:function ModifiableCssMediaRule(e,r,n,i){var s=this;s.queries=e;s.span=r;s.children=n;s._children=i;s._indexInParent=s._parent=null;s.isGroupEnd=false},ModifiableCssNode:function ModifiableCssNode(){},ModifiableCssNode_hasFollowingSibling_closure:function ModifiableCssNode_hasFollowingSibling_closure(){},ModifiableCssParentNode:function ModifiableCssParentNode(){},ModifiableCssStyleRule$(e,r,n){var i=s._setArrayType([],$.JSArray_ModifiableCssNode);return new s.ModifiableCssStyleRule(e,n,r,new s.UnmodifiableListView(i,$.UnmodifiableListView_ModifiableCssNode),i)},ModifiableCssStyleRule:function ModifiableCssStyleRule(e,r,n,i,s){var a=this;a.selector=e;a.originalSelector=r;a.span=n;a.children=i;a._children=s;a._indexInParent=a._parent=null;a.isGroupEnd=false},ModifiableCssStylesheet$(e){var r=s._setArrayType([],$.JSArray_ModifiableCssNode);return new s.ModifiableCssStylesheet(e,new s.UnmodifiableListView(r,$.UnmodifiableListView_ModifiableCssNode),r)},ModifiableCssStylesheet:function ModifiableCssStylesheet(e,r,n){var i=this;i.span=e;i.children=r;i._children=n;i._indexInParent=i._parent=null;i.isGroupEnd=false},ModifiableCssSupportsRule$(e,r){var n=s._setArrayType([],$.JSArray_ModifiableCssNode);return new s.ModifiableCssSupportsRule(e,r,new s.UnmodifiableListView(n,$.UnmodifiableListView_ModifiableCssNode),n)},ModifiableCssSupportsRule:function ModifiableCssSupportsRule(e,r,n,i){var s=this;s.condition=e;s.span=r;s.children=n;s._children=i;s._indexInParent=s._parent=null;s.isGroupEnd=false},ModifiableCssValue:function ModifiableCssValue(e,r,n){this.value=e;this.span=r;this.$ti=n},CssNode:function CssNode(){},CssParentNode:function CssParentNode(){},_IsInvisibleVisitor:function _IsInvisibleVisitor(e,r){this.includeBogus=e;this.includeComments=r},CssStylesheet:function CssStylesheet(e,r){this.children=e;this.span=r},CssValue:function CssValue(e,r,n){this.value=e;this.span=r;this.$ti=n},AstNode:function AstNode(){},_FakeAstNode:function _FakeAstNode(e){this._callback=e},Argument:function Argument(e,r,n){this.name=e;this.defaultValue=r;this.span=n},ArgumentDeclaration_ArgumentDeclaration$parse(e,r){return s.ScssParser$(e,null,r).parseArgumentDeclaration$0()},ArgumentDeclaration:function ArgumentDeclaration(e,r,n){this.$arguments=e;this.restArgument=r;this.span=n},ArgumentDeclaration_verify_closure:function ArgumentDeclaration_verify_closure(){},ArgumentDeclaration_verify_closure0:function ArgumentDeclaration_verify_closure0(){},ArgumentInvocation$empty(e){return new s.ArgumentInvocation(o.List_empty9,o.Map_empty2,null,null,e)},ArgumentInvocation:function ArgumentInvocation(e,r,n,i,s){var a=this;a.positional=e;a.named=r;a.rest=n;a.keywordRest=i;a.span=s},AtRootQuery:function AtRootQuery(e,r,n,i){var s=this;s.include=e;s.names=r;s._all=n;s._at_root_query$_rule=i},ConfiguredVariable:function ConfiguredVariable(e,r,n,i){var s=this;s.name=e;s.expression=r;s.isGuarded=n;s.span=i},BinaryOperationExpression:function BinaryOperationExpression(e,r,n,i){var s=this;s.operator=e;s.left=r;s.right=n;s.allowsSlash=i},BinaryOperator:function BinaryOperator(e,r,n){this.name=e;this.operator=r;this.precedence=n},BooleanExpression:function BooleanExpression(e,r){this.value=e;this.span=r},CalculationExpression__verifyArguments(e){return s.List_List$unmodifiable(new s.MappedListIterable(e,new s.CalculationExpression__verifyArguments_closure,s._arrayInstanceType(e)._eval$1("MappedListIterable<1,@>")),$.Expression)},CalculationExpression__verify(e){var r,n="Invalid calculation argument ";if(e instanceof s.NumberExpression)return;if(e instanceof s.CalculationExpression)return;if(e instanceof s.VariableExpression)return;if(e instanceof s.FunctionExpression)return;if(e instanceof s.IfExpression)return;if(e instanceof s.StringExpression){if(e.hasQuotes)throw s.wrapException(s.ArgumentError$(n+e.toString$0(0)+".",null))}else if(e instanceof s.ParenthesizedExpression)s.CalculationExpression__verify(e.expression);else if(e instanceof s.BinaryOperationExpression){s.CalculationExpression__verify(e.left);s.CalculationExpression__verify(e.right);r=e.operator;if(r===o.BinaryOperator_AcR0)return;if(r===o.BinaryOperator_iyO)return;if(r===o.BinaryOperator_O1M)return;if(r===o.BinaryOperator_RTB)return;throw s.wrapException(s.ArgumentError$(n+e.toString$0(0)+".",null))}else throw s.wrapException(s.ArgumentError$(n+e.toString$0(0)+".",null))},CalculationExpression:function CalculationExpression(e,r,n){this.name=e;this.$arguments=r;this.span=n},CalculationExpression__verifyArguments_closure:function CalculationExpression__verifyArguments_closure(){},ColorExpression:function ColorExpression(e,r){this.value=e;this.span=r},FunctionExpression:function FunctionExpression(e,r,n,i){var s=this;s.namespace=e;s.originalName=r;s.$arguments=n;s.span=i},IfExpression:function IfExpression(e,r){this.$arguments=e;this.span=r},InterpolatedFunctionExpression:function InterpolatedFunctionExpression(e,r,n){this.name=e;this.$arguments=r;this.span=n},ListExpression:function ListExpression(e,r,n,i){var s=this;s.contents=e;s.separator=r;s.hasBrackets=n;s.span=i},ListExpression_toString_closure:function ListExpression_toString_closure(e){this.$this=e},MapExpression:function MapExpression(e,r){this.pairs=e;this.span=r},MapExpression_toString_closure:function MapExpression_toString_closure(){},NullExpression:function NullExpression(e){this.span=e},NumberExpression:function NumberExpression(e,r,n){this.value=e;this.unit=r;this.span=n},ParenthesizedExpression:function ParenthesizedExpression(e,r){this.expression=e;this.span=r},SelectorExpression:function SelectorExpression(e){this.span=e},StringExpression_quoteText(e){var r,n=s.StringExpression__bestQuote(s._setArrayType([e],$.JSArray_String)),i=new s.StringBuffer("");i._contents=""+s.Primitives_stringFromCharCode(n);s.StringExpression__quoteInnerText(e,n,i,true);r=i._contents+=s.Primitives_stringFromCharCode(n);return r.charCodeAt(0)==0?r:r},StringExpression__quoteInnerText(e,r,n,i){var a,l,u,_,c,$;for(a=e.length,l=a-1,u=0;u"));if(r.get$isEmpty(r))return e;i=s._setArrayType([],n._eval$1("JSArray>"));for(a=r.get$iterator(r);a.moveNext$0();){o=a.get$current(a);if(o.get$isNotEmpty(o))i.push(o)}i.push(e);if(i.length===1)return e;return s.MergedMapView$(i,$.String,n)},_EnvironmentModule$_0(e,r,n,i,a,o,l,u,_,c){return new s._EnvironmentModule0(e._async_environment$_allModules,a,o,l,u,n,r,_,c,e,i)},AsyncEnvironment:function AsyncEnvironment(e,r,n,i,s,a,o,l,u,_,c,$,p,h,d){var m=this;m._async_environment$_modules=e;m._async_environment$_namespaceNodes=r;m._async_environment$_globalModules=n;m._async_environment$_importedModules=i;m._async_environment$_forwardedModules=s;m._async_environment$_nestedForwardedModules=a;m._async_environment$_allModules=o;m._async_environment$_variables=l;m._async_environment$_variableNodes=u;m._async_environment$_variableIndices=_;m._async_environment$_functions=c;m._async_environment$_functionIndices=$;m._async_environment$_mixins=p;m._async_environment$_mixinIndices=h;m._async_environment$_content=d;m._async_environment$_inMixin=false;m._async_environment$_inSemiGlobalScope=true;m._async_environment$_lastVariableIndex=m._async_environment$_lastVariableName=null},AsyncEnvironment_importForwards_closure:function AsyncEnvironment_importForwards_closure(){},AsyncEnvironment_importForwards_closure0:function AsyncEnvironment_importForwards_closure0(){},AsyncEnvironment_importForwards_closure1:function AsyncEnvironment_importForwards_closure1(){},AsyncEnvironment__getVariableFromGlobalModule_closure:function AsyncEnvironment__getVariableFromGlobalModule_closure(e){this.name=e},AsyncEnvironment_setVariable_closure:function AsyncEnvironment_setVariable_closure(e,r){this.$this=e;this.name=r},AsyncEnvironment_setVariable_closure0:function AsyncEnvironment_setVariable_closure0(e){this.name=e},AsyncEnvironment_setVariable_closure1:function AsyncEnvironment_setVariable_closure1(e,r){this.$this=e;this.name=r},AsyncEnvironment__getFunctionFromGlobalModule_closure:function AsyncEnvironment__getFunctionFromGlobalModule_closure(e){this.name=e},AsyncEnvironment__getMixinFromGlobalModule_closure:function AsyncEnvironment__getMixinFromGlobalModule_closure(e){this.name=e},AsyncEnvironment_toModule_closure:function AsyncEnvironment_toModule_closure(){},AsyncEnvironment_toDummyModule_closure:function AsyncEnvironment_toDummyModule_closure(){},AsyncEnvironment__fromOneModule_closure:function AsyncEnvironment__fromOneModule_closure(e,r){this.callback=e;this.T=r},AsyncEnvironment__fromOneModule__closure:function AsyncEnvironment__fromOneModule__closure(e,r){this.entry=e;this.T=r},_EnvironmentModule0:function _EnvironmentModule0(e,r,n,i,s,a,o,l,u,_,c){var $=this;$.upstream=e;$.variables=r;$.variableNodes=n;$.functions=i;$.mixins=s;$.extensionStore=a;$.css=o;$.transitivelyContainsCss=l;$.transitivelyContainsExtensions=u;$._async_environment$_environment=_;$._async_environment$_modulesByVariable=c},_EnvironmentModule__EnvironmentModule_closure5:function _EnvironmentModule__EnvironmentModule_closure5(){},_EnvironmentModule__EnvironmentModule_closure6:function _EnvironmentModule__EnvironmentModule_closure6(){},_EnvironmentModule__EnvironmentModule_closure7:function _EnvironmentModule__EnvironmentModule_closure7(){},_EnvironmentModule__EnvironmentModule_closure8:function _EnvironmentModule__EnvironmentModule_closure8(){},_EnvironmentModule__EnvironmentModule_closure9:function _EnvironmentModule__EnvironmentModule_closure9(){},_EnvironmentModule__EnvironmentModule_closure10:function _EnvironmentModule__EnvironmentModule_closure10(){},AsyncImportCache__toImporters(e,r,n){var i,o,l,_,c,p=null,h=a.get$env$x(self.process);if(h==null)h=$.Object._as(h);i=s._asStringQ(h.SASS_PATH);h=s._setArrayType([],$.JSArray_AsyncImporter_2);for(o=a.get$iterator$ax(r);o.moveNext$0();){l=o.get$current(o);h.push(new s.FilesystemImporter(u.$get$context().absolute$7(l,p,p,p,p,p,p)))}if(i!=null){o=i.split(a.$eq$(a.get$platform$x(self.process),"win32")?";":":");l=o.length;_=0;for(;_"));if(r.get$isEmpty(r))return e;i=s._setArrayType([],n._eval$1("JSArray>"));for(a=r.get$iterator(r);a.moveNext$0();){o=a.get$current(a);if(o.get$isNotEmpty(o))i.push(o)}i.push(e);if(i.length===1)return e;return s.MergedMapView$(i,$.String,n)},_EnvironmentModule$_(e,r,n,i,a,o,l,u,_,c){return new s._EnvironmentModule(e._allModules,a,o,l,u,n,r,_,c,e,i)},Environment:function Environment(e,r,n,i,s,a,o,l,u,_,c,$,p,h,d){var m=this;m._environment$_modules=e;m._namespaceNodes=r;m._globalModules=n;m._importedModules=i;m._forwardedModules=s;m._nestedForwardedModules=a;m._allModules=o;m._variables=l;m._variableNodes=u;m._variableIndices=_;m._functions=c;m._functionIndices=$;m._mixins=p;m._mixinIndices=h;m._content=d;m._inMixin=false;m._inSemiGlobalScope=true;m._lastVariableIndex=m._lastVariableName=null},Environment_importForwards_closure:function Environment_importForwards_closure(){},Environment_importForwards_closure0:function Environment_importForwards_closure0(){},Environment_importForwards_closure1:function Environment_importForwards_closure1(){},Environment__getVariableFromGlobalModule_closure:function Environment__getVariableFromGlobalModule_closure(e){this.name=e},Environment_setVariable_closure:function Environment_setVariable_closure(e,r){this.$this=e;this.name=r},Environment_setVariable_closure0:function Environment_setVariable_closure0(e){this.name=e},Environment_setVariable_closure1:function Environment_setVariable_closure1(e,r){this.$this=e;this.name=r},Environment__getFunctionFromGlobalModule_closure:function Environment__getFunctionFromGlobalModule_closure(e){this.name=e},Environment__getMixinFromGlobalModule_closure:function Environment__getMixinFromGlobalModule_closure(e){this.name=e},Environment_toModule_closure:function Environment_toModule_closure(){},Environment_toDummyModule_closure:function Environment_toDummyModule_closure(){},Environment__fromOneModule_closure:function Environment__fromOneModule_closure(e,r){this.callback=e;this.T=r},Environment__fromOneModule__closure:function Environment__fromOneModule__closure(e,r){this.entry=e;this.T=r},_EnvironmentModule:function _EnvironmentModule(e,r,n,i,s,a,o,l,u,_,c){var $=this;$.upstream=e;$.variables=r;$.variableNodes=n;$.functions=i;$.mixins=s;$.extensionStore=a;$.css=o;$.transitivelyContainsCss=l;$.transitivelyContainsExtensions=u;$._environment$_environment=_;$._modulesByVariable=c},_EnvironmentModule__EnvironmentModule_closure:function _EnvironmentModule__EnvironmentModule_closure(){},_EnvironmentModule__EnvironmentModule_closure0:function _EnvironmentModule__EnvironmentModule_closure0(){},_EnvironmentModule__EnvironmentModule_closure1:function _EnvironmentModule__EnvironmentModule_closure1(){},_EnvironmentModule__EnvironmentModule_closure2:function _EnvironmentModule__EnvironmentModule_closure2(){},_EnvironmentModule__EnvironmentModule_closure3:function _EnvironmentModule__EnvironmentModule_closure3(){},_EnvironmentModule__EnvironmentModule_closure4:function _EnvironmentModule__EnvironmentModule_closure4(){},SassException$(e,r){return new s.SassException(e,r)},MultiSpanSassRuntimeException$(e,r,n,i,a){return new s.MultiSpanSassRuntimeException(a,n,s.ConstantMap_ConstantMap$from(i,$.FileSpan,$.String),e,r)},SassFormatException$(e,r){return new s.SassFormatException(e,r)},SassScriptException$(e){return new s.SassScriptException(e)},MultiSpanSassScriptException$(e,r,n){return new s.MultiSpanSassScriptException(r,s.ConstantMap_ConstantMap$from(n,$.FileSpan,$.String),e)},SassException:function SassException(e,r){this._span_exception$_message=e;this._span=r},MultiSpanSassException:function MultiSpanSassException(e,r,n,i){var s=this;s.primaryLabel=e;s.secondarySpans=r;s._span_exception$_message=n;s._span=i},SassRuntimeException:function SassRuntimeException(e,r,n){this.trace=e;this._span_exception$_message=r;this._span=n},MultiSpanSassRuntimeException:function MultiSpanSassRuntimeException(e,r,n,i,s){var a=this;a.trace=e;a.primaryLabel=r;a.secondarySpans=n;a._span_exception$_message=i;a._span=s},SassFormatException:function SassFormatException(e,r){this._span_exception$_message=e;this._span=r},SassScriptException:function SassScriptException(e){this.message=e},MultiSpanSassScriptException:function MultiSpanSassScriptException(e,r,n){this.primaryLabel=e;this.secondarySpans=r;this.message=n},compileStylesheet(e,r,n,i,a){return s.compileStylesheet$body(e,r,n,i,a)},compileStylesheet$body(e,r,n,i,l){var _=0,c=s._makeAsyncAwaitCompleter($.void),p,h=2,d,m=[],g,f,y,S,v,b,x,w,C,E,A,M,I,V,L,R,k,F,T,N,U,J,P;var O=s._wrapJsFunctionForAsync((function(m,v){if(m===1){d=v;_=h}while(true)switch(_){case 0:U=u.$get$context();J=new s.FilesystemImporter(U.absolute$7(".",null,null,null,null,null,null));if(l)try{if(n!=null&&i!=null&&!r.modifiedSince$3(U.toUri$1(n),s.modificationTime(i),J)){_=1;break}}catch(e){if(!(s.unwrapException(e)instanceof s.FileSystemException))throw e}g=null;if(s._asBoolQ(e._ifParsed$1("indented"))===true)g=o.Syntax_Sass;else if(n!=null)g=s.Syntax_forPath(n);else g=o.Syntax_SCSS;f=null;h=4;U=e._options;_=s._asBool(U.$index(0,"async"))?7:9;break;case 7:b=$.List_String._as(U.$index(0,"load-path"));x=s._asBool(U.$index(0,"quiet"))?u.$get$Logger_quiet():new s.StderrLogger(e.get$color());w=$.nullable_Tuple3_AsyncImporter_Uri_Uri;C=$.Uri;b=s.AsyncImportCache__toImporters(null,b,null);y=new s.AsyncImportCache(b,x,s.LinkedHashMap_LinkedHashMap$_empty($.Tuple2_Uri_bool,w),s.LinkedHashMap_LinkedHashMap$_empty($.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri,w),s.LinkedHashMap_LinkedHashMap$_empty(C,$.nullable_Stylesheet),s.LinkedHashMap_LinkedHashMap$_empty(C,$.ImporterResult));_=n==null?10:12;break;case 10:_=13;return s._asyncAwait(s.readStdin(),O);case 13:b=v;x=g;w=s._asBool(U.$index(0,"quiet"))?u.$get$Logger_quiet():new s.StderrLogger(e.get$color());C=u.$get$context().absolute$7(".",null,null,null,null,null,null);E=a.$eq$(U.$index(0,"style"),"compressed")?o.OutputStyle_compressed:o.OutputStyle_expanded;A=s._asBool(U.$index(0,"quiet-deps"));M=s._asBool(U.$index(0,"verbose"));I=e.get$emitSourceMap();_=14;return s._asyncAwait(s.compileStringAsync(b,s._asBool(U.$index(0,"charset")),y,new s.FilesystemImporter(C),w,A,I,E,x,M),O);case 14:V=v;_=11;break;case 12:b=g;x=s._asBool(U.$index(0,"quiet"))?u.$get$Logger_quiet():new s.StderrLogger(e.get$color());w=a.$eq$(U.$index(0,"style"),"compressed")?o.OutputStyle_compressed:o.OutputStyle_expanded;C=s._asBool(U.$index(0,"quiet-deps"));E=s._asBool(U.$index(0,"verbose"));A=e.get$emitSourceMap();_=15;return s._asyncAwait(s.compileAsync(n,s._asBool(U.$index(0,"charset")),y,x,C,A,w,b,E),O);case 15:V=v;case 11:f=V;_=8;break;case 9:_=n==null?16:18;break;case 16:_=19;return s._asyncAwait(s.readStdin(),O);case 19:b=v;x=g;L=s._asBool(U.$index(0,"quiet"))?u.$get$Logger_quiet():new s.StderrLogger(e.get$color());w=u.$get$context().absolute$7(".",null,null,null,null,null,null);C=a.$eq$(U.$index(0,"style"),"compressed")?o.OutputStyle_compressed:o.OutputStyle_expanded;E=s._asBool(U.$index(0,"quiet-deps"));A=s._asBool(U.$index(0,"verbose"));M=e.get$emitSourceMap();U=s._asBool(U.$index(0,"charset"));if(!A){R=new s.TerseLogger(s.LinkedHashMap_LinkedHashMap$_empty($.String,$.int),L);L=R}else R=null;k=s.Stylesheet_Stylesheet$parse(b,x==null?o.Syntax_SCSS:x,L,null);V=s._compileStylesheet(k,L,r.importCache,null,new s.FilesystemImporter(w),null,C,true,null,null,E,M,U);if(R!=null)R.summarize$1$node(false);_=17;break;case 18:b=g;L=s._asBool(U.$index(0,"quiet"))?u.$get$Logger_quiet():new s.StderrLogger(e.get$color());y=r.importCache;x=a.$eq$(U.$index(0,"style"),"compressed")?o.OutputStyle_compressed:o.OutputStyle_expanded;w=s._asBool(U.$index(0,"quiet-deps"));C=s._asBool(U.$index(0,"verbose"));E=e.get$emitSourceMap();U=s._asBool(U.$index(0,"charset"));if(!C){R=new s.TerseLogger(s.LinkedHashMap_LinkedHashMap$_empty($.String,$.int),L);L=R}else R=null;C=b==null||b===s.Syntax_forPath(n);if(C){b=u.$get$context();C=b.absolute$7(".",null,null,null,null,null,null);C=y.importCanonical$3$originalUrl(new s.FilesystemImporter(C),b.toUri$1(a.$eq$(a.get$platform$x(self.process),"win32")||a.$eq$(a.get$platform$x(self.process),"darwin")?s._realCasePath(b.absolute$7(b.normalize$1(n),null,null,null,null,null,null)):b.canonicalize$1(0,n)),b.toUri$1(n));C.toString;k=C}else{C=s.readFile(n);if(b==null)b=s.Syntax_forPath(n);A=u.$get$context();k=s.Stylesheet_Stylesheet$parse(C,b,L,A.toUri$1(n));b=A}V=s._compileStylesheet(k,L,y,null,new s.FilesystemImporter(b.absolute$7(".",null,null,null,null,null,null)),null,x,true,null,null,w,E,U);if(R!=null)R.summarize$1$node(false);case 17:f=V;case 8:h=2;_=6;break;case 4:h=3;P=d;U=s.unwrapException(P);if(U instanceof s.SassException){S=U;if(e.get$emitErrorCss())if(i==null)s.print(S.toCssString$0());else{s.ensureDir(u.$get$context().dirname$1(i));s.writeFile(i,S.toCssString$0()+"\n")}throw P}else throw P;_=6;break;case 3:_=2;break;case 6:F=f._serialize.css+s._writeSourceMap(e,f._serialize.sourceMap,i);if(i==null){if(F.length!==0)s.print(F)}else{s.ensureDir(u.$get$context().dirname$1(i));s.writeFile(i,F+"\n")}U=e._options;if(!s._asBool(U.$index(0,"quiet")))U=!s._asBool(U.$index(0,"update"))&&!s._asBool(U.$index(0,"watch"));else U=true;if(U){_=1;break}T=new s.StringBuffer("");U=e.get$color()?T._contents=""+"":"";if(n==null)N="stdin";else{b=u.$get$context();N=b.prettyUri$1(b.toUri$1(n))}i.toString;b=u.$get$context();b=U+("Compiled "+N+" to "+b.prettyUri$1(b.toUri$1(i))+".");T._contents=b;if(e.get$color())T._contents=b+"";s.print(T);case 1:return s._asyncReturn(p,c);case 2:return s._asyncRethrow(d,c)}}));return s._asyncStartSync(O,c)},_writeSourceMap(e,r,n){var i,l,_,c,$,p;if(r==null)return"";if(n!=null){i=u.$get$context();r.targetUrl=i.toUri$1(s.ParsedPath_ParsedPath$parse(n,i.style).get$basename()).toString$0(0)}s.mapInPlace(r.urls,new s._writeSourceMap_closure(e,n));i=e._options;l=o.C_JsonCodec.encode$2$toEncodable(r.toJson$1$includeSourceContents(s._asBool(i.$index(0,"embed-sources"))),null);if(s._asBool(i.$index(0,"embed-source-map")))_=s.Uri_Uri$dataFromString(l,o.C_Utf8Codec,"application/json");else{n.toString;c=n+".map";$=u.$get$context();s.ensureDir($.dirname$1(c));s.writeFile(c,l);_=$.toUri$1($.relative$2$from(c,$.dirname$1(n)))}$=_.toString$0(0);p=s.stringReplaceAllUnchecked($,"*/","%2A/");i=(a.$eq$(i.$index(0,"style"),"compressed")?o.OutputStyle_compressed:o.OutputStyle_expanded)===o.OutputStyle_compressed?"":"\n\n";return i+("/*# sourceMappingURL="+p+" */")},_writeSourceMap_closure:function _writeSourceMap_closure(e,r){this.options=e;this.destination=r},ExecutableOptions__separator(e){var r=u.$get$ExecutableOptions__separatorBar(),n=o.JSString_methods.$mul(r,3),i=a.$eq$(self.process.stdout.isTTY,true)?"":"",s=a.$eq$(self.process.stdout.isTTY,true)?"":"";return n+" "+i+e+s+" "+o.JSString_methods.$mul(r,35-e.length)},ExecutableOptions__fail(e){return s.throwExpression(s.UsageException$(e))},ExecutableOptions_ExecutableOptions$parse(e){var r,n,i,o;try{i=s.Parser$(null,u.$get$ExecutableOptions__parser(),s.ListQueue_ListQueue$of(e,$.String),null,null).parse$0();if(i.wasParsed$1("poll")&&!s._asBool(i.$index(0,"watch")))s.ExecutableOptions__fail("--poll may not be passed without --watch.");r=new s.ExecutableOptions(i);if(s._asBool(r._options.$index(0,"help")))s.ExecutableOptions__fail("Compile Sass to CSS.");return r}catch(o){i=s.unwrapException(o);if($.FormatException._is(i)){n=i;s.ExecutableOptions__fail(a.get$message$x(n))}else throw o}},UsageException$(e){return new s.UsageException(e)},ExecutableOptions:function ExecutableOptions(e){var r=this;r._options=e;r.__ExecutableOptions_interactive=u;r._sourcesToDestinations=null;r.__ExecutableOptions__sourceDirectoriesToDestinations=u},ExecutableOptions__parser_closure:function ExecutableOptions__parser_closure(){},ExecutableOptions_interactive_closure:function ExecutableOptions_interactive_closure(e){this.$this=e},ExecutableOptions_emitErrorCss_closure:function ExecutableOptions_emitErrorCss_closure(){},UsageException:function UsageException(e){this.message=e},watch(e,r){return s.watch$body(e,r)},watch$body(e,r){var n=0,i=s._makeAsyncAwaitCompleter($.void),l,_,c,p,h,d,m,g,f;var y=s._wrapJsFunctionForAsync((function(S,v){if(S===1)return s._asyncRethrow(v,i);while(true)switch(n){case 0:e._ensureSources$0();_=$.String;c=s._lateReadCheck(e.__ExecutableOptions__sourceDirectoriesToDestinations,"_sourceDirectoriesToDestinations").cast$2$0(0,_,_);c=s.List_List$of(c.get$keys(c),true,_);for(e._ensureSources$0(),p=e._sourcesToDestinations.cast$2$0(0,_,_),p=a.get$iterator$ax(p.get$keys(p));p.moveNext$0();){h=p.get$current(p);c.push(u.$get$context().dirname$1(h))}p=e._options;o.JSArray_methods.addAll$1(c,$.List_String._as(p.$index(0,"load-path")));h=s._asBool(p.$index(0,"poll"));d=$.Stream_WatchEvent;m=s.PathMap__create(null,d);d=new s.StreamGroup(o._StreamGroupState_dormant,s.LinkedHashMap_LinkedHashMap$_empty(d,$.nullable_StreamSubscription_WatchEvent),$.StreamGroup_WatchEvent);d.__StreamGroup__controller=s.StreamController_StreamController(d.get$_onCancel(),d.get$_onListen(),d.get$_onPause(),d.get$_onResume(),true,$.WatchEvent);g=new s.MultiDirWatcher(new s.PathMap(m,$.PathMap_Stream_WatchEvent),d,h);n=3;return s._asyncAwait(s.Future_wait(new s.MappedListIterable(c,new s.watch_closure(g),s._arrayInstanceType(c)._eval$1("MappedListIterable<1,Future<~>>")),$.void),y);case 3:f=new s._Watcher(e,r);e._ensureSources$0(),_=e._sourcesToDestinations.cast$2$0(0,_,_),_=_.get$entries(_),_=_.get$iterator(_);case 4:if(!_.moveNext$0()){n=5;break}c=_.get$current(_);h=u.$get$context();d=h.absolute$7(".",null,null,null,null,null,null);m=c.key;r.addCanonical$4$recanonicalize(new s.FilesystemImporter(d),h.toUri$1(a.$eq$(a.get$platform$x(self.process),"win32")||a.$eq$(a.get$platform$x(self.process),"darwin")?s._realCasePath(h.absolute$7(h.normalize$1(m),null,null,null,null,null,null)):h.canonicalize$1(0,m)),h.toUri$1(m),false);n=6;return s._asyncAwait(f.compile$3$ifModified(0,m,c.value,true),y);case 6:if(!v&&s._asBool(p.$index(0,"stop-on-error"))){_=s._lateReadCheck(g._group.__StreamGroup__controller,"_controller");_._subscribe$4(null,null,null,false).cancel$0();n=1;break}n=4;break;case 5:s.print("Sass is watching for changes. Press Ctrl-C to stop.\n");n=7;return s._asyncAwait(f.watch$1(0,g),y);case 7:case 1:return s._asyncReturn(l,i)}}));return s._asyncStartSync(y,i)},watch_closure:function watch_closure(e){this.dirWatcher=e},_Watcher:function _Watcher(e,r){this._watch$_options=e;this._graph=r},_Watcher__debounceEvents_closure:function _Watcher__debounceEvents_closure(){},EmptyExtensionStore:function EmptyExtensionStore(){},Extension:function Extension(e,r,n,i,s){var a=this;a.extender=e;a.target=r;a.mediaContext=n;a.isOptional=i;a.span=s},Extender:function Extender(e,r,n){var i=this;i.selector=e;i.isOriginal=r;i._extension=null;i.span=n},ExtensionStore__extendOrReplace(e,r,n,i,a){var l,u,_,c,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A,M,I=s.ExtensionStore$_mode(i);if(!e.accept$1(o._IsInvisibleVisitor_true))I._originals.addAll$1(0,e.components);for(l=n.components,u=l.length,_=r.components,c=_.length,p=$.ComplexSelector,h=$.Extension,d=$.SimpleSelector,m=$.Map_ComplexSelector_Extension,g=0;g1){b=y.leadingCombinators;S=o.JSArray_methods.take$1(S,v-1);y=y.lineBreak;x=s.List_List$from(b,false,g);x.fixed$length=Array;x.immutable$list=Array;b=x;x=s.List_List$from(S,false,f);x.fixed$length=Array;x.immutable$list=Array;S=x;if(b.length===0&&S.length===0)s.throwExpression(s.ArgumentError$(c.leadin,w));u.push(new s.ComplexSelector(b,S,y))}}_=i==null?o.List_empty0:s._setArrayType([i],$.JSArray_Combinator);l.toString;f=s.CompoundSelector$(l);h=s.ComplexSelector$(_,s._setArrayType([new s.ComplexSelectorComponent(f,s.List_List$unmodifiable(n==null?o.List_empty0:s._setArrayType([n],$.JSArray_Combinator),g))],$.JSArray_ComplexSelectorComponent),C.any$1(e,new s.unifyComplex_closure));if(u.length===0)C=s._setArrayType([h],r);else{C=s.List_List$of(s.IterableExtension_get_exceptLast(u),true,$.ComplexSelector);C.push(o.JSArray_methods.get$last(u).concatenate$1(h))}return s.weave(C,false)},unifyCompound(e,r){var n,i,a,o;for(n=e.length,i=r,a=0;a1)return i;n=r.length;if(n>1)return i;if(s===0)return r;if(n===0)return e;return o.C_ListEquality.equals$2(0,e,r)?e:i},_mergeTrailingCombinators(e,r,n){var i,a,l,u,_,c,p,h,d,m,g,f,y,S,v=null;if(n==null)n=s.QueueList$(v,$.List_List_ComplexSelectorComponent);i=e._collection$_head===e._collection$_tail?o.List_empty0:e.get$last(e).combinators;a=r._collection$_head===r._collection$_tail?o.List_empty0:r.get$last(r).combinators;l=i.length;u=l===0;if(u&&a.length===0)return n;if(l>1||a.length>1)return v;_=u?v:o.JSArray_methods.get$first(i);c=a.length===0?v:o.JSArray_methods.get$first(a);l=_!=null;if(l&&c!=null){p=e.removeLast$0(0);h=r.removeLast$0(0);l=_===o.Combinator_CzM;if(l&&c===o.Combinator_CzM){l=p.selector;u=h.selector;if(s.compoundIsSuperselector(l,u,v))n.addFirst$1(s._setArrayType([s._setArrayType([h],$.JSArray_ComplexSelectorComponent)],$.JSArray_List_ComplexSelectorComponent));else{d=$.JSArray_ComplexSelectorComponent;m=$.JSArray_List_ComplexSelectorComponent;if(s.compoundIsSuperselector(u,l,v))n.addFirst$1(s._setArrayType([s._setArrayType([p],d)],m));else{g=s._setArrayType([s._setArrayType([p,h],d),s._setArrayType([h,p],d)],m);f=s.unifyCompound(l.components,u.components);if(f!=null)g.push(s._setArrayType([new s.ComplexSelectorComponent(f,s.List_List$unmodifiable(o.List_EyN,$.Combinator))],d));n.addFirst$1(g)}}}else{if(!(l&&c===o.Combinator_uzg))u=_===o.Combinator_uzg&&c===o.Combinator_CzM;else u=true;if(u){y=l?p:h;S=l?h:p;l=$.JSArray_ComplexSelectorComponent;u=$.JSArray_List_ComplexSelectorComponent;if(s.compoundIsSuperselector(y.selector,S.selector,v))n.addFirst$1(s._setArrayType([s._setArrayType([S],l)],u));else{f=s.unifyCompound(p.selector.components,h.selector.components);u=s._setArrayType([s._setArrayType([y,S],l)],u);if(f!=null)u.push(s._setArrayType([new s.ComplexSelectorComponent(f,s.List_List$unmodifiable(o.List_Gl7,$.Combinator))],l));n.addFirst$1(u)}}else{if(_===o.Combinator_sgq)u=c===o.Combinator_uzg||c===o.Combinator_CzM;else u=false;if(u){n.addFirst$1(s._setArrayType([s._setArrayType([h],$.JSArray_ComplexSelectorComponent)],$.JSArray_List_ComplexSelectorComponent));e._add$1(p)}else{if(c===o.Combinator_sgq)l=_===o.Combinator_uzg||l;else l=false;if(l){n.addFirst$1(s._setArrayType([s._setArrayType([p],$.JSArray_ComplexSelectorComponent)],$.JSArray_List_ComplexSelectorComponent));r._add$1(h)}else if(_===c){f=s.unifyCompound(p.selector.components,h.selector.components);if(f==null)return v;n.addFirst$1(s._setArrayType([s._setArrayType([new s.ComplexSelectorComponent(f,s.List_List$unmodifiable(s._setArrayType([_],$.JSArray_Combinator),$.Combinator))],$.JSArray_ComplexSelectorComponent)],$.JSArray_List_ComplexSelectorComponent))}else return v}}}return s._mergeTrailingCombinators(e,r,n)}else if(l){if(_===o.Combinator_sgq&&!r.get$isEmpty(r)&&s.compoundIsSuperselector(r.get$last(r).selector,e.get$last(e).selector,v))r.removeLast$0(0);n.addFirst$1(s._setArrayType([s._setArrayType([e.removeLast$0(0)],$.JSArray_ComplexSelectorComponent)],$.JSArray_List_ComplexSelectorComponent));return s._mergeTrailingCombinators(e,r,n)}else{if(c===o.Combinator_sgq&&!e.get$isEmpty(e)&&s.compoundIsSuperselector(e.get$last(e).selector,r.get$last(r).selector,v))e.removeLast$0(0);n.addFirst$1(s._setArrayType([s._setArrayType([r.removeLast$0(0)],$.JSArray_ComplexSelectorComponent)],$.JSArray_List_ComplexSelectorComponent));return s._mergeTrailingCombinators(e,r,n)}},_mustUnify(e,r){var n,i,l,u=s.LinkedHashSet_LinkedHashSet$_empty($.SimpleSelector);for(n=a.get$iterator$ax(e);n.moveNext$0();)for(i=o.JSArray_methods.get$iterator(n.get$current(n).selector.components),l=new s.WhereIterator(i,s.functions___isUnique$closure());l.moveNext$0();)u.add$1(0,i.get$current(i));if(u._collection$_length===0)return false;return a.any$1$ax(r,new s._mustUnify_closure(u))},_isUnique(e){var r;if(!(e instanceof s.IDSelector))r=e instanceof s.PseudoSelector&&!e.isClass;else r=true;return r},_chunks(e,r,n,i){var a,l,u=i._eval$1("JSArray<0>"),_=s._setArrayType([],u);for(;!n.call$1(e);)_.push(e.removeFirst$0());a=s._setArrayType([],u);for(;!n.call$1(r);)a.push(r.removeFirst$0());u=_.length===0;if(u&&a.length===0)return s._setArrayType([],i._eval$1("JSArray>"));if(u)return s._setArrayType([a],i._eval$1("JSArray>"));if(a.length===0)return s._setArrayType([_],i._eval$1("JSArray>"));u=s.List_List$of(_,true,i);o.JSArray_methods.addAll$1(u,a);l=s.List_List$of(a,true,i);o.JSArray_methods.addAll$1(l,_);return s._setArrayType([u,l],i._eval$1("JSArray>"))},paths(e,r){return a.fold$2$ax(e,s._setArrayType([s._setArrayType([],r._eval$1("JSArray<0>"))],r._eval$1("JSArray>")),new s.paths_closure(r))},_groupSelectors(e){var r,n,i,a=s.QueueList$(null,$.List_ComplexSelectorComponent),o=$.JSArray_ComplexSelectorComponent,l=s._setArrayType([],o);for(r=s._ListQueueIterator$(e),n=s._instanceType(r)._precomputed1;r.moveNext$0();){i=r._collection$_current;if(i==null)i=n._as(i);l.push(i);if(i.combinators.length===0){a._queue_list$_add$1(l);l=s._setArrayType([],o)}}if(l.length!==0)a._queue_list$_add$1(l);return a},listIsSuperselector(e,r){return o.JSArray_methods.every$1(r,new s.listIsSuperselector_closure(e))},_complexIsParentSuperselector(e,r){var n,i,l;if(a.get$length$asx(e)>a.get$length$asx(r))return false;n=new s.ComplexSelectorComponent(s.CompoundSelector$(s._setArrayType([new s.PlaceholderSelector("")],$.JSArray_SimpleSelector)),s.List_List$unmodifiable(o.List_empty0,$.Combinator));i=$.ComplexSelectorComponent;l=s.List_List$of(e,true,i);l.push(n);i=s.List_List$of(r,true,i);i.push(n);return s.complexIsSuperselector(l,i)},complexIsSuperselector(e,r){var n,i,a,l,u,_,c,p,h,d,m,g,f;if(o.JSArray_methods.get$last(e).combinators.length!==0)return false;if(o.JSArray_methods.get$last(r).combinators.length!==0)return false;for(n=$.JSArray_ComplexSelectorComponent,i=0,a=0;true;){l=e.length-i;u=r.length;_=u-a;if(l===0||_===0)return false;if(l>_)return false;c=e[i];p=c.combinators;if(p.length>1)return false;if(l===1){h=o.JSArray_methods.sublist$2(r,a,u-1);if(o.JSArray_methods.any$1(h,new s.complexIsSuperselector_closure))return false;return s.compoundIsSuperselector(c.selector,o.JSArray_methods.get$last(r).selector,h)}for(u=c.selector,d=a,h=null;true;){m=r[d];if(m.combinators.length>1)return false;if(s.compoundIsSuperselector(u,m.selector,h))break;++d;if(d===r.length-1)return false;if(h==null)h=s._setArrayType([],n);h.push(m)}m=r[d];g=s.IterableExtension_get_firstOrNull(p);f=s.IterableExtension_get_firstOrNull(m.combinators);if(g!=null){if(f==null)return false;if(g===o.Combinator_CzM){if(f===o.Combinator_sgq)return false}else if(f!==g)return false;if(l===2&&_>2)return false;++i;a=d+1}else if(f!=null){if(f!==o.Combinator_sgq)return false;++i;a=d+1}else{++i;a=d+1}}},compoundIsSuperselector(e,r,n){var i,a,l,u,_,c,p,h,d,m=s._findPseudoElementIndexed(e),g=s._findPseudoElementIndexed(r),f=m==null;if(!f&&g!=null){if(m.item1.isSuperselector$1(g.item1)){f=e.components;i=m.item2;a=$.int;l=s._arrayInstanceType(f)._precomputed1;u=s.SubListIterable$(f,0,s.checkNotNullable(i,"count",a),l);_=r.components;c=g.item2;p=s._arrayInstanceType(_)._precomputed1;f=s._compoundComponentsIsSuperselector(u,s.SubListIterable$(_,0,s.checkNotNullable(c,"count",a),p),n)&&s._compoundComponentsIsSuperselector(s.SubListIterable$(f,i+1,null,l),s.SubListIterable$(_,c+1,null,p),n)}else f=false;return f}else if(!f||g!=null)return false;for(f=e.components,i=f.length,a=r.components,h=0;h")),new s._selectorPseudoArgs_closure0,i._eval$1("MappedIterable")),$.SelectorList)},unifyComplex_closure:function unifyComplex_closure(){},_weaveParents_closure:function _weaveParents_closure(){},_weaveParents_closure0:function _weaveParents_closure0(e){this.group=e},_weaveParents_closure1:function _weaveParents_closure1(){},_weaveParents_closure2:function _weaveParents_closure2(){},_mustUnify_closure:function _mustUnify_closure(e){this.uniqueSelectors=e},_mustUnify__closure:function _mustUnify__closure(e){this.uniqueSelectors=e},paths_closure:function paths_closure(e){this.T=e},paths__closure:function paths__closure(e,r){this.paths=e;this.T=r},paths___closure:function paths___closure(e,r){this.option=e;this.T=r},listIsSuperselector_closure:function listIsSuperselector_closure(e){this.list1=e},listIsSuperselector__closure:function listIsSuperselector__closure(e){this.complex1=e},complexIsSuperselector_closure:function complexIsSuperselector_closure(){},_selectorPseudoIsSuperselector_closure:function _selectorPseudoIsSuperselector_closure(e){this.selector1=e},_selectorPseudoIsSuperselector_closure0:function _selectorPseudoIsSuperselector_closure0(e,r){this.parents=e;this.compound2=r},_selectorPseudoIsSuperselector_closure1:function _selectorPseudoIsSuperselector_closure1(e){this.selector1=e},_selectorPseudoIsSuperselector_closure2:function _selectorPseudoIsSuperselector_closure2(e){this.selector1=e},_selectorPseudoIsSuperselector_closure3:function _selectorPseudoIsSuperselector_closure3(e,r){this.compound2=e;this.pseudo1=r},_selectorPseudoIsSuperselector__closure:function _selectorPseudoIsSuperselector__closure(e,r){this.complex=e;this.pseudo1=r},_selectorPseudoIsSuperselector___closure:function _selectorPseudoIsSuperselector___closure(e){this.simple2=e},_selectorPseudoIsSuperselector___closure0:function _selectorPseudoIsSuperselector___closure0(e){this.simple2=e},_selectorPseudoIsSuperselector_closure4:function _selectorPseudoIsSuperselector_closure4(e){this.selector1=e},_selectorPseudoIsSuperselector_closure5:function _selectorPseudoIsSuperselector_closure5(e,r){this.pseudo1=e;this.selector1=r},_selectorPseudoArgs_closure:function _selectorPseudoArgs_closure(e,r){this.isClass=e;this.name=r},_selectorPseudoArgs_closure0:function _selectorPseudoArgs_closure0(){},MergedExtension_merge(e,r){var n,i,a,l,u=e.extender,_=u.selector;if(!_.$eq(0,r.extender.selector)||!e.target.$eq(0,r.target))throw s.wrapException(s.ArgumentError$(e.toString$0(0)+" and "+r.toString$0(0)+" aren't the same extension.",null));n=e.mediaContext;i=n==null;if(!i){a=r.mediaContext;a=a!=null&&!o.C_ListEquality.equals$2(0,n,a)}else a=false;if(a)throw s.wrapException(s.SassException$("From "+e.span.message$1(0,"")+c.x0aYou_m,r.span));if(r.isOptional&&r.mediaContext==null)return e;if(e.isOptional&&i)return r;a=e.target;l=e.span;if(i)n=r.mediaContext;_.get$maxSpecificity();u=new s.Extender(_,false,u.span);return u._extension=new s.MergedExtension(e,r,u,a,n,true,l)},MergedExtension:function MergedExtension(e,r,n,i,s,a,o){var l=this;l.left=e;l.right=r;l.extender=n;l.target=i;l.mediaContext=s;l.isOptional=a;l.span=o},ExtendMode:function ExtendMode(e){this.name=e},globalFunctions_closure:function globalFunctions_closure(){},_updateComponents(e,r,n,i){var o,l,u,_,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A=null,M=a.getInterceptor$asx(e),I=M.$index(e,0).assertColor$1("color"),V=$.SassArgumentList._as(M.$index(e,1));if(V._list$_contents.length!==0)throw s.wrapException(s.SassScriptException$(c.Only_op));V._wereKeywordsAccessed=true;o=s.LinkedHashMap_LinkedHashMap$of(V._keywords,$.String,$.Value);M=new s._updateComponents_getParam(o,i,n);l=M.call$2("alpha",1);u=M.call$2("red",255);_=M.call$2("green",255);p=M.call$2("blue",255);if(i)h=A;else{d=o.remove$1(0,"hue");h=d==null?A:d.assertNumber$1("hue")}d=h==null;if(!d)s._checkAngle(h,"hue");m=d?A:h._number$_value;g=M.call$3$checkPercent("saturation",100,true);f=M.call$3$checkPercent("lightness",100,true);y=M.call$3$assertPercent("whiteness",100,true);S=M.call$3$assertPercent("blackness",100,true);M=o.__js_helper$_length;if(M!==0)throw s.wrapException(s.SassScriptException$("No "+s.pluralize("argument",M,A)+" named "+s.S(s.toSentence(o.get$keys(o).map$1$1(0,new s._updateComponents_closure,$.Object),"or"))+"."));v=u!=null||_!=null||p!=null;b=g!=null||f!=null;x=y!=null||S!=null;if(v)M=b||x||m!=null;else M=false;if(M)throw s.wrapException(s.SassScriptException$(c.RGB_pa+(x?"HWB":"HSL")+" parameters."));if(b&&x)throw s.wrapException(s.SassScriptException$(c.HSL_pa));M=new s._updateComponents_updateValue(n,r);d=new s._updateComponents_updateRgb(M);if(v){w=d.call$2(I.get$red(I),u);C=d.call$2(I.get$green(I),_);d=d.call$2(I.get$blue(I),p);return I.changeRgb$4$alpha$blue$green$red(M.call$3(I._alpha,l,1),d,C,w)}else if(x){if(n)d=m;else{d=I.get$hue(I);d+=m==null?0:m}w=M.call$3(I.get$whiteness(I),y,100);C=M.call$3(I.get$blackness(I),S,100);E=I._alpha;M=M.call$3(E,l,1);if(d==null)d=I.get$hue(I);if(w==null)w=I.get$whiteness(I);if(C==null)C=I.get$blackness(I);return s.SassColor_SassColor$hwb(d,w,C,M==null?E:M)}else{d=m==null;if(!d||b){if(n)d=m;else{w=I.get$hue(I);w+=d?0:m;d=w}w=M.call$3(I.get$saturation(I),g,100);C=M.call$3(I.get$lightness(I),f,100);return I.changeHsl$4$alpha$hue$lightness$saturation(M.call$3(I._alpha,l,1),d,C,w)}else if(l!=null)return I.changeAlpha$1(M.call$3(I._alpha,l,1));else return I}},_functionString(e,r){return new s.SassString(e+"("+a.map$1$1$ax(r,new s._functionString_closure,$.String).join$1(0,", ")+")",false)},_removedColorFunction(e,r,n){return s.BuiltInCallable$function(e,"$color, $amount",new s._removedColorFunction_closure(e,r,n),"sass:color")},_rgb(e,r){var n,i,l,u,_=a.getInterceptor$asx(r),c=_.get$length(r)>3?_.$index(r,3):null;if(!_.$index(r,0).get$isSpecialNumber())if(!_.$index(r,1).get$isSpecialNumber())if(!_.$index(r,2).get$isSpecialNumber()){n=c==null?null:c.get$isSpecialNumber();n=n===true}else n=true;else n=true;else n=true;if(n)return s._functionString(e,r);i=_.$index(r,0).assertNumber$1("red");l=_.$index(r,1).assertNumber$1("green");u=_.$index(r,2).assertNumber$1("blue");return s.SassColor$rgbInternal(s.fuzzyRound(s._percentageOrUnitless(i,255,"red")),s.fuzzyRound(s._percentageOrUnitless(l,255,"green")),s.fuzzyRound(s._percentageOrUnitless(u,255,"blue")),s.NullableExtension_andThen(c,new s._rgb_closure),o._ColorFormatEnum_rgbFunction)},_rgbTwoArg(e,r){var n,i,o=a.getInterceptor$asx(r);if(o.$index(r,0).get$isVar())return s._functionString(e,r);else if(o.$index(r,1).get$isVar()){n=o.$index(r,0);if(n instanceof s.SassColor)return new s.SassString(e+"("+n.get$red(n)+", "+n.get$green(n)+", "+n.get$blue(n)+", "+s.serializeValue(o.$index(r,1),false,true)+")",false);else return s._functionString(e,r)}else if(o.$index(r,1).get$isSpecialNumber()){i=o.$index(r,0).assertColor$1("color");return new s.SassString(e+"("+i.get$red(i)+", "+i.get$green(i)+", "+i.get$blue(i)+", "+s.serializeValue(o.$index(r,1),false,true)+")",false)}return o.$index(r,0).assertColor$1("color").changeAlpha$1(s._percentageOrUnitless(o.$index(r,1).assertNumber$1("alpha"),1,"alpha"))},_hsl(e,r){var n,i,l,u,_="saturation",c="lightness",$=a.getInterceptor$asx(r),p=$.get$length(r)>3?$.$index(r,3):null;if(!$.$index(r,0).get$isSpecialNumber())if(!$.$index(r,1).get$isSpecialNumber())if(!$.$index(r,2).get$isSpecialNumber()){n=p==null?null:p.get$isSpecialNumber();n=n===true}else n=true;else n=true;else n=true;if(n)return s._functionString(e,r);i=$.$index(r,0).assertNumber$1("hue");l=$.$index(r,1).assertNumber$1(_);u=$.$index(r,2).assertNumber$1(c);s._checkAngle(i,"hue");s._checkPercent(l,_);s._checkPercent(u,c);return s.SassColor$hslInternal(i._number$_value,o.JSNumber_methods.clamp$2(l._number$_value,0,100),o.JSNumber_methods.clamp$2(u._number$_value,0,100),s.NullableExtension_andThen(p,new s._hsl_closure),o._ColorFormatEnum_hslFunction)},_checkAngle(e,r){var n,i,a,l="To preserve current behavior: $";if(!e.get$hasUnits()||e.hasUnit$1("deg"))return;n=""+("$"+r+": Passing a unit other than deg ("+e.toString$0(0)+") is deprecated.\n")+"\n";if(e.compatibleWithUnit$1("deg")){i=e.toString$0(0);a=$.JSArray_String;a=n+("You're passing "+i+c.x2c_whici+new s.SingleUnitSassNumber("deg",e._number$_value,null).toString$0(0)+".\n")+(c.Soon__+e.coerce$2(s._setArrayType(["deg"],a),s._setArrayType([],a)).toString$0(0)+".\n")+"\n"+(l+r+" * 1deg/1"+o.JSArray_methods.get$first(e.get$numeratorUnits(e))+"\n")+("To migrate to new behavior: 0deg + $"+r+"\n")+"\n";n=a}else n=n+(l+r+s._removeUnits(e)+"\n")+"\n";n+="See https://sass-lang.com/d/color-units";s.EvaluationContext_current().warn$2$deprecation(0,n.charCodeAt(0)==0?n:n,true)},_checkPercent(e,r){var n,i;if(e.hasUnit$1("%"))return;n=e.toString$0(0);i=s._removeUnits(e);s.EvaluationContext_current().warn$2$deprecation(0,"$"+r+": Passing a number without unit % ("+n+c.x29x20is_d+r+i+" * 1%",true)},_removeUnits(e){var r,n=e.get$denominatorUnits(e);n=new s.MappedListIterable(n,new s._removeUnits_closure,s._arrayInstanceType(n)._eval$1("MappedListIterable<1,String>")).join$0(0);r=e.get$numeratorUnits(e);return n+new s.MappedListIterable(r,new s._removeUnits_closure0,s._arrayInstanceType(r)._eval$1("MappedListIterable<1,String>")).join$0(0)},_hwb(e){var r="whiteness",n="blackness",i=a.getInterceptor$asx(e),o=i.get$length(e)>3?i.$index(e,3):null,l=i.$index(e,0).assertNumber$1("hue"),u=i.$index(e,1).assertNumber$1(r),_=i.$index(e,2).assertNumber$1(n);s._checkAngle(l,"hue");u.assertUnit$2("%",r);_.assertUnit$2("%",n);return s.SassColor_SassColor$hwb(l._number$_value,u.valueInRange$3(0,100,r),_.valueInRange$3(0,100,n),s.NullableExtension_andThen(o,new s._hwb_closure))},_parseChannels(e,r,n){var i,a,l,u,_,p,h,d,m,g="$channels must be";if(n.get$isVar())return s._functionString(e,s._setArrayType([n],$.JSArray_Value));if(n.get$separator(n)===o.ListSeparator_1gm){i=n.get$asList();a=i.length;if(a!==2)throw s.wrapException(s.SassScriptException$(c.Only_2+a+" "+s.pluralize("was",a,"were")+" passed."));l=i[0];u=i[1];if(!u.get$isSpecialNumber())u.assertNumber$1("alpha");if(i[0].get$isVar())return s._functionString(e,s._setArrayType([n],$.JSArray_Value))}else{l=n;u=null}_=l.get$separator(l)===o.ListSeparator_kWM;p=l.get$hasBrackets();if(_||p){h=new s.StringBuffer(g);if(p){a=g+" an unbracketed";h._contents=a}else a=g;if(_){a+=p?",":" a";h._contents=a;a=h._contents=a+" space-separated"}h._contents=a+" list.";throw s.wrapException(s.SassScriptException$(h.toString$0(0)))}i=l.get$asList();a=i.length;if(a>3)throw s.wrapException(s.SassScriptException$("Only 3 elements allowed, but "+a+" were passed."));else if(a<3){if(!o.JSArray_methods.any$1(i,new s._parseChannels_closure))if(i.length!==0){a=o.JSArray_methods.get$last(i);if(a instanceof s.SassString)if(a._hasQuotes){a=a._string$_text;a=s.startsWithIgnoreCase(a,"var(")&&o.JSString_methods.contains$1(a,"/")}else a=false;else a=false}else a=false;else a=true;if(a)return s._functionString(e,s._setArrayType([n],$.JSArray_Value));else throw s.wrapException(s.SassScriptException$("Missing element "+r[i.length]+"."))}if(u!=null){a=s.List_List$of(i,true,$.Value);a.push(u);return a}d=i[2];if(d instanceof s.SassNumber){m=d.asSlash;if(m==null)return i;return s._setArrayType([i[0],i[1],m.item1,m.item2],$.JSArray_Value)}else if(d instanceof s.SassString&&!d._hasQuotes&&o.JSString_methods.contains$1(d._string$_text,"/"))return s._functionString(e,s._setArrayType([l],$.JSArray_Value));else return i},_percentageOrUnitless(e,r,n){var i;if(!e.get$hasUnits())i=e._number$_value;else if(e.hasUnit$1("%"))i=r*e._number$_value/100;else throw s.wrapException(s.SassScriptException$("$"+n+": Expected "+e.toString$0(0)+' to have no units or "%".'));return o.JSNumber_methods.clamp$2(i,0,r)},_mixColors(e,r,n){var i=n.valueInRange$3(0,100,"weight")/100,a=i*2-1,o=e._alpha,l=r._alpha,u=o-l,_=a*u,c=((_===-1?a:(a+u)/(1+_))+1)/2,$=1-c;return s.SassColor$rgb(s.fuzzyRound(e.get$red(e)*c+r.get$red(r)*$),s.fuzzyRound(e.get$green(e)*c+r.get$green(r)*$),s.fuzzyRound(e.get$blue(e)*c+r.get$blue(r)*$),o*i+l*(1-i))},_opacify(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertColor$1("color");return n.changeAlpha$1(o.JSNumber_methods.clamp$2(n._alpha+r.$index(e,1).assertNumber$1("amount").valueInRangeWithUnit$4(0,1,"amount",""),0,1))},_transparentize(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertColor$1("color");return n.changeAlpha$1(o.JSNumber_methods.clamp$2(n._alpha-r.$index(e,1).assertNumber$1("amount").valueInRangeWithUnit$4(0,1,"amount",""),0,1))},_function4(e,r,n){return s.BuiltInCallable$function(e,r,n,"sass:color")},global_closure:function global_closure(){},global_closure0:function global_closure0(){},global_closure1:function global_closure1(){},global_closure2:function global_closure2(){},global_closure3:function global_closure3(){},global_closure4:function global_closure4(){},global_closure5:function global_closure5(){},global_closure6:function global_closure6(){},global_closure7:function global_closure7(){},global_closure8:function global_closure8(){},global_closure9:function global_closure9(){},global_closure10:function global_closure10(){},global_closure11:function global_closure11(){},global_closure12:function global_closure12(){},global_closure13:function global_closure13(){},global_closure14:function global_closure14(){},global_closure15:function global_closure15(){},global_closure16:function global_closure16(){},global_closure17:function global_closure17(){},global_closure18:function global_closure18(){},global_closure19:function global_closure19(){},global_closure20:function global_closure20(){},global_closure21:function global_closure21(){},global_closure22:function global_closure22(){},global_closure23:function global_closure23(){},global_closure24:function global_closure24(){},global__closure:function global__closure(){},global_closure25:function global_closure25(){},module_closure:function module_closure(){},module_closure0:function module_closure0(){},module_closure1:function module_closure1(){},module_closure2:function module_closure2(){},module_closure3:function module_closure3(){},module_closure4:function module_closure4(){},module_closure5:function module_closure5(){},module_closure6:function module_closure6(){},module__closure:function module__closure(){},module_closure7:function module_closure7(){},_red_closure:function _red_closure(){},_green_closure:function _green_closure(){},_blue_closure:function _blue_closure(){},_mix_closure:function _mix_closure(){},_hue_closure:function _hue_closure(){},_saturation_closure:function _saturation_closure(){},_lightness_closure:function _lightness_closure(){},_complement_closure:function _complement_closure(){},_adjust_closure:function _adjust_closure(){},_scale_closure:function _scale_closure(){},_change_closure:function _change_closure(){},_ieHexStr_closure:function _ieHexStr_closure(){},_ieHexStr_closure_hexString:function _ieHexStr_closure_hexString(){},_updateComponents_getParam:function _updateComponents_getParam(e,r,n){this.keywords=e;this.scale=r;this.change=n},_updateComponents_closure:function _updateComponents_closure(){},_updateComponents_updateValue:function _updateComponents_updateValue(e,r){this.change=e;this.adjust=r},_updateComponents_updateRgb:function _updateComponents_updateRgb(e){this.updateValue=e},_functionString_closure:function _functionString_closure(){},_removedColorFunction_closure:function _removedColorFunction_closure(e,r,n){this.name=e;this.argument=r;this.negative=n},_rgb_closure:function _rgb_closure(){},_hsl_closure:function _hsl_closure(){},_removeUnits_closure:function _removeUnits_closure(){},_removeUnits_closure0:function _removeUnits_closure0(){},_hwb_closure:function _hwb_closure(){},_parseChannels_closure:function _parseChannels_closure(){},_function3(e,r,n){return s.BuiltInCallable$function(e,r,n,"sass:list")},_length_closure0:function _length_closure0(){},_nth_closure:function _nth_closure(){},_setNth_closure:function _setNth_closure(){},_join_closure:function _join_closure(){},_append_closure0:function _append_closure0(){},_zip_closure:function _zip_closure(){},_zip__closure:function _zip__closure(){},_zip__closure0:function _zip__closure0(e){this._box_0=e},_zip__closure1:function _zip__closure1(e){this._box_0=e},_index_closure0:function _index_closure0(){},_separator_closure:function _separator_closure(){},_isBracketed_closure:function _isBracketed_closure(){},_slash_closure:function _slash_closure(){},_modify(e,r,n,i){var o=a.get$iterator$ax(r);return o.moveNext$0()?new s._modify__modifyNestedMap(o,n,i).call$1(e):n.call$1(e)},_deepMergeImpl(e,r){var n,i,a,o=e._map$_contents;if(o.get$isEmpty(o))return r;n=r._map$_contents;if(n.get$isEmpty(n))return e;i=$.Value;a=s.LinkedHashMap_LinkedHashMap$of(o,i,i);n.forEach$1(0,new s._deepMergeImpl_closure(a));return new s.SassMap(s.ConstantMap_ConstantMap$from(a,i,i))},_function2(e,r,n){return s.BuiltInCallable$function(e,r,n,"sass:map")},_get_closure:function _get_closure(){},_set_closure:function _set_closure(){},_set__closure0:function _set__closure0(e){this.$arguments=e},_set_closure0:function _set_closure0(){},_set__closure:function _set__closure(e){this.args=e},_merge_closure:function _merge_closure(){},_merge_closure0:function _merge_closure0(){},_merge__closure:function _merge__closure(e){this.map2=e},_deepMerge_closure:function _deepMerge_closure(){},_deepRemove_closure:function _deepRemove_closure(){},_deepRemove__closure:function _deepRemove__closure(e){this.keys=e},_remove_closure:function _remove_closure(){},_remove_closure0:function _remove_closure0(){},_keys_closure:function _keys_closure(){},_values_closure:function _values_closure(){},_hasKey_closure:function _hasKey_closure(){},_modify__modifyNestedMap:function _modify__modifyNestedMap(e,r,n){this.keyIterator=e;this.modify=r;this.addNesting=n},_deepMergeImpl_closure:function _deepMergeImpl_closure(e){this.result=e},_fuzzyRoundIfZero(e){if(!(Math.abs(e-0)0)return Math.min(e-1,r);i=r+e;if(i<0&&!n)return 0;return i},_function(e,r,n){return s.BuiltInCallable$function(e,r,n,"sass:string")},_unquote_closure:function _unquote_closure(){},_quote_closure:function _quote_closure(){},_length_closure:function _length_closure(){},_insert_closure:function _insert_closure(){},_index_closure:function _index_closure(){},_slice_closure:function _slice_closure(){},_toUpperCase_closure:function _toUpperCase_closure(){},_toLowerCase_closure:function _toLowerCase_closure(){},_uniqueId_closure:function _uniqueId_closure(){},ImportCache$(e,r){var n=$.nullable_Tuple3_Importer_Uri_Uri,i=$.Uri,a=s.ImportCache__toImporters(null,e,null),l=r==null?o.StderrLogger_false:r;return new s.ImportCache(a,l,s.LinkedHashMap_LinkedHashMap$_empty($.Tuple2_Uri_bool,n),s.LinkedHashMap_LinkedHashMap$_empty($.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri,n),s.LinkedHashMap_LinkedHashMap$_empty(i,$.nullable_Stylesheet),s.LinkedHashMap_LinkedHashMap$_empty(i,$.ImporterResult))},ImportCache__toImporters(e,r,n){var i,o,l,_,c,p=null,h=a.get$env$x(self.process);if(h==null)h=$.Object._as(h);i=s._asStringQ(h.SASS_PATH);h=s._setArrayType([],$.JSArray_Importer_2);for(o=a.get$iterator$ax(r);o.moveNext$0();){l=o.get$current(o);h.push(new s.FilesystemImporter(u.$get$context().absolute$7(l,p,p,p,p,p,p)))}if(i!=null){o=i.split(a.$eq$(a.get$platform$x(self.process),"win32")?";":":");l=o.length;_=0;for(;_"))},BuiltInModule__callableMap(e,r){var n,i,o,l=$.String;if(e==null)l=s.LinkedHashMap_LinkedHashMap$_empty(l,r);else{l=s.LinkedHashMap_LinkedHashMap$_empty(l,r);for(n=e.length,i=0;i"))}return new s.UnmodifiableMapView(l,$.$env_1_1_String._bind$1(r)._eval$1("UnmodifiableMapView<1,2>"))},BuiltInModule:function BuiltInModule(e,r,n,i,s){var a=this;a.url=e;a.functions=r;a.mixins=n;a.variables=i;a.$ti=s},ForwardedModuleView_ifNecessary(e,r,n){var i;if(r.prefix==null)if(r.shownMixinsAndFunctions==null)if(r.shownVariables==null){i=r.hiddenMixinsAndFunctions;if(i==null)i=null;else{i=i._base;i=i.get$isEmpty(i)}if(i===true){i=r.hiddenVariables;if(i==null)i=null;else{i=i._base;i=i.get$isEmpty(i)}i=i===true}else i=false}else i=false;else i=false;else i=false;if(i)return e;else return s.ForwardedModuleView$(e,r,n)},ForwardedModuleView$(e,r,n){var i=r.prefix,a=r.shownVariables,o=r.hiddenVariables,l=r.shownMixinsAndFunctions,u=r.hiddenMixinsAndFunctions;return new s.ForwardedModuleView(e,r,s.ForwardedModuleView__forwardedMap(e.get$variables(),i,a,o,$.Value),s.ForwardedModuleView__forwardedMap(e.get$variableNodes(),i,a,o,$.AstNode),s.ForwardedModuleView__forwardedMap(e.get$functions(e),i,l,u,n),s.ForwardedModuleView__forwardedMap(e.get$mixins(),i,l,u,n),n._eval$1("ForwardedModuleView<0>"))},ForwardedModuleView__forwardedMap(e,r,n,i,a){var o,l=r==null;if(l)if(n==null)if(i!=null){o=i._base;o=o.get$isEmpty(o)}else o=true;else o=false;else o=false;if(o)return e;if(!l)e=new s.PrefixedMapView(e,r,a._eval$1("PrefixedMapView<0>"));if(n!=null)e=new s.LimitedMapView(e,n._base.intersection$1(new s.MapKeySet(e,$.MapKeySet_nullable_Object)),$.$env_1_1_String._bind$1(a)._eval$1("LimitedMapView<1,2>"));else{if(i!=null){l=i._base;l=l.get$isNotEmpty(l)}else l=false;if(l)e=s.LimitedMapView$blocklist(e,i,$.String,a)}return e},ForwardedModuleView:function ForwardedModuleView(e,r,n,i,s,a,o){var l=this;l._forwarded_view$_inner=e;l._rule=r;l.variables=n;l.variableNodes=i;l.functions=s;l.mixins=a;l.$ti=o},ShadowedModuleView_ifNecessary(e,r,n,i,a){return s.ShadowedModuleView__needsBlocklist(e.get$variables(),i)||s.ShadowedModuleView__needsBlocklist(e.get$functions(e),r)||s.ShadowedModuleView__needsBlocklist(e.get$mixins(),n)?new s.ShadowedModuleView(e,s.ShadowedModuleView__shadowedMap(e.get$variables(),i,$.Value),s.ShadowedModuleView__shadowedMap(e.get$variableNodes(),i,$.AstNode),s.ShadowedModuleView__shadowedMap(e.get$functions(e),r,a),s.ShadowedModuleView__shadowedMap(e.get$mixins(),n,a),a._eval$1("ShadowedModuleView<0>")):null},ShadowedModuleView__shadowedMap(e,r,n){var i=s.ShadowedModuleView__needsBlocklist(e,r);return!i?e:s.LimitedMapView$blocklist(e,r,$.String,n)},ShadowedModuleView__needsBlocklist(e,r){var n=e.get$isNotEmpty(e)&&r.any$1(0,e.get$containsKey());return n},ShadowedModuleView:function ShadowedModuleView(e,r,n,i,s,a){var o=this;o._shadowed_view$_inner=e;o.variables=r;o.variableNodes=n;o.functions=i;o.mixins=s;o.$ti=a},JSArray0:function JSArray0(){},Chokidar:function Chokidar(){},ChokidarOptions:function ChokidarOptions(){},ChokidarWatcher:function ChokidarWatcher(){},JSFunction:function JSFunction(){},NodeImporterResult:function NodeImporterResult(){},RenderContext:function RenderContext(){},RenderContextOptions:function RenderContextOptions(){},RenderContextResult:function RenderContextResult(){},RenderContextResultStats:function RenderContextResultStats(){},JSClass:function JSClass(){},JSUrl:function JSUrl(){},_PropertyDescriptor:function _PropertyDescriptor(){},AtRootQueryParser:function AtRootQueryParser(e,r){this.scanner=e;this.logger=r},AtRootQueryParser_parse_closure:function AtRootQueryParser_parse_closure(e){this.$this=e},_disallowedFunctionNames_closure:function _disallowedFunctionNames_closure(){},CssParser:function CssParser(e,r,n){var i=this;i._isUseAllowed=true;i._inParentheses=i._inStyleRule=i._stylesheet$_inUnknownAtRule=i._inControlDirective=i._inContentBlock=i._stylesheet$_inMixin=false;i._globalVariables=e;i.lastSilentComment=null;i.scanner=r;i.logger=n},KeyframeSelectorParser$(e,r){var n=s.SpanScanner$(e,null);return new s.KeyframeSelectorParser(n,r)},KeyframeSelectorParser:function KeyframeSelectorParser(e,r){this.scanner=e;this.logger=r},KeyframeSelectorParser_parse_closure:function KeyframeSelectorParser_parse_closure(e){this.$this=e},MediaQueryParser:function MediaQueryParser(e,r){this.scanner=e;this.logger=r},MediaQueryParser_parse_closure:function MediaQueryParser_parse_closure(e){this.$this=e},Parser_isIdentifier(e){var r,n,i,a=null;try{r=a;n=s.SpanScanner$(e,null);new s.Parser(n,r==null?o.StderrLogger_false:r)._parseIdentifier$0();return true}catch(i){if(s.unwrapException(i)instanceof s.SassFormatException)return false;else throw i}},Parser:function Parser(e,r){this.scanner=e;this.logger=r},Parser__parseIdentifier_closure:function Parser__parseIdentifier_closure(e){this.$this=e},Parser_scanIdentChar_matches:function Parser_scanIdentChar_matches(e,r){this.caseSensitive=e;this.char=r},SassParser:function SassParser(e,r,n){var i=this;i._currentIndentation=0;i._spaces=i._nextIndentationEnd=i._nextIndentation=null;i._isUseAllowed=true;i._inParentheses=i._inStyleRule=i._stylesheet$_inUnknownAtRule=i._inControlDirective=i._inContentBlock=i._stylesheet$_inMixin=false;i._globalVariables=e;i.lastSilentComment=null;i.scanner=r;i.logger=n},SassParser_children_closure:function SassParser_children_closure(e,r,n){this.$this=e;this.child=r;this.children=n},ScssParser$(e,r,n){var i=s.SpanScanner$(e,n),a=r==null?o.StderrLogger_false:r;return new s.ScssParser(s.LinkedHashMap_LinkedHashMap$_empty($.String,$.VariableDeclaration),i,a)},ScssParser:function ScssParser(e,r,n){var i=this;i._isUseAllowed=true;i._inParentheses=i._inStyleRule=i._stylesheet$_inUnknownAtRule=i._inControlDirective=i._inContentBlock=i._stylesheet$_inMixin=false;i._globalVariables=e;i.lastSilentComment=null;i.scanner=r;i.logger=n},SelectorParser$(e,r,n,i,a){var l=s.SpanScanner$(e,a);return new s.SelectorParser(r,n,l,i==null?o.StderrLogger_false:i)},SelectorParser:function SelectorParser(e,r,n,i){var s=this;s._allowParent=e;s._allowPlaceholder=r;s.scanner=n;s.logger=i},SelectorParser_parse_closure:function SelectorParser_parse_closure(e){this.$this=e},SelectorParser_parseCompoundSelector_closure:function SelectorParser_parseCompoundSelector_closure(e){this.$this=e},StylesheetParser:function StylesheetParser(){},StylesheetParser_parse_closure:function StylesheetParser_parse_closure(e){this.$this=e},StylesheetParser_parse__closure:function StylesheetParser_parse__closure(e){this.$this=e},StylesheetParser_parse__closure0:function StylesheetParser_parse__closure0(){},StylesheetParser_parseArgumentDeclaration_closure:function StylesheetParser_parseArgumentDeclaration_closure(e){this.$this=e},StylesheetParser_parseVariableDeclaration_closure:function StylesheetParser_parseVariableDeclaration_closure(e){this.$this=e},StylesheetParser_parseUseRule_closure:function StylesheetParser_parseUseRule_closure(e){this.$this=e},StylesheetParser__parseSingleProduction_closure:function StylesheetParser__parseSingleProduction_closure(e,r,n){this.$this=e;this.production=r;this.T=n},StylesheetParser__statement_closure:function StylesheetParser__statement_closure(e){this.$this=e},StylesheetParser_variableDeclarationWithoutNamespace_closure:function StylesheetParser_variableDeclarationWithoutNamespace_closure(e,r){this.$this=e;this.start=r},StylesheetParser_variableDeclarationWithoutNamespace_closure0:function StylesheetParser_variableDeclarationWithoutNamespace_closure0(e){this.declaration=e},StylesheetParser__declarationOrBuffer_closure:function StylesheetParser__declarationOrBuffer_closure(e){this.name=e},StylesheetParser__declarationOrBuffer_closure0:function StylesheetParser__declarationOrBuffer_closure0(e,r){this._box_0=e;this.name=r},StylesheetParser__styleRule_closure:function StylesheetParser__styleRule_closure(e,r,n,i){var s=this;s._box_0=e;s.$this=r;s.wasInStyleRule=n;s.start=i},StylesheetParser__propertyOrVariableDeclaration_closure:function StylesheetParser__propertyOrVariableDeclaration_closure(e){this._box_0=e},StylesheetParser__propertyOrVariableDeclaration_closure0:function StylesheetParser__propertyOrVariableDeclaration_closure0(e,r){this._box_0=e;this.value=r},StylesheetParser__atRootRule_closure:function StylesheetParser__atRootRule_closure(e){this.query=e},StylesheetParser__atRootRule_closure0:function StylesheetParser__atRootRule_closure0(){},StylesheetParser__eachRule_closure:function StylesheetParser__eachRule_closure(e,r,n,i){var s=this;s.$this=e;s.wasInControlDirective=r;s.variables=n;s.list=i},StylesheetParser__functionRule_closure:function StylesheetParser__functionRule_closure(e,r,n){this.name=e;this.$arguments=r;this.precedingComment=n},StylesheetParser__forRule_closure:function StylesheetParser__forRule_closure(e,r){this._box_0=e;this.$this=r},StylesheetParser__forRule_closure0:function StylesheetParser__forRule_closure0(e,r,n,i,s,a){var o=this;o._box_0=e;o.$this=r;o.wasInControlDirective=n;o.variable=i;o.from=s;o.to=a},StylesheetParser__memberList_closure:function StylesheetParser__memberList_closure(e,r,n){this.$this=e;this.variables=r;this.identifiers=n},StylesheetParser__includeRule_closure:function StylesheetParser__includeRule_closure(e){this.contentArguments_=e},StylesheetParser_mediaRule_closure:function StylesheetParser_mediaRule_closure(e){this.query=e},StylesheetParser__mixinRule_closure:function StylesheetParser__mixinRule_closure(e,r,n,i){var s=this;s.$this=e;s.name=r;s.$arguments=n;s.precedingComment=i},StylesheetParser_mozDocumentRule_closure:function StylesheetParser_mozDocumentRule_closure(e,r,n,i){var s=this;s._box_0=e;s.$this=r;s.name=n;s.value=i},StylesheetParser_supportsRule_closure:function StylesheetParser_supportsRule_closure(e){this.condition=e},StylesheetParser__whileRule_closure:function StylesheetParser__whileRule_closure(e,r,n){this.$this=e;this.wasInControlDirective=r;this.condition=n},StylesheetParser_unknownAtRule_closure:function StylesheetParser_unknownAtRule_closure(e,r){this._box_0=e;this.name=r},StylesheetParser__expression_resetState:function StylesheetParser__expression_resetState(e,r,n){this._box_0=e;this.$this=r;this.start=n},StylesheetParser__expression_resolveOneOperation:function StylesheetParser__expression_resolveOneOperation(e,r){this._box_0=e;this.$this=r},StylesheetParser__expression_resolveOperations:function StylesheetParser__expression_resolveOperations(e,r){this._box_0=e;this.resolveOneOperation=r},StylesheetParser__expression_addSingleExpression:function StylesheetParser__expression_addSingleExpression(e,r,n,i){var s=this;s._box_0=e;s.$this=r;s.resetState=n;s.resolveOperations=i},StylesheetParser__expression_addOperator:function StylesheetParser__expression_addOperator(e,r,n){this._box_0=e;this.$this=r;this.resolveOneOperation=n},StylesheetParser__expression_resolveSpaceExpressions:function StylesheetParser__expression_resolveSpaceExpressions(e,r,n){this._box_0=e;this.$this=r;this.resolveOperations=n},StylesheetParser_expressionUntilComma_closure:function StylesheetParser_expressionUntilComma_closure(e){this.$this=e},StylesheetParser__unicodeRange_closure:function StylesheetParser__unicodeRange_closure(){},StylesheetParser__unicodeRange_closure0:function StylesheetParser__unicodeRange_closure0(){},StylesheetParser_namespacedExpression_closure:function StylesheetParser_namespacedExpression_closure(e,r){this.$this=e;this.start=r},StylesheetParser_trySpecialFunction_closure:function StylesheetParser_trySpecialFunction_closure(){},StylesheetParser__expressionUntilComparison_closure:function StylesheetParser__expressionUntilComparison_closure(e){this.$this=e},StylesheetParser__publicIdentifier_closure:function StylesheetParser__publicIdentifier_closure(e,r){this.$this=e;this.start=r},StylesheetNode$_(e,r,n,i){var a=new s.StylesheetNode(e,r,n,i.item1,i.item2,s.LinkedHashSet_LinkedHashSet$_empty($.StylesheetNode));a.StylesheetNode$_$4(e,r,n,i);return a},StylesheetGraph:function StylesheetGraph(e,r,n){this._nodes=e;this.importCache=r;this._transitiveModificationTimes=n},StylesheetGraph_modifiedSince_transitiveModificationTime:function StylesheetGraph_modifiedSince_transitiveModificationTime(e){this.$this=e},StylesheetGraph_modifiedSince_transitiveModificationTime_closure:function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(e,r){this.node=e;this.transitiveModificationTime=r},StylesheetGraph__add_closure:function StylesheetGraph__add_closure(e,r,n,i){var s=this;s.$this=e;s.url=r;s.baseImporter=n;s.baseUrl=i},StylesheetGraph_addCanonical_closure:function StylesheetGraph_addCanonical_closure(e,r,n,i){var s=this;s.$this=e;s.importer=r;s.canonicalUrl=n;s.originalUrl=i},StylesheetGraph_reload_closure:function StylesheetGraph_reload_closure(e,r,n){this.$this=e;this.node=r;this.canonicalUrl=n},StylesheetGraph__recanonicalizeImportsForNode_closure:function StylesheetGraph__recanonicalizeImportsForNode_closure(e,r,n,i,s,a){var o=this;o.$this=e;o.importer=r;o.canonicalUrl=n;o.node=i;o.forImport=s;o.newMap=a},StylesheetGraph__nodeFor_closure:function StylesheetGraph__nodeFor_closure(e,r,n,i,s){var a=this;a.$this=e;a.url=r;a.baseImporter=n;a.baseUrl=i;a.forImport=s},StylesheetGraph__nodeFor_closure0:function StylesheetGraph__nodeFor_closure0(e,r,n,i){var s=this;s.$this=e;s.importer=r;s.canonicalUrl=n;s.resolvedUrl=i},StylesheetNode:function StylesheetNode(e,r,n,i,s,a){var o=this;o._stylesheet=e;o.importer=r;o.canonicalUrl=n;o._upstream=i;o._upstreamImports=s;o._downstream=a},Syntax_forPath(e){switch(s.ParsedPath_ParsedPath$parse(e,u.$get$context().style)._splitExtension$1(1)[1]){case".sass":return o.Syntax_Sass;case".css":return o.Syntax_CSS;default:return o.Syntax_SCSS}},Syntax:function Syntax(e){this._syntax$_name=e},LimitedMapView$blocklist(e,r,n,i){var o,l,u=s.LinkedHashSet_LinkedHashSet$_empty(n);for(o=a.get$iterator$ax(e.get$keys(e));o.moveNext$0();){l=o.get$current(o);if(!r.contains$1(0,l))u.add$1(0,l)}return new s.LimitedMapView(e,u,n._eval$1("@<0>")._bind$1(i)._eval$1("LimitedMapView<1,2>"))},LimitedMapView:function LimitedMapView(e,r,n){this._limited_map_view$_map=e;this._limited_map_view$_keys=r;this.$ti=n},MergedMapView$(e,r,n){var i=r._eval$1("@<0>")._bind$1(n);i=new s.MergedMapView(s.LinkedHashMap_LinkedHashMap$_empty(r,i._eval$1("Map<1,2>")),i._eval$1("MergedMapView<1,2>"));i.MergedMapView$1(e,r,n);return i},MergedMapView:function MergedMapView(e,r){this._mapsByKey=e;this.$ti=r},MultiDirWatcher:function MultiDirWatcher(e,r,n){this._watchers=e;this._group=r;this._poll=n},MultiSpan:function MultiSpan(e,r,n){this._multi_span$_primary=e;this.primaryLabel=r;this.secondarySpans=n},NoSourceMapBuffer:function NoSourceMapBuffer(e){this._no_source_map_buffer$_buffer=e},PrefixedMapView:function PrefixedMapView(e,r,n){this._prefixed_map_view$_map=e;this._prefix=r;this.$ti=n},_PrefixedKeys:function _PrefixedKeys(e){this._view=e},_PrefixedKeys_iterator_closure:function _PrefixedKeys_iterator_closure(e){this.$this=e},PublicMemberMapView:function PublicMemberMapView(e,r){this._public_member_map_view$_inner=e;this.$ti=r},SourceMapBuffer:function SourceMapBuffer(e,r){var n=this;n._source_map_buffer$_buffer=e;n._entries=r;n._column=n._line=0;n._inSpan=false},SourceMapBuffer_buildSourceMap_closure:function SourceMapBuffer_buildSourceMap_closure(e,r){this._box_0=e;this.prefixLength=r},UnprefixedMapView:function UnprefixedMapView(e,r,n){this._unprefixed_map_view$_map=e;this._unprefixed_map_view$_prefix=r;this.$ti=n},_UnprefixedKeys:function _UnprefixedKeys(e){this._unprefixed_map_view$_view=e},_UnprefixedKeys_iterator_closure:function _UnprefixedKeys_iterator_closure(e){this.$this=e},_UnprefixedKeys_iterator_closure0:function _UnprefixedKeys_iterator_closure0(e){this.$this=e},toSentence(e,r){var n=e.__internal$_iterable,i=a.getInterceptor$asx(n);if(i.get$length(n)===1)return a.toString$0$(e._f.call$1(i.get$first(n)));return s.IterableExtension_get_exceptLast(e).join$1(0,", ")+(" "+r+" "+s.S(e._f.call$1(i.get$last(n))))},indent(e,r){return new s.MappedListIterable(s._setArrayType(e.split("\n"),$.JSArray_String),new s.indent_closure(r),$.MappedListIterable_String_String).join$1(0,"\n")},pluralize(e,r,n){if(r===1)return e;if(n!=null)return n;return e+"s"},trimAscii(e,r){var n,i=s._firstNonWhitespace(e);if(i==null)n="";else{n=s._lastNonWhitespace(e,true);n.toString;n=o.JSString_methods.substring$2(e,i,n+1)}return n},trimAsciiRight(e,r){var n=s._lastNonWhitespace(e,r);return n==null?"":o.JSString_methods.substring$2(e,0,n+1)},_firstNonWhitespace(e){var r,n,i;for(r=e.length,n=0;n=0;--i){s=o.JSString_methods.codeUnitAt$1(e,i);if(!(s===32||s===9||s===10||s===13||s===12))if(r&&i!==0&&i!==n&&s===92)return i+1;else return i}return null},isPublic(e){var r=o.JSString_methods._codeUnitAt$1(e,0);return r!==45&&r!==95},flattenVertically(e,r){var n,i=e.$ti._eval$1("@")._bind$1(r._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),a=s.List_List$of(new s.MappedListIterable(e,new s.flattenVertically_closure(r),i),true,i._eval$1("ListIterable.E"));if(a.length===1)return o.JSArray_methods.get$first(a);n=s._setArrayType([],r._eval$1("JSArray<0>"));for(;a.length!==0;){if(!!a.fixed$length)s.throwExpression(s.UnsupportedError$("removeWhere"));o.JSArray_methods._removeWhere$2(a,new s.flattenVertically_closure0(n,r),true)}return n},firstOrNull(e){var r=a.get$iterator$ax(e);return r.moveNext$0()?r.get$current(r):null},codepointIndexToCodeUnitIndex(e,r){var n,i,s;for(n=0,i=0;i>>10===54?s+1:s}return n},codeUnitIndexToCodepointIndex(e,r){var n,i;for(n=0,i=0;i>>10===54?i+1:i)+1)++n;return n},frameForSpan(e,r,n){var i,a,o=n==null?e.get$sourceUrl(e):n;if(o==null)o=u.$get$_noSourceUrl();i=e.get$start(e);i=i.file.getLine$1(i.offset);a=e.get$start(e);return new s.Frame(o,i+1,a.file.getColumn$1(a.offset)+1,r)},declarationName(e){var r=s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(e.file._decodedChars,e._file$_start,e._end),0,null);return s.trimAsciiRight(o.JSString_methods.substring$2(r,0,o.JSString_methods.indexOf$1(r,":")),false)},unvendor(e){var r,n=e.length;if(n<2)return e;if(o.JSString_methods._codeUnitAt$1(e,0)!==45)return e;if(o.JSString_methods._codeUnitAt$1(e,1)===45)return e;for(r=2;r>>0)+1,0,false,o);m=e.get$length(e);u=a.JSArray_JSArray$allocateFixed(m,i._eval$1("List<0?>"));for(o=i._eval$1("0?"),l=0;l>>0,null,false,o);for(_=0;_<(e._tail-e._head&a.get$length$asx(e._table)-1)>>>0;_=c)for(c=_+1,p=0;p<(r._tail-r._head&a.get$length$asx(r._table)-1)>>>0;p=d){h=n.call$2(e.$index(0,_),r.$index(0,p));u[_][p]=h;o=g[c];d=p+1;o[d]=h==null?Math.max(o[p],g[_][d]):g[_][p]+1}return new s.longestCommonSubsequence_backtrack(u,g,i).call$2(e.get$length(e)-1,r.get$length(r)-1)},removeFirstWhere(e,r,n){var i;for(i=0;i"))},mapAsync$body(e,r,n,i,a){var o=0,l=s._makeAsyncAwaitCompleter(a),u,_,c,$,p;var h=s._wrapJsFunctionForAsync((function(n,a){if(n===1)return s._asyncRethrow(a,l);while(true)switch(o){case 0:$=s._setArrayType([],i._eval$1("JSArray<0>"));_=e.length,c=0;case 3:if(!(c<_)){o=5;break}p=$;o=6;return s._asyncAwait(r.call$1(e[c]),h);case 6:p.push(a);case 4:++c;o=3;break;case 5:u=$;o=1;break;case 1:return s._asyncReturn(u,l)}}));return s._asyncStartSync(h,l)},putIfAbsentAsync(e,r,n,i,a){return s.putIfAbsentAsync$body(e,r,n,i,a,a)},putIfAbsentAsync$body(e,r,n,i,a,o){var l=0,u=s._makeAsyncAwaitCompleter(o),_,c,$;var p=s._wrapJsFunctionForAsync((function(i,o){if(i===1)return s._asyncRethrow(o,u);while(true)switch(l){case 0:if(e.containsKey$1(r)){c=e.$index(0,r);_=c==null?a._as(c):c;l=1;break}l=3;return s._asyncAwait(n.call$0(),p);case 3:$=o;e.$indexSet(0,r,$);_=$;l=1;break;case 1:return s._asyncReturn(_,u)}}));return s._asyncStartSync(p,u)},copyMapOfMap(e,r,n,i){var a,o,l,u,_=s.LinkedHashMap_LinkedHashMap$_empty(r,n._eval$1("@<0>")._bind$1(i)._eval$1("Map<1,2>"));for(a=e.get$entries(e),a=a.get$iterator(a);a.moveNext$0();){o=a.get$current(a);l=o.key;o=o.value;u=s.LinkedHashMap_LinkedHashMap(null,null,null,n,i);u.addAll$1(0,o);_.$indexSet(0,l,u)}return _},copyMapOfList(e,r,n){var i,o,l=s.LinkedHashMap_LinkedHashMap$_empty(r,n._eval$1("List<0>"));for(i=e.get$entries(e),i=i.get$iterator(i);i.moveNext$0();){o=i.get$current(i);l.$indexSet(0,o.key,a.toList$0$ax(o.value))}return l},consumeEscapedCharacter(e){var r,n,i,a,o;e.expectChar$1(92);r=e.peekChar$0();if(r==null)return 65533;else if(r===10||r===13||r===12)e.error$1(0,"Expected escape sequence.");else if(s.isHex(r)){for(n=0,i=0;i<6;++i){a=e.peekChar$0();if(a==null||!s.isHex(a))break;n=(n<<4>>>0)+s.asHex(e.readChar$0())}o=e.peekChar$0();if(o===32||o===9||o===10||o===13||o===12)e.readChar$0();if(n!==0)o=n>=55296&&n<=57343||n>=1114111;else o=true;if(o)return 65533;else return n}else return e.readChar$0()},throwWithTrace(e,r){s.attachTrace(e,r);throw s.wrapException(e)},attachTrace(e,r){var n;if(r.toString$0(0).length===0)return;n=u.$get$_traces();s.Expando__checkType(e);n=n._jsWeakMap;if(n.get(e)==null)n.set(e,r)},getTrace(e){var r;if(typeof e=="string"||typeof e=="number"||s._isBool(e))r=null;else{r=u.$get$_traces();s.Expando__checkType(e);r=r._jsWeakMap.get(e)}return r},IterableExtension_get_exceptLast(e){var r=a.getInterceptor$asx(e),n=r.get$length(e)-1;if(n<0)throw s.wrapException(s.StateError$("Iterable may not be empty"));return r.take$1(e,n)},indent_closure:function indent_closure(e){this.indentation=e},flattenVertically_closure:function flattenVertically_closure(e){this.T=e},flattenVertically_closure0:function flattenVertically_closure0(e,r){this.result=e;this.T=r},longestCommonSubsequence_backtrack:function longestCommonSubsequence_backtrack(e,r,n){this.selections=e;this.lengths=r;this.T=n},mapAddAll2_closure:function mapAddAll2_closure(e,r,n,i){var s=this;s.destination=e;s.K1=r;s.K2=n;s.V=i},SassApiValue_assertSelector(e,r,n){var i,l,u,_,c=e._selectorString$1(n);try{u=s.SelectorList_SelectorList$parse(c,r,true,null);return u}catch(_){u=s.unwrapException(_);if(u instanceof s.SassFormatException){i=u;l=s.getTraceFromException(_);u=o.JSString_methods.replaceFirst$2(a.toString$0$(i),"Error: ","");s.throwWithTrace(new s.SassScriptException(n==null?u:"$"+n+": "+u),l)}else throw _}},SassApiValue_assertCompoundSelector(e,r){var n,i,l,u,_=false,c=e._selectorString$1(r);try{l=s.SelectorParser$(c,_,true,null,null).parseCompoundSelector$0();return l}catch(u){l=s.unwrapException(u);if(l instanceof s.SassFormatException){n=l;i=s.getTraceFromException(u);l=o.JSString_methods.replaceFirst$2(a.toString$0$(n),"Error: ","");s.throwWithTrace(new s.SassScriptException("$"+r+": "+l),i)}else throw u}},Value:function Value(){},SassArgumentList$(e,r,n){var i=$.Value;i=new s.SassArgumentList(s.ConstantMap_ConstantMap$from(r,$.String,i),s.List_List$unmodifiable(e,i),n,false);i.SassList$3$brackets(e,n,false);return i},SassArgumentList:function SassArgumentList(e,r,n,i){var s=this;s._keywords=e;s._wereKeywordsAccessed=false;s._list$_contents=r;s._separator=n;s._hasBrackets=i},SassBoolean:function SassBoolean(e){this.value=e},SassCalculation_calc(e){e=s.SassCalculation__simplify(e);if(e instanceof s.SassNumber)return e;if(e instanceof s.SassCalculation)return e;return new s.SassCalculation("calc",s.List_List$unmodifiable([e],$.Object))},SassCalculation_min(e){var r,n,i,a,o=s.List_List$unmodifiable(new s.MappedListIterable(e,s.calculation_SassCalculation__simplify$closure(),s._arrayInstanceType(e)._eval$1("MappedListIterable<1,@>")),$.Object),l=o.length;if(l===0)throw s.wrapException(s.ArgumentError$("min() must have at least one argument.",null));for(r=null,n=0;n")),$.Object),l=o.length;if(l===0)throw s.wrapException(s.ArgumentError$("max() must have at least one argument.",null));for(r=null,n=0;n1||a.get$denominatorUnits(a).length!==0)throw s.wrapException(s.SassCalculation__exception("Number "+a.toString$0(0)+" isn't compatible with CSS calculations."))}for(r=i,o=0;o1){a=l.scaledWhiteness=_/$;c/=$}else a=_;a=new s.SassColor_SassColor$hwb_toRgb(l,1-a-c);return s.SassColor$rgb(a.call$1(u+.3333333333333333),a.call$1(u),a.call$1(u-.3333333333333333),i)},SassColor__hueToRgb(e,r,n){if(n<0)++n;if(n>1)--n;if(n<.16666666666666666)return e+(r-e)*n*6;else if(n<.5)return r;else if(n<.6666666666666666)return e+(r-e)*(.6666666666666666-n)*6;else return e},SassColor:function SassColor(e,r,n,i,s,a,o,l){var u=this;u._red=e;u._green=r;u._blue=n;u._hue=i;u._saturation=s;u._lightness=a;u._alpha=o;u.format=l},SassColor_SassColor$hwb_toRgb:function SassColor_SassColor$hwb_toRgb(e,r){this._box_0=e;this.factor=r},_ColorFormatEnum:function _ColorFormatEnum(e){this._color$_name=e},SpanColorFormat:function SpanColorFormat(e){this._color$_span=e},SassFunction:function SassFunction(e){this.callable=e},SassList$(e,r,n){var i=new s.SassList(s.List_List$unmodifiable(e,$.Value),r,n);i.SassList$3$brackets(e,r,n);return i},SassList:function SassList(e,r,n){this._list$_contents=e;this._separator=r;this._hasBrackets=n},SassList_isBlank_closure:function SassList_isBlank_closure(){},ListSeparator:function ListSeparator(e,r){this._list$_name=e;this.separator=r},SassMap:function SassMap(e){this._map$_contents=e},SassMap_asList_closure:function SassMap_asList_closure(e){this.result=e},_SassNull:function _SassNull(){},conversionFactor(e,r){var n;if(e===r)return 1;n=o.Map_K2BWj.$index(0,e);if(n==null)return null;return n.$index(0,r)},SassNumber_SassNumber(e,r){return r==null?new s.UnitlessSassNumber(e,null):new s.SingleUnitSassNumber(r,e,null)},SassNumber_SassNumber$withUnits(e,r,n){var i,a,l,u,_,c,p,h,d,m=null;if(r==null||r.length===0){i=n.length;if(i===0)return new s.UnitlessSassNumber(e,m);else if(i===1)return new s.SingleUnitSassNumber(n[0],e,m);else return new s.ComplexSassNumber(s.List_List$unmodifiable(n,$.String),o.List_empty,e,m)}else{i=n.length;if(i===0)return new s.ComplexSassNumber(o.List_empty,s.List_List$unmodifiable(r,$.String),e,m);else{a=s._setArrayType(n.slice(0),s._arrayInstanceType(n));l=s._setArrayType(r.slice(0),s.instanceType(r)._eval$1("JSArray<1>"));u=s._setArrayType([],$.JSArray_String);for(i=l.length,_=0;_d){d=g.target.line;f=s._setArrayType([],p);c._value=f;r.push(new s.TargetLineEntry(d,f))}f=g.source;y=f.file;S=y.url;v=S==null?"":S.toString$0(0);b=l.putIfAbsent$2(v,new s.SingleMapping_SingleMapping$fromEntries_closure(l));_.putIfAbsent$2(b,new s.SingleMapping_SingleMapping$fromEntries_closure0(g));v=c._value;if(v===c)s.throwExpression(s.LateError$localNI(h));f=f.offset;a.add$1$ax(v,new s.TargetEntry(g.target.column,b,y.getLine$1(f),y.getColumn$1(f),null))}i=l.get$values(l);i=s.MappedIterable_MappedIterable(i,new s.SingleMapping_SingleMapping$fromEntries_closure1(_),s._instanceType(i)._eval$1("Iterable.E"),$.nullable_SourceFile);i=s.List_List$of(i,true,s._instanceType(i)._eval$1("Iterable.E"));p=l.$ti._eval$1("LinkedHashMapKeyIterable<1>");h=u.$ti._eval$1("LinkedHashMapKeyIterable<1>");return new s.SingleMapping(s.List_List$of(new s.LinkedHashMapKeyIterable(l,p),true,p._eval$1("Iterable.E")),s.List_List$of(new s.LinkedHashMapKeyIterable(u,h),true,h._eval$1("Iterable.E")),i,r,null,s.LinkedHashMap_LinkedHashMap$_empty(n,$.dynamic))},Mapping:function Mapping(){},SingleMapping:function SingleMapping(e,r,n,i,s,a){var o=this;o.urls=e;o.names=r;o.files=n;o.lines=i;o.targetUrl=s;o.sourceRoot=null;o.extensions=a},SingleMapping_SingleMapping$fromEntries_closure:function SingleMapping_SingleMapping$fromEntries_closure(e){this.urls=e},SingleMapping_SingleMapping$fromEntries_closure0:function SingleMapping_SingleMapping$fromEntries_closure0(e){this.sourceEntry=e},SingleMapping_SingleMapping$fromEntries_closure1:function SingleMapping_SingleMapping$fromEntries_closure1(e){this.files=e},SingleMapping_toJson_closure:function SingleMapping_toJson_closure(){},SingleMapping_toJson_closure0:function SingleMapping_toJson_closure0(e){this.result=e},TargetLineEntry:function TargetLineEntry(e,r){this.line=e;this.entries=r},TargetEntry:function TargetEntry(e,r,n,i,s){var a=this;a.column=e;a.sourceUrlId=r;a.sourceLine=n;a.sourceColumn=i;a.sourceNameId=s},SourceFile$fromString(e,r){var n=new s.CodeUnits(e),i=s._setArrayType([0],$.JSArray_int),a=typeof r=="string"?s.Uri_parse(r):$.nullable_Uri._as(r);i=new s.SourceFile(a,i,new Uint32Array(s._ensureNativeList(n.toList$0(n))));i.SourceFile$decoded$2$url(n,r);return i},SourceFile$decoded(e,r){var n=s._setArrayType([0],$.JSArray_int),i=typeof r=="string"?s.Uri_parse(r):$.nullable_Uri._as(r);n=new s.SourceFile(i,n,new Uint32Array(s._ensureNativeList(a.toList$0$ax(e))));n.SourceFile$decoded$2$url(e,r);return n},FileLocation$_(e,r){if(r<0)s.throwExpression(s.RangeError$("Offset may not be negative, was "+r+"."));else if(r>e._decodedChars.length)s.throwExpression(s.RangeError$("Offset "+r+c.x20must_+e.get$length(e)+"."));return new s.FileLocation(e,r)},_FileSpan$(e,r,n){if(ne._decodedChars.length)s.throwExpression(s.RangeError$("End "+n+c.x20must_+e.get$length(e)+"."));else if(r<0)s.throwExpression(s.RangeError$("Start may not be negative, was "+r+"."));return new s._FileSpan(e,r,n)},FileSpanExtension_subspan(e,r,n){var i,a=e._end,o=e._file$_start,l=a-o;s.RangeError_checkValidRange(r,n,l);if(r===0)l=n==null||n===l;else l=false;if(l)return e;l=e.file;i=s.FileLocation$_(l,o).offset;a=n==null?s.FileLocation$_(l,a).offset:i+n;return l.span$2(0,i+r,a)},SourceFile:function SourceFile(e,r,n){var i=this;i.url=e;i._lineStarts=r;i._decodedChars=n;i._cachedLine=null},FileLocation:function FileLocation(e,r){this.file=e;this.offset=r},_FileSpan:function _FileSpan(e,r,n){this.file=e;this._file$_start=r;this._end=n},Highlighter$(e,r){var n=s.Highlighter__collateLines(s._setArrayType([s._Highlight$(e,null,true)],$.JSArray__Highlight)),i=new s.Highlighter_closure(r).call$0(),a=o.JSInt_methods.toString$0(o.JSArray_methods.get$last(n).number+1),l=s.Highlighter__contiguous(n)?0:3,u=s._arrayInstanceType(n);return new s.Highlighter(n,i,null,1+Math.max(a.length,l),new s.MappedListIterable(n,new s.Highlighter$__closure,u._eval$1("MappedListIterable<1,int>")).reduce$1(0,o.CONSTANT),!s.isAllTheSame(new s.MappedListIterable(n,new s.Highlighter$__closure0,u._eval$1("MappedListIterable<1,Object?>"))),new s.StringBuffer(""))},Highlighter$multiple(e,r,n,i,a,l){var u,_,c,p,h,d=s._setArrayType([s._Highlight$(e,r,true)],$.JSArray__Highlight);for(u=n.get$entries(n),u=u.get$iterator(u);u.moveNext$0();){_=u.get$current(u);d.push(s._Highlight$(_.key,_.value,false))}d=s.Highlighter__collateLines(d);if(i)u=a==null?"":a;else u=null;if(i)_="";else _=null;c=o.JSInt_methods.toString$0(o.JSArray_methods.get$last(d).number+1);p=s.Highlighter__contiguous(d)?0:3;h=s._arrayInstanceType(d);return new s.Highlighter(d,u,_,1+Math.max(c.length,p),new s.MappedListIterable(d,new s.Highlighter$__closure,h._eval$1("MappedListIterable<1,int>")).reduce$1(0,o.CONSTANT),!s.isAllTheSame(new s.MappedListIterable(d,new s.Highlighter$__closure0,h._eval$1("MappedListIterable<1,Object?>"))),new s.StringBuffer(""))},Highlighter__contiguous(e){var r,n,i;for(r=0;r");return s.List_List$of(new s.ExpandIterable(r,new s.Highlighter__collateLines_closure1,n),true,n._eval$1("Iterable.E"))},_Highlight$(e,r,n){var i,a=new s._Highlight_closure(e).call$0();if(r==null)i=null;else i=s.stringReplaceAllUnchecked(r,"\r\n","\n");return new s._Highlight(a,n,i)},_Highlight__normalizeNewlines(e){var r,n,i,a,l,u,_=e.get$text();if(!o.JSString_methods.contains$1(_,"\r\n"))return e;r=e.get$end(e).get$offset();for(n=_.length-1,i=0;i")),new s.Chain_Chain$parse_closure0,n._eval$1("MappedIterable<1,Trace>")),$.Trace))}if(!o.JSString_methods.contains$1(e,i))return new s.Chain(s.List_List$unmodifiable(s._setArrayType([s.Trace_Trace$parse(e)],$.JSArray_Trace),$.Trace));return new s.Chain(s.List_List$unmodifiable(new s.MappedListIterable(s._setArrayType(e.split(i),$.JSArray_String),new s.Chain_Chain$parse_closure1,$.MappedListIterable_String_Trace),$.Trace))},Chain:function Chain(e){this.traces=e},Chain_Chain$parse_closure:function Chain_Chain$parse_closure(){},Chain_Chain$parse_closure0:function Chain_Chain$parse_closure0(){},Chain_Chain$parse_closure1:function Chain_Chain$parse_closure1(){},Chain_toTrace_closure:function Chain_toTrace_closure(){},Chain_toString_closure0:function Chain_toString_closure0(){},Chain_toString__closure0:function Chain_toString__closure0(){},Chain_toString_closure:function Chain_toString_closure(e){this.longest=e},Chain_toString__closure:function Chain_toString__closure(e){this.longest=e},Frame_Frame$parseVM(e){return s.Frame__catchFormatException(e,new s.Frame_Frame$parseVM_closure(e))},Frame_Frame$parseV8(e){return s.Frame__catchFormatException(e,new s.Frame_Frame$parseV8_closure(e))},Frame_Frame$_parseFirefoxEval(e){return s.Frame__catchFormatException(e,new s.Frame_Frame$_parseFirefoxEval_closure(e))},Frame_Frame$parseFirefox(e){return s.Frame__catchFormatException(e,new s.Frame_Frame$parseFirefox_closure(e))},Frame_Frame$parseFriendly(e){return s.Frame__catchFormatException(e,new s.Frame_Frame$parseFriendly_closure(e))},Frame__uriOrPathToUri(e){if(o.JSString_methods.contains$1(e,u.$get$Frame__uriRegExp()))return s.Uri_parse(e);else if(o.JSString_methods.contains$1(e,u.$get$Frame__windowsRegExp()))return s._Uri__Uri$file(e,true);else if(o.JSString_methods.startsWith$1(e,"/"))return s._Uri__Uri$file(e,false);if(o.JSString_methods.contains$1(e,"\\"))return u.$get$windows().toUri$1(e);return s.Uri_parse(e)},Frame__catchFormatException(e,r){var n,i;try{n=r.call$0();return n}catch(i){if($.FormatException._is(s.unwrapException(i)))return new s.UnparsedFrame(s._Uri__Uri(null,"unparsed",null,null),e);else throw i}},Frame:function Frame(e,r,n,i){var s=this;s.uri=e;s.line=r;s.column=n;s.member=i},Frame_Frame$parseVM_closure:function Frame_Frame$parseVM_closure(e){this.frame=e},Frame_Frame$parseV8_closure:function Frame_Frame$parseV8_closure(e){this.frame=e},Frame_Frame$parseV8_closure_parseLocation:function Frame_Frame$parseV8_closure_parseLocation(e){this.frame=e},Frame_Frame$_parseFirefoxEval_closure:function Frame_Frame$_parseFirefoxEval_closure(e){this.frame=e},Frame_Frame$parseFirefox_closure:function Frame_Frame$parseFirefox_closure(e){this.frame=e},Frame_Frame$parseFriendly_closure:function Frame_Frame$parseFriendly_closure(e){this.frame=e},LazyTrace:function LazyTrace(e){this._thunk=e;this.__LazyTrace__trace=u},LazyTrace_terse_closure:function LazyTrace_terse_closure(e){this.$this=e},Trace_Trace$from(e){if($.Trace._is(e))return e;if(e instanceof s.Chain)return e.toTrace$0();return new s.LazyTrace(new s.Trace_Trace$from_closure(e))},Trace_Trace$parse(e){var r,n,i;try{if(e.length===0){n=s.Trace$(s._setArrayType([],$.JSArray_Frame),null);return n}if(o.JSString_methods.contains$1(e,u.$get$_v8Trace())){n=s.Trace$parseV8(e);return n}if(o.JSString_methods.contains$1(e,"\tat ")){n=s.Trace$parseJSCore(e);return n}if(o.JSString_methods.contains$1(e,u.$get$_firefoxSafariTrace())||o.JSString_methods.contains$1(e,u.$get$_firefoxEvalTrace())){n=s.Trace$parseFirefox(e);return n}if(o.JSString_methods.contains$1(e,c.x3d_____)){n=s.Chain_Chain$parse(e).toTrace$0();return n}if(o.JSString_methods.contains$1(e,u.$get$_friendlyTrace())){n=s.Trace$parseFriendly(e);return n}n=s.Trace$parseVM(e);return n}catch(i){n=s.unwrapException(i);if($.FormatException._is(n)){r=n;throw s.wrapException(s.FormatException$(a.get$message$x(r)+"\nStack trace:\n"+e,null,null))}else throw i}},Trace$parseVM(e){var r=s.List_List$unmodifiable(s.Trace__parseVM(e),$.Frame);return new s.Trace(r,new s._StringStackTrace(e))},Trace__parseVM(e){var r,n=o.JSString_methods.trim$0(e),i=u.$get$vmChainGap(),l=$.WhereIterable_String,_=new s.WhereIterable(s._setArrayType(s.stringReplaceAllUnchecked(n,i,"").split("\n"),$.JSArray_String),new s.Trace__parseVM_closure,l);if(!_.get$iterator(_).moveNext$0())return s._setArrayType([],$.JSArray_Frame);n=s.TakeIterable_TakeIterable(_,_.get$length(_)-1,l._eval$1("Iterable.E"));n=s.MappedIterable_MappedIterable(n,new s.Trace__parseVM_closure0,s._instanceType(n)._eval$1("Iterable.E"),$.Frame);r=s.List_List$of(n,true,s._instanceType(n)._eval$1("Iterable.E"));if(!a.endsWith$1$s(_.get$last(_),".da"))o.JSArray_methods.add$1(r,s.Frame_Frame$parseVM(_.get$last(_)));return r},Trace$parseV8(e){var r=s.SubListIterable$(s._setArrayType(e.split("\n"),$.JSArray_String),1,null,$.String).super$Iterable$skipWhile(0,new s.Trace$parseV8_closure),n=$.Frame;n=s.List_List$unmodifiable(s.MappedIterable_MappedIterable(r,new s.Trace$parseV8_closure0,r.$ti._eval$1("Iterable.E"),n),n);return new s.Trace(n,new s._StringStackTrace(e))},Trace$parseJSCore(e){var r=s.List_List$unmodifiable(new s.MappedIterable(new s.WhereIterable(s._setArrayType(e.split("\n"),$.JSArray_String),new s.Trace$parseJSCore_closure,$.WhereIterable_String),new s.Trace$parseJSCore_closure0,$.MappedIterable_String_Frame),$.Frame);return new s.Trace(r,new s._StringStackTrace(e))},Trace$parseFirefox(e){var r=s.List_List$unmodifiable(new s.MappedIterable(new s.WhereIterable(s._setArrayType(o.JSString_methods.trim$0(e).split("\n"),$.JSArray_String),new s.Trace$parseFirefox_closure,$.WhereIterable_String),new s.Trace$parseFirefox_closure0,$.MappedIterable_String_Frame),$.Frame);return new s.Trace(r,new s._StringStackTrace(e))},Trace$parseFriendly(e){var r=e.length===0?s._setArrayType([],$.JSArray_Frame):new s.MappedIterable(new s.WhereIterable(s._setArrayType(o.JSString_methods.trim$0(e).split("\n"),$.JSArray_String),new s.Trace$parseFriendly_closure,$.WhereIterable_String),new s.Trace$parseFriendly_closure0,$.MappedIterable_String_Frame);r=s.List_List$unmodifiable(r,$.Frame);return new s.Trace(r,new s._StringStackTrace(e))},Trace$(e,r){var n=s.List_List$unmodifiable(e,$.Frame);return new s.Trace(n,new s._StringStackTrace(r==null?"":r))},Trace:function Trace(e,r){this.frames=e;this.original=r},Trace_Trace$from_closure:function Trace_Trace$from_closure(e){this.trace=e},Trace__parseVM_closure:function Trace__parseVM_closure(){},Trace__parseVM_closure0:function Trace__parseVM_closure0(){},Trace$parseV8_closure:function Trace$parseV8_closure(){},Trace$parseV8_closure0:function Trace$parseV8_closure0(){},Trace$parseJSCore_closure:function Trace$parseJSCore_closure(){},Trace$parseJSCore_closure0:function Trace$parseJSCore_closure0(){},Trace$parseFirefox_closure:function Trace$parseFirefox_closure(){},Trace$parseFirefox_closure0:function Trace$parseFirefox_closure0(){},Trace$parseFriendly_closure:function Trace$parseFriendly_closure(){},Trace$parseFriendly_closure0:function Trace$parseFriendly_closure0(){},Trace_terse_closure:function Trace_terse_closure(){},Trace_foldFrames_closure:function Trace_foldFrames_closure(e){this.oldPredicate=e},Trace_foldFrames_closure0:function Trace_foldFrames_closure0(e){this._box_0=e},Trace_toString_closure0:function Trace_toString_closure0(){},Trace_toString_closure:function Trace_toString_closure(e){this.longest=e},UnparsedFrame:function UnparsedFrame(e,r){this.uri=e;this.member=r},TransformByHandlers_transformByHandlers(e,r,n,i,a){var o=null,l={},u=s.StreamController_StreamController(o,o,o,o,true,a);l.subscription=null;u.onListen=new s.TransformByHandlers_transformByHandlers_closure(l,e,r,u,s.instantiate1(s.from_handlers__TransformByHandlers__defaultHandleError$closure(),a),n,i);return u.get$stream()},TransformByHandlers__defaultHandleError(e,r,n){n.addError$2(e,r)},TransformByHandlers_transformByHandlers_closure:function TransformByHandlers_transformByHandlers_closure(e,r,n,i,s,a,o){var l=this;l._box_1=e;l._this=r;l.handleData=n;l.controller=i;l.handleError=s;l.handleDone=a;l.S=o},TransformByHandlers_transformByHandlers__closure:function TransformByHandlers_transformByHandlers__closure(e,r,n){this.handleData=e;this.controller=r;this.S=n},TransformByHandlers_transformByHandlers__closure1:function TransformByHandlers_transformByHandlers__closure1(e,r){this.handleError=e;this.controller=r},TransformByHandlers_transformByHandlers__closure0:function TransformByHandlers_transformByHandlers__closure0(e,r,n){this._box_0=e;this.handleDone=r;this.controller=n},TransformByHandlers_transformByHandlers__closure2:function TransformByHandlers_transformByHandlers__closure2(e,r){this._box_1=e;this._box_0=r},RateLimit__debounceAggregate(e,r,n,i,a,o,l){var u={};u.soFar=u.timer=null;u.emittedLatestAsLeading=u.shouldClose=u.hasPending=false;return s.TransformByHandlers_transformByHandlers(e,new s.RateLimit__debounceAggregate_closure(u,l,n,false,r,true,o),new s.RateLimit__debounceAggregate_closure0(u,true,l),o,l)},_collect(e,r,n){var i=r==null?s._setArrayType([],n._eval$1("JSArray<0>")):r;a.add$1$ax(i,e);return i},RateLimit__debounceAggregate_closure:function RateLimit__debounceAggregate_closure(e,r,n,i,s,a,o){var l=this;l._box_0=e;l.S=r;l.collect=n;l.leading=i;l.duration=s;l.trailing=a;l.T=o},RateLimit__debounceAggregate_closure_emit:function RateLimit__debounceAggregate_closure_emit(e,r,n){this._box_0=e;this.sink=r;this.S=n},RateLimit__debounceAggregate__closure:function RateLimit__debounceAggregate__closure(e,r,n,i){var s=this;s._box_0=e;s.trailing=r;s.emit=n;s.sink=i},RateLimit__debounceAggregate_closure0:function RateLimit__debounceAggregate_closure0(e,r,n){this._box_0=e;this.trailing=r;this.S=n},StringScannerException$(e,r,n){return new s.StringScannerException(n,e,r)},StringScannerException:function StringScannerException(e,r,n){this.source=e;this._span_exception$_message=r;this._span=n},LineScanner$(e){return new s.LineScanner(null,e)},LineScanner:function LineScanner(e,r){var n=this;n._line_scanner$_column=n._line_scanner$_line=0;n.sourceUrl=e;n.string=r;n._string_scanner$_position=0;n._lastMatchPosition=n._lastMatch=null},SpanScanner$(e,r){var n,i=s.SourceFile$fromString(e,r);if(r==null)n=null;else n=typeof r=="string"?s.Uri_parse(r):$.Uri._as(r);return new s.SpanScanner(i,n,e)},SpanScanner:function SpanScanner(e,r,n){var i=this;i._sourceFile=e;i.sourceUrl=r;i.string=n;i._string_scanner$_position=0;i._lastMatchPosition=i._lastMatch=null},_SpanScannerState:function _SpanScannerState(e,r){this._scanner=e;this.position=r},StringScanner$(e,r,n){var i;if(n==null)i=null;else i=typeof n=="string"?s.Uri_parse(n):$.Uri._as(n);return new s.StringScanner(i,e)},StringScanner:function StringScanner(e,r){var n=this;n.sourceUrl=e;n.string=r;n._string_scanner$_position=0;n._lastMatchPosition=n._lastMatch=null},AsciiGlyphSet:function AsciiGlyphSet(){},UnicodeGlyphSet:function UnicodeGlyphSet(){},Tuple2:function Tuple2(e,r,n){this.item1=e;this.item2=r;this.$ti=n},Tuple3:function Tuple3(e,r,n,i){var s=this;s.item1=e;s.item2=r;s.item3=n;s.$ti=i},Tuple4:function Tuple4(e,r,n,i,s){var a=this;a.item1=e;a.item2=r;a.item3=n;a.item4=i;a.$ti=s},WatchEvent:function WatchEvent(e,r){this.type=e;this.path=r},ChangeType:function ChangeType(e){this._watch_event$_name=e},AnySelectorVisitor0:function AnySelectorVisitor0(){},AnySelectorVisitor_visitComplexSelector_closure0:function AnySelectorVisitor_visitComplexSelector_closure0(e){this.$this=e},AnySelectorVisitor_visitCompoundSelector_closure0:function AnySelectorVisitor_visitCompoundSelector_closure0(e){this.$this=e},SupportsAnything0:function SupportsAnything0(e,r){this.contents=e;this.span=r},Argument0:function Argument0(e,r,n){this.name=e;this.defaultValue=r;this.span=n},ArgumentDeclaration_ArgumentDeclaration$parse0(e,r){return s.ScssParser$0(e,null,r).parseArgumentDeclaration$0()},ArgumentDeclaration0:function ArgumentDeclaration0(e,r,n){this.$arguments=e;this.restArgument=r;this.span=n},ArgumentDeclaration_verify_closure1:function ArgumentDeclaration_verify_closure1(){},ArgumentDeclaration_verify_closure2:function ArgumentDeclaration_verify_closure2(){},ArgumentInvocation$empty0(e){return new s.ArgumentInvocation0(o.List_empty21,o.Map_empty9,null,null,e)},ArgumentInvocation0:function ArgumentInvocation0(e,r,n,i,s){var a=this;a.positional=e;a.named=r;a.rest=n;a.keywordRest=i;a.span=s},argumentListClass_closure:function argumentListClass_closure(){},argumentListClass__closure:function argumentListClass__closure(){},argumentListClass__closure0:function argumentListClass__closure0(){},SassArgumentList$0(e,r,n){var i=$.Value_2;i=new s.SassArgumentList0(s.ConstantMap_ConstantMap$from(r,$.String,i),s.List_List$unmodifiable(e,i),n,false);i.SassList$3$brackets0(e,n,false);return i},SassArgumentList0:function SassArgumentList0(e,r,n,i){var s=this;s._argument_list$_keywords=e;s._argument_list$_wereKeywordsAccessed=false;s._list1$_contents=r;s._list1$_separator=n;s._list1$_hasBrackets=i},JSArray1:function JSArray1(){},AsyncImporter0:function AsyncImporter0(){},NodeToDartAsyncImporter:function NodeToDartAsyncImporter(e,r){this._async0$_canonicalize=e;this._load=r},AsyncBuiltInCallable$mixin0(e,r,n,i){return new s.AsyncBuiltInCallable0(e,s.ScssParser$0("@mixin "+e+"("+r+") {",null,i).parseArgumentDeclaration$0(),new s.AsyncBuiltInCallable$mixin_closure0(n))},AsyncBuiltInCallable0:function AsyncBuiltInCallable0(e,r,n){this.name=e;this._async_built_in0$_arguments=r;this._async_built_in0$_callback=n},AsyncBuiltInCallable$mixin_closure0:function AsyncBuiltInCallable$mixin_closure0(e){this.callback=e},compileAsync0(e,r,n,i,o,l,_,c,p,h,d,m,g,f){var y=0,S=s._makeAsyncAwaitCompleter($.CompileResult_2),v,b,x,w,C,E,A,M;var I=s._wrapJsFunctionForAsync((function(V,L){if(V===1)return s._asyncRethrow(L,S);while(true)switch(y){case 0:if(!f){b=new s.TerseLogger0(s.LinkedHashMap_LinkedHashMap$_empty($.String,$.int),_);_=b}else b=null;x=c==null;if(x)w=m==null||m===s.Syntax_forPath0(e);else w=false;y=w?3:5;break;case 3:if(i==null)i=s.AsyncImportCache$none(_);w=u.$get$context();C=w.absolute$7(".",null,null,null,null,null,null);y=6;return s._asyncAwait(i.importCanonical$3$originalUrl(new s.FilesystemImporter0(C),w.toUri$1(a.$eq$(a.get$platform$x(self.process),"win32")||a.$eq$(a.get$platform$x(self.process),"darwin")?s._realCasePath0(w.absolute$7(w.normalize$1(e),null,null,null,null,null,null)):w.canonicalize$1(0,e)),w.toUri$1(e)),I);case 6:C=L;C.toString;E=C;y=4;break;case 5:w=s.readFile0(e);C=m==null?s.Syntax_forPath0(e):m;A=u.$get$context();E=s.Stylesheet_Stylesheet$parse0(w,C,_,A.toUri$1(e));w=A;case 4:y=7;return s._asyncAwait(s._compileStylesheet2(E,_,i,c,new s.FilesystemImporter0(w.absolute$7(".",null,null,null,null,null,null)),n,d,g,o,l,p,h,r),I);case 7:M=L;if(b!=null)b.summarize$1$node(!x);v=M;y=1;break;case 1:return s._asyncReturn(v,S)}}));return s._asyncStartSync(I,S)},compileStringAsync0(e,r,n,i,a,l,_,c,p,h,d,m,g,f,y,S){var v=0,b=s._makeAsyncAwaitCompleter($.CompileResult_2),x,w,C,E;var A=s._wrapJsFunctionForAsync((function(M,I){if(M===1)return s._asyncRethrow(I,b);while(true)switch(v){case 0:if(!S){w=new s.TerseLogger0(s.LinkedHashMap_LinkedHashMap$_empty($.String,$.int),c);c=w}else w=null;C=s.Stylesheet_Stylesheet$parse0(e,g==null?o.Syntax_SCSS0:g,c,f);v=3;return s._asyncAwait(s._compileStylesheet2(C,c,i,p,a==null?new s.FilesystemImporter0(u.$get$context().absolute$7(".",null,null,null,null,null,null)):a,n,m,y,l,_,h,d,r),A);case 3:E=I;if(w!=null)w.summarize$1$node(p!=null);x=E;v=1;break;case 1:return s._asyncReturn(x,b)}}));return s._asyncStartSync(A,b)},_compileStylesheet2(e,r,n,i,a,o,l,u,_,c,p,h,d){var m=0,g=s._makeAsyncAwaitCompleter($.CompileResult_2),f,y,S,v;var b=s._wrapJsFunctionForAsync((function($,x){if($===1)return s._asyncRethrow(x,g);while(true)switch(m){case 0:m=3;return s._asyncAwait(s._EvaluateVisitor$2(o,n,r,i,p,h).run$2(0,a,e),b);case 3:y=x;S=s.serialize0(y.stylesheet,d,_,false,c,h,l,u);v=S.sourceMap;if(v!=null&&n!=null)s.mapInPlace0(v.urls,new s._compileStylesheet_closure2(e,n));f=new s.CompileResult0(y,S);m=1;break;case 1:return s._asyncReturn(f,g)}}));return s._asyncStartSync(b,g)},_compileStylesheet_closure2:function _compileStylesheet_closure2(e,r){this.stylesheet=e;this.importCache=r},AsyncEnvironment$0(){var e=$.String,r=$.Module_AsyncCallable_2,n=$.AstNode_2,i=$.int,a=$.AsyncCallable_2,o=$.JSArray_Map_String_AsyncCallable_2;return new s.AsyncEnvironment0(s.LinkedHashMap_LinkedHashMap$_empty(e,r),s.LinkedHashMap_LinkedHashMap$_empty(e,n),s.LinkedHashMap_LinkedHashMap$_empty(r,n),s.LinkedHashMap_LinkedHashMap$_empty(r,n),null,null,s._setArrayType([],$.JSArray_Module_AsyncCallable_2),s._setArrayType([s.LinkedHashMap_LinkedHashMap$_empty(e,$.Value_2)],$.JSArray_Map_String_Value_2),s._setArrayType([s.LinkedHashMap_LinkedHashMap$_empty(e,n)],$.JSArray_Map_String_AstNode_2),s.LinkedHashMap_LinkedHashMap$_empty(e,i),s._setArrayType([s.LinkedHashMap_LinkedHashMap$_empty(e,a)],o),s.LinkedHashMap_LinkedHashMap$_empty(e,i),s._setArrayType([s.LinkedHashMap_LinkedHashMap$_empty(e,a)],o),s.LinkedHashMap_LinkedHashMap$_empty(e,i),null)},AsyncEnvironment$_0(e,r,n,i,a,o,l,u,_,c,p,h){var d=$.String,m=$.int;return new s.AsyncEnvironment0(e,r,n,i,a,o,l,u,_,s.LinkedHashMap_LinkedHashMap$_empty(d,m),c,s.LinkedHashMap_LinkedHashMap$_empty(d,m),p,s.LinkedHashMap_LinkedHashMap$_empty(d,m),h)},_EnvironmentModule__EnvironmentModule2(e,r,n,i){var l,u,_,c,p,h;if(i==null)i=o.Set_empty3;l=s._EnvironmentModule__makeModulesByVariable2(i);u=s._EnvironmentModule__memberMap2(o.JSArray_methods.get$first(e._async_environment0$_variables),i.map$1$1(0,new s._EnvironmentModule__EnvironmentModule_closure17,$.Map_String_Value_2),$.Value_2);_=s._EnvironmentModule__memberMap2(o.JSArray_methods.get$first(e._async_environment0$_variableNodes),i.map$1$1(0,new s._EnvironmentModule__EnvironmentModule_closure18,$.Map_String_AstNode_2),$.AstNode_2);c=$.Map_String_AsyncCallable_2;p=$.AsyncCallable_2;h=s._EnvironmentModule__memberMap2(o.JSArray_methods.get$first(e._async_environment0$_functions),i.map$1$1(0,new s._EnvironmentModule__EnvironmentModule_closure19,c),p);p=s._EnvironmentModule__memberMap2(o.JSArray_methods.get$first(e._async_environment0$_mixins),i.map$1$1(0,new s._EnvironmentModule__EnvironmentModule_closure20,c),p);c=a.get$isNotEmpty$asx(r.get$children(r))||o.JSArray_methods.any$1(e._async_environment0$_allModules,new s._EnvironmentModule__EnvironmentModule_closure21);return s._EnvironmentModule$_2(e,r,n,l,u,_,h,p,c,!n.get$isEmpty(n)||o.JSArray_methods.any$1(e._async_environment0$_allModules,new s._EnvironmentModule__EnvironmentModule_closure22))},_EnvironmentModule__makeModulesByVariable2(e){var r,n,i,l,u,_;if(e.get$isEmpty(e))return o.Map_empty10;r=s.LinkedHashMap_LinkedHashMap$_empty($.String,$.Module_AsyncCallable_2);for(n=e.get$iterator(e);n.moveNext$0();){i=n.get$current(n);if(i instanceof s._EnvironmentModule2){for(l=i._async_environment0$_modulesByVariable,l=l.get$values(l),l=l.get$iterator(l);l.moveNext$0();){u=l.get$current(l);_=u.get$variables();s.setAll0(r,_.get$keys(_),u)}s.setAll0(r,a.get$keys$z(o.JSArray_methods.get$first(i._async_environment0$_environment._async_environment0$_variables)),i)}else{l=i.get$variables();s.setAll0(r,l.get$keys(l),i)}}return r},_EnvironmentModule__memberMap2(e,r,n){var i,a,o;e=new s.PublicMemberMapView0(e,n._eval$1("PublicMemberMapView0<0>"));if(r.get$isEmpty(r))return e;i=s._setArrayType([],n._eval$1("JSArray>"));for(a=r.get$iterator(r);a.moveNext$0();){o=a.get$current(a);if(o.get$isNotEmpty(o))i.push(o)}i.push(e);if(i.length===1)return e;return s.MergedMapView$0(i,$.String,n)},_EnvironmentModule$_2(e,r,n,i,a,o,l,u,_,c){return new s._EnvironmentModule2(e._async_environment0$_allModules,a,o,l,u,n,r,_,c,e,i)},AsyncEnvironment0:function AsyncEnvironment0(e,r,n,i,s,a,o,l,u,_,c,$,p,h,d){var m=this;m._async_environment0$_modules=e;m._async_environment0$_namespaceNodes=r;m._async_environment0$_globalModules=n;m._async_environment0$_importedModules=i;m._async_environment0$_forwardedModules=s;m._async_environment0$_nestedForwardedModules=a;m._async_environment0$_allModules=o;m._async_environment0$_variables=l;m._async_environment0$_variableNodes=u;m._async_environment0$_variableIndices=_;m._async_environment0$_functions=c;m._async_environment0$_functionIndices=$;m._async_environment0$_mixins=p;m._async_environment0$_mixinIndices=h;m._async_environment0$_content=d;m._async_environment0$_inMixin=false;m._async_environment0$_inSemiGlobalScope=true;m._async_environment0$_lastVariableIndex=m._async_environment0$_lastVariableName=null},AsyncEnvironment_importForwards_closure2:function AsyncEnvironment_importForwards_closure2(){},AsyncEnvironment_importForwards_closure3:function AsyncEnvironment_importForwards_closure3(){},AsyncEnvironment_importForwards_closure4:function AsyncEnvironment_importForwards_closure4(){},AsyncEnvironment__getVariableFromGlobalModule_closure0:function AsyncEnvironment__getVariableFromGlobalModule_closure0(e){this.name=e},AsyncEnvironment_setVariable_closure2:function AsyncEnvironment_setVariable_closure2(e,r){this.$this=e;this.name=r},AsyncEnvironment_setVariable_closure3:function AsyncEnvironment_setVariable_closure3(e){this.name=e},AsyncEnvironment_setVariable_closure4:function AsyncEnvironment_setVariable_closure4(e,r){this.$this=e;this.name=r},AsyncEnvironment__getFunctionFromGlobalModule_closure0:function AsyncEnvironment__getFunctionFromGlobalModule_closure0(e){this.name=e},AsyncEnvironment__getMixinFromGlobalModule_closure0:function AsyncEnvironment__getMixinFromGlobalModule_closure0(e){this.name=e},AsyncEnvironment_toModule_closure0:function AsyncEnvironment_toModule_closure0(){},AsyncEnvironment_toDummyModule_closure0:function AsyncEnvironment_toDummyModule_closure0(){},AsyncEnvironment__fromOneModule_closure0:function AsyncEnvironment__fromOneModule_closure0(e,r){this.callback=e;this.T=r},AsyncEnvironment__fromOneModule__closure0:function AsyncEnvironment__fromOneModule__closure0(e,r){this.entry=e;this.T=r},_EnvironmentModule2:function _EnvironmentModule2(e,r,n,i,s,a,o,l,u,_,c){var $=this;$.upstream=e;$.variables=r;$.variableNodes=n;$.functions=i;$.mixins=s;$.extensionStore=a;$.css=o;$.transitivelyContainsCss=l;$.transitivelyContainsExtensions=u;$._async_environment0$_environment=_;$._async_environment0$_modulesByVariable=c},_EnvironmentModule__EnvironmentModule_closure17:function _EnvironmentModule__EnvironmentModule_closure17(){},_EnvironmentModule__EnvironmentModule_closure18:function _EnvironmentModule__EnvironmentModule_closure18(){},_EnvironmentModule__EnvironmentModule_closure19:function _EnvironmentModule__EnvironmentModule_closure19(){},_EnvironmentModule__EnvironmentModule_closure20:function _EnvironmentModule__EnvironmentModule_closure20(){},_EnvironmentModule__EnvironmentModule_closure21:function _EnvironmentModule__EnvironmentModule_closure21(){},_EnvironmentModule__EnvironmentModule_closure22:function _EnvironmentModule__EnvironmentModule_closure22(){},_EvaluateVisitor$2(e,r,n,i,a,l){var u,_=$.Uri,c=$.Module_AsyncCallable_2,p=s._setArrayType([],$.JSArray_Tuple2_String_AstNode_2);if(i==null)u=r==null?s.AsyncImportCache$none(n):r;else u=null;_=new s._EvaluateVisitor2(u,i,s.LinkedHashMap_LinkedHashMap$_empty($.String,$.AsyncCallable_2),s.LinkedHashMap_LinkedHashMap$_empty(_,c),s.LinkedHashMap_LinkedHashMap$_empty(_,c),s.LinkedHashMap_LinkedHashMap$_empty(_,$.AstNode_2),n,s.LinkedHashSet_LinkedHashSet$_empty($.Tuple2_String_SourceSpan),a,l,s.AsyncEnvironment$0(),s.LinkedHashSet_LinkedHashSet$_empty(_),s.LinkedHashMap_LinkedHashMap$_empty(_,$.nullable_AstNode_2),p,o.Configuration_Map_empty0);_._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(e,r,n,i,a,l);return _},_EvaluateVisitor2:function _EvaluateVisitor2(e,r,n,i,s,a,o,l,u,_,c,$,p,h,d){var m=this;m._async_evaluate0$_importCache=e;m._async_evaluate0$_nodeImporter=r;m._async_evaluate0$_builtInFunctions=n;m._async_evaluate0$_builtInModules=i;m._async_evaluate0$_modules=s;m._async_evaluate0$_moduleNodes=a;m._async_evaluate0$_logger=o;m._async_evaluate0$_warningsEmitted=l;m._async_evaluate0$_quietDeps=u;m._async_evaluate0$_sourceMap=_;m._async_evaluate0$_environment=c;m._async_evaluate0$_declarationName=m._async_evaluate0$__parent=m._async_evaluate0$_mediaQueries=m._async_evaluate0$_styleRuleIgnoringAtRoot=null;m._async_evaluate0$_member="root stylesheet";m._async_evaluate0$_importSpan=m._async_evaluate0$_callableNode=m._async_evaluate0$_currentCallable=null;m._async_evaluate0$_inSupportsDeclaration=m._async_evaluate0$_inKeyframes=m._async_evaluate0$_atRootExcludingStyleRule=m._async_evaluate0$_inUnknownAtRule=m._async_evaluate0$_inFunction=false;m._async_evaluate0$_loadedUrls=$;m._async_evaluate0$_activeModules=p;m._async_evaluate0$_stack=h;m._async_evaluate0$_importer=null;m._async_evaluate0$_inDependency=false;m._async_evaluate0$__extensionStore=m._async_evaluate0$_outOfOrderImports=m._async_evaluate0$__endOfImports=m._async_evaluate0$__root=m._async_evaluate0$__stylesheet=null;m._async_evaluate0$_configuration=d},_EvaluateVisitor_closure29:function _EvaluateVisitor_closure29(e){this.$this=e},_EvaluateVisitor_closure30:function _EvaluateVisitor_closure30(e){this.$this=e},_EvaluateVisitor_closure31:function _EvaluateVisitor_closure31(e){this.$this=e},_EvaluateVisitor_closure32:function _EvaluateVisitor_closure32(e){this.$this=e},_EvaluateVisitor_closure33:function _EvaluateVisitor_closure33(e){this.$this=e},_EvaluateVisitor_closure34:function _EvaluateVisitor_closure34(e){this.$this=e},_EvaluateVisitor_closure35:function _EvaluateVisitor_closure35(e){this.$this=e},_EvaluateVisitor_closure36:function _EvaluateVisitor_closure36(e){this.$this=e},_EvaluateVisitor__closure10:function _EvaluateVisitor__closure10(e,r,n){this.$this=e;this.name=r;this.module=n},_EvaluateVisitor_closure37:function _EvaluateVisitor_closure37(e){this.$this=e},_EvaluateVisitor_closure38:function _EvaluateVisitor_closure38(e){this.$this=e},_EvaluateVisitor__closure8:function _EvaluateVisitor__closure8(e,r,n){this.values=e;this.span=r;this.callableNode=n},_EvaluateVisitor__closure9:function _EvaluateVisitor__closure9(e){this.$this=e},_EvaluateVisitor_run_closure2:function _EvaluateVisitor_run_closure2(e,r,n){this.$this=e;this.node=r;this.importer=n},_EvaluateVisitor__loadModule_closure5:function _EvaluateVisitor__loadModule_closure5(e,r){this.callback=e;this.builtInModule=r},_EvaluateVisitor__loadModule_closure6:function _EvaluateVisitor__loadModule_closure6(e,r,n,i,s,a,o){var l=this;l.$this=e;l.url=r;l.nodeWithSpan=n;l.baseUrl=i;l.namesInErrors=s;l.configuration=a;l.callback=o},_EvaluateVisitor__loadModule__closure2:function _EvaluateVisitor__loadModule__closure2(e,r){this.$this=e;this.message=r},_EvaluateVisitor__execute_closure2:function _EvaluateVisitor__execute_closure2(e,r,n,i,s,a){var o=this;o.$this=e;o.importer=r;o.stylesheet=n;o.extensionStore=i;o.configuration=s;o.css=a},_EvaluateVisitor__combineCss_closure8:function _EvaluateVisitor__combineCss_closure8(){},_EvaluateVisitor__combineCss_closure9:function _EvaluateVisitor__combineCss_closure9(e){this.selectors=e},_EvaluateVisitor__combineCss_closure10:function _EvaluateVisitor__combineCss_closure10(){},_EvaluateVisitor__extendModules_closure5:function _EvaluateVisitor__extendModules_closure5(e){this.originalSelectors=e},_EvaluateVisitor__extendModules_closure6:function _EvaluateVisitor__extendModules_closure6(){},_EvaluateVisitor__topologicalModules_visitModule2:function _EvaluateVisitor__topologicalModules_visitModule2(e,r){this.seen=e;this.sorted=r},_EvaluateVisitor_visitAtRootRule_closure8:function _EvaluateVisitor_visitAtRootRule_closure8(e,r){this.$this=e;this.resolved=r},_EvaluateVisitor_visitAtRootRule_closure9:function _EvaluateVisitor_visitAtRootRule_closure9(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitAtRootRule_closure10:function _EvaluateVisitor_visitAtRootRule_closure10(e,r){this.$this=e;this.node=r},_EvaluateVisitor__scopeForAtRoot_closure17:function _EvaluateVisitor__scopeForAtRoot_closure17(e,r,n){this.$this=e;this.newParent=r;this.node=n},_EvaluateVisitor__scopeForAtRoot_closure18:function _EvaluateVisitor__scopeForAtRoot_closure18(e,r){this.$this=e;this.innerScope=r},_EvaluateVisitor__scopeForAtRoot_closure19:function _EvaluateVisitor__scopeForAtRoot_closure19(e,r){this.$this=e;this.innerScope=r},_EvaluateVisitor__scopeForAtRoot__closure2:function _EvaluateVisitor__scopeForAtRoot__closure2(e,r){this.innerScope=e;this.callback=r},_EvaluateVisitor__scopeForAtRoot_closure20:function _EvaluateVisitor__scopeForAtRoot_closure20(e,r){this.$this=e;this.innerScope=r},_EvaluateVisitor__scopeForAtRoot_closure21:function _EvaluateVisitor__scopeForAtRoot_closure21(){},_EvaluateVisitor__scopeForAtRoot_closure22:function _EvaluateVisitor__scopeForAtRoot_closure22(e,r){this.$this=e;this.innerScope=r},_EvaluateVisitor_visitContentRule_closure2:function _EvaluateVisitor_visitContentRule_closure2(e,r){this.$this=e;this.content=r},_EvaluateVisitor_visitDeclaration_closure5:function _EvaluateVisitor_visitDeclaration_closure5(e){this.$this=e},_EvaluateVisitor_visitDeclaration_closure6:function _EvaluateVisitor_visitDeclaration_closure6(e,r){this.$this=e;this.children=r},_EvaluateVisitor_visitEachRule_closure8:function _EvaluateVisitor_visitEachRule_closure8(e,r,n){this.$this=e;this.node=r;this.nodeWithSpan=n},_EvaluateVisitor_visitEachRule_closure9:function _EvaluateVisitor_visitEachRule_closure9(e,r,n){this.$this=e;this.node=r;this.nodeWithSpan=n},_EvaluateVisitor_visitEachRule_closure10:function _EvaluateVisitor_visitEachRule_closure10(e,r,n,i){var s=this;s.$this=e;s.list=r;s.setVariables=n;s.node=i},_EvaluateVisitor_visitEachRule__closure2:function _EvaluateVisitor_visitEachRule__closure2(e,r,n){this.$this=e;this.setVariables=r;this.node=n},_EvaluateVisitor_visitEachRule___closure2:function _EvaluateVisitor_visitEachRule___closure2(e){this.$this=e},_EvaluateVisitor_visitExtendRule_closure2:function _EvaluateVisitor_visitExtendRule_closure2(e,r){this.$this=e;this.targetText=r},_EvaluateVisitor_visitAtRule_closure8:function _EvaluateVisitor_visitAtRule_closure8(e){this.$this=e},_EvaluateVisitor_visitAtRule_closure9:function _EvaluateVisitor_visitAtRule_closure9(e,r){this.$this=e;this.children=r},_EvaluateVisitor_visitAtRule__closure2:function _EvaluateVisitor_visitAtRule__closure2(e,r){this.$this=e;this.children=r},_EvaluateVisitor_visitAtRule_closure10:function _EvaluateVisitor_visitAtRule_closure10(){},_EvaluateVisitor_visitForRule_closure14:function _EvaluateVisitor_visitForRule_closure14(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitForRule_closure15:function _EvaluateVisitor_visitForRule_closure15(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitForRule_closure16:function _EvaluateVisitor_visitForRule_closure16(e){this.fromNumber=e},_EvaluateVisitor_visitForRule_closure17:function _EvaluateVisitor_visitForRule_closure17(e,r){this.toNumber=e;this.fromNumber=r},_EvaluateVisitor_visitForRule_closure18:function _EvaluateVisitor_visitForRule_closure18(e,r,n,i,s,a){var o=this;o._box_0=e;o.$this=r;o.node=n;o.from=i;o.direction=s;o.fromNumber=a},_EvaluateVisitor_visitForRule__closure2:function _EvaluateVisitor_visitForRule__closure2(e){this.$this=e},_EvaluateVisitor_visitForwardRule_closure5:function _EvaluateVisitor_visitForwardRule_closure5(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitForwardRule_closure6:function _EvaluateVisitor_visitForwardRule_closure6(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitIfRule_closure2:function _EvaluateVisitor_visitIfRule_closure2(e,r){this._box_0=e;this.$this=r},_EvaluateVisitor_visitIfRule__closure2:function _EvaluateVisitor_visitIfRule__closure2(e){this.$this=e},_EvaluateVisitor__visitDynamicImport_closure2:function _EvaluateVisitor__visitDynamicImport_closure2(e,r){this.$this=e;this.$import=r},_EvaluateVisitor__visitDynamicImport__closure11:function _EvaluateVisitor__visitDynamicImport__closure11(e){this.$this=e},_EvaluateVisitor__visitDynamicImport__closure12:function _EvaluateVisitor__visitDynamicImport__closure12(){},_EvaluateVisitor__visitDynamicImport__closure13:function _EvaluateVisitor__visitDynamicImport__closure13(){},_EvaluateVisitor__visitDynamicImport__closure14:function _EvaluateVisitor__visitDynamicImport__closure14(e,r,n,i,s,a){var o=this;o.$this=e;o.result=r;o.stylesheet=n;o.loadsUserDefinedModules=i;o.environment=s;o.children=a},_EvaluateVisitor_visitIncludeRule_closure11:function _EvaluateVisitor_visitIncludeRule_closure11(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitIncludeRule_closure12:function _EvaluateVisitor_visitIncludeRule_closure12(e){this.node=e},_EvaluateVisitor_visitIncludeRule_closure14:function _EvaluateVisitor_visitIncludeRule_closure14(e){this.$this=e},_EvaluateVisitor_visitIncludeRule_closure13:function _EvaluateVisitor_visitIncludeRule_closure13(e,r,n,i){var s=this;s.$this=e;s.contentCallable=r;s.mixin=n;s.nodeWithSpan=i},_EvaluateVisitor_visitIncludeRule__closure2:function _EvaluateVisitor_visitIncludeRule__closure2(e,r,n){this.$this=e;this.mixin=r;this.nodeWithSpan=n},_EvaluateVisitor_visitIncludeRule___closure2:function _EvaluateVisitor_visitIncludeRule___closure2(e,r,n){this.$this=e;this.mixin=r;this.nodeWithSpan=n},_EvaluateVisitor_visitIncludeRule____closure2:function _EvaluateVisitor_visitIncludeRule____closure2(e,r){this.$this=e;this.statement=r},_EvaluateVisitor_visitMediaRule_closure8:function _EvaluateVisitor_visitMediaRule_closure8(e,r){this.$this=e;this.queries=r},_EvaluateVisitor_visitMediaRule_closure9:function _EvaluateVisitor_visitMediaRule_closure9(e,r,n,i){var s=this;s.$this=e;s.mergedQueries=r;s.queries=n;s.node=i},_EvaluateVisitor_visitMediaRule__closure2:function _EvaluateVisitor_visitMediaRule__closure2(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitMediaRule___closure2:function _EvaluateVisitor_visitMediaRule___closure2(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitMediaRule_closure10:function _EvaluateVisitor_visitMediaRule_closure10(e){this.mergedQueries=e},_EvaluateVisitor__visitMediaQueries_closure2:function _EvaluateVisitor__visitMediaQueries_closure2(e,r){this.$this=e;this.resolved=r},_EvaluateVisitor_visitStyleRule_closure23:function _EvaluateVisitor_visitStyleRule_closure23(e,r){this.$this=e;this.selectorText=r},_EvaluateVisitor_visitStyleRule_closure24:function _EvaluateVisitor_visitStyleRule_closure24(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitStyleRule_closure25:function _EvaluateVisitor_visitStyleRule_closure25(){},_EvaluateVisitor_visitStyleRule_closure26:function _EvaluateVisitor_visitStyleRule_closure26(e,r){this.$this=e;this.selectorText=r},_EvaluateVisitor_visitStyleRule_closure27:function _EvaluateVisitor_visitStyleRule_closure27(e,r){this._box_0=e;this.$this=r},_EvaluateVisitor_visitStyleRule_closure28:function _EvaluateVisitor_visitStyleRule_closure28(e,r,n){this.$this=e;this.rule=r;this.node=n},_EvaluateVisitor_visitStyleRule__closure2:function _EvaluateVisitor_visitStyleRule__closure2(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitStyleRule_closure29:function _EvaluateVisitor_visitStyleRule_closure29(){},_EvaluateVisitor_visitStyleRule_closure30:function _EvaluateVisitor_visitStyleRule_closure30(){},_EvaluateVisitor_visitSupportsRule_closure5:function _EvaluateVisitor_visitSupportsRule_closure5(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitSupportsRule__closure2:function _EvaluateVisitor_visitSupportsRule__closure2(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitSupportsRule_closure6:function _EvaluateVisitor_visitSupportsRule_closure6(){},_EvaluateVisitor_visitVariableDeclaration_closure8:function _EvaluateVisitor_visitVariableDeclaration_closure8(e,r,n){this.$this=e;this.node=r;this.override=n},_EvaluateVisitor_visitVariableDeclaration_closure9:function _EvaluateVisitor_visitVariableDeclaration_closure9(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitVariableDeclaration_closure10:function _EvaluateVisitor_visitVariableDeclaration_closure10(e,r,n){this.$this=e;this.node=r;this.value=n},_EvaluateVisitor_visitUseRule_closure2:function _EvaluateVisitor_visitUseRule_closure2(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitWarnRule_closure2:function _EvaluateVisitor_visitWarnRule_closure2(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitWhileRule_closure2:function _EvaluateVisitor_visitWhileRule_closure2(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitWhileRule__closure2:function _EvaluateVisitor_visitWhileRule__closure2(e){this.$this=e},_EvaluateVisitor_visitBinaryOperationExpression_closure2:function _EvaluateVisitor_visitBinaryOperationExpression_closure2(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2:function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2(){},_EvaluateVisitor_visitVariableExpression_closure2:function _EvaluateVisitor_visitVariableExpression_closure2(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitUnaryOperationExpression_closure2:function _EvaluateVisitor_visitUnaryOperationExpression_closure2(e,r){this.node=e;this.operand=r},_EvaluateVisitor__visitCalculationValue_closure2:function _EvaluateVisitor__visitCalculationValue_closure2(e,r,n){this.$this=e;this.node=r;this.inMinMax=n},_EvaluateVisitor_visitListExpression_closure2:function _EvaluateVisitor_visitListExpression_closure2(e){this.$this=e},_EvaluateVisitor_visitFunctionExpression_closure5:function _EvaluateVisitor_visitFunctionExpression_closure5(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitFunctionExpression_closure6:function _EvaluateVisitor_visitFunctionExpression_closure6(e,r,n){this._box_0=e;this.$this=r;this.node=n},_EvaluateVisitor_visitInterpolatedFunctionExpression_closure2:function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(e,r,n){this.$this=e;this.node=r;this.$function=n},_EvaluateVisitor__runUserDefinedCallable_closure2:function _EvaluateVisitor__runUserDefinedCallable_closure2(e,r,n,i,s,a){var o=this;o.$this=e;o.callable=r;o.evaluated=n;o.nodeWithSpan=i;o.run=s;o.V=a},_EvaluateVisitor__runUserDefinedCallable__closure2:function _EvaluateVisitor__runUserDefinedCallable__closure2(e,r,n,i,s,a){var o=this;o.$this=e;o.evaluated=r;o.callable=n;o.nodeWithSpan=i;o.run=s;o.V=a},_EvaluateVisitor__runUserDefinedCallable___closure2:function _EvaluateVisitor__runUserDefinedCallable___closure2(e,r,n,i,s,a){var o=this;o.$this=e;o.evaluated=r;o.callable=n;o.nodeWithSpan=i;o.run=s;o.V=a},_EvaluateVisitor__runUserDefinedCallable____closure2:function _EvaluateVisitor__runUserDefinedCallable____closure2(){},_EvaluateVisitor__runFunctionCallable_closure2:function _EvaluateVisitor__runFunctionCallable_closure2(e,r){this.$this=e;this.callable=r},_EvaluateVisitor__runBuiltInCallable_closure5:function _EvaluateVisitor__runBuiltInCallable_closure5(e,r,n){this.overload=e;this.evaluated=r;this.namedSet=n},_EvaluateVisitor__runBuiltInCallable_closure6:function _EvaluateVisitor__runBuiltInCallable_closure6(){},_EvaluateVisitor__evaluateArguments_closure11:function _EvaluateVisitor__evaluateArguments_closure11(){},_EvaluateVisitor__evaluateArguments_closure12:function _EvaluateVisitor__evaluateArguments_closure12(e,r){this.$this=e;this.restNodeForSpan=r},_EvaluateVisitor__evaluateArguments_closure13:function _EvaluateVisitor__evaluateArguments_closure13(e,r,n,i){var s=this;s.$this=e;s.named=r;s.restNodeForSpan=n;s.namedNodes=i},_EvaluateVisitor__evaluateArguments_closure14:function _EvaluateVisitor__evaluateArguments_closure14(){},_EvaluateVisitor__evaluateMacroArguments_closure11:function _EvaluateVisitor__evaluateMacroArguments_closure11(e){this.restArgs=e},_EvaluateVisitor__evaluateMacroArguments_closure12:function _EvaluateVisitor__evaluateMacroArguments_closure12(e,r,n){this.$this=e;this.restNodeForSpan=r;this.restArgs=n},_EvaluateVisitor__evaluateMacroArguments_closure13:function _EvaluateVisitor__evaluateMacroArguments_closure13(e,r,n,i){var s=this;s.$this=e;s.named=r;s.restNodeForSpan=n;s.restArgs=i},_EvaluateVisitor__evaluateMacroArguments_closure14:function _EvaluateVisitor__evaluateMacroArguments_closure14(e,r,n){this.$this=e;this.keywordRestNodeForSpan=r;this.keywordRestArgs=n},_EvaluateVisitor__addRestMap_closure2:function _EvaluateVisitor__addRestMap_closure2(e,r,n,i,s,a){var o=this;o.$this=e;o.values=r;o.convert=n;o.expressionNode=i;o.map=s;o.nodeWithSpan=a},_EvaluateVisitor__verifyArguments_closure2:function _EvaluateVisitor__verifyArguments_closure2(e,r,n){this.$arguments=e;this.positional=r;this.named=n},_EvaluateVisitor_visitStringExpression_closure2:function _EvaluateVisitor_visitStringExpression_closure2(e){this.$this=e},_EvaluateVisitor_visitCssAtRule_closure5:function _EvaluateVisitor_visitCssAtRule_closure5(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssAtRule_closure6:function _EvaluateVisitor_visitCssAtRule_closure6(){},_EvaluateVisitor_visitCssKeyframeBlock_closure5:function _EvaluateVisitor_visitCssKeyframeBlock_closure5(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssKeyframeBlock_closure6:function _EvaluateVisitor_visitCssKeyframeBlock_closure6(){},_EvaluateVisitor_visitCssMediaRule_closure8:function _EvaluateVisitor_visitCssMediaRule_closure8(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssMediaRule_closure9:function _EvaluateVisitor_visitCssMediaRule_closure9(e,r,n){this.$this=e;this.mergedQueries=r;this.node=n},_EvaluateVisitor_visitCssMediaRule__closure2:function _EvaluateVisitor_visitCssMediaRule__closure2(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssMediaRule___closure2:function _EvaluateVisitor_visitCssMediaRule___closure2(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssMediaRule_closure10:function _EvaluateVisitor_visitCssMediaRule_closure10(e){this.mergedQueries=e},_EvaluateVisitor_visitCssStyleRule_closure5:function _EvaluateVisitor_visitCssStyleRule_closure5(e,r,n){this.$this=e;this.rule=r;this.node=n},_EvaluateVisitor_visitCssStyleRule__closure2:function _EvaluateVisitor_visitCssStyleRule__closure2(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssStyleRule_closure6:function _EvaluateVisitor_visitCssStyleRule_closure6(){},_EvaluateVisitor_visitCssSupportsRule_closure5:function _EvaluateVisitor_visitCssSupportsRule_closure5(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssSupportsRule__closure2:function _EvaluateVisitor_visitCssSupportsRule__closure2(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssSupportsRule_closure6:function _EvaluateVisitor_visitCssSupportsRule_closure6(){},_EvaluateVisitor__performInterpolation_closure2:function _EvaluateVisitor__performInterpolation_closure2(e,r,n){this.$this=e;this.warnForColor=r;this.interpolation=n},_EvaluateVisitor__serialize_closure2:function _EvaluateVisitor__serialize_closure2(e,r){this.value=e;this.quote=r},_EvaluateVisitor__expressionNode_closure2:function _EvaluateVisitor__expressionNode_closure2(e,r){this.$this=e;this.expression=r},_EvaluateVisitor__withoutSlash_recommendation2:function _EvaluateVisitor__withoutSlash_recommendation2(){},_EvaluateVisitor__stackFrame_closure2:function _EvaluateVisitor__stackFrame_closure2(e){this.$this=e},_EvaluateVisitor__stackTrace_closure2:function _EvaluateVisitor__stackTrace_closure2(e){this.$this=e},_ImportedCssVisitor2:function _ImportedCssVisitor2(e){this._async_evaluate0$_visitor=e},_ImportedCssVisitor_visitCssAtRule_closure2:function _ImportedCssVisitor_visitCssAtRule_closure2(){},_ImportedCssVisitor_visitCssMediaRule_closure2:function _ImportedCssVisitor_visitCssMediaRule_closure2(e){this.hasBeenMerged=e},_ImportedCssVisitor_visitCssStyleRule_closure2:function _ImportedCssVisitor_visitCssStyleRule_closure2(){},_ImportedCssVisitor_visitCssSupportsRule_closure2:function _ImportedCssVisitor_visitCssSupportsRule_closure2(){},EvaluateResult0:function EvaluateResult0(e,r){this.stylesheet=e;this.loadedUrls=r},_EvaluationContext2:function _EvaluationContext2(e,r){this._async_evaluate0$_visitor=e;this._async_evaluate0$_defaultWarnNodeWithSpan=r},_ArgumentResults2:function _ArgumentResults2(e,r,n,i,s){var a=this;a.positional=e;a.positionalNodes=r;a.named=n;a.namedNodes=i;a.separator=s},_LoadedStylesheet2:function _LoadedStylesheet2(e,r,n){this.stylesheet=e;this.importer=r;this.isDependency=n},NodeToDartAsyncFileImporter:function NodeToDartAsyncFileImporter(e){this._findFileUrl=e},AsyncImportCache$(e,r,n,i){var a=$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,o=$.Uri,l=s.AsyncImportCache__toImporters0(e,r,i);return new s.AsyncImportCache0(l,n,s.LinkedHashMap_LinkedHashMap$_empty($.Tuple2_Uri_bool,a),s.LinkedHashMap_LinkedHashMap$_empty($.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2,a),s.LinkedHashMap_LinkedHashMap$_empty(o,$.nullable_Stylesheet_2),s.LinkedHashMap_LinkedHashMap$_empty(o,$.ImporterResult_2))},AsyncImportCache$none(e){var r=$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,n=$.Uri;return new s.AsyncImportCache0(o.List_empty25,e,s.LinkedHashMap_LinkedHashMap$_empty($.Tuple2_Uri_bool,r),s.LinkedHashMap_LinkedHashMap$_empty($.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2,r),s.LinkedHashMap_LinkedHashMap$_empty(n,$.nullable_Stylesheet_2),s.LinkedHashMap_LinkedHashMap$_empty(n,$.ImporterResult_2))},AsyncImportCache__toImporters0(e,r,n){var i,l,_,c,p,h=null,d=a.get$env$x(self.process);if(d==null)d=$.Object._as(d);i=s._asStringQ(d.SASS_PATH);d=s._setArrayType([],$.JSArray_AsyncImporter);if(e!=null)o.JSArray_methods.addAll$1(d,e);if(r!=null)for(l=a.get$iterator$ax(r);l.moveNext$0();){_=l.get$current(l);d.push(new s.FilesystemImporter0(u.$get$context().absolute$7(_,h,h,h,h,h,h)))}if(i!=null){l=i.split(a.$eq$(a.get$platform$x(self.process),"win32")?";":":");_=l.length;c=0;for(;c<_;++c){p=l[c];d.push(new s.FilesystemImporter0(u.$get$context().absolute$7(p,h,h,h,h,h,h)))}}return d},AsyncImportCache0:function AsyncImportCache0(e,r,n,i,s,a){var o=this;o._async_import_cache0$_importers=e;o._async_import_cache0$_logger=r;o._async_import_cache0$_canonicalizeCache=n;o._async_import_cache0$_relativeCanonicalizeCache=i;o._async_import_cache0$_importCache=s;o._async_import_cache0$_resultsCache=a},AsyncImportCache_canonicalize_closure1:function AsyncImportCache_canonicalize_closure1(e,r,n,i,s){var a=this;a.$this=e;a.baseUrl=r;a.url=n;a.baseImporter=i;a.forImport=s},AsyncImportCache_canonicalize_closure2:function AsyncImportCache_canonicalize_closure2(e,r,n){this.$this=e;this.url=r;this.forImport=n},AsyncImportCache__canonicalize_closure0:function AsyncImportCache__canonicalize_closure0(e,r){this.importer=e;this.url=r},AsyncImportCache_importCanonical_closure0:function AsyncImportCache_importCanonical_closure0(e,r,n,i,s){var a=this;a.$this=e;a.importer=r;a.canonicalUrl=n;a.originalUrl=i;a.quiet=s},AsyncImportCache_humanize_closure2:function AsyncImportCache_humanize_closure2(e){this.canonicalUrl=e},AsyncImportCache_humanize_closure3:function AsyncImportCache_humanize_closure3(){},AsyncImportCache_humanize_closure4:function AsyncImportCache_humanize_closure4(){},AtRootQueryParser0:function AtRootQueryParser0(e,r){this.scanner=e;this.logger=r},AtRootQueryParser_parse_closure0:function AtRootQueryParser_parse_closure0(e){this.$this=e},AtRootQuery0:function AtRootQuery0(e,r,n,i){var s=this;s.include=e;s.names=r;s._at_root_query0$_all=n;s._at_root_query0$_rule=i},AtRootRule$0(e,r,n){var i=s.List_List$unmodifiable(e,$.Statement_2),a=o.JSArray_methods.any$1(i,new s.ParentStatement_closure0);return new s.AtRootRule0(n,r,i,a)},AtRootRule0:function AtRootRule0(e,r,n,i){var s=this;s.query=e;s.span=r;s.children=n;s.hasDeclarations=i},ModifiableCssAtRule$0(e,r,n,i){var a=s._setArrayType([],$.JSArray_ModifiableCssNode_2);return new s.ModifiableCssAtRule0(e,i,n,r,new s.UnmodifiableListView(a,$.UnmodifiableListView_ModifiableCssNode_2),a)},ModifiableCssAtRule0:function ModifiableCssAtRule0(e,r,n,i,s,a){var o=this;o.name=e;o.value=r;o.isChildless=n;o.span=i;o.children=s;o._node0$_children=a;o._node0$_indexInParent=o._node0$_parent=null;o.isGroupEnd=false},AtRule$0(e,r,n,i){var a=n==null?null:s.List_List$unmodifiable(n,$.Statement_2),l=a==null?null:o.JSArray_methods.any$1(a,new s.ParentStatement_closure0);return new s.AtRule0(e,i,r,a,l===true)},AtRule0:function AtRule0(e,r,n,i,s){var a=this;a.name=e;a.value=r;a.span=n;a.children=i;a.hasDeclarations=s},AttributeSelector0:function AttributeSelector0(e,r,n,i){var s=this;s.name=e;s.op=r;s.value=n;s.modifier=i},AttributeOperator0:function AttributeOperator0(e){this._attribute0$_text=e},BinaryOperationExpression0:function BinaryOperationExpression0(e,r,n,i){var s=this;s.operator=e;s.left=r;s.right=n;s.allowsSlash=i},BinaryOperator0:function BinaryOperator0(e,r,n){this.name=e;this.operator=r;this.precedence=n},BooleanExpression0:function BooleanExpression0(e,r){this.value=e;this.span=r},legacyBooleanClass_closure:function legacyBooleanClass_closure(){},legacyBooleanClass__closure:function legacyBooleanClass__closure(){},legacyBooleanClass__closure0:function legacyBooleanClass__closure0(){},booleanClass_closure:function booleanClass_closure(){},booleanClass__closure:function booleanClass__closure(){},SassBoolean0:function SassBoolean0(e){this.value=e},BuiltInCallable$function0(e,r,n,i){return new s.BuiltInCallable0(e,s._setArrayType([new s.Tuple2(s.ScssParser$0("@function "+e+"("+r+") {",null,i).parseArgumentDeclaration$0(),n,$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2)],$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2))},BuiltInCallable$mixin0(e,r,n,i){return new s.BuiltInCallable0(e,s._setArrayType([new s.Tuple2(s.ScssParser$0("@mixin "+e+"("+r+") {",null,i).parseArgumentDeclaration$0(),new s.BuiltInCallable$mixin_closure0(n),$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2)],$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2))},BuiltInCallable$parsed(e,r,n){return new s.BuiltInCallable0(e,s._setArrayType([new s.Tuple2(r,n,$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2)],$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2))},BuiltInCallable$overloadedFunction0(e,r){var n,i,a,l,u,_,c,p=s._setArrayType([],$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2);for(n=r.get$entries(r),n=n.get$iterator(n),i=$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2,a="@function "+e+"(",l=$.String,u=$.VariableDeclaration_2;n.moveNext$0();){_=n.get$current(n);c=s.SpanScanner$(a+s.S(_.key)+") {",null);p.push(new s.Tuple2(new s.ScssParser0(s.LinkedHashMap_LinkedHashMap$_empty(l,u),c,o.StderrLogger_false0).parseArgumentDeclaration$0(),_.value,i))}return new s.BuiltInCallable0(e,p)},BuiltInCallable0:function BuiltInCallable0(e,r){this.name=e;this._built_in$_overloads=r},BuiltInCallable$mixin_closure0:function BuiltInCallable$mixin_closure0(e){this.callback=e},BuiltInModule$0(e,r,n,i,a){var l=s._Uri__Uri(null,e,null,"sass"),u=s.BuiltInModule__callableMap0(r,a),_=s.BuiltInModule__callableMap0(n,a),c=i==null?o.Map_empty8:new s.UnmodifiableMapView(i,$.UnmodifiableMapView_String_Value_2);return new s.BuiltInModule0(l,u,_,c,a._eval$1("BuiltInModule0<0>"))},BuiltInModule__callableMap0(e,r){var n,i,o,l=$.String;if(e==null)l=s.LinkedHashMap_LinkedHashMap$_empty(l,r);else{l=s.LinkedHashMap_LinkedHashMap$_empty(l,r);for(n=e.length,i=0;i"))}return new s.UnmodifiableMapView(l,$.$env_1_1_String._bind$1(r)._eval$1("UnmodifiableMapView<1,2>"))},BuiltInModule0:function BuiltInModule0(e,r,n,i,s){var a=this;a.url=e;a.functions=r;a.mixins=n;a.variables=i;a.$ti=s},CalculationExpression__verifyArguments0(e){return s.List_List$unmodifiable(new s.MappedListIterable(e,new s.CalculationExpression__verifyArguments_closure0,s._arrayInstanceType(e)._eval$1("MappedListIterable<1,@>")),$.Expression_2)},CalculationExpression__verify0(e){var r,n="Invalid calculation argument ";if(e instanceof s.NumberExpression0)return;if(e instanceof s.CalculationExpression0)return;if(e instanceof s.VariableExpression0)return;if(e instanceof s.FunctionExpression0)return;if(e instanceof s.IfExpression0)return;if(e instanceof s.StringExpression0){if(e.hasQuotes)throw s.wrapException(s.ArgumentError$(n+e.toString$0(0)+".",null))}else if(e instanceof s.ParenthesizedExpression0)s.CalculationExpression__verify0(e.expression);else if(e instanceof s.BinaryOperationExpression0){s.CalculationExpression__verify0(e.left);s.CalculationExpression__verify0(e.right);r=e.operator;if(r===o.BinaryOperator_AcR2)return;if(r===o.BinaryOperator_iyO0)return;if(r===o.BinaryOperator_O1M0)return;if(r===o.BinaryOperator_RTB0)return;throw s.wrapException(s.ArgumentError$(n+e.toString$0(0)+".",null))}else throw s.wrapException(s.ArgumentError$(n+e.toString$0(0)+".",null))},CalculationExpression0:function CalculationExpression0(e,r,n){this.name=e;this.$arguments=r;this.span=n},CalculationExpression__verifyArguments_closure0:function CalculationExpression__verifyArguments_closure0(){},SassCalculation_calc0(e){e=s.SassCalculation__simplify0(e);if(e instanceof s.SassNumber0)return e;if(e instanceof s.SassCalculation0)return e;return new s.SassCalculation0("calc",s.List_List$unmodifiable([e],$.Object))},SassCalculation_min0(e){var r,n,i,a,o=s.List_List$unmodifiable(new s.MappedListIterable(e,s.calculation0_SassCalculation__simplify$closure(),s._arrayInstanceType(e)._eval$1("MappedListIterable<1,@>")),$.Object),l=o.length;if(l===0)throw s.wrapException(s.ArgumentError$("min() must have at least one argument.",null));for(r=null,n=0;n")),$.Object),l=o.length;if(l===0)throw s.wrapException(s.ArgumentError$("max() must have at least one argument.",null));for(r=null,n=0;n1||a.get$denominatorUnits(a).length!==0)throw s.wrapException(s.SassCalculation__exception0("Number "+a.toString$0(0)+" isn't compatible with CSS calculations."))}for(r=i,o=0;o3?_.$index(r,3):null;if(!_.$index(r,0).get$isSpecialNumber())if(!_.$index(r,1).get$isSpecialNumber())if(!_.$index(r,2).get$isSpecialNumber()){n=c==null?null:c.get$isSpecialNumber();n=n===true}else n=true;else n=true;else n=true;if(n)return s._functionString0(e,r);i=_.$index(r,0).assertNumber$1("red");l=_.$index(r,1).assertNumber$1("green");u=_.$index(r,2).assertNumber$1("blue");return s.SassColor$rgbInternal0(s.fuzzyRound0(s._percentageOrUnitless0(i,255,"red")),s.fuzzyRound0(s._percentageOrUnitless0(l,255,"green")),s.fuzzyRound0(s._percentageOrUnitless0(u,255,"blue")),s.NullableExtension_andThen0(c,new s._rgb_closure0),o._ColorFormatEnum_rgbFunction0)},_rgbTwoArg0(e,r){var n,i,o=a.getInterceptor$asx(r);if(o.$index(r,0).get$isVar())return s._functionString0(e,r);else if(o.$index(r,1).get$isVar()){n=o.$index(r,0);if(n instanceof s.SassColor0)return new s.SassString0(e+"("+n.get$red(n)+", "+n.get$green(n)+", "+n.get$blue(n)+", "+s.serializeValue0(o.$index(r,1),false,true)+")",false);else return s._functionString0(e,r)}else if(o.$index(r,1).get$isSpecialNumber()){i=o.$index(r,0).assertColor$1("color");return new s.SassString0(e+"("+i.get$red(i)+", "+i.get$green(i)+", "+i.get$blue(i)+", "+s.serializeValue0(o.$index(r,1),false,true)+")",false)}return o.$index(r,0).assertColor$1("color").changeAlpha$1(s._percentageOrUnitless0(o.$index(r,1).assertNumber$1("alpha"),1,"alpha"))},_hsl0(e,r){var n,i,l,u,_="saturation",c="lightness",$=a.getInterceptor$asx(r),p=$.get$length(r)>3?$.$index(r,3):null;if(!$.$index(r,0).get$isSpecialNumber())if(!$.$index(r,1).get$isSpecialNumber())if(!$.$index(r,2).get$isSpecialNumber()){n=p==null?null:p.get$isSpecialNumber();n=n===true}else n=true;else n=true;else n=true;if(n)return s._functionString0(e,r);i=$.$index(r,0).assertNumber$1("hue");l=$.$index(r,1).assertNumber$1(_);u=$.$index(r,2).assertNumber$1(c);s._checkAngle0(i,"hue");s._checkPercent0(l,_);s._checkPercent0(u,c);return s.SassColor$hslInternal0(i._number1$_value,o.JSNumber_methods.clamp$2(l._number1$_value,0,100),o.JSNumber_methods.clamp$2(u._number1$_value,0,100),s.NullableExtension_andThen0(p,new s._hsl_closure0),o._ColorFormatEnum_hslFunction0)},_checkAngle0(e,r){var n,i,a,l="To preserve current behavior: $";if(!e.get$hasUnits()||e.hasUnit$1("deg"))return;n=""+("$"+r+": Passing a unit other than deg ("+e.toString$0(0)+") is deprecated.\n")+"\n";if(e.compatibleWithUnit$1("deg")){i=e.toString$0(0);a=$.JSArray_String;a=n+("You're passing "+i+c.x2c_whici+new s.SingleUnitSassNumber0("deg",e._number1$_value,null).toString$0(0)+".\n")+(c.Soon__+e.coerce$2(s._setArrayType(["deg"],a),s._setArrayType([],a)).toString$0(0)+".\n")+"\n"+(l+r+" * 1deg/1"+o.JSArray_methods.get$first(e.get$numeratorUnits(e))+"\n")+("To migrate to new behavior: 0deg + $"+r+"\n")+"\n";n=a}else n=n+(l+r+s._removeUnits0(e)+"\n")+"\n";n+="See https://sass-lang.com/d/color-units";s.EvaluationContext_current0().warn$2$deprecation(0,n.charCodeAt(0)==0?n:n,true)},_checkPercent0(e,r){var n,i;if(e.hasUnit$1("%"))return;n=e.toString$0(0);i=s._removeUnits0(e);s.EvaluationContext_current0().warn$2$deprecation(0,"$"+r+": Passing a number without unit % ("+n+c.x29x20is_d+r+i+" * 1%",true)},_removeUnits0(e){var r,n=e.get$denominatorUnits(e);n=new s.MappedListIterable(n,new s._removeUnits_closure1,s._arrayInstanceType(n)._eval$1("MappedListIterable<1,String>")).join$0(0);r=e.get$numeratorUnits(e);return n+new s.MappedListIterable(r,new s._removeUnits_closure2,s._arrayInstanceType(r)._eval$1("MappedListIterable<1,String>")).join$0(0)},_hwb0(e){var r="whiteness",n="blackness",i=a.getInterceptor$asx(e),o=i.get$length(e)>3?i.$index(e,3):null,l=i.$index(e,0).assertNumber$1("hue"),u=i.$index(e,1).assertNumber$1(r),_=i.$index(e,2).assertNumber$1(n);s._checkAngle0(l,"hue");u.assertUnit$2("%",r);_.assertUnit$2("%",n);return s.SassColor_SassColor$hwb0(l._number1$_value,u.valueInRange$3(0,100,r),_.valueInRange$3(0,100,n),s.NullableExtension_andThen0(o,new s._hwb_closure0))},_parseChannels0(e,r,n){var i,a,l,u,_,p,h,d,m,g="$channels must be";if(n.get$isVar())return s._functionString0(e,s._setArrayType([n],$.JSArray_Value_2));if(n.get$separator(n)===o.ListSeparator_1gm0){i=n.get$asList();a=i.length;if(a!==2)throw s.wrapException(s.SassScriptException$0(c.Only_2+a+" "+s.pluralize0("was",a,"were")+" passed."));l=i[0];u=i[1];if(!u.get$isSpecialNumber())u.assertNumber$1("alpha");if(i[0].get$isVar())return s._functionString0(e,s._setArrayType([n],$.JSArray_Value_2))}else{l=n;u=null}_=l.get$separator(l)===o.ListSeparator_kWM0;p=l.get$hasBrackets();if(_||p){h=new s.StringBuffer(g);if(p){a=g+" an unbracketed";h._contents=a}else a=g;if(_){a+=p?",":" a";h._contents=a;a=h._contents=a+" space-separated"}h._contents=a+" list.";throw s.wrapException(s.SassScriptException$0(h.toString$0(0)))}i=l.get$asList();a=i.length;if(a>3)throw s.wrapException(s.SassScriptException$0("Only 3 elements allowed, but "+a+" were passed."));else if(a<3){if(!o.JSArray_methods.any$1(i,new s._parseChannels_closure0))if(i.length!==0){a=o.JSArray_methods.get$last(i);if(a instanceof s.SassString0)if(a._string0$_hasQuotes){a=a._string0$_text;a=s.startsWithIgnoreCase0(a,"var(")&&o.JSString_methods.contains$1(a,"/")}else a=false;else a=false}else a=false;else a=true;if(a)return s._functionString0(e,s._setArrayType([n],$.JSArray_Value_2));else throw s.wrapException(s.SassScriptException$0("Missing element "+r[i.length]+"."))}if(u!=null){a=s.List_List$of(i,true,$.Value_2);a.push(u);return a}d=i[2];if(d instanceof s.SassNumber0){m=d.asSlash;if(m==null)return i;return s._setArrayType([i[0],i[1],m.item1,m.item2],$.JSArray_Value_2)}else if(d instanceof s.SassString0&&!d._string0$_hasQuotes&&o.JSString_methods.contains$1(d._string0$_text,"/"))return s._functionString0(e,s._setArrayType([l],$.JSArray_Value_2));else return i},_percentageOrUnitless0(e,r,n){var i;if(!e.get$hasUnits())i=e._number1$_value;else if(e.hasUnit$1("%"))i=r*e._number1$_value/100;else throw s.wrapException(s.SassScriptException$0("$"+n+": Expected "+e.toString$0(0)+' to have no units or "%".'));return o.JSNumber_methods.clamp$2(i,0,r)},_mixColors0(e,r,n){var i=n.valueInRange$3(0,100,"weight")/100,a=i*2-1,o=e._color1$_alpha,l=r._color1$_alpha,u=o-l,_=a*u,c=((_===-1?a:(a+u)/(1+_))+1)/2,$=1-c;return s.SassColor$rgb0(s.fuzzyRound0(e.get$red(e)*c+r.get$red(r)*$),s.fuzzyRound0(e.get$green(e)*c+r.get$green(r)*$),s.fuzzyRound0(e.get$blue(e)*c+r.get$blue(r)*$),o*i+l*(1-i))},_opacify0(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertColor$1("color");return n.changeAlpha$1(o.JSNumber_methods.clamp$2(n._color1$_alpha+r.$index(e,1).assertNumber$1("amount").valueInRangeWithUnit$4(0,1,"amount",""),0,1))},_transparentize0(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertColor$1("color");return n.changeAlpha$1(o.JSNumber_methods.clamp$2(n._color1$_alpha-r.$index(e,1).assertNumber$1("amount").valueInRangeWithUnit$4(0,1,"amount",""),0,1))},_function11(e,r,n){return s.BuiltInCallable$function0(e,r,n,"sass:color")},global_closure30:function global_closure30(){},global_closure31:function global_closure31(){},global_closure32:function global_closure32(){},global_closure33:function global_closure33(){},global_closure34:function global_closure34(){},global_closure35:function global_closure35(){},global_closure36:function global_closure36(){},global_closure37:function global_closure37(){},global_closure38:function global_closure38(){},global_closure39:function global_closure39(){},global_closure40:function global_closure40(){},global_closure41:function global_closure41(){},global_closure42:function global_closure42(){},global_closure43:function global_closure43(){},global_closure44:function global_closure44(){},global_closure45:function global_closure45(){},global_closure46:function global_closure46(){},global_closure47:function global_closure47(){},global_closure48:function global_closure48(){},global_closure49:function global_closure49(){},global_closure50:function global_closure50(){},global_closure51:function global_closure51(){},global_closure52:function global_closure52(){},global_closure53:function global_closure53(){},global_closure54:function global_closure54(){},global_closure55:function global_closure55(){},global__closure0:function global__closure0(){},global_closure56:function global_closure56(){},module_closure8:function module_closure8(){},module_closure9:function module_closure9(){},module_closure10:function module_closure10(){},module_closure11:function module_closure11(){},module_closure12:function module_closure12(){},module_closure13:function module_closure13(){},module_closure14:function module_closure14(){},module_closure15:function module_closure15(){},module__closure0:function module__closure0(){},module_closure16:function module_closure16(){},_red_closure0:function _red_closure0(){},_green_closure0:function _green_closure0(){},_blue_closure0:function _blue_closure0(){},_mix_closure0:function _mix_closure0(){},_hue_closure0:function _hue_closure0(){},_saturation_closure0:function _saturation_closure0(){},_lightness_closure0:function _lightness_closure0(){},_complement_closure0:function _complement_closure0(){},_adjust_closure0:function _adjust_closure0(){},_scale_closure0:function _scale_closure0(){},_change_closure0:function _change_closure0(){},_ieHexStr_closure0:function _ieHexStr_closure0(){},_ieHexStr_closure_hexString0:function _ieHexStr_closure_hexString0(){},_updateComponents_getParam0:function _updateComponents_getParam0(e,r,n){this.keywords=e;this.scale=r;this.change=n},_updateComponents_closure0:function _updateComponents_closure0(){},_updateComponents_updateValue0:function _updateComponents_updateValue0(e,r){this.change=e;this.adjust=r},_updateComponents_updateRgb0:function _updateComponents_updateRgb0(e){this.updateValue=e},_functionString_closure0:function _functionString_closure0(){},_removedColorFunction_closure0:function _removedColorFunction_closure0(e,r,n){this.name=e;this.argument=r;this.negative=n},_rgb_closure0:function _rgb_closure0(){},_hsl_closure0:function _hsl_closure0(){},_removeUnits_closure1:function _removeUnits_closure1(){},_removeUnits_closure2:function _removeUnits_closure2(){},_hwb_closure0:function _hwb_closure0(){},_parseChannels_closure0:function _parseChannels_closure0(){},_NodeSassColor:function _NodeSassColor(){},legacyColorClass_closure:function legacyColorClass_closure(){},legacyColorClass_closure0:function legacyColorClass_closure0(){},legacyColorClass_closure1:function legacyColorClass_closure1(){},legacyColorClass_closure2:function legacyColorClass_closure2(){},legacyColorClass_closure3:function legacyColorClass_closure3(){},legacyColorClass_closure4:function legacyColorClass_closure4(){},legacyColorClass_closure5:function legacyColorClass_closure5(){},legacyColorClass_closure6:function legacyColorClass_closure6(){},legacyColorClass_closure7:function legacyColorClass_closure7(){},colorClass_closure:function colorClass_closure(){},colorClass__closure:function colorClass__closure(){},colorClass__closure0:function colorClass__closure0(){},colorClass__closure1:function colorClass__closure1(){},colorClass__closure2:function colorClass__closure2(){},colorClass__closure3:function colorClass__closure3(){},colorClass__closure4:function colorClass__closure4(){},colorClass__closure5:function colorClass__closure5(){},colorClass__closure6:function colorClass__closure6(){},colorClass__closure7:function colorClass__closure7(){},colorClass__closure8:function colorClass__closure8(){},colorClass__closure9:function colorClass__closure9(){},_Channels:function _Channels(){},SassColor$rgb0(e,r,n,i){var a=null,o=new s.SassColor0(e,r,n,a,a,a,i==null?1:s.fuzzyAssertRange0(i,0,1,"alpha"),a);s.RangeError_checkValueInInterval(o.get$red(o),0,255,"red");s.RangeError_checkValueInInterval(o.get$green(o),0,255,"green");s.RangeError_checkValueInInterval(o.get$blue(o),0,255,"blue");return o},SassColor$rgbInternal0(e,r,n,i,a){var o=new s.SassColor0(e,r,n,null,null,null,i==null?1:s.fuzzyAssertRange0(i,0,1,"alpha"),a);s.RangeError_checkValueInInterval(o.get$red(o),0,255,"red");s.RangeError_checkValueInInterval(o.get$green(o),0,255,"green");s.RangeError_checkValueInInterval(o.get$blue(o),0,255,"blue");return o},SassColor$hsl(e,r,n,i){var a=null,l=o.JSNumber_methods.$mod(e,360),u=s.fuzzyAssertRange0(r,0,100,"saturation"),_=s.fuzzyAssertRange0(n,0,100,"lightness");return new s.SassColor0(a,a,a,l,u,_,i==null?1:s.fuzzyAssertRange0(i,0,1,"alpha"),a)},SassColor$hslInternal0(e,r,n,i,a){var l=o.JSNumber_methods.$mod(e,360),u=s.fuzzyAssertRange0(r,0,100,"saturation"),_=s.fuzzyAssertRange0(n,0,100,"lightness");return new s.SassColor0(null,null,null,l,u,_,i==null?1:s.fuzzyAssertRange0(i,0,1,"alpha"),a)},SassColor_SassColor$hwb0(e,r,n,i){var a,l={},u=o.JSNumber_methods.$mod(e,360)/360,_=l.scaledWhiteness=s.fuzzyAssertRange0(r,0,100,"whiteness")/100,c=s.fuzzyAssertRange0(n,0,100,"blackness")/100,$=_+c;if($>1){a=l.scaledWhiteness=_/$;c/=$}else a=_;a=new s.SassColor_SassColor$hwb_toRgb0(l,1-a-c);return s.SassColor$rgb0(a.call$1(u+.3333333333333333),a.call$1(u),a.call$1(u-.3333333333333333),i)},SassColor__hueToRgb0(e,r,n){if(n<0)++n;if(n>1)--n;if(n<.16666666666666666)return e+(r-e)*n*6;else if(n<.5)return r;else if(n<.6666666666666666)return e+(r-e)*(.6666666666666666-n)*6;else return e},SassColor0:function SassColor0(e,r,n,i,s,a,o,l){var u=this;u._color1$_red=e;u._color1$_green=r;u._color1$_blue=n;u._color1$_hue=i;u._color1$_saturation=s;u._color1$_lightness=a;u._color1$_alpha=o;u.format=l},SassColor_SassColor$hwb_toRgb0:function SassColor_SassColor$hwb_toRgb0(e,r){this._box_0=e;this.factor=r},_ColorFormatEnum0:function _ColorFormatEnum0(e){this._color1$_name=e},SpanColorFormat0:function SpanColorFormat0(e){this._color1$_span=e},Combinator0:function Combinator0(e){this._combinator0$_text=e},ModifiableCssComment0:function ModifiableCssComment0(e,r){var n=this;n.text=e;n.span=r;n._node0$_indexInParent=n._node0$_parent=null;n.isGroupEnd=false},compile0(e,r){var n,i,l,_,c,p,h,d,m,g,f,y,S,v=null,b=r==null,x=b?v:a.get$alertColor$x(r),w=x==null?a.$eq$(self.process.stdout.isTTY,true):x,C=b?v:a.get$alertAscii$x(r),E=C==null?u._glyphs===o.C_AsciiGlyphSet:C;try{_=b?v:a.get$loadPaths$x(r);c=b?v:a.get$quietDeps$x(r);if(c==null)c=false;p=s._parseOutputStyle0(b?v:a.get$style$x(r));h=b?v:a.get$verbose$x(r);if(h==null)h=false;d=b?v:a.get$charset$x(r);if(d==null)d=true;m=b?v:a.get$sourceMap$x(r);if(m==null)m=false;g=b?v:a.get$logger$x(r);f=E;if(f==null)f=u._glyphs===o.C_AsciiGlyphSet;f=new s.NodeToDartLogger(g,new s.StderrLogger0(w),f);if(b)g=v;else{g=a.get$importers$x(r);g=g==null?v:a.map$1$1$ax(g,s.compile___parseImporter$closure(),$.Importer)}y=s._parseFunctions0(b?v:a.get$functions$x(r),false);n=s.compile(e,d,new s.CastList(y,s._arrayInstanceType(y)._eval$1("CastList<1,Callable0>")),s.ImportCache$0(g,_,f,v),v,v,f,v,c,m,p,v,true,h);b=b?v:a.get$sourceMapIncludeSources$x(r);if(b==null)b=false;b=s._convertResult(n,b);return b}catch(S){b=s.unwrapException(S);if(b instanceof s.SassException0){i=b;l=s.getTraceFromException(S);s.throwNodeException(i,E,w,l)}else throw S}},compileString0(e,r){var n,i,l,_,c,p,h,d,m,g,f,y,S,v,b,x,w=null,C=r==null,E=C?w:a.get$alertColor$x(r),A=E==null?a.$eq$(self.process.stdout.isTTY,true):E,M=C?w:a.get$alertAscii$x(r),I=M==null?u._glyphs===o.C_AsciiGlyphSet:M;try{_=s.parseSyntax(C?w:a.get$syntax$x(r));c=C?w:s.NullableExtension_andThen0(a.get$url$x(r),s.utils1__jsToDartUrl$closure());p=C?w:a.get$loadPaths$x(r);h=C?w:a.get$quietDeps$x(r);if(h==null)h=false;d=s._parseOutputStyle0(C?w:a.get$style$x(r));m=C?w:a.get$verbose$x(r);if(m==null)m=false;g=C?w:a.get$charset$x(r);if(g==null)g=true;f=C?w:a.get$sourceMap$x(r);if(f==null)f=false;y=C?w:a.get$logger$x(r);S=I;if(S==null)S=u._glyphs===o.C_AsciiGlyphSet;S=new s.NodeToDartLogger(y,new s.StderrLogger0(A),S);if(C)y=w;else{y=a.get$importers$x(r);y=y==null?w:a.map$1$1$ax(y,s.compile___parseImporter$closure(),$.Importer)}v=C?w:s.NullableExtension_andThen0(a.get$importer$x(r),s.compile___parseImporter$closure());if(v==null)v=(C?w:a.get$url$x(r))==null?new s.NoOpImporter:w;b=s._parseFunctions0(C?w:a.get$functions$x(r),false);n=s.compileString(e,g,new s.CastList(b,s._arrayInstanceType(b)._eval$1("CastList<1,Callable0>")),s.ImportCache$0(y,p,S,w),v,w,w,S,w,h,f,d,_,c,true,m);C=C?w:a.get$sourceMapIncludeSources$x(r);if(C==null)C=false;C=s._convertResult(n,C);return C}catch(x){C=s.unwrapException(x);if(C instanceof s.SassException0){i=C;l=s.getTraceFromException(x);s.throwNodeException(i,I,A,l)}else throw x}},compileAsync1(e,r){var n,i=r==null,l=i?null:a.get$alertColor$x(r);if(l==null)l=a.$eq$(self.process.stdout.isTTY,true);n=i?null:a.get$alertAscii$x(r);if(n==null)n=u._glyphs===o.C_AsciiGlyphSet;return s._wrapAsyncSassExceptions(s.futureToPromise0(new s.compileAsync_closure(e,l,r,n).call$0()),n,l)},compileStringAsync1(e,r){var n,i=r==null,l=i?null:a.get$alertColor$x(r);if(l==null)l=a.$eq$(self.process.stdout.isTTY,true);n=i?null:a.get$alertAscii$x(r);if(n==null)n=u._glyphs===o.C_AsciiGlyphSet;return s._wrapAsyncSassExceptions(s.futureToPromise0(new s.compileStringAsync_closure(e,r,l,n).call$0()),n,l)},_convertResult(e,r){var n,i=e._compile_result$_serialize,a=i.sourceMap,o=a==null?null:a.toJson$1$includeSourceContents(r);if($.Map_String_dynamic._is(o)&&!o.containsKey$1("sources"))o.$indexSet(0,"sources",s._setArrayType([],$.JSArray_String));a=e._evaluate.loadedUrls;n=s.toJSArray(new s.EfficientLengthMappedIterable(a,s.utils1__dartToJSUrl$closure(),s._instanceType(a)._eval$1("EfficientLengthMappedIterable<1,Object?>")));i=i.css;return o==null?{css:i,loadedUrls:n}:{css:i,sourceMap:s.jsify(o),loadedUrls:n}},_wrapAsyncSassExceptions(e,r,n){return a.then$2$x(e,null,s.allowInterop(new s._wrapAsyncSassExceptions_closure(n,r)))},_parseOutputStyle0(e){if(e==null||e==="expanded")return o.OutputStyle_expanded0;if(e==="compressed")return o.OutputStyle_compressed0;s.jsThrow(new self.Error('Unknown output style "'+s.S(e)+'".'))},_parseAsyncImporter(e){var r,n,i,o;if(e==null)s.jsThrow(new self.Error("Importers may not be null."));$.NodeImporter._as(e);r=a.getInterceptor$x(e);n=r.get$findFileUrl(e);i=r.get$canonicalize(e);o=r.get$load(e);if(n==null){if(i==null||o==null)s.jsThrow(new self.Error(c.An_impu));return new s.NodeToDartAsyncImporter(i,o)}else if(i!=null||o!=null)s.jsThrow(new self.Error(c.An_impa));else return new s.NodeToDartAsyncFileImporter(n)},_parseImporter0(e){var r,n,i,o;if(e==null)s.jsThrow(new self.Error("Importers may not be null."));$.NodeImporter._as(e);r=a.getInterceptor$x(e);n=r.get$findFileUrl(e);i=r.get$canonicalize(e);o=r.get$load(e);if(n==null){if(i==null||o==null)s.jsThrow(new self.Error(c.An_impu));return new s.NodeToDartImporter(i,o)}else if(i!=null||o!=null)s.jsThrow(new self.Error(c.An_impa));else return new s.NodeToDartFileImporter(n)},_parseFunctions0(e,r){var n;if(e==null)return o.List_empty24;n=s._setArrayType([],$.JSArray_AsyncCallable_2);s.jsForEach(e,new s._parseFunctions_closure0(r,n));return n},compileAsync_closure:function compileAsync_closure(e,r,n,i){var s=this;s.path=e;s.color=r;s.options=n;s.ascii=i},compileAsync__closure:function compileAsync__closure(){},compileStringAsync_closure:function compileStringAsync_closure(e,r,n,i){var s=this;s.text=e;s.options=r;s.color=n;s.ascii=i},compileStringAsync__closure:function compileStringAsync__closure(){},compileStringAsync__closure0:function compileStringAsync__closure0(){},_wrapAsyncSassExceptions_closure:function _wrapAsyncSassExceptions_closure(e,r){this.color=e;this.ascii=r},_parseFunctions_closure0:function _parseFunctions_closure0(e,r){this.asynch=e;this.result=r},_parseFunctions__closure2:function _parseFunctions__closure2(e,r){this._box_0=e;this.callback=r},_parseFunctions__closure3:function _parseFunctions__closure3(e,r){this._box_0=e;this.callback=r},compile(e,r,n,i,o,l,_,c,p,h,d,m,g,f){var y,S,v,b,x,w,C,E=null;if(!f){y=new s.TerseLogger0(s.LinkedHashMap_LinkedHashMap$_empty($.String,$.int),_);_=y}else y=E;S=c==null;if(S)v=m==null||m===s.Syntax_forPath0(e);else v=false;if(v){if(i==null)i=s.ImportCache$none(_);v=u.$get$context();b=v.absolute$7(".",E,E,E,E,E,E);b=i.importCanonical$3$originalUrl(new s.FilesystemImporter0(b),v.toUri$1(a.$eq$(a.get$platform$x(self.process),"win32")||a.$eq$(a.get$platform$x(self.process),"darwin")?s._realCasePath0(v.absolute$7(v.normalize$1(e),E,E,E,E,E,E)):v.canonicalize$1(0,e)),v.toUri$1(e));b.toString;x=b}else{v=s.readFile0(e);b=m==null?s.Syntax_forPath0(e):m;w=u.$get$context();x=s.Stylesheet_Stylesheet$parse0(v,b,_,w.toUri$1(e));v=w}C=s._compileStylesheet1(x,_,i,c,new s.FilesystemImporter0(v.absolute$7(".",E,E,E,E,E,E)),n,d,g,o,l,p,h,r);if(y!=null)y.summarize$1$node(!S);return C},compileString(e,r,n,i,a,l,_,c,p,h,d,m,g,f,y,S){var v,b,x,w=null;if(!S){v=new s.TerseLogger0(s.LinkedHashMap_LinkedHashMap$_empty($.String,$.int),c);c=v}else v=w;b=s.Stylesheet_Stylesheet$parse0(e,g==null?o.Syntax_SCSS0:g,c,f);x=s._compileStylesheet1(b,c,i,p,a==null?new s.FilesystemImporter0(u.$get$context().absolute$7(".",w,w,w,w,w,w)):a,n,m,y,l,_,h,d,r);if(v!=null)v.summarize$1$node(p!=null);return x},_compileStylesheet1(e,r,n,i,a,o,l,u,_,c,$,p,h){var d=s._EvaluateVisitor$1(o,n,r,i,$,p).run$2(0,a,e),m=s.serialize0(d.stylesheet,h,_,false,c,p,l,u),g=m.sourceMap;if(g!=null&&n!=null)s.mapInPlace0(g.urls,new s._compileStylesheet_closure1(e,n));return new s.CompileResult0(d,m)},_compileStylesheet_closure1:function _compileStylesheet_closure1(e,r){this.stylesheet=e;this.importCache=r},CompileOptions:function CompileOptions(){},CompileStringOptions:function CompileStringOptions(){},NodeCompileResult:function NodeCompileResult(){},CompileResult0:function CompileResult0(e,r){this._evaluate=e;this._compile_result$_serialize=r},ComplexSassNumber0:function ComplexSassNumber0(e,r,n,i){var s=this;s._complex1$_numeratorUnits=e;s._complex1$_denominatorUnits=r;s._number1$_value=n;s.hashCache=null;s.asSlash=i},ComplexSelector$0(e,r,n){var i=s.List_List$unmodifiable(e,$.Combinator_2),a=s.List_List$unmodifiable(r,$.ComplexSelectorComponent_2);if(i.length===0&&a.length===0)s.throwExpression(s.ArgumentError$(c.leadin,null));return new s.ComplexSelector0(i,a,n)},ComplexSelector0:function ComplexSelector0(e,r,n){var i=this;i.leadingCombinators=e;i.components=r;i.lineBreak=n;i._complex0$_maxSpecificity=i._complex0$_minSpecificity=null},ComplexSelectorComponent0:function ComplexSelectorComponent0(e,r){this.selector=e;this.combinators=r},ComplexSelectorComponent_toString_closure0:function ComplexSelectorComponent_toString_closure0(){},CompoundSelector$0(e){var r=s.List_List$unmodifiable(e,$.SimpleSelector_2);if(r.length===0)s.throwExpression(s.ArgumentError$("components may not be empty.",null));return new s.CompoundSelector0(r)},CompoundSelector0:function CompoundSelector0(e){this.components=e;this._compound0$_maxSpecificity=this._compound0$_minSpecificity=null},Configuration0:function Configuration0(e){this._configuration$_values=e},Configuration_toString_closure0:function Configuration_toString_closure0(){},ExplicitConfiguration0:function ExplicitConfiguration0(e,r){this.nodeWithSpan=e;this._configuration$_values=r},ConfiguredValue0:function ConfiguredValue0(e,r,n){this.value=e;this.configurationSpan=r;this.assignmentNode=n},ConfiguredVariable0:function ConfiguredVariable0(e,r,n,i){var s=this;s.name=e;s.expression=r;s.isGuarded=n;s.span=i},ContentBlock$0(e,r,n){var i=s.List_List$unmodifiable(r,$.Statement_2),a=o.JSArray_methods.any$1(i,new s.ParentStatement_closure0);return new s.ContentBlock0("@content",e,n,i,a)},ContentBlock0:function ContentBlock0(e,r,n,i,s){var a=this;a.name=e;a.$arguments=r;a.span=n;a.children=i;a.hasDeclarations=s},ContentRule0:function ContentRule0(e,r){this.$arguments=e;this.span=r},_disallowedFunctionNames_closure0:function _disallowedFunctionNames_closure0(){},CssParser0:function CssParser0(e,r,n){var i=this;i._stylesheet0$_isUseAllowed=true;i._stylesheet0$_inParentheses=i._stylesheet0$_inStyleRule=i._stylesheet0$_inUnknownAtRule=i._stylesheet0$_inControlDirective=i._stylesheet0$_inContentBlock=i._stylesheet0$_inMixin=false;i._stylesheet0$_globalVariables=e;i.lastSilentComment=null;i.scanner=r;i.logger=n},DebugRule0:function DebugRule0(e,r){this.expression=e;this.span=r},ModifiableCssDeclaration$0(e,r,n,i,o){var l=o==null?r.get$span(r):o;if(i)if(!a.startsWith$1$s(e.get$value(e),"--"))s.throwExpression(s.ArgumentError$(c.parsed,null));else if(!(r.get$value(r)instanceof s.SassString0))s.throwExpression(s.ArgumentError$(c.If_par+r.toString$0(0)+"` of type "+s.getRuntimeType(r.get$value(r)).toString$0(0)+").",null));return new s.ModifiableCssDeclaration0(e,r,i,l,n)},ModifiableCssDeclaration0:function ModifiableCssDeclaration0(e,r,n,i,s){var a=this;a.name=e;a.value=r;a.parsedAsCustomProperty=n;a.valueSpanForMap=i;a.span=s;a._node0$_indexInParent=a._node0$_parent=null;a.isGroupEnd=false},Declaration$0(e,r,n){if(o.JSString_methods.startsWith$1(e.get$initialPlain(),"--")&&!(r instanceof s.StringExpression0))s.throwExpression(s.ArgumentError$(c.Declarwu+r.toString$0(0)+"` of type "+r.get$runtimeType(r).toString$0(0)+").",null));return new s.Declaration0(e,r,n,null,false)},Declaration$nested0(e,r,n,i){var a=s.List_List$unmodifiable(r,$.Statement_2),l=o.JSArray_methods.any$1(a,new s.ParentStatement_closure0);if(o.JSString_methods.startsWith$1(e.get$initialPlain(),"--")&&!(i instanceof s.StringExpression0))s.throwExpression(s.ArgumentError$(c.Declarwa,null));return new s.Declaration0(e,i,n,a,l)},Declaration0:function Declaration0(e,r,n,i,s){var a=this;a.name=e;a.value=r;a.span=n;a.children=i;a.hasDeclarations=s},SupportsDeclaration0:function SupportsDeclaration0(e,r,n){this.name=e;this.value=r;this.span=n},DynamicImport0:function DynamicImport0(e,r){this.urlString=e;this.span=r},EachRule$0(e,r,n,i){var a=s.List_List$unmodifiable(e,$.String),l=s.List_List$unmodifiable(n,$.Statement_2),u=o.JSArray_methods.any$1(l,new s.ParentStatement_closure0);return new s.EachRule0(a,r,i,l,u)},EachRule0:function EachRule0(e,r,n,i,s){var a=this;a.variables=e;a.list=r;a.span=n;a.children=i;a.hasDeclarations=s},EachRule_toString_closure0:function EachRule_toString_closure0(){},EmptyExtensionStore0:function EmptyExtensionStore0(){},Environment$0(){var e=$.String,r=$.Module_Callable_2,n=$.AstNode_2,i=$.int,a=$.Callable_2,o=$.JSArray_Map_String_Callable_2;return new s.Environment0(s.LinkedHashMap_LinkedHashMap$_empty(e,r),s.LinkedHashMap_LinkedHashMap$_empty(e,n),s.LinkedHashMap_LinkedHashMap$_empty(r,n),s.LinkedHashMap_LinkedHashMap$_empty(r,n),null,null,s._setArrayType([],$.JSArray_Module_Callable_2),s._setArrayType([s.LinkedHashMap_LinkedHashMap$_empty(e,$.Value_2)],$.JSArray_Map_String_Value_2),s._setArrayType([s.LinkedHashMap_LinkedHashMap$_empty(e,n)],$.JSArray_Map_String_AstNode_2),s.LinkedHashMap_LinkedHashMap$_empty(e,i),s._setArrayType([s.LinkedHashMap_LinkedHashMap$_empty(e,a)],o),s.LinkedHashMap_LinkedHashMap$_empty(e,i),s._setArrayType([s.LinkedHashMap_LinkedHashMap$_empty(e,a)],o),s.LinkedHashMap_LinkedHashMap$_empty(e,i),null)},Environment$_0(e,r,n,i,a,o,l,u,_,c,p,h){var d=$.String,m=$.int;return new s.Environment0(e,r,n,i,a,o,l,u,_,s.LinkedHashMap_LinkedHashMap$_empty(d,m),c,s.LinkedHashMap_LinkedHashMap$_empty(d,m),p,s.LinkedHashMap_LinkedHashMap$_empty(d,m),h)},_EnvironmentModule__EnvironmentModule1(e,r,n,i){var l,u,_,c,p,h;if(i==null)i=o.Set_empty2;l=s._EnvironmentModule__makeModulesByVariable1(i);u=s._EnvironmentModule__memberMap1(o.JSArray_methods.get$first(e._environment0$_variables),i.map$1$1(0,new s._EnvironmentModule__EnvironmentModule_closure11,$.Map_String_Value_2),$.Value_2);_=s._EnvironmentModule__memberMap1(o.JSArray_methods.get$first(e._environment0$_variableNodes),i.map$1$1(0,new s._EnvironmentModule__EnvironmentModule_closure12,$.Map_String_AstNode_2),$.AstNode_2);c=$.Map_String_Callable_2;p=$.Callable_2;h=s._EnvironmentModule__memberMap1(o.JSArray_methods.get$first(e._environment0$_functions),i.map$1$1(0,new s._EnvironmentModule__EnvironmentModule_closure13,c),p);p=s._EnvironmentModule__memberMap1(o.JSArray_methods.get$first(e._environment0$_mixins),i.map$1$1(0,new s._EnvironmentModule__EnvironmentModule_closure14,c),p);c=a.get$isNotEmpty$asx(r.get$children(r))||o.JSArray_methods.any$1(e._environment0$_allModules,new s._EnvironmentModule__EnvironmentModule_closure15);return s._EnvironmentModule$_1(e,r,n,l,u,_,h,p,c,!n.get$isEmpty(n)||o.JSArray_methods.any$1(e._environment0$_allModules,new s._EnvironmentModule__EnvironmentModule_closure16))},_EnvironmentModule__makeModulesByVariable1(e){var r,n,i,l,u,_;if(e.get$isEmpty(e))return o.Map_empty6;r=s.LinkedHashMap_LinkedHashMap$_empty($.String,$.Module_Callable_2);for(n=e.get$iterator(e);n.moveNext$0();){i=n.get$current(n);if(i instanceof s._EnvironmentModule1){for(l=i._environment0$_modulesByVariable,l=l.get$values(l),l=l.get$iterator(l);l.moveNext$0();){u=l.get$current(l);_=u.get$variables();s.setAll0(r,_.get$keys(_),u)}s.setAll0(r,a.get$keys$z(o.JSArray_methods.get$first(i._environment0$_environment._environment0$_variables)),i)}else{l=i.get$variables();s.setAll0(r,l.get$keys(l),i)}}return r},_EnvironmentModule__memberMap1(e,r,n){var i,a,o;e=new s.PublicMemberMapView0(e,n._eval$1("PublicMemberMapView0<0>"));if(r.get$isEmpty(r))return e;i=s._setArrayType([],n._eval$1("JSArray>"));for(a=r.get$iterator(r);a.moveNext$0();){o=a.get$current(a);if(o.get$isNotEmpty(o))i.push(o)}i.push(e);if(i.length===1)return e;return s.MergedMapView$0(i,$.String,n)},_EnvironmentModule$_1(e,r,n,i,a,o,l,u,_,c){return new s._EnvironmentModule1(e._environment0$_allModules,a,o,l,u,n,r,_,c,e,i)},Environment0:function Environment0(e,r,n,i,s,a,o,l,u,_,c,$,p,h,d){var m=this;m._environment0$_modules=e;m._environment0$_namespaceNodes=r;m._environment0$_globalModules=n;m._environment0$_importedModules=i;m._environment0$_forwardedModules=s;m._environment0$_nestedForwardedModules=a;m._environment0$_allModules=o;m._environment0$_variables=l;m._environment0$_variableNodes=u;m._environment0$_variableIndices=_;m._environment0$_functions=c;m._environment0$_functionIndices=$;m._environment0$_mixins=p;m._environment0$_mixinIndices=h;m._environment0$_content=d;m._environment0$_inMixin=false;m._environment0$_inSemiGlobalScope=true;m._environment0$_lastVariableIndex=m._environment0$_lastVariableName=null},Environment_importForwards_closure2:function Environment_importForwards_closure2(){},Environment_importForwards_closure3:function Environment_importForwards_closure3(){},Environment_importForwards_closure4:function Environment_importForwards_closure4(){},Environment__getVariableFromGlobalModule_closure0:function Environment__getVariableFromGlobalModule_closure0(e){this.name=e},Environment_setVariable_closure2:function Environment_setVariable_closure2(e,r){this.$this=e;this.name=r},Environment_setVariable_closure3:function Environment_setVariable_closure3(e){this.name=e},Environment_setVariable_closure4:function Environment_setVariable_closure4(e,r){this.$this=e;this.name=r},Environment__getFunctionFromGlobalModule_closure0:function Environment__getFunctionFromGlobalModule_closure0(e){this.name=e},Environment__getMixinFromGlobalModule_closure0:function Environment__getMixinFromGlobalModule_closure0(e){this.name=e},Environment_toModule_closure0:function Environment_toModule_closure0(){},Environment_toDummyModule_closure0:function Environment_toDummyModule_closure0(){},Environment__fromOneModule_closure0:function Environment__fromOneModule_closure0(e,r){this.callback=e;this.T=r},Environment__fromOneModule__closure0:function Environment__fromOneModule__closure0(e,r){this.entry=e;this.T=r},_EnvironmentModule1:function _EnvironmentModule1(e,r,n,i,s,a,o,l,u,_,c){var $=this;$.upstream=e;$.variables=r;$.variableNodes=n;$.functions=i;$.mixins=s;$.extensionStore=a;$.css=o;$.transitivelyContainsCss=l;$.transitivelyContainsExtensions=u;$._environment0$_environment=_;$._environment0$_modulesByVariable=c},_EnvironmentModule__EnvironmentModule_closure11:function _EnvironmentModule__EnvironmentModule_closure11(){},_EnvironmentModule__EnvironmentModule_closure12:function _EnvironmentModule__EnvironmentModule_closure12(){},_EnvironmentModule__EnvironmentModule_closure13:function _EnvironmentModule__EnvironmentModule_closure13(){},_EnvironmentModule__EnvironmentModule_closure14:function _EnvironmentModule__EnvironmentModule_closure14(){},_EnvironmentModule__EnvironmentModule_closure15:function _EnvironmentModule__EnvironmentModule_closure15(){},_EnvironmentModule__EnvironmentModule_closure16:function _EnvironmentModule__EnvironmentModule_closure16(){},ErrorRule0:function ErrorRule0(e,r){this.expression=e;this.span=r},_EvaluateVisitor$1(e,r,n,i,a,l){var u,_=$.Uri,c=$.Module_Callable_2,p=s._setArrayType([],$.JSArray_Tuple2_String_AstNode_2);if(i==null)u=r==null?s.ImportCache$none(n):r;else u=null;_=new s._EvaluateVisitor1(u,i,s.LinkedHashMap_LinkedHashMap$_empty($.String,$.Callable_2),s.LinkedHashMap_LinkedHashMap$_empty(_,c),s.LinkedHashMap_LinkedHashMap$_empty(_,c),s.LinkedHashMap_LinkedHashMap$_empty(_,$.AstNode_2),n,s.LinkedHashSet_LinkedHashSet$_empty($.Tuple2_String_SourceSpan),a,l,s.Environment$0(),s.LinkedHashSet_LinkedHashSet$_empty(_),s.LinkedHashMap_LinkedHashMap$_empty(_,$.nullable_AstNode_2),p,o.Configuration_Map_empty0);_._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(e,r,n,i,a,l);return _},_EvaluateVisitor1:function _EvaluateVisitor1(e,r,n,i,s,a,o,l,u,_,c,$,p,h,d){var m=this;m._evaluate0$_importCache=e;m._evaluate0$_nodeImporter=r;m._evaluate0$_builtInFunctions=n;m._evaluate0$_builtInModules=i;m._evaluate0$_modules=s;m._evaluate0$_moduleNodes=a;m._evaluate0$_logger=o;m._evaluate0$_warningsEmitted=l;m._evaluate0$_quietDeps=u;m._evaluate0$_sourceMap=_;m._evaluate0$_environment=c;m._evaluate0$_declarationName=m._evaluate0$__parent=m._evaluate0$_mediaQueries=m._evaluate0$_styleRuleIgnoringAtRoot=null;m._evaluate0$_member="root stylesheet";m._evaluate0$_importSpan=m._evaluate0$_callableNode=m._evaluate0$_currentCallable=null;m._evaluate0$_inSupportsDeclaration=m._evaluate0$_inKeyframes=m._evaluate0$_atRootExcludingStyleRule=m._evaluate0$_inUnknownAtRule=m._evaluate0$_inFunction=false;m._evaluate0$_loadedUrls=$;m._evaluate0$_activeModules=p;m._evaluate0$_stack=h;m._evaluate0$_importer=null;m._evaluate0$_inDependency=false;m._evaluate0$__extensionStore=m._evaluate0$_outOfOrderImports=m._evaluate0$__endOfImports=m._evaluate0$__root=m._evaluate0$__stylesheet=null;m._evaluate0$_configuration=d},_EvaluateVisitor_closure19:function _EvaluateVisitor_closure19(e){this.$this=e},_EvaluateVisitor_closure20:function _EvaluateVisitor_closure20(e){this.$this=e},_EvaluateVisitor_closure21:function _EvaluateVisitor_closure21(e){this.$this=e},_EvaluateVisitor_closure22:function _EvaluateVisitor_closure22(e){this.$this=e},_EvaluateVisitor_closure23:function _EvaluateVisitor_closure23(e){this.$this=e},_EvaluateVisitor_closure24:function _EvaluateVisitor_closure24(e){this.$this=e},_EvaluateVisitor_closure25:function _EvaluateVisitor_closure25(e){this.$this=e},_EvaluateVisitor_closure26:function _EvaluateVisitor_closure26(e){this.$this=e},_EvaluateVisitor__closure7:function _EvaluateVisitor__closure7(e,r,n){this.$this=e;this.name=r;this.module=n},_EvaluateVisitor_closure27:function _EvaluateVisitor_closure27(e){this.$this=e},_EvaluateVisitor_closure28:function _EvaluateVisitor_closure28(e){this.$this=e},_EvaluateVisitor__closure5:function _EvaluateVisitor__closure5(e,r,n){this.values=e;this.span=r;this.callableNode=n},_EvaluateVisitor__closure6:function _EvaluateVisitor__closure6(e){this.$this=e},_EvaluateVisitor_run_closure1:function _EvaluateVisitor_run_closure1(e,r,n){this.$this=e;this.node=r;this.importer=n},_EvaluateVisitor__loadModule_closure3:function _EvaluateVisitor__loadModule_closure3(e,r){this.callback=e;this.builtInModule=r},_EvaluateVisitor__loadModule_closure4:function _EvaluateVisitor__loadModule_closure4(e,r,n,i,s,a,o){var l=this;l.$this=e;l.url=r;l.nodeWithSpan=n;l.baseUrl=i;l.namesInErrors=s;l.configuration=a;l.callback=o},_EvaluateVisitor__loadModule__closure1:function _EvaluateVisitor__loadModule__closure1(e,r){this.$this=e;this.message=r},_EvaluateVisitor__execute_closure1:function _EvaluateVisitor__execute_closure1(e,r,n,i,s,a){var o=this;o.$this=e;o.importer=r;o.stylesheet=n;o.extensionStore=i;o.configuration=s;o.css=a},_EvaluateVisitor__combineCss_closure5:function _EvaluateVisitor__combineCss_closure5(){},_EvaluateVisitor__combineCss_closure6:function _EvaluateVisitor__combineCss_closure6(e){this.selectors=e},_EvaluateVisitor__combineCss_closure7:function _EvaluateVisitor__combineCss_closure7(){},_EvaluateVisitor__extendModules_closure3:function _EvaluateVisitor__extendModules_closure3(e){this.originalSelectors=e},_EvaluateVisitor__extendModules_closure4:function _EvaluateVisitor__extendModules_closure4(){},_EvaluateVisitor__topologicalModules_visitModule1:function _EvaluateVisitor__topologicalModules_visitModule1(e,r){this.seen=e;this.sorted=r},_EvaluateVisitor_visitAtRootRule_closure5:function _EvaluateVisitor_visitAtRootRule_closure5(e,r){this.$this=e;this.resolved=r},_EvaluateVisitor_visitAtRootRule_closure6:function _EvaluateVisitor_visitAtRootRule_closure6(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitAtRootRule_closure7:function _EvaluateVisitor_visitAtRootRule_closure7(e,r){this.$this=e;this.node=r},_EvaluateVisitor__scopeForAtRoot_closure11:function _EvaluateVisitor__scopeForAtRoot_closure11(e,r,n){this.$this=e;this.newParent=r;this.node=n},_EvaluateVisitor__scopeForAtRoot_closure12:function _EvaluateVisitor__scopeForAtRoot_closure12(e,r){this.$this=e;this.innerScope=r},_EvaluateVisitor__scopeForAtRoot_closure13:function _EvaluateVisitor__scopeForAtRoot_closure13(e,r){this.$this=e;this.innerScope=r},_EvaluateVisitor__scopeForAtRoot__closure1:function _EvaluateVisitor__scopeForAtRoot__closure1(e,r){this.innerScope=e;this.callback=r},_EvaluateVisitor__scopeForAtRoot_closure14:function _EvaluateVisitor__scopeForAtRoot_closure14(e,r){this.$this=e;this.innerScope=r},_EvaluateVisitor__scopeForAtRoot_closure15:function _EvaluateVisitor__scopeForAtRoot_closure15(){},_EvaluateVisitor__scopeForAtRoot_closure16:function _EvaluateVisitor__scopeForAtRoot_closure16(e,r){this.$this=e;this.innerScope=r},_EvaluateVisitor_visitContentRule_closure1:function _EvaluateVisitor_visitContentRule_closure1(e,r){this.$this=e;this.content=r},_EvaluateVisitor_visitDeclaration_closure3:function _EvaluateVisitor_visitDeclaration_closure3(e){this.$this=e},_EvaluateVisitor_visitDeclaration_closure4:function _EvaluateVisitor_visitDeclaration_closure4(e,r){this.$this=e;this.children=r},_EvaluateVisitor_visitEachRule_closure5:function _EvaluateVisitor_visitEachRule_closure5(e,r,n){this.$this=e;this.node=r;this.nodeWithSpan=n},_EvaluateVisitor_visitEachRule_closure6:function _EvaluateVisitor_visitEachRule_closure6(e,r,n){this.$this=e;this.node=r;this.nodeWithSpan=n},_EvaluateVisitor_visitEachRule_closure7:function _EvaluateVisitor_visitEachRule_closure7(e,r,n,i){var s=this;s.$this=e;s.list=r;s.setVariables=n;s.node=i},_EvaluateVisitor_visitEachRule__closure1:function _EvaluateVisitor_visitEachRule__closure1(e,r,n){this.$this=e;this.setVariables=r;this.node=n},_EvaluateVisitor_visitEachRule___closure1:function _EvaluateVisitor_visitEachRule___closure1(e){this.$this=e},_EvaluateVisitor_visitExtendRule_closure1:function _EvaluateVisitor_visitExtendRule_closure1(e,r){this.$this=e;this.targetText=r},_EvaluateVisitor_visitAtRule_closure5:function _EvaluateVisitor_visitAtRule_closure5(e){this.$this=e},_EvaluateVisitor_visitAtRule_closure6:function _EvaluateVisitor_visitAtRule_closure6(e,r){this.$this=e;this.children=r},_EvaluateVisitor_visitAtRule__closure1:function _EvaluateVisitor_visitAtRule__closure1(e,r){this.$this=e;this.children=r},_EvaluateVisitor_visitAtRule_closure7:function _EvaluateVisitor_visitAtRule_closure7(){},_EvaluateVisitor_visitForRule_closure9:function _EvaluateVisitor_visitForRule_closure9(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitForRule_closure10:function _EvaluateVisitor_visitForRule_closure10(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitForRule_closure11:function _EvaluateVisitor_visitForRule_closure11(e){this.fromNumber=e},_EvaluateVisitor_visitForRule_closure12:function _EvaluateVisitor_visitForRule_closure12(e,r){this.toNumber=e;this.fromNumber=r},_EvaluateVisitor_visitForRule_closure13:function _EvaluateVisitor_visitForRule_closure13(e,r,n,i,s,a){var o=this;o._box_0=e;o.$this=r;o.node=n;o.from=i;o.direction=s;o.fromNumber=a},_EvaluateVisitor_visitForRule__closure1:function _EvaluateVisitor_visitForRule__closure1(e){this.$this=e},_EvaluateVisitor_visitForwardRule_closure3:function _EvaluateVisitor_visitForwardRule_closure3(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitForwardRule_closure4:function _EvaluateVisitor_visitForwardRule_closure4(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitIfRule_closure1:function _EvaluateVisitor_visitIfRule_closure1(e,r){this._box_0=e;this.$this=r},_EvaluateVisitor_visitIfRule__closure1:function _EvaluateVisitor_visitIfRule__closure1(e){this.$this=e},_EvaluateVisitor__visitDynamicImport_closure1:function _EvaluateVisitor__visitDynamicImport_closure1(e,r){this.$this=e;this.$import=r},_EvaluateVisitor__visitDynamicImport__closure7:function _EvaluateVisitor__visitDynamicImport__closure7(e){this.$this=e},_EvaluateVisitor__visitDynamicImport__closure8:function _EvaluateVisitor__visitDynamicImport__closure8(){},_EvaluateVisitor__visitDynamicImport__closure9:function _EvaluateVisitor__visitDynamicImport__closure9(){},_EvaluateVisitor__visitDynamicImport__closure10:function _EvaluateVisitor__visitDynamicImport__closure10(e,r,n,i,s,a){var o=this;o.$this=e;o.result=r;o.stylesheet=n;o.loadsUserDefinedModules=i;o.environment=s;o.children=a},_EvaluateVisitor_visitIncludeRule_closure7:function _EvaluateVisitor_visitIncludeRule_closure7(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitIncludeRule_closure8:function _EvaluateVisitor_visitIncludeRule_closure8(e){this.node=e},_EvaluateVisitor_visitIncludeRule_closure10:function _EvaluateVisitor_visitIncludeRule_closure10(e){this.$this=e},_EvaluateVisitor_visitIncludeRule_closure9:function _EvaluateVisitor_visitIncludeRule_closure9(e,r,n,i){var s=this;s.$this=e;s.contentCallable=r;s.mixin=n;s.nodeWithSpan=i},_EvaluateVisitor_visitIncludeRule__closure1:function _EvaluateVisitor_visitIncludeRule__closure1(e,r,n){this.$this=e;this.mixin=r;this.nodeWithSpan=n},_EvaluateVisitor_visitIncludeRule___closure1:function _EvaluateVisitor_visitIncludeRule___closure1(e,r,n){this.$this=e;this.mixin=r;this.nodeWithSpan=n},_EvaluateVisitor_visitIncludeRule____closure1:function _EvaluateVisitor_visitIncludeRule____closure1(e,r){this.$this=e;this.statement=r},_EvaluateVisitor_visitMediaRule_closure5:function _EvaluateVisitor_visitMediaRule_closure5(e,r){this.$this=e;this.queries=r},_EvaluateVisitor_visitMediaRule_closure6:function _EvaluateVisitor_visitMediaRule_closure6(e,r,n,i){var s=this;s.$this=e;s.mergedQueries=r;s.queries=n;s.node=i},_EvaluateVisitor_visitMediaRule__closure1:function _EvaluateVisitor_visitMediaRule__closure1(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitMediaRule___closure1:function _EvaluateVisitor_visitMediaRule___closure1(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitMediaRule_closure7:function _EvaluateVisitor_visitMediaRule_closure7(e){this.mergedQueries=e},_EvaluateVisitor__visitMediaQueries_closure1:function _EvaluateVisitor__visitMediaQueries_closure1(e,r){this.$this=e;this.resolved=r},_EvaluateVisitor_visitStyleRule_closure15:function _EvaluateVisitor_visitStyleRule_closure15(e,r){this.$this=e;this.selectorText=r},_EvaluateVisitor_visitStyleRule_closure16:function _EvaluateVisitor_visitStyleRule_closure16(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitStyleRule_closure17:function _EvaluateVisitor_visitStyleRule_closure17(){},_EvaluateVisitor_visitStyleRule_closure18:function _EvaluateVisitor_visitStyleRule_closure18(e,r){this.$this=e;this.selectorText=r},_EvaluateVisitor_visitStyleRule_closure19:function _EvaluateVisitor_visitStyleRule_closure19(e,r){this._box_0=e;this.$this=r},_EvaluateVisitor_visitStyleRule_closure20:function _EvaluateVisitor_visitStyleRule_closure20(e,r,n){this.$this=e;this.rule=r;this.node=n},_EvaluateVisitor_visitStyleRule__closure1:function _EvaluateVisitor_visitStyleRule__closure1(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitStyleRule_closure21:function _EvaluateVisitor_visitStyleRule_closure21(){},_EvaluateVisitor_visitStyleRule_closure22:function _EvaluateVisitor_visitStyleRule_closure22(){},_EvaluateVisitor_visitSupportsRule_closure3:function _EvaluateVisitor_visitSupportsRule_closure3(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitSupportsRule__closure1:function _EvaluateVisitor_visitSupportsRule__closure1(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitSupportsRule_closure4:function _EvaluateVisitor_visitSupportsRule_closure4(){},_EvaluateVisitor_visitVariableDeclaration_closure5:function _EvaluateVisitor_visitVariableDeclaration_closure5(e,r,n){this.$this=e;this.node=r;this.override=n},_EvaluateVisitor_visitVariableDeclaration_closure6:function _EvaluateVisitor_visitVariableDeclaration_closure6(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitVariableDeclaration_closure7:function _EvaluateVisitor_visitVariableDeclaration_closure7(e,r,n){this.$this=e;this.node=r;this.value=n},_EvaluateVisitor_visitUseRule_closure1:function _EvaluateVisitor_visitUseRule_closure1(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitWarnRule_closure1:function _EvaluateVisitor_visitWarnRule_closure1(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitWhileRule_closure1:function _EvaluateVisitor_visitWhileRule_closure1(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitWhileRule__closure1:function _EvaluateVisitor_visitWhileRule__closure1(e){this.$this=e},_EvaluateVisitor_visitBinaryOperationExpression_closure1:function _EvaluateVisitor_visitBinaryOperationExpression_closure1(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1:function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1(){},_EvaluateVisitor_visitVariableExpression_closure1:function _EvaluateVisitor_visitVariableExpression_closure1(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitUnaryOperationExpression_closure1:function _EvaluateVisitor_visitUnaryOperationExpression_closure1(e,r){this.node=e;this.operand=r},_EvaluateVisitor__visitCalculationValue_closure1:function _EvaluateVisitor__visitCalculationValue_closure1(e,r,n){this.$this=e;this.node=r;this.inMinMax=n},_EvaluateVisitor_visitListExpression_closure1:function _EvaluateVisitor_visitListExpression_closure1(e){this.$this=e},_EvaluateVisitor_visitFunctionExpression_closure3:function _EvaluateVisitor_visitFunctionExpression_closure3(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitFunctionExpression_closure4:function _EvaluateVisitor_visitFunctionExpression_closure4(e,r,n){this._box_0=e;this.$this=r;this.node=n},_EvaluateVisitor_visitInterpolatedFunctionExpression_closure1:function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(e,r,n){this.$this=e;this.node=r;this.$function=n},_EvaluateVisitor__runUserDefinedCallable_closure1:function _EvaluateVisitor__runUserDefinedCallable_closure1(e,r,n,i,s,a){var o=this;o.$this=e;o.callable=r;o.evaluated=n;o.nodeWithSpan=i;o.run=s;o.V=a},_EvaluateVisitor__runUserDefinedCallable__closure1:function _EvaluateVisitor__runUserDefinedCallable__closure1(e,r,n,i,s,a){var o=this;o.$this=e;o.evaluated=r;o.callable=n;o.nodeWithSpan=i;o.run=s;o.V=a},_EvaluateVisitor__runUserDefinedCallable___closure1:function _EvaluateVisitor__runUserDefinedCallable___closure1(e,r,n,i,s,a){var o=this;o.$this=e;o.evaluated=r;o.callable=n;o.nodeWithSpan=i;o.run=s;o.V=a},_EvaluateVisitor__runUserDefinedCallable____closure1:function _EvaluateVisitor__runUserDefinedCallable____closure1(){},_EvaluateVisitor__runFunctionCallable_closure1:function _EvaluateVisitor__runFunctionCallable_closure1(e,r){this.$this=e;this.callable=r},_EvaluateVisitor__runBuiltInCallable_closure3:function _EvaluateVisitor__runBuiltInCallable_closure3(e,r,n){this.overload=e;this.evaluated=r;this.namedSet=n},_EvaluateVisitor__runBuiltInCallable_closure4:function _EvaluateVisitor__runBuiltInCallable_closure4(){},_EvaluateVisitor__evaluateArguments_closure7:function _EvaluateVisitor__evaluateArguments_closure7(){},_EvaluateVisitor__evaluateArguments_closure8:function _EvaluateVisitor__evaluateArguments_closure8(e,r){this.$this=e;this.restNodeForSpan=r},_EvaluateVisitor__evaluateArguments_closure9:function _EvaluateVisitor__evaluateArguments_closure9(e,r,n,i){var s=this;s.$this=e;s.named=r;s.restNodeForSpan=n;s.namedNodes=i},_EvaluateVisitor__evaluateArguments_closure10:function _EvaluateVisitor__evaluateArguments_closure10(){},_EvaluateVisitor__evaluateMacroArguments_closure7:function _EvaluateVisitor__evaluateMacroArguments_closure7(e){this.restArgs=e},_EvaluateVisitor__evaluateMacroArguments_closure8:function _EvaluateVisitor__evaluateMacroArguments_closure8(e,r,n){this.$this=e;this.restNodeForSpan=r;this.restArgs=n},_EvaluateVisitor__evaluateMacroArguments_closure9:function _EvaluateVisitor__evaluateMacroArguments_closure9(e,r,n,i){var s=this;s.$this=e;s.named=r;s.restNodeForSpan=n;s.restArgs=i},_EvaluateVisitor__evaluateMacroArguments_closure10:function _EvaluateVisitor__evaluateMacroArguments_closure10(e,r,n){this.$this=e;this.keywordRestNodeForSpan=r;this.keywordRestArgs=n},_EvaluateVisitor__addRestMap_closure1:function _EvaluateVisitor__addRestMap_closure1(e,r,n,i,s,a){var o=this;o.$this=e;o.values=r;o.convert=n;o.expressionNode=i;o.map=s;o.nodeWithSpan=a},_EvaluateVisitor__verifyArguments_closure1:function _EvaluateVisitor__verifyArguments_closure1(e,r,n){this.$arguments=e;this.positional=r;this.named=n},_EvaluateVisitor_visitStringExpression_closure1:function _EvaluateVisitor_visitStringExpression_closure1(e){this.$this=e},_EvaluateVisitor_visitCssAtRule_closure3:function _EvaluateVisitor_visitCssAtRule_closure3(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssAtRule_closure4:function _EvaluateVisitor_visitCssAtRule_closure4(){},_EvaluateVisitor_visitCssKeyframeBlock_closure3:function _EvaluateVisitor_visitCssKeyframeBlock_closure3(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssKeyframeBlock_closure4:function _EvaluateVisitor_visitCssKeyframeBlock_closure4(){},_EvaluateVisitor_visitCssMediaRule_closure5:function _EvaluateVisitor_visitCssMediaRule_closure5(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssMediaRule_closure6:function _EvaluateVisitor_visitCssMediaRule_closure6(e,r,n){this.$this=e;this.mergedQueries=r;this.node=n},_EvaluateVisitor_visitCssMediaRule__closure1:function _EvaluateVisitor_visitCssMediaRule__closure1(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssMediaRule___closure1:function _EvaluateVisitor_visitCssMediaRule___closure1(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssMediaRule_closure7:function _EvaluateVisitor_visitCssMediaRule_closure7(e){this.mergedQueries=e},_EvaluateVisitor_visitCssStyleRule_closure3:function _EvaluateVisitor_visitCssStyleRule_closure3(e,r,n){this.$this=e;this.rule=r;this.node=n},_EvaluateVisitor_visitCssStyleRule__closure1:function _EvaluateVisitor_visitCssStyleRule__closure1(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssStyleRule_closure4:function _EvaluateVisitor_visitCssStyleRule_closure4(){},_EvaluateVisitor_visitCssSupportsRule_closure3:function _EvaluateVisitor_visitCssSupportsRule_closure3(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssSupportsRule__closure1:function _EvaluateVisitor_visitCssSupportsRule__closure1(e,r){this.$this=e;this.node=r},_EvaluateVisitor_visitCssSupportsRule_closure4:function _EvaluateVisitor_visitCssSupportsRule_closure4(){},_EvaluateVisitor__performInterpolation_closure1:function _EvaluateVisitor__performInterpolation_closure1(e,r,n){this.$this=e;this.warnForColor=r;this.interpolation=n},_EvaluateVisitor__serialize_closure1:function _EvaluateVisitor__serialize_closure1(e,r){this.value=e;this.quote=r},_EvaluateVisitor__expressionNode_closure1:function _EvaluateVisitor__expressionNode_closure1(e,r){this.$this=e;this.expression=r},_EvaluateVisitor__withoutSlash_recommendation1:function _EvaluateVisitor__withoutSlash_recommendation1(){},_EvaluateVisitor__stackFrame_closure1:function _EvaluateVisitor__stackFrame_closure1(e){this.$this=e},_EvaluateVisitor__stackTrace_closure1:function _EvaluateVisitor__stackTrace_closure1(e){this.$this=e},_ImportedCssVisitor1:function _ImportedCssVisitor1(e){this._evaluate0$_visitor=e},_ImportedCssVisitor_visitCssAtRule_closure1:function _ImportedCssVisitor_visitCssAtRule_closure1(){},_ImportedCssVisitor_visitCssMediaRule_closure1:function _ImportedCssVisitor_visitCssMediaRule_closure1(e){this.hasBeenMerged=e},_ImportedCssVisitor_visitCssStyleRule_closure1:function _ImportedCssVisitor_visitCssStyleRule_closure1(){},_ImportedCssVisitor_visitCssSupportsRule_closure1:function _ImportedCssVisitor_visitCssSupportsRule_closure1(){},_EvaluationContext1:function _EvaluationContext1(e,r){this._evaluate0$_visitor=e;this._evaluate0$_defaultWarnNodeWithSpan=r},_ArgumentResults1:function _ArgumentResults1(e,r,n,i,s){var a=this;a.positional=e;a.positionalNodes=r;a.named=n;a.namedNodes=i;a.separator=s},_LoadedStylesheet1:function _LoadedStylesheet1(e,r,n){this.stylesheet=e;this.importer=r;this.isDependency=n},EveryCssVisitor0:function EveryCssVisitor0(){},EveryCssVisitor_visitCssAtRule_closure0:function EveryCssVisitor_visitCssAtRule_closure0(e){this.$this=e},EveryCssVisitor_visitCssKeyframeBlock_closure0:function EveryCssVisitor_visitCssKeyframeBlock_closure0(e){this.$this=e},EveryCssVisitor_visitCssMediaRule_closure0:function EveryCssVisitor_visitCssMediaRule_closure0(e){this.$this=e},EveryCssVisitor_visitCssStyleRule_closure0:function EveryCssVisitor_visitCssStyleRule_closure0(e){this.$this=e},EveryCssVisitor_visitCssStylesheet_closure0:function EveryCssVisitor_visitCssStylesheet_closure0(e){this.$this=e},EveryCssVisitor_visitCssSupportsRule_closure0:function EveryCssVisitor_visitCssSupportsRule_closure0(e){this.$this=e},throwNodeException(e,r,n,i){var a,l,_,c;i=i;a=u._glyphs===o.C_AsciiGlyphSet;u._glyphs=r?o.C_AsciiGlyphSet:o.C_UnicodeGlyphSet;try{_=s.callConstructor(u.$get$exceptionClass(),[e,o.JSString_methods.replaceFirst$2(e.toString$1$color(0,n),"Error: ","")]);l=$._NodeException._as(_);c=s.getTrace0(e);i=c==null?i:c;if(i!=null)s.attachJsStack(l,i);s.jsThrow(l)}finally{u._glyphs=a?o.C_AsciiGlyphSet:o.C_UnicodeGlyphSet}},_NodeException:function _NodeException(){},exceptionClass_closure:function exceptionClass_closure(){},exceptionClass__closure:function exceptionClass__closure(){},exceptionClass__closure0:function exceptionClass__closure0(){},exceptionClass__closure1:function exceptionClass__closure1(){},SassException$0(e,r){return new s.SassException0(e,r)},MultiSpanSassRuntimeException$0(e,r,n,i,a){return new s.MultiSpanSassRuntimeException0(a,n,s.ConstantMap_ConstantMap$from(i,$.FileSpan,$.String),e,r)},SassFormatException$0(e,r){return new s.SassFormatException0(e,r)},SassScriptException$0(e){return new s.SassScriptException0(e)},MultiSpanSassScriptException$0(e,r,n){return new s.MultiSpanSassScriptException0(r,s.ConstantMap_ConstantMap$from(n,$.FileSpan,$.String),e)},SassException0:function SassException0(e,r){this._span_exception$_message=e;this._span=r},MultiSpanSassException0:function MultiSpanSassException0(e,r,n,i){var s=this;s.primaryLabel=e;s.secondarySpans=r;s._span_exception$_message=n;s._span=i},SassRuntimeException0:function SassRuntimeException0(e,r,n){this.trace=e;this._span_exception$_message=r;this._span=n},MultiSpanSassRuntimeException0:function MultiSpanSassRuntimeException0(e,r,n,i,s){var a=this;a.trace=e;a.primaryLabel=r;a.secondarySpans=n;a._span_exception$_message=i;a._span=s},SassFormatException0:function SassFormatException0(e,r){this._span_exception$_message=e;this._span=r},SassScriptException0:function SassScriptException0(e){this.message=e},MultiSpanSassScriptException0:function MultiSpanSassScriptException0(e,r,n){this.primaryLabel=e;this.secondarySpans=r;this.message=n},Exports:function Exports(){},LoggerNamespace:function LoggerNamespace(){},ExtendRule0:function ExtendRule0(e,r,n){this.selector=e;this.isOptional=r;this.span=n},Extension0:function Extension0(e,r,n,i,s){var a=this;a.extender=e;a.target=r;a.mediaContext=n;a.isOptional=i;a.span=s},Extender0:function Extender0(e,r,n){var i=this;i.selector=e;i.isOriginal=r;i._extension$_extension=null;i.span=n},ExtensionStore__extendOrReplace0(e,r,n,i,a){var l,u,_,c,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A,M,I=s.ExtensionStore$_mode0(i);if(!e.accept$1(o._IsInvisibleVisitor_true0))I._extension_store$_originals.addAll$1(0,e.components);for(l=n.components,u=l.length,_=r.components,c=_.length,p=$.ComplexSelector_2,h=$.Extension_2,d=$.SimpleSelector_2,m=$.Map_ComplexSelector_Extension_2,g=0;g"))},ForwardedModuleView__forwardedMap0(e,r,n,i,a){var o,l=r==null;if(l)if(n==null)if(i!=null){o=i._base;o=o.get$isEmpty(o)}else o=true;else o=false;else o=false;if(o)return e;if(!l)e=new s.PrefixedMapView0(e,r,a._eval$1("PrefixedMapView0<0>"));if(n!=null)e=new s.LimitedMapView0(e,n._base.intersection$1(new s.MapKeySet(e,$.MapKeySet_nullable_Object)),$.$env_1_1_String._bind$1(a)._eval$1("LimitedMapView0<1,2>"));else{if(i!=null){l=i._base;l=l.get$isNotEmpty(l)}else l=false;if(l)e=s.LimitedMapView$blocklist0(e,i,$.String,a)}return e},ForwardedModuleView0:function ForwardedModuleView0(e,r,n,i,s,a,o){var l=this;l._forwarded_view0$_inner=e;l._forwarded_view0$_rule=r;l.variables=n;l.variableNodes=i;l.functions=s;l.mixins=a;l.$ti=o},FunctionExpression0:function FunctionExpression0(e,r,n,i){var s=this;s.namespace=e;s.originalName=r;s.$arguments=n;s.span=i},JSFunction0:function JSFunction0(){},SupportsFunction0:function SupportsFunction0(e,r,n){this.name=e;this.$arguments=r;this.span=n},functionClass_closure:function functionClass_closure(){},functionClass__closure:function functionClass__closure(){},functionClass__closure0:function functionClass__closure0(){},SassFunction0:function SassFunction0(e){this.callable=e},FunctionRule$0(e,r,n,i,a){var l=s.List_List$unmodifiable(n,$.Statement_2),u=o.JSArray_methods.any$1(l,new s.ParentStatement_closure0);return new s.FunctionRule0(e,r,i,l,u)},FunctionRule0:function FunctionRule0(e,r,n,i,s){var a=this;a.name=e;a.$arguments=r;a.span=n;a.children=i;a.hasDeclarations=s},unifyComplex0(e){var r,n,i,l,u,_,p,h,d,m,g,f,y,S,v,b,x,w=null,C=a.getInterceptor$asx(e);if(C.get$length(e)===1)return e;for(r=C.get$iterator(e),n=w,i=n,l=i;r.moveNext$0();){u=r.get$current(r);if(u.accept$1(o.C__IsUselessVisitor0))return w;_=u.components;if(_.length===1&&u.leadingCombinators.length!==0){p=o.JSArray_methods.get$single(u.leadingCombinators);if(i!=null&&i!==p)return w;i=p}h=o.JSArray_methods.get$last(_);u=h.combinators;if(u.length!==0){d=o.JSArray_methods.get$single(u);if(n!=null&&n!==d)return w;n=d}if(l==null)l=h.selector.components;else for(u=h.selector.components,_=u.length,m=0;m<_;++m){l=u[m].unify$1(l);if(l==null)return w}}r=$.JSArray_ComplexSelector_2;u=s._setArrayType([],r);for(_=C.get$iterator(e),g=$.Combinator_2,f=$.ComplexSelectorComponent_2;_.moveNext$0();){y=_.get$current(_);S=y.components;v=S.length;if(v>1){b=y.leadingCombinators;S=o.JSArray_methods.take$1(S,v-1);y=y.lineBreak;x=s.List_List$from(b,false,g);x.fixed$length=Array;x.immutable$list=Array;b=x;x=s.List_List$from(S,false,f);x.fixed$length=Array;x.immutable$list=Array;S=x;if(b.length===0&&S.length===0)s.throwExpression(s.ArgumentError$(c.leadin,w));u.push(new s.ComplexSelector0(b,S,y))}}_=i==null?o.List_empty13:s._setArrayType([i],$.JSArray_Combinator_2);l.toString;f=s.CompoundSelector$0(l);h=s.ComplexSelector$0(_,s._setArrayType([new s.ComplexSelectorComponent0(f,s.List_List$unmodifiable(n==null?o.List_empty13:s._setArrayType([n],$.JSArray_Combinator_2),g))],$.JSArray_ComplexSelectorComponent_2),C.any$1(e,new s.unifyComplex_closure0));if(u.length===0)C=s._setArrayType([h],r);else{C=s.List_List$of(s.IterableExtension_get_exceptLast0(u),true,$.ComplexSelector_2);C.push(o.JSArray_methods.get$last(u).concatenate$1(h))}return s.weave0(C,false)},unifyCompound0(e,r){var n,i,a,o;for(n=e.length,i=r,a=0;a1)return i;n=r.length;if(n>1)return i;if(s===0)return r;if(n===0)return e;return o.C_ListEquality.equals$2(0,e,r)?e:i},_mergeTrailingCombinators0(e,r,n){var i,a,l,u,_,c,p,h,d,m,g,f,y,S,v=null;if(n==null)n=s.QueueList$(v,$.List_List_ComplexSelectorComponent_2);i=e._collection$_head===e._collection$_tail?o.List_empty13:e.get$last(e).combinators;a=r._collection$_head===r._collection$_tail?o.List_empty13:r.get$last(r).combinators;l=i.length;u=l===0;if(u&&a.length===0)return n;if(l>1||a.length>1)return v;_=u?v:o.JSArray_methods.get$first(i);c=a.length===0?v:o.JSArray_methods.get$first(a);l=_!=null;if(l&&c!=null){p=e.removeLast$0(0);h=r.removeLast$0(0);l=_===o.Combinator_CzM0;if(l&&c===o.Combinator_CzM0){l=p.selector;u=h.selector;if(s.compoundIsSuperselector0(l,u,v))n.addFirst$1(s._setArrayType([s._setArrayType([h],$.JSArray_ComplexSelectorComponent_2)],$.JSArray_List_ComplexSelectorComponent_2));else{d=$.JSArray_ComplexSelectorComponent_2;m=$.JSArray_List_ComplexSelectorComponent_2;if(s.compoundIsSuperselector0(u,l,v))n.addFirst$1(s._setArrayType([s._setArrayType([p],d)],m));else{g=s._setArrayType([s._setArrayType([p,h],d),s._setArrayType([h,p],d)],m);f=s.unifyCompound0(l.components,u.components);if(f!=null)g.push(s._setArrayType([new s.ComplexSelectorComponent0(f,s.List_List$unmodifiable(o.List_EyN0,$.Combinator_2))],d));n.addFirst$1(g)}}}else{if(!(l&&c===o.Combinator_uzg0))u=_===o.Combinator_uzg0&&c===o.Combinator_CzM0;else u=true;if(u){y=l?p:h;S=l?h:p;l=$.JSArray_ComplexSelectorComponent_2;u=$.JSArray_List_ComplexSelectorComponent_2;if(s.compoundIsSuperselector0(y.selector,S.selector,v))n.addFirst$1(s._setArrayType([s._setArrayType([S],l)],u));else{f=s.unifyCompound0(p.selector.components,h.selector.components);u=s._setArrayType([s._setArrayType([y,S],l)],u);if(f!=null)u.push(s._setArrayType([new s.ComplexSelectorComponent0(f,s.List_List$unmodifiable(o.List_Gl70,$.Combinator_2))],l));n.addFirst$1(u)}}else{if(_===o.Combinator_sgq0)u=c===o.Combinator_uzg0||c===o.Combinator_CzM0;else u=false;if(u){n.addFirst$1(s._setArrayType([s._setArrayType([h],$.JSArray_ComplexSelectorComponent_2)],$.JSArray_List_ComplexSelectorComponent_2));e._add$1(p)}else{if(c===o.Combinator_sgq0)l=_===o.Combinator_uzg0||l;else l=false;if(l){n.addFirst$1(s._setArrayType([s._setArrayType([p],$.JSArray_ComplexSelectorComponent_2)],$.JSArray_List_ComplexSelectorComponent_2));r._add$1(h)}else if(_===c){f=s.unifyCompound0(p.selector.components,h.selector.components);if(f==null)return v;n.addFirst$1(s._setArrayType([s._setArrayType([new s.ComplexSelectorComponent0(f,s.List_List$unmodifiable(s._setArrayType([_],$.JSArray_Combinator_2),$.Combinator_2))],$.JSArray_ComplexSelectorComponent_2)],$.JSArray_List_ComplexSelectorComponent_2))}else return v}}}return s._mergeTrailingCombinators0(e,r,n)}else if(l){if(_===o.Combinator_sgq0&&!r.get$isEmpty(r)&&s.compoundIsSuperselector0(r.get$last(r).selector,e.get$last(e).selector,v))r.removeLast$0(0);n.addFirst$1(s._setArrayType([s._setArrayType([e.removeLast$0(0)],$.JSArray_ComplexSelectorComponent_2)],$.JSArray_List_ComplexSelectorComponent_2));return s._mergeTrailingCombinators0(e,r,n)}else{if(c===o.Combinator_sgq0&&!e.get$isEmpty(e)&&s.compoundIsSuperselector0(e.get$last(e).selector,r.get$last(r).selector,v))e.removeLast$0(0);n.addFirst$1(s._setArrayType([s._setArrayType([r.removeLast$0(0)],$.JSArray_ComplexSelectorComponent_2)],$.JSArray_List_ComplexSelectorComponent_2));return s._mergeTrailingCombinators0(e,r,n)}},_mustUnify0(e,r){var n,i,l,u=s.LinkedHashSet_LinkedHashSet$_empty($.SimpleSelector_2);for(n=a.get$iterator$ax(e);n.moveNext$0();)for(i=o.JSArray_methods.get$iterator(n.get$current(n).selector.components),l=new s.WhereIterator(i,s.functions0___isUnique$closure());l.moveNext$0();)u.add$1(0,i.get$current(i));if(u._collection$_length===0)return false;return a.any$1$ax(r,new s._mustUnify_closure0(u))},_isUnique0(e){var r;if(!(e instanceof s.IDSelector0))r=e instanceof s.PseudoSelector0&&!e.isClass;else r=true;return r},_chunks0(e,r,n,i){var a,l,u=i._eval$1("JSArray<0>"),_=s._setArrayType([],u);for(;!n.call$1(e);)_.push(e.removeFirst$0());a=s._setArrayType([],u);for(;!n.call$1(r);)a.push(r.removeFirst$0());u=_.length===0;if(u&&a.length===0)return s._setArrayType([],i._eval$1("JSArray>"));if(u)return s._setArrayType([a],i._eval$1("JSArray>"));if(a.length===0)return s._setArrayType([_],i._eval$1("JSArray>"));u=s.List_List$of(_,true,i);o.JSArray_methods.addAll$1(u,a);l=s.List_List$of(a,true,i);o.JSArray_methods.addAll$1(l,_);return s._setArrayType([u,l],i._eval$1("JSArray>"))},paths0(e,r){return a.fold$2$ax(e,s._setArrayType([s._setArrayType([],r._eval$1("JSArray<0>"))],r._eval$1("JSArray>")),new s.paths_closure0(r))},_groupSelectors0(e){var r,n,i,a=s.QueueList$(null,$.List_ComplexSelectorComponent_2),o=$.JSArray_ComplexSelectorComponent_2,l=s._setArrayType([],o);for(r=s._ListQueueIterator$(e),n=s._instanceType(r)._precomputed1;r.moveNext$0();){i=r._collection$_current;if(i==null)i=n._as(i);l.push(i);if(i.combinators.length===0){a._queue_list$_add$1(l);l=s._setArrayType([],o)}}if(l.length!==0)a._queue_list$_add$1(l);return a},listIsSuperselector0(e,r){return o.JSArray_methods.every$1(r,new s.listIsSuperselector_closure0(e))},_complexIsParentSuperselector0(e,r){var n,i,l;if(a.get$length$asx(e)>a.get$length$asx(r))return false;n=new s.ComplexSelectorComponent0(s.CompoundSelector$0(s._setArrayType([new s.PlaceholderSelector0("")],$.JSArray_SimpleSelector_2)),s.List_List$unmodifiable(o.List_empty13,$.Combinator_2));i=$.ComplexSelectorComponent_2;l=s.List_List$of(e,true,i);l.push(n);i=s.List_List$of(r,true,i);i.push(n);return s.complexIsSuperselector0(l,i)},complexIsSuperselector0(e,r){var n,i,a,l,u,_,c,p,h,d,m,g,f;if(o.JSArray_methods.get$last(e).combinators.length!==0)return false;if(o.JSArray_methods.get$last(r).combinators.length!==0)return false;for(n=$.JSArray_ComplexSelectorComponent_2,i=0,a=0;true;){l=e.length-i;u=r.length;_=u-a;if(l===0||_===0)return false;if(l>_)return false;c=e[i];p=c.combinators;if(p.length>1)return false;if(l===1){h=o.JSArray_methods.sublist$2(r,a,u-1);if(o.JSArray_methods.any$1(h,new s.complexIsSuperselector_closure0))return false;return s.compoundIsSuperselector0(c.selector,o.JSArray_methods.get$last(r).selector,h)}for(u=c.selector,d=a,h=null;true;){m=r[d];if(m.combinators.length>1)return false;if(s.compoundIsSuperselector0(u,m.selector,h))break;++d;if(d===r.length-1)return false;if(h==null)h=s._setArrayType([],n);h.push(m)}m=r[d];g=s.IterableExtension_get_firstOrNull(p);f=s.IterableExtension_get_firstOrNull(m.combinators);if(g!=null){if(f==null)return false;if(g===o.Combinator_CzM0){if(f===o.Combinator_sgq0)return false}else if(f!==g)return false;if(l===2&&_>2)return false;++i;a=d+1}else if(f!=null){if(f!==o.Combinator_sgq0)return false;++i;a=d+1}else{++i;a=d+1}}},compoundIsSuperselector0(e,r,n){var i,a,l,u,_,c,p,h,d,m=s._findPseudoElementIndexed0(e),g=s._findPseudoElementIndexed0(r),f=m==null;if(!f&&g!=null){if(m.item1.isSuperselector$1(g.item1)){f=e.components;i=m.item2;a=$.int;l=s._arrayInstanceType(f)._precomputed1;u=s.SubListIterable$(f,0,s.checkNotNullable(i,"count",a),l);_=r.components;c=g.item2;p=s._arrayInstanceType(_)._precomputed1;f=s._compoundComponentsIsSuperselector0(u,s.SubListIterable$(_,0,s.checkNotNullable(c,"count",a),p),n)&&s._compoundComponentsIsSuperselector0(s.SubListIterable$(f,i+1,null,l),s.SubListIterable$(_,c+1,null,p),n)}else f=false;return f}else if(!f||g!=null)return false;for(f=e.components,i=f.length,a=r.components,h=0;h")),new s._selectorPseudoArgs_closure2,i._eval$1("MappedIterable")),$.SelectorList_2)},unifyComplex_closure0:function unifyComplex_closure0(){},_weaveParents_closure3:function _weaveParents_closure3(){},_weaveParents_closure4:function _weaveParents_closure4(e){this.group=e},_weaveParents_closure5:function _weaveParents_closure5(){},_weaveParents_closure6:function _weaveParents_closure6(){},_mustUnify_closure0:function _mustUnify_closure0(e){this.uniqueSelectors=e},_mustUnify__closure0:function _mustUnify__closure0(e){this.uniqueSelectors=e},paths_closure0:function paths_closure0(e){this.T=e},paths__closure0:function paths__closure0(e,r){this.paths=e;this.T=r},paths___closure0:function paths___closure0(e,r){this.option=e;this.T=r},listIsSuperselector_closure0:function listIsSuperselector_closure0(e){this.list1=e},listIsSuperselector__closure0:function listIsSuperselector__closure0(e){this.complex1=e},complexIsSuperselector_closure0:function complexIsSuperselector_closure0(){},_selectorPseudoIsSuperselector_closure6:function _selectorPseudoIsSuperselector_closure6(e){this.selector1=e},_selectorPseudoIsSuperselector_closure7:function _selectorPseudoIsSuperselector_closure7(e,r){this.parents=e;this.compound2=r},_selectorPseudoIsSuperselector_closure8:function _selectorPseudoIsSuperselector_closure8(e){this.selector1=e},_selectorPseudoIsSuperselector_closure9:function _selectorPseudoIsSuperselector_closure9(e){this.selector1=e},_selectorPseudoIsSuperselector_closure10:function _selectorPseudoIsSuperselector_closure10(e,r){this.compound2=e;this.pseudo1=r},_selectorPseudoIsSuperselector__closure0:function _selectorPseudoIsSuperselector__closure0(e,r){this.complex=e;this.pseudo1=r},_selectorPseudoIsSuperselector___closure1:function _selectorPseudoIsSuperselector___closure1(e){this.simple2=e},_selectorPseudoIsSuperselector___closure2:function _selectorPseudoIsSuperselector___closure2(e){this.simple2=e},_selectorPseudoIsSuperselector_closure11:function _selectorPseudoIsSuperselector_closure11(e){this.selector1=e},_selectorPseudoIsSuperselector_closure12:function _selectorPseudoIsSuperselector_closure12(e,r){this.pseudo1=e;this.selector1=r},_selectorPseudoArgs_closure1:function _selectorPseudoArgs_closure1(e,r){this.isClass=e;this.name=r},_selectorPseudoArgs_closure2:function _selectorPseudoArgs_closure2(){},globalFunctions_closure0:function globalFunctions_closure0(){},IDSelector0:function IDSelector0(e){this.name=e},IDSelector_unify_closure0:function IDSelector_unify_closure0(e){this.$this=e},IfExpression0:function IfExpression0(e,r){this.$arguments=e;this.span=r},IfClause$0(e,r){var n=s.List_List$unmodifiable(r,$.Statement_2);return new s.IfClause0(e,n,o.JSArray_methods.any$1(n,new s.IfRuleClause$__closure0))},ElseClause$0(e){var r=s.List_List$unmodifiable(e,$.Statement_2);return new s.ElseClause0(r,o.JSArray_methods.any$1(r,new s.IfRuleClause$__closure0))},IfRule0:function IfRule0(e,r,n){this.clauses=e;this.lastClause=r;this.span=n},IfRule_toString_closure0:function IfRule_toString_closure0(){},IfRuleClause0:function IfRuleClause0(){},IfRuleClause$__closure0:function IfRuleClause$__closure0(){},IfRuleClause$___closure0:function IfRuleClause$___closure0(){},IfClause0:function IfClause0(e,r,n){this.expression=e;this.children=r;this.hasDeclarations=n},ElseClause0:function ElseClause0(e,r){this.children=e;this.hasDeclarations=r},jsToDartList(e){return self.immutable.isOrderedMap(e)?a.toArray$0$x($.ImmutableList._as(e)):$.List_dynamic._as(e)},dartMapToImmutableMap(e){var r,n,i=a.asMutable$0$x(new self.immutable.OrderedMap);for(r=e.get$entries(e),r=r.get$iterator(r);r.moveNext$0();){n=r.get$current(r);i=a.$set$2$x(i,n.key,n.value)}return a.asImmutable$0$x(i)},immutableMapToDartMap(e){var r=s.LinkedHashMap_LinkedHashMap$_empty($.Object,$.nullable_Object);a.forEach$1$x(e,s.allowInterop(new s.immutableMapToDartMap_closure(r)));return r},ImmutableList:function ImmutableList(){},ImmutableMap:function ImmutableMap(){},immutableMapToDartMap_closure:function immutableMapToDartMap_closure(e){this.dartMap=e},NodeImporter__addSassPath(e){return s._makeSyncStarIterable((function(){var r=e;var n=0,i=2,o,l,u;return function $async$NodeImporter__addSassPath(e,_){if(e===1){o=_;n=i}while(true)switch(n){case 0:n=3;return s._IterationMarker_yieldStar(r);case 3:l=a.get$env$x(self.process);if(l==null)l=$.Object._as(l);u=s._asStringQ(l.SASS_PATH);if(u==null){n=1;break}n=4;return s._IterationMarker_yieldStar(s._setArrayType(u.split(a.$eq$(a.get$platform$x(self.process),"win32")?";":":"),$.JSArray_String));case 4:case 1:return s._IterationMarker_endOfIteration();case 2:return s._IterationMarker_uncaughtError(o)}}}),$.String)},NodeImporter:function NodeImporter(e,r,n){this._implementation$_options=e;this._includePaths=r;this._implementation$_importers=n},NodeImporter__tryPath_closure:function NodeImporter__tryPath_closure(e){this.path=e},NodeImporter__tryPath_closure0:function NodeImporter__tryPath_closure0(){},ModifiableCssImport0:function ModifiableCssImport0(e,r,n){var i=this;i.url=e;i.modifiers=r;i.span=n;i._node0$_indexInParent=i._node0$_parent=null;i.isGroupEnd=false},ImportCache$0(e,r,n,i){var a=$.nullable_Tuple3_Importer_Uri_Uri_2,o=$.Uri,l=s.ImportCache__toImporters0(e,r,i);return new s.ImportCache0(l,n,s.LinkedHashMap_LinkedHashMap$_empty($.Tuple2_Uri_bool,a),s.LinkedHashMap_LinkedHashMap$_empty($.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2,a),s.LinkedHashMap_LinkedHashMap$_empty(o,$.nullable_Stylesheet_2),s.LinkedHashMap_LinkedHashMap$_empty(o,$.ImporterResult_2))},ImportCache$none(e){var r=$.nullable_Tuple3_Importer_Uri_Uri_2,n=$.Uri;return new s.ImportCache0(o.List_empty23,e,s.LinkedHashMap_LinkedHashMap$_empty($.Tuple2_Uri_bool,r),s.LinkedHashMap_LinkedHashMap$_empty($.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2,r),s.LinkedHashMap_LinkedHashMap$_empty(n,$.nullable_Stylesheet_2),s.LinkedHashMap_LinkedHashMap$_empty(n,$.ImporterResult_2))},ImportCache__toImporters0(e,r,n){var i,l,_,c,p,h=null,d=a.get$env$x(self.process);if(d==null)d=$.Object._as(d);i=s._asStringQ(d.SASS_PATH);d=s._setArrayType([],$.JSArray_Importer);if(e!=null)o.JSArray_methods.addAll$1(d,e);if(r!=null)for(l=a.get$iterator$ax(r);l.moveNext$0();){_=l.get$current(l);d.push(new s.FilesystemImporter0(u.$get$context().absolute$7(_,h,h,h,h,h,h)))}if(i!=null){l=i.split(a.$eq$(a.get$platform$x(self.process),"win32")?";":":");_=l.length;c=0;for(;c<_;++c){p=l[c];d.push(new s.FilesystemImporter0(u.$get$context().absolute$7(p,h,h,h,h,h,h)))}}return d},ImportCache0:function ImportCache0(e,r,n,i,s,a){var o=this;o._import_cache$_importers=e;o._import_cache$_logger=r;o._import_cache$_canonicalizeCache=n;o._import_cache$_relativeCanonicalizeCache=i;o._import_cache$_importCache=s;o._import_cache$_resultsCache=a},ImportCache_canonicalize_closure1:function ImportCache_canonicalize_closure1(e,r,n,i,s){var a=this;a.$this=e;a.baseUrl=r;a.url=n;a.baseImporter=i;a.forImport=s},ImportCache_canonicalize_closure2:function ImportCache_canonicalize_closure2(e,r,n){this.$this=e;this.url=r;this.forImport=n},ImportCache__canonicalize_closure0:function ImportCache__canonicalize_closure0(e,r){this.importer=e;this.url=r},ImportCache_importCanonical_closure0:function ImportCache_importCanonical_closure0(e,r,n,i,s){var a=this;a.$this=e;a.importer=r;a.canonicalUrl=n;a.originalUrl=i;a.quiet=s},ImportCache_humanize_closure2:function ImportCache_humanize_closure2(e){this.canonicalUrl=e},ImportCache_humanize_closure3:function ImportCache_humanize_closure3(){},ImportCache_humanize_closure4:function ImportCache_humanize_closure4(){},ImportRule0:function ImportRule0(e,r){this.imports=e;this.span=r},NodeImporter0:function NodeImporter0(){},CanonicalizeOptions:function CanonicalizeOptions(){},NodeImporterResult0:function NodeImporterResult0(){},Importer0:function Importer0(){},NodeImporterResult1:function NodeImporterResult1(){},IncludeRule0:function IncludeRule0(e,r,n,i,s){var a=this;a.namespace=e;a.name=r;a.$arguments=n;a.content=i;a.span=s},InterpolatedFunctionExpression0:function InterpolatedFunctionExpression0(e,r,n){this.name=e;this.$arguments=r;this.span=n},Interpolation$0(e,r){var n=new s.Interpolation0(s.List_List$unmodifiable(e,$.Object),r);n.Interpolation$20(e,r);return n},Interpolation0:function Interpolation0(e,r){this.contents=e;this.span=r},Interpolation_toString_closure0:function Interpolation_toString_closure0(){},SupportsInterpolation0:function SupportsInterpolation0(e,r){this.expression=e;this.span=r},InterpolationBuffer0:function InterpolationBuffer0(e,r){this._interpolation_buffer0$_text=e;this._interpolation_buffer0$_contents=r},_realCasePath0(e){var r,n;if(!(a.$eq$(a.get$platform$x(self.process),"win32")||a.$eq$(a.get$platform$x(self.process),"darwin")))return e;if(a.$eq$(a.get$platform$x(self.process),"win32")){r=o.JSString_methods.substring$2(e,0,u.$get$context().style.rootLength$1(e));n=r.length;if(n!==0&&s.isAlphabetic1(o.JSString_methods._codeUnitAt$1(r,0)))e=r.toUpperCase()+o.JSString_methods.substring$1(e,n)}return(new s._realCasePath_helper0).call$1(e)},_realCasePath_helper0:function _realCasePath_helper0(){},_realCasePath_helper_closure0:function _realCasePath_helper_closure0(e,r,n){this.helper=e;this.dirname=r;this.path=n},_realCasePath_helper__closure0:function _realCasePath_helper__closure0(e){this.basename=e},ModifiableCssKeyframeBlock$0(e,r){var n=s._setArrayType([],$.JSArray_ModifiableCssNode_2);return new s.ModifiableCssKeyframeBlock0(e,r,new s.UnmodifiableListView(n,$.UnmodifiableListView_ModifiableCssNode_2),n)},ModifiableCssKeyframeBlock0:function ModifiableCssKeyframeBlock0(e,r,n,i){var s=this;s.selector=e;s.span=r;s.children=n;s._node0$_children=i;s._node0$_indexInParent=s._node0$_parent=null;s.isGroupEnd=false},KeyframeSelectorParser$0(e,r){var n=s.SpanScanner$(e,null);return new s.KeyframeSelectorParser0(n,r)},KeyframeSelectorParser0:function KeyframeSelectorParser0(e,r){this.scanner=e;this.logger=r},KeyframeSelectorParser_parse_closure0:function KeyframeSelectorParser_parse_closure0(e){this.$this=e},render(e,r){var n=a.get$fiber$x(e);if(n!=null)a.run$0$x(n.call$1(s.allowInterop(new s.render_closure(r,e))));else s._renderAsync(e).then$1$2$onError(0,new s.render_closure0(r),new s.render_closure1(r),$.Null)},_renderAsync(e){var r=0,n=s._makeAsyncAwaitCompleter($.RenderResult),i,l,_,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A,M,I;var V=s._wrapJsFunctionForAsync((function($,L){if($===1)return s._asyncRethrow(L,n);while(true)switch(r){case 0:E=new s.DateTime(Date.now(),false);A=a.getInterceptor$x(e);M=A.get$data(e);I=s.NullableExtension_andThen0(A.get$file(e),s.path__absolute$closure());r=M!=null?3:5;break;case 3:l=s._parseImporter(e,E);_=s._parseFunctions(e,E,true);p=A.get$indentedSyntax(e);p=!a.$eq$(p,false)&&p!=null?o.Syntax_Sass0:null;h=s._parseOutputStyle(A.get$outputStyle(e));d=a.$eq$(A.get$indentType(e),"tab");m=s._parseIndentWidth(A.get$indentWidth(e));g=s._parseLineFeed(A.get$linefeed(e));f=I==null?"stdin":u.$get$context().toUri$1(I).toString$0(0);y=A.get$quietDeps(e);if(y==null)y=false;S=A.get$verbose(e);if(S==null)S=false;v=A.get$charset(e);if(v==null)v=true;b=s._enableSourceMaps(e);A=A.get$logger(e);x=a.$eq$(self.process.stdout.isTTY,true);w=u._glyphs;r=6;return s._asyncAwait(s.compileStringAsync0(M,v,_,null,null,m,g,new s.NodeToDartLogger(A,new s.StderrLogger0(x),w===o.C_AsciiGlyphSet),l,y,b,h,p,f,!d,S),V);case 6:C=L;r=4;break;case 5:r=I!=null?7:9;break;case 7:l=s._parseImporter(e,E);_=s._parseFunctions(e,E,true);p=A.get$indentedSyntax(e);p=!a.$eq$(p,false)&&p!=null?o.Syntax_Sass0:null;h=s._parseOutputStyle(A.get$outputStyle(e));d=a.$eq$(A.get$indentType(e),"tab");m=s._parseIndentWidth(A.get$indentWidth(e));g=s._parseLineFeed(A.get$linefeed(e));f=A.get$quietDeps(e);if(f==null)f=false;y=A.get$verbose(e);if(y==null)y=false;S=A.get$charset(e);if(S==null)S=true;v=s._enableSourceMaps(e);A=A.get$logger(e);b=a.$eq$(self.process.stdout.isTTY,true);x=u._glyphs;r=10;return s._asyncAwait(s.compileAsync0(I,S,_,null,m,g,new s.NodeToDartLogger(A,new s.StderrLogger0(b),x===o.C_AsciiGlyphSet),l,f,v,h,p,!d,y),V);case 10:C=L;r=8;break;case 9:throw s.wrapException(s.ArgumentError$(c.Either,null));case 8:case 4:i=s._newRenderResult(e,C,E);r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(V,n)},renderSync(e){var r,n,i,l,_,$,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A,M,I,V,L=null;try{r=new s.DateTime(Date.now(),false);n=null;d=a.getInterceptor$x(e);i=d.get$data(e);l=s.NullableExtension_andThen0(d.get$file(e),s.path__absolute$closure());if(i!=null){m=s._parseImporter(e,r);g=s._parseFunctions(e,r,false);f=d.get$indentedSyntax(e);f=!a.$eq$(f,false)&&f!=null?o.Syntax_Sass0:L;y=s._parseOutputStyle(d.get$outputStyle(e));S=a.$eq$(d.get$indentType(e),"tab");v=s._parseIndentWidth(d.get$indentWidth(e));b=s._parseLineFeed(d.get$linefeed(e));x=l==null?"stdin":u.$get$context().toUri$1(l).toString$0(0);w=d.get$quietDeps(e);if(w==null)w=false;C=d.get$verbose(e);if(C==null)C=false;E=d.get$charset(e);if(E==null)E=true;A=s._enableSourceMaps(e);d=d.get$logger(e);M=a.$eq$(self.process.stdout.isTTY,true);I=u._glyphs;n=s.compileString(i,E,new s.CastList(g,s._arrayInstanceType(g)._eval$1("CastList<1,Callable0>")),L,L,v,b,new s.NodeToDartLogger(d,new s.StderrLogger0(M),I===o.C_AsciiGlyphSet),m,w,A,y,f,x,!S,C)}else if(l!=null){m=s._parseImporter(e,r);g=s._parseFunctions(e,r,false);f=d.get$indentedSyntax(e);f=!a.$eq$(f,false)&&f!=null?o.Syntax_Sass0:L;y=s._parseOutputStyle(d.get$outputStyle(e));S=a.$eq$(d.get$indentType(e),"tab");v=s._parseIndentWidth(d.get$indentWidth(e));b=s._parseLineFeed(d.get$linefeed(e));x=d.get$quietDeps(e);if(x==null)x=false;w=d.get$verbose(e);if(w==null)w=false;C=d.get$charset(e);if(C==null)C=true;E=s._enableSourceMaps(e);d=d.get$logger(e);A=a.$eq$(self.process.stdout.isTTY,true);M=u._glyphs;n=s.compile(l,C,new s.CastList(g,s._arrayInstanceType(g)._eval$1("CastList<1,Callable0>")),L,v,b,new s.NodeToDartLogger(d,new s.StderrLogger0(A),M===o.C_AsciiGlyphSet),m,x,E,y,f,!S,w)}else{d=s.ArgumentError$(c.Either,L);throw s.wrapException(d)}d=s._newRenderResult(e,n,r);return d}catch(V){d=s.unwrapException(V);if(d instanceof s.SassException0){_=d;$=s.getTraceFromException(V);s.jsThrow(s._wrapException(_,$))}else{p=d;h=s.getTraceFromException(V);d=a.toString$0$(p);m=s.getTrace0(p);s.jsThrow(s._newRenderError(d,m==null?h:m,L,L,L,3))}}},_wrapException(e,r){var n,i,a,l,_=s.SourceSpanException.prototype.get$span.call(e,e),c=_.get$sourceUrl(_);if(c==null)n="stdin";else n=c.get$scheme()==="file"?u.$get$context().style.pathFromUri$1(s._parseUri(c)):c.toString$0(0);_=o.JSString_methods.replaceFirst$2(e.toString$0(0),"Error: ","");i=s.getTrace0(e);if(i==null)i=r;a=s.SourceSpanException.prototype.get$span.call(e,e);a=a.get$start(a);a=a.file.getLine$1(a.offset);l=s.SourceSpanException.prototype.get$span.call(e,e);l=l.get$start(l);return s._newRenderError(_,i,l.file.getColumn$1(l.offset)+1,n,a+1,1)},_parseFunctions(e,r,n){var i,l=a.get$functions$x(e);if(l==null)return o.List_empty24;i=s._setArrayType([],$.JSArray_AsyncCallable_2);s.jsForEach(l,new s._parseFunctions_closure(e,r,i,n));return i},_parseImporter(e,r){var n,i,o,l,u,_=a.getInterceptor$x(e);if(_.get$importer(e)==null)n=s._setArrayType([],$.JSArray_JSFunction);else{i=$.List_nullable_Object;o=$.JSFunction;n=i._is(_.get$importer(e))?a.cast$1$0$ax(i._as(_.get$importer(e)),o):s._setArrayType([o._as(_.get$importer(e))],$.JSArray_JSFunction)}i=a.getInterceptor$asx(n);l=i.get$isNotEmpty(n)?s._contextOptions(e,r):new s.Object;u=_.get$fiber(e);if(u!=null){i=i.map$1$1(n,new s._parseImporter_closure(u),$.JSFunction);n=s.List_List$of(i,true,i.$ti._eval$1("ListIterable.E"))}_=_.get$includePaths(e);if(_==null)_=[];i=$.String;return new s.NodeImporter(l,s.List_List$unmodifiable(s.NodeImporter__addSassPath(s.List_List$from(_,true,i)),i),s.List_List$unmodifiable(a.cast$1$0$ax(n,$.dynamic),$.JSFunction))},_contextOptions(e,r){var n,i,l,u,_,c,p=a.getInterceptor$x(e),h=p.get$includePaths(e);if(h==null)h=[];n=s.List_List$from(h,true,$.String);h=p.get$file(e);i=p.get$data(e);l=s._setArrayType([s.current()],$.JSArray_String);o.JSArray_methods.addAll$1(l,n);l=o.JSArray_methods.join$1(l,a.$eq$(a.get$platform$x(self.process),"win32")?";":":");u=a.$eq$(p.get$indentType(e),"tab")?1:0;_=s._parseIndentWidth(p.get$indentWidth(e));if(_==null)_=2;c=s._parseLineFeed(p.get$linefeed(e));p=p.get$file(e);if(p==null)p="data";return{file:h,data:i,includePaths:l,precision:10,style:1,indentType:u,indentWidth:_,linefeed:c.text,result:{stats:{start:r._core$_value,entry:p}}}},_parseOutputStyle(e){if(e==null||e==="expanded")return o.OutputStyle_expanded0;if(e==="compressed")return o.OutputStyle_compressed0;throw s.wrapException(s.ArgumentError$('Unsupported output style "'+s.S(e)+'".',null))},_parseIndentWidth(e){if(e==null)return null;return s._isInt(e)?e:s.int_parse(a.toString$0$(e),null)},_parseLineFeed(e){switch(e){case"cr":return o.LineFeed_kMT;case"crlf":return o.LineFeed_Mss;case"lfcr":return o.LineFeed_a1Y;default:return o.LineFeed_D6m}},_newRenderResult(e,r,n){var i,l,_,c,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A=null,M=Date.now(),I=r._compile_result$_serialize,V=I.css,L=$.Null._as(self.undefined);if(s._enableSourceMaps(e)){i=a.getInterceptor$x(e);l=i.get$sourceMap(e);if(typeof l=="string")_=l;else{c=i.get$outFile(e);c.toString;_=a.$add$ansx(c,".map")}c=u.$get$context();p=c.dirname$1(_);I=I.sourceMap;I.toString;I.sourceRoot=i.get$sourceMapRoot(e);h=i.get$outFile(e);d=h==null;if(d){m=i.get$file(e);if(m==null)I.targetUrl="stdin.css";else I.targetUrl=c.toUri$1(c.withoutExtension$1(m)+".css").toString$0(0)}else I.targetUrl=c.toUri$1(c.relative$2$from(h,p)).toString$0(0);g=c.toUri$1(p).toString$0(0);for(c=I.urls,f=0;f")._bind$1(i)._eval$1("LimitedMapView0<1,2>"))},LimitedMapView0:function LimitedMapView0(e,r,n){this._limited_map_view0$_map=e;this._limited_map_view0$_keys=r;this.$ti=n},ListExpression0:function ListExpression0(e,r,n,i){var s=this;s.contents=e;s.separator=r;s.hasBrackets=n;s.span=i},ListExpression_toString_closure0:function ListExpression_toString_closure0(e){this.$this=e},_function10(e,r,n){return s.BuiltInCallable$function0(e,r,n,"sass:list")},_length_closure2:function _length_closure2(){},_nth_closure0:function _nth_closure0(){},_setNth_closure0:function _setNth_closure0(){},_join_closure0:function _join_closure0(){},_append_closure2:function _append_closure2(){},_zip_closure0:function _zip_closure0(){},_zip__closure2:function _zip__closure2(){},_zip__closure3:function _zip__closure3(e){this._box_0=e},_zip__closure4:function _zip__closure4(e){this._box_0=e},_index_closure2:function _index_closure2(){},_separator_closure0:function _separator_closure0(){},_isBracketed_closure0:function _isBracketed_closure0(){},_slash_closure0:function _slash_closure0(){},SelectorList$0(e){var r=s.List_List$unmodifiable(e,$.ComplexSelector_2);if(r.length===0)s.throwExpression(s.ArgumentError$("components may not be empty.",null));return new s.SelectorList0(r)},SelectorList_SelectorList$parse0(e,r,n,i){return s.SelectorParser$0(e,r,n,i,null).parse$0()},SelectorList0:function SelectorList0(e){this.components=e},SelectorList_asSassList_closure0:function SelectorList_asSassList_closure0(){},SelectorList_resolveParentSelectors_closure0:function SelectorList_resolveParentSelectors_closure0(e,r,n){this.$this=e;this.implicitParent=r;this.parent=n},SelectorList_resolveParentSelectors__closure0:function SelectorList_resolveParentSelectors__closure0(e){this.complex=e},SelectorList__complexContainsParentSelector_closure0:function SelectorList__complexContainsParentSelector_closure0(){},SelectorList__complexContainsParentSelector__closure0:function SelectorList__complexContainsParentSelector__closure0(){},SelectorList__resolveParentSelectorsCompound_closure2:function SelectorList__resolveParentSelectorsCompound_closure2(){},SelectorList__resolveParentSelectorsCompound_closure3:function SelectorList__resolveParentSelectorsCompound_closure3(e){this.parent=e},SelectorList__resolveParentSelectorsCompound_closure4:function SelectorList__resolveParentSelectorsCompound_closure4(e,r,n){this.parentSelector=e;this.resolvedSimples=r;this.component=n},SelectorList_withAdditionalCombinators_closure0:function SelectorList_withAdditionalCombinators_closure0(e){this.combinators=e},_NodeSassList:function _NodeSassList(){},legacyListClass_closure:function legacyListClass_closure(){},legacyListClass__closure:function legacyListClass__closure(){},legacyListClass_closure0:function legacyListClass_closure0(){},legacyListClass_closure1:function legacyListClass_closure1(){},legacyListClass_closure2:function legacyListClass_closure2(){},legacyListClass_closure3:function legacyListClass_closure3(){},legacyListClass_closure4:function legacyListClass_closure4(){},listClass_closure:function listClass_closure(){},listClass__closure:function listClass__closure(){},listClass__closure0:function listClass__closure0(){},_ConstructorOptions:function _ConstructorOptions(){},SassList$0(e,r,n){var i=new s.SassList0(s.List_List$unmodifiable(e,$.Value_2),r,n);i.SassList$3$brackets0(e,r,n);return i},SassList0:function SassList0(e,r,n){this._list1$_contents=e;this._list1$_separator=r;this._list1$_hasBrackets=n},SassList_isBlank_closure0:function SassList_isBlank_closure0(){},ListSeparator0:function ListSeparator0(e,r){this._list1$_name=e;this.separator=r},NodeLogger:function NodeLogger(){},WarnOptions:function WarnOptions(){},DebugOptions:function DebugOptions(){},_QuietLogger0:function _QuietLogger0(){},LoudComment0:function LoudComment0(e){this.text=e},MapExpression0:function MapExpression0(e,r){this.pairs=e;this.span=r},MapExpression_toString_closure0:function MapExpression_toString_closure0(){},_modify0(e,r,n,i){var o=a.get$iterator$ax(r);return o.moveNext$0()?new s._modify__modifyNestedMap0(o,n,i).call$1(e):n.call$1(e)},_deepMergeImpl0(e,r){var n,i,a,o=e._map0$_contents;if(o.get$isEmpty(o))return r;n=r._map0$_contents;if(n.get$isEmpty(n))return e;i=$.Value_2;a=s.LinkedHashMap_LinkedHashMap$of(o,i,i);n.forEach$1(0,new s._deepMergeImpl_closure0(a));return new s.SassMap0(s.ConstantMap_ConstantMap$from(a,i,i))},_function9(e,r,n){return s.BuiltInCallable$function0(e,r,n,"sass:map")},_get_closure0:function _get_closure0(){},_set_closure1:function _set_closure1(){},_set__closure2:function _set__closure2(e){this.$arguments=e},_set_closure2:function _set_closure2(){},_set__closure1:function _set__closure1(e){this.args=e},_merge_closure1:function _merge_closure1(){},_merge_closure2:function _merge_closure2(){},_merge__closure0:function _merge__closure0(e){this.map2=e},_deepMerge_closure0:function _deepMerge_closure0(){},_deepRemove_closure0:function _deepRemove_closure0(){},_deepRemove__closure0:function _deepRemove__closure0(e){this.keys=e},_remove_closure1:function _remove_closure1(){},_remove_closure2:function _remove_closure2(){},_keys_closure0:function _keys_closure0(){},_values_closure0:function _values_closure0(){},_hasKey_closure0:function _hasKey_closure0(){},_modify__modifyNestedMap0:function _modify__modifyNestedMap0(e,r,n){this.keyIterator=e;this.modify=r;this.addNesting=n},_deepMergeImpl_closure0:function _deepMergeImpl_closure0(e){this.result=e},_NodeSassMap:function _NodeSassMap(){},legacyMapClass_closure:function legacyMapClass_closure(){},legacyMapClass__closure:function legacyMapClass__closure(){},legacyMapClass__closure0:function legacyMapClass__closure0(){},legacyMapClass_closure0:function legacyMapClass_closure0(){},legacyMapClass_closure1:function legacyMapClass_closure1(){},legacyMapClass_closure2:function legacyMapClass_closure2(){},legacyMapClass_closure3:function legacyMapClass_closure3(){},legacyMapClass_closure4:function legacyMapClass_closure4(){},mapClass_closure:function mapClass_closure(){},mapClass__closure:function mapClass__closure(){},mapClass__closure0:function mapClass__closure0(){},mapClass__closure1:function mapClass__closure1(){},SassMap0:function SassMap0(e){this._map0$_contents=e},SassMap_asList_closure0:function SassMap_asList_closure0(e){this.result=e},_fuzzyRoundIfZero0(e){if(!(Math.abs(e-0)1&&r==null)s.throwExpression(s.ArgumentError$(c.If_con,null));return new s.CssMediaQuery0(null,null,r!==false,n)},CssMediaQuery0:function CssMediaQuery0(e,r,n,i){var s=this;s.modifier=e;s.type=r;s.conjunction=n;s.conditions=i},_SingletonCssMediaQueryMergeResult0:function _SingletonCssMediaQueryMergeResult0(e){this._media_query0$_name=e},MediaQuerySuccessfulMergeResult0:function MediaQuerySuccessfulMergeResult0(e){this.query=e},MediaQueryParser0:function MediaQueryParser0(e,r){this.scanner=e;this.logger=r},MediaQueryParser_parse_closure0:function MediaQueryParser_parse_closure0(e){this.$this=e},ModifiableCssMediaRule$0(e,r){var n=s.List_List$unmodifiable(e,$.CssMediaQuery_2),i=s._setArrayType([],$.JSArray_ModifiableCssNode_2);if(a.get$isEmpty$asx(e))s.throwExpression(s.ArgumentError$value(e,"queries","may not be empty."));return new s.ModifiableCssMediaRule0(n,r,new s.UnmodifiableListView(i,$.UnmodifiableListView_ModifiableCssNode_2),i)},ModifiableCssMediaRule0:function ModifiableCssMediaRule0(e,r,n,i){var s=this;s.queries=e;s.span=r;s.children=n;s._node0$_children=i;s._node0$_indexInParent=s._node0$_parent=null;s.isGroupEnd=false},MediaRule$0(e,r,n){var i=s.List_List$unmodifiable(r,$.Statement_2),a=o.JSArray_methods.any$1(i,new s.ParentStatement_closure0);return new s.MediaRule0(e,n,i,a)},MediaRule0:function MediaRule0(e,r,n,i){var s=this;s.query=e;s.span=r;s.children=n;s.hasDeclarations=i},MergedExtension_merge0(e,r){var n,i,a,l,u=e.extender,_=u.selector;if(!_.$eq(0,r.extender.selector)||!e.target.$eq(0,r.target))throw s.wrapException(s.ArgumentError$(e.toString$0(0)+" and "+r.toString$0(0)+" aren't the same extension.",null));n=e.mediaContext;i=n==null;if(!i){a=r.mediaContext;a=a!=null&&!o.C_ListEquality.equals$2(0,n,a)}else a=false;if(a)throw s.wrapException(s.SassException$0("From "+e.span.message$1(0,"")+c.x0aYou_m,r.span));if(r.isOptional&&r.mediaContext==null)return e;if(e.isOptional&&i)return r;a=e.target;l=e.span;if(i)n=r.mediaContext;_.get$maxSpecificity();u=new s.Extender0(_,false,u.span);return u._extension$_extension=new s.MergedExtension0(e,r,u,a,n,true,l)},MergedExtension0:function MergedExtension0(e,r,n,i,s,a,o){var l=this;l.left=e;l.right=r;l.extender=n;l.target=i;l.mediaContext=s;l.isOptional=a;l.span=o},MergedMapView$0(e,r,n){var i=r._eval$1("@<0>")._bind$1(n);i=new s.MergedMapView0(s.LinkedHashMap_LinkedHashMap$_empty(r,i._eval$1("Map<1,2>")),i._eval$1("MergedMapView0<1,2>"));i.MergedMapView$10(e,r,n);return i},MergedMapView0:function MergedMapView0(e,r){this._merged_map_view$_mapsByKey=e;this.$ti=r},_function12(e,r,n){return s.BuiltInCallable$function0(e,r,n,"sass:meta")},global_closure57:function global_closure57(){},global_closure58:function global_closure58(){},global_closure59:function global_closure59(){},global_closure60:function global_closure60(){},local_closure1:function local_closure1(){},local_closure2:function local_closure2(){},local__closure0:function local__closure0(){},MixinRule$0(e,r,n,i,a){var l=s.List_List$unmodifiable(n,$.Statement_2),u=o.JSArray_methods.any$1(l,new s.ParentStatement_closure0);return new s.MixinRule0(e,r,i,l,u)},MixinRule0:function MixinRule0(e,r,n,i,s){var a=this;a._mixin_rule$__MixinRule_hasContent=u;a.name=e;a.$arguments=r;a.span=n;a.children=i;a.hasDeclarations=s},_HasContentVisitor0:function _HasContentVisitor0(){},ExtendMode0:function ExtendMode0(e){this.name=e},MultiSpan0:function MultiSpan0(e,r,n){this._multi_span0$_primary=e;this.primaryLabel=r;this.secondarySpans=n},SupportsNegation0:function SupportsNegation0(e,r){this.condition=e;this.span=r},NoOpImporter:function NoOpImporter(){},NoSourceMapBuffer0:function NoSourceMapBuffer0(e){this._no_source_map_buffer0$_buffer=e},AstNode0:function AstNode0(){},_FakeAstNode0:function _FakeAstNode0(e){this._node1$_callback=e},CssNode0:function CssNode0(){},CssParentNode0:function CssParentNode0(){},_IsInvisibleVisitor1:function _IsInvisibleVisitor1(e,r){this.includeBogus=e;this.includeComments=r},readFile0(e){var r,n,i,a=s._asString(s._readFile0(e,"utf8"));if(!o.JSString_methods.contains$1(a,"�"))return a;r=s.SourceFile$fromString(a,u.$get$context().toUri$1(e));for(n=a.length,i=0;i2)throw s.wrapException(n);u=i[0];_=l===1?null:i[1];l=$.JSArray_String;c=u.length===0?s._setArrayType([],l):s._setArrayType(u.split("*"),l);if(o.JSArray_methods.any$1(c,new s._parseNumber_closure))throw s.wrapException(n);p=_==null?s._setArrayType([],l):s._setArrayType(_.split("*"),l);if(o.JSArray_methods.any$1(p,new s._parseNumber_closure0))throw s.wrapException(n);return s.SassNumber_SassNumber$withUnits0(e,p,c)},_NodeSassNumber:function _NodeSassNumber(){},legacyNumberClass_closure:function legacyNumberClass_closure(){},legacyNumberClass_closure0:function legacyNumberClass_closure0(){},legacyNumberClass_closure1:function legacyNumberClass_closure1(){},legacyNumberClass_closure2:function legacyNumberClass_closure2(){},legacyNumberClass_closure3:function legacyNumberClass_closure3(){},_parseNumber_closure:function _parseNumber_closure(){},_parseNumber_closure0:function _parseNumber_closure0(){},numberClass_closure:function numberClass_closure(){},numberClass__closure:function numberClass__closure(){},numberClass__closure0:function numberClass__closure0(){},numberClass__closure1:function numberClass__closure1(){},numberClass__closure2:function numberClass__closure2(){},numberClass__closure3:function numberClass__closure3(){},numberClass__closure4:function numberClass__closure4(){},numberClass__closure5:function numberClass__closure5(){},numberClass__closure6:function numberClass__closure6(){},numberClass__closure7:function numberClass__closure7(){},numberClass__closure8:function numberClass__closure8(){},numberClass__closure9:function numberClass__closure9(){},numberClass__closure10:function numberClass__closure10(){},numberClass__closure11:function numberClass__closure11(){},numberClass__closure12:function numberClass__closure12(){},numberClass__closure13:function numberClass__closure13(){},numberClass__closure14:function numberClass__closure14(){},numberClass__closure15:function numberClass__closure15(){},numberClass__closure16:function numberClass__closure16(){},numberClass__closure17:function numberClass__closure17(){},numberClass__closure18:function numberClass__closure18(){},numberClass__closure19:function numberClass__closure19(){},_ConstructorOptions0:function _ConstructorOptions0(){},conversionFactor0(e,r){var n;if(e===r)return 1;n=o.Map_K2BWj.$index(0,e);if(n==null)return null;return n.$index(0,r)},SassNumber_SassNumber0(e,r){return r==null?new s.UnitlessSassNumber0(e,null):new s.SingleUnitSassNumber0(r,e,null)},SassNumber_SassNumber$withUnits0(e,r,n){var i,l,u,_,c,p,h,d,m,g,f,y=null;if(r==null||a.get$isEmpty$asx(r))if(n==null||a.get$isEmpty$asx(n))return new s.UnitlessSassNumber0(e,y);else{i=a.getInterceptor$asx(n);if(i.get$length(n)===1)return new s.SingleUnitSassNumber0(i.$index(n,0),e,y);else return new s.ComplexSassNumber0(s.List_List$unmodifiable(n,$.String),o.List_empty,e,y)}else if(n==null||a.get$isEmpty$asx(n))return new s.ComplexSassNumber0(o.List_empty,s.List_List$unmodifiable(r,$.String),e,y);else{i=a.getInterceptor$ax(n);l=i.toList$0(n);u=a.getInterceptor$ax(r);_=u.toList$0(r);c=s._setArrayType([],$.JSArray_String);for(p=_.length,h=0;h<_.length;_.length===p||(0,s.throwConcurrentModificationError)(_),++h){d=_[h];g=0;while(true){if(!(g [output.css]\n sass : : \n");M=u.$get$ExecutableOptions__parser();s.print(new s._Usage(M._optionsAndSeparators,new s.StringBuffer(""),M.usageLineLength).generate$0());a.set$exitCode$x(self.process,64)}else{w=M;C=s.getTraceFromException(N);E=new s.StringBuffer("");M=F.options;if(M!=null&&M.get$color())E._contents+="";E._contents+="Unexpected exception:";M=F.options;if(M!=null&&M.get$color())E._contents+="";E._contents+="\n";E._contents+=s.S(w)+"\n";M=E._contents;I=s.getTrace(w);if(I==null)I=C;h.call$2(M.charCodeAt(0)==0?M:M,I);a.set$exitCode$x(self.process,255)}r=6;break;case 3:r=2;break;case 6:case 1:return s._asyncReturn(i,n);case 2:return s._asyncRethrow(_,n)}}));return s._asyncStartSync(J,n)},_loadVersion(){var e=0,r=s._makeAsyncAwaitCompleter($.String),n;var i=s._wrapJsFunctionForAsync((function(i,a){if(i===1)return s._asyncRethrow(a,r);while(true)switch(e){case 0:n="1.54.4 compiled with dart2js 2.17.6";e=1;break;case 1:return s._asyncReturn(n,r)}}));return s._asyncStartSync(i,r)},main_printError:function main_printError(e){this._box_0=e},main_closure:function main_closure(e,r){this._box_0=e;this.destination=r},SassParser0:function SassParser0(e,r,n){var i=this;i._sass0$_currentIndentation=0;i._sass0$_spaces=i._sass0$_nextIndentationEnd=i._sass0$_nextIndentation=null;i._stylesheet0$_isUseAllowed=true;i._stylesheet0$_inParentheses=i._stylesheet0$_inStyleRule=i._stylesheet0$_inUnknownAtRule=i._stylesheet0$_inControlDirective=i._stylesheet0$_inContentBlock=i._stylesheet0$_inMixin=false;i._stylesheet0$_globalVariables=e;i.lastSilentComment=null;i.scanner=r;i.logger=n},SassParser_children_closure0:function SassParser_children_closure0(e,r,n){this.$this=e;this.child=r;this.children=n},_translateReturnValue(e){if($.Future_dynamic._is(e))return s.futureToPromise(e,$.dynamic);else return e},main1(){new Uint8Array(0);s.main();a.set$cli_pkg_main_0_$x(self.exports,s._wrapMain(s.sass__main$closure()))},_wrapMain(e){if($.dynamic_Function._is(e))return s.allowInterop(new s._wrapMain_closure(e));else return s.allowInterop(new s._wrapMain_closure0(e))},_Exports:function _Exports(){},_wrapMain_closure:function _wrapMain_closure(e){this.main=e},_wrapMain_closure0:function _wrapMain_closure0(e){this.main=e},ScssParser$0(e,r,n){var i=s.SpanScanner$(e,n),a=r==null?o.StderrLogger_false0:r;return new s.ScssParser0(s.LinkedHashMap_LinkedHashMap$_empty($.String,$.VariableDeclaration_2),i,a)},ScssParser0:function ScssParser0(e,r,n){var i=this;i._stylesheet0$_isUseAllowed=true;i._stylesheet0$_inParentheses=i._stylesheet0$_inStyleRule=i._stylesheet0$_inUnknownAtRule=i._stylesheet0$_inControlDirective=i._stylesheet0$_inContentBlock=i._stylesheet0$_inMixin=false;i._stylesheet0$_globalVariables=e;i.lastSilentComment=null;i.scanner=r;i.logger=n},Selector0:function Selector0(){},_IsInvisibleVisitor2:function _IsInvisibleVisitor2(e){this.includeBogus=e},_IsBogusVisitor0:function _IsBogusVisitor0(e){this.includeLeadingCombinator=e},_IsBogusVisitor_visitComplexSelector_closure0:function _IsBogusVisitor_visitComplexSelector_closure0(e){this.$this=e},_IsUselessVisitor0:function _IsUselessVisitor0(){},_IsUselessVisitor_visitComplexSelector_closure0:function _IsUselessVisitor_visitComplexSelector_closure0(e){this.$this=e},SelectorExpression0:function SelectorExpression0(e){this.span=e},_prependParent0(e){var r,n=null,i=e.components,a=o.JSArray_methods.get$first(i);if(a instanceof s.UniversalSelector0)return n;if(a instanceof s.TypeSelector0){r=a.name;if(r.namespace!=null)return n;r=s._setArrayType([new s.ParentSelector0(r.name)],$.JSArray_SimpleSelector_2);o.JSArray_methods.addAll$1(r,s.SubListIterable$(i,1,n,s._arrayInstanceType(i)._precomputed1));return s.CompoundSelector$0(r)}else{r=s._setArrayType([new s.ParentSelector0(n)],$.JSArray_SimpleSelector_2);o.JSArray_methods.addAll$1(r,i);return s.CompoundSelector$0(r)}},_function7(e,r,n){return s.BuiltInCallable$function0(e,r,n,"sass:selector")},_nest_closure0:function _nest_closure0(){},_nest__closure1:function _nest__closure1(e){this._box_0=e},_nest__closure2:function _nest__closure2(){},_append_closure1:function _append_closure1(){},_append__closure1:function _append__closure1(){},_append__closure2:function _append__closure2(){},_append___closure0:function _append___closure0(e){this.parent=e},_extend_closure0:function _extend_closure0(){},_replace_closure0:function _replace_closure0(){},_unify_closure0:function _unify_closure0(){},_isSuperselector_closure0:function _isSuperselector_closure0(){},_simpleSelectors_closure0:function _simpleSelectors_closure0(){},_simpleSelectors__closure0:function _simpleSelectors__closure0(){},_parse_closure0:function _parse_closure0(){},SelectorParser$0(e,r,n,i,a){var l=s.SpanScanner$(e,a);return new s.SelectorParser0(r,n,l,i==null?o.StderrLogger_false0:i)},SelectorParser0:function SelectorParser0(e,r,n,i){var s=this;s._selector$_allowParent=e;s._selector$_allowPlaceholder=r;s.scanner=n;s.logger=i},SelectorParser_parse_closure0:function SelectorParser_parse_closure0(e){this.$this=e},SelectorParser_parseCompoundSelector_closure0:function SelectorParser_parseCompoundSelector_closure0(e){this.$this=e},serialize0(e,r,n,i,a,l,u,_){var c,$,p,h,d=s._SerializeVisitor$0(n==null?2:n,i,a,true,l,u,_);e.accept$1(d);c=d._serialize0$_buffer;$=c.toString$0(0);if(r){p=new s.CodeUnits($);p=p.any$1(p,new s.serialize_closure0)}else p=false;if(p)h=u===o.OutputStyle_compressed0?"\ufeff":'@charset "UTF-8";\n';else h="";c=l?c.buildSourceMap$1$prefix(h):null;return new s.SerializeResult0(h+$,c)},serializeValue0(e,r,n){var i=s._SerializeVisitor$0(null,r,null,n,false,null,true);e.accept$1(i);return i._serialize0$_buffer.toString$0(0)},serializeSelector0(e,r){var n=s._SerializeVisitor$0(null,true,null,true,false,null,true);e.accept$1(n);return n._serialize0$_buffer.toString$0(0)},_SerializeVisitor$0(e,r,n,i,a,l,u){var _=a?new s.SourceMapBuffer0(new s.StringBuffer(""),s._setArrayType([],$.JSArray_Entry)):new s.NoSourceMapBuffer0(new s.StringBuffer("")),c=l==null?o.OutputStyle_expanded0:l,p=u?32:9,h=e==null?2:e,d=n==null?o.LineFeed_D6m:n;s.RangeError_checkValueInInterval(h,0,10,"indentWidth");return new s._SerializeVisitor0(_,c,r,i,p,h,d)},serialize_closure0:function serialize_closure0(){},_SerializeVisitor0:function _SerializeVisitor0(e,r,n,i,s,a,o){var l=this;l._serialize0$_buffer=e;l._serialize0$_indentation=0;l._serialize0$_style=r;l._serialize0$_inspect=n;l._serialize0$_quote=i;l._serialize0$_indentCharacter=s;l._serialize0$_indentWidth=a;l._lineFeed=o},_SerializeVisitor_visitCssComment_closure0:function _SerializeVisitor_visitCssComment_closure0(e,r){this.$this=e;this.node=r},_SerializeVisitor_visitCssAtRule_closure0:function _SerializeVisitor_visitCssAtRule_closure0(e,r){this.$this=e;this.node=r},_SerializeVisitor_visitCssMediaRule_closure0:function _SerializeVisitor_visitCssMediaRule_closure0(e,r){this.$this=e;this.node=r},_SerializeVisitor_visitCssImport_closure0:function _SerializeVisitor_visitCssImport_closure0(e,r){this.$this=e;this.node=r},_SerializeVisitor_visitCssImport__closure0:function _SerializeVisitor_visitCssImport__closure0(e,r){this.$this=e;this.node=r},_SerializeVisitor_visitCssKeyframeBlock_closure0:function _SerializeVisitor_visitCssKeyframeBlock_closure0(e,r){this.$this=e;this.node=r},_SerializeVisitor_visitCssStyleRule_closure0:function _SerializeVisitor_visitCssStyleRule_closure0(e,r){this.$this=e;this.node=r},_SerializeVisitor_visitCssSupportsRule_closure0:function _SerializeVisitor_visitCssSupportsRule_closure0(e,r){this.$this=e;this.node=r},_SerializeVisitor_visitCssDeclaration_closure1:function _SerializeVisitor_visitCssDeclaration_closure1(e,r){this.$this=e;this.node=r},_SerializeVisitor_visitCssDeclaration_closure2:function _SerializeVisitor_visitCssDeclaration_closure2(e,r){this.$this=e;this.node=r},_SerializeVisitor_visitList_closure2:function _SerializeVisitor_visitList_closure2(){},_SerializeVisitor_visitList_closure3:function _SerializeVisitor_visitList_closure3(e,r){this.$this=e;this.value=r},_SerializeVisitor_visitList_closure4:function _SerializeVisitor_visitList_closure4(e){this.$this=e},_SerializeVisitor_visitMap_closure0:function _SerializeVisitor_visitMap_closure0(e){this.$this=e},_SerializeVisitor_visitSelectorList_closure0:function _SerializeVisitor_visitSelectorList_closure0(){},_SerializeVisitor__write_closure0:function _SerializeVisitor__write_closure0(e,r){this.$this=e;this.value=r},_SerializeVisitor__visitChildren_closure1:function _SerializeVisitor__visitChildren_closure1(e,r){this.$this=e;this.child=r},_SerializeVisitor__visitChildren_closure2:function _SerializeVisitor__visitChildren_closure2(e,r){this.$this=e;this.child=r},OutputStyle0:function OutputStyle0(e){this._serialize0$_name=e},LineFeed0:function LineFeed0(e,r){this.name=e;this.text=r},SerializeResult0:function SerializeResult0(e,r){this.css=e;this.sourceMap=r},ShadowedModuleView_ifNecessary0(e,r,n,i,a){return s.ShadowedModuleView__needsBlocklist0(e.get$variables(),i)||s.ShadowedModuleView__needsBlocklist0(e.get$functions(e),r)||s.ShadowedModuleView__needsBlocklist0(e.get$mixins(),n)?new s.ShadowedModuleView0(e,s.ShadowedModuleView__shadowedMap0(e.get$variables(),i,$.Value_2),s.ShadowedModuleView__shadowedMap0(e.get$variableNodes(),i,$.AstNode_2),s.ShadowedModuleView__shadowedMap0(e.get$functions(e),r,a),s.ShadowedModuleView__shadowedMap0(e.get$mixins(),n,a),a._eval$1("ShadowedModuleView0<0>")):null},ShadowedModuleView__shadowedMap0(e,r,n){var i=s.ShadowedModuleView__needsBlocklist0(e,r);return!i?e:s.LimitedMapView$blocklist0(e,r,$.String,n)},ShadowedModuleView__needsBlocklist0(e,r){var n=e.get$isNotEmpty(e)&&r.any$1(0,e.get$containsKey());return n},ShadowedModuleView0:function ShadowedModuleView0(e,r,n,i,s,a){var o=this;o._shadowed_view0$_inner=e;o.variables=r;o.variableNodes=n;o.functions=i;o.mixins=s;o.$ti=a},SilentComment0:function SilentComment0(e,r){this.text=e;this.span=r},SimpleSelector0:function SimpleSelector0(){},SimpleSelector_isSuperselector_closure0:function SimpleSelector_isSuperselector_closure0(e){this.$this=e},SimpleSelector_isSuperselector__closure0:function SimpleSelector_isSuperselector__closure0(e){this.$this=e},SingleUnitSassNumber0:function SingleUnitSassNumber0(e,r,n){var i=this;i._single_unit$_unit=e;i._number1$_value=r;i.hashCache=null;i.asSlash=n},SingleUnitSassNumber__coerceToUnit_closure0:function SingleUnitSassNumber__coerceToUnit_closure0(e,r){this.$this=e;this.unit=r},SingleUnitSassNumber__coerceValueToUnit_closure0:function SingleUnitSassNumber__coerceValueToUnit_closure0(e){this.$this=e},SingleUnitSassNumber_multiplyUnits_closure1:function SingleUnitSassNumber_multiplyUnits_closure1(e,r){this._box_0=e;this.$this=r},SingleUnitSassNumber_multiplyUnits_closure2:function SingleUnitSassNumber_multiplyUnits_closure2(e,r){this._box_0=e;this.$this=r},SourceMapBuffer0:function SourceMapBuffer0(e,r){var n=this;n._source_map_buffer0$_buffer=e;n._source_map_buffer0$_entries=r;n._source_map_buffer0$_column=n._source_map_buffer0$_line=0;n._source_map_buffer0$_inSpan=false},SourceMapBuffer_buildSourceMap_closure0:function SourceMapBuffer_buildSourceMap_closure0(e,r){this._box_0=e;this.prefixLength=r},updateSourceSpanPrototype(){var e=s.SourceFile$fromString("",null).span$1(0,0),r=$.JSClass,n=r._as(e.constructor),i=$.String,a=$.Function;s.LinkedHashMap_LinkedHashMap$_literal(["start",new s.updateSourceSpanPrototype_closure,"end",new s.updateSourceSpanPrototype_closure0,"url",new s.updateSourceSpanPrototype_closure1,"text",new s.updateSourceSpanPrototype_closure2,"context",new s.updateSourceSpanPrototype_closure3],i,a).forEach$1(0,s.JSClassExtension_get_defineGetter(n));r=r._as(s.FileLocation$_(e.file,e._file$_start).constructor);s.LinkedHashMap_LinkedHashMap$_literal(["line",new s.updateSourceSpanPrototype_closure4,"column",new s.updateSourceSpanPrototype_closure5],i,a).forEach$1(0,s.JSClassExtension_get_defineGetter(r))},updateSourceSpanPrototype_closure:function updateSourceSpanPrototype_closure(){},updateSourceSpanPrototype_closure0:function updateSourceSpanPrototype_closure0(){},updateSourceSpanPrototype_closure1:function updateSourceSpanPrototype_closure1(){},updateSourceSpanPrototype_closure2:function updateSourceSpanPrototype_closure2(){},updateSourceSpanPrototype_closure3:function updateSourceSpanPrototype_closure3(){},updateSourceSpanPrototype_closure4:function updateSourceSpanPrototype_closure4(){},updateSourceSpanPrototype_closure5:function updateSourceSpanPrototype_closure5(){},_IterableExtension__search0(e,r){var n,i;for(n=a.get$iterator$ax(e);n.moveNext$0();){i=r.call$1(n.get$current(n));if(i!=null)return i}return null},StatementSearchVisitor0:function StatementSearchVisitor0(){},StatementSearchVisitor_visitIfRule_closure1:function StatementSearchVisitor_visitIfRule_closure1(e){this.$this=e},StatementSearchVisitor_visitIfRule__closure2:function StatementSearchVisitor_visitIfRule__closure2(e){this.$this=e},StatementSearchVisitor_visitIfRule_closure2:function StatementSearchVisitor_visitIfRule_closure2(e){this.$this=e},StatementSearchVisitor_visitIfRule__closure1:function StatementSearchVisitor_visitIfRule__closure1(e){this.$this=e},StatementSearchVisitor_visitChildren_closure0:function StatementSearchVisitor_visitChildren_closure0(e){this.$this=e},StaticImport0:function StaticImport0(e,r,n){this.url=e;this.modifiers=r;this.span=n},StderrLogger0:function StderrLogger0(e){this.color=e},StringExpression_quoteText0(e){var r,n=s.StringExpression__bestQuote0(s._setArrayType([e],$.JSArray_String)),i=new s.StringBuffer("");i._contents=""+s.Primitives_stringFromCharCode(n);s.StringExpression__quoteInnerText0(e,n,i,true);r=i._contents+=s.Primitives_stringFromCharCode(n);return r.charCodeAt(0)==0?r:r},StringExpression__quoteInnerText0(e,r,n,i){var a,l,u,_,c,$;for(a=e.length,l=a-1,u=0;u0)return Math.min(e-1,r);i=r+e;if(i<0&&!n)return 0;return i},_function6(e,r,n){return s.BuiltInCallable$function0(e,r,n,"sass:string")},_unquote_closure0:function _unquote_closure0(){},_quote_closure0:function _quote_closure0(){},_length_closure1:function _length_closure1(){},_insert_closure0:function _insert_closure0(){},_index_closure1:function _index_closure1(){},_slice_closure0:function _slice_closure0(){},_toUpperCase_closure0:function _toUpperCase_closure0(){},_toLowerCase_closure0:function _toLowerCase_closure0(){},_uniqueId_closure0:function _uniqueId_closure0(){},_NodeSassString:function _NodeSassString(){},legacyStringClass_closure:function legacyStringClass_closure(){},legacyStringClass_closure0:function legacyStringClass_closure0(){},legacyStringClass_closure1:function legacyStringClass_closure1(){},stringClass_closure:function stringClass_closure(){},stringClass__closure:function stringClass__closure(){},stringClass__closure0:function stringClass__closure0(){},stringClass__closure1:function stringClass__closure1(){},stringClass__closure2:function stringClass__closure2(){},stringClass__closure3:function stringClass__closure3(){},_ConstructorOptions1:function _ConstructorOptions1(){},SassString$0(e,r){return new s.SassString0(e,r)},SassString0:function SassString0(e,r){var n=this;n._string0$_text=e;n._string0$_hasQuotes=r;n._string0$__SassString__sassLength=u;n._string0$_hashCache=null},ModifiableCssStyleRule$0(e,r,n){var i=s._setArrayType([],$.JSArray_ModifiableCssNode_2);return new s.ModifiableCssStyleRule0(e,n,r,new s.UnmodifiableListView(i,$.UnmodifiableListView_ModifiableCssNode_2),i)},ModifiableCssStyleRule0:function ModifiableCssStyleRule0(e,r,n,i,s){var a=this;a.selector=e;a.originalSelector=r;a.span=n;a.children=i;a._node0$_children=s;a._node0$_indexInParent=a._node0$_parent=null;a.isGroupEnd=false},StyleRule$0(e,r,n){var i=s.List_List$unmodifiable(r,$.Statement_2),a=o.JSArray_methods.any$1(i,new s.ParentStatement_closure0);return new s.StyleRule0(e,n,i,a)},StyleRule0:function StyleRule0(e,r,n,i){var s=this;s.selector=e;s.span=r;s.children=n;s.hasDeclarations=i},CssStylesheet0:function CssStylesheet0(e,r){this.children=e;this.span=r},ModifiableCssStylesheet$0(e){var r=s._setArrayType([],$.JSArray_ModifiableCssNode_2);return new s.ModifiableCssStylesheet0(e,new s.UnmodifiableListView(r,$.UnmodifiableListView_ModifiableCssNode_2),r)},ModifiableCssStylesheet0:function ModifiableCssStylesheet0(e,r,n){var i=this;i.span=e;i.children=r;i._node0$_children=n;i._node0$_indexInParent=i._node0$_parent=null;i.isGroupEnd=false},StylesheetParser0:function StylesheetParser0(){},StylesheetParser_parse_closure0:function StylesheetParser_parse_closure0(e){this.$this=e},StylesheetParser_parse__closure1:function StylesheetParser_parse__closure1(e){this.$this=e},StylesheetParser_parse__closure2:function StylesheetParser_parse__closure2(){},StylesheetParser_parseArgumentDeclaration_closure0:function StylesheetParser_parseArgumentDeclaration_closure0(e){this.$this=e},StylesheetParser__parseSingleProduction_closure0:function StylesheetParser__parseSingleProduction_closure0(e,r,n){this.$this=e;this.production=r;this.T=n},StylesheetParser_parseSignature_closure:function StylesheetParser_parseSignature_closure(e,r){this.$this=e;this.requireParens=r},StylesheetParser__statement_closure0:function StylesheetParser__statement_closure0(e){this.$this=e},StylesheetParser_variableDeclarationWithoutNamespace_closure1:function StylesheetParser_variableDeclarationWithoutNamespace_closure1(e,r){this.$this=e;this.start=r},StylesheetParser_variableDeclarationWithoutNamespace_closure2:function StylesheetParser_variableDeclarationWithoutNamespace_closure2(e){this.declaration=e},StylesheetParser__declarationOrBuffer_closure1:function StylesheetParser__declarationOrBuffer_closure1(e){this.name=e},StylesheetParser__declarationOrBuffer_closure2:function StylesheetParser__declarationOrBuffer_closure2(e,r){this._box_0=e;this.name=r},StylesheetParser__styleRule_closure0:function StylesheetParser__styleRule_closure0(e,r,n,i){var s=this;s._box_0=e;s.$this=r;s.wasInStyleRule=n;s.start=i},StylesheetParser__propertyOrVariableDeclaration_closure1:function StylesheetParser__propertyOrVariableDeclaration_closure1(e){this._box_0=e},StylesheetParser__propertyOrVariableDeclaration_closure2:function StylesheetParser__propertyOrVariableDeclaration_closure2(e,r){this._box_0=e;this.value=r},StylesheetParser__atRootRule_closure1:function StylesheetParser__atRootRule_closure1(e){this.query=e},StylesheetParser__atRootRule_closure2:function StylesheetParser__atRootRule_closure2(){},StylesheetParser__eachRule_closure0:function StylesheetParser__eachRule_closure0(e,r,n,i){var s=this;s.$this=e;s.wasInControlDirective=r;s.variables=n;s.list=i},StylesheetParser__functionRule_closure0:function StylesheetParser__functionRule_closure0(e,r,n){this.name=e;this.$arguments=r;this.precedingComment=n},StylesheetParser__forRule_closure1:function StylesheetParser__forRule_closure1(e,r){this._box_0=e;this.$this=r},StylesheetParser__forRule_closure2:function StylesheetParser__forRule_closure2(e,r,n,i,s,a){var o=this;o._box_0=e;o.$this=r;o.wasInControlDirective=n;o.variable=i;o.from=s;o.to=a},StylesheetParser__memberList_closure0:function StylesheetParser__memberList_closure0(e,r,n){this.$this=e;this.variables=r;this.identifiers=n},StylesheetParser__includeRule_closure0:function StylesheetParser__includeRule_closure0(e){this.contentArguments_=e},StylesheetParser_mediaRule_closure0:function StylesheetParser_mediaRule_closure0(e){this.query=e},StylesheetParser__mixinRule_closure0:function StylesheetParser__mixinRule_closure0(e,r,n,i){var s=this;s.$this=e;s.name=r;s.$arguments=n;s.precedingComment=i},StylesheetParser_mozDocumentRule_closure0:function StylesheetParser_mozDocumentRule_closure0(e,r,n,i){var s=this;s._box_0=e;s.$this=r;s.name=n;s.value=i},StylesheetParser_supportsRule_closure0:function StylesheetParser_supportsRule_closure0(e){this.condition=e},StylesheetParser__whileRule_closure0:function StylesheetParser__whileRule_closure0(e,r,n){this.$this=e;this.wasInControlDirective=r;this.condition=n},StylesheetParser_unknownAtRule_closure0:function StylesheetParser_unknownAtRule_closure0(e,r){this._box_0=e;this.name=r},StylesheetParser__expression_resetState0:function StylesheetParser__expression_resetState0(e,r,n){this._box_0=e;this.$this=r;this.start=n},StylesheetParser__expression_resolveOneOperation0:function StylesheetParser__expression_resolveOneOperation0(e,r){this._box_0=e;this.$this=r},StylesheetParser__expression_resolveOperations0:function StylesheetParser__expression_resolveOperations0(e,r){this._box_0=e;this.resolveOneOperation=r},StylesheetParser__expression_addSingleExpression0:function StylesheetParser__expression_addSingleExpression0(e,r,n,i){var s=this;s._box_0=e;s.$this=r;s.resetState=n;s.resolveOperations=i},StylesheetParser__expression_addOperator0:function StylesheetParser__expression_addOperator0(e,r,n){this._box_0=e;this.$this=r;this.resolveOneOperation=n},StylesheetParser__expression_resolveSpaceExpressions0:function StylesheetParser__expression_resolveSpaceExpressions0(e,r,n){this._box_0=e;this.$this=r;this.resolveOperations=n},StylesheetParser_expressionUntilComma_closure0:function StylesheetParser_expressionUntilComma_closure0(e){this.$this=e},StylesheetParser__unicodeRange_closure1:function StylesheetParser__unicodeRange_closure1(){},StylesheetParser__unicodeRange_closure2:function StylesheetParser__unicodeRange_closure2(){},StylesheetParser_namespacedExpression_closure0:function StylesheetParser_namespacedExpression_closure0(e,r){this.$this=e;this.start=r},StylesheetParser_trySpecialFunction_closure0:function StylesheetParser_trySpecialFunction_closure0(){},StylesheetParser__expressionUntilComparison_closure0:function StylesheetParser__expressionUntilComparison_closure0(e){this.$this=e},StylesheetParser__publicIdentifier_closure0:function StylesheetParser__publicIdentifier_closure0(e,r){this.$this=e;this.start=r},Stylesheet$internal0(e,r,n){var i=s._setArrayType([],$.JSArray_UseRule_2),a=s._setArrayType([],$.JSArray_ForwardRule_2),l=s.List_List$unmodifiable(e,$.Statement_2),u=o.JSArray_methods.any$1(l,new s.ParentStatement_closure0);i=new s.Stylesheet0(r,n,i,a,l,u);i.Stylesheet$internal$3$plainCss0(e,r,n);return i},Stylesheet_Stylesheet$parse0(e,r,n,i){var a,l;switch(r){case o.Syntax_Sass0:a=s.SpanScanner$(e,i);l=n==null?o.StderrLogger_false0:n;return new s.SassParser0(s.LinkedHashMap_LinkedHashMap$_empty($.String,$.VariableDeclaration_2),a,l).parse$0();case o.Syntax_SCSS0:return s.ScssParser$0(e,n,i).parse$0();case o.Syntax_CSS0:a=s.SpanScanner$(e,i);l=n==null?o.StderrLogger_false0:n;return new s.CssParser0(s.LinkedHashMap_LinkedHashMap$_empty($.String,$.VariableDeclaration_2),a,l).parse$0();default:throw s.wrapException(s.ArgumentError$("Unknown syntax "+r.toString$0(0)+".",null))}},Stylesheet0:function Stylesheet0(e,r,n,i,s,a){var o=this;o.span=e;o.plainCss=r;o._stylesheet1$_uses=n;o._stylesheet1$_forwards=i;o.children=s;o.hasDeclarations=a},SupportsExpression0:function SupportsExpression0(e){this.condition=e},ModifiableCssSupportsRule$0(e,r){var n=s._setArrayType([],$.JSArray_ModifiableCssNode_2);return new s.ModifiableCssSupportsRule0(e,r,new s.UnmodifiableListView(n,$.UnmodifiableListView_ModifiableCssNode_2),n)},ModifiableCssSupportsRule0:function ModifiableCssSupportsRule0(e,r,n,i){var s=this;s.condition=e;s.span=r;s.children=n;s._node0$_children=i;s._node0$_indexInParent=s._node0$_parent=null;s.isGroupEnd=false},SupportsRule$0(e,r,n){var i=s.List_List$unmodifiable(r,$.Statement_2),a=o.JSArray_methods.any$1(i,new s.ParentStatement_closure0);return new s.SupportsRule0(e,n,i,a)},SupportsRule0:function SupportsRule0(e,r,n,i){var s=this;s.condition=e;s.span=r;s.children=n;s.hasDeclarations=i},NodeToDartImporter:function NodeToDartImporter(e,r){this._sync$_canonicalize=e;this._sync$_load=r},Syntax_forPath0(e){switch(s.ParsedPath_ParsedPath$parse(e,u.$get$context().style)._splitExtension$1(1)[1]){case".sass":return o.Syntax_Sass0;case".css":return o.Syntax_CSS0;default:return o.Syntax_SCSS0}},Syntax0:function Syntax0(e){this._syntax0$_name=e},TerseLogger0:function TerseLogger0(e,r){this._terse$_warningCounts=e;this._terse$_inner=r},TerseLogger_summarize_closure1:function TerseLogger_summarize_closure1(){},TerseLogger_summarize_closure2:function TerseLogger_summarize_closure2(){},TypeSelector0:function TypeSelector0(e){this.name=e},Types:function Types(){},UnaryOperationExpression0:function UnaryOperationExpression0(e,r,n){this.operator=e;this.operand=r;this.span=n},UnaryOperator0:function UnaryOperator0(e,r){this.name=e;this.operator=r},UnitlessSassNumber0:function UnitlessSassNumber0(e,r){this._number1$_value=e;this.hashCache=null;this.asSlash=r},UniversalSelector0:function UniversalSelector0(e){this.namespace=e},UnprefixedMapView0:function UnprefixedMapView0(e,r,n){this._unprefixed_map_view0$_map=e;this._unprefixed_map_view0$_prefix=r;this.$ti=n},_UnprefixedKeys0:function _UnprefixedKeys0(e){this._unprefixed_map_view0$_view=e},_UnprefixedKeys_iterator_closure1:function _UnprefixedKeys_iterator_closure1(e){this.$this=e},_UnprefixedKeys_iterator_closure2:function _UnprefixedKeys_iterator_closure2(e){this.$this=e},JSUrl0:function JSUrl0(){},UseRule0:function UseRule0(e,r,n,i){var s=this;s.url=e;s.namespace=r;s.configuration=n;s.span=i},UserDefinedCallable0:function UserDefinedCallable0(e,r,n,i){var s=this;s.declaration=e;s.environment=r;s.inDependency=n;s.$ti=i},fromImport0(){var e=s._asBoolQ(u.Zone__current.$index(0,o.Symbol__inImportRule));return e===true},resolveImportPath0(e){var r,n=s.ParsedPath_ParsedPath$parse(e,u.$get$context().style)._splitExtension$1(1)[1];if(n===".sass"||n===".scss"||n===".css"){r=s.fromImport0()?new s.resolveImportPath_closure1(e,n).call$0():null;return r==null?s._exactlyOne0(s._tryPath0(e)):r}r=s.fromImport0()?new s.resolveImportPath_closure2(e).call$0():null;if(r==null)r=s._exactlyOne0(s._tryPathWithExtensions0(e));return r==null?s._tryPathAsDirectory0(e):r},_tryPathWithExtensions0(e){var r=s._tryPath0(e+".sass");o.JSArray_methods.addAll$1(r,s._tryPath0(e+".scss"));return r.length!==0?r:s._tryPath0(e+".css")},_tryPath0(e){var r=u.$get$context(),n=s.join(r.dirname$1(e),"_"+s.ParsedPath_ParsedPath$parse(e,r.style).get$basename(),null);r=s._setArrayType([],$.JSArray_String);if(s.fileExists0(n))r.push(n);if(s.fileExists0(e))r.push(e);return r},_tryPathAsDirectory0(e){var r;if(!s.dirExists0(e))return null;r=s.fromImport0()?new s._tryPathAsDirectory_closure0(e).call$0():null;return r==null?s._exactlyOne0(s._tryPathWithExtensions0(s.join(e,"index",null))):r},_exactlyOne0(e){var r=e.length;if(r===0)return null;if(r===1)return o.JSArray_methods.get$first(e);throw s.wrapException(c.It_s_n+o.JSArray_methods.map$1$1(e,new s._exactlyOne_closure0,$.String).join$1(0,"\n"))},resolveImportPath_closure1:function resolveImportPath_closure1(e,r){this.path=e;this.extension=r},resolveImportPath_closure2:function resolveImportPath_closure2(e){this.path=e},_tryPathAsDirectory_closure0:function _tryPathAsDirectory_closure0(e){this.path=e},_exactlyOne_closure0:function _exactlyOne_closure0(){},jsThrow(e){return $.Never._as(u.$get$_jsThrow().call$1(e))},attachJsStack(e,r){var n=r.toString$0(0),i=o.JSString_methods.indexOf$1(n,"\n at");if(i!==-1)n=o.JSString_methods.substring$1(n,i+1);e.stack="Error: "+s.S(a.get$message$x(e))+"\n"+n},jsForEach(e,r){var n,i;for(n=a.get$iterator$ax(self.Object.keys(e));n.moveNext$0();){i=n.get$current(n);r.call$2(i,e[i])}},defineGetter(e,r,n,i){self.Object.defineProperty(e,r,n==null?{value:i,enumerable:false}:{get:s.allowInteropCaptureThis(n),enumerable:false})},allowInteropNamed(e,r){r=s.allowInterop(r);s.defineGetter(r,"name",null,e);s._hideDartProperties(r);return r},allowInteropCaptureThisNamed(e,r){r=s.allowInteropCaptureThis(r);s.defineGetter(r,"name",null,e);s._hideDartProperties(r);return r},_hideDartProperties(e){var r,n,i,l;for(r=a.cast$1$0$ax(self.Object.getOwnPropertyNames(e),$.String),r=new s.ListIterator(r,r.get$length(r)),n=s._instanceType(r)._precomputed1;r.moveNext$0();){i=r.__internal$_current;if(i==null)i=n._as(i);if(o.JSString_methods.startsWith$1(i,"_")){l={value:e[i],enumerable:false};self.Object.defineProperty(e,i,l)}}},futureToPromise0(e){return new self.Promise(s.allowInterop(new s.futureToPromise_closure0(e)))},jsToDartUrl(e){return s.Uri_parse(a.toString$0$(e))},dartToJSUrl(e){return new self.URL(e.toString$0(0))},toJSArray(e){var r,n,i=new self.Array;for(r=a.get$iterator$ax(e),n=a.getInterceptor$x(i);r.moveNext$0();)n.push$1(i,r.get$current(r));return i},objectToMap(e){var r=s.LinkedHashMap_LinkedHashMap$_empty($.String,$.nullable_Object);s.jsForEach(e,new s.objectToMap_closure(r));return r},jsToDartSeparator(e){switch(e){case" ":return o.ListSeparator_woc0;case",":return o.ListSeparator_kWM0;case"/":return o.ListSeparator_1gm0;case null:return o.ListSeparator_undecided_null0;default:s.jsThrow(new self.Error('Unknown separator "'+s.S(e)+'".'))}},parseSyntax(e){if(e==null||e==="scss")return o.Syntax_SCSS0;if(e==="indented")return o.Syntax_Sass0;if(e==="css")return o.Syntax_CSS0;s.jsThrow(new self.Error('Unknown syntax "'+s.S(e)+'".'))},_PropertyDescriptor0:function _PropertyDescriptor0(){},futureToPromise_closure0:function futureToPromise_closure0(e){this.future=e},futureToPromise__closure0:function futureToPromise__closure0(e){this.resolve=e},futureToPromise__closure1:function futureToPromise__closure1(e){this.reject=e},objectToMap_closure:function objectToMap_closure(e){this.map=e},toSentence0(e,r){var n=e.__internal$_iterable,i=a.getInterceptor$asx(n);if(i.get$length(n)===1)return a.toString$0$(e._f.call$1(i.get$first(n)));return s.IterableExtension_get_exceptLast0(e).join$1(0,", ")+(" "+r+" "+s.S(e._f.call$1(i.get$last(n))))},indent0(e,r){return new s.MappedListIterable(s._setArrayType(e.split("\n"),$.JSArray_String),new s.indent_closure0(r),$.MappedListIterable_String_String).join$1(0,"\n")},pluralize0(e,r,n){if(r===1)return e;if(n!=null)return n;return e+"s"},trimAscii0(e,r){var n,i=s._firstNonWhitespace0(e);if(i==null)n="";else{n=s._lastNonWhitespace0(e,true);n.toString;n=o.JSString_methods.substring$2(e,i,n+1)}return n},trimAsciiRight0(e,r){var n=s._lastNonWhitespace0(e,r);return n==null?"":o.JSString_methods.substring$2(e,0,n+1)},_firstNonWhitespace0(e){var r,n,i;for(r=e.length,n=0;n=0;--i){s=o.JSString_methods.codeUnitAt$1(e,i);if(!(s===32||s===9||s===10||s===13||s===12))if(r&&i!==0&&i!==n&&s===92)return i+1;else return i}return null},isPublic0(e){var r=o.JSString_methods._codeUnitAt$1(e,0);return r!==45&&r!==95},flattenVertically0(e,r){var n,i=e.$ti._eval$1("@")._bind$1(r._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),a=s.List_List$of(new s.MappedListIterable(e,new s.flattenVertically_closure1(r),i),true,i._eval$1("ListIterable.E"));if(a.length===1)return o.JSArray_methods.get$first(a);n=s._setArrayType([],r._eval$1("JSArray<0>"));for(;a.length!==0;){if(!!a.fixed$length)s.throwExpression(s.UnsupportedError$("removeWhere"));o.JSArray_methods._removeWhere$2(a,new s.flattenVertically_closure2(n,r),true)}return n},firstOrNull0(e){var r=a.get$iterator$ax(e);return r.moveNext$0()?r.get$current(r):null},codepointIndexToCodeUnitIndex0(e,r){var n,i,s;for(n=0,i=0;i>>10===54?s+1:s}return n},codeUnitIndexToCodepointIndex0(e,r){var n,i;for(n=0,i=0;i>>10===54?i+1:i)+1)++n;return n},frameForSpan0(e,r,n){var i,a,o=n==null?e.get$sourceUrl(e):n;if(o==null)o=u.$get$_noSourceUrl0();i=e.get$start(e);i=i.file.getLine$1(i.offset);a=e.get$start(e);return new s.Frame(o,i+1,a.file.getColumn$1(a.offset)+1,r)},declarationName0(e){var r=s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(e.file._decodedChars,e._file$_start,e._end),0,null);return s.trimAsciiRight0(o.JSString_methods.substring$2(r,0,o.JSString_methods.indexOf$1(r,":")),false)},unvendor0(e){var r,n=e.length;if(n<2)return e;if(o.JSString_methods._codeUnitAt$1(e,0)!==45)return e;if(o.JSString_methods._codeUnitAt$1(e,1)===45)return e;for(r=2;r>>0)+1,0,false,o);m=e.get$length(e);u=a.JSArray_JSArray$allocateFixed(m,i._eval$1("List<0?>"));for(o=i._eval$1("0?"),l=0;l>>0,null,false,o);for(_=0;_<(e._tail-e._head&a.get$length$asx(e._table)-1)>>>0;_=c)for(c=_+1,p=0;p<(r._tail-r._head&a.get$length$asx(r._table)-1)>>>0;p=d){h=n.call$2(e.$index(0,_),r.$index(0,p));u[_][p]=h;o=g[c];d=p+1;o[d]=h==null?Math.max(o[p],g[_][d]):g[_][p]+1}return new s.longestCommonSubsequence_backtrack0(u,g,i).call$2(e.get$length(e)-1,r.get$length(r)-1)},removeFirstWhere0(e,r,n){var i;for(i=0;i"))},mapAsync$body0(e,r,n,i,a){var o=0,l=s._makeAsyncAwaitCompleter(a),u,_,c,$,p;var h=s._wrapJsFunctionForAsync((function(n,a){if(n===1)return s._asyncRethrow(a,l);while(true)switch(o){case 0:$=s._setArrayType([],i._eval$1("JSArray<0>"));_=e.length,c=0;case 3:if(!(c<_)){o=5;break}p=$;o=6;return s._asyncAwait(r.call$1(e[c]),h);case 6:p.push(a);case 4:++c;o=3;break;case 5:u=$;o=1;break;case 1:return s._asyncReturn(u,l)}}));return s._asyncStartSync(h,l)},putIfAbsentAsync0(e,r,n,i,a){return s.putIfAbsentAsync$body0(e,r,n,i,a,a)},putIfAbsentAsync$body0(e,r,n,i,a,o){var l=0,u=s._makeAsyncAwaitCompleter(o),_,c,$;var p=s._wrapJsFunctionForAsync((function(i,o){if(i===1)return s._asyncRethrow(o,u);while(true)switch(l){case 0:if(e.containsKey$1(r)){c=e.$index(0,r);_=c==null?a._as(c):c;l=1;break}l=3;return s._asyncAwait(n.call$0(),p);case 3:$=o;e.$indexSet(0,r,$);_=$;l=1;break;case 1:return s._asyncReturn(_,u)}}));return s._asyncStartSync(p,u)},copyMapOfMap0(e,r,n,i){var a,o,l,u,_=s.LinkedHashMap_LinkedHashMap$_empty(r,n._eval$1("@<0>")._bind$1(i)._eval$1("Map<1,2>"));for(a=e.get$entries(e),a=a.get$iterator(a);a.moveNext$0();){o=a.get$current(a);l=o.key;o=o.value;u=s.LinkedHashMap_LinkedHashMap(null,null,null,n,i);u.addAll$1(0,o);_.$indexSet(0,l,u)}return _},copyMapOfList0(e,r,n){var i,o,l=s.LinkedHashMap_LinkedHashMap$_empty(r,n._eval$1("List<0>"));for(i=e.get$entries(e),i=i.get$iterator(i);i.moveNext$0();){o=i.get$current(i);l.$indexSet(0,o.key,a.toList$0$ax(o.value))}return l},consumeEscapedCharacter0(e){var r,n,i,a,o;e.expectChar$1(92);r=e.peekChar$0();if(r==null)return 65533;else if(r===10||r===13||r===12)e.error$1(0,"Expected escape sequence.");else if(s.isHex0(r)){for(n=0,i=0;i<6;++i){a=e.peekChar$0();if(a==null||!s.isHex0(a))break;n=(n<<4>>>0)+s.asHex0(e.readChar$0())}o=e.peekChar$0();if(o===32||o===9||o===10||o===13||o===12)e.readChar$0();if(n!==0)o=n>=55296&&n<=57343||n>=1114111;else o=true;if(o)return 65533;else return n}else return e.readChar$0()},throwWithTrace0(e,r){s.attachTrace0(e,r);throw s.wrapException(e)},attachTrace0(e,r){var n;if(typeof e=="string"||typeof e=="number"||s._isBool(e))return;if(r.toString$0(0).length===0)return;n=u.$get$_traces0();s.Expando__checkType(e);n=n._jsWeakMap;if(n.get(e)==null)n.set(e,r)},getTrace0(e){var r;if(typeof e=="string"||typeof e=="number"||s._isBool(e))r=null;else{r=u.$get$_traces0();s.Expando__checkType(e);r=r._jsWeakMap.get(e)}return r},IterableExtension_get_exceptLast0(e){var r=a.getInterceptor$asx(e),n=r.get$length(e)-1;if(n<0)throw s.wrapException(s.StateError$("Iterable may not be empty"));return r.take$1(e,n)},indent_closure0:function indent_closure0(e){this.indentation=e},flattenVertically_closure1:function flattenVertically_closure1(e){this.T=e},flattenVertically_closure2:function flattenVertically_closure2(e,r){this.result=e;this.T=r},longestCommonSubsequence_backtrack0:function longestCommonSubsequence_backtrack0(e,r,n){this.selections=e;this.lengths=r;this.T=n},mapAddAll2_closure0:function mapAddAll2_closure0(e,r,n,i){var s=this;s.destination=e;s.K1=r;s.K2=n;s.V=i},CssValue0:function CssValue0(e,r,n){this.value=e;this.span=r;this.$ti=n},ValueExpression0:function ValueExpression0(e,r){this.value=e;this.span=r},ModifiableCssValue0:function ModifiableCssValue0(e,r,n){this.value=e;this.span=r;this.$ti=n},valueClass_closure:function valueClass_closure(){},valueClass__closure:function valueClass__closure(){},valueClass__closure0:function valueClass__closure0(){},valueClass__closure1:function valueClass__closure1(){},valueClass__closure2:function valueClass__closure2(){},valueClass__closure3:function valueClass__closure3(){},valueClass__closure4:function valueClass__closure4(){},valueClass__closure5:function valueClass__closure5(){},valueClass__closure6:function valueClass__closure6(){},valueClass__closure7:function valueClass__closure7(){},valueClass__closure8:function valueClass__closure8(){},valueClass__closure9:function valueClass__closure9(){},valueClass__closure10:function valueClass__closure10(){},valueClass__closure11:function valueClass__closure11(){},valueClass__closure12:function valueClass__closure12(){},valueClass__closure13:function valueClass__closure13(){},valueClass__closure14:function valueClass__closure14(){},valueClass__closure15:function valueClass__closure15(){},valueClass__closure16:function valueClass__closure16(){},SassApiValue_assertSelector0(e,r,n){var i,l,u,_,c=e._value0$_selectorString$1(n);try{u=s.SelectorList_SelectorList$parse0(c,r,true,null);return u}catch(_){u=s.unwrapException(_);if(u instanceof s.SassFormatException0){i=u;l=s.getTraceFromException(_);u=o.JSString_methods.replaceFirst$2(a.toString$0$(i),"Error: ","");s.throwWithTrace0(new s.SassScriptException0(n==null?u:"$"+n+": "+u),l)}else throw _}},SassApiValue_assertCompoundSelector0(e,r){var n,i,l,u,_=false,c=e._value0$_selectorString$1(r);try{l=s.SelectorParser$0(c,_,true,null,null).parseCompoundSelector$0();return l}catch(u){l=s.unwrapException(u);if(l instanceof s.SassFormatException0){n=l;i=s.getTraceFromException(u);l=o.JSString_methods.replaceFirst$2(a.toString$0$(n),"Error: ","");s.throwWithTrace0(new s.SassScriptException0("$"+r+": "+l),i)}else throw u}},Value0:function Value0(){},VariableExpression0:function VariableExpression0(e,r,n){this.namespace=e;this.name=r;this.span=n},VariableDeclaration$0(e,r,n,i,a,o,l){if(l!=null&&a)s.throwExpression(s.ArgumentError$(c.Other_,null));return new s.VariableDeclaration0(l,e,r,o,a,n)},VariableDeclaration0:function VariableDeclaration0(e,r,n,i,s,a){var o=this;o.namespace=e;o.name=r;o.expression=n;o.isGuarded=i;o.isGlobal=s;o.span=a},WarnRule0:function WarnRule0(e,r){this.expression=e;this.span=r},WhileRule$0(e,r,n){var i=s.List_List$unmodifiable(r,$.Statement_2),a=o.JSArray_methods.any$1(i,new s.ParentStatement_closure0);return new s.WhileRule0(e,n,i,a)},WhileRule0:function WhileRule0(e,r,n,i){var s=this;s.condition=e;s.span=r;s.children=n;s.hasDeclarations=i},printString(e){if(typeof dartPrint=="function"){dartPrint(e);return}if(typeof console=="object"&&typeof console.log!="undefined"){console.log(e);return}if(typeof window=="object")return;if(typeof print=="function"){print(e);return}throw"Unable to print message: "+String(e)},_convertDartFunctionFast(e){var r,n=e.$dart_jsFunction;if(n!=null)return n;r=function(e,r){return function(){return e(r,Array.prototype.slice.apply(arguments))}}(s._callDartFunctionFast,e);r[u.$get$DART_CLOSURE_PROPERTY_NAME()]=e;e.$dart_jsFunction=r;return r},_convertDartFunctionFastCaptureThis(e){var r,n=e._$dart_jsFunctionCaptureThis;if(n!=null)return n;r=function(e,r){return function(){return e(r,this,Array.prototype.slice.apply(arguments))}}(s._callDartFunctionFastCaptureThis,e);r[u.$get$DART_CLOSURE_PROPERTY_NAME()]=e;e._$dart_jsFunctionCaptureThis=r;return r},_callDartFunctionFast(e,r){return s.Function_apply(e,r)},_callDartFunctionFastCaptureThis(e,r,n){var i=[r];o.JSArray_methods.addAll$1(i,n);return s.Function_apply(e,i)},allowInterop(e){if(typeof e=="function")return e;else return s._convertDartFunctionFast(e)},allowInteropCaptureThis(e){if(typeof e=="function")throw s.wrapException(s.ArgumentError$("Function is already a JS function so cannot capture this.",null));else return s._convertDartFunctionFastCaptureThis(e)},mergeMaps(e,r,n,i){var a=s.LinkedHashMap_LinkedHashMap$of(e,n,i);a.addAll$1(0,r);return a},groupBy(e,r,n,i){var o,l,u,_,c,$,p=s.LinkedHashMap_LinkedHashMap$_empty(i,n._eval$1("List<0>"));for(o=e.length,l=n._eval$1("JSArray<0>"),u=0;u=65&&e<=90))r=e>=97&&e<=122;else r=true;return r},isDriveLetter(e,r){var n=e.length,i=r+2;if(n>>6},_finish(e){e=e+((e&67108863)<<3)&536870911;e^=e>>>11;return e+((e&16383)<<15)&536870911},EvaluationContext_current(){var e=u.Zone__current.$index(0,o.Symbol__evaluationContext);if($.EvaluationContext._is(e))return e;throw s.wrapException(s.StateError$(c.No_Sass))},repl(e){return s.repl$body(e)},repl$body(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=1,l,_=[],p,h,d,m,g,f,y,S,v,b,x,w,C,E,A,M,I,V,L;var R=s._wrapJsFunctionForAsync((function(A,k){if(A===1){l=k;r=i}while(true)switch(r){case 0:M=s._setArrayType([],$.JSArray_String);I=o.JSString_methods.$mul(" ",3);V=u.$get$alwaysValid();L=new s.Repl(">> ",I,V,M);L.__Repl__adapter=new s.ReplAdapter(L);p=L;M=e._options;h=new s.TrackingLogger(s._asBool(M.$index(0,"quiet"))?u.$get$Logger_quiet():new s.StderrLogger(e.get$color()));I=u.$get$context().absolute$7(".",null,null,null,null,null,null);d=new s.Evaluator(s._EvaluateVisitor$(null,s.ImportCache$($.List_String._as(M.$index(0,"load-path")),h),h,null,false,false),new s.FilesystemImporter(I));I=new s._StreamIterator(s.checkNotNullable(s._lateReadCheck(p.__Repl__adapter,"_adapter").runAsync$0(),"stream",$.Object));i=2;M=$.Expression,V=$.String,S=$.VariableDeclaration;case 5:r=7;return s._asyncAwait(I.moveNext$0(),R);case 7:if(!k){r=6;break}m=I.get$current(I);if(a.trim$0$s(m).length===0){r=5;break}try{if(a.startsWith$1$s(m,"@")){v=d;b=h;x=s.SpanScanner$(m,null);if(b==null)b=o.StderrLogger_false;b=new s.ScssParser(s.LinkedHashMap_LinkedHashMap$_empty(V,S),x,b).parseUseRule$0();v._visitor.runStatement$2(v._importer,b);r=5;break}v=s.SpanScanner$(m,null);if(new s.Parser(v,o.StderrLogger_false)._isVariableDeclarationLike$0()){v=h;b=s.SpanScanner$(m,null);if(v==null)v=o.StderrLogger_false;g=new s.ScssParser(s.LinkedHashMap_LinkedHashMap$_empty(V,S),b,v).parseVariableDeclaration$0();v=d;v._visitor.runStatement$2(v._importer,g);v=d;b=g.name;x=g.span;w=g.namespace;C=v._visitor.runExpression$2(v._importer,new s.VariableExpression(w,b,x)).toString$0(0);E=u.printToZone;if(E==null)s.printString(C);else E.call$1(C)}else{v=d;b=h;x=s.SpanScanner$(m,null);if(b==null)b=o.StderrLogger_false;b=new s.ScssParser(s.LinkedHashMap_LinkedHashMap$_empty(V,S),x,b);b=b._parseSingleProduction$1$1(b.get$_expression(),M);C=v._visitor.runExpression$2(v._importer,b).toString$0(0);E=u.printToZone;if(E==null)s.printString(C);else E.call$1(C)}}catch(r){v=s.unwrapException(r);if(v instanceof s.SassException){f=v;y=s.getTraceFromException(r);v=f;b=typeof v=="string";if(b||typeof v=="number"||s._isBool(v))v=null;else{x=u.$get$_traces();b=s._isBool(v)||typeof v=="number"||b;if(b)s.throwExpression(s.ArgumentError$value(v,c.Expand,null));v=x._jsWeakMap.get(v)}if(v==null)v=y;s._logError(f,v,m,p,e,h)}else throw r}r=5;break;case 6:_.push(4);r=3;break;case 2:_=[1];case 3:i=1;r=8;return s._asyncAwait(I.cancel$0(),R);case 8:r=_.pop();break;case 4:return s._asyncReturn(null,n);case 1:return s._asyncRethrow(l,n)}}));return s._asyncStartSync(R,n)},_logError(e,r,n,i,a,l){var u,_,c,$=s.SourceSpanException.prototype.get$span.call(e,e);if($.get$sourceUrl($)==null)if(!s._asBool(a._options.$index(0,"quiet")))$=l._emittedDebug||l._emittedWarning;else $=false;else $=true;if($){s.print(e.toString$1$color(0,a.get$color()));return}$=a.get$color()?""+"":"";u=s.SourceSpanException.prototype.get$span.call(e,e);u=u.get$start(u);_=i.prompt.length+u.file.getColumn$1(u.offset);if(a.get$color()){u=s.SourceSpanException.prototype.get$span.call(e,e);u=u.get$start(u);u=u.file.getColumn$1(u.offset)=97&&e<=122))r=e>=65&&e<=90;else r=true;return r},isDigit(e){return e!=null&&e>=48&&e<=57},isHex(e){if(e==null)return false;if(s.isDigit(e))return true;if(e>=97&&e<=102)return true;if(e>=65&&e<=70)return true;return false},asHex(e){if(e<=57)return e-48;if(e<=70)return 10+e-65;return 10+e-97},hexCharFor(e){return e<10?48+e:87+e},opposite(e){switch(e){case 40:return 41;case 123:return 125;case 91:return 93;default:throw s.wrapException(s.ArgumentError$('"'+s.String_String$fromCharCode(e)+"\" isn't a brace-like character.",null))}},characterEqualsIgnoreCase(e,r){var n;if(e===r)return true;if((e^r)>>>0!==32)return false;n=(e&4294967263)>>>0;return n>=65&&n<=90},NullableExtension_andThen(e,r){return e==null?null:r.call$1(e)},SetExtension_removeNull(e,r){e.remove$1(0,null);return s.Set_castFrom(e,e.get$_newSimilarSet(),s._instanceType(e)._precomputed1,r)},fuzzyHashCode(e){return e==1/0||e==-1/0||isNaN(e)?o.JSNumber_methods.get$hashCode(e):o.JSInt_methods.get$hashCode(o.JSNumber_methods.round$0(e*u.$get$_inverseEpsilon()))},fuzzyLessThan(e,r){return er&&!(Math.abs(e-r)r||Math.abs(e-r)0){r=o.JSNumber_methods.$mod(e,1);return r<.5&&!(Math.abs(r-.5)r&&eu.$get$MAX_INT32())throw s.wrapException(s.ArgumentError$("expected 32 bit int, got: "+e,null));r=s._setArrayType([],$.JSArray_String);if(e<0){e=-e;n=1}else n=0;e=e<<1|n;do{i=e&31;e=e>>>5;a=e>0;r.push(c.ABCDEF[a?i|32:i])}while(a);return r},isAllTheSame(e){var r,n,i,o;if(e.get$length(e)===0)return true;r=e.get$first(e);for(n=s.SubListIterable$(e,1,null,e.$ti._eval$1("ListIterable.E")),n=new s.ListIterator(n,n.get$length(n)),i=s._instanceType(n)._precomputed1;n.moveNext$0();){o=n.__internal$_current;if(!a.$eq$(o==null?i._as(o):o,r))return false}return true},replaceFirstNull(e,r){var n=o.JSArray_methods.indexOf$1(e,null);if(n<0)throw s.wrapException(s.ArgumentError$(s.S(e)+" contains no null elements.",null));e[n]=r},replaceWithNull(e,r){var n=o.JSArray_methods.indexOf$1(e,r);if(n<0)throw s.wrapException(s.ArgumentError$(s.S(e)+" contains no elements matching "+r.toString$0(0)+".",null));e[n]=null},countCodeUnits(e,r){var n,i,a,o;for(n=new s.CodeUnits(e),n=new s.ListIterator(n,n.get$length(n)),i=s._instanceType(n)._precomputed1,a=0;n.moveNext$0();){o=n.__internal$_current;if((o==null?i._as(o):o)===r)++a}return a},findLineStart(e,r,n){var i,s,a;if(r.length===0)for(i=0;true;){s=o.JSString_methods.indexOf$2(e,"\n",i);if(s===-1)return e.length-i>=n?i:null;if(s-i>=n)return i;i=s+1}s=o.JSString_methods.indexOf$1(e,r);for(;s!==-1;){a=s===0?0:o.JSString_methods.lastIndexOf$2(e,"\n",s-1)+1;if(n===s-a)return a;s=o.JSString_methods.indexOf$2(e,r,s+1)}return null},validateErrorArgs(e,r,n,i){var a,o=n!=null;if(o)if(n<0)throw s.wrapException(s.RangeError$("position must be greater than or equal to 0."));else if(n>e.length)throw s.wrapException(s.RangeError$("position must be less than or equal to the string length."));a=i!=null;if(a&&i<0)throw s.wrapException(s.RangeError$("length must be greater than or equal to 0."));if(o&&a&&n+i>e.length)throw s.wrapException(s.RangeError$("position plus length must not go beyond the end of the string."))},isWhitespace0(e){return e===32||e===9||e===10||e===13||e===12},isNewline0(e){return e===10||e===13||e===12},isAlphabetic1(e){var r;if(!(e>=97&&e<=122))r=e>=65&&e<=90;else r=true;return r},isDigit0(e){return e!=null&&e>=48&&e<=57},isHex0(e){if(e==null)return false;if(s.isDigit0(e))return true;if(e>=97&&e<=102)return true;if(e>=65&&e<=70)return true;return false},asHex0(e){if(e<=57)return e-48;if(e<=70)return 10+e-65;return 10+e-97},hexCharFor0(e){return e<10?48+e:87+e},opposite0(e){switch(e){case 40:return 41;case 123:return 125;case 91:return 93;default:throw s.wrapException(s.ArgumentError$('"'+s.String_String$fromCharCode(e)+"\" isn't a brace-like character.",null))}},characterEqualsIgnoreCase0(e,r){var n;if(e===r)return true;if((e^r)>>>0!==32)return false;n=(e&4294967263)>>>0;return n>=65&&n<=90},EvaluationContext_current0(){var e=u.Zone__current.$index(0,o.Symbol__evaluationContext);if($.EvaluationContext_2._is(e))return e;throw s.wrapException(s.StateError$(c.No_Sass))},NullableExtension_andThen0(e,r){return e==null?null:r.call$1(e)},fuzzyHashCode0(e){return e==1/0||e==-1/0||isNaN(e)?o.JSNumber_methods.get$hashCode(e):o.JSInt_methods.get$hashCode(o.JSNumber_methods.round$0(e*u.$get$_inverseEpsilon0()))},fuzzyLessThan0(e,r){return er&&!(Math.abs(e-r)r||Math.abs(e-r)0){r=o.JSNumber_methods.$mod(e,1);return r<.5&&!(Math.abs(r-.5)r&&e4294967295)throw s.wrapException(s.RangeError$range(e,0,4294967295,"length",null));return a.JSArray_JSArray$markFixed(new Array(e),r)},JSArray_JSArray$allocateFixed(e,r){if(e>4294967295)throw s.wrapException(s.RangeError$range(e,0,4294967295,"length",null));return a.JSArray_JSArray$markFixed(new Array(e),r)},JSArray_JSArray$growable(e,r){if(e<0)throw s.wrapException(s.ArgumentError$("Length must be a non-negative integer: "+e,null));return s._setArrayType(new Array(e),r._eval$1("JSArray<0>"))},JSArray_JSArray$allocateGrowable(e,r){if(e<0)throw s.wrapException(s.ArgumentError$("Length must be a non-negative integer: "+e,null));return s._setArrayType(new Array(e),r._eval$1("JSArray<0>"))},JSArray_JSArray$markFixed(e,r){return a.JSArray_markFixedList(s._setArrayType(e,r._eval$1("JSArray<0>")))},JSArray_markFixedList(e){e.fixed$length=Array;return e},JSArray_markUnmodifiableList(e){e.fixed$length=Array;e.immutable$list=Array;return e},JSArray__compareAny(e,r){return a.compareTo$1$ns(e,r)},JSString__isWhitespace(e){if(e<256)switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return true;default:return false}switch(e){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return true;default:return false}},JSString__skipLeadingWhitespace(e,r){var n,i;for(n=e.length;r0;r=n){n=r-1;i=o.JSString_methods.codeUnitAt$1(e,n);if(i!==32&&i!==13&&!a.JSString__isWhitespace(i))break}return r},getInterceptor$(e){if(typeof e=="number"){if(Math.floor(e)==e)return a.JSInt.prototype;return a.JSNumNotInt.prototype}if(typeof e=="string")return a.JSString.prototype;if(e==null)return a.JSNull.prototype;if(typeof e=="boolean")return a.JSBool.prototype;if(e.constructor==Array)return a.JSArray.prototype;if(typeof e!="object"){if(typeof e=="function")return a.JavaScriptFunction.prototype;return e}if(e instanceof s.Object)return e;return a.getNativeInterceptor(e)},getInterceptor$ansx(e){if(typeof e=="number")return a.JSNumber.prototype;if(typeof e=="string")return a.JSString.prototype;if(e==null)return e;if(e.constructor==Array)return a.JSArray.prototype;if(typeof e!="object"){if(typeof e=="function")return a.JavaScriptFunction.prototype;return e}if(e instanceof s.Object)return e;return a.getNativeInterceptor(e)},getInterceptor$asx(e){if(typeof e=="string")return a.JSString.prototype;if(e==null)return e;if(e.constructor==Array)return a.JSArray.prototype;if(typeof e!="object"){if(typeof e=="function")return a.JavaScriptFunction.prototype;return e}if(e instanceof s.Object)return e;return a.getNativeInterceptor(e)},getInterceptor$ax(e){if(e==null)return e;if(e.constructor==Array)return a.JSArray.prototype;if(typeof e!="object"){if(typeof e=="function")return a.JavaScriptFunction.prototype;return e}if(e instanceof s.Object)return e;return a.getNativeInterceptor(e)},getInterceptor$n(e){if(typeof e=="number")return a.JSNumber.prototype;if(e==null)return e;if(!(e instanceof s.Object))return a.UnknownJavaScriptObject.prototype;return e},getInterceptor$ns(e){if(typeof e=="number")return a.JSNumber.prototype;if(typeof e=="string")return a.JSString.prototype;if(e==null)return e;if(!(e instanceof s.Object))return a.UnknownJavaScriptObject.prototype;return e},getInterceptor$s(e){if(typeof e=="string")return a.JSString.prototype;if(e==null)return e;if(!(e instanceof s.Object))return a.UnknownJavaScriptObject.prototype;return e},getInterceptor$u(e){if(e==null)return a.JSNull.prototype;if(!(e instanceof s.Object))return a.UnknownJavaScriptObject.prototype;return e},getInterceptor$x(e){if(e==null)return e;if(typeof e!="object"){if(typeof e=="function")return a.JavaScriptFunction.prototype;return e}if(e instanceof s.Object)return e;return a.getNativeInterceptor(e)},getInterceptor$z(e){if(e==null)return e;if(!(e instanceof s.Object))return a.UnknownJavaScriptObject.prototype;return e},set$Exception$x(e,r){return a.getInterceptor$x(e).set$Exception(e,r)},set$FALSE$x(e,r){return a.getInterceptor$x(e).set$FALSE(e,r)},set$Logger$x(e,r){return a.getInterceptor$x(e).set$Logger(e,r)},set$NULL$x(e,r){return a.getInterceptor$x(e).set$NULL(e,r)},set$SassArgumentList$x(e,r){return a.getInterceptor$x(e).set$SassArgumentList(e,r)},set$SassBoolean$x(e,r){return a.getInterceptor$x(e).set$SassBoolean(e,r)},set$SassColor$x(e,r){return a.getInterceptor$x(e).set$SassColor(e,r)},set$SassFunction$x(e,r){return a.getInterceptor$x(e).set$SassFunction(e,r)},set$SassList$x(e,r){return a.getInterceptor$x(e).set$SassList(e,r)},set$SassMap$x(e,r){return a.getInterceptor$x(e).set$SassMap(e,r)},set$SassNumber$x(e,r){return a.getInterceptor$x(e).set$SassNumber(e,r)},set$SassString$x(e,r){return a.getInterceptor$x(e).set$SassString(e,r)},set$TRUE$x(e,r){return a.getInterceptor$x(e).set$TRUE(e,r)},set$Value$x(e,r){return a.getInterceptor$x(e).set$Value(e,r)},set$cli_pkg_main_0_$x(e,r){return a.getInterceptor$x(e).set$cli_pkg_main_0_(e,r)},set$compile$x(e,r){return a.getInterceptor$x(e).set$compile(e,r)},set$compileAsync$x(e,r){return a.getInterceptor$x(e).set$compileAsync(e,r)},set$compileString$x(e,r){return a.getInterceptor$x(e).set$compileString(e,r)},set$compileStringAsync$x(e,r){return a.getInterceptor$x(e).set$compileStringAsync(e,r)},set$context$x(e,r){return a.getInterceptor$x(e).set$context(e,r)},set$dartValue$x(e,r){return a.getInterceptor$x(e).set$dartValue(e,r)},set$exitCode$x(e,r){return a.getInterceptor$x(e).set$exitCode(e,r)},set$info$x(e,r){return a.getInterceptor$x(e).set$info(e,r)},set$length$asx(e,r){return a.getInterceptor$asx(e).set$length(e,r)},set$render$x(e,r){return a.getInterceptor$x(e).set$render(e,r)},set$renderSync$x(e,r){return a.getInterceptor$x(e).set$renderSync(e,r)},set$sassFalse$x(e,r){return a.getInterceptor$x(e).set$sassFalse(e,r)},set$sassNull$x(e,r){return a.getInterceptor$x(e).set$sassNull(e,r)},set$sassTrue$x(e,r){return a.getInterceptor$x(e).set$sassTrue(e,r)},set$types$x(e,r){return a.getInterceptor$x(e).set$types(e,r)},get$$prototype$x(e){return a.getInterceptor$x(e).get$$prototype(e)},get$_dartException$x(e){return a.getInterceptor$x(e).get$_dartException(e)},get$alertAscii$x(e){return a.getInterceptor$x(e).get$alertAscii(e)},get$alertColor$x(e){return a.getInterceptor$x(e).get$alertColor(e)},get$blue$x(e){return a.getInterceptor$x(e).get$blue(e)},get$brackets$x(e){return a.getInterceptor$x(e).get$brackets(e)},get$charset$x(e){return a.getInterceptor$x(e).get$charset(e)},get$code$x(e){return a.getInterceptor$x(e).get$code(e)},get$current$x(e){return a.getInterceptor$x(e).get$current(e)},get$dartValue$x(e){return a.getInterceptor$x(e).get$dartValue(e)},get$debug$x(e){return a.getInterceptor$x(e).get$debug(e)},get$denominatorUnits$x(e){return a.getInterceptor$x(e).get$denominatorUnits(e)},get$end$z(e){return a.getInterceptor$z(e).get$end(e)},get$env$x(e){return a.getInterceptor$x(e).get$env(e)},get$exitCode$x(e){return a.getInterceptor$x(e).get$exitCode(e)},get$fiber$x(e){return a.getInterceptor$x(e).get$fiber(e)},get$file$x(e){return a.getInterceptor$x(e).get$file(e)},get$first$ax(e){return a.getInterceptor$ax(e).get$first(e)},get$functions$x(e){return a.getInterceptor$x(e).get$functions(e)},get$green$x(e){return a.getInterceptor$x(e).get$green(e)},get$hashCode$(e){return a.getInterceptor$(e).get$hashCode(e)},get$importer$x(e){return a.getInterceptor$x(e).get$importer(e)},get$importers$x(e){return a.getInterceptor$x(e).get$importers(e)},get$isEmpty$asx(e){return a.getInterceptor$asx(e).get$isEmpty(e)},get$isNotEmpty$asx(e){return a.getInterceptor$asx(e).get$isNotEmpty(e)},get$isTTY$x(e){return a.getInterceptor$x(e).get$isTTY(e)},get$iterator$ax(e){return a.getInterceptor$ax(e).get$iterator(e)},get$keys$z(e){return a.getInterceptor$z(e).get$keys(e)},get$last$ax(e){return a.getInterceptor$ax(e).get$last(e)},get$length$asx(e){return a.getInterceptor$asx(e).get$length(e)},get$loadPaths$x(e){return a.getInterceptor$x(e).get$loadPaths(e)},get$logger$x(e){return a.getInterceptor$x(e).get$logger(e)},get$message$x(e){return a.getInterceptor$x(e).get$message(e)},get$mtime$x(e){return a.getInterceptor$x(e).get$mtime(e)},get$name$x(e){return a.getInterceptor$x(e).get$name(e)},get$numeratorUnits$x(e){return a.getInterceptor$x(e).get$numeratorUnits(e)},get$options$x(e){return a.getInterceptor$x(e).get$options(e)},get$parent$z(e){return a.getInterceptor$z(e).get$parent(e)},get$path$x(e){return a.getInterceptor$x(e).get$path(e)},get$platform$x(e){return a.getInterceptor$x(e).get$platform(e)},get$quietDeps$x(e){return a.getInterceptor$x(e).get$quietDeps(e)},get$quotes$x(e){return a.getInterceptor$x(e).get$quotes(e)},get$red$x(e){return a.getInterceptor$x(e).get$red(e)},get$reversed$ax(e){return a.getInterceptor$ax(e).get$reversed(e)},get$runtimeType$u(e){return a.getInterceptor$u(e).get$runtimeType(e)},get$separator$x(e){return a.getInterceptor$x(e).get$separator(e)},get$single$ax(e){return a.getInterceptor$ax(e).get$single(e)},get$sourceMap$x(e){return a.getInterceptor$x(e).get$sourceMap(e)},get$sourceMapIncludeSources$x(e){return a.getInterceptor$x(e).get$sourceMapIncludeSources(e)},get$span$z(e){return a.getInterceptor$z(e).get$span(e)},get$start$z(e){return a.getInterceptor$z(e).get$start(e)},get$stderr$x(e){return a.getInterceptor$x(e).get$stderr(e)},get$stdin$x(e){return a.getInterceptor$x(e).get$stdin(e)},get$style$x(e){return a.getInterceptor$x(e).get$style(e)},get$syntax$x(e){return a.getInterceptor$x(e).get$syntax(e)},get$trace$z(e){return a.getInterceptor$z(e).get$trace(e)},get$url$x(e){return a.getInterceptor$x(e).get$url(e)},get$values$z(e){return a.getInterceptor$z(e).get$values(e)},get$verbose$x(e){return a.getInterceptor$x(e).get$verbose(e)},get$warn$x(e){return a.getInterceptor$x(e).get$warn(e)},$add$ansx(e,r){if(typeof e=="number"&&typeof r=="number")return e+r;return a.getInterceptor$ansx(e).$add(e,r)},$eq$(e,r){if(e==null)return r==null;if(typeof e!="object")return r!=null&&e===r;return a.getInterceptor$(e).$eq(e,r)},$index$asx(e,r){if(typeof r==="number")if(e.constructor==Array||typeof e=="string"||s.isJsIndexable(e,e[_.dispatchPropertyName]))if(r>>>0===r&&r>>0===r&&r")._bind$1(r)._eval$1("CastList<1,2>"))},add$1(e,r){if(!!e.fixed$length)s.throwExpression(s.UnsupportedError$("add"));e.push(r)},removeAt$1(e,r){var n;if(!!e.fixed$length)s.throwExpression(s.UnsupportedError$("removeAt"));n=e.length;if(r>=n)throw s.wrapException(s.RangeError$value(r,null,null));return e.splice(r,1)[0]},insert$2(e,r,n){var i;if(!!e.fixed$length)s.throwExpression(s.UnsupportedError$("insert"));i=e.length;if(r>i)throw s.wrapException(s.RangeError$value(r,null,null));e.splice(r,0,n)},insertAll$2(e,r,n){var i,o;if(!!e.fixed$length)s.throwExpression(s.UnsupportedError$("insertAll"));s.RangeError_checkValueInInterval(r,0,e.length,"index");if(!$.EfficientLengthIterable_dynamic._is(n))n=a.toList$0$ax(n);i=a.get$length$asx(n);e.length=e.length+i;o=r+i;this.setRange$4(e,o,e.length,e,r);this.setRange$3(e,r,o,n)},removeLast$0(e){if(!!e.fixed$length)s.throwExpression(s.UnsupportedError$("removeLast"));if(e.length===0)throw s.wrapException(s.diagnoseIndexError(e,-1));return e.pop()},_removeWhere$2(e,r,n){var i,a,o,l=[],u=e.length;for(i=0;i"))},expand$1$1(e,r,n){return new s.ExpandIterable(e,r,s._arrayInstanceType(e)._eval$1("@<1>")._bind$1(n)._eval$1("ExpandIterable<1,2>"))},addAll$1(e,r){var n;if(!!e.fixed$length)s.throwExpression(s.UnsupportedError$("addAll"));if(Array.isArray(r)){this._addAllFromArray$1(e,r);return}for(n=a.get$iterator$ax(r);n.moveNext$0();)e.push(n.get$current(n))},_addAllFromArray$1(e,r){var n,i=r.length;if(i===0)return;if(e===r)throw s.wrapException(s.ConcurrentModificationError$(e));for(n=0;n")._bind$1(n)._eval$1("MappedListIterable<1,2>"))},join$1(e,r){var n,i=s.List_List$filled(e.length,"",false,$.String);for(n=0;ni)throw s.wrapException(s.RangeError$range(r,0,i,"start",null));if(n==null)n=i;else if(ni)throw s.wrapException(s.RangeError$range(n,r,i,"end",null));if(r===n)return s._setArrayType([],s._arrayInstanceType(e));return s._setArrayType(e.slice(r,n),s._arrayInstanceType(e))},sublist$1(e,r){return this.sublist$2(e,r,null)},getRange$2(e,r,n){s.RangeError_checkValidRange(r,n,e.length);return s.SubListIterable$(e,r,n,s._arrayInstanceType(e)._precomputed1)},get$first(e){if(e.length>0)return e[0];throw s.wrapException(s.IterableElementError_noElement())},get$last(e){var r=e.length;if(r>0)return e[r-1];throw s.wrapException(s.IterableElementError_noElement())},get$single(e){var r=e.length;if(r===1)return e[0];if(r===0)throw s.wrapException(s.IterableElementError_noElement());throw s.wrapException(s.IterableElementError_tooMany())},removeRange$2(e,r,n){if(!!e.fixed$length)s.throwExpression(s.UnsupportedError$("removeRange"));s.RangeError_checkValidRange(r,n,e.length);e.splice(r,n-r)},setRange$4(e,r,n,i,o){var l,u,_,c,p;if(!!e.immutable$list)s.throwExpression(s.UnsupportedError$("setRange"));s.RangeError_checkValidRange(r,n,e.length);l=n-r;if(l===0)return;s.RangeError_checkNotNegative(o,"skipCount");if($.List_dynamic._is(i)){u=i;_=o}else{u=a.skip$1$ax(i,o).toList$1$growable(0,false);_=0}c=a.getInterceptor$asx(u);if(_+l>c.get$length(u))throw s.wrapException(s.IterableElementError_tooFew());if(_=0;--p)e[r+p]=c.$index(u,_+p);else for(p=0;p"))},sort$1(e,r){if(!!e.immutable$list)s.throwExpression(s.UnsupportedError$("sort"));s.Sort_sort(e,r==null?a._interceptors_JSArray__compareAny$closure():r)},sort$0(e){return this.sort$1(e,null)},indexOf$1(e,r){var n,i=e.length;if(0>=i)return-1;for(n=0;ne.length)s._arrayInstanceType(e)._precomputed1._as(null);e.length=r},$index(e,r){if(!(r>=0&&r=0&&r=e.length)return-1;for(n=0;n=i){r._current=null;return false}r._current=n[e];r._index=e+1;return true}};a.JSNumber.prototype={compareTo$1(e,r){var n;if(er)return 1;else if(e===r){if(e===0){n=this.get$isNegative(r);if(this.get$isNegative(e)===n)return 0;if(this.get$isNegative(e))return-1;return 1}return 0}else if(isNaN(e)){if(isNaN(r))return 0;return 1}else return-1},get$isNegative(e){return e===0?1/e<0:e<0},ceil$0(e){var r,n;if(e>=0){if(e<=2147483647){r=e|0;return e===r?r:r+1}}else if(e>=-2147483648)return e|0;n=Math.ceil(e);if(isFinite(n))return n;throw s.wrapException(s.UnsupportedError$(""+e+".ceil()"))},floor$0(e){var r,n;if(e>=0){if(e<=2147483647)return e|0}else if(e>=-2147483648){r=e|0;return e===r?r:r-1}n=Math.floor(e);if(isFinite(n))return n;throw s.wrapException(s.UnsupportedError$(""+e+".floor()"))},round$0(e){if(e>0){if(e!==1/0)return Math.round(e)}else if(e>-1/0)return 0-Math.round(0-e);throw s.wrapException(s.UnsupportedError$(""+e+".round()"))},clamp$2(e,r,n){if(o.JSInt_methods.compareTo$1(r,n)>0)throw s.wrapException(s.argumentErrorValue(r));if(this.compareTo$1(e,r)<0)return r;if(this.compareTo$1(e,n)>0)return n;return e},toRadixString$1(e,r){var n,i,a,l;if(r<2||r>36)throw s.wrapException(s.RangeError$range(r,2,36,"radix",null));n=e.toString(r);if(o.JSString_methods.codeUnitAt$1(n,n.length-1)!==41)return n;i=/^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(n);if(i==null)s.throwExpression(s.UnsupportedError$("Unexpected toString result: "+n));n=i[1];a=+i[3];l=i[2];if(l!=null){n+=l;a-=l.length}return n+o.JSString_methods.$mul("0",a)},toString$0(e){if(e===0&&1/e<0)return"-0.0";else return""+e},get$hashCode(e){var r,n,i,s,a=e|0;if(e===a)return a&536870911;r=Math.abs(e);n=Math.log(r)/.6931471805599453|0;i=Math.pow(2,n);s=r<1?r/i:i/r;return((s*9007199254740992|0)+(s*0xc95a6c285a6c9|0))*599197+n*1259&536870911},$add(e,r){return e+r},$mod(e,r){var n=e%r;if(n===0)return 0;if(n>0)return n;if(r<0)return n-r;else return n+r},$tdiv(e,r){if((e|0)===e)if(r>=1||r<-1)return e/r|0;return this._tdivSlow$1(e,r)},_tdivFast$1(e,r){return(e|0)===e?e/r|0:this._tdivSlow$1(e,r)},_tdivSlow$1(e,r){var n=e/r;if(n>=-2147483648&&n<=2147483647)return n|0;if(n>0){if(n!==1/0)return Math.floor(n)}else if(n>-1/0)return Math.ceil(n);throw s.wrapException(s.UnsupportedError$("Result of truncating division is "+s.S(n)+": "+s.S(e)+" ~/ "+r))},_shrOtherPositive$1(e,r){var n;if(e>0)n=this._shrBothPositive$1(e,r);else{n=r>31?31:r;n=e>>n>>>0}return n},_shrReceiverPositive$1(e,r){if(0>r)throw s.wrapException(s.argumentErrorValue(r));return this._shrBothPositive$1(e,r)},_shrBothPositive$1(e,r){return r>31?0:e>>>r},$isComparable:1,$isdouble:1,$isnum:1};a.JSInt.prototype={$isint:1};a.JSNumNotInt.prototype={};a.JSString.prototype={codeUnitAt$1(e,r){if(r<0)throw s.wrapException(s.diagnoseIndexError(e,r));if(r>=e.length)s.throwExpression(s.diagnoseIndexError(e,r));return e.charCodeAt(r)},_codeUnitAt$1(e,r){if(r>=e.length)throw s.wrapException(s.diagnoseIndexError(e,r));return e.charCodeAt(r)},allMatches$2(e,r,n){var i=r.length;if(n>i)throw s.wrapException(s.RangeError$range(n,0,i,null,null));return new s._StringAllMatchesIterable(r,e,n)},allMatches$1(e,r){return this.allMatches$2(e,r,0)},matchAsPrefix$2(e,r,n){var i,a,o=null;if(n<0||n>r.length)throw s.wrapException(s.RangeError$range(n,0,r.length,o,o));i=e.length;if(n+i>r.length)return o;for(a=0;ai)return false;return r===this.substring$1(e,i-n)},replaceFirst$2(e,r,n){s.RangeError_checkValueInInterval(0,0,e.length,"startIndex");return s.stringReplaceFirstUnchecked(e,r,n,0)},split$1(e,r){if(typeof r=="string")return s._setArrayType(e.split(r),$.JSArray_String);else if(r instanceof s.JSSyntaxRegExp&&r.get$_nativeAnchoredVersion().exec("").length-2===0)return s._setArrayType(e.split(r._nativeRegExp),$.JSArray_String);else return this._defaultSplit$1(e,r)},replaceRange$3(e,r,n,i){var a=s.RangeError_checkValidRange(r,n,e.length);return s.stringReplaceRangeUnchecked(e,r,a,i)},_defaultSplit$1(e,r){var n,i,o,l,u,_,c=s._setArrayType([],$.JSArray_String);for(n=a.allMatches$1$s(r,e),n=n.get$iterator(n),i=0,o=1;n.moveNext$0();){l=n.get$current(n);u=l.get$start(l);_=l.get$end(l);o=_-u;if(o===0&&i===u)continue;c.push(this.substring$2(e,i,u));i=_}if(i0)c.push(this.substring$1(e,i));return c},startsWith$2(e,r,n){var i;if(n<0||n>e.length)throw s.wrapException(s.RangeError$range(n,0,e.length,null,null));if(typeof r=="string"){i=n+r.length;if(i>e.length)return false;return r===e.substring(n,i)}return a.matchAsPrefix$2$s(r,e,n)!=null},startsWith$1(e,r){return this.startsWith$2(e,r,0)},substring$2(e,r,n){return e.substring(r,s.RangeError_checkValidRange(r,n,e.length))},substring$1(e,r){return this.substring$2(e,r,null)},trim$0(e){var r,n,i,s=e.trim(),o=s.length;if(o===0)return s;if(this._codeUnitAt$1(s,0)===133){r=a.JSString__skipLeadingWhitespace(s,1);if(r===o)return""}else r=0;n=o-1;i=this.codeUnitAt$1(s,n)===133?a.JSString__skipTrailingWhitespace(s,n):o;if(r===0&&i===o)return s;return s.substring(r,i)},trimRight$0(e){var r,n,i;if(typeof e.trimRight!="undefined"){r=e.trimRight();n=r.length;if(n===0)return r;i=n-1;if(this.codeUnitAt$1(r,i)===133)n=a.JSString__skipTrailingWhitespace(r,i)}else{n=a.JSString__skipTrailingWhitespace(e,e.length);r=e}if(n===r.length)return r;if(n===0)return"";return r.substring(0,n)},$mul(e,r){var n,i;if(0>=r)return"";if(r===1||e.length===0)return e;if(r!==r>>>0)throw s.wrapException(o.C_OutOfMemoryError);for(n=e,i="";true;){if((r&1)===1)i=n+i;r=r>>>1;if(r===0)break;n+=n}return i},padLeft$2(e,r,n){var i=r-e.length;if(i<=0)return e;return this.$mul(n,i)+e},padRight$1(e,r){var n=r-e.length;if(n<=0)return e;return e+this.$mul(" ",n)},indexOf$2(e,r,n){var i;if(n<0||n>e.length)throw s.wrapException(s.RangeError$range(n,0,e.length,null,null));i=e.indexOf(r,n);return i},indexOf$1(e,r){return this.indexOf$2(e,r,0)},lastIndexOf$2(e,r,n){var i,o,l;if(n==null)n=e.length;else if(n<0||n>e.length)throw s.wrapException(s.RangeError$range(n,0,e.length,null,null));if(typeof r=="string"){i=r.length;o=e.length;if(n+i>o)n=o-i;return e.lastIndexOf(r,n)}for(i=a.getInterceptor$s(r),l=n;l>=0;--l)if(i.matchAsPrefix$2(r,e,l)!=null)return l;return-1},lastIndexOf$1(e,r){return this.lastIndexOf$2(e,r,null)},contains$2(e,r,n){var i=e.length;if(n>i)throw s.wrapException(s.RangeError$range(n,0,i,null,null));return s.stringContainsUnchecked(e,r,n)},contains$1(e,r){return this.contains$2(e,r,0)},get$isNotEmpty(e){return e.length!==0},compareTo$1(e,r){var n;if(e===r)n=0;else n=e>6}n=n+((n&67108863)<<3)&536870911;n^=n>>11;return n+((n&16383)<<15)&536870911},get$length(e){return e.length},$isComparable:1,$isString:1};s._CastIterableBase.prototype={get$iterator(e){var r=s._instanceType(this);return new s.CastIterator(a.get$iterator$ax(this.get$_source()),r._eval$1("@<1>")._bind$1(r._rest[1])._eval$1("CastIterator<1,2>"))},get$length(e){return a.get$length$asx(this.get$_source())},get$isEmpty(e){return a.get$isEmpty$asx(this.get$_source())},get$isNotEmpty(e){return a.get$isNotEmpty$asx(this.get$_source())},skip$1(e,r){var n=s._instanceType(this);return s.CastIterable_CastIterable(a.skip$1$ax(this.get$_source(),r),n._precomputed1,n._rest[1])},take$1(e,r){var n=s._instanceType(this);return s.CastIterable_CastIterable(a.take$1$ax(this.get$_source(),r),n._precomputed1,n._rest[1])},elementAt$1(e,r){return s._instanceType(this)._rest[1]._as(a.elementAt$1$ax(this.get$_source(),r))},get$first(e){return s._instanceType(this)._rest[1]._as(a.get$first$ax(this.get$_source()))},get$last(e){return s._instanceType(this)._rest[1]._as(a.get$last$ax(this.get$_source()))},get$single(e){return s._instanceType(this)._rest[1]._as(a.get$single$ax(this.get$_source()))},contains$1(e,r){return a.contains$1$asx(this.get$_source(),r)},toString$0(e){return a.toString$0$(this.get$_source())}};s.CastIterator.prototype={moveNext$0(){return this._source.moveNext$0()},get$current(e){var r=this._source;return this.$ti._rest[1]._as(r.get$current(r))}};s.CastIterable.prototype={get$_source(){return this._source}};s._EfficientLengthCastIterable.prototype={$isEfficientLengthIterable:1};s._CastListBase.prototype={$index(e,r){return this.$ti._rest[1]._as(a.$index$asx(this._source,r))},$indexSet(e,r,n){a.$indexSet$ax(this._source,r,this.$ti._precomputed1._as(n))},set$length(e,r){a.set$length$asx(this._source,r)},add$1(e,r){a.add$1$ax(this._source,this.$ti._precomputed1._as(r))},sort$1(e,r){var n=r==null?null:new s._CastListBase_sort_closure(this,r);a.sort$1$ax(this._source,n)},setRange$4(e,r,n,i,o){var l=this.$ti;a.setRange$4$ax(this._source,r,n,s.CastIterable_CastIterable(i,l._rest[1],l._precomputed1),o)},fillRange$3(e,r,n,i){a.fillRange$3$ax(this._source,r,n,this.$ti._precomputed1._as(i))},$isEfficientLengthIterable:1,$isList:1};s._CastListBase_sort_closure.prototype={call$2(e,r){var n=this.$this.$ti._rest[1];return this.compare.call$2(n._as(e),n._as(r))},$signature(){return this.$this.$ti._eval$1("int(1,1)")}};s.CastList.prototype={cast$1$0(e,r){return new s.CastList(this._source,this.$ti._eval$1("@<1>")._bind$1(r)._eval$1("CastList<1,2>"))},get$_source(){return this._source}};s.CastSet.prototype={add$1(e,r){return this._source.add$1(0,this.$ti._precomputed1._as(r))},addAll$1(e,r){var n=this.$ti;this._source.addAll$1(0,s.CastIterable_CastIterable(r,n._rest[1],n._precomputed1))},difference$1(e){var r,n=this;if(n._emptySet!=null)return n._conditionalAdd$2(e,false);r=n.$ti;return new s.CastSet(n._source.difference$1(e),null,r._eval$1("@<1>")._bind$1(r._rest[1])._eval$1("CastSet<1,2>"))},_conditionalAdd$2(e,r){var n,i,a=this._emptySet,o=this.$ti,l=o._rest[1],u=a==null?s.LinkedHashSet_LinkedHashSet(l):a.call$1$0(l);for(l=this._source,l=l.get$iterator(l),n=e._source,o=o._rest[1];l.moveNext$0();){i=o._as(l.get$current(l));if(r===n.contains$1(0,i))u.add$1(0,i)}return u},toSet$0(e){var r=this._emptySet,n=this.$ti._rest[1],i=r==null?s.LinkedHashSet_LinkedHashSet(n):r.call$1$0(n);i.addAll$1(0,this);return i},$isEfficientLengthIterable:1,$isSet:1,get$_source(){return this._source}};s.CastMap.prototype={cast$2$0(e,r,n){var i=this.$ti;return new s.CastMap(this._source,i._eval$1("@<1>")._bind$1(i._rest[1])._bind$1(r)._bind$1(n)._eval$1("CastMap<1,2,3,4>"))},containsKey$1(e){return this._source.containsKey$1(e)},$index(e,r){return this.$ti._eval$1("4?")._as(this._source.$index(0,r))},$indexSet(e,r,n){var i=this.$ti;this._source.$indexSet(0,i._precomputed1._as(r),i._rest[1]._as(n))},addAll$1(e,r){var n=this.$ti;this._source.addAll$1(0,new s.CastMap(r,n._eval$1("@<3>")._bind$1(n._rest[3])._bind$1(n._precomputed1)._bind$1(n._rest[1])._eval$1("CastMap<1,2,3,4>")))},remove$1(e,r){return this.$ti._eval$1("4?")._as(this._source.remove$1(0,r))},forEach$1(e,r){this._source.forEach$1(0,new s.CastMap_forEach_closure(this,r))},get$keys(e){var r=this._source,n=this.$ti;return s.CastIterable_CastIterable(r.get$keys(r),n._precomputed1,n._rest[2])},get$values(e){var r=this._source,n=this.$ti;return s.CastIterable_CastIterable(r.get$values(r),n._rest[1],n._rest[3])},get$length(e){var r=this._source;return r.get$length(r)},get$isEmpty(e){var r=this._source;return r.get$isEmpty(r)},get$isNotEmpty(e){var r=this._source;return r.get$isNotEmpty(r)},get$entries(e){var r=this._source;return r.get$entries(r).map$1$1(0,new s.CastMap_entries_closure(this),this.$ti._eval$1("MapEntry<3,4>"))}};s.CastMap_forEach_closure.prototype={call$2(e,r){var n=this.$this.$ti;this.f.call$2(n._rest[2]._as(e),n._rest[3]._as(r))},$signature(){return this.$this.$ti._eval$1("~(1,2)")}};s.CastMap_entries_closure.prototype={call$1(e){var r=this.$this.$ti,n=r._rest[3];return new s.MapEntry(r._rest[2]._as(e.key),n._as(e.value),r._eval$1("@<3>")._bind$1(n)._eval$1("MapEntry<1,2>"))},$signature(){return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)")}};s.LateError.prototype={toString$0(e){return"LateInitializationError: "+this._message}};s.CodeUnits.prototype={get$length(e){return this.__internal$_string.length},$index(e,r){return o.JSString_methods.codeUnitAt$1(this.__internal$_string,r)}};s.nullFuture_closure.prototype={call$0(){return s.Future_Future$value(null,$.Null)},$signature:2};s.SentinelValue.prototype={};s.EfficientLengthIterable.prototype={};s.ListIterable.prototype={get$iterator(e){return new s.ListIterator(this,this.get$length(this))},get$isEmpty(e){return this.get$length(this)===0},get$first(e){if(this.get$length(this)===0)throw s.wrapException(s.IterableElementError_noElement());return this.elementAt$1(0,0)},get$last(e){var r=this;if(r.get$length(r)===0)throw s.wrapException(s.IterableElementError_noElement());return r.elementAt$1(0,r.get$length(r)-1)},get$single(e){var r=this;if(r.get$length(r)===0)throw s.wrapException(s.IterableElementError_noElement());if(r.get$length(r)>1)throw s.wrapException(s.IterableElementError_tooMany());return r.elementAt$1(0,0)},contains$1(e,r){var n,i=this,o=i.get$length(i);for(n=0;n")._bind$1(n)._eval$1("MappedListIterable<1,2>"))},reduce$1(e,r){var n,i,a=this,o=a.get$length(a);if(o===0)throw s.wrapException(s.IterableElementError_noElement());n=a.elementAt$1(0,0);for(i=1;ia)throw s.wrapException(s.RangeError$range(o,0,a,"start",null))}},get$_endIndex(){var e=a.get$length$asx(this.__internal$_iterable),r=this._endOrLength;if(r==null||r>e)return e;return r},get$_startIndex(){var e=a.get$length$asx(this.__internal$_iterable),r=this.__internal$_start;if(r>e)return e;return r},get$length(e){var r,n=a.get$length$asx(this.__internal$_iterable),i=this.__internal$_start;if(i>=n)return 0;r=this._endOrLength;if(r==null||r>=n)return n-i;return r-i},elementAt$1(e,r){var n=this,i=n.get$_startIndex()+r;if(r<0||i>=n.get$_endIndex())throw s.wrapException(s.IndexError$(r,n,"index",null,null));return a.elementAt$1$ax(n.__internal$_iterable,i)},skip$1(e,r){var n,i,a=this;s.RangeError_checkNotNegative(r,"count");n=a.__internal$_start+r;i=a._endOrLength;if(i!=null&&n>=i)return new s.EmptyIterable(a.$ti._eval$1("EmptyIterable<1>"));return s.SubListIterable$(a.__internal$_iterable,n,i,a.$ti._precomputed1)},take$1(e,r){var n,i,a,o=this;s.RangeError_checkNotNegative(r,"count");n=o._endOrLength;i=o.__internal$_start;a=i+r;if(n==null)return s.SubListIterable$(o.__internal$_iterable,i,a,o.$ti._precomputed1);else{if(n=o){r.__internal$_current=null;return false}r.__internal$_current=i.elementAt$1(n,e);++r.__internal$_index;return true}};s.MappedIterable.prototype={get$iterator(e){return new s.MappedIterator(a.get$iterator$ax(this.__internal$_iterable),this._f)},get$length(e){return a.get$length$asx(this.__internal$_iterable)},get$isEmpty(e){return a.get$isEmpty$asx(this.__internal$_iterable)},get$first(e){return this._f.call$1(a.get$first$ax(this.__internal$_iterable))},get$last(e){return this._f.call$1(a.get$last$ax(this.__internal$_iterable))},get$single(e){return this._f.call$1(a.get$single$ax(this.__internal$_iterable))},elementAt$1(e,r){return this._f.call$1(a.elementAt$1$ax(this.__internal$_iterable,r))}};s.EfficientLengthMappedIterable.prototype={$isEfficientLengthIterable:1};s.MappedIterator.prototype={moveNext$0(){var e=this,r=e._iterator;if(r.moveNext$0()){e.__internal$_current=e._f.call$1(r.get$current(r));return true}e.__internal$_current=null;return false},get$current(e){var r=this.__internal$_current;return r==null?s._instanceType(this)._rest[1]._as(r):r}};s.MappedListIterable.prototype={get$length(e){return a.get$length$asx(this._source)},elementAt$1(e,r){return this._f.call$1(a.elementAt$1$ax(this._source,r))}};s.WhereIterable.prototype={get$iterator(e){return new s.WhereIterator(a.get$iterator$ax(this.__internal$_iterable),this._f)},map$1$1(e,r,n){return new s.MappedIterable(this,r,this.$ti._eval$1("@<1>")._bind$1(n)._eval$1("MappedIterable<1,2>"))}};s.WhereIterator.prototype={moveNext$0(){var e,r;for(e=this._iterator,r=this._f;e.moveNext$0();)if(r.call$1(e.get$current(e)))return true;return false},get$current(e){var r=this._iterator;return r.get$current(r)}};s.ExpandIterable.prototype={get$iterator(e){return new s.ExpandIterator(a.get$iterator$ax(this.__internal$_iterable),this._f,o.C_EmptyIterator)}};s.ExpandIterator.prototype={get$current(e){var r=this.__internal$_current;return r==null?s._instanceType(this)._rest[1]._as(r):r},moveNext$0(){var e,r,n=this,i=n._currentExpansion;if(i==null)return false;for(e=n._iterator,r=n._f;!i.moveNext$0();){n.__internal$_current=null;if(e.moveNext$0()){n._currentExpansion=null;i=a.get$iterator$ax(r.call$1(e.get$current(e)));n._currentExpansion=i}else return false}i=n._currentExpansion;n.__internal$_current=i.get$current(i);return true}};s.TakeIterable.prototype={get$iterator(e){return new s.TakeIterator(a.get$iterator$ax(this.__internal$_iterable),this._takeCount)}};s.EfficientLengthTakeIterable.prototype={get$length(e){var r=a.get$length$asx(this.__internal$_iterable),n=this._takeCount;if(r>n)return n;return r},$isEfficientLengthIterable:1};s.TakeIterator.prototype={moveNext$0(){if(--this._remaining>=0)return this._iterator.moveNext$0();this._remaining=-1;return false},get$current(e){var r;if(this._remaining<0){s._instanceType(this)._precomputed1._as(null);return null}r=this._iterator;return r.get$current(r)}};s.SkipIterable.prototype={skip$1(e,r){s.ArgumentError_checkNotNull(r,"count");s.RangeError_checkNotNegative(r,"count");return new s.SkipIterable(this.__internal$_iterable,this._skipCount+r,s._instanceType(this)._eval$1("SkipIterable<1>"))},get$iterator(e){return new s.SkipIterator(a.get$iterator$ax(this.__internal$_iterable),this._skipCount)}};s.EfficientLengthSkipIterable.prototype={get$length(e){var r=a.get$length$asx(this.__internal$_iterable)-this._skipCount;if(r>=0)return r;return 0},skip$1(e,r){s.ArgumentError_checkNotNull(r,"count");s.RangeError_checkNotNegative(r,"count");return new s.EfficientLengthSkipIterable(this.__internal$_iterable,this._skipCount+r,this.$ti)},$isEfficientLengthIterable:1};s.SkipIterator.prototype={moveNext$0(){var e,r;for(e=this._iterator,r=0;r"))},skip$1(e,r){s.RangeError_checkNotNegative(r,"count");return this},take$1(e,r){s.RangeError_checkNotNegative(r,"count");return this},toList$1$growable(e,r){var n=a.JSArray_JSArray$growable(0,this.$ti._precomputed1);return n},toList$0(e){return this.toList$1$growable(e,true)},toSet$0(e){return s.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1)}};s.EmptyIterator.prototype={moveNext$0(){return false},get$current(e){throw s.wrapException(s.IterableElementError_noElement())}};s.FollowedByIterable.prototype={get$iterator(e){return new s.FollowedByIterator(a.get$iterator$ax(this.__internal$_first),this._second)},get$length(e){var r=this._second;return a.get$length$asx(this.__internal$_first)+r.get$length(r)},get$isEmpty(e){var r;if(a.get$isEmpty$asx(this.__internal$_first)){r=this._second;r=r.get$isEmpty(r)}else r=false;return r},get$isNotEmpty(e){var r;if(!a.get$isNotEmpty$asx(this.__internal$_first)){r=this._second;r=r.get$isNotEmpty(r)}else r=true;return r},contains$1(e,r){return a.contains$1$asx(this.__internal$_first,r)||this._second.contains$1(0,r)},get$first(e){var r,n=a.get$iterator$ax(this.__internal$_first);if(n.moveNext$0())return n.get$current(n);r=this._second;return r.get$first(r)},get$last(e){var r,n=this._second,i=n.get$iterator(n);if(i.moveNext$0()){r=i.get$current(i);for(;i.moveNext$0();)r=i.get$current(i);return r}return a.get$last$ax(this.__internal$_first)}};s.EfficientLengthFollowedByIterable.prototype={elementAt$1(e,r){var n=this.__internal$_first,i=a.getInterceptor$asx(n),s=i.get$length(n);if(r"))}};s.WhereTypeIterator.prototype={moveNext$0(){var e,r;for(e=this._source,r=this.$ti._precomputed1;e.moveNext$0();)if(r._is(e.get$current(e)))return true;return false},get$current(e){var r=this._source;return this.$ti._precomputed1._as(r.get$current(r))}};s.FixedLengthListMixin.prototype={set$length(e,r){throw s.wrapException(s.UnsupportedError$("Cannot change the length of a fixed-length list"))},add$1(e,r){throw s.wrapException(s.UnsupportedError$("Cannot add to a fixed-length list"))}};s.UnmodifiableListMixin.prototype={$indexSet(e,r,n){throw s.wrapException(s.UnsupportedError$("Cannot modify an unmodifiable list"))},set$length(e,r){throw s.wrapException(s.UnsupportedError$("Cannot change the length of an unmodifiable list"))},add$1(e,r){throw s.wrapException(s.UnsupportedError$("Cannot add to an unmodifiable list"))},sort$1(e,r){throw s.wrapException(s.UnsupportedError$("Cannot modify an unmodifiable list"))},setRange$4(e,r,n,i,a){throw s.wrapException(s.UnsupportedError$("Cannot modify an unmodifiable list"))},fillRange$3(e,r,n,i){throw s.wrapException(s.UnsupportedError$("Cannot modify an unmodifiable list"))}};s.UnmodifiableListBase.prototype={};s.ReversedListIterable.prototype={get$length(e){return a.get$length$asx(this._source)},elementAt$1(e,r){var n=this._source,i=a.getInterceptor$asx(n);return i.elementAt$1(n,i.get$length(n)-1-r)}};s.Symbol.prototype={get$hashCode(e){var r=this._hashCode;if(r!=null)return r;r=664597*a.get$hashCode$(this.__internal$_name)&536870911;this._hashCode=r;return r},toString$0(e){return'Symbol("'+s.S(this.__internal$_name)+'")'},$eq(e,r){if(r==null)return false;return r instanceof s.Symbol&&this.__internal$_name==r.__internal$_name},$isSymbol0:1};s.__CastListBase__CastIterableBase_ListMixin.prototype={};s.ConstantMapView.prototype={};s.ConstantMap.prototype={cast$2$0(e,r,n){var i=s._instanceType(this);return s.Map_castFrom(this,i._precomputed1,i._rest[1],r,n)},get$isEmpty(e){return this.get$length(this)===0},get$isNotEmpty(e){return this.get$length(this)!==0},toString$0(e){return s.MapBase_mapToString(this)},$indexSet(e,r,n){s.ConstantMap__throwUnmodifiable()},remove$1(e,r){s.ConstantMap__throwUnmodifiable()},addAll$1(e,r){s.ConstantMap__throwUnmodifiable()},get$entries(e){return this.entries$body$ConstantMap(0,s._instanceType(this)._eval$1("MapEntry<1,2>"))},entries$body$ConstantMap(e,r){var n=this;return s._makeSyncStarIterable((function(){var r=e;var i=0,a=1,o,l,u,_;return function $async$get$entries(e,r){if(e===1){o=r;i=a}while(true)switch(i){case 0:l=n.get$keys(n),l=l.get$iterator(l),u=s._instanceType(n),u=u._eval$1("@<1>")._bind$1(u._rest[1])._eval$1("MapEntry<1,2>");case 2:if(!l.moveNext$0()){i=3;break}_=l.get$current(l);i=4;return new s.MapEntry(_,n.$index(0,_),u);case 4:i=2;break;case 3:return s._IterationMarker_endOfIteration();case 1:return s._IterationMarker_uncaughtError(o)}}}),r)},$isMap:1};s.ConstantStringMap.prototype={get$length(e){return this.__js_helper$_length},containsKey$1(e){if(typeof e!="string")return false;if("__proto__"===e)return false;return this._jsObject.hasOwnProperty(e)},$index(e,r){if(!this.containsKey$1(r))return null;return this._jsObject[r]},forEach$1(e,r){var n,i,s,a,o=this.__js_helper$_keys;for(n=o.length,i=this._jsObject,s=0;s"))},get$values(e){var r=this.$ti;return s.MappedIterable_MappedIterable(this.__js_helper$_keys,new s.ConstantStringMap_values_closure(this),r._precomputed1,r._rest[1])}};s.ConstantStringMap_values_closure.prototype={call$1(e){return this.$this._jsObject[e]},$signature(){return this.$this.$ti._eval$1("2(1)")}};s._ConstantMapKeyIterable.prototype={get$iterator(e){var r=this.__js_helper$_map.__js_helper$_keys;return new a.ArrayIterator(r,r.length)},get$length(e){return this.__js_helper$_map.__js_helper$_keys.length}};s.GeneralConstantMap.prototype={_getMap$0(){var e,r,n,i=this,a=i.$map;if(a==null){e=i.$ti;r=e._precomputed1;n=s.GeneralConstantMap__typeTest(r);a=s.LinkedHashMap_LinkedHashMap(null,s._js_helper_GeneralConstantMap__constantMapHashCode$closure(),n,r,e._rest[1]);s.fillLiteralMap(i._jsData,a);i.$map=a}return a},containsKey$1(e){return this._getMap$0().containsKey$1(e)},$index(e,r){return this._getMap$0().$index(0,r)},forEach$1(e,r){this._getMap$0().forEach$1(0,r)},get$keys(e){var r=this._getMap$0();return new s.LinkedHashMapKeyIterable(r,s._instanceType(r)._eval$1("LinkedHashMapKeyIterable<1>"))},get$values(e){var r=this._getMap$0();return r.get$values(r)},get$length(e){return this._getMap$0().__js_helper$_length}};s.GeneralConstantMap__typeTest_closure.prototype={call$1(e){return this.T._is(e)},$signature:9};s.Instantiation.prototype={Instantiation$1(e){if(false){}},$eq(e,r){if(r==null)return false;return r instanceof s.Instantiation&&this._genericClosure.$eq(0,r._genericClosure)&&s.getRuntimeType(this)===s.getRuntimeType(r)},get$hashCode(e){return s.Object_hash(this._genericClosure,s.getRuntimeType(this),o.C_SentinelValue)},toString$0(e){var r=o.JSArray_methods.join$1(this.get$_types(),", ");return this._genericClosure.toString$0(0)+" with "+("<"+r+">")}};s.Instantiation1.prototype={get$_types(){return[s.createRuntimeType(this.$ti._precomputed1)]},call$0(){return this._genericClosure.call$1$0(this.$ti._rest[0])},call$2(e,r){return this._genericClosure.call$1$2(e,r,this.$ti._rest[0])},call$3(e,r,n){return this._genericClosure.call$1$3(e,r,n,this.$ti._rest[0])},call$4(e,r,n,i){return this._genericClosure.call$1$4(e,r,n,i,this.$ti._rest[0])},$signature(){return s.instantiatedGenericFunctionType(s.closureFunctionType(this._genericClosure),this.$ti)}};s.JSInvocationMirror.prototype={get$memberName(){var e=this.__js_helper$_memberName;return e},get$positionalArguments(){var e,r,n,i,s=this;if(s.__js_helper$_kind===1)return o.List_empty11;e=s._arguments;r=e.length-s._namedArgumentNames.length-s._typeArgumentCount;if(r===0)return o.List_empty11;n=[];for(i=0;i>>0},toString$0(e){return"Closure '"+this.$_name+"' of "+("Instance of '"+s.Primitives_objectTypeName(this._receiver)+"'")}};s.RuntimeError.prototype={toString$0(e){return"RuntimeError: "+this.message},get$message(e){return this.message}};s._Required.prototype={};s.JsLinkedHashMap.prototype={get$length(e){return this.__js_helper$_length},get$isEmpty(e){return this.__js_helper$_length===0},get$isNotEmpty(e){return this.__js_helper$_length!==0},get$keys(e){return new s.LinkedHashMapKeyIterable(this,s._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"))},get$values(e){var r=s._instanceType(this);return s.MappedIterable_MappedIterable(new s.LinkedHashMapKeyIterable(this,r._eval$1("LinkedHashMapKeyIterable<1>")),new s.JsLinkedHashMap_values_closure(this),r._precomputed1,r._rest[1])},containsKey$1(e){var r,n;if(typeof e=="string"){r=this._strings;if(r==null)return false;return r[e]!=null}else if(typeof e=="number"&&(e&1073741823)===e){n=this._nums;if(n==null)return false;return n[e]!=null}else return this.internalContainsKey$1(e)},internalContainsKey$1(e){var r=this.__js_helper$_rest;if(r==null)return false;return this.internalFindBucketIndex$2(r[this.internalComputeHashCode$1(e)],e)>=0},addAll$1(e,r){r.forEach$1(0,new s.JsLinkedHashMap_addAll_closure(this))},$index(e,r){var n,i,s,a,o=null;if(typeof r=="string"){n=this._strings;if(n==null)return o;i=n[r];s=i==null?o:i.hashMapCellValue;return s}else if(typeof r=="number"&&(r&1073741823)===r){a=this._nums;if(a==null)return o;i=a[r];s=i==null?o:i.hashMapCellValue;return s}else return this.internalGet$1(r)},internalGet$1(e){var r,n,i=this.__js_helper$_rest;if(i==null)return null;r=i[this.internalComputeHashCode$1(e)];n=this.internalFindBucketIndex$2(r,e);if(n<0)return null;return r[n].hashMapCellValue},$indexSet(e,r,n){var i,s,a=this;if(typeof r=="string"){i=a._strings;a._addHashTableEntry$3(i==null?a._strings=a._newHashTable$0():i,r,n)}else if(typeof r=="number"&&(r&1073741823)===r){s=a._nums;a._addHashTableEntry$3(s==null?a._nums=a._newHashTable$0():s,r,n)}else a.internalSet$2(r,n)},internalSet$2(e,r){var n,i,s,a=this,o=a.__js_helper$_rest;if(o==null)o=a.__js_helper$_rest=a._newHashTable$0();n=a.internalComputeHashCode$1(e);i=o[n];if(i==null)o[n]=[a._newLinkedCell$2(e,r)];else{s=a.internalFindBucketIndex$2(i,e);if(s>=0)i[s].hashMapCellValue=r;else i.push(a._newLinkedCell$2(e,r))}},putIfAbsent$2(e,r){var n,i,a=this;if(a.containsKey$1(e)){n=a.$index(0,e);return n==null?s._instanceType(a)._rest[1]._as(n):n}i=r.call$0();a.$indexSet(0,e,i);return i},remove$1(e,r){var n=this;if(typeof r=="string")return n.__js_helper$_removeHashTableEntry$2(n._strings,r);else if(typeof r=="number"&&(r&1073741823)===r)return n.__js_helper$_removeHashTableEntry$2(n._nums,r);else return n.internalRemove$1(r)},internalRemove$1(e){var r,n,i,s,a=this,o=a.__js_helper$_rest;if(o==null)return null;r=a.internalComputeHashCode$1(e);n=o[r];i=a.internalFindBucketIndex$2(n,e);if(i<0)return null;s=n.splice(i,1)[0];a.__js_helper$_unlinkCell$1(s);if(n.length===0)delete o[r];return s.hashMapCellValue},clear$0(e){var r=this;if(r.__js_helper$_length>0){r._strings=r._nums=r.__js_helper$_rest=r._first=r._last=null;r.__js_helper$_length=0;r._modified$0()}},forEach$1(e,r){var n=this,i=n._first,a=n._modifications;for(;i!=null;){r.call$2(i.hashMapCellKey,i.hashMapCellValue);if(a!==n._modifications)throw s.wrapException(s.ConcurrentModificationError$(n));i=i._next}},_addHashTableEntry$3(e,r,n){var i=e[r];if(i==null)e[r]=this._newLinkedCell$2(r,n);else i.hashMapCellValue=n},__js_helper$_removeHashTableEntry$2(e,r){var n;if(e==null)return null;n=e[r];if(n==null)return null;this.__js_helper$_unlinkCell$1(n);delete e[r];return n.hashMapCellValue},_modified$0(){this._modifications=this._modifications+1&1073741823},_newLinkedCell$2(e,r){var n,i=this,a=new s.LinkedHashMapCell(e,r);if(i._first==null)i._first=i._last=a;else{n=i._last;n.toString;a._previous=n;i._last=n._next=a}++i.__js_helper$_length;i._modified$0();return a},__js_helper$_unlinkCell$1(e){var r=this,n=e._previous,i=e._next;if(n==null)r._first=i;else n._next=i;if(i==null)r._last=n;else i._previous=n;--r.__js_helper$_length;r._modified$0()},internalComputeHashCode$1(e){return a.get$hashCode$(e)&1073741823},internalFindBucketIndex$2(e,r){var n,i;if(e==null)return-1;n=e.length;for(i=0;i"]=e;delete e[""];return e}};s.JsLinkedHashMap_values_closure.prototype={call$1(e){var r=this.$this,n=r.$index(0,e);return n==null?s._instanceType(r)._rest[1]._as(n):n},$signature(){return s._instanceType(this.$this)._eval$1("2(1)")}};s.JsLinkedHashMap_addAll_closure.prototype={call$2(e,r){this.$this.$indexSet(0,e,r)},$signature(){return s._instanceType(this.$this)._eval$1("~(1,2)")}};s.LinkedHashMapCell.prototype={};s.LinkedHashMapKeyIterable.prototype={get$length(e){return this.__js_helper$_map.__js_helper$_length},get$isEmpty(e){return this.__js_helper$_map.__js_helper$_length===0},get$iterator(e){var r=this.__js_helper$_map,n=new s.LinkedHashMapKeyIterator(r,r._modifications);n._cell=r._first;return n},contains$1(e,r){return this.__js_helper$_map.containsKey$1(r)}};s.LinkedHashMapKeyIterator.prototype={get$current(e){return this.__js_helper$_current},moveNext$0(){var e,r=this,n=r.__js_helper$_map;if(r._modifications!==n._modifications)throw s.wrapException(s.ConcurrentModificationError$(n));e=r._cell;if(e==null){r.__js_helper$_current=null;return false}else{r.__js_helper$_current=e.hashMapCellKey;r._cell=e._next;return true}}};s.initHooks_closure.prototype={call$1(e){return this.getTag(e)},$signature:80};s.initHooks_closure0.prototype={call$2(e,r){return this.getUnknownTag(e,r)},$signature:349};s.initHooks_closure1.prototype={call$1(e){return this.prototypeForTag(e)},$signature:292};s.JSSyntaxRegExp.prototype={toString$0(e){return"RegExp/"+this.pattern+"/"+this._nativeRegExp.flags},get$_nativeGlobalVersion(){var e=this,r=e._nativeGlobalRegExp;if(r!=null)return r;r=e._nativeRegExp;return e._nativeGlobalRegExp=s.JSSyntaxRegExp_makeNative(e.pattern,r.multiline,!r.ignoreCase,r.unicode,r.dotAll,true)},get$_nativeAnchoredVersion(){var e=this,r=e._nativeAnchoredRegExp;if(r!=null)return r;r=e._nativeRegExp;return e._nativeAnchoredRegExp=s.JSSyntaxRegExp_makeNative(e.pattern+"|()",r.multiline,!r.ignoreCase,r.unicode,r.dotAll,true)},firstMatch$1(e){var r=this._nativeRegExp.exec(e);if(r==null)return null;return new s._MatchImplementation(r)},allMatches$2(e,r,n){var i=r.length;if(n>i)throw s.wrapException(s.RangeError$range(n,0,i,null,null));return new s._AllMatchesIterable(this,r,n)},allMatches$1(e,r){return this.allMatches$2(e,r,0)},_execGlobal$2(e,r){var n,i=this.get$_nativeGlobalVersion();i.lastIndex=r;n=i.exec(e);if(n==null)return null;return new s._MatchImplementation(n)},_execAnchored$2(e,r){var n,i=this.get$_nativeAnchoredVersion();i.lastIndex=r;n=i.exec(e);if(n==null)return null;if(n.pop()!=null)return null;return new s._MatchImplementation(n)},matchAsPrefix$2(e,r,n){if(n<0||n>r.length)throw s.wrapException(s.RangeError$range(n,0,r.length,null,null));return this._execAnchored$2(r,n)}};s._MatchImplementation.prototype={get$start(e){return this._match.index},get$end(e){var r=this._match;return r.index+r[0].length},$isMatch:1,$isRegExpMatch:1};s._AllMatchesIterable.prototype={get$iterator(e){return new s._AllMatchesIterator(this._re,this._string,this._start)}};s._AllMatchesIterator.prototype={get$current(e){var r=this.__js_helper$_current;return r==null?$.RegExpMatch._as(r):r},moveNext$0(){var e,r,n,i,s,a=this,l=a._string;if(l==null)return false;e=a._nextIndex;r=l.length;if(e<=r){n=a._regExp;i=n._execGlobal$2(l,e);if(i!=null){a.__js_helper$_current=i;s=i.get$end(i);if(i._match.index===s){if(n._nativeRegExp.unicode){e=a._nextIndex;n=e+1;if(n=55296&&e<=56319){e=o.JSString_methods.codeUnitAt$1(l,n);e=e>=56320&&e<=57343}else e=false}else e=false}else e=false;s=(e?s+1:s)+1}a._nextIndex=s;return true}}a._string=a.__js_helper$_current=null;return false}};s.StringMatch.prototype={get$end(e){return this.start+this.pattern.length},$isMatch:1,get$start(e){return this.start}};s._StringAllMatchesIterable.prototype={get$iterator(e){return new s._StringAllMatchesIterator(this._input,this._pattern,this.__js_helper$_index)},get$first(e){var r=this._pattern,n=this._input.indexOf(r,this.__js_helper$_index);if(n>=0)return new s.StringMatch(n,r);throw s.wrapException(s.IterableElementError_noElement())}};s._StringAllMatchesIterator.prototype={moveNext$0(){var e,r,n=this,i=n.__js_helper$_index,a=n._pattern,o=a.length,l=n._input,u=l.length;if(i+o>u){n.__js_helper$_current=null;return false}e=l.indexOf(a,i);if(e<0){n.__js_helper$_index=u+1;n.__js_helper$_current=null;return false}r=e+o;n.__js_helper$_current=new s.StringMatch(e,a);n.__js_helper$_index=r===n.__js_helper$_index?r+1:r;return true},get$current(e){var r=this.__js_helper$_current;r.toString;return r}};s._Cell.prototype={_readLocal$0(){var e=this._value;if(e===this)throw s.wrapException(new s.LateError("Local '"+this.__late_helper$_name+"' has not been initialized."));return e}};s.NativeTypedData.prototype={_invalidPosition$3(e,r,n,i){var a=s.RangeError$range(r,0,n,i,null);throw s.wrapException(a)},_checkPosition$3(e,r,n,i){if(r>>>0!==r||r>n)this._invalidPosition$3(e,r,n,i)}};s.NativeTypedArray.prototype={get$length(e){return e.length},_setRangeFast$4(e,r,n,i,a){var o,l,u=e.length;this._checkPosition$3(e,r,u,"start");this._checkPosition$3(e,n,u,"end");if(r>n)throw s.wrapException(s.RangeError$range(r,0,n,null,null));o=n-r;if(a<0)throw s.wrapException(s.ArgumentError$(a,null));l=i.length;if(l-a0){e=Date.now()-r.start;if(e>(i+1)*s)i=o.JSInt_methods.$tdiv(e,s)}n._tick=i;r.callback.call$1(n)},$signature:1};s._AsyncAwaitCompleter.prototype={complete$1(e){var r,n=this;if(e==null)n.$ti._precomputed1._as(e);if(!n.isSync)n._future._asyncComplete$1(e);else{r=n._future;if(n.$ti._eval$1("Future<1>")._is(e))r._chainFuture$1(e);else r._completeWithValue$1(e)}},completeError$2(e,r){var n=this._future;if(this.isSync)n._completeError$2(e,r);else n._asyncCompleteError$2(e,r)}};s._awaitOnObject_closure.prototype={call$1(e){return this.bodyFunction.call$2(0,e)},$signature:123};s._awaitOnObject_closure0.prototype={call$2(e,r){this.bodyFunction.call$2(1,new s.ExceptionAndStackTrace(e,r))},$signature:400};s._wrapJsFunctionForAsync_closure.prototype={call$2(e,r){this.$protected(e,r)},$signature:351};s._IterationMarker.prototype={toString$0(e){return"IterationMarker("+this.state+", "+s.S(this.value)+")"}};s._SyncStarIterator.prototype={get$current(e){var r=this._nestedIterator;if(r==null)return this._async$_current;return r.get$current(r)},moveNext$0(){var e,r,n,i,o,l=this;for(;true;){e=l._nestedIterator;if(e!=null)if(e.moveNext$0())return true;else l._nestedIterator=null;r=function(e,r,n){var i,s=r;while(true)try{return e(s,i)}catch(e){i=e;s=n}}(l._body,0,1);if(r instanceof s._IterationMarker){n=r.state;if(n===2){i=l._suspendedBodies;if(i==null||i.length===0){l._async$_current=null;return false}l._body=i.pop();continue}else{e=r.value;if(n===3)throw e;else{o=a.get$iterator$ax(e);if(o instanceof s._SyncStarIterator){e=l._suspendedBodies;if(e==null)e=l._suspendedBodies=[];e.push(l._body);l._body=o._body;continue}else{l._nestedIterator=o;continue}}}}else{l._async$_current=r;return true}}return false}};s._SyncStarIterable.prototype={get$iterator(e){return new s._SyncStarIterator(this._outerHelper())}};s.AsyncError.prototype={toString$0(e){return s.S(this.error)},$isError:1,get$stackTrace(){return this.stackTrace}};s.Future_wait_handleError.prototype={call$2(e,r){var n=this,i=n._box_0,s=--i.remaining;if(i.values!=null){i.values=null;if(i.remaining===0||n.eagerError)n._future._completeError$2(e,r);else{n.error._value=e;n.stackTrace._value=r}}else if(s===0&&!n.eagerError)n._future._completeError$2(n.error._readLocal$0(),n.stackTrace._readLocal$0())},$signature:75};s.Future_wait_closure.prototype={call$1(e){var r,n=this,i=n._box_0;--i.remaining;r=i.values;if(r!=null){a.$indexSet$ax(r,n.pos,e);if(i.remaining===0)n._future._completeWithValue$1(s.List_List$from(r,true,n.T))}else if(i.remaining===0&&!n.eagerError)n._future._completeError$2(n.error._readLocal$0(),n.stackTrace._readLocal$0())},$signature(){return this.T._eval$1("Null(0)")}};s._Completer.prototype={completeError$2(e,r){var n;s.checkNotNullable(e,"error",$.Object);if((this.future._state&30)!==0)throw s.wrapException(s.StateError$("Future already completed"));n=u.Zone__current.errorCallback$2(e,r);if(n!=null){e=n.error;r=n.stackTrace}else if(r==null)r=s.AsyncError_defaultStackTrace(e);this._completeError$2(e,r)},completeError$1(e){return this.completeError$2(e,null)}};s._AsyncCompleter.prototype={complete$1(e){var r=this.future;if((r._state&30)!==0)throw s.wrapException(s.StateError$("Future already completed"));r._asyncComplete$1(e)},complete$0(){return this.complete$1(null)},_completeError$2(e,r){this.future._asyncCompleteError$2(e,r)}};s._SyncCompleter.prototype={complete$1(e){var r=this.future;if((r._state&30)!==0)throw s.wrapException(s.StateError$("Future already completed"));r._complete$1(e)},_completeError$2(e,r){this.future._completeError$2(e,r)}};s._FutureListener.prototype={matchesErrorTest$1(e){if((this.state&15)!==6)return true;return this.result._zone.runUnary$2$2(this.callback,e.error,$.bool,$.Object)},handleError$1(e){var r,n=this.errorCallback,i=null,a=$.dynamic,o=$.Object,l=e.error,u=this.result._zone;if($.dynamic_Function_Object_StackTrace._is(n))i=u.runBinary$3$3(n,l,e.stackTrace,a,o,$.StackTrace);else i=u.runUnary$2$2(n,l,a,o);try{a=i;return a}catch(r){if($.TypeError._is(s.unwrapException(r))){if((this.state&1)!==0)throw s.wrapException(s.ArgumentError$("The error handler of Future.then must return a value of the returned future's type","onError"));throw s.wrapException(s.ArgumentError$("The error handler of Future.catchError must return a value of the future's type","onError"))}else throw r}}};s._Future.prototype={then$1$2$onError(e,r,n,i){var a,l,_=u.Zone__current;if(_===o.C__RootZone){if(n!=null&&!$.dynamic_Function_Object_StackTrace._is(n)&&!$.dynamic_Function_Object._is(n))throw s.wrapException(s.ArgumentError$value(n,"onError",c.Error_))}else{r=_.registerUnaryCallback$2$1(r,i._eval$1("0/"),this.$ti._precomputed1);if(n!=null)n=s._registerErrorHandler(n,_)}a=new s._Future(u.Zone__current,i._eval$1("_Future<0>"));l=n==null?1:3;this._addListener$1(new s._FutureListener(a,l,r,n,this.$ti._eval$1("@<1>")._bind$1(i)._eval$1("_FutureListener<1,2>")));return a},then$1$1(e,r,n){return this.then$1$2$onError(e,r,null,n)},_thenAwait$1$2(e,r,n){var i=new s._Future(u.Zone__current,n._eval$1("_Future<0>"));this._addListener$1(new s._FutureListener(i,3,e,r,this.$ti._eval$1("@<1>")._bind$1(n)._eval$1("_FutureListener<1,2>")));return i},whenComplete$1(e){var r=this.$ti,n=u.Zone__current,i=new s._Future(n,r);if(n!==o.C__RootZone)e=n.registerCallback$1$1(e,$.dynamic);this._addListener$1(new s._FutureListener(i,8,e,null,r._eval$1("@<1>")._bind$1(r._precomputed1)._eval$1("_FutureListener<1,2>")));return i},_setErrorObject$1(e){this._state=this._state&1|16;this._resultOrListeners=e},_cloneResult$1(e){this._state=e._state&30|this._state&1;this._resultOrListeners=e._resultOrListeners},_addListener$1(e){var r=this,n=r._state;if(n<=3){e._nextListener=r._resultOrListeners;r._resultOrListeners=e}else{if((n&4)!==0){n=r._resultOrListeners;if((n._state&24)===0){n._addListener$1(e);return}r._cloneResult$1(n)}r._zone.scheduleMicrotask$1(new s._Future__addListener_closure(r,e))}},_prependListeners$1(e){var r,n,i,a,o,l=this,u={};u.listeners=e;if(e==null)return;r=l._state;if(r<=3){n=l._resultOrListeners;l._resultOrListeners=e;if(n!=null){i=e._nextListener;for(a=e;i!=null;a=i,i=o)o=i._nextListener;a._nextListener=n}}else{if((r&4)!==0){r=l._resultOrListeners;if((r._state&24)===0){r._prependListeners$1(e);return}l._cloneResult$1(r)}u.listeners=l._reverseListeners$1(e);l._zone.scheduleMicrotask$1(new s._Future__prependListeners_closure(u,l))}},_removeListeners$0(){var e=this._resultOrListeners;this._resultOrListeners=null;return this._reverseListeners$1(e)},_reverseListeners$1(e){var r,n,i;for(r=e,n=null;r!=null;n=r,r=i){i=r._nextListener;r._nextListener=n}return n},_chainForeignFuture$1(e){var r,n,i,a=this;a._state^=2;try{e.then$1$2$onError(0,new s._Future__chainForeignFuture_closure(a),new s._Future__chainForeignFuture_closure0(a),$.Null)}catch(i){r=s.unwrapException(i);n=s.getTraceFromException(i);s.scheduleMicrotask(new s._Future__chainForeignFuture_closure1(a,r,n))}},_complete$1(e){var r,n=this,i=n.$ti;if(i._eval$1("Future<1>")._is(e))if(i._is(e))s._Future__chainCoreFuture(e,n);else n._chainForeignFuture$1(e);else{r=n._removeListeners$0();n._state=8;n._resultOrListeners=e;s._Future__propagateToListeners(n,r)}},_completeWithValue$1(e){var r=this,n=r._removeListeners$0();r._state=8;r._resultOrListeners=e;s._Future__propagateToListeners(r,n)},_completeError$2(e,r){var n=this._removeListeners$0();this._setErrorObject$1(s.AsyncError$(e,r));s._Future__propagateToListeners(this,n)},_asyncComplete$1(e){if(this.$ti._eval$1("Future<1>")._is(e)){this._chainFuture$1(e);return}this._asyncCompleteWithValue$1(e)},_asyncCompleteWithValue$1(e){this._state^=2;this._zone.scheduleMicrotask$1(new s._Future__asyncCompleteWithValue_closure(this,e))},_chainFuture$1(e){var r=this;if(r.$ti._is(e)){if((e._state&16)!==0){r._state^=2;r._zone.scheduleMicrotask$1(new s._Future__chainFuture_closure(r,e))}else s._Future__chainCoreFuture(e,r);return}r._chainForeignFuture$1(e)},_asyncCompleteError$2(e,r){this._state^=2;this._zone.scheduleMicrotask$1(new s._Future__asyncCompleteError_closure(this,e,r))},$isFuture:1};s._Future__addListener_closure.prototype={call$0(){s._Future__propagateToListeners(this.$this,this.listener)},$signature:0};s._Future__prependListeners_closure.prototype={call$0(){s._Future__propagateToListeners(this.$this,this._box_0.listeners)},$signature:0};s._Future__chainForeignFuture_closure.prototype={call$1(e){var r,n,i,a=this.$this;a._state^=2;try{a._completeWithValue$1(a.$ti._precomputed1._as(e))}catch(i){r=s.unwrapException(i);n=s.getTraceFromException(i);a._completeError$2(r,n)}},$signature:61};s._Future__chainForeignFuture_closure0.prototype={call$2(e,r){this.$this._completeError$2(e,r)},$signature:72};s._Future__chainForeignFuture_closure1.prototype={call$0(){this.$this._completeError$2(this.e,this.s)},$signature:0};s._Future__asyncCompleteWithValue_closure.prototype={call$0(){this.$this._completeWithValue$1(this.value)},$signature:0};s._Future__chainFuture_closure.prototype={call$0(){s._Future__chainCoreFuture(this.value,this.$this)},$signature:0};s._Future__asyncCompleteError_closure.prototype={call$0(){this.$this._completeError$2(this.error,this.stackTrace)},$signature:0};s._Future__propagateToListeners_handleWhenCompleteCallback.prototype={call$0(){var e,r,n,i,o,l,u=this,_=null;try{n=u._box_0.listener;_=n.result._zone.run$1$1(0,n.callback,$.dynamic)}catch(i){e=s.unwrapException(i);r=s.getTraceFromException(i);n=u.hasError&&u._box_1.source._resultOrListeners.error===e;o=u._box_0;if(n)o.listenerValueOrError=u._box_1.source._resultOrListeners;else o.listenerValueOrError=s.AsyncError$(e,r);o.listenerHasError=true;return}if(_ instanceof s._Future&&(_._state&24)!==0){if((_._state&16)!==0){n=u._box_0;n.listenerValueOrError=_._resultOrListeners;n.listenerHasError=true}return}if($.Future_dynamic._is(_)){l=u._box_1.source;n=u._box_0;n.listenerValueOrError=a.then$1$1$x(_,new s._Future__propagateToListeners_handleWhenCompleteCallback_closure(l),$.dynamic);n.listenerHasError=false}},$signature:0};s._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype={call$1(e){return this.originalSource},$signature:363};s._Future__propagateToListeners_handleValueCallback.prototype={call$0(){var e,r,n,i,a,o;try{n=this._box_0;i=n.listener;a=i.$ti;n.listenerValueOrError=i.result._zone.runUnary$2$2(i.callback,this.sourceResult,a._eval$1("2/"),a._precomputed1)}catch(o){e=s.unwrapException(o);r=s.getTraceFromException(o);n=this._box_0;n.listenerValueOrError=s.AsyncError$(e,r);n.listenerHasError=true}},$signature:0};s._Future__propagateToListeners_handleError.prototype={call$0(){var e,r,n,i,a,o,l=this;try{e=l._box_1.source._resultOrListeners;i=l._box_0;if(i.listener.matchesErrorTest$1(e)&&i.listener.errorCallback!=null){i.listenerValueOrError=i.listener.handleError$1(e);i.listenerHasError=false}}catch(a){r=s.unwrapException(a);n=s.getTraceFromException(a);i=l._box_1.source._resultOrListeners;o=l._box_0;if(i.error===r)o.listenerValueOrError=i;else o.listenerValueOrError=s.AsyncError$(r,n);o.listenerHasError=true}},$signature:0};s._AsyncCallbackEntry.prototype={};s.Stream.prototype={get$isBroadcast(){return false},get$length(e){var r={},n=new s._Future(u.Zone__current,$._Future_int);r.count=0;this.listen$4$cancelOnError$onDone$onError(0,new s.Stream_length_closure(r,this),true,new s.Stream_length_closure0(r,n),n.get$_completeError());return n}};s.Stream_Stream$fromFuture_closure.prototype={call$1(e){var r=this.controller;r._async$_add$1(e);r._closeUnchecked$0()},$signature(){return this.T._eval$1("Null(0)")}};s.Stream_Stream$fromFuture_closure0.prototype={call$2(e,r){var n=this.controller;n._addError$2(e,r);n._closeUnchecked$0()},$signature:404};s.Stream_length_closure.prototype={call$1(e){++this._box_0.count},$signature(){return s._instanceType(this.$this)._eval$1("~(Stream.T)")}};s.Stream_length_closure0.prototype={call$0(){this.future._complete$1(this._box_0.count)},$signature:0};s.StreamTransformerBase.prototype={};s._StreamController.prototype={get$stream(){return new s._ControllerStream(this,s._instanceType(this)._eval$1("_ControllerStream<1>"))},get$_pendingEvents(){if((this._state&8)===0)return this._varData;return this._varData.varData},_ensurePendingEvents$0(){var e,r,n=this;if((n._state&8)===0){e=n._varData;return e==null?n._varData=new s._StreamImplEvents:e}r=n._varData;e=r.varData;return e==null?r.varData=new s._StreamImplEvents:e},get$_subscription(){var e=this._varData;return(this._state&8)!==0?e.varData:e},_badEventState$0(){if((this._state&4)!==0)return new s.StateError("Cannot add event after closing");return new s.StateError("Cannot add event while adding a stream")},addStream$2$cancelOnError(e,r){var n,i,a,o=this,l=o._state;if(l>=4)throw s.wrapException(o._badEventState$0());if((l&2)!==0){l=new s._Future(u.Zone__current,$._Future_dynamic);l._asyncComplete$1(null);return l}l=o._varData;n=new s._Future(u.Zone__current,$._Future_dynamic);i=e.listen$4$cancelOnError$onDone$onError(0,o.get$_async$_add(),false,o.get$_close(),o.get$_addError());a=o._state;if((a&1)!==0?(o.get$_subscription()._state&4)!==0:(a&2)===0)i.pause$0(0);o._varData=new s._StreamControllerAddStreamState(l,n,i);o._state|=8;return n},_ensureDoneFuture$0(){var e=this._doneFuture;if(e==null)e=this._doneFuture=(this._state&2)!==0?u.$get$Future__nullFuture():new s._Future(u.Zone__current,$._Future_void);return e},add$1(e,r){if(this._state>=4)throw s.wrapException(this._badEventState$0());this._async$_add$1(r)},addError$2(e,r){var n;s.checkNotNullable(e,"error",$.Object);if(this._state>=4)throw s.wrapException(this._badEventState$0());n=u.Zone__current.errorCallback$2(e,r);if(n!=null){e=n.error;r=n.stackTrace}else if(r==null)r=s.AsyncError_defaultStackTrace(e);this._addError$2(e,r)},addError$1(e){return this.addError$2(e,null)},close$0(e){var r=this,n=r._state;if((n&4)!==0)return r._ensureDoneFuture$0();if(n>=4)throw s.wrapException(r._badEventState$0());r._closeUnchecked$0();return r._ensureDoneFuture$0()},_closeUnchecked$0(){var e=this._state|=4;if((e&1)!==0)this._sendDone$0();else if((e&3)===0)this._ensurePendingEvents$0().add$1(0,o.C__DelayedDone)},_async$_add$1(e){var r=this._state;if((r&1)!==0)this._sendData$1(e);else if((r&3)===0)this._ensurePendingEvents$0().add$1(0,new s._DelayedData(e))},_addError$2(e,r){var n=this._state;if((n&1)!==0)this._sendError$2(e,r);else if((n&3)===0)this._ensurePendingEvents$0().add$1(0,new s._DelayedError(e,r))},_close$0(){var e=this._varData;this._varData=e.varData;this._state&=4294967287;e.addStreamFuture._asyncComplete$1(null)},_subscribe$4(e,r,n,i){var a,o,l,u,_=this;if((_._state&3)!==0)throw s.wrapException(s.StateError$("Stream has already been listened to."));a=s._ControllerSubscription$(_,e,r,n,i,s._instanceType(_)._precomputed1);o=_.get$_pendingEvents();l=_._state|=1;if((l&8)!==0){u=_._varData;u.varData=a;u.addSubscription.resume$0(0)}else _._varData=a;a._setPendingEvents$1(o);a._guardCallback$1(new s._StreamController__subscribe_closure(_));return a},_recordCancel$1(e){var r,n,i,a,o,l,_,c=this,p=null;if((c._state&8)!==0)p=c._varData.cancel$0();c._varData=null;c._state=c._state&4294967286|2;r=c.onCancel;if(r!=null)if(p==null)try{n=r.call$0();if($.Future_void._is(n))p=n}catch(o){i=s.unwrapException(o);a=s.getTraceFromException(o);l=new s._Future(u.Zone__current,$._Future_void);l._asyncCompleteError$2(i,a);p=l}else p=p.whenComplete$1(r);_=new s._StreamController__recordCancel_complete(c);if(p!=null)p=p.whenComplete$1(_);else _.call$0();return p},_recordPause$1(e){if((this._state&8)!==0)this._varData.addSubscription.pause$0(0);s._runGuarded(this.onPause)},_recordResume$1(e){if((this._state&8)!==0)this._varData.addSubscription.resume$0(0);s._runGuarded(this.onResume)},$isEventSink:1,set$onPause(e){return this.onPause=e},set$onResume(e){return this.onResume=e},set$onCancel(e){return this.onCancel=e}};s._StreamController__subscribe_closure.prototype={call$0(){s._runGuarded(this.$this.onListen)},$signature:0};s._StreamController__recordCancel_complete.prototype={call$0(){var e=this.$this._doneFuture;if(e!=null&&(e._state&30)===0)e._asyncComplete$1(null)},$signature:0};s._SyncStreamControllerDispatch.prototype={_sendData$1(e){this.get$_subscription()._async$_add$1(e)},_sendError$2(e,r){this.get$_subscription()._addError$2(e,r)},_sendDone$0(){this.get$_subscription()._close$0()}};s._AsyncStreamControllerDispatch.prototype={_sendData$1(e){this.get$_subscription()._addPending$1(new s._DelayedData(e))},_sendError$2(e,r){this.get$_subscription()._addPending$1(new s._DelayedError(e,r))},_sendDone$0(){this.get$_subscription()._addPending$1(o.C__DelayedDone)}};s._AsyncStreamController.prototype={};s._SyncStreamController.prototype={};s._ControllerStream.prototype={get$hashCode(e){return(s.Primitives_objectHashCode(this._controller)^892482866)>>>0},$eq(e,r){if(r==null)return false;if(this===r)return true;return r instanceof s._ControllerStream&&r._controller===this._controller}};s._ControllerSubscription.prototype={_async$_onCancel$0(){return this._controller._recordCancel$1(this)},_async$_onPause$0(){this._controller._recordPause$1(this)},_async$_onResume$0(){this._controller._recordResume$1(this)}};s._AddStreamState.prototype={cancel$0(){var e=this.addSubscription.cancel$0();return e.whenComplete$1(new s._AddStreamState_cancel_closure(this))}};s._AddStreamState_cancel_closure.prototype={call$0(){this.$this.addStreamFuture._asyncComplete$1(null)},$signature:1};s._StreamControllerAddStreamState.prototype={};s._BufferingStreamSubscription.prototype={_setPendingEvents$1(e){var r=this;if(e==null)return;r._pending=e;if(e.lastPendingEvent!=null){r._state=(r._state|64)>>>0;e.schedule$1(r)}},pause$1(e,r){var n,i,s=this,a=s._state;if((a&8)!==0)return;n=(a+128|4)>>>0;s._state=n;if(a<128){i=s._pending;if(i!=null)if(i._state===1)i._state=3}if((a&4)===0&&(n&32)===0)s._guardCallback$1(s.get$_async$_onPause())},pause$0(e){return this.pause$1(e,null)},resume$0(e){var r=this,n=r._state;if((n&8)!==0)return;if(n>=128){n=r._state=n-128;if(n<128)if((n&64)!==0&&r._pending.lastPendingEvent!=null)r._pending.schedule$1(r);else{n=(n&4294967291)>>>0;r._state=n;if((n&32)===0)r._guardCallback$1(r.get$_async$_onResume())}}},cancel$0(){var e=this,r=(e._state&4294967279)>>>0;e._state=r;if((r&8)===0)e._cancel$0();r=e._cancelFuture;return r==null?u.$get$Future__nullFuture():r},_cancel$0(){var e,r=this,n=r._state=(r._state|8)>>>0;if((n&64)!==0){e=r._pending;if(e._state===1)e._state=3}if((n&32)===0)r._pending=null;r._cancelFuture=r._async$_onCancel$0()},_async$_add$1(e){var r=this._state;if((r&8)!==0)return;if(r<32)this._sendData$1(e);else this._addPending$1(new s._DelayedData(e))},_addError$2(e,r){var n=this._state;if((n&8)!==0)return;if(n<32)this._sendError$2(e,r);else this._addPending$1(new s._DelayedError(e,r))},_close$0(){var e=this,r=e._state;if((r&8)!==0)return;r=(r|2)>>>0;e._state=r;if(r<32)e._sendDone$0();else e._addPending$1(o.C__DelayedDone)},_async$_onPause$0(){},_async$_onResume$0(){},_async$_onCancel$0(){return null},_addPending$1(e){var r,n=this,i=n._pending;if(i==null)i=new s._StreamImplEvents;n._pending=i;i.add$1(0,e);r=n._state;if((r&64)===0){r=(r|64)>>>0;n._state=r;if(r<128)i.schedule$1(n)}},_sendData$1(e){var r=this,n=r._state;r._state=(n|32)>>>0;r._zone.runUnaryGuarded$1$2(r._onData,e,s._instanceType(r)._eval$1("_BufferingStreamSubscription.T"));r._state=(r._state&4294967263)>>>0;r._checkState$1((n&4)!==0)},_sendError$2(e,r){var n,i=this,a=i._state,o=new s._BufferingStreamSubscription__sendError_sendError(i,e,r);if((a&1)!==0){i._state=(a|16)>>>0;i._cancel$0();n=i._cancelFuture;if(n!=null&&n!==u.$get$Future__nullFuture())n.whenComplete$1(o);else o.call$0()}else{o.call$0();i._checkState$1((a&4)!==0)}},_sendDone$0(){var e,r=this,n=new s._BufferingStreamSubscription__sendDone_sendDone(r);r._cancel$0();r._state=(r._state|16)>>>0;e=r._cancelFuture;if(e!=null&&e!==u.$get$Future__nullFuture())e.whenComplete$1(n);else n.call$0()},_guardCallback$1(e){var r=this,n=r._state;r._state=(n|32)>>>0;e.call$0();r._state=(r._state&4294967263)>>>0;r._checkState$1((n&4)!==0)},_checkState$1(e){var r,n,i=this,s=i._state;if((s&64)!==0&&i._pending.lastPendingEvent==null){s=i._state=(s&4294967231)>>>0;if((s&4)!==0)if(s<128){r=i._pending;r=r==null?null:r.lastPendingEvent==null;r=r!==false}else r=false;else r=false;if(r){s=(s&4294967291)>>>0;i._state=s}}for(;true;e=n){if((s&8)!==0){i._pending=null;return}n=(s&4)!==0;if(e===n)break;i._state=(s^32)>>>0;if(n)i._async$_onPause$0();else i._async$_onResume$0();s=(i._state&4294967263)>>>0;i._state=s}if((s&64)!==0&&s<128)i._pending.schedule$1(i)},$isStreamSubscription:1};s._BufferingStreamSubscription__sendError_sendError.prototype={call$0(){var e,r,n,i=this.$this,s=i._state;if((s&8)!==0&&(s&16)===0)return;i._state=(s|32)>>>0;e=i._onError;s=this.error;r=$.Object;n=i._zone;if($.void_Function_Object_StackTrace._is(e))n.runBinaryGuarded$2$3(e,s,this.stackTrace,r,$.StackTrace);else n.runUnaryGuarded$1$2(e,s,r);i._state=(i._state&4294967263)>>>0},$signature:0};s._BufferingStreamSubscription__sendDone_sendDone.prototype={call$0(){var e=this.$this,r=e._state;if((r&16)===0)return;e._state=(r|42)>>>0;e._zone.runGuarded$1(e._onDone);e._state=(e._state&4294967263)>>>0},$signature:0};s._StreamImpl.prototype={listen$4$cancelOnError$onDone$onError(e,r,n,i,s){return this._controller._subscribe$4(r,s,i,n===true)},listen$1(e,r){return this.listen$4$cancelOnError$onDone$onError(e,r,null,null,null)},listen$3$onDone$onError(e,r,n,i){return this.listen$4$cancelOnError$onDone$onError(e,r,null,n,i)}};s._DelayedEvent.prototype={get$next(){return this.next},set$next(e){return this.next=e}};s._DelayedData.prototype={perform$1(e){e._sendData$1(this.value)}};s._DelayedError.prototype={perform$1(e){e._sendError$2(this.error,this.stackTrace)}};s._DelayedDone.prototype={perform$1(e){e._sendDone$0()},get$next(){return null},set$next(e){throw s.wrapException(s.StateError$("No events after a done."))}};s._PendingEvents.prototype={schedule$1(e){var r=this,n=r._state;if(n===1)return;if(n>=1){r._state=1;return}s.scheduleMicrotask(new s._PendingEvents_schedule_closure(r,e));r._state=1}};s._PendingEvents_schedule_closure.prototype={call$0(){var e,r,n=this.$this,i=n._state;n._state=0;if(i===3)return;e=n.firstPendingEvent;r=e.get$next();n.firstPendingEvent=r;if(r==null)n.lastPendingEvent=null;e.perform$1(this.dispatch)},$signature:0};s._StreamImplEvents.prototype={add$1(e,r){var n=this,i=n.lastPendingEvent;if(i==null)n.firstPendingEvent=n.lastPendingEvent=r;else{i.set$next(r);n.lastPendingEvent=r}}};s._StreamIterator.prototype={get$current(e){if(this._async$_hasValue)return this._stateData;return null},moveNext$0(){var e,r=this,n=r._subscription;if(n!=null){if(r._async$_hasValue){e=new s._Future(u.Zone__current,$._Future_bool);r._stateData=e;r._async$_hasValue=false;n.resume$0(0);return e}throw s.wrapException(s.StateError$("Already waiting for next."))}return r._initializeOrDone$0()},_initializeOrDone$0(){var e,r,n=this,i=n._stateData;if(i!=null){e=new s._Future(u.Zone__current,$._Future_bool);n._stateData=e;r=i.listen$4$cancelOnError$onDone$onError(0,n.get$_onData(),true,n.get$_onDone(),n.get$_onError());if(n._stateData!=null)n._subscription=r;return e}return u.$get$Future__falseFuture()},cancel$0(){var e=this,r=e._subscription,n=e._stateData;e._stateData=null;if(r!=null){e._subscription=null;if(!e._async$_hasValue)n._asyncComplete$1(false);else e._async$_hasValue=false;return r.cancel$0()}return u.$get$Future__nullFuture()},_onData$1(e){var r,n,i=this;if(i._subscription==null)return;r=i._stateData;i._stateData=e;i._async$_hasValue=true;r._complete$1(true);if(i._async$_hasValue){n=i._subscription;if(n!=null)n.pause$0(0)}},_onError$2(e,r){var n=this,i=n._subscription,s=n._stateData;n._stateData=n._subscription=null;if(i!=null)s._completeError$2(e,r);else s._asyncCompleteError$2(e,r)},_onDone$0(){var e=this,r=e._subscription,n=e._stateData;e._stateData=e._subscription=null;if(r!=null)n._completeWithValue$1(false);else n._asyncCompleteWithValue$1(false)}};s._ForwardingStream.prototype={get$isBroadcast(){return this._async$_source.get$isBroadcast()},listen$4$cancelOnError$onDone$onError(e,r,n,i,a){var o=this.$ti,l=o._rest[1],_=u.Zone__current,c=n===true?1:0,p=s._BufferingStreamSubscription__registerDataHandler(_,r,l),h=s._BufferingStreamSubscription__registerErrorHandler(_,a),d=i==null?s.async___nullDoneHandler$closure():i;l=new s._ForwardingStreamSubscription(this,p,h,_.registerCallback$1$1(d,$.void),_,c,o._eval$1("@<1>")._bind$1(l)._eval$1("_ForwardingStreamSubscription<1,2>"));l._subscription=this._async$_source.listen$3$onDone$onError(0,l.get$_handleData(),l.get$_handleDone(),l.get$_handleError());return l},listen$1(e,r){return this.listen$4$cancelOnError$onDone$onError(e,r,null,null,null)},listen$3$onDone$onError(e,r,n,i){return this.listen$4$cancelOnError$onDone$onError(e,r,null,n,i)}};s._ForwardingStreamSubscription.prototype={_async$_add$1(e){if((this._state&2)!==0)return;this.super$_BufferingStreamSubscription$_add(e)},_addError$2(e,r){if((this._state&2)!==0)return;this.super$_BufferingStreamSubscription$_addError(e,r)},_async$_onPause$0(){var e=this._subscription;if(e!=null)e.pause$0(0)},_async$_onResume$0(){var e=this._subscription;if(e!=null)e.resume$0(0)},_async$_onCancel$0(){var e=this._subscription;if(e!=null){this._subscription=null;return e.cancel$0()}return null},_handleData$1(e){this._stream._handleData$2(e,this)},_handleError$2(e,r){this._addError$2(e,r)},_handleDone$0(){this._close$0()}};s._ExpandStream.prototype={_handleData$2(e,r){var n,i,o,l,_,c,$,p;try{for(l=a.get$iterator$ax(this._expand.call$1(e));l.moveNext$0();){n=l.get$current(l);r._async$_add$1(n)}}catch(_){i=s.unwrapException(_);o=s.getTraceFromException(_);c=i;$=o;p=u.Zone__current.errorCallback$2(c,$);if(p!=null){c=p.error;$=p.stackTrace}r._addError$2(c,$)}}};s._ZoneFunction.prototype={};s._RunNullaryZoneFunction.prototype={};s._RunUnaryZoneFunction.prototype={};s._RunBinaryZoneFunction.prototype={};s._RegisterNullaryZoneFunction.prototype={};s._RegisterUnaryZoneFunction.prototype={};s._RegisterBinaryZoneFunction.prototype={};s._ZoneSpecification.prototype={$isZoneSpecification:1};s._ZoneDelegate.prototype={$isZoneDelegate:1};s._Zone.prototype={_processUncaughtError$3(e,r,n){var i,l,_,c,$,p,h,d,m=this.get$_handleUncaughtError(),g=m.zone;if(g===o.C__RootZone){s._rootHandleError(r,n);return}i=m.$function;l=g.get$_parentDelegate();h=a.get$parent$z(g);h.toString;_=h;c=u.Zone__current;try{u.Zone__current=_;i.call$5(g,l,e,r,n);u.Zone__current=c}catch(d){$=s.unwrapException(d);p=s.getTraceFromException(d);u.Zone__current=c;h=r===$?n:p;_._processUncaughtError$3(g,$,h)}},$isZone:1};s._CustomZone.prototype={get$_delegate(){var e=this._delegateCache;return e==null?this._delegateCache=new s._ZoneDelegate(this):e},get$_parentDelegate(){return this.parent.get$_delegate()},get$errorZone(){return this._handleUncaughtError.zone},runGuarded$1(e){var r,n,i;try{this.run$1$1(0,e,$.void)}catch(i){r=s.unwrapException(i);n=s.getTraceFromException(i);this._processUncaughtError$3(this,r,n)}},runUnaryGuarded$1$2(e,r,n){var i,a,o;try{this.runUnary$2$2(e,r,$.void,n)}catch(o){i=s.unwrapException(o);a=s.getTraceFromException(o);this._processUncaughtError$3(this,i,a)}},runBinaryGuarded$2$3(e,r,n,i,a){var o,l,u;try{this.runBinary$3$3(e,r,n,$.void,i,a)}catch(u){o=s.unwrapException(u);l=s.getTraceFromException(u);this._processUncaughtError$3(this,o,l)}},bindCallback$1$1(e,r){return new s._CustomZone_bindCallback_closure(this,this.registerCallback$1$1(e,r),r)},bindUnaryCallback$2$1(e,r,n){return new s._CustomZone_bindUnaryCallback_closure(this,this.registerUnaryCallback$2$1(e,r,n),n,r)},bindCallbackGuarded$1(e){return new s._CustomZone_bindCallbackGuarded_closure(this,this.registerCallback$1$1(e,$.void))},$index(e,r){var n,i=this._async$_map,s=i.$index(0,r);if(s!=null||i.containsKey$1(r))return s;n=this.parent.$index(0,r);if(n!=null)i.$indexSet(0,r,n);return n},handleUncaughtError$2(e,r){this._processUncaughtError$3(this,e,r)},fork$2$specification$zoneValues(e,r){var n=this._fork,i=n.zone;return n.$function.call$5(i,i.get$_parentDelegate(),this,e,r)},run$1$1(e,r){var n=this._run,i=n.zone;return n.$function.call$4(i,i.get$_parentDelegate(),this,r)},runUnary$2$2(e,r){var n=this._runUnary,i=n.zone;return n.$function.call$5(i,i.get$_parentDelegate(),this,e,r)},runBinary$3$3(e,r,n){var i=this._runBinary,s=i.zone;return i.$function.call$6(s,s.get$_parentDelegate(),this,e,r,n)},registerCallback$1$1(e){var r=this._registerCallback,n=r.zone;return r.$function.call$4(n,n.get$_parentDelegate(),this,e)},registerUnaryCallback$2$1(e){var r=this._registerUnaryCallback,n=r.zone;return r.$function.call$4(n,n.get$_parentDelegate(),this,e)},registerBinaryCallback$3$1(e){var r=this._registerBinaryCallback,n=r.zone;return r.$function.call$4(n,n.get$_parentDelegate(),this,e)},errorCallback$2(e,r){var n,i;s.checkNotNullable(e,"error",$.Object);n=this._errorCallback;i=n.zone;if(i===o.C__RootZone)return null;return n.$function.call$5(i,i.get$_parentDelegate(),this,e,r)},scheduleMicrotask$1(e){var r=this._scheduleMicrotask,n=r.zone;return r.$function.call$4(n,n.get$_parentDelegate(),this,e)},createTimer$2(e,r){var n=this._createTimer,i=n.zone;return n.$function.call$5(i,i.get$_parentDelegate(),this,e,r)},print$1(e){var r=this._print,n=r.zone;return r.$function.call$4(n,n.get$_parentDelegate(),this,e)},get$_run(){return this._run},get$_runUnary(){return this._runUnary},get$_runBinary(){return this._runBinary},get$_registerCallback(){return this._registerCallback},get$_registerUnaryCallback(){return this._registerUnaryCallback},get$_registerBinaryCallback(){return this._registerBinaryCallback},get$_errorCallback(){return this._errorCallback},get$_scheduleMicrotask(){return this._scheduleMicrotask},get$_createTimer(){return this._createTimer},get$_createPeriodicTimer(){return this._createPeriodicTimer},get$_print(){return this._print},get$_fork(){return this._fork},get$_handleUncaughtError(){return this._handleUncaughtError},get$parent(e){return this.parent},get$_async$_map(){return this._async$_map}};s._CustomZone_bindCallback_closure.prototype={call$0(){return this.$this.run$1$1(0,this.registered,this.R)},$signature(){return this.R._eval$1("0()")}};s._CustomZone_bindUnaryCallback_closure.prototype={call$1(e){var r=this;return r.$this.runUnary$2$2(r.registered,e,r.R,r.T)},$signature(){return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)")}};s._CustomZone_bindCallbackGuarded_closure.prototype={call$0(){return this.$this.runGuarded$1(this.registered)},$signature:0};s._rootHandleError_closure.prototype={call$0(){var e=this.error,r=this.stackTrace;s.checkNotNullable(e,"error",$.Object);s.checkNotNullable(r,"stackTrace",$.StackTrace);s.Error__throw(e,r)},$signature:0};s._RootZone.prototype={get$_run(){return o._RunNullaryZoneFunction__RootZone__rootRun},get$_runUnary(){return o._RunUnaryZoneFunction__RootZone__rootRunUnary},get$_runBinary(){return o._RunBinaryZoneFunction__RootZone__rootRunBinary},get$_registerCallback(){return o._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback},get$_registerUnaryCallback(){return o._RegisterUnaryZoneFunction_Bqo},get$_registerBinaryCallback(){return o._RegisterBinaryZoneFunction_kGu},get$_errorCallback(){return o._ZoneFunction__RootZone__rootErrorCallback},get$_scheduleMicrotask(){return o._ZoneFunction__RootZone__rootScheduleMicrotask},get$_createTimer(){return o._ZoneFunction__RootZone__rootCreateTimer},get$_createPeriodicTimer(){return o._ZoneFunction_3bB},get$_print(){return o._ZoneFunction__RootZone__rootPrint},get$_fork(){return o._ZoneFunction__RootZone__rootFork},get$_handleUncaughtError(){return o._ZoneFunction_NMc},get$parent(e){return null},get$_async$_map(){return u.$get$_RootZone__rootMap()},get$_delegate(){var e=u._RootZone__rootDelegate;return e==null?u._RootZone__rootDelegate=new s._ZoneDelegate(this):e},get$_parentDelegate(){var e=u._RootZone__rootDelegate;return e==null?u._RootZone__rootDelegate=new s._ZoneDelegate(this):e},get$errorZone(){return this},runGuarded$1(e){var r,n,i;try{if(o.C__RootZone===u.Zone__current){e.call$0();return}s._rootRun(null,null,this,e)}catch(i){r=s.unwrapException(i);n=s.getTraceFromException(i);s._rootHandleError(r,n)}},runUnaryGuarded$1$2(e,r){var n,i,a;try{if(o.C__RootZone===u.Zone__current){e.call$1(r);return}s._rootRunUnary(null,null,this,e,r)}catch(a){n=s.unwrapException(a);i=s.getTraceFromException(a);s._rootHandleError(n,i)}},runBinaryGuarded$2$3(e,r,n){var i,a,l;try{if(o.C__RootZone===u.Zone__current){e.call$2(r,n);return}s._rootRunBinary(null,null,this,e,r,n)}catch(l){i=s.unwrapException(l);a=s.getTraceFromException(l);s._rootHandleError(i,a)}},bindCallback$1$1(e,r){return new s._RootZone_bindCallback_closure(this,e,r)},bindUnaryCallback$2$1(e,r,n){return new s._RootZone_bindUnaryCallback_closure(this,e,n,r)},bindCallbackGuarded$1(e){return new s._RootZone_bindCallbackGuarded_closure(this,e)},$index(e,r){return null},handleUncaughtError$2(e,r){s._rootHandleError(e,r)},fork$2$specification$zoneValues(e,r){return s._rootFork(null,null,this,e,r)},run$1$1(e,r){if(u.Zone__current===o.C__RootZone)return r.call$0();return s._rootRun(null,null,this,r)},runUnary$2$2(e,r){if(u.Zone__current===o.C__RootZone)return e.call$1(r);return s._rootRunUnary(null,null,this,e,r)},runBinary$3$3(e,r,n){if(u.Zone__current===o.C__RootZone)return e.call$2(r,n);return s._rootRunBinary(null,null,this,e,r,n)},registerCallback$1$1(e){return e},registerUnaryCallback$2$1(e){return e},registerBinaryCallback$3$1(e){return e},errorCallback$2(e,r){return null},scheduleMicrotask$1(e){s._rootScheduleMicrotask(null,null,this,e)},createTimer$2(e,r){return s.Timer__createTimer(e,r)},print$1(e){s.printString(e)}};s._RootZone_bindCallback_closure.prototype={call$0(){return this.$this.run$1$1(0,this.f,this.R)},$signature(){return this.R._eval$1("0()")}};s._RootZone_bindUnaryCallback_closure.prototype={call$1(e){var r=this;return r.$this.runUnary$2$2(r.f,e,r.R,r.T)},$signature(){return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)")}};s._RootZone_bindCallbackGuarded_closure.prototype={call$0(){return this.$this.runGuarded$1(this.f)},$signature:0};s._HashMap.prototype={get$length(e){return this._collection$_length},get$isEmpty(e){return this._collection$_length===0},get$isNotEmpty(e){return this._collection$_length!==0},get$keys(e){return new s._HashMapKeyIterable(this,s._instanceType(this)._eval$1("_HashMapKeyIterable<1>"))},get$values(e){var r=s._instanceType(this);return s.MappedIterable_MappedIterable(new s._HashMapKeyIterable(this,r._eval$1("_HashMapKeyIterable<1>")),new s._HashMap_values_closure(this),r._precomputed1,r._rest[1])},containsKey$1(e){var r,n;if(typeof e=="string"&&e!=="__proto__"){r=this._collection$_strings;return r==null?false:r[e]!=null}else if(typeof e=="number"&&(e&1073741823)===e){n=this._collection$_nums;return n==null?false:n[e]!=null}else return this._containsKey$1(e)},_containsKey$1(e){var r=this._collection$_rest;if(r==null)return false;return this._findBucketIndex$2(this._getBucket$2(r,e),e)>=0},addAll$1(e,r){r.forEach$1(0,new s._HashMap_addAll_closure(this))},$index(e,r){var n,i,a;if(typeof r=="string"&&r!=="__proto__"){n=this._collection$_strings;i=n==null?null:s._HashMap__getTableEntry(n,r);return i}else if(typeof r=="number"&&(r&1073741823)===r){a=this._collection$_nums;i=a==null?null:s._HashMap__getTableEntry(a,r);return i}else return this._get$1(r)},_get$1(e){var r,n,i=this._collection$_rest;if(i==null)return null;r=this._getBucket$2(i,e);n=this._findBucketIndex$2(r,e);return n<0?null:r[n+1]},$indexSet(e,r,n){var i,a,o=this;if(typeof r=="string"&&r!=="__proto__"){i=o._collection$_strings;o._collection$_addHashTableEntry$3(i==null?o._collection$_strings=s._HashMap__newHashTable():i,r,n)}else if(typeof r=="number"&&(r&1073741823)===r){a=o._collection$_nums;o._collection$_addHashTableEntry$3(a==null?o._collection$_nums=s._HashMap__newHashTable():a,r,n)}else o._set$2(r,n)},_set$2(e,r){var n,i,a,o=this,l=o._collection$_rest;if(l==null)l=o._collection$_rest=s._HashMap__newHashTable();n=o._computeHashCode$1(e);i=l[n];if(i==null){s._HashMap__setTableEntry(l,n,[e,r]);++o._collection$_length;o._keys=null}else{a=o._findBucketIndex$2(i,e);if(a>=0)i[a+1]=r;else{i.push(e,r);++o._collection$_length;o._keys=null}}},remove$1(e,r){var n;if(typeof r=="string"&&r!=="__proto__")return this._removeHashTableEntry$2(this._collection$_strings,r);else{n=this._remove$1(r);return n}},_remove$1(e){var r,n,i,s,a=this,o=a._collection$_rest;if(o==null)return null;r=a._computeHashCode$1(e);n=o[r];i=a._findBucketIndex$2(n,e);if(i<0)return null;--a._collection$_length;a._keys=null;s=n.splice(i,2)[1];if(0===n.length)delete o[r];return s},forEach$1(e,r){var n,i,a,o,l,u=this,_=u._computeKeys$0();for(n=_.length,i=s._instanceType(u)._rest[1],a=0;a=r.length){e._collection$_current=null;return false}else{e._collection$_current=r[n];e._offset=n+1;return true}}};s._LinkedIdentityHashMap.prototype={internalComputeHashCode$1(e){return s.objectHashCode(e)&1073741823},internalFindBucketIndex$2(e,r){var n,i,s;if(e==null)return-1;n=e.length;for(i=0;i"))},_newSimilarSet$1$0(e){return new s._LinkedHashSet(e._eval$1("_LinkedHashSet<0>"))},_newSimilarSet$0(){return this._newSimilarSet$1$0($.dynamic)},get$iterator(e){var r=new s._LinkedHashSetIterator(this,this._collection$_modifications);r._collection$_cell=this._collection$_first;return r},get$length(e){return this._collection$_length},get$isEmpty(e){return this._collection$_length===0},get$isNotEmpty(e){return this._collection$_length!==0},contains$1(e,r){var n,i;if(typeof r=="string"&&r!=="__proto__"){n=this._collection$_strings;if(n==null)return false;return n[r]!=null}else if(typeof r=="number"&&(r&1073741823)===r){i=this._collection$_nums;if(i==null)return false;return i[r]!=null}else return this._contains$1(r)},_contains$1(e){var r=this._collection$_rest;if(r==null)return false;return this._findBucketIndex$2(r[this._computeHashCode$1(e)],e)>=0},get$first(e){var r=this._collection$_first;if(r==null)throw s.wrapException(s.StateError$("No elements"));return r._element},get$last(e){var r=this._collection$_last;if(r==null)throw s.wrapException(s.StateError$("No elements"));return r._element},add$1(e,r){var n,i,a=this;if(typeof r=="string"&&r!=="__proto__"){n=a._collection$_strings;return a._collection$_addHashTableEntry$2(n==null?a._collection$_strings=s._LinkedHashSet__newHashTable():n,r)}else if(typeof r=="number"&&(r&1073741823)===r){i=a._collection$_nums;return a._collection$_addHashTableEntry$2(i==null?a._collection$_nums=s._LinkedHashSet__newHashTable():i,r)}else return a._add$1(r)},_add$1(e){var r,n,i=this,a=i._collection$_rest;if(a==null)a=i._collection$_rest=s._LinkedHashSet__newHashTable();r=i._computeHashCode$1(e);n=a[r];if(n==null)a[r]=[i._collection$_newLinkedCell$1(e)];else{if(i._findBucketIndex$2(n,e)>=0)return false;n.push(i._collection$_newLinkedCell$1(e))}return true},remove$1(e,r){var n=this;if(typeof r=="string"&&r!=="__proto__")return n._removeHashTableEntry$2(n._collection$_strings,r);else if(typeof r=="number"&&(r&1073741823)===r)return n._removeHashTableEntry$2(n._collection$_nums,r);else return n._remove$1(r)},_remove$1(e){var r,n,i,s,a=this,o=a._collection$_rest;if(o==null)return false;r=a._computeHashCode$1(e);n=o[r];i=a._findBucketIndex$2(n,e);if(i<0)return false;s=n.splice(i,1)[0];if(0===n.length)delete o[r];a._unlinkCell$1(s);return true},_collection$_addHashTableEntry$2(e,r){if(e[r]!=null)return false;e[r]=this._collection$_newLinkedCell$1(r);return true},_removeHashTableEntry$2(e,r){var n;if(e==null)return false;n=e[r];if(n==null)return false;this._unlinkCell$1(n);delete e[r];return true},_collection$_modified$0(){this._collection$_modifications=this._collection$_modifications+1&1073741823},_collection$_newLinkedCell$1(e){var r,n=this,i=new s._LinkedHashSetCell(e);if(n._collection$_first==null)n._collection$_first=n._collection$_last=i;else{r=n._collection$_last;r.toString;i._collection$_previous=r;n._collection$_last=r._collection$_next=i}++n._collection$_length;n._collection$_modified$0();return i},_unlinkCell$1(e){var r=this,n=e._collection$_previous,i=e._collection$_next;if(n==null)r._collection$_first=i;else n._collection$_next=i;if(i==null)r._collection$_last=n;else i._collection$_previous=n;--r._collection$_length;r._collection$_modified$0()},_computeHashCode$1(e){return a.get$hashCode$(e)&1073741823},_findBucketIndex$2(e,r){var n,i;if(e==null)return-1;n=e.length;for(i=0;i"))},_newSimilarSet$0(){return this._newSimilarSet$1$0($.dynamic)},_computeHashCode$1(e){return s.objectHashCode(e)&1073741823},_findBucketIndex$2(e,r){var n,i,s;if(e==null)return-1;n=e.length;for(i=0;i"))},get$length(e){return a.get$length$asx(this._collection$_source)},$index(e,r){return a.elementAt$1$ax(this._collection$_source,r)}};s.HashMap_HashMap$from_closure.prototype={call$2(e,r){this.result.$indexSet(0,this.K._as(e),this.V._as(r))},$signature:161};s.IterableBase.prototype={};s.LinkedHashMap_LinkedHashMap$from_closure.prototype={call$2(e,r){this.result.$indexSet(0,this.K._as(e),this.V._as(r))},$signature:161};s.ListBase.prototype={$isEfficientLengthIterable:1,$isIterable:1,$isList:1};s.ListMixin.prototype={get$iterator(e){return new s.ListIterator(e,this.get$length(e))},elementAt$1(e,r){return this.$index(e,r)},get$isEmpty(e){return this.get$length(e)===0},get$isNotEmpty(e){return!this.get$isEmpty(e)},get$first(e){if(this.get$length(e)===0)throw s.wrapException(s.IterableElementError_noElement());return this.$index(e,0)},get$last(e){if(this.get$length(e)===0)throw s.wrapException(s.IterableElementError_noElement());return this.$index(e,this.get$length(e)-1)},get$single(e){if(this.get$length(e)===0)throw s.wrapException(s.IterableElementError_noElement());if(this.get$length(e)>1)throw s.wrapException(s.IterableElementError_tooMany());return this.$index(e,0)},contains$1(e,r){var n,i=this.get$length(e);for(n=0;n=0;--i){a=this.$index(e,i);if(r.call$1(a))return a;if(o!==this.get$length(e))throw s.wrapException(s.ConcurrentModificationError$(e))}if(n!=null)return n.call$0();throw s.wrapException(s.IterableElementError_noElement())},join$1(e,r){var n;if(this.get$length(e)===0)return"";n=s.StringBuffer__writeAll("",e,r);return n.charCodeAt(0)==0?n:n},join$0(e){return this.join$1(e,"")},where$1(e,r){return new s.WhereIterable(e,r,s.instanceType(e)._eval$1("WhereIterable"))},map$1$1(e,r,n){return new s.MappedListIterable(e,r,s.instanceType(e)._eval$1("@")._bind$1(n)._eval$1("MappedListIterable<1,2>"))},expand$1$1(e,r,n){return new s.ExpandIterable(e,r,s.instanceType(e)._eval$1("@")._bind$1(n)._eval$1("ExpandIterable<1,2>"))},skip$1(e,r){return s.SubListIterable$(e,r,null,s.instanceType(e)._eval$1("ListMixin.E"))},take$1(e,r){return s.SubListIterable$(e,0,s.checkNotNullable(r,"count",$.int),s.instanceType(e)._eval$1("ListMixin.E"))},toList$1$growable(e,r){var n,i,o,l,u=this;if(u.get$isEmpty(e)){n=a.JSArray_JSArray$growable(0,s.instanceType(e)._eval$1("ListMixin.E"));return n}i=u.$index(e,0);o=s.List_List$filled(u.get$length(e),i,true,s.instanceType(e)._eval$1("ListMixin.E"));for(l=1;l")._bind$1(r)._eval$1("CastList<1,2>"))},sort$1(e,r){s.Sort_sort(e,r==null?s.collection_ListMixin__compareAny$closure():r)},getRange$2(e,r,n){s.RangeError_checkValidRange(r,n,this.get$length(e));return s.SubListIterable$(e,r,n,s.instanceType(e)._eval$1("ListMixin.E"))},fillRange$3(e,r,n,i){var a,o=i==null?s.instanceType(e)._eval$1("ListMixin.E")._as(i):i;s.RangeError_checkValidRange(r,n,this.get$length(e));for(a=r;a")._is(i)){u=o;_=i}else{_=a.skip$1$ax(i,o).toList$1$growable(0,false);u=0}c=a.getInterceptor$asx(_);if(u+l>c.get$length(_))throw s.wrapException(s.IterableElementError_tooFew());if(u=0;--$)this.$indexSet(e,r+$,c.$index(_,u+$));else for($=0;$"))},toString$0(e){return s.IterableBase_iterableToFullString(e,"[","]")}};s.MapBase.prototype={};s.MapBase_mapToString_closure.prototype={call$2(e,r){var n,i=this._box_0;if(!i.first)this.result._contents+=", ";i.first=false;i=this.result;n=i._contents+=s.S(e);i._contents=n+": ";i._contents+=s.S(r)},$signature:163};s.MapMixin.prototype={cast$2$0(e,r,n){var i=s._instanceType(this);return s.Map_castFrom(this,i._eval$1("MapMixin.K"),i._eval$1("MapMixin.V"),r,n)},forEach$1(e,r){var n,i,o,l,u=this;for(n=a.get$iterator$ax(u.get$keys(u)),i=s._instanceType(u)._eval$1("MapMixin.V");n.moveNext$0();){o=n.get$current(n);l=u.$index(0,o);r.call$2(o,l==null?i._as(l):l)}},addAll$1(e,r){r.forEach$1(0,new s.MapMixin_addAll_closure(this))},get$entries(e){var r=this;return a.map$1$1$ax(r.get$keys(r),new s.MapMixin_entries_closure(r),s._instanceType(r)._eval$1("MapEntry"))},containsKey$1(e){return a.contains$1$asx(this.get$keys(this),e)},get$length(e){return a.get$length$asx(this.get$keys(this))},get$isEmpty(e){return a.get$isEmpty$asx(this.get$keys(this))},get$isNotEmpty(e){return a.get$isNotEmpty$asx(this.get$keys(this))},get$values(e){var r=s._instanceType(this);return new s._MapBaseValueIterable(this,r._eval$1("@")._bind$1(r._eval$1("MapMixin.V"))._eval$1("_MapBaseValueIterable<1,2>"))},toString$0(e){return s.MapBase_mapToString(this)},$isMap:1};s.MapMixin_addAll_closure.prototype={call$2(e,r){this.$this.$indexSet(0,e,r)},$signature(){return s._instanceType(this.$this)._eval$1("~(MapMixin.K,MapMixin.V)")}};s.MapMixin_entries_closure.prototype={call$1(e){var r=this.$this,n=r.$index(0,e);if(n==null)n=s._instanceType(r)._eval$1("MapMixin.V")._as(n);r=s._instanceType(r);return new s.MapEntry(e,n,r._eval$1("@")._bind$1(r._eval$1("MapMixin.V"))._eval$1("MapEntry<1,2>"))},$signature(){return s._instanceType(this.$this)._eval$1("MapEntry(MapMixin.K)")}};s.UnmodifiableMapBase.prototype={};s._MapBaseValueIterable.prototype={get$length(e){var r=this._map;return r.get$length(r)},get$isEmpty(e){var r=this._map;return r.get$isEmpty(r)},get$isNotEmpty(e){var r=this._map;return r.get$isNotEmpty(r)},get$first(e){var r=this._map;r=r.$index(0,a.get$first$ax(r.get$keys(r)));return r==null?this.$ti._rest[1]._as(r):r},get$single(e){var r=this._map;r=r.$index(0,a.get$single$ax(r.get$keys(r)));return r==null?this.$ti._rest[1]._as(r):r},get$last(e){var r=this._map;r=r.$index(0,a.get$last$ax(r.get$keys(r)));return r==null?this.$ti._rest[1]._as(r):r},get$iterator(e){var r=this._map;return new s._MapBaseValueIterator(a.get$iterator$ax(r.get$keys(r)),r)}};s._MapBaseValueIterator.prototype={moveNext$0(){var e=this,r=e._keys;if(r.moveNext$0()){e._collection$_current=e._map.$index(0,r.get$current(r));return true}e._collection$_current=null;return false},get$current(e){var r=this._collection$_current;return r==null?s._instanceType(this)._rest[1]._as(r):r}};s._UnmodifiableMapMixin.prototype={$indexSet(e,r,n){throw s.wrapException(s.UnsupportedError$("Cannot modify unmodifiable map"))},addAll$1(e,r){throw s.wrapException(s.UnsupportedError$("Cannot modify unmodifiable map"))},remove$1(e,r){throw s.wrapException(s.UnsupportedError$("Cannot modify unmodifiable map"))}};s.MapView.prototype={cast$2$0(e,r,n){return this._map.cast$2$0(0,r,n)},$index(e,r){return this._map.$index(0,r)},$indexSet(e,r,n){this._map.$indexSet(0,r,n)},addAll$1(e,r){this._map.addAll$1(0,r)},containsKey$1(e){return this._map.containsKey$1(e)},forEach$1(e,r){this._map.forEach$1(0,r)},get$isEmpty(e){var r=this._map;return r.get$isEmpty(r)},get$isNotEmpty(e){var r=this._map;return r.get$isNotEmpty(r)},get$length(e){var r=this._map;return r.get$length(r)},get$keys(e){var r=this._map;return r.get$keys(r)},remove$1(e,r){return this._map.remove$1(0,r)},toString$0(e){return this._map.toString$0(0)},get$values(e){var r=this._map;return r.get$values(r)},get$entries(e){var r=this._map;return r.get$entries(r)},$isMap:1};s.UnmodifiableMapView.prototype={cast$2$0(e,r,n){return new s.UnmodifiableMapView(this._map.cast$2$0(0,r,n),r._eval$1("@<0>")._bind$1(n)._eval$1("UnmodifiableMapView<1,2>"))}};s.ListQueue.prototype={get$iterator(e){var r=this;return new s._ListQueueIterator(r,r._collection$_tail,r._modificationCount,r._collection$_head)},get$isEmpty(e){return this._collection$_head===this._collection$_tail},get$length(e){return(this._collection$_tail-this._collection$_head&this._collection$_table.length-1)>>>0},get$first(e){var r=this,n=r._collection$_head;if(n===r._collection$_tail)throw s.wrapException(s.IterableElementError_noElement());n=r._collection$_table[n];return n==null?r.$ti._precomputed1._as(n):n},get$last(e){var r=this,n=r._collection$_head,i=r._collection$_tail;if(n===i)throw s.wrapException(s.IterableElementError_noElement());n=r._collection$_table;n=n[(i-1&n.length-1)>>>0];return n==null?r.$ti._precomputed1._as(n):n},get$single(e){var r,n=this;if(n._collection$_head===n._collection$_tail)throw s.wrapException(s.IterableElementError_noElement());if(n.get$length(n)>1)throw s.wrapException(s.IterableElementError_tooMany());r=n._collection$_table[n._collection$_head];return r==null?n.$ti._precomputed1._as(r):r},elementAt$1(e,r){var n,i=this;s.RangeError_checkValidIndex(r,i,null);n=i._collection$_table;n=n[(i._collection$_head+r&n.length-1)>>>0];return n==null?i.$ti._precomputed1._as(n):n},toList$1$growable(e,r){var n,i,o,l,u,_,c=this,$=c._collection$_table.length-1,p=(c._collection$_tail-c._collection$_head&$)>>>0;if(p===0){n=a.JSArray_JSArray$growable(0,c.$ti._precomputed1);return n}n=c.$ti._precomputed1;i=s.List_List$filled(p,c.get$first(c),true,n);for(o=c._collection$_table,l=c._collection$_head,u=0;u>>0];i[u]=_==null?n._as(_):_}return i},toList$0(e){return this.toList$1$growable(e,true)},add$1(e,r){this._add$1(r)},addAll$1(e,r){var n,i,l,u,_,c,$,p,h=this,d=h.$ti;if(d._eval$1("List<1>")._is(r)){n=a.get$length$asx(r);i=h.get$length(h);l=i+n;u=h._collection$_table;_=u.length;if(l>=_){c=s.List_List$filled(s.ListQueue__nextPowerOf2(l+o.JSInt_methods._shrOtherPositive$1(l,1)),null,false,d._eval$1("1?"));h._collection$_tail=h._collection$_writeToList$1(c);h._collection$_table=c;h._collection$_head=0;o.JSArray_methods.setRange$4(c,i,l,r,0);h._collection$_tail+=n}else{d=h._collection$_tail;$=_-d;if(n<$){o.JSArray_methods.setRange$4(u,d,d+n,r,0);h._collection$_tail+=n}else{p=n-$;o.JSArray_methods.setRange$4(u,d,d+$,r,0);o.JSArray_methods.setRange$4(h._collection$_table,0,p,r,$);h._collection$_tail=p}}++h._modificationCount}else for(d=a.get$iterator$ax(r);d.moveNext$0();)h._add$1(d.get$current(d))},clear$0(e){var r,n,i=this,s=i._collection$_head,a=i._collection$_tail;if(s!==a){for(r=i._collection$_table,n=r.length-1;s!==a;s=(s+1&n)>>>0)r[s]=null;i._collection$_head=i._collection$_tail=0;++i._modificationCount}},toString$0(e){return s.IterableBase_iterableToFullString(this,"{","}")},addFirst$1(e){var r=this,n=r._collection$_head,i=r._collection$_table;n=r._collection$_head=(n-1&i.length-1)>>>0;i[n]=e;if(n===r._collection$_tail)r._collection$_grow$0();++r._modificationCount},removeFirst$0(){var e,r,n=this,i=n._collection$_head;if(i===n._collection$_tail)throw s.wrapException(s.IterableElementError_noElement());++n._modificationCount;e=n._collection$_table;r=e[i];if(r==null)r=n.$ti._precomputed1._as(r);e[i]=null;n._collection$_head=(i+1&e.length-1)>>>0;return r},removeLast$0(e){var r,n=this,i=n._collection$_head,a=n._collection$_tail;if(i===a)throw s.wrapException(s.IterableElementError_noElement());++n._modificationCount;i=n._collection$_table;a=n._collection$_tail=(a-1&i.length-1)>>>0;r=i[a];if(r==null)r=n.$ti._precomputed1._as(r);i[a]=null;return r},_add$1(e){var r=this,n=r._collection$_table,i=r._collection$_tail;n[i]=e;n=(i+1&n.length-1)>>>0;r._collection$_tail=n;if(r._collection$_head===n)r._collection$_grow$0();++r._modificationCount},_collection$_grow$0(){var e=this,r=s.List_List$filled(e._collection$_table.length*2,null,false,e.$ti._eval$1("1?")),n=e._collection$_table,i=e._collection$_head,a=n.length-i;o.JSArray_methods.setRange$4(r,0,a,n,i);o.JSArray_methods.setRange$4(r,a,a+e._collection$_head,e._collection$_table,0);e._collection$_head=0;e._collection$_tail=e._collection$_table.length;e._collection$_table=r},_collection$_writeToList$1(e){var r,n,i=this,s=i._collection$_head,a=i._collection$_tail,l=i._collection$_table;if(s<=a){r=a-s;o.JSArray_methods.setRange$4(e,0,r,l,s);return r}else{n=l.length-s;o.JSArray_methods.setRange$4(e,0,n,l,s);o.JSArray_methods.setRange$4(e,n,n+i._collection$_tail,i._collection$_table,0);return i._collection$_tail+n}},$isQueue:1};s._ListQueueIterator.prototype={get$current(e){var r=this._collection$_current;return r==null?s._instanceType(this)._precomputed1._as(r):r},moveNext$0(){var e,r=this,n=r._queue;if(r._modificationCount!==n._modificationCount)s.throwExpression(s.ConcurrentModificationError$(n));e=r._collection$_position;if(e===r._collection$_end){r._collection$_current=null;return false}n=n._collection$_table;r._collection$_current=n[e];r._collection$_position=(e+1&n.length-1)>>>0;return true}};s.SetMixin.prototype={get$isEmpty(e){return this.get$length(this)===0},get$isNotEmpty(e){return this.get$length(this)!==0},addAll$1(e,r){var n;for(n=a.get$iterator$ax(r);n.moveNext$0();)this.add$1(0,n.get$current(n))},removeAll$1(e){var r;for(r=a.get$iterator$ax(e);r.moveNext$0();)this.remove$1(0,r.get$current(r))},toList$1$growable(e,r){return s.List_List$of(this,true,s._instanceType(this)._precomputed1)},toList$0(e){return this.toList$1$growable(e,true)},map$1$1(e,r,n){return new s.EfficientLengthMappedIterable(this,r,s._instanceType(this)._eval$1("@<1>")._bind$1(n)._eval$1("EfficientLengthMappedIterable<1,2>"))},get$single(e){var r,n=this;if(n.get$length(n)>1)throw s.wrapException(s.IterableElementError_tooMany());r=n.get$iterator(n);if(!r.moveNext$0())throw s.wrapException(s.IterableElementError_noElement());return r.get$current(r)},toString$0(e){return s.IterableBase_iterableToFullString(this,"{","}")},where$1(e,r){return new s.WhereIterable(this,r,s._instanceType(this)._eval$1("WhereIterable<1>"))},join$1(e,r){var n,i=this.get$iterator(this);if(!i.moveNext$0())return"";if(r===""){n="";do{n+=s.S(i.get$current(i))}while(i.moveNext$0())}else{n=""+s.S(i.get$current(i));for(;i.moveNext$0();)n=n+r+s.S(i.get$current(i))}return n.charCodeAt(0)==0?n:n},join$0(e){return this.join$1(e,"")},any$1(e,r){var n;for(n=this.get$iterator(this);n.moveNext$0();)if(r.call$1(n.get$current(n)))return true;return false},take$1(e,r){return s.TakeIterable_TakeIterable(this,r,s._instanceType(this)._precomputed1)},skip$1(e,r){return s.SkipIterable_SkipIterable(this,r,s._instanceType(this)._precomputed1)},get$first(e){var r=this.get$iterator(this);if(!r.moveNext$0())throw s.wrapException(s.IterableElementError_noElement());return r.get$current(r)},get$last(e){var r,n=this.get$iterator(this);if(!n.moveNext$0())throw s.wrapException(s.IterableElementError_noElement());do{r=n.get$current(n)}while(n.moveNext$0());return r},elementAt$1(e,r){var n,i,a,o="index";s.checkNotNullable(r,o,$.int);s.RangeError_checkNotNegative(r,o);for(n=this.get$iterator(this),i=0;n.moveNext$0();){a=n.get$current(n);if(r===i)return a;++i}throw s.wrapException(s.IndexError$(r,this,o,null,i))}};s._SetBase.prototype={difference$1(e){var r,n,i,s=this._newSet$0();for(r=this.get$iterator(this),n=e._source;r.moveNext$0();){i=r.get$current(r);if(!n.contains$1(0,i))s.add$1(0,i)}return s},intersection$1(e){var r,n,i,s=this._newSet$0();for(r=this.get$iterator(this),n=e._baseMap;r.moveNext$0();){i=r.get$current(r);if(n.containsKey$1(i))s.add$1(0,i)}return s},toSet$0(e){var r=this._newSet$0();r.addAll$1(0,this);return r},$isEfficientLengthIterable:1,$isIterable:1,$isSet:1};s._UnmodifiableSetMixin.prototype={add$1(e,r){return s._UnmodifiableSetMixin__throwUnmodifiable()},addAll$1(e,r){return s._UnmodifiableSetMixin__throwUnmodifiable()},remove$1(e,r){return s._UnmodifiableSetMixin__throwUnmodifiable()}};s._UnmodifiableSet.prototype={_newSet$0(){return s.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1)},contains$1(e,r){return this._map.containsKey$1(r)},get$iterator(e){var r=this._map;return a.get$iterator$ax(r.get$keys(r))},get$length(e){var r=this._map;return r.get$length(r)}};s._ListBase_Object_ListMixin.prototype={};s._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype={};s.__SetBase_Object_SetMixin.prototype={};s.__UnmodifiableSet__SetBase__UnmodifiableSetMixin.prototype={};s.Utf8Decoder__decoder_closure.prototype={call$0(){var e,r;try{e=new TextDecoder("utf-8",{fatal:true});return e}catch(r){}return null},$signature:87};s.Utf8Decoder__decoderNonfatal_closure.prototype={call$0(){var e,r;try{e=new TextDecoder("utf-8",{fatal:false});return e}catch(r){}return null},$signature:87};s.AsciiCodec.prototype={encode$1(e){return o.AsciiEncoder_127.convert$1(e)},get$encoder(){return o.AsciiEncoder_127}};s._UnicodeSubsetEncoder.prototype={convert$1(e){var r,n,i,a=s.RangeError_checkValidRange(0,null,e.length)-0,l=new Uint8Array(a);for(r=~this._subsetMask,n=0;n=0){S=o.JSString_methods.codeUnitAt$1(c.ABCDEF,v);if(S===m)continue;m=S}else{if(v===-1){if($<0){b=_==null?null:_._contents.length;if(b==null)b=0;$=b+(a-l);p=a}++h;if(m===61)continue}m=S}if(v!==-2){if(_==null){_=new s.StringBuffer("");b=_}else b=_;x=b._contents+=o.JSString_methods.substring$2(e,l,a);b._contents=x+s.Primitives_stringFromCharCode(m);l=d;continue}}throw s.wrapException(s.FormatException$("Invalid base64 data",e,a))}if(_!=null){b=_._contents+=o.JSString_methods.substring$2(e,l,n);x=b.length;if($>=0)s.Base64Codec__checkPadding(e,p,n,$,h,x);else{w=o.JSInt_methods.$mod(x-1,4)+1;if(w===1)throw s.wrapException(s.FormatException$(E,e,n));for(;w<4;){b+="=";_._contents=b;++w}}b=_._contents;return o.JSString_methods.replaceRange$3(e,r,n,b.charCodeAt(0)==0?b:b)}C=n-r;if($>=0)s.Base64Codec__checkPadding(e,p,n,$,h,C);else{w=o.JSInt_methods.$mod(C,4);if(w===1)throw s.wrapException(s.FormatException$(E,e,n));if(w>1)e=o.JSString_methods.replaceRange$3(e,n,n,w===2?"==":"=")}return e}};s.Base64Encoder.prototype={convert$1(e){var r=a.getInterceptor$asx(e);if(r.get$isEmpty(e))return"";r=new s._Base64Encoder(c.ABCDEF).encode$4(e,0,r.get$length(e),true);r.toString;return s.String_String$fromCharCodes(r,0,null)},startChunkedConversion$1(e){return new s._Utf8Base64EncoderSink(new s._Utf8StringSinkAdapter(new s._Utf8Decoder(false),e,e._stringSink),new s._Base64Encoder(c.ABCDEF))}};s._Base64Encoder.prototype={createBuffer$1(e){return new Uint8Array(e)},encode$4(e,r,n,i){var a,l=this,u=(l._convert$_state&3)+(n-r),_=o.JSInt_methods._tdivFast$1(u,3),c=_*4;if(i&&u-_*3>0)c+=4;a=l.createBuffer$1(c);l._convert$_state=s._Base64Encoder_encodeChunk(l._alphabet,e,r,n,i,a,0,l._convert$_state);if(c>0)return a;return null}};s._Base64EncoderSink.prototype={add$1(e,r){this._convert$_add$4(r,0,r.get$length(r),false)}};s._Utf8Base64EncoderSink.prototype={_convert$_add$4(e,r,n,i){var s=this._encoder.encode$4(e,r,n,i);if(s!=null)this._sink.addSlice$4(s,0,s.length,i)}};s.ByteConversionSink.prototype={};s.ByteConversionSinkBase.prototype={};s.ChunkedConversionSink.prototype={};s.Codec.prototype={encode$1(e){return this.get$encoder().convert$1(e)}};s.Converter.prototype={};s.Encoding.prototype={};s.JsonUnsupportedObjectError.prototype={toString$0(e){var r=s.Error_safeToString(this.unsupportedObject);return(this.cause!=null?"Converting object to an encodable object failed:":"Converting object did not return an encodable object:")+" "+r}};s.JsonCyclicError.prototype={toString$0(e){return"Cyclic error in JSON stringify"}};s.JsonCodec.prototype={encode$2$toEncodable(e,r){var n=s._JsonStringStringifier_stringify(e,this.get$encoder()._toEncodable,null);return n},get$encoder(){return o.JsonEncoder_null}};s.JsonEncoder.prototype={convert$1(e){var r,n=new s.StringBuffer(""),i=s._JsonStringStringifier$(n,this._toEncodable);i.writeObject$1(e);r=n._contents;return r.charCodeAt(0)==0?r:r}};s._JsonStringifier.prototype={writeStringContent$1(e){var r,n,i,s,a,l=this,u=e.length;for(r=0,n=0;n92){if(i>=55296){s=i&64512;if(s===55296){a=n+1;a=!(a=0&&(o.JSString_methods.codeUnitAt$1(e,s)&64512)===55296)}else s=false;else s=true;if(s){if(n>r)l.writeStringSlice$3(e,r,n);r=n+1;l.writeCharCode$1(92);l.writeCharCode$1(117);l.writeCharCode$1(100);s=i>>>8&15;l.writeCharCode$1(s<10?48+s:87+s);s=i>>>4&15;l.writeCharCode$1(s<10?48+s:87+s);s=i&15;l.writeCharCode$1(s<10?48+s:87+s)}}continue}if(i<32){if(n>r)l.writeStringSlice$3(e,r,n);r=n+1;l.writeCharCode$1(92);switch(i){case 8:l.writeCharCode$1(98);break;case 9:l.writeCharCode$1(116);break;case 10:l.writeCharCode$1(110);break;case 12:l.writeCharCode$1(102);break;case 13:l.writeCharCode$1(114);break;default:l.writeCharCode$1(117);l.writeCharCode$1(48);l.writeCharCode$1(48);s=i>>>4&15;l.writeCharCode$1(s<10?48+s:87+s);s=i&15;l.writeCharCode$1(s<10?48+s:87+s);break}}else if(i===34||i===92){if(n>r)l.writeStringSlice$3(e,r,n);r=n+1;l.writeCharCode$1(92);l.writeCharCode$1(i)}}if(r===0)l.writeString$1(e);else if(r>>18|240;s=o._bufferIndex=a+1;i[a]=n>>>12&63|128;a=o._bufferIndex=s+1;i[s]=n>>>6&63|128;o._bufferIndex=a+1;i[a]=n&63|128;return true}else{o._writeReplacementCharacter$0();return false}},_fillBuffer$3(e,r,n){var i,s,a,l,u,_,c,$=this;if(r!==n&&(o.JSString_methods.codeUnitAt$1(e,n-1)&64512)===55296)--n;for(i=$._convert$_buffer,s=i.length,a=r;a=s)break;$._bufferIndex=u+1;i[u]=l}else{u=l&64512;if(u===55296){if($._bufferIndex+4>s)break;_=a+1;if($._writeSurrogate$2(l,o.JSString_methods._codeUnitAt$1(e,_)))a=_}else if(u===56320){if($._bufferIndex+3>s)break;$._writeReplacementCharacter$0()}else if(l<=2047){u=$._bufferIndex;c=u+1;if(c>=s)break;$._bufferIndex=c;i[u]=l>>>6|192;$._bufferIndex=c+1;i[c]=l&63|128}else{u=$._bufferIndex;if(u+2>=s)break;c=$._bufferIndex=u+1;i[u]=l>>>12|224;u=$._bufferIndex=c+1;i[c]=l>>>6&63|128;$._bufferIndex=u+1;i[u]=l&63|128}}}return a}};s.Utf8Decoder.prototype={convert$1(e){var r=this._allowMalformed,n=s.Utf8Decoder__convertIntercepted(r,e,0,null);if(n!=null)return n;return new s._Utf8Decoder(r).convertGeneral$4(e,0,null,true)}};s._Utf8Decoder.prototype={convertGeneral$4(e,r,n,i){var o,l,u,_,c,p=this,h=s.RangeError_checkValidRange(r,n,a.get$length$asx(e));if(r===h)return"";if($.Uint8List._is(e)){o=e;l=0}else{o=s._Utf8Decoder__makeUint8List(e,r,h);h-=r;l=r;r=0}u=p._convertRecursive$4(o,r,h,i);_=p._convert$_state;if((_&1)!==0){c=s._Utf8Decoder_errorDescription(_);p._convert$_state=0;throw s.wrapException(s.FormatException$(c,e,l+p._charOrIndex))}return u},_convertRecursive$4(e,r,n,i){var s,a,l=this;if(n-r>1e3){s=o.JSInt_methods._tdivFast$1(r+n,2);a=l._convertRecursive$4(e,r,s,false);if((l._convert$_state&1)!==0)return a;return a+l._convertRecursive$4(e,s,n,i)}return l.decodeGeneral$4(e,r,n,i)},flush$1(e){var r=this._convert$_state;this._convert$_state=0;if(r<=32)return;if(this.allowMalformed)e._contents+=s.Primitives_stringFromCharCode(65533);else throw s.wrapException(s.FormatException$(s._Utf8Decoder_errorDescription(77),null,null))},decodeGeneral$4(e,r,n,i){var a,l,u,_,c,$,p,h=this,d=65533,m=h._convert$_state,g=h._charOrIndex,f=new s.StringBuffer(""),y=r+1,S=e[r];e:for(a=h.allowMalformed;true;){for(;true;y=_){l=o.JSString_methods._codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE",S)&31;g=m<=32?S&61694>>>l:(S&63|g<<6)>>>0;m=o.JSString_methods._codeUnitAt$1(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\0\0\0\0\0AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000€0AAAAA\0\0\0\0 AAAAA",m+l);if(m===0){f._contents+=s.Primitives_stringFromCharCode(g);if(y===n)break e;break}else if((m&1)!==0){if(a)switch(m){case 69:case 67:f._contents+=s.Primitives_stringFromCharCode(d);break;case 65:f._contents+=s.Primitives_stringFromCharCode(d);--y;break;default:u=f._contents+=s.Primitives_stringFromCharCode(d);f._contents=u+s.Primitives_stringFromCharCode(d);break}else{h._convert$_state=m;h._charOrIndex=y-1;return""}m=0}if(y===n)break e;_=y+1;S=e[y]}_=y+1;S=e[y];if(S<128){while(true){if(!(_=128){c=$-1;_=$;break}_=$}if(c-y<20)for(p=y;p32)if(a)f._contents+=s.Primitives_stringFromCharCode(d);else{h._convert$_state=77;h._charOrIndex=n;return""}h._convert$_state=m;h._charOrIndex=g;a=f._contents;return a.charCodeAt(0)==0?a:a}};s.NoSuchMethodError_toString_closure.prototype={call$2(e,r){var n=this.sb,i=this._box_0,a=n._contents+=i.comma;a+=e.__internal$_name;n._contents=a;n._contents=a+": ";n._contents+=s.Error_safeToString(r);i.comma=", "},$signature:432};s.DateTime.prototype={add$1(e,r){return s.DateTime$_withValue(o.JSInt_methods.$add(this._core$_value,r.get$inMilliseconds()),false)},$eq(e,r){if(r==null)return false;return r instanceof s.DateTime&&this._core$_value===r._core$_value&&true},compareTo$1(e,r){return o.JSInt_methods.compareTo$1(this._core$_value,r._core$_value)},get$hashCode(e){var r=this._core$_value;return(r^o.JSInt_methods._shrOtherPositive$1(r,30))&1073741823},toString$0(e){var r=this,n=s.DateTime__fourDigits(s.Primitives_getYear(r)),i=s.DateTime__twoDigits(s.Primitives_getMonth(r)),a=s.DateTime__twoDigits(s.Primitives_getDay(r)),o=s.DateTime__twoDigits(s.Primitives_getHours(r)),l=s.DateTime__twoDigits(s.Primitives_getMinutes(r)),u=s.DateTime__twoDigits(s.Primitives_getSeconds(r)),_=s.DateTime__threeDigits(s.Primitives_getMilliseconds(r));return n+"-"+i+"-"+a+" "+o+":"+l+":"+u+"."+_},$isComparable:1};s.Duration.prototype={$eq(e,r){if(r==null)return false;return r instanceof s.Duration&&this._duration===r._duration},get$hashCode(e){return o.JSInt_methods.get$hashCode(this._duration)},compareTo$1(e,r){return o.JSInt_methods.compareTo$1(this._duration,r._duration)},toString$0(e){var r,n,i,s,a=this._duration,l=o.JSInt_methods._tdivFast$1(a,36e8);a%=36e8;if(a<0)a=-a;r=o.JSInt_methods._tdivFast$1(a,6e7);a%=6e7;n=r<10?"0":"";i=o.JSInt_methods._tdivFast$1(a,1e6);s=i<10?"0":"";return""+l+":"+n+r+":"+s+i+"."+o.JSString_methods.padLeft$2(o.JSInt_methods.toString$0(a%1e6),6,"0")},$isComparable:1};s.Error.prototype={get$stackTrace(){return s.getTraceFromException(this.$thrownJsError)}};s.AssertionError.prototype={toString$0(e){var r=this.message;if(r!=null)return"Assertion failed: "+s.Error_safeToString(r);return"Assertion failed"},get$message(e){return this.message}};s.TypeError.prototype={};s.NullThrownError.prototype={toString$0(e){return"Throw of null."}};s.ArgumentError.prototype={get$_errorName(){return"Invalid argument"+(!this._hasValue?"(s)":"")},get$_errorExplanation(){return""},toString$0(e){var r=this,n=r.name,i=n==null?"":" ("+n+")",a=r.message,o=a==null?"":": "+s.S(a),l=r.get$_errorName()+i+o;if(!r._hasValue)return l;return l+r.get$_errorExplanation()+": "+s.Error_safeToString(r.invalidValue)},get$message(e){return this.message}};s.RangeError.prototype={get$_errorName(){return"RangeError"},get$_errorExplanation(){var e,r=this.start,n=this.end;if(r==null)e=n!=null?": Not less than or equal to "+s.S(n):"";else if(n==null)e=": Not greater than or equal to "+s.S(r);else if(n>r)e=": Not in inclusive range "+s.S(r)+".."+s.S(n);else e=nf.length;else r=false;if(r)g=null;if(g==null){if(f.length>78)f=o.JSString_methods.substring$2(f,0,75)+"...";return m+"\n"+f}for(n=1,i=0,a=false,l=0;l1?m+(" (at line "+n+", character "+(g-i+1)+")\n"):m+(" (at character "+(g+1)+")\n");_=f.length;for(l=g;l<_;++l){u=o.JSString_methods.codeUnitAt$1(f,l);if(u===10||u===13){_=l;break}}if(_-i>78)if(g-i<75){c=i+75;$=i;p="";h="..."}else{if(_-g<75){$=_-75;c=_;h=""}else{$=g-36;c=g+36;h="..."}p="..."}else{c=_;$=i;p="";h=""}return m+p+o.JSString_methods.substring$2(f,$,c)+h+"\n"+o.JSString_methods.$mul(" ",g-$+p.length)+"^\n"}else return g!=null?m+(" (at offset "+s.S(g)+")"):m},$isException:1,get$message(e){return this.message}};s.Iterable.prototype={cast$1$0(e,r){return s.CastIterable_CastIterable(this,s._instanceType(this)._eval$1("Iterable.E"),r)},followedBy$1(e,r){var n=this,i=s._instanceType(n);if(i._eval$1("EfficientLengthIterable")._is(n))return s.FollowedByIterable_FollowedByIterable$firstEfficient(n,r,i._eval$1("Iterable.E"));return new s.FollowedByIterable(n,r,i._eval$1("FollowedByIterable"))},map$1$1(e,r,n){return s.MappedIterable_MappedIterable(this,r,s._instanceType(this)._eval$1("Iterable.E"),n)},where$1(e,r){return new s.WhereIterable(this,r,s._instanceType(this)._eval$1("WhereIterable"))},expand$1$1(e,r,n){return new s.ExpandIterable(this,r,s._instanceType(this)._eval$1("@")._bind$1(n)._eval$1("ExpandIterable<1,2>"))},contains$1(e,r){var n;for(n=this.get$iterator(this);n.moveNext$0();)if(a.$eq$(n.get$current(n),r))return true;return false},fold$1$2(e,r,n){var i,s;for(i=this.get$iterator(this),s=r;i.moveNext$0();)s=n.call$2(s,i.get$current(i));return s},fold$2(e,r,n){return this.fold$1$2(e,r,n,$.dynamic)},join$1(e,r){var n,i=this.get$iterator(this);if(!i.moveNext$0())return"";if(r===""){n="";do{n+=s.S(a.toString$0$(i.get$current(i)))}while(i.moveNext$0())}else{n=""+s.S(a.toString$0$(i.get$current(i)));for(;i.moveNext$0();)n=n+r+s.S(a.toString$0$(i.get$current(i)))}return n.charCodeAt(0)==0?n:n},join$0(e){return this.join$1(e,"")},any$1(e,r){var n;for(n=this.get$iterator(this);n.moveNext$0();)if(r.call$1(n.get$current(n)))return true;return false},toList$1$growable(e,r){return s.List_List$of(this,r,s._instanceType(this)._eval$1("Iterable.E"))},toList$0(e){return this.toList$1$growable(e,true)},toSet$0(e){return s.LinkedHashSet_LinkedHashSet$of(this,s._instanceType(this)._eval$1("Iterable.E"))},get$length(e){var r,n=this.get$iterator(this);for(r=0;n.moveNext$0();)++r;return r},get$isEmpty(e){return!this.get$iterator(this).moveNext$0()},get$isNotEmpty(e){return!this.get$isEmpty(this)},take$1(e,r){return s.TakeIterable_TakeIterable(this,r,s._instanceType(this)._eval$1("Iterable.E"))},skip$1(e,r){return s.SkipIterable_SkipIterable(this,r,s._instanceType(this)._eval$1("Iterable.E"))},skipWhile$1(e,r){return new s.SkipWhileIterable(this,r,s._instanceType(this)._eval$1("SkipWhileIterable"))},get$first(e){var r=this.get$iterator(this);if(!r.moveNext$0())throw s.wrapException(s.IterableElementError_noElement());return r.get$current(r)},get$last(e){var r,n=this.get$iterator(this);if(!n.moveNext$0())throw s.wrapException(s.IterableElementError_noElement());do{r=n.get$current(n)}while(n.moveNext$0());return r},get$single(e){var r,n=this.get$iterator(this);if(!n.moveNext$0())throw s.wrapException(s.IterableElementError_noElement());r=n.get$current(n);if(n.moveNext$0())throw s.wrapException(s.IterableElementError_tooMany());return r},elementAt$1(e,r){var n,i,a;s.RangeError_checkNotNegative(r,"index");for(n=this.get$iterator(this),i=0;n.moveNext$0();){a=n.get$current(n);if(r===i)return a;++i}throw s.wrapException(s.IndexError$(r,this,"index",null,i))},toString$0(e){return s.IterableBase_iterableToShortString(this,"(",")")}};s._GeneratorIterable.prototype={elementAt$1(e,r){s.RangeError_checkValidIndex(r,this,null);return this._generator.call$1(r)},get$length(e){return this.length}};s.Iterator.prototype={};s.MapEntry.prototype={toString$0(e){return"MapEntry("+s.S(this.key)+": "+s.S(this.value)+")"}};s.Null.prototype={get$hashCode(e){return s.Object.prototype.get$hashCode.call(this,this)},toString$0(e){return"null"}};s.Object.prototype={$isObject:1,$eq(e,r){return this===r},get$hashCode(e){return s.Primitives_objectHashCode(this)},toString$0(e){return"Instance of '"+s.Primitives_objectTypeName(this)+"'"},noSuchMethod$1(e,r){throw s.wrapException(s.NoSuchMethodError$(this,r.get$memberName(),r.get$positionalArguments(),r.get$namedArguments()))},get$runtimeType(e){var r=this instanceof s.Closure?s.closureFunctionType(this):null;return s.createRuntimeType(r==null?s.instanceType(this):r)},toString(){return this.toString$0(this)}};s._StringStackTrace.prototype={toString$0(e){return this._stackTrace},$isStackTrace:1};s.Runes.prototype={get$iterator(e){return new s.RuneIterator(this.string)},get$last(e){var r,n,i=this.string,a=i.length;if(a===0)throw s.wrapException(s.StateError$("No elements."));r=o.JSString_methods.codeUnitAt$1(i,a-1);if((r&64512)===56320&&a>1){n=o.JSString_methods.codeUnitAt$1(i,a-2);if((n&64512)===55296)return s._combineSurrogatePair(n,r)}return r}};s.RuneIterator.prototype={get$current(e){return this._currentCodePoint},moveNext$0(){var e,r,n,i=this,a=i._position=i._nextPosition,l=i.string,u=l.length;if(a===u){i._currentCodePoint=-1;return false}e=o.JSString_methods._codeUnitAt$1(l,a);r=a+1;if((e&64512)===55296&&r4)this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits",e);n=s.int_parse(o.JSString_methods.substring$2(this.host,e,r),16);if(n<0||n>65535)this.error.call$2("each part must be in the range of `0x0..0xFFFF`",e);return n},$signature:564};s._Uri.prototype={get$_text(){var e,r,n,i,a=this,o=a.___Uri__text;if(o===u){e=a.scheme;r=e.length!==0?""+e+":":"";n=a._host;i=n==null;if(!i||e==="file"){e=r+"//";r=a._userInfo;if(r.length!==0)e=e+r+"@";if(!i)e+=n;r=a._port;if(r!=null)e=e+":"+s.S(r)}else e=r;e+=a.path;r=a._query;if(r!=null)e=e+"?"+r;r=a._fragment;if(r!=null)e=e+"#"+r;s._lateInitializeOnceCheck(o,"_text");o=a.___Uri__text=e.charCodeAt(0)==0?e:e}return o},get$pathSegments(){var e,r,n=this,i=n.___Uri_pathSegments;if(i===u){e=n.path;if(e.length!==0&&o.JSString_methods._codeUnitAt$1(e,0)===47)e=o.JSString_methods.substring$1(e,1);r=e.length===0?o.List_empty:s.List_List$unmodifiable(new s.MappedListIterable(s._setArrayType(e.split("/"),$.JSArray_String),s.core_Uri_decodeComponent$closure(),$.MappedListIterable_String_dynamic),$.String);s._lateInitializeOnceCheck(n.___Uri_pathSegments,"pathSegments");i=n.___Uri_pathSegments=r}return i},get$hashCode(e){var r,n=this,i=n.___Uri_hashCode;if(i===u){r=o.JSString_methods.get$hashCode(n.get$_text());s._lateInitializeOnceCheck(n.___Uri_hashCode,"hashCode");n.___Uri_hashCode=r;i=r}return i},get$userInfo(){return this._userInfo},get$host(){var e=this._host;if(e==null)return"";if(o.JSString_methods.startsWith$1(e,"["))return o.JSString_methods.substring$2(e,1,e.length-1);return e},get$port(e){var r=this._port;return r==null?s._Uri__defaultPort(this.scheme):r},get$query(){var e=this._query;return e==null?"":e},get$fragment(){var e=this._fragment;return e==null?"":e},isScheme$1(e){var r=this.scheme;if(e.length!==r.length)return false;return s._caseInsensitiveCompareStart(e,r,0)>=0},_mergePaths$2(e,r){var n,i,s,a,l,u;for(n=0,i=0;o.JSString_methods.startsWith$2(r,"../",i);){i+=3;++n}s=o.JSString_methods.lastIndexOf$1(e,"/");while(true){if(!(s>0&&n>0))break;a=o.JSString_methods.lastIndexOf$2(e,"/",s-1);if(a<0)break;l=s-a;u=l!==2;if(!u||l===3)if(o.JSString_methods.codeUnitAt$1(e,a+1)===46)u=!u||o.JSString_methods.codeUnitAt$1(e,a+2)===46;else u=false;else u=false;if(u)break;--n;s=a}return o.JSString_methods.replaceRange$3(e,s+1,null,o.JSString_methods.substring$1(r,i-3*n))},resolve$1(e){return this.resolveUri$1(s.Uri_parse(e))},resolveUri$1(e){var r,n,i,a,l,u,_,c,$,p,h=this,d=null;if(e.get$scheme().length!==0){r=e.get$scheme();if(e.get$hasAuthority()){n=e.get$userInfo();i=e.get$host();a=e.get$hasPort()?e.get$port(e):d}else{a=d;i=a;n=""}l=s._Uri__removeDotSegments(e.get$path(e));u=e.get$hasQuery()?e.get$query():d}else{r=h.scheme;if(e.get$hasAuthority()){n=e.get$userInfo();i=e.get$host();a=s._Uri__makePort(e.get$hasPort()?e.get$port(e):d,r);l=s._Uri__removeDotSegments(e.get$path(e));u=e.get$hasQuery()?e.get$query():d}else{n=h._userInfo;i=h._host;a=h._port;l=h.path;if(e.get$path(e)==="")u=e.get$hasQuery()?e.get$query():h._query;else{_=s._Uri__packageNameEnd(h,l);if(_>0){c=o.JSString_methods.substring$2(l,0,_);l=e.get$hasAbsolutePath()?c+s._Uri__removeDotSegments(e.get$path(e)):c+s._Uri__removeDotSegments(h._mergePaths$2(o.JSString_methods.substring$1(l,c.length),e.get$path(e)))}else if(e.get$hasAbsolutePath())l=s._Uri__removeDotSegments(e.get$path(e));else if(l.length===0)if(i==null)l=r.length===0?e.get$path(e):s._Uri__removeDotSegments(e.get$path(e));else l=s._Uri__removeDotSegments("/"+e.get$path(e));else{$=h._mergePaths$2(l,e.get$path(e));p=r.length===0;if(!p||i!=null||o.JSString_methods.startsWith$1(l,"/"))l=s._Uri__removeDotSegments($);else l=s._Uri__normalizeRelativePath($,!p||i!=null)}u=e.get$hasQuery()?e.get$query():d}}}return s._Uri$_internal(r,n,i,a,l,u,e.get$hasFragment()?e.get$fragment():d)},get$hasAuthority(){return this._host!=null},get$hasPort(){return this._port!=null},get$hasQuery(){return this._query!=null},get$hasFragment(){return this._fragment!=null},get$hasAbsolutePath(){return o.JSString_methods.startsWith$1(this.path,"/")},toFilePath$0(){var e,r=this,n=r.scheme;if(n!==""&&n!=="file")throw s.wrapException(s.UnsupportedError$("Cannot extract a file path from a "+n+" URI"));n=r._query;if((n==null?"":n)!=="")throw s.wrapException(s.UnsupportedError$(c.Cannotfq));n=r._fragment;if((n==null?"":n)!=="")throw s.wrapException(s.UnsupportedError$(c.Cannotff));n=u.$get$_Uri__isWindowsCached();if(n)n=s._Uri__toWindowsFilePath(r);else{if(r._host!=null&&r.get$host()!=="")s.throwExpression(s.UnsupportedError$(c.Cannotn));e=r.get$pathSegments();s._Uri__checkNonWindowsPathReservedCharacters(e,false);n=s.StringBuffer__writeAll(o.JSString_methods.startsWith$1(r.path,"/")?""+"/":"",e,"/");n=n.charCodeAt(0)==0?n:n}return n},toString$0(e){return this.get$_text()},$eq(e,r){var n,i,s=this;if(r==null)return false;if(s===r)return true;if($.Uri._is(r))if(s.scheme===r.get$scheme())if(s._host!=null===r.get$hasAuthority())if(s._userInfo===r.get$userInfo())if(s.get$host()===r.get$host())if(s.get$port(s)===r.get$port(r))if(s.path===r.get$path(r)){n=s._query;i=n==null;if(!i===r.get$hasQuery()){if(i)n="";if(n===r.get$query()){n=s._fragment;i=n==null;if(!i===r.get$hasFragment()){if(i)n="";n=n===r.get$fragment()}else n=false}else n=false}else n=false}else n=false;else n=false;else n=false;else n=false;else n=false;else n=false;else n=false;return n},$isUri:1,get$scheme(){return this.scheme},get$path(e){return this.path}};s._Uri__makePath_closure.prototype={call$1(e){return s._Uri__uriEncode(o.List_qg40,e,o.C_Utf8Codec,false)},$signature:5};s.UriData.prototype={get$uri(){var e,r,n,i,a=this,l=null,u=a._uriCache;if(u==null){u=a._text;e=a._separatorIndices[0]+1;r=o.JSString_methods.indexOf$2(u,"?",e);n=u.length;if(r>=0){i=s._Uri__normalizeOrSubstring(u,r+1,n,o.List_CVk,false);n=r}else i=l;u=a._uriCache=new s._DataUri("data","",l,l,s._Uri__normalizeOrSubstring(u,e,n,o.List_qg4,false),i,l)}return u},toString$0(e){var r=this._text;return this._separatorIndices[0]===-1?"data:"+r:r}};s._createTables_build.prototype={call$2(e,r){var n=this.tables[e];o.NativeUint8List_methods.fillRange$3(n,0,96,r);return n},$signature:302};s._createTables_setChars.prototype={call$3(e,r,n){var i,s;for(i=r.length,s=0;s>>0]=n},$signature:196};s._SimpleUri.prototype={get$hasAuthority(){return this._hostStart>0},get$hasPort(){return this._hostStart>0&&this._portStart+1r?o.JSString_methods.substring$2(this._uri,r,e-1):""},get$host(){var e=this._hostStart;return e>0?o.JSString_methods.substring$2(this._uri,e,this._portStart):""},get$port(e){var r,n=this;if(n.get$hasPort())return s.int_parse(o.JSString_methods.substring$2(n._uri,n._portStart+1,n._pathStart),null);r=n._schemeEnd;if(r===4&&o.JSString_methods.startsWith$1(n._uri,"http"))return 80;if(r===5&&o.JSString_methods.startsWith$1(n._uri,"https"))return 443;return 0},get$path(e){return o.JSString_methods.substring$2(this._uri,this._pathStart,this._queryStart)},get$query(){var e=this._queryStart,r=this._fragmentStart;return e=n.length)return e;return new s._SimpleUri(o.JSString_methods.substring$2(n,0,r),e._schemeEnd,e._hostStart,e._portStart,e._pathStart,e._queryStart,r,e._schemeCache)},resolve$1(e){return this.resolveUri$1(s.Uri_parse(e))},resolveUri$1(e){if(e instanceof s._SimpleUri)return this._simpleMerge$2(this,e);return this._toNonSimple$0().resolveUri$1(e)},_simpleMerge$2(e,r){var n,i,a,l,u,_,c,$,p,h,d,m,g,f,y,S,v=r._schemeEnd;if(v>0)return r;n=r._hostStart;if(n>0){i=e._schemeEnd;if(i<=0)return r;a=i===4;if(a&&o.JSString_methods.startsWith$1(e._uri,"file"))l=r._pathStart!==r._queryStart;else if(a&&o.JSString_methods.startsWith$1(e._uri,"http"))l=!r._isPort$1("80");else l=!(i===5&&o.JSString_methods.startsWith$1(e._uri,"https"))||!r._isPort$1("443");if(l){u=i+1;return new s._SimpleUri(o.JSString_methods.substring$2(e._uri,0,u)+o.JSString_methods.substring$1(r._uri,v+1),i,n+u,r._portStart+u,r._pathStart+u,r._queryStart+u,r._fragmentStart+u,e._schemeCache)}else return this._toNonSimple$0().resolveUri$1(r)}_=r._pathStart;v=r._queryStart;if(_===v){n=r._fragmentStart;if(v0?$:c;u=p-_;return new s._SimpleUri(o.JSString_methods.substring$2(e._uri,0,p)+o.JSString_methods.substring$1(n,_),e._schemeEnd,e._hostStart,e._portStart,c,v+u,r._fragmentStart+u,e._schemeCache)}h=e._pathStart;d=e._queryStart;if(h===d&&e._hostStart>0){for(;o.JSString_methods.startsWith$2(n,"../",_);)_+=3;u=h-_+1;return new s._SimpleUri(o.JSString_methods.substring$2(e._uri,0,h)+"/"+o.JSString_methods.substring$1(n,_),e._schemeEnd,e._hostStart,e._portStart,h,v+u,r._fragmentStart+u,e._schemeCache)}m=e._uri;$=s._SimpleUri__packageNameEnd(this);if($>=0)g=$;else for(g=h;o.JSString_methods.startsWith$2(m,"../",g);)g+=3;f=0;while(true){y=_+3;if(!(y<=v&&o.JSString_methods.startsWith$2(n,"../",_)))break;++f;_=y}for(S="";d>g;){--d;if(o.JSString_methods.codeUnitAt$1(m,d)===47){if(f===0){S="/";break}--f;S="/"}}if(d===g&&e._schemeEnd<=0&&!o.JSString_methods.startsWith$2(m,"/",h)){_-=f*3;S=""}u=d-_+S.length;return new s._SimpleUri(o.JSString_methods.substring$2(m,0,d)+S+o.JSString_methods.substring$1(n,_),e._schemeEnd,e._hostStart,e._portStart,h,v+u,r._fragmentStart+u,e._schemeCache)},toFilePath$0(){var e,r,n=this,i=n._schemeEnd;if(i>=0){e=!(i===4&&o.JSString_methods.startsWith$1(n._uri,"file"));i=e}else i=false;if(i)throw s.wrapException(s.UnsupportedError$("Cannot extract a file path from a "+n.get$scheme()+" URI"));i=n._queryStart;e=n._uri;if(i0?e.get$host():r,l=e.get$hasPort()?e.get$port(e):r,u=e._uri,_=e._queryStart,c=o.JSString_methods.substring$2(u,e._pathStart,_),$=e._fragmentStart;_=_<$?e.get$query():r;return s._Uri$_internal(n,i,a,l,c,_,$4294967296)throw s.wrapException(s.RangeError$("max must be in range 0 < max ≤ 2^32, was "+e));return Math.random()*e>>>0},nextDouble$0(){return Math.random()}};s.ArgParser.prototype={addFlag$6$abbr$defaultsTo$help$hide$negatable(e,r,n,i,s,a){var l=null;this._addOption$12$aliases$hide$negatable(e,r,i,l,l,l,n,l,o.OptionType_nMZ,o.List_empty,s,a)},addFlag$2$hide(e,r){return this.addFlag$6$abbr$defaultsTo$help$hide$negatable(e,null,false,null,r,true)},addFlag$2$help(e,r){return this.addFlag$6$abbr$defaultsTo$help$hide$negatable(e,null,false,r,false,true)},addFlag$3$defaultsTo$help(e,r,n){return this.addFlag$6$abbr$defaultsTo$help$hide$negatable(e,null,r,n,false,true)},addFlag$3$help$negatable(e,r,n){return this.addFlag$6$abbr$defaultsTo$help$hide$negatable(e,null,false,r,false,n)},addFlag$4$abbr$help$negatable(e,r,n,i){return this.addFlag$6$abbr$defaultsTo$help$hide$negatable(e,r,false,n,false,i)},addFlag$3$abbr$help(e,r,n){return this.addFlag$6$abbr$defaultsTo$help$hide$negatable(e,r,false,n,false,true)},addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp(e,r,n,i,s,a,l){this._addOption$12$aliases$hide$mandatory(e,r,s,l,n,null,i,null,o.OptionType_YwU,o.List_empty,a,false)},addOption$2$hide(e,r){return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp(e,null,null,null,null,r,null)},addOption$6$abbr$allowed$defaultsTo$help$valueHelp(e,r,n,i,s,a){return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp(e,r,n,i,s,false,a)},addOption$4$allowed$defaultsTo$help(e,r,n,i){return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp(e,null,r,n,i,false,null)},addMultiOption$5$abbr$help$splitCommas$valueHelp(e,r,n,i,a){var l=s._setArrayType([],$.JSArray_String);this._addOption$12$aliases$hide$splitCommas(e,r,n,a,null,null,l,null,o.OptionType_qyr,o.List_empty,false,false)},_addOption$14$aliases$hide$mandatory$negatable$splitCommas(e,r,n,i,a,l,_,c,p,h,d,m,g,f){var y,S,v,b,x=this,w=null,C=s._setArrayType([e],$.JSArray_String);o.JSArray_methods.addAll$1(C,h);if(o.JSArray_methods.any$1(C,new s.ArgParser__addOption_closure(x)))throw s.wrapException(s.ArgumentError$('Duplicate option or alias "'+e+'".',w));C=r!=null;if(C){y=x.findByAbbreviation$1(r);if(y!=null)throw s.wrapException(s.ArgumentError$('Abbreviation "'+r+'" is already used by "'+y.name+'".',w))}S=a==null?w:s.List_List$unmodifiable(a,$.String);v=new s.Option(e,r,n,i,S,w,_,g,c,p,f==null?p===o.OptionType_qyr:f,false,d);if(e.length===0)s.throwExpression(s.ArgumentError$("Name cannot be empty.",w));else if(o.JSString_methods.startsWith$1(e,"-"))s.throwExpression(s.ArgumentError$("Name "+e+' cannot start with "-".',w));S=u.$get$Option__invalidChars()._nativeRegExp;if(S.test(e))s.throwExpression(s.ArgumentError$('Name "'+e+'" contains invalid characters.',w));if(C){if(r.length!==1)s.throwExpression(s.ArgumentError$("Abbreviation must be null or have length 1.",w));else if(r==="-")s.throwExpression(s.ArgumentError$('Abbreviation cannot be "-".',w));if(S.test(r))s.throwExpression(s.ArgumentError$("Abbreviation is an invalid character.",w))}x._arg_parser$_options.$indexSet(0,e,v);x._optionsAndSeparators.push(v);for(C=x._aliases,b=0;false;++b)C.$indexSet(0,h[b],e)},_addOption$12$aliases$hide$mandatory(e,r,n,i,s,a,o,l,u,_,c,$){return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas(e,r,n,i,s,a,o,l,u,_,c,$,false,null)},_addOption$12$aliases$hide$negatable(e,r,n,i,s,a,o,l,u,_,c,$){return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas(e,r,n,i,s,a,o,l,u,_,c,false,$,null)},_addOption$12$aliases$hide$splitCommas(e,r,n,i,s,a,o,l,u,_,c,$){return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas(e,r,n,i,s,a,o,l,u,_,c,false,false,$)},findByAbbreviation$1(e){var r,n;for(r=this.options._map,r=r.get$values(r),r=r.get$iterator(r);r.moveNext$0();){n=r.get$current(r);if(n.abbr===e)return n}return null},findByNameOrAlias$1(e){var r=this._aliases.$index(0,e);if(r==null)r=e;return this.options._map.$index(0,r)}};s.ArgParser__addOption_closure.prototype={call$1(e){return this.$this.findByNameOrAlias$1(e)!=null},$signature:8};s.ArgParserException.prototype={};s.ArgResults.prototype={$index(e,r){var n=this._parser.options._map;if(!n.containsKey$1(r))throw s.wrapException(s.ArgumentError$('Could not find an option named "'+r+'".',null));n=n.$index(0,r);n.toString;return n.valueOrDefault$1(this._parsed.$index(0,r))},wasParsed$1(e){if(!this._parser.options._map.containsKey$1(e))throw s.wrapException(s.ArgumentError$('Could not find an option named "'+e+'".',null));return this._parsed.containsKey$1(e)}};s.Option.prototype={valueOrDefault$1(e){var r;if(e!=null)return e;if(this.type===o.OptionType_qyr){r=this.defaultsTo;return r==null?s._setArrayType([],$.JSArray_String):r}return this.defaultsTo}};s.OptionType.prototype={};s.Parser0.prototype={parse$0(){var e,r,n,i,l,u,_,c,p,h,d,m,g,f=this,y=f._args;y.toList$0(0);e=null;for(u=f._parser$_rest,_=f._grammar,c=_.commands,p=y.$ti._precomputed1;!y.get$isEmpty(y);){h=y._collection$_head;if(h===y._collection$_tail)s.throwExpression(s.IterableElementError_noElement());h=y._collection$_table[h];d=h==null;if((d?p._as(h):h)==="--"){y.removeFirst$0();break}if(d)h=p._as(h);m=c._map.$index(0,h);if(m!=null){if(u.length!==0)s.throwExpression(s.ArgParserException$("Cannot specify arguments before a command.",null));r=y.removeFirst$0();c=$.JSArray_String;p=s._setArrayType([],c);o.JSArray_methods.addAll$1(p,u);n=new s.Parser0(r,f,m,y,p,s.LinkedHashMap_LinkedHashMap$_empty($.String,$.dynamic));try{e=n.parse$0()}catch(g){y=s.unwrapException(g);if(y instanceof s.ArgParserException){i=y;y=i.message;l=s._setArrayType([r],c);a.addAll$1$ax(l,i.commands);throw s.wrapException(s.ArgParserException$(y,l))}else throw g}o.JSArray_methods.set$length(u,0);break}if(f._parseSoloOption$0())continue;if(f._parseAbbreviation$1(f))continue;if(f._parseLongOption$0())continue;u.push(y.removeFirst$0())}_.options._map.forEach$1(0,new s.Parser_parse_closure(f));o.JSArray_methods.addAll$1(u,y);y.clear$0(0);return new s.ArgResults(_,f._results,f._commandName,new s.UnmodifiableListView(u,$.UnmodifiableListView_String))},_readNextArgAsValue$1(e){var r=this._args;if(r.get$isEmpty(r))s.throwExpression(s.ArgParserException$('Missing argument for "'+e.name+'".',null));this._setOption$3(this._results,e,r.get$first(r));r.removeFirst$0()},_parseSoloOption$0(){var e,r=this._args;if(r.get$first(r).length!==2)return false;if(!o.JSString_methods.startsWith$1(r.get$first(r),"-"))return false;e=r.get$first(r)[1];if(!s._isLetterOrDigit(o.JSString_methods._codeUnitAt$1(e,0)))return false;this._handleSoloOption$1(e);return true},_handleSoloOption$1(e){var r,n=this,i=n._grammar.findByAbbreviation$1(e);if(i==null){r=n._parser$_parent;if(r==null)s.throwExpression(s.ArgParserException$('Could not find an option or flag "-'+e+'".',null));r._handleSoloOption$1(e);return true}n._args.removeFirst$0();if(i.type===o.OptionType_nMZ)n._results.$indexSet(0,i.name,true);else n._readNextArgAsValue$1(i);return true},_parseAbbreviation$1(e){var r,n,i,a,l,u,_=this._args;if(_.get$first(_).length<2)return false;if(!o.JSString_methods.startsWith$1(_.get$first(_),"-"))return false;r=_.$ti._precomputed1;n=1;while(true){i=_._collection$_head;if(i===_._collection$_tail)s.throwExpression(s.IterableElementError_noElement());i=_._collection$_table[i];a=i==null;if(n<(a?r._as(i):i).length){i=o.JSString_methods._codeUnitAt$1(a?r._as(i):i,n);if(!(i>=65&&i<=90))if(!(i>=97&&i<=122))i=i>=48&&i<=57;else i=true;else i=true}else i=false;if(!i)break;++n}if(n===1)return false;l=o.JSString_methods.substring$2(_.get$first(_),1,n);u=o.JSString_methods.substring$1(_.get$first(_),n);if(o.JSString_methods.contains$1(u,"\n")||o.JSString_methods.contains$1(u,"\r"))return false;this._handleAbbreviation$3(l,u,e);return true},_handleAbbreviation$3(e,r,n){var i,a,l,u=this,_=o.JSString_methods.substring$2(e,0,1),$=u._grammar.findByAbbreviation$1(_);if($==null){i=u._parser$_parent;if(i==null)s.throwExpression(s.ArgParserException$(c.Could_+_+'".',null));i._handleAbbreviation$3(e,r,n);return true}else if($.type!==o.OptionType_nMZ)u._setOption$3(u._results,$,o.JSString_methods.substring$1(e,1)+r);else{i=o.JSString_methods.substring$1(e,1);if(r!=="")s.throwExpression(s.ArgParserException$('Option "-'+_+'" is a flag and cannot handle value "'+i+r+'".',null));for(i=e.length,a=0;a=65&&a<=90))if(!(a>=97&&a<=122))l=a>=48&&a<=57;else l=true;else l=true;if(!(l||a===45||a===95))return false}u=r?null:o.JSString_methods.substring$1(_.get$first(_),e+1);if(u!=null)_=o.JSString_methods.contains$1(u,"\n")||o.JSString_methods.contains$1(u,"\r");else _=false;if(_)return false;this._handleLongOption$2(n,u);return true},_handleLongOption$2(e,r){var n=this,i=null,a='Could not find an option named "',l=n._grammar,u=l.findByNameOrAlias$1(e);if(u!=null){n._args.removeFirst$0();if(u.type===o.OptionType_nMZ){if(r!=null)s.throwExpression(s.ArgParserException$('Flag option "'+e+'" should not be given a value.',i));n._results.$indexSet(0,u.name,true)}else if(r!=null)n._setOption$3(n._results,u,r);else n._readNextArgAsValue$1(u)}else if(o.JSString_methods.startsWith$1(e,"no-")){u=l.findByNameOrAlias$1(o.JSString_methods.substring$1(e,3));if(u==null){l=n._parser$_parent;if(l==null)s.throwExpression(s.ArgParserException$(a+e+'".',i));l._handleLongOption$2(e,r);return true}n._args.removeFirst$0();if(u.type!==o.OptionType_nMZ)s.throwExpression(s.ArgParserException$('Cannot negate non-flag option "'+e+'".',i));if(!u.negatable)s.throwExpression(s.ArgParserException$('Cannot negate option "'+e+'".',i));n._results.$indexSet(0,u.name,false)}else{l=n._parser$_parent;if(l==null)s.throwExpression(s.ArgParserException$(a+e+'".',i));l._handleLongOption$2(e,r);return true}return true},_setOption$3(e,r,n){var i,l,u,_,c,$;if(r.type!==o.OptionType_qyr){this._validateAllowed$2(r,n);e.$indexSet(0,r.name,n);return}i=e.putIfAbsent$2(r.name,new s.Parser__setOption_closure);if(r.splitCommas)for(l=n.split(","),u=l.length,_=a.getInterceptor$ax(i),c=0;c")).join$1(0,", ")+")")}}else{h=e.defaultsTo;if(h!=null)p._write$2(2,'(defaults to "'+s.S(h)+'")')}}},_longOption$1(e){var r=e.name,n=e.negatable?"--[no-]"+r:"--"+r;r=e.valueHelp;return r!=null?n+("=<"+r+">"):n},_calculateColumnWidths$0(){var e,r,n,i,l,u,_,c,p,h,d,m;for(e=this._usage$_optionsAndSeparators,r=e.length,n=$.List_dynamic,i=0,l=0,u=0;u0;){n._contents+="\n";s._newlinesNeeded=i-1}for(;i=s._currentColumn,i!==e;){if(i<2)n._contents+=o.JSString_methods.$mul(" ",s.get$_columnWidths()[s._currentColumn]);else n._contents+="\n";s._currentColumn=(s._currentColumn+1)%3}s.get$_columnWidths();if(e<2)n._contents+=o.JSString_methods.padRight$1(r,s.get$_columnWidths()[e]);else n._contents+=r;s._currentColumn=(s._currentColumn+1)%3;if(e===2)++s._newlinesNeeded},_buildAllowedList$1(e){var r,n,i,a,l,u=e.defaultsTo,_=$.List_dynamic._is(u)?o.JSArray_methods.get$contains(u):new s._Usage__buildAllowedList_closure(e);u=""+"[";for(r=e.allowed,n=r.length,i=true,a=0;a>>0},$eq(e,r){if(r==null)return false;return r instanceof s.ErrorResult&&a.$eq$(this.error,r.error)&&this.stackTrace===r.stackTrace},$isResult:1};s.ValueResult.prototype={complete$1(e){e.complete$1(this.value)},get$hashCode(e){return(a.get$hashCode$(this.value)^842997089)>>>0},$eq(e,r){if(r==null)return false;return r instanceof s.ValueResult&&a.$eq$(this.value,r.value)},$isResult:1};s.StreamCompleter.prototype={setSourceStream$1(e){var r=this._stream_completer$_stream;if(r._sourceStream!=null)throw s.wrapException(s.StateError$("Source stream already set"));r._sourceStream=e;if(r._stream_completer$_controller!=null)r._linkStreamToController$0()},setError$2(e,r){var n=this.$ti._precomputed1;this.setSourceStream$1(s.Stream_Stream$fromFuture(s.Future_Future$error(e,r,n),n))},setError$1(e){return this.setError$2(e,null)}};s._CompleterStream.prototype={listen$4$cancelOnError$onDone$onError(e,r,n,i,a){var o,l,u=this,_=null;if(u._stream_completer$_controller==null){o=u._sourceStream;if(o!=null&&!o.get$isBroadcast())return o.listen$4$cancelOnError$onDone$onError(0,r,n,i,a);if(u._stream_completer$_controller==null)u._stream_completer$_controller=s.StreamController_StreamController(_,_,_,_,true,u.$ti._precomputed1);if(u._sourceStream!=null)u._linkStreamToController$0()}l=u._stream_completer$_controller;l.toString;return new s._ControllerStream(l,s._instanceType(l)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0,r,n,i,a)},listen$1(e,r){return this.listen$4$cancelOnError$onDone$onError(e,r,null,null,null)},listen$3$onDone$onError(e,r,n,i){return this.listen$4$cancelOnError$onDone$onError(e,r,null,n,i)},_linkStreamToController$0(){var e,r=this._stream_completer$_controller;r.toString;e=this._sourceStream;e.toString;r.addStream$2$cancelOnError(e,false).whenComplete$1(r.get$close(r))}};s.StreamGroup.prototype={add$1(e,r){var n,i=this;if(i._closed)throw s.wrapException(s.StateError$("Can't add a Stream to a closed StreamGroup."));n=i._stream_group$_state;if(n===o._StreamGroupState_dormant)i._subscriptions.putIfAbsent$2(r,new s.StreamGroup_add_closure);else if(n===o._StreamGroupState_canceled)return r.listen$1(0,null).cancel$0();else i._subscriptions.putIfAbsent$2(r,new s.StreamGroup_add_closure0(i,r));return null},remove$1(e,r){var n=this._subscriptions,i=n.remove$1(0,r),a=i==null?null:i.cancel$0();if(n.__js_helper$_length===0)if(this._closed){n=s._lateReadCheck(this.__StreamGroup__controller,"_controller");s.scheduleMicrotask(n.get$close(n))}return a},_onListen$0(){var e,r,n,i,a,l,_,c,$=this;$._stream_group$_state=o._StreamGroupState_listening;for(r=$._subscriptions,n=s.List_List$of(r.get$entries(r),true,$.$ti._eval$1("MapEntry,StreamSubscription<1>?>")),i=n.length,a=0;a")._bind$1(n._precomputed1)._eval$1("_FutureListener<1,2>")))}throw _}}},_onPause$0(){var e,r,n;this._stream_group$_state=o._StreamGroupState_paused;for(e=this._subscriptions,e=e.get$values(e),e=new s.MappedIterator(a.get$iterator$ax(e.__internal$_iterable),e._f),r=s._instanceType(e)._rest[1];e.moveNext$0();){n=e.__internal$_current;(n==null?r._as(n):n).pause$0(0)}},_onResume$0(){var e,r,n;this._stream_group$_state=o._StreamGroupState_listening;for(e=this._subscriptions,e=e.get$values(e),e=new s.MappedIterator(a.get$iterator$ax(e.__internal$_iterable),e._f),r=s._instanceType(e)._rest[1];e.moveNext$0();){n=e.__internal$_current;(n==null?r._as(n):n).resume$0(0)}},_onCancel$0(){var e,r,n;this._stream_group$_state=o._StreamGroupState_canceled;e=this._subscriptions;r=s.IterableNullableExtension_whereNotNull(e.get$entries(e).map$1$1(0,new s.StreamGroup__onCancel_closure(this),$.nullable_Future_void),$.Future_void);n=s.List_List$of(r,true,r.$ti._eval$1("Iterable.E"));e.clear$0(0);return n.length===0?null:s.Future_wait(n,$.void)},_listenToStream$1(e){var r=this,n="_controller",i=s._lateReadCheck(r.__StreamGroup__controller,n),a=e.listen$3$onDone$onError(0,i.get$add(i),new s.StreamGroup__listenToStream_closure(r,e),s._lateReadCheck(r.__StreamGroup__controller,n).get$addError());if(r._stream_group$_state===o._StreamGroupState_paused)a.pause$0(0);return a}};s.StreamGroup_add_closure.prototype={call$0(){return null},$signature:1};s.StreamGroup_add_closure0.prototype={call$0(){return this.$this._listenToStream$1(this.stream)},$signature(){return this.$this.$ti._eval$1("StreamSubscription<1>()")}};s.StreamGroup__onListen_closure.prototype={call$1(e){},$signature:61};s.StreamGroup__onCancel_closure.prototype={call$1(e){var r,n,i=e.value;try{if(i!=null){r=i.cancel$0();return r}r=a.listen$1$z(e.key,null).cancel$0();return r}catch(n){return null}},$signature(){return this.$this.$ti._eval$1("Future<~>?(MapEntry,StreamSubscription<1>?>)")}};s.StreamGroup__listenToStream_closure.prototype={call$0(){return this.$this.remove$1(0,this.stream)},$signature:0};s._StreamGroupState.prototype={toString$0(e){return this.name}};s.StreamQueue.prototype={_updateRequests$0(){var e,r,n,i,a=this;for(e=a._requestQueue,r=a._eventQueue,n=e.$ti._precomputed1;!e.get$isEmpty(e);){i=e._collection$_head;if(i===e._collection$_tail)s.throwExpression(s.IterableElementError_noElement());i=e._collection$_table[i];if(i==null)i=n._as(i);if(i.update$2(r,a._isDone))e.removeFirst$0();else return}if(!a._isDone)a._stream_queue$_subscription.pause$0(0)},_ensureListening$0(){var e,r=this;if(r._isDone)return;e=r._stream_queue$_subscription;if(e==null)r._stream_queue$_subscription=r._stream_queue$_source.listen$3$onDone$onError(0,new s.StreamQueue__ensureListening_closure(r),new s.StreamQueue__ensureListening_closure0(r),new s.StreamQueue__ensureListening_closure1(r));else e.resume$0(0)},_addResult$1(e){++this._eventsReceived;this._eventQueue._queue_list$_add$1(e);this._updateRequests$0()},_addRequest$1(e){var r=this,n=r._requestQueue;if(n._collection$_head===n._collection$_tail){if(e.update$2(r._eventQueue,r._isDone))return;r._ensureListening$0()}n._add$1(e)}};s.StreamQueue__ensureListening_closure.prototype={call$1(e){var r=this.$this;r._addResult$1(new s.ValueResult(e,r.$ti._eval$1("ValueResult<1>")))},$signature(){return this.$this.$ti._eval$1("~(1)")}};s.StreamQueue__ensureListening_closure1.prototype={call$2(e,r){this.$this._addResult$1(new s.ErrorResult(e,r))},$signature:72};s.StreamQueue__ensureListening_closure0.prototype={call$0(){var e=this.$this;e._stream_queue$_subscription=null;e._isDone=true;e._updateRequests$0()},$signature:0};s._NextRequest.prototype={update$2(e,r){if(!e.get$isEmpty(e)){e.removeFirst$0().complete$1(this._completer);return true}if(r){this._completer.completeError$2(new s.StateError("No elements"),s.StackTrace_current());return true}return false},$is_EventRequest:1};s.Repl.prototype={};s.alwaysValid_closure.prototype={call$1(e){return true},$signature:8};s.ReplAdapter.prototype={runAsync$0(){var e,r,n=this,i={},o=a.get$isTTY$x(self.process.stdin),l=(o==null?false:o)?self.process.stdout:null;o=n.repl.prompt;e=a.createInterface$1$x(u.$get$readline(),{input:self.process.stdin,output:l,prompt:o});n.rl=e;i.statement="";i.prompt=o;r=s._Cell$();r._value=s.StreamController_StreamController(n.get$exit(n),new s.ReplAdapter_runAsync_closure(i,n,e,r),null,null,false,$.String);return r._readLocal$0().get$stream()},exit$0(e){var r=this.rl;if(r!=null)a.close$0$x(r);this.rl=null}};s.ReplAdapter_runAsync_closure.prototype={call$0(){var e=0,r=s._makeAsyncAwaitCompleter($.void),n=1,i,l=[],_=this,c,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A,M,I,V,L,R;var k=s._wrapJsFunctionForAsync((function(l,L){if(l===1){i=L;e=n}while(true)switch(e){case 0:n=3;c=s.StreamController_StreamController(null,null,null,null,false,$.String);g=c;f=s.QueueList$(null,$.Result_String);y=s.ListQueue$($._EventRequest_dynamic);p=new s.StreamQueue(new s._ControllerStream(g,s.instanceType(g)._eval$1("_ControllerStream<1>")),f,y,$.StreamQueue_String);g=_.rl;f=a.getInterceptor$x(g);f.on$2(g,"line",s.allowInterop(new s.ReplAdapter_runAsync__closure(c)));y=_._box_0,S=_.$this.repl,v=S.continuation,b=S.prompt,x=_.runController,w=x.__late_helper$_name;case 6:C=a.get$isTTY$x(self.process.stdin);if(C==null?false:C)a.write$1$x(self.process.stdout,y.prompt);C=p;E=s.instanceType(C);A=new s._Future(u.Zone__current,E._eval$1("_Future<1>"));C._addRequest$1(new s._NextRequest(new s._AsyncCompleter(A,E._eval$1("_AsyncCompleter<1>")),E._eval$1("_NextRequest<1>")));e=8;return s._asyncAwait(A,k);case 8:h=L;C=a.get$isTTY$x(self.process.stdin);if(!(C==null?false:C)){M=y.prompt+s.S(h);I=u.printToZone;if(I==null)s.printString(M);else I.call$1(M)}V=o.JSString_methods.$add(y.statement,h);y.statement=V;if(S.validator.call$1(V)){C=x._value;if(C===x)s.throwExpression(s.LateError$localNI(w));a.add$1$ax(C,y.statement);y.statement="";y.prompt=b;f.setPrompt$1(g,b)}else{y.statement+="\n";y.prompt=v;f.setPrompt$1(g,v)}e=6;break;case 7:n=1;e=5;break;case 3:n=2;R=i;d=s.unwrapException(R);m=s.getTraceFromException(R);g=_.runController;g._readLocal$0().addError$2(d,m);e=9;return s._asyncAwait(_.$this.exit$0(0),k);case 9:a.close$0$x(g._readLocal$0());e=5;break;case 2:e=1;break;case 5:return s._asyncReturn(null,r);case 1:return s._asyncRethrow(i,r)}}));return s._asyncStartSync(k,r)},$signature:39};s.ReplAdapter_runAsync__closure.prototype={call$1(e){return this.lineController.add$1(0,s._asString(e))},$signature:123};s.Stdin.prototype={};s.Stdout.prototype={};s.ReadlineModule.prototype={};s.ReadlineOptions.prototype={};s.ReadlineInterface.prototype={};s.EmptyUnmodifiableSet.prototype={get$iterator(e){return o.C_EmptyIterator},get$length(e){return 0},contains$1(e,r){return false},toSet$0(e){return s.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1)},$isEfficientLengthIterable:1,$isSet:1};s._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype={};s.DefaultEquality.prototype={};s.IterableEquality.prototype={equals$2(e,r,n){var i,s,o;if(r===n)return true;i=a.get$iterator$ax(r);s=a.get$iterator$ax(n);for(;true;){o=i.moveNext$0();if(o!==s.moveNext$0())return false;if(!o)return true;if(!a.$eq$(i.get$current(i),s.get$current(s)))return false}}};s.ListEquality.prototype={equals$2(e,r,n){var i,s,o,l;if(r==null?n==null:r===n)return true;if(r==null||n==null)return false;i=a.getInterceptor$asx(r);s=i.get$length(r);o=a.getInterceptor$asx(n);if(s!==o.get$length(n))return false;for(l=0;l>>0)&2147483647;r^=r>>>6}r=r+(r<<3>>>0)&2147483647;r^=r>>>11;return r+(r<<15>>>0)&2147483647}};s._MapEntry.prototype={get$hashCode(e){return 3*a.get$hashCode$(this.key)+7*a.get$hashCode$(this.value)&2147483647},$eq(e,r){if(r==null)return false;return r instanceof s._MapEntry&&a.$eq$(this.key,r.key)&&a.$eq$(this.value,r.value)}};s.MapEquality.prototype={equals$2(e,r,n){var i,o,l,u,_;if(r===n)return true;if(r.get$length(r)!==n.get$length(n))return false;i=s.HashMap_HashMap($._MapEntry,$.int);for(o=a.get$iterator$ax(r.get$keys(r));o.moveNext$0();){l=o.get$current(o);u=new s._MapEntry(this,l,r.$index(0,l));_=i.$index(0,u);i.$indexSet(0,u,(_==null?0:_)+1)}for(o=a.get$iterator$ax(n.get$keys(n));o.moveNext$0();){l=o.get$current(o);u=new s._MapEntry(this,l,n.$index(0,l));_=i.$index(0,u);if(_==null||_===0)return false;i.$indexSet(0,u,_-1)}return true},hash$1(e){var r,n,i,o,l,u;for(r=a.get$iterator$ax(e.get$keys(e)),n=s._instanceType(this)._rest[1],i=0;r.moveNext$0();){o=r.get$current(r);l=a.get$hashCode$(o);u=e.$index(0,o);i=i+3*l+7*a.get$hashCode$(u==null?n._as(u):u)&2147483647}i=i+(i<<3>>>0)&2147483647;i^=i>>>11;return i+(i<<15>>>0)&2147483647}};s.QueueList.prototype={add$1(e,r){this._queue_list$_add$1(r)},addAll$1(e,r){var n,i,s,o,l,u,_=this;if($.List_dynamic._is(r)){n=a.get$length$asx(r);i=_.get$length(_);s=i+n;if(s>=a.get$length$asx(_._table)){_._preGrow$1(s);a.setRange$4$ax(_._table,i,s,r,0);_.set$_tail(_.get$_tail()+n)}else{o=a.get$length$asx(_._table)-_.get$_tail();s=_._table;l=a.getInterceptor$ax(s);if(n")._bind$1(r)._eval$1("_CastQueueList<1,2>"))},toString$0(e){return s.IterableBase_iterableToFullString(this,"{","}")},addFirst$1(e){var r=this;r.set$_head((r.get$_head()-1&a.get$length$asx(r._table)-1)>>>0);a.$indexSet$ax(r._table,r.get$_head(),e);if(r.get$_head()===r.get$_tail())r._grow$0()},removeFirst$0(){var e,r=this;if(r.get$_head()===r.get$_tail())throw s.wrapException(s.StateError$("No element"));e=a.$index$asx(r._table,r.get$_head());if(e==null)e=s._instanceType(r)._eval$1("QueueList.E")._as(e);a.$indexSet$ax(r._table,r.get$_head(),null);r.set$_head((r.get$_head()+1&a.get$length$asx(r._table)-1)>>>0);return e},get$length(e){return(this.get$_tail()-this.get$_head()&a.get$length$asx(this._table)-1)>>>0},set$length(e,r){var n,i,o,l,u=this;if(r<0)throw s.wrapException(s.RangeError$("Length "+r+" may not be negative."));if(r>u.get$length(u)&&!s._instanceType(u)._eval$1("QueueList.E")._is(null))throw s.wrapException(s.UnsupportedError$("The length can only be increased when the element type is nullable, but the current element type is `"+s.createRuntimeType(s._instanceType(u)._eval$1("QueueList.E")).toString$0(0)+"`."));n=r-u.get$length(u);if(n>=0){if(a.get$length$asx(u._table)<=r)u._preGrow$1(r);u.set$_tail((u.get$_tail()+n&a.get$length$asx(u._table)-1)>>>0);return}i=u.get$_tail()+n;o=u._table;if(i>=0)a.fillRange$3$ax(o,i,u.get$_tail(),null);else{i+=a.get$length$asx(o);a.fillRange$3$ax(u._table,0,u.get$_tail(),null);o=u._table;l=a.getInterceptor$asx(o);l.fillRange$3(o,i,l.get$length(o),null)}u.set$_tail(i)},$index(e,r){var n,i=this;if(r<0||r>=i.get$length(i))throw s.wrapException(s.RangeError$("Index "+r+" must be in the range [0.."+i.get$length(i)+")."));n=a.$index$asx(i._table,(i.get$_head()+r&a.get$length$asx(i._table)-1)>>>0);return n==null?s._instanceType(i)._eval$1("QueueList.E")._as(n):n},$indexSet(e,r,n){var i=this;if(r<0||r>=i.get$length(i))throw s.wrapException(s.RangeError$("Index "+r+" must be in the range [0.."+i.get$length(i)+")."));a.$indexSet$ax(i._table,(i.get$_head()+r&a.get$length$asx(i._table)-1)>>>0,n)},_queue_list$_add$1(e){var r=this;a.$indexSet$ax(r._table,r.get$_tail(),e);r.set$_tail((r.get$_tail()+1&a.get$length$asx(r._table)-1)>>>0);if(r.get$_head()===r.get$_tail())r._grow$0()},_grow$0(){var e=this,r=s.List_List$filled(a.get$length$asx(e._table)*2,null,false,s._instanceType(e)._eval$1("QueueList.E?")),n=a.get$length$asx(e._table)-e.get$_head();o.JSArray_methods.setRange$4(r,0,n,e._table,e.get$_head());o.JSArray_methods.setRange$4(r,n,n+e.get$_head(),e._table,0);e.set$_head(0);e.set$_tail(a.get$length$asx(e._table));e._table=r},_writeToList$1(e){var r,n,i=this;if(i.get$_head()<=i.get$_tail()){r=i.get$_tail()-i.get$_head();o.JSArray_methods.setRange$4(e,0,r,i._table,i.get$_head());return r}else{n=a.get$length$asx(i._table)-i.get$_head();o.JSArray_methods.setRange$4(e,0,n,i._table,i.get$_head());o.JSArray_methods.setRange$4(e,n,n+i.get$_tail(),i._table,0);return i.get$_tail()+n}},_preGrow$1(e){var r=this,n=s.List_List$filled(s.QueueList__nextPowerOf2(e+o.JSInt_methods._shrOtherPositive$1(e,1)),null,false,s._instanceType(r)._eval$1("QueueList.E?"));r.set$_tail(r._writeToList$1(n));r._table=n;r.set$_head(0)},$isEfficientLengthIterable:1,$isQueue:1,$isIterable:1,$isList:1,get$_head(){return this._head},get$_tail(){return this._tail},set$_head(e){return this._head=e},set$_tail(e){return this._tail=e}};s._CastQueueList.prototype={get$_head(){return this._queue_list$_delegate.get$_head()},set$_head(e){this._queue_list$_delegate.set$_head(e)},get$_tail(){return this._queue_list$_delegate.get$_tail()},set$_tail(e){this._queue_list$_delegate.set$_tail(e)}};s._QueueList_Object_ListMixin.prototype={};s.UnmodifiableSetView.prototype={};s.UnmodifiableSetMixin.prototype={add$1(e,r){return s.UnmodifiableSetMixin__throw()},addAll$1(e,r){return s.UnmodifiableSetMixin__throw()}};s._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype={};s._DelegatingIterableBase.prototype={contains$1(e,r){return a.contains$1$asx(this.get$_base(),r)},elementAt$1(e,r){return a.elementAt$1$ax(this.get$_base(),r)},get$first(e){return a.get$first$ax(this.get$_base())},get$isEmpty(e){return a.get$isEmpty$asx(this.get$_base())},get$isNotEmpty(e){return a.get$isNotEmpty$asx(this.get$_base())},get$iterator(e){return a.get$iterator$ax(this.get$_base())},join$1(e,r){return a.join$1$ax(this.get$_base(),r)},join$0(e){return this.join$1(e,"")},get$last(e){return a.get$last$ax(this.get$_base())},get$length(e){return a.get$length$asx(this.get$_base())},map$1$1(e,r,n){return a.map$1$1$ax(this.get$_base(),r,n)},get$single(e){return a.get$single$ax(this.get$_base())},skip$1(e,r){return a.skip$1$ax(this.get$_base(),r)},take$1(e,r){return a.take$1$ax(this.get$_base(),r)},toList$1$growable(e,r){return a.toList$1$growable$ax(this.get$_base(),true)},toList$0(e){return this.toList$1$growable(e,true)},toSet$0(e){return a.toSet$0$ax(this.get$_base())},where$1(e,r){return a.where$1$ax(this.get$_base(),r)},toString$0(e){return a.toString$0$(this.get$_base())},$isIterable:1};s.DelegatingSet.prototype={add$1(e,r){return this._base.add$1(0,r)},addAll$1(e,r){this._base.addAll$1(0,r)},toSet$0(e){return new s.DelegatingSet(this._base.toSet$0(0),s._instanceType(this)._eval$1("DelegatingSet<1>"))},$isEfficientLengthIterable:1,$isSet:1,get$_base(){return this._base}};s.MapKeySet.prototype={get$_base(){var e=this._baseMap;return e.get$keys(e)},contains$1(e,r){return this._baseMap.containsKey$1(r)},get$isEmpty(e){var r=this._baseMap;return r.get$isEmpty(r)},get$isNotEmpty(e){var r=this._baseMap;return r.get$isNotEmpty(r)},get$length(e){var r=this._baseMap;return r.get$length(r)},toString$0(e){return s.IterableBase_iterableToFullString(this,"{","}")},difference$1(e){return a.where$1$ax(this.get$_base(),new s.MapKeySet_difference_closure(this,e)).toSet$0(0)},$isEfficientLengthIterable:1,$isSet:1};s.MapKeySet_difference_closure.prototype={call$1(e){return!this.other._source.contains$1(0,e)},$signature(){return this.$this.$ti._eval$1("bool(1)")}};s._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype={};s.BufferModule.prototype={};s.BufferConstants.prototype={};s.Buffer.prototype={};s.ConsoleModule.prototype={};s.Console.prototype={};s.EventEmitter.prototype={};s.FS.prototype={};s.FSConstants.prototype={};s.FSWatcher.prototype={};s.ReadStream.prototype={};s.ReadStreamOptions.prototype={};s.WriteStream.prototype={};s.WriteStreamOptions.prototype={};s.FileOptions.prototype={};s.StatOptions.prototype={};s.MkdirOptions.prototype={};s.RmdirOptions.prototype={};s.WatchOptions.prototype={};s.WatchFileOptions.prototype={};s.Stats.prototype={};s.Promise.prototype={};s.Date.prototype={};s.JsError.prototype={};s.Atomics.prototype={};s.Modules.prototype={};s.Module1.prototype={};s.Net.prototype={};s.Socket.prototype={};s.NetAddress.prototype={};s.NetServer.prototype={};s.NodeJsError.prototype={};s.JsAssertionError.prototype={};s.JsRangeError.prototype={};s.JsReferenceError.prototype={};s.JsSyntaxError.prototype={};s.JsTypeError.prototype={};s.JsSystemError.prototype={};s.Process.prototype={};s.CPUUsage.prototype={};s.Release.prototype={};s.StreamModule.prototype={};s.Readable.prototype={};s.Writable.prototype={};s.Duplex.prototype={};s.Transform.prototype={};s.WritableOptions.prototype={};s.ReadableOptions.prototype={};s.Immediate.prototype={};s.Timeout.prototype={};s.TTY.prototype={};s.TTYReadStream.prototype={};s.TTYWriteStream.prototype={};s.Util.prototype={};s.promiseToFuture_closure.prototype={call$1(e){this.completer.complete$1(e)},$signature:61};s.promiseToFuture_closure0.prototype={call$1(e){this.completer.completeError$1(e)},$signature:61};s.futureToPromise_closure.prototype={call$2(e,r){this.future.then$1$2$onError(0,new s.futureToPromise__closure(e,this.T),r,$.dynamic)},$signature:440};s.futureToPromise__closure.prototype={call$1(e){return this.resolve.call$1(e)},$signature(){return this.T._eval$1("@(0)")}};s.Context.prototype={absolute$7(e,r,n,i,a,o,l){var u;s._validateArgList("absolute",s._setArrayType([e,r,n,i,a,o,l],$.JSArray_nullable_String));if(r==null){u=this.style;u=u.rootLength$1(e)>0&&!u.isRootRelative$1(e)}else u=false;if(u)return e;u=this._context$_current;return this.join$8(0,u==null?s.current():u,e,r,n,i,a,o,l)},absolute$1(e){return this.absolute$7(e,null,null,null,null,null,null)},dirname$1(e){var r,n,i=s.ParsedPath_ParsedPath$parse(e,this.style);i.removeTrailingSeparators$0();r=i.parts;n=r.length;if(n===0){r=i.root;return r==null?".":r}if(n===1){r=i.root;return r==null?".":r}o.JSArray_methods.removeLast$0(r);i.separators.pop();i.removeTrailingSeparators$0();return i.toString$0(0)},join$8(e,r,n,i,a,o,l,u,_){var c=s._setArrayType([r,n,i,a,o,l,u,_],$.JSArray_nullable_String);s._validateArgList("join",c);return this.joinAll$1(new s.WhereTypeIterable(c,$.WhereTypeIterable_String))},join$2(e,r,n){return this.join$8(e,r,n,null,null,null,null,null,null)},joinAll$1(e){var r,n,i,a,l,u,_,c,$;for(r=e.get$iterator(e),n=new s.WhereIterator(r,new s.Context_joinAll_closure),i=this.style,a=false,l=false,u="";n.moveNext$0();){_=r.get$current(r);if(i.isRootRelative$1(_)&&l){c=s.ParsedPath_ParsedPath$parse(_,i);$=u.charCodeAt(0)==0?u:u;u=o.JSString_methods.substring$2($,0,i.rootLength$2$withDrive($,true));c.root=u;if(i.needsSeparator$1(u))c.separators[0]=i.get$separator(i);u=""+c.toString$0(0)}else if(i.rootLength$1(_)>0){l=!i.isRootRelative$1(_);u=""+_}else{if(!(_.length!==0&&i.containsSeparator$1(_[0])))if(a)u+=i.get$separator(i);u+=_}a=i.needsSeparator$1(_)}return u.charCodeAt(0)==0?u:u},split$1(e,r){var n=s.ParsedPath_ParsedPath$parse(r,this.style),i=n.parts,a=s._arrayInstanceType(i)._eval$1("WhereIterable<1>");a=s.List_List$of(new s.WhereIterable(i,new s.Context_split_closure,a),true,a._eval$1("Iterable.E"));n.parts=a;i=n.root;if(i!=null)o.JSArray_methods.insert$2(a,0,i);return n.parts},canonicalize$1(e,r){var n,i;r=this.absolute$1(r);n=this.style;if(n!==u.$get$Style_windows()&&!this._needsNormalization$1(r))return r;i=s.ParsedPath_ParsedPath$parse(r,n);i.normalize$1$canonicalize(true);return i.toString$0(0)},normalize$1(e){var r;if(!this._needsNormalization$1(e))return e;r=s.ParsedPath_ParsedPath$parse(e,this.style);r.normalize$0();return r.toString$0(0)},_needsNormalization$1(e){var r,n,i,a,l,_,c,$,p=this.style,h=p.rootLength$1(e);if(h!==0){if(p===u.$get$Style_windows())for(r=0;r0)return _.normalize$1(e);if(p.rootLength$1(e)<=0||p.isRootRelative$1(e))e=_.absolute$1(e);if(p.rootLength$1(e)<=0&&p.rootLength$1(r)>0)throw s.wrapException(s.PathException$(c+e+'" from "'+r+'".'));n=s.ParsedPath_ParsedPath$parse(r,p);n.normalize$0();i=s.ParsedPath_ParsedPath$parse(e,p);i.normalize$0();l=n.parts;if(l.length!==0&&a.$eq$(l[0],"."))return i.toString$0(0);l=n.root;u=i.root;if(l!=u)l=l==null||u==null||!p.pathsEqual$2(l,u);else l=false;if(l)return i.toString$0(0);while(true){l=n.parts;if(l.length!==0){u=i.parts;l=u.length!==0&&p.pathsEqual$2(l[0],u[0])}else l=false;if(!l)break;o.JSArray_methods.removeAt$1(n.parts,0);o.JSArray_methods.removeAt$1(n.separators,1);o.JSArray_methods.removeAt$1(i.parts,0);o.JSArray_methods.removeAt$1(i.separators,1)}l=n.parts;if(l.length!==0&&a.$eq$(l[0],".."))throw s.wrapException(s.PathException$(c+e+'" from "'+r+'".'));l=$.String;o.JSArray_methods.insertAll$2(i.parts,0,s.List_List$filled(n.parts.length,"..",false,l));u=i.separators;u[0]="";o.JSArray_methods.insertAll$2(u,1,s.List_List$filled(n.parts.length,p.get$separator(p),false,l));p=i.parts;l=p.length;if(l===0)return".";if(l>1&&a.$eq$(o.JSArray_methods.get$last(p),".")){o.JSArray_methods.removeLast$0(i.parts);p=i.separators;p.pop();p.pop();p.push("")}i.root="";i.removeTrailingSeparators$0();return i.toString$0(0)},relative$1(e){return this.relative$2$from(e,null)},_isWithinOrEquals$2(e,r){var n,i,l,u,_,c,$,p,h=this;e=e;r=r;i=h.style;l=i.rootLength$1(e)>0;u=i.rootLength$1(r)>0;if(l&&!u){r=h.absolute$1(r);if(i.isRootRelative$1(e))e=h.absolute$1(e)}else if(u&&!l){e=h.absolute$1(e);if(i.isRootRelative$1(r))r=h.absolute$1(r)}else if(u&&l){_=i.isRootRelative$1(r);c=i.isRootRelative$1(e);if(_&&!c)r=h.absolute$1(r);else if(c&&!_)e=h.absolute$1(e)}$=h._isWithinOrEqualsFast$2(e,r);if($!==o._PathRelation_inconclusive)return $;n=null;try{n=h.relative$2$from(r,e)}catch(p){if(s.unwrapException(p)instanceof s.PathException)return o._PathRelation_different;else throw p}if(i.rootLength$1(n)>0)return o._PathRelation_different;if(a.$eq$(n,"."))return o._PathRelation_equal;if(a.$eq$(n,".."))return o._PathRelation_different;return a.get$length$asx(n)>=3&&a.startsWith$1$s(n,"..")&&i.isSeparator$1(a.codeUnitAt$1$s(n,2))?o._PathRelation_different:o._PathRelation_within},_isWithinOrEqualsFast$2(e,r){var n,i,s,a,l,u,_,c,$,p,h,d,m,g,f=this;if(e===".")e="";n=f.style;i=n.rootLength$1(e);s=n.rootLength$1(r);if(i!==s)return o._PathRelation_different;for(a=0;a>>0;s=false;a=false}return i},withoutExtension$1(e){var r,n=s.ParsedPath_ParsedPath$parse(e,this.style);for(r=n.parts.length-1;r>=0;--r)if(a.get$length$asx(n.parts[r])!==0){n.parts[r]=n._splitExtension$0()[0];break}return n.toString$0(0)},toUri$1(e){var r,n=this.style;if(n.rootLength$1(e)<=0)return n.relativePathToUri$1(e);else{r=this._context$_current;return n.absolutePathToUri$1(this.join$2(0,r==null?s.current():r,e))}},prettyUri$1(e){var r,n,i=this,a=s._parseUri(e);if(a.get$scheme()==="file"&&i.style===u.$get$Style_url())return a.toString$0(0);else if(a.get$scheme()!=="file"&&a.get$scheme()!==""&&i.style!==u.$get$Style_url())return a.toString$0(0);r=i.normalize$1(i.style.pathFromUri$1(s._parseUri(a)));n=i.relative$1(r);return i.split$1(0,n).length>i.split$1(0,r).length?r:n}};s.Context_joinAll_closure.prototype={call$1(e){return e!==""},$signature:8};s.Context_split_closure.prototype={call$1(e){return e.length!==0},$signature:8};s._validateArgList_closure.prototype={call$1(e){return e==null?"null":'"'+e+'"'},$signature:513};s._PathDirection.prototype={toString$0(e){return this.name}};s._PathRelation.prototype={toString$0(e){return this.name}};s.InternalStyle.prototype={getRoot$1(e){var r=this.rootLength$1(e);if(r>0)return o.JSString_methods.substring$2(e,0,r);return this.isRootRelative$1(e)?e[0]:null},relativePathToUri$1(e){var r,n=null,i=e.length;if(i===0)return s._Uri__Uri(n,n,n,n);r=s.Context_Context(this).split$1(0,e);if(this.isSeparator$1(o.JSString_methods.codeUnitAt$1(e,i-1)))o.JSArray_methods.add$1(r,"");return s._Uri__Uri(n,n,r,n)},codeUnitsEqual$2(e,r){return e===r},pathsEqual$2(e,r){return e===r},canonicalizeCodeUnit$1(e){return e},canonicalizePart$1(e){return e}};s.ParsedPath.prototype={get$basename(){var e=this,r=$.String,n=new s.ParsedPath(e.style,e.root,e.isRootRelative,s.List_List$from(e.parts,true,r),s.List_List$from(e.separators,true,r));n.removeTrailingSeparators$0();r=n.parts;if(r.length===0){r=e.root;return r==null?"":r}return o.JSArray_methods.get$last(r)},get$hasTrailingSeparator(){var e=this.parts;if(e.length!==0)e=a.$eq$(o.JSArray_methods.get$last(e),"")||!a.$eq$(o.JSArray_methods.get$last(this.separators),"");else e=false;return e},removeTrailingSeparators$0(){var e,r,n=this;while(true){e=n.parts;if(!(e.length!==0&&a.$eq$(o.JSArray_methods.get$last(e),"")))break;o.JSArray_methods.removeLast$0(n.parts);n.separators.pop()}e=n.separators;r=e.length;if(r!==0)e[r-1]=""},normalize$1$canonicalize(e){var r,n,i,l,_,c,p,h=this,d=s._setArrayType([],$.JSArray_String);for(r=h.parts,n=r.length,i=h.style,l=0,_=0;_=0;--i)if(e[i]===r){++s;if(s===n)return i;a=i}return a},_splitExtension$1(e){var r,n,i;if(e<=0)throw s.wrapException(s.RangeError$value(e,"level","level's value must be greater than 0"));r=this.parts;r=new s.CastList(r,s._arrayInstanceType(r)._eval$1("CastList<1,String?>"));n=r.lastWhere$2$orElse(r,new s.ParsedPath__splitExtension_closure,new s.ParsedPath__splitExtension_closure0);if(n==null)return s._setArrayType(["",""],$.JSArray_String);if(n==="..")return s._setArrayType(["..",""],$.JSArray_String);i=this._kthLastIndexOf$3(n,".",e);if(i<=0)return s._setArrayType([n,""],$.JSArray_String);return s._setArrayType([o.JSString_methods.substring$2(n,0,i),o.JSString_methods.substring$1(n,i)],$.JSArray_String)},_splitExtension$0(){return this._splitExtension$1(1)}};s.ParsedPath__splitExtension_closure.prototype={call$1(e){return e!==""},$signature:249};s.ParsedPath__splitExtension_closure0.prototype={call$0(){return null},$signature:1};s.PathException.prototype={toString$0(e){return"PathException: "+this.message},$isException:1,get$message(e){return this.message}};s.PathMap.prototype={};s.PathMap__create_closure.prototype={call$2(e,r){if(e==null)return r==null;if(r==null)return false;return this._box_0.context._isWithinOrEquals$2(e,r)===o._PathRelation_equal},$signature:435};s.PathMap__create_closure0.prototype={call$1(e){return e==null?0:this._box_0.context.hash$1(e)},$signature:289};s.PathMap__create_closure1.prototype={call$1(e){return typeof e=="string"||e==null},$signature:120};s.Style.prototype={toString$0(e){return this.get$name(this)}};s.PosixStyle.prototype={containsSeparator$1(e){return o.JSString_methods.contains$1(e,"/")},isSeparator$1(e){return e===47},needsSeparator$1(e){var r=e.length;return r!==0&&o.JSString_methods.codeUnitAt$1(e,r-1)!==47},rootLength$2$withDrive(e,r){if(e.length!==0&&o.JSString_methods._codeUnitAt$1(e,0)===47)return 1;return 0},rootLength$1(e){return this.rootLength$2$withDrive(e,false)},isRootRelative$1(e){return false},pathFromUri$1(e){var r;if(e.get$scheme()===""||e.get$scheme()==="file"){r=e.get$path(e);return s._Uri__uriDecode(r,0,r.length,o.C_Utf8Codec,false)}throw s.wrapException(s.ArgumentError$("Uri "+e.toString$0(0)+" must have scheme 'file:'.",null))},absolutePathToUri$1(e){var r=s.ParsedPath_ParsedPath$parse(e,this),n=r.parts;if(n.length===0)o.JSArray_methods.addAll$1(n,s._setArrayType(["",""],$.JSArray_String));else if(r.get$hasTrailingSeparator())o.JSArray_methods.add$1(r.parts,"");return s._Uri__Uri(null,null,r.parts,"file")},get$name(){return"posix"},get$separator(){return"/"}};s.UrlStyle.prototype={containsSeparator$1(e){return o.JSString_methods.contains$1(e,"/")},isSeparator$1(e){return e===47},needsSeparator$1(e){var r=e.length;if(r===0)return false;if(o.JSString_methods.codeUnitAt$1(e,r-1)!==47)return true;return o.JSString_methods.endsWith$1(e,"://")&&this.rootLength$1(e)===r},rootLength$2$withDrive(e,r){var n,i,a,l,u=e.length;if(u===0)return 0;if(o.JSString_methods._codeUnitAt$1(e,0)===47)return 1;for(n=0;n0){i=o.JSString_methods.indexOf$2(e,"\\",i+1);if(i>0)return i}return a}if(a<3)return 0;if(!s.isAlphabetic(n))return 0;if(o.JSString_methods._codeUnitAt$1(e,1)!==58)return 0;a=o.JSString_methods._codeUnitAt$1(e,2);if(!(a===47||a===92))return 0;return 3},rootLength$1(e){return this.rootLength$2$withDrive(e,false)},isRootRelative$1(e){return this.rootLength$1(e)===1},pathFromUri$1(e){var r,n;if(e.get$scheme()!==""&&e.get$scheme()!=="file")throw s.wrapException(s.ArgumentError$("Uri "+e.toString$0(0)+" must have scheme 'file:'.",null));r=e.get$path(e);if(e.get$host()===""){if(r.length>=3&&o.JSString_methods.startsWith$1(r,"/")&&s.isDriveLetter(r,1))r=o.JSString_methods.replaceFirst$2(r,"/","")}else r="\\\\"+e.get$host()+r;n=s.stringReplaceAllUnchecked(r,"/","\\");return s._Uri__uriDecode(n,0,n.length,o.C_Utf8Codec,false)},absolutePathToUri$1(e){var r,n,i=s.ParsedPath_ParsedPath$parse(e,this),a=i.root;a.toString;if(o.JSString_methods.startsWith$1(a,"\\\\")){r=new s.WhereIterable(s._setArrayType(a.split("\\"),$.JSArray_String),new s.WindowsStyle_absolutePathToUri_closure,$.WhereIterable_String);o.JSArray_methods.insert$2(i.parts,0,r.get$last(r));if(i.get$hasTrailingSeparator())o.JSArray_methods.add$1(i.parts,"");return s._Uri__Uri(r.get$first(r),null,i.parts,"file")}else{if(i.parts.length===0||i.get$hasTrailingSeparator())o.JSArray_methods.add$1(i.parts,"");a=i.parts;n=i.root;n.toString;n=s.stringReplaceAllUnchecked(n,"/","");o.JSArray_methods.insert$2(a,0,s.stringReplaceAllUnchecked(n,"\\",""));return s._Uri__Uri(null,null,i.parts,"file")}},codeUnitsEqual$2(e,r){var n;if(e===r)return true;if(e===47)return r===92;if(e===92)return r===47;if((e^r)!==32)return false;n=e|32;return n>=97&&n<=122},pathsEqual$2(e,r){var n,i;if(e===r)return true;n=e.length;if(n!==r.length)return false;for(i=0;i90)return e;return e|32},canonicalizePart$1(e){return e.toLowerCase()},get$name(){return"windows"},get$separator(){return"\\"}};s.WindowsStyle_absolutePathToUri_closure.prototype={call$1(e){return e!==""},$signature:8};s.CssMediaQuery.prototype={merge$1(e){var r,n,i,a,l,u,_,c,p,h,d,m,g,f,y,S,v,b,x,w=this,C=null,E="all";if(!w.conjunction||!e.conjunction)return o._SingletonCssMediaQueryMergeResult_unrepresentable;r=w.modifier;n=r==null?C:r.toLowerCase();i=w.type;a=i==null;l=a?C:i.toLowerCase();u=e.modifier;_=u==null?C:u.toLowerCase();c=e.type;p=c==null;h=p?C:c.toLowerCase();d=l==null;if(d&&h==null){r=s.List_List$of(w.conditions,true,$.String);o.JSArray_methods.addAll$1(r,e.conditions);return new s.MediaQuerySuccessfulMergeResult(s.CssMediaQuery$condition(r,true))}m=n==="not";if(m!==(_==="not")){if(l==h){g=m?w.conditions:e.conditions;if(o.JSArray_methods.every$1(g,o.JSArray_methods.get$contains(m?e.conditions:w.conditions)))return o._SingletonCssMediaQueryMergeResult_empty;else return o._SingletonCssMediaQueryMergeResult_unrepresentable}else if(a||s.equalsIgnoreCase(i,E)||p||s.equalsIgnoreCase(c,E))return o._SingletonCssMediaQueryMergeResult_unrepresentable;if(m){f=e.conditions;y=h;S=_}else{f=w.conditions;y=l;S=n}}else if(m){if(l!=h)return o._SingletonCssMediaQueryMergeResult_unrepresentable;v=w.conditions;b=e.conditions;a=v.length>b.length;x=a?v:b;if(a)v=b;if(!o.JSArray_methods.every$1(v,o.JSArray_methods.get$contains(x)))return o._SingletonCssMediaQueryMergeResult_unrepresentable;f=x;y=l;S=n}else if(a||s.equalsIgnoreCase(i,E)){y=(p||s.equalsIgnoreCase(c,E))&&d?C:h;a=s.List_List$of(w.conditions,true,$.String);o.JSArray_methods.addAll$1(a,e.conditions);f=a;S=_}else{if(p||s.equalsIgnoreCase(c,E)){a=s.List_List$of(w.conditions,true,$.String);o.JSArray_methods.addAll$1(a,e.conditions);f=a;S=n}else{if(l!=h)return o._SingletonCssMediaQueryMergeResult_empty;else{S=n==null?_:n;a=s.List_List$of(w.conditions,true,$.String);o.JSArray_methods.addAll$1(a,e.conditions)}f=a}y=l}i=y==l?i:c;return new s.MediaQuerySuccessfulMergeResult(s.CssMediaQuery$type(i,f,S==n?r:u))},$eq(e,r){if(r==null)return false;return r instanceof s.CssMediaQuery&&r.modifier==this.modifier&&r.type==this.type&&o.C_ListEquality.equals$2(0,r.conditions,this.conditions)},get$hashCode(e){return a.get$hashCode$(this.modifier)^a.get$hashCode$(this.type)^o.C_ListEquality0.hash$1(this.conditions)},toString$0(e){var r,n=this,i=n.modifier;i=i!=null?""+(i+" "):"";r=n.type;if(r!=null){i+=r;if(n.conditions.length!==0)i+=" and "}r=n.conjunction?" and ":" or ";r=i+o.JSArray_methods.join$1(n.conditions,r);return r.charCodeAt(0)==0?r:r}};s._SingletonCssMediaQueryMergeResult.prototype={toString$0(e){return this._media_query$_name}};s.MediaQuerySuccessfulMergeResult.prototype={};s.ModifiableCssAtRule.prototype={accept$1$1(e){return e.visitCssAtRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},copyWithoutChildren$0(){var e=this;return s.ModifiableCssAtRule$(e.name,e.span,e.isChildless,e.value)},addChild$1(e){this.super$ModifiableCssParentNode$addChild(e)},$isCssAtRule:1,get$isChildless(){return this.isChildless},get$span(e){return this.span}};s.ModifiableCssComment.prototype={accept$1$1(e){return e.visitCssComment$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},$isCssComment:1,get$span(e){return this.span}};s.ModifiableCssDeclaration.prototype={accept$1$1(e){return e.visitCssDeclaration$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return this.name.toString$0(0)+": "+this.value.toString$0(0)+";"},get$span(e){return this.span}};s.ModifiableCssImport.prototype={accept$1$1(e){return e.visitCssImport$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},$isCssImport:1,get$span(e){return this.span}};s.ModifiableCssKeyframeBlock.prototype={accept$1$1(e){return e.visitCssKeyframeBlock$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},copyWithoutChildren$0(){return s.ModifiableCssKeyframeBlock$(this.selector,this.span)},get$span(e){return this.span}};s.ModifiableCssMediaRule.prototype={accept$1$1(e){return e.visitCssMediaRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},copyWithoutChildren$0(){return s.ModifiableCssMediaRule$(this.queries,this.span)},$isCssMediaRule:1,get$span(e){return this.span}};s.ModifiableCssNode.prototype={get$hasFollowingSibling(){var e,r=this._parent;if(r==null)r=null;else{r=r.children;e=this._indexInParent;e.toString;r=s.SubListIterable$(r,e+1,null,r.$ti._eval$1("ListMixin.E")).any$1(0,new s.ModifiableCssNode_hasFollowingSibling_closure)}return r===true},get$isGroupEnd(){return this.isGroupEnd}};s.ModifiableCssNode_hasFollowingSibling_closure.prototype={call$1(e){return!e.accept$1(o._IsInvisibleVisitor_true_false)},$signature:115};s.ModifiableCssParentNode.prototype={get$isChildless(){return false},addChild$1(e){var r;e._parent=this;r=this._children;e._indexInParent=r.length;r.push(e)},$isCssParentNode:1,get$children(e){return this.children}};s.ModifiableCssStyleRule.prototype={accept$1$1(e){return e.visitCssStyleRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},copyWithoutChildren$0(){return s.ModifiableCssStyleRule$(this.selector,this.span,this.originalSelector)},$isCssStyleRule:1,get$span(e){return this.span}};s.ModifiableCssStylesheet.prototype={accept$1$1(e){return e.visitCssStylesheet$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},copyWithoutChildren$0(){return s.ModifiableCssStylesheet$(this.span)},$isCssStylesheet:1,get$span(e){return this.span}};s.ModifiableCssSupportsRule.prototype={accept$1$1(e){return e.visitCssSupportsRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},copyWithoutChildren$0(){return s.ModifiableCssSupportsRule$(this.condition,this.span)},$isCssSupportsRule:1,get$span(e){return this.span}};s.ModifiableCssValue.prototype={toString$0(e){return s.serializeSelector(this.value,true)},$isCssValue:1,$isAstNode:1,get$value(e){return this.value},get$span(e){return this.span}};s.CssNode.prototype={toString$0(e){return s.serialize(this,true,null,true,null,false,null,true).css}};s.CssParentNode.prototype={};s._IsInvisibleVisitor.prototype={visitCssAtRule$1(e){return false},visitCssComment$1(e){return this.includeComments&&o.JSString_methods._codeUnitAt$1(e.text,2)!==33},visitCssStyleRule$1(e){var r=e.selector.value;return(this.includeBogus?r.accept$1(o._IsInvisibleVisitor_true):r.accept$1(o._IsInvisibleVisitor_false))||this.super$EveryCssVisitor$visitCssStyleRule(e)}};s.CssStylesheet.prototype={get$isGroupEnd(){return false},get$isChildless(){return false},accept$1$1(e){return e.visitCssStylesheet$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},get$children(e){return this.children},get$span(e){return this.span}};s.CssValue.prototype={toString$0(e){return a.toString$0$(this.value)},$isAstNode:1,get$value(e){return this.value},get$span(e){return this.span}};s.AstNode.prototype={};s._FakeAstNode.prototype={get$span(e){return this._callback.call$0()},$isAstNode:1};s.Argument.prototype={toString$0(e){var r=this.defaultValue,n=this.name;return r==null?n:n+": "+r.toString$0(0)},$isAstNode:1,get$span(e){return this.span}};s.ArgumentDeclaration.prototype={get$spanWithName(){var e,r,n=this.span,i=n.file,a=s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(i._decodedChars,0,null),0,null),l=s.FileLocation$_(i,n._file$_start).offset-1;while(true){if(l>0){e=o.JSString_methods.codeUnitAt$1(a,l);e=e===32||e===9||e===10||e===13||e===12}else e=false;if(!e)break;--l}e=o.JSString_methods.codeUnitAt$1(a,l);if(!(e===95||s.isAlphabetic0(e)||e>=128||s.isDigit(e)||e===45))return n;--l;while(true){if(l>=0){e=o.JSString_methods.codeUnitAt$1(a,l);if(e!==95){if(!(e>=97&&e<=122))r=e>=65&&e<=90;else r=true;r=r||e>=128}else r=true;if(!r){r=e>=48&&e<=57;e=r||e===45}else e=true}else e=false;if(!e)break;--l}e=l+1;r=o.JSString_methods.codeUnitAt$1(a,e);if(!(r===95||s.isAlphabetic0(r)||r>=128))return n;return s.SpanExtensions_trimRight(s.SpanExtensions_trimLeft(i.span$2(0,e,s.FileLocation$_(i,n._end).offset)))},verify$2(e,r){var n,i,a,o,l,u,_,p,h=this,d="invocation",m="argument";for(n=h.$arguments,i=n.length,a=r._baseMap,o=0,l=0;li){n=r.get$isEmpty(r)?"":"positional ";throw s.wrapException(s.MultiSpanSassScriptException$("Only "+i+" "+n+s.pluralize(m,i,null)+" allowed, but "+e+" "+s.pluralize("was",e,"were")+" passed.",d,s.LinkedHashMap_LinkedHashMap$_literal([h.get$spanWithName(),"declaration"],$.FileSpan,$.String)))}if(o")));throw s.wrapException(s.MultiSpanSassScriptException$("No "+s.pluralize(m,p._collection$_length,null)+" named "+s.S(s.toSentence(p.map$1$1(0,new s.ArgumentDeclaration_verify_closure0,$.Object),"or"))+".",d,s.LinkedHashMap_LinkedHashMap$_literal([h.get$spanWithName(),"declaration"],$.FileSpan,i)))}},_originalArgumentName$1(e){var r,n,i,a,l,u,_,$,p=null;if(e===this.restArgument){r=this.span;n=s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(r.file._decodedChars,r._file$_start,r._end),0,p);return o.JSString_methods.substring$2(o.JSString_methods.substring$1(n,o.JSString_methods.lastIndexOf$1(n,"$")),0,o.JSString_methods.indexOf$1(n,"."))}for(r=this.$arguments,i=r.length,a=0;ai)return false;if(a")).join$1(0,l);n=n?l+s.Primitives_stringFromCharCode(93):l;return n.charCodeAt(0)==0?n:n},_list0$_elementNeedsParens$1(e){var r;if(e instanceof s.ListExpression){if(e.contents.length<2)return false;if(e.hasBrackets)return false;r=e.separator;return this.separator===o.ListSeparator_kWM?r===o.ListSeparator_kWM:r!==o.ListSeparator_undecided_null}if(this.separator!==o.ListSeparator_woc)return false;if(e instanceof s.UnaryOperationExpression){r=e.operator;return r===o.UnaryOperator_j2w||r===o.UnaryOperator_U4G}return false},$isAstNode:1,$isExpression:1,get$span(e){return this.span}};s.ListExpression_toString_closure.prototype={call$1(e){return this.$this._list0$_elementNeedsParens$1(e)?"("+e.toString$0(0)+")":e.toString$0(0)},$signature:112};s.MapExpression.prototype={accept$1$1(e){return e.visitMapExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.pairs;return"("+new s.MappedListIterable(r,new s.MapExpression_toString_closure,s._arrayInstanceType(r)._eval$1("MappedListIterable<1,String>")).join$1(0,", ")+")"},$isAstNode:1,$isExpression:1,get$span(e){return this.span}};s.MapExpression_toString_closure.prototype={call$1(e){return s.S(e.item1)+": "+s.S(e.item2)},$signature:487};s.NullExpression.prototype={accept$1$1(e){return e.visitNullExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return"null"},$isAstNode:1,$isExpression:1,get$span(e){return this.span}};s.NumberExpression.prototype={accept$1$1(e){return e.visitNumberExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.unit;if(r==null)r="";return s.S(this.value)+r},$isAstNode:1,$isExpression:1,get$span(e){return this.span}};s.ParenthesizedExpression.prototype={accept$1$1(e){return e.visitParenthesizedExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return"("+this.expression.toString$0(0)+")"},$isAstNode:1,$isExpression:1,get$span(e){return this.span}};s.SelectorExpression.prototype={accept$1$1(e){return e.visitSelectorExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return"&"},$isAstNode:1,$isExpression:1,get$span(e){return this.span}};s.StringExpression.prototype={get$span(e){return this.text.span},accept$1$1(e){return e.visitStringExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},asInterpolation$1$static(e){var r,n,i,a,o,l,u,_,c,p;if(!this.hasQuotes)return this.text;r=this.text;n=r.contents;i=s.StringExpression__bestQuote(new s.WhereTypeIterable(n,$.WhereTypeIterable_String));a=new s.StringBuffer("");o=s._setArrayType([],$.JSArray_Object);l=new s.InterpolationBuffer(a,o);a._contents=""+s.Primitives_stringFromCharCode(i);for(u=n.length,_=$.Expression,c=0;c1)return null;e=o.JSArray_methods.get$first(r);return typeof e=="string"?e:null},get$initialPlain(){var e=o.JSArray_methods.get$first(this.contents);return typeof e=="string"?e:""},Interpolation$2(e,r){var n,i,a,o,l,u,_="contents";for(n=this.contents,i=n.length,a=$.Expression,o=0;o")).join$0(0)},$isAstNode:1,get$span(e){return this.span}};s.Interpolation_toString_closure.prototype={call$1(e){return typeof e=="string"?e:"#{"+s.S(e)+"}"},$signature:47};s.AtRootRule.prototype={accept$1$1(e){return e.visitAtRootRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=new s.StringBuffer("@at-root "),n=this.query;if(n!=null)r._contents="@at-root "+(n.toString$0(0)+" ");n=this.children;return r.toString$0(0)+" {"+(n&&o.JSArray_methods).join$1(n," ")+"}"},get$span(e){return this.span}};s.AtRule.prototype={accept$1$1(e){return e.visitAtRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r,n="@"+this.name.toString$0(0),i=new s.StringBuffer(n),a=this.value;if(a!=null)i._contents=n+(" "+a.toString$0(0));r=this.children;return r==null?i.toString$0(0)+";":i.toString$0(0)+" {"+o.JSArray_methods.join$1(r," ")+"}"},get$span(e){return this.span}};s.CallableDeclaration.prototype={get$span(e){return this.span}};s.ContentBlock.prototype={accept$1$1(e){return e.visitContentBlock$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r,n=this.$arguments;n=n.$arguments.length===0&&n.restArgument==null?"":" using ("+n.toString$0(0)+")";r=this.children;return n+(" {"+(r&&o.JSArray_methods).join$1(r," ")+"}")}};s.ContentRule.prototype={accept$1$1(e){return e.visitContentRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.$arguments;return r.get$isEmpty(r)?"@content;":"@content("+r.toString$0(0)+");"},$isAstNode:1,$isStatement:1,get$span(e){return this.span}};s.DebugRule.prototype={accept$1$1(e){return e.visitDebugRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return"@debug "+this.expression.toString$0(0)+";"},$isAstNode:1,$isStatement:1,get$span(e){return this.span}};s.Declaration.prototype={accept$1$1(e){return e.visitDeclaration$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r,n,i=new s.StringBuffer(""),a=this.name,l=""+a.toString$0(0);i._contents=l;l=i._contents=l+s.Primitives_stringFromCharCode(58);r=this.value;if(r!=null){a=!o.JSString_methods.startsWith$1(a.get$initialPlain(),"--")?i._contents=l+s.Primitives_stringFromCharCode(32):l;i._contents=a+r.toString$0(0)}n=this.children;return n==null?i.toString$0(0)+";":i.toString$0(0)+" {"+o.JSArray_methods.join$1(n," ")+"}"},get$span(e){return this.span}};s.EachRule.prototype={accept$1$1(e){return e.visitEachRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.variables,n=this.children;return"@each "+new s.MappedListIterable(r,new s.EachRule_toString_closure,s._arrayInstanceType(r)._eval$1("MappedListIterable<1,String>")).join$1(0,", ")+" in "+this.list.toString$0(0)+" {"+(n&&o.JSArray_methods).join$1(n," ")+"}"},get$span(e){return this.span}};s.EachRule_toString_closure.prototype={call$1(e){return"$"+e},$signature:5};s.ErrorRule.prototype={accept$1$1(e){return e.visitErrorRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return"@error "+this.expression.toString$0(0)+";"},$isAstNode:1,$isStatement:1,get$span(e){return this.span}};s.ExtendRule.prototype={accept$1$1(e){return e.visitExtendRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.selector.toString$0(0),n=this.isOptional?" !optional":"";return"@extend "+r+n+";"},$isAstNode:1,$isStatement:1,get$span(e){return this.span}};s.ForRule.prototype={accept$1$1(e){return e.visitForRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this,n=r.from.toString$0(0),i=r.isExclusive?"to":"through",s=r.children;return"@for $"+r.variable+" from "+n+" "+i+" "+r.to.toString$0(0)+" {"+(s&&o.JSArray_methods).join$1(s," ")+"}"},get$span(e){return this.span}};s.ForwardRule.prototype={accept$1$1(e){return e.visitForwardRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r,n,i=this,a="@forward "+s.StringExpression_quoteText(i.url.toString$0(0)),l=i.shownMixinsAndFunctions,u=i.hiddenMixinsAndFunctions;if(l!=null){r=i.shownVariables;r.toString;r=a+" show "+i._forward_rule$_memberList$2(l,r);a=r}else{if(u!=null){r=u._base;r=r.get$isNotEmpty(r)}else r=false;if(r){r=i.hiddenVariables;r.toString;r=a+" hide "+i._forward_rule$_memberList$2(u,r);a=r}}n=i.prefix;if(n!=null)a+=" as "+n+"*";r=i.configuration;a=(r.length!==0?a+(" with ("+o.JSArray_methods.join$1(r,", ")+")"):a)+";";return a.charCodeAt(0)==0?a:a},_forward_rule$_memberList$2(e,r){var n,i=s.List_List$of(e,true,$.String);for(n=r._base,n=n.get$iterator(n);n.moveNext$0();)i.push("$"+n.get$current(n));return o.JSArray_methods.join$1(i,", ")},$isAstNode:1,$isStatement:1,get$span(e){return this.span}};s.FunctionRule.prototype={accept$1$1(e){return e.visitFunctionRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.children;return"@function "+this.name+"("+this.$arguments.toString$0(0)+") {"+(r&&o.JSArray_methods).join$1(r," ")+"}"}};s.IfRule.prototype={accept$1$1(e){return e.visitIfRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=s.ListExtensions_mapIndexed(this.clauses,new s.IfRule_toString_closure,$.IfClause,$.String).join$1(0," "),n=this.lastClause;return n!=null?r+(" "+n.toString$0(0)):r},$isAstNode:1,$isStatement:1,get$span(e){return this.span}};s.IfRule_toString_closure.prototype={call$2(e,r){var n=e===0?"if":"else if";return"@"+n+" "+r.expression.toString$0(0)+" {"+o.JSArray_methods.join$1(r.children," ")+"}"},$signature:273};s.IfRuleClause.prototype={};s.IfRuleClause$__closure.prototype={call$1(e){var r;if(!(e instanceof s.VariableDeclaration))if(!(e instanceof s.FunctionRule))if(!(e instanceof s.MixinRule))r=e instanceof s.ImportRule&&o.JSArray_methods.any$1(e.imports,new s.IfRuleClause$___closure);else r=true;else r=true;else r=true;return r},$signature:154};s.IfRuleClause$___closure.prototype={call$1(e){return e instanceof s.DynamicImport},$signature:155};s.IfClause.prototype={toString$0(e){return"@if "+this.expression.toString$0(0)+" {"+o.JSArray_methods.join$1(this.children," ")+"}"}};s.ElseClause.prototype={toString$0(e){return"@else {"+o.JSArray_methods.join$1(this.children," ")+"}"}};s.ImportRule.prototype={accept$1$1(e){return e.visitImportRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return"@import "+o.JSArray_methods.join$1(this.imports,", ")+";"},$isAstNode:1,$isStatement:1,get$span(e){return this.span}};s.IncludeRule.prototype={get$spanWithoutContent(){var e,r,n=this.span;if(!(this.content==null)){e=n.file;r=this.$arguments.span;r=s.SpanExtensions_trimRight(s.SpanExtensions_trimLeft(e.span$2(0,s.FileLocation$_(e,n._file$_start).offset,r.get$end(r).offset)));n=r}return n},accept$1$1(e){return e.visitIncludeRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r,n=this,i=n.namespace;i=i!=null?"@include "+(i+"."):"@include ";i+=n.name;r=n.$arguments;if(!r.get$isEmpty(r))i+="("+r.toString$0(0)+")";r=n.content;i+=r==null?";":" "+r.toString$0(0);return i.charCodeAt(0)==0?i:i},$isAstNode:1,$isStatement:1,get$span(e){return this.span}};s.LoudComment.prototype={get$span(e){return this.text.span},accept$1$1(e){return e.visitLoudComment$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return this.text.toString$0(0)},$isAstNode:1,$isStatement:1};s.MediaRule.prototype={accept$1$1(e){return e.visitMediaRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.children;return"@media "+this.query.toString$0(0)+" {"+(r&&o.JSArray_methods).join$1(r," ")+"}"},get$span(e){return this.span}};s.MixinRule.prototype={get$hasContent(){var e,r=this,n=r.__MixinRule_hasContent;if(n===u){e=a.$eq$(o.C__HasContentVisitor.visitChildren$1(r.children),true);s._lateInitializeOnceCheck(r.__MixinRule_hasContent,"hasContent");r.__MixinRule_hasContent=e;n=e}return n},accept$1$1(e){return e.visitMixinRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r="@mixin "+this.name,n=this.$arguments;if(!(n.$arguments.length===0&&n.restArgument==null))r+="("+n.toString$0(0)+")";n=this.children;n=r+(" {"+(n&&o.JSArray_methods).join$1(n," ")+"}");return n.charCodeAt(0)==0?n:n}};s._HasContentVisitor.prototype={visitContentRule$1(e){return true}};s.ParentStatement.prototype={$isAstNode:1,$isStatement:1};s.ParentStatement_closure.prototype={call$1(e){var r;if(!(e instanceof s.VariableDeclaration))if(!(e instanceof s.FunctionRule))if(!(e instanceof s.MixinRule))r=e instanceof s.ImportRule&&o.JSArray_methods.any$1(e.imports,new s.ParentStatement__closure);else r=true;else r=true;else r=true;return r},$signature:154};s.ParentStatement__closure.prototype={call$1(e){return e instanceof s.DynamicImport},$signature:155};s.ReturnRule.prototype={accept$1$1(e){return e.visitReturnRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return"@return "+this.expression.toString$0(0)+";"},$isAstNode:1,$isStatement:1,get$span(e){return this.span}};s.SilentComment.prototype={accept$1$1(e){return e.visitSilentComment$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return this.text},$isAstNode:1,$isStatement:1,get$span(e){return this.span}};s.StyleRule.prototype={accept$1$1(e){return e.visitStyleRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.children;return this.selector.toString$0(0)+" {"+(r&&o.JSArray_methods).join$1(r," ")+"}"},get$span(e){return this.span}};s.Stylesheet.prototype={Stylesheet$internal$3$plainCss(e,r,n){var i,a,o,l,u,_;for(i=this.children,a=i.length,o=this._forwards,l=this._uses,u=0;un||o.JSArray_methods.get$last(i).combinators.length!==0||o.JSArray_methods.any$1(i,new s._IsBogusVisitor_visitComplexSelector_closure(this))}},visitPseudoSelector$1(e){var r=e.selector;if(r==null)return false;return e.name==="has"?r.accept$1(o._IsBogusVisitor_false):r.accept$1(o._IsBogusVisitor_true)}};s._IsBogusVisitor_visitComplexSelector_closure.prototype={call$1(e){return e.combinators.length>1||this.$this.visitCompoundSelector$1(e.selector)},$signature:53};s._IsUselessVisitor.prototype={visitComplexSelector$1(e){return e.leadingCombinators.length>1||o.JSArray_methods.any$1(e.components,new s._IsUselessVisitor_visitComplexSelector_closure(this))},visitPseudoSelector$1(e){return e.accept$1(o._IsBogusVisitor_true)}};s._IsUselessVisitor_visitComplexSelector_closure.prototype={call$1(e){return e.combinators.length>1||this.$this.visitCompoundSelector$1(e.selector)},$signature:53};s.AttributeSelector.prototype={accept$1$1(e){return e.visitAttributeSelector$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},$eq(e,r){var n=this;if(r==null)return false;return r instanceof s.AttributeSelector&&r.name.$eq(0,n.name)&&r.op==n.op&&r.value==n.value&&r.modifier==n.modifier},get$hashCode(e){var r=this,n=r.name;return(o.JSString_methods.get$hashCode(n.name)^a.get$hashCode$(n.namespace)^a.get$hashCode$(r.op)^a.get$hashCode$(r.value)^a.get$hashCode$(r.modifier))>>>0}};s.AttributeOperator.prototype={toString$0(e){return this._attribute$_text}};s.ClassSelector.prototype={$eq(e,r){if(r==null)return false;return r instanceof s.ClassSelector&&r.name===this.name},accept$1$1(e){return e.visitClassSelector$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},addSuffix$1(e){return new s.ClassSelector(this.name+e)},get$hashCode(e){return o.JSString_methods.get$hashCode(this.name)}};s.Combinator.prototype={toString$0(e){return this._combinator$_text}};s.ComplexSelector.prototype={get$minSpecificity(){if(this._minSpecificity==null)this._computeSpecificity$0();var e=this._minSpecificity;e.toString;return e},get$maxSpecificity(){if(this._complex$_maxSpecificity==null)this._computeSpecificity$0();var e=this._complex$_maxSpecificity;e.toString;return e},get$singleCompound(){if(this.leadingCombinators.length===0){var e=this.components;e=e.length===1&&o.JSArray_methods.get$first(e).combinators.length===0}else e=false;return e?o.JSArray_methods.get$first(this.components).selector:null},accept$1$1(e){return e.visitComplexSelector$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},isSuperselector$1(e){return this.leadingCombinators.length===0&&e.leadingCombinators.length===0&&s.complexIsSuperselector(this.components,e.components)},_computeSpecificity$0(){var e,r,n,i,s,a,o;for(e=this.components,r=e.length,n=0,i=0,s=0;s")).join$1(0,"")}};s.ComplexSelectorComponent_toString_closure.prototype={call$1(e){return" "+e.toString$0(0)},$signature:372};s.CompoundSelector.prototype={accept$1$1(e){return e.visitCompoundSelector$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},_compound$_computeSpecificity$0(){var e,r,n,i,s,a;for(e=this.components,r=e.length,n=0,i=0,s=0;s")),o.ListSeparator_kWM,false)},accept$1$1(e){return e.visitSelectorList$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},unify$1(e){var r,n,i,a,l,u,_,c,p=$.JSArray_ComplexSelector,h=s._setArrayType([],p);for(r=this.components,n=r.length,i=e.components,a=i.length,l=0;l>")),$.ComplexSelector))},resolveParentSelectors$1(e){return this.resolveParentSelectors$2$implicitParent(e,true)},_complexContainsParentSelector$1(e){return o.JSArray_methods.any$1(e.components,new s.SelectorList__complexContainsParentSelector_closure)},_resolveParentSelectorsCompound$2(e,r){var n,i,a,l=e.selector.components,u=o.JSArray_methods.any$1(l,new s.SelectorList__resolveParentSelectorsCompound_closure);if(!u&&!(o.JSArray_methods.get$first(l)instanceof s.ParentSelector))return null;n=u?new s.MappedListIterable(l,new s.SelectorList__resolveParentSelectorsCompound_closure0(r),s._arrayInstanceType(l)._eval$1("MappedListIterable<1,SimpleSelector>")):l;i=o.JSArray_methods.get$first(l);if(!(i instanceof s.ParentSelector))return s._setArrayType([s.ComplexSelector$(o.List_empty0,s._setArrayType([new s.ComplexSelectorComponent(s.CompoundSelector$(n),s.List_List$unmodifiable(e.combinators,$.Combinator))],$.JSArray_ComplexSelectorComponent),false)],$.JSArray_ComplexSelector);else if(l.length===1&&i.suffix==null)return r.withAdditionalCombinators$1(e.combinators).components;a=r.components;return new s.MappedListIterable(a,new s.SelectorList__resolveParentSelectorsCompound_closure1(i,n,e),s._arrayInstanceType(a)._eval$1("MappedListIterable<1,ComplexSelector>"))},isSuperselector$1(e){return s.listIsSuperselector(this.components,e.components)},withAdditionalCombinators$1(e){var r;if(e.length===0)r=this;else{r=this.components;r=s.SelectorList$(new s.MappedListIterable(r,new s.SelectorList_withAdditionalCombinators_closure(e),s._arrayInstanceType(r)._eval$1("MappedListIterable<1,ComplexSelector>")))}return r},get$hashCode(e){return o.C_ListEquality0.hash$1(this.components)},$eq(e,r){if(r==null)return false;return r instanceof s.SelectorList&&o.C_ListEquality.equals$2(0,this.components,r.components)}};s.SelectorList_asSassList_closure.prototype={call$1(e){var r,n,i,a,l,u,_,c,p,h=$.JSArray_Value,d=s._setArrayType([],h);for(r=e.leadingCombinators,n=r.length,i=0;i"))}r=$.JSArray_ComplexSelector;n=s._setArrayType([],r);for(i=e.components,l=i.length,u=A.parent,_=$.Combinator,p=$.ComplexSelectorComponent,h=e.leadingCombinators,d=$.JSArray_ComplexSelectorComponent,m=0;m>>0}};s.PseudoSelector_unify_closure.prototype={call$1(e){var r;if(e instanceof s.PseudoSelector)r=e.isClass&&e.name==="host"||e.selector!=null;else r=false;return r},$signature:13};s.QualifiedName.prototype={$eq(e,r){if(r==null)return false;return r instanceof s.QualifiedName&&r.name===this.name&&r.namespace==this.namespace},get$hashCode(e){return o.JSString_methods.get$hashCode(this.name)^a.get$hashCode$(this.namespace)},toString$0(e){var r=this.namespace,n=this.name;return r==null?n:r+"|"+n}};s.SimpleSelector.prototype={get$minSpecificity(){return 1e3},get$maxSpecificity(){return this.get$minSpecificity()},addSuffix$1(e){return s.throwExpression(s.SassScriptException$('Invalid parent selector "'+this.toString$0(0)+'"'))},unify$1(e){var r,n,i,a,l,u,_=this;if(e.length===1){r=o.JSArray_methods.get$first(e);if(!(r instanceof s.UniversalSelector))if(r instanceof s.PseudoSelector)n=r.isClass&&r.name==="host"||r.get$isHostContext();else n=false;else n=true;if(n)return r.unify$1(s._setArrayType([_],$.JSArray_SimpleSelector))}if(o.JSArray_methods.contains$1(e,_))return e;i=s._setArrayType([],$.JSArray_SimpleSelector);for(n=e.length,a=false,l=0;l");i=n._eval$1("ExpandIterable");l=i._eval$1("Iterable.E");c=s.LinkedHashSet_LinkedHashSet$of(new s.ExpandIterable(new s.LinkedHashMapKeyIterable(b,n),new s.AsyncEnvironment_importForwards_closure,i),l);p=s.LinkedHashSet_LinkedHashSet$of(new s.ExpandIterable(new s.LinkedHashMapKeyIterable(b,n),new s.AsyncEnvironment_importForwards_closure0,i),l);h=s.LinkedHashSet_LinkedHashSet$of(new s.ExpandIterable(new s.LinkedHashMapKeyIterable(b,n),new s.AsyncEnvironment_importForwards_closure1,i),l);i=v._async_environment$_variables;l=i.length;if(l===1){for(n=v._async_environment$_importedModules,l=n.get$entries(n).toList$0(0),u=l.length,_=$.AsyncCallable,d=0;d")).followedBy$1(0,new s.LinkedHashMapKeyIterable(n,s._instanceType(n)._eval$1("LinkedHashMapKeyIterable<1>"))),n=new s.FollowedByIterator(a.get$iterator$ax(n.__internal$_first),n._second);n.moveNext$0();){r=n._currentIterator;i=r.get$current(r).get$variableNodes().$index(0,e);if(i!=null)return i}return null},globalVariableExists$2$namespace(e,r){if(r!=null)return this._async_environment$_getModule$1(r).get$variables().containsKey$1(e);if(o.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1(e))return true;return this._async_environment$_getVariableFromGlobalModule$1(e)!=null},globalVariableExists$1(e){return this.globalVariableExists$2$namespace(e,null)},_async_environment$_variableIndex$1(e){var r,n;for(r=this._async_environment$_variables,n=r.length-1;n>=0;--n)if(r[n].containsKey$1(e))return n;return null},setVariable$5$global$namespace(e,r,n,i,l){var u,_,c,p,h,d,m,g,f=this;if(l!=null){f._async_environment$_getModule$1(l).setVariable$3(e,r,n);return}if(i||f._async_environment$_variables.length===1){f._async_environment$_variableIndices.putIfAbsent$2(e,new s.AsyncEnvironment_setVariable_closure(f,e));u=f._async_environment$_variables;if(!o.JSArray_methods.get$first(u).containsKey$1(e)){_=f._async_environment$_fromOneModule$1$3(e,"variable",new s.AsyncEnvironment_setVariable_closure0(e),$.Module_AsyncCallable);if(_!=null){_.setVariable$3(e,r,n);return}}a.$indexSet$ax(o.JSArray_methods.get$first(u),e,r);a.$indexSet$ax(o.JSArray_methods.get$first(f._async_environment$_variableNodes),e,n);return}c=f._async_environment$_nestedForwardedModules;if(c!=null&&!f._async_environment$_variableIndices.containsKey$1(e)&&f._async_environment$_variableIndex$1(e)==null)for(u=new s.ReversedListIterable(c,s.instanceType(c)._eval$1("ReversedListIterable<1>")),u=new s.ListIterator(u,u.get$length(u)),p=s._instanceType(u)._precomputed1;u.moveNext$0();){h=u.__internal$_current;for(h=a.get$reversed$ax(h==null?p._as(h):h),h=new s.ListIterator(h,h.get$length(h)),d=s._instanceType(h)._precomputed1;h.moveNext$0();){m=h.__internal$_current;if(m==null)m=d._as(m);if(m.get$variables().containsKey$1(e)){m.setVariable$3(e,r,n);return}}}if(f._async_environment$_lastVariableName===e){u=f._async_environment$_lastVariableIndex;u.toString;g=u}else g=f._async_environment$_variableIndices.putIfAbsent$2(e,new s.AsyncEnvironment_setVariable_closure1(f,e));if(!f._async_environment$_inSemiGlobalScope&&g===0){g=f._async_environment$_variables.length-1;f._async_environment$_variableIndices.$indexSet(0,e,g)}f._async_environment$_lastVariableName=e;f._async_environment$_lastVariableIndex=g;a.$indexSet$ax(f._async_environment$_variables[g],e,r);a.$indexSet$ax(f._async_environment$_variableNodes[g],e,n)},setVariable$4$global(e,r,n,i){return this.setVariable$5$global$namespace(e,r,n,i,null)},setLocalVariable$3(e,r,n){var i,s=this,o=s._async_environment$_variables,l=o.length;s._async_environment$_lastVariableName=e;i=s._async_environment$_lastVariableIndex=l-1;s._async_environment$_variableIndices.$indexSet(0,e,i);a.$indexSet$ax(o[i],e,r);a.$indexSet$ax(s._async_environment$_variableNodes[i],e,n)},getFunction$2$namespace(e,r){var n,i,s=this;if(r!=null){n=s._async_environment$_getModule$1(r);return n.get$functions(n).$index(0,e)}n=s._async_environment$_functionIndices;i=n.$index(0,e);if(i!=null){n=a.$index$asx(s._async_environment$_functions[i],e);return n==null?s._async_environment$_getFunctionFromGlobalModule$1(e):n}i=s._async_environment$_functionIndex$1(e);if(i==null)return s._async_environment$_getFunctionFromGlobalModule$1(e);n.$indexSet(0,e,i);n=a.$index$asx(s._async_environment$_functions[i],e);return n==null?s._async_environment$_getFunctionFromGlobalModule$1(e):n},_async_environment$_getFunctionFromGlobalModule$1(e){return this._async_environment$_fromOneModule$1$3(e,"function",new s.AsyncEnvironment__getFunctionFromGlobalModule_closure(e),$.AsyncCallable)},_async_environment$_functionIndex$1(e){var r,n;for(r=this._async_environment$_functions,n=r.length-1;n>=0;--n)if(r[n].containsKey$1(e))return n;return null},getMixin$2$namespace(e,r){var n,i,s=this;if(r!=null)return s._async_environment$_getModule$1(r).get$mixins().$index(0,e);n=s._async_environment$_mixinIndices;i=n.$index(0,e);if(i!=null){n=a.$index$asx(s._async_environment$_mixins[i],e);return n==null?s._async_environment$_getMixinFromGlobalModule$1(e):n}i=s._async_environment$_mixinIndex$1(e);if(i==null)return s._async_environment$_getMixinFromGlobalModule$1(e);n.$indexSet(0,e,i);n=a.$index$asx(s._async_environment$_mixins[i],e);return n==null?s._async_environment$_getMixinFromGlobalModule$1(e):n},_async_environment$_getMixinFromGlobalModule$1(e){return this._async_environment$_fromOneModule$1$3(e,"mixin",new s.AsyncEnvironment__getMixinFromGlobalModule_closure(e),$.AsyncCallable)},_async_environment$_mixinIndex$1(e){var r,n;for(r=this._async_environment$_mixins,n=r.length-1;n>=0;--n)if(r[n].containsKey$1(e))return n;return null},withContent$2(e,r){return this.withContent$body$AsyncEnvironment(e,r)},withContent$body$AsyncEnvironment(e,r){var n=0,i=s._makeAsyncAwaitCompleter($.void),a=this,o;var l=s._wrapJsFunctionForAsync((function(u,_){if(u===1)return s._asyncRethrow(_,i);while(true)switch(n){case 0:o=a._async_environment$_content;a._async_environment$_content=e;n=2;return s._asyncAwait(r.call$0(),l);case 2:a._async_environment$_content=o;return s._asyncReturn(null,i)}}));return s._asyncStartSync(l,i)},asMixin$1(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this,a;var o=s._wrapJsFunctionForAsync((function(l,u){if(l===1)return s._asyncRethrow(u,n);while(true)switch(r){case 0:a=i._async_environment$_inMixin;i._async_environment$_inMixin=true;r=2;return s._asyncAwait(e.call$0(),o);case 2:i._async_environment$_inMixin=a;return s._asyncReturn(null,n)}}));return s._asyncStartSync(o,n)},scope$1$3$semiGlobal$when(e,r,n,i){return this.scope$body$AsyncEnvironment(e,r,n,i,i)},scope$1$1(e,r){return this.scope$1$3$semiGlobal$when(e,false,true,r)},scope$1$2$when(e,r,n){return this.scope$1$3$semiGlobal$when(e,false,r,n)},scope$1$2$semiGlobal(e,r,n){return this.scope$1$3$semiGlobal$when(e,r,true,n)},scope$body$AsyncEnvironment(e,r,n,i,l){var u=0,_=s._makeAsyncAwaitCompleter(l),c,p=2,h,d=[],m=this,g,f,y,S,v,b,x,w,C,E;var A=s._wrapJsFunctionForAsync((function(i,l){if(i===1){h=l;u=p}while(true)switch(u){case 0:r=r&&m._async_environment$_inSemiGlobalScope;g=m._async_environment$_inSemiGlobalScope;m._async_environment$_inSemiGlobalScope=r;u=!n?3:4;break;case 3:p=5;u=8;return s._asyncAwait(e.call$0(),A);case 8:v=l;c=v;d=[1];u=6;break;d.push(7);u=6;break;case 5:d=[2];case 6:p=2;m._async_environment$_inSemiGlobalScope=g;u=d.pop();break;case 7:case 4:v=m._async_environment$_variables;b=$.String;o.JSArray_methods.add$1(v,s.LinkedHashMap_LinkedHashMap$_empty(b,$.Value));x=m._async_environment$_variableNodes;o.JSArray_methods.add$1(x,s.LinkedHashMap_LinkedHashMap$_empty(b,$.AstNode));w=m._async_environment$_functions;C=$.AsyncCallable;o.JSArray_methods.add$1(w,s.LinkedHashMap_LinkedHashMap$_empty(b,C));E=m._async_environment$_mixins;o.JSArray_methods.add$1(E,s.LinkedHashMap_LinkedHashMap$_empty(b,C));C=m._async_environment$_nestedForwardedModules;if(C!=null)C.push(s._setArrayType([],$.JSArray_Module_AsyncCallable));p=9;u=12;return s._asyncAwait(e.call$0(),A);case 12:b=l;c=b;d=[1];u=10;break;d.push(11);u=10;break;case 9:d=[2];case 10:p=2;m._async_environment$_inSemiGlobalScope=g;m._async_environment$_lastVariableIndex=m._async_environment$_lastVariableName=null;for(v=a.get$iterator$ax(a.get$keys$z(o.JSArray_methods.removeLast$0(v))),b=m._async_environment$_variableIndices;v.moveNext$0();){f=v.get$current(v);b.remove$1(0,f)}o.JSArray_methods.removeLast$0(x);for(v=a.get$iterator$ax(a.get$keys$z(o.JSArray_methods.removeLast$0(w))),b=m._async_environment$_functionIndices;v.moveNext$0();){y=v.get$current(v);b.remove$1(0,y)}for(v=a.get$iterator$ax(a.get$keys$z(o.JSArray_methods.removeLast$0(E))),b=m._async_environment$_mixinIndices;v.moveNext$0();){S=v.get$current(v);b.remove$1(0,S)}v=m._async_environment$_nestedForwardedModules;if(v!=null)v.pop();u=d.pop();break;case 11:case 1:return s._asyncReturn(c,_);case 2:return s._asyncRethrow(h,_)}}));return s._asyncStartSync(A,_)},toImplicitConfiguration$0(){var e,r,n,i,a,o,l,u,_,c=s.LinkedHashMap_LinkedHashMap$_empty($.String,$.ConfiguredValue);for(e=this._async_environment$_variables,r=this._async_environment$_variableNodes,n=0;n").span$1(0,0)),o.C_EmptyExtensionStore,s.NullableExtension_andThen(this._async_environment$_forwardedModules,new s.AsyncEnvironment_toDummyModule_closure))},_async_environment$_getModule$1(e){var r=this._async_environment$_modules.$index(0,e);if(r!=null)return r;throw s.wrapException(s.SassScriptException$('There is no module with the namespace "'+e+'".'))},_async_environment$_fromOneModule$1$3(e,r,n,i){var o,l,u,_,p,h,d,m,g,f,y=this._async_environment$_nestedForwardedModules;if(y!=null)for(o=new s.ReversedListIterable(y,s._arrayInstanceType(y)._eval$1("ReversedListIterable<1>")),o=new s.ListIterator(o,o.get$length(o)),l=s._instanceType(o)._precomputed1;o.moveNext$0();){u=o.__internal$_current;for(u=a.get$reversed$ax(u==null?l._as(u):u),u=new s.ListIterator(u,u.get$length(u)),_=s._instanceType(u)._precomputed1;u.moveNext$0();){p=u.__internal$_current;h=n.call$1(p==null?_._as(p):p);if(h!=null)return h}}for(o=this._async_environment$_importedModules,o=s.LinkedHashMapKeyIterator$(o,o._modifications);o.moveNext$0();){h=n.call$1(o.__js_helper$_current);if(h!=null)return h}for(o=this._async_environment$_globalModules,l=s.LinkedHashMapKeyIterator$(o,o._modifications),u=$.AsyncCallable,h=null,d=null;l.moveNext$0();){_=l.__js_helper$_current;m=n.call$1(_);if(m==null)continue;g=u._is(m)?m:_.variableIdentity$1(e);if(g.$eq(0,d))continue;if(h!=null){f=o.get$entries(o).map$1$1(0,new s.AsyncEnvironment__fromOneModule_closure(n,i),$.nullable_FileSpan);l=s.LinkedHashMap_LinkedHashMap$_empty($.FileSpan,$.String);for(o=f.get$iterator(f),u="includes "+r;o.moveNext$0();){_=o.get$current(o);if(_!=null)l.$indexSet(0,_,u)}throw s.wrapException(s.MultiSpanSassScriptException$("This "+r+c.x20is_av,r+" use",l))}d=g;h=m}return h}};s.AsyncEnvironment_importForwards_closure.prototype={call$1(e){var r=e.get$variables();return r.get$keys(r)},$signature:103};s.AsyncEnvironment_importForwards_closure0.prototype={call$1(e){var r=e.get$functions(e);return r.get$keys(r)},$signature:103};s.AsyncEnvironment_importForwards_closure1.prototype={call$1(e){var r=e.get$mixins();return r.get$keys(r)},$signature:103};s.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype={call$1(e){return e.get$variables().$index(0,this.name)},$signature:328};s.AsyncEnvironment_setVariable_closure.prototype={call$0(){var e=this.$this;e._async_environment$_lastVariableName=this.name;return e._async_environment$_lastVariableIndex=0},$signature:12};s.AsyncEnvironment_setVariable_closure0.prototype={call$1(e){return e.get$variables().containsKey$1(this.name)?e:null},$signature:366};s.AsyncEnvironment_setVariable_closure1.prototype={call$0(){var e=this.$this,r=e._async_environment$_variableIndex$1(this.name);return r==null?e._async_environment$_variables.length-1:r},$signature:12};s.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype={call$1(e){return e.get$functions(e).$index(0,this.name)},$signature:170};s.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype={call$1(e){return e.get$mixins().$index(0,this.name)},$signature:170};s.AsyncEnvironment_toModule_closure.prototype={call$1(e){return new s.MapKeySet(e,$.MapKeySet_Module_AsyncCallable)},$signature:172};s.AsyncEnvironment_toDummyModule_closure.prototype={call$1(e){return new s.MapKeySet(e,$.MapKeySet_Module_AsyncCallable)},$signature:172};s.AsyncEnvironment__fromOneModule_closure.prototype={call$1(e){return s.NullableExtension_andThen(this.callback.call$1(e.key),new s.AsyncEnvironment__fromOneModule__closure(e,this.T))},$signature:380};s.AsyncEnvironment__fromOneModule__closure.prototype={call$1(e){return a.get$span$z(this.entry.value)},$signature(){return this.T._eval$1("FileSpan(0)")}};s._EnvironmentModule0.prototype={get$url(e){var r=this.css;r=r.get$span(r);return r.get$sourceUrl(r)},setVariable$3(e,r,n){var i,l,u=this._async_environment$_modulesByVariable.$index(0,e);if(u!=null){u.setVariable$3(e,r,n);return}i=this._async_environment$_environment;l=i._async_environment$_variables;if(!o.JSArray_methods.get$first(l).containsKey$1(e))throw s.wrapException(s.SassScriptException$("Undefined variable."));a.$indexSet$ax(o.JSArray_methods.get$first(l),e,r);a.$indexSet$ax(o.JSArray_methods.get$first(i._async_environment$_variableNodes),e,n);return},variableIdentity$1(e){var r=this._async_environment$_modulesByVariable.$index(0,e);return r==null?this:r.variableIdentity$1(e)},cloneCss$0(){var e,r=this,n=r.css;if(a.get$isEmpty$asx(n.get$children(n)))return r;e=s.cloneCssStylesheet(n,r.extensionStore);return s._EnvironmentModule$_0(r._async_environment$_environment,e.item1,e.item2,r._async_environment$_modulesByVariable,r.variables,r.variableNodes,r.functions,r.mixins,r.transitivelyContainsCss,r.transitivelyContainsExtensions)},toString$0(e){var r=this.css,n=r.get$span(r);if(n.get$sourceUrl(n)==null)r="";else{r=r.get$span(r);r=r.get$sourceUrl(r);r=u.$get$context().prettyUri$1(r)}return r},$isModule:1,get$upstream(){return this.upstream},get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins},get$extensionStore(){return this.extensionStore},get$css(e){return this.css},get$transitivelyContainsCss(){return this.transitivelyContainsCss},get$transitivelyContainsExtensions(){return this.transitivelyContainsExtensions}};s._EnvironmentModule__EnvironmentModule_closure5.prototype={call$1(e){return e.get$variables()},$signature:385};s._EnvironmentModule__EnvironmentModule_closure6.prototype={call$1(e){return e.get$variableNodes()},$signature:395};s._EnvironmentModule__EnvironmentModule_closure7.prototype={call$1(e){return e.get$functions(e)},$signature:174};s._EnvironmentModule__EnvironmentModule_closure8.prototype={call$1(e){return e.get$mixins()},$signature:174};s._EnvironmentModule__EnvironmentModule_closure9.prototype={call$1(e){return e.get$transitivelyContainsCss()},$signature:104};s._EnvironmentModule__EnvironmentModule_closure10.prototype={call$1(e){return e.get$transitivelyContainsExtensions()},$signature:104};s.AsyncImportCache.prototype={canonicalize$4$baseImporter$baseUrl$forImport(e,r,n,i,s){return this.canonicalize$body$AsyncImportCache(0,r,n,i,s)},canonicalize$body$AsyncImportCache(e,r,n,i,a){var o=0,l=s._makeAsyncAwaitCompleter($.nullable_Tuple3_AsyncImporter_Uri_Uri),u,_=this,c,p;var h=s._wrapJsFunctionForAsync((function(e,d){if(e===1)return s._asyncRethrow(d,l);while(true)switch(o){case 0:o=n!=null?3:4;break;case 3:c=$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri;o=5;return s._asyncAwait(s.putIfAbsentAsync(_._async_import_cache$_relativeCanonicalizeCache,new s.Tuple4(r,a,n,i,c),new s.AsyncImportCache_canonicalize_closure(_,i,r,n,a),c,$.nullable_Tuple3_AsyncImporter_Uri_Uri),h);case 5:p=d;if(p!=null){u=p;o=1;break}case 4:c=$.Tuple2_Uri_bool;o=6;return s._asyncAwait(s.putIfAbsentAsync(_._async_import_cache$_canonicalizeCache,new s.Tuple2(r,a,c),new s.AsyncImportCache_canonicalize_closure0(_,r,a),c,$.nullable_Tuple3_AsyncImporter_Uri_Uri),h);case 6:u=d;o=1;break;case 1:return s._asyncReturn(u,l)}}));return s._asyncStartSync(h,l)},_async_import_cache$_canonicalize$3(e,r,n){return this._canonicalize$body$AsyncImportCache(e,r,n)},_canonicalize$body$AsyncImportCache(e,r,n){var i=0,a=s._makeAsyncAwaitCompleter($.nullable_Uri),l,u=this,_,p;var h=s._wrapJsFunctionForAsync((function(d,m){if(d===1)return s._asyncRethrow(m,a);while(true)switch(i){case 0:if(n){_=$.nullable_Object;_=s.runZoned(new s.AsyncImportCache__canonicalize_closure(e,r),s.LinkedHashMap_LinkedHashMap$_literal([o.Symbol__inImportRule,true],_,_),$.FutureOr_nullable_Uri)}else _=e.canonicalize$1(0,r);i=3;return s._asyncAwait(_,h);case 3:p=m;if((p==null?null:p.get$scheme())==="")u._async_import_cache$_logger.warn$2$deprecation(0,"Importer "+e.toString$0(0)+" canonicalized "+r.toString$0(0)+" to "+s.S(p)+c.x2e_Rela,true);l=p;i=1;break;case 1:return s._asyncReturn(l,a)}}));return s._asyncStartSync(h,a)},importCanonical$4$originalUrl$quiet(e,r,n,i){return this.importCanonical$body$AsyncImportCache(e,r,n,i)},importCanonical$3$originalUrl(e,r,n){return this.importCanonical$4$originalUrl$quiet(e,r,n,false)},importCanonical$body$AsyncImportCache(e,r,n,i){var a=0,o=s._makeAsyncAwaitCompleter($.nullable_Stylesheet),l,u=this;var _=s._wrapJsFunctionForAsync((function(c,p){if(c===1)return s._asyncRethrow(p,o);while(true)switch(a){case 0:a=3;return s._asyncAwait(s.putIfAbsentAsync(u._async_import_cache$_importCache,r,new s.AsyncImportCache_importCanonical_closure(u,e,r,n,i),$.Uri,$.nullable_Stylesheet),_);case 3:l=p;a=1;break;case 1:return s._asyncReturn(l,o)}}));return s._asyncStartSync(_,o)},humanize$1(e){var r,n,i=this._async_import_cache$_canonicalizeCache;i=s.IterableNullableExtension_whereNotNull(i.get$values(i),$.Tuple3_AsyncImporter_Uri_Uri);r=i.$ti;n=s.minBy(new s.MappedIterable(new s.WhereIterable(i,new s.AsyncImportCache_humanize_closure(e),r._eval$1("WhereIterable")),new s.AsyncImportCache_humanize_closure0,r._eval$1("MappedIterable")),new s.AsyncImportCache_humanize_closure1);if(n==null)return e;i=u.$get$url();return n.resolve$1(s.ParsedPath_ParsedPath$parse(e.get$path(e),i.style).get$basename())},sourceMapUrl$1(e,r){var n=this._async_import_cache$_resultsCache.$index(0,r);n=n==null?null:n.get$sourceMapUrl(n);return n==null?r:n}};s.AsyncImportCache_canonicalize_closure.prototype={call$0(){var e=0,r=s._makeAsyncAwaitCompleter($.nullable_Tuple3_AsyncImporter_Uri_Uri),n,i=this,a,o,l;var u=s._wrapJsFunctionForAsync((function(_,c){if(_===1)return s._asyncRethrow(c,r);while(true)switch(e){case 0:o=i.baseUrl;l=o==null?null:o.resolveUri$1(i.url);if(l==null)l=i.url;o=i.baseImporter;e=3;return s._asyncAwait(i.$this._async_import_cache$_canonicalize$3(o,l,i.forImport),u);case 3:a=c;if(a==null){n=null;e=1;break}n=new s.Tuple3(o,a,l,$.Tuple3_AsyncImporter_Uri_Uri);e=1;break;case 1:return s._asyncReturn(n,r)}}));return s._asyncStartSync(u,r)},$signature:177};s.AsyncImportCache_canonicalize_closure0.prototype={call$0(){var e=0,r=s._makeAsyncAwaitCompleter($.nullable_Tuple3_AsyncImporter_Uri_Uri),n,i=this,a,o,l,u,_,c,p,h;var d=s._wrapJsFunctionForAsync((function(m,g){if(m===1)return s._asyncRethrow(g,r);while(true)switch(e){case 0:a=i.$this,o=a._async_import_cache$_importers,l=o.length,u=i.url,_=i.forImport,c=0;case 3:if(!(c$)continue;if(_===$&&c<0)continue}o=c;a=u}if(a!=null)return a;throw s.wrapException(s.StateError$("BuiltInCallable "+this.name+" may not have empty overloads."))},withName$1(e){return new s.BuiltInCallable(e,this._overloads)},$isCallable:1,$isAsyncCallable:1,$isAsyncBuiltInCallable:1,get$name(e){return this.name}};s.BuiltInCallable$mixin_closure.prototype={call$1(e){this.callback.call$1(e);return o.C__SassNull},$signature:4};s.PlainCssCallable.prototype={$eq(e,r){if(r==null)return false;return r instanceof s.PlainCssCallable&&this.name===r.name},get$hashCode(e){return o.JSString_methods.get$hashCode(this.name)},$isCallable:1,$isAsyncCallable:1,get$name(e){return this.name}};s.UserDefinedCallable.prototype={get$name(e){return this.declaration.name},$isCallable:1,$isAsyncCallable:1};s._compileStylesheet_closure.prototype={call$1(e){var r;if(e===""){r=this.stylesheet.span;r=s.Uri_Uri$dataFromString(s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(r.get$file(r)._decodedChars,0,null),0,null),o.C_Utf8Codec,null).get$_text()}else r=this.importCache.sourceMapUrl$1(0,s.Uri_parse(e)).toString$0(0);return r},$signature:5};s.CompileResult.prototype={};s.Configuration.prototype={throughForward$1(e){var r,n,i,a,l=this._values;if(l.get$isEmpty(l))return o.Configuration_Map_empty;r=e.prefix;if(r!=null)l=new s.UnprefixedMapView(l,r,$.UnprefixedMapView_ConfiguredValue);n=e.shownVariables;i=e.hiddenVariables;if(n!=null)l=new s.LimitedMapView(l,n._base.intersection$1(new s.MapKeySet(l,$.MapKeySet_nullable_Object)),$.LimitedMapView_String_ConfiguredValue);else{if(i!=null){a=i._base;a=a.get$isNotEmpty(a)}else a=false;if(a)l=s.LimitedMapView$blocklist(l,i,$.String,$.ConfiguredValue)}return this._withValues$1(l)},_withValues$1(e){return new s.Configuration(e)},toString$0(e){var r=this._values;return"("+r.get$entries(r).map$1$1(0,new s.Configuration_toString_closure,$.String).join$1(0,", ")+")"}};s.Configuration_toString_closure.prototype={call$1(e){return"$"+s.S(e.key)+": "+s.S(e.value)},$signature:503};s.ExplicitConfiguration.prototype={_withValues$1(e){return new s.ExplicitConfiguration(this.nodeWithSpan,e)}};s.ConfiguredValue.prototype={toString$0(e){return s.serializeValue(this.value,true,true)}};s.Environment.prototype={closure$0(){var e,r,n,i=this,a=i._forwardedModules,o=i._nestedForwardedModules,l=i._variables;l=s._setArrayType(l.slice(0),s._arrayInstanceType(l));e=i._variableNodes;e=s._setArrayType(e.slice(0),s._arrayInstanceType(e));r=i._functions;r=s._setArrayType(r.slice(0),s._arrayInstanceType(r));n=i._mixins;n=s._setArrayType(n.slice(0),s._arrayInstanceType(n));return s.Environment$_(i._environment$_modules,i._namespaceNodes,i._globalModules,i._importedModules,a,o,i._allModules,l,e,r,n,i._content)},addModule$3$namespace(e,r,n){var i,l,u,_=this;if(n==null){_._globalModules.$indexSet(0,e,r);_._allModules.push(e);for(i=a.get$iterator$ax(a.get$keys$z(o.JSArray_methods.get$first(_._variables)));i.moveNext$0();){l=i.get$current(i);if(e.get$variables().containsKey$1(l))throw s.wrapException(s.SassScriptException$(c.This_ma+l+'".'))}}else{i=_._environment$_modules;if(i.containsKey$1(n)){i=_._namespaceNodes.$index(0,n);u=i==null?null:i.span;i=s.LinkedHashMap_LinkedHashMap$_empty($.FileSpan,$.String);if(u!=null)i.$indexSet(0,u,"original @use");throw s.wrapException(s.MultiSpanSassScriptException$(c.There_+n+'".',"new @use",i))}i.$indexSet(0,n,e);_._namespaceNodes.$indexSet(0,n,r);_._allModules.push(e)}},forwardModule$2(e,r){var n,i,a,o=this,l=o._forwardedModules;if(l==null)l=o._forwardedModules=s.LinkedHashMap_LinkedHashMap$_empty($.Module_Callable,$.AstNode);n=s.ForwardedModuleView_ifNecessary(e,r,$.Callable);for(i=s.LinkedHashMapKeyIterator$(l,l._modifications);i.moveNext$0();){a=i.__js_helper$_current;o._assertNoConflicts$5(n.get$variables(),a.get$variables(),n,a,"variable");o._assertNoConflicts$5(n.get$functions(n),a.get$functions(a),n,a,"function");o._assertNoConflicts$5(n.get$mixins(),a.get$mixins(),n,a,"mixin")}o._allModules.push(e);l.$indexSet(0,n,r)},_assertNoConflicts$5(e,r,n,i,o){var l,u,_,c,p,h;if(e.get$length(e)");i=n._eval$1("ExpandIterable");l=i._eval$1("Iterable.E");c=s.LinkedHashSet_LinkedHashSet$of(new s.ExpandIterable(new s.LinkedHashMapKeyIterable(b,n),new s.Environment_importForwards_closure,i),l);p=s.LinkedHashSet_LinkedHashSet$of(new s.ExpandIterable(new s.LinkedHashMapKeyIterable(b,n),new s.Environment_importForwards_closure0,i),l);h=s.LinkedHashSet_LinkedHashSet$of(new s.ExpandIterable(new s.LinkedHashMapKeyIterable(b,n),new s.Environment_importForwards_closure1,i),l);i=v._variables;l=i.length;if(l===1){for(n=v._importedModules,l=n.get$entries(n).toList$0(0),u=l.length,_=$.Callable,d=0;d")).followedBy$1(0,new s.LinkedHashMapKeyIterable(n,s._instanceType(n)._eval$1("LinkedHashMapKeyIterable<1>"))),n=new s.FollowedByIterator(a.get$iterator$ax(n.__internal$_first),n._second);n.moveNext$0();){r=n._currentIterator;i=r.get$current(r).get$variableNodes().$index(0,e);if(i!=null)return i}return null},globalVariableExists$2$namespace(e,r){if(r!=null)return this._getModule$1(r).get$variables().containsKey$1(e);if(o.JSArray_methods.get$first(this._variables).containsKey$1(e))return true;return this._getVariableFromGlobalModule$1(e)!=null},globalVariableExists$1(e){return this.globalVariableExists$2$namespace(e,null)},_variableIndex$1(e){var r,n;for(r=this._variables,n=r.length-1;n>=0;--n)if(r[n].containsKey$1(e))return n;return null},setVariable$5$global$namespace(e,r,n,i,l){var u,_,c,p,h,d,m,g,f=this;if(l!=null){f._getModule$1(l).setVariable$3(e,r,n);return}if(i||f._variables.length===1){f._variableIndices.putIfAbsent$2(e,new s.Environment_setVariable_closure(f,e));u=f._variables;if(!o.JSArray_methods.get$first(u).containsKey$1(e)){_=f._fromOneModule$1$3(e,"variable",new s.Environment_setVariable_closure0(e),$.Module_Callable);if(_!=null){_.setVariable$3(e,r,n);return}}a.$indexSet$ax(o.JSArray_methods.get$first(u),e,r);a.$indexSet$ax(o.JSArray_methods.get$first(f._variableNodes),e,n);return}c=f._nestedForwardedModules;if(c!=null&&!f._variableIndices.containsKey$1(e)&&f._variableIndex$1(e)==null)for(u=new s.ReversedListIterable(c,s.instanceType(c)._eval$1("ReversedListIterable<1>")),u=new s.ListIterator(u,u.get$length(u)),p=s._instanceType(u)._precomputed1;u.moveNext$0();){h=u.__internal$_current;for(h=a.get$reversed$ax(h==null?p._as(h):h),h=new s.ListIterator(h,h.get$length(h)),d=s._instanceType(h)._precomputed1;h.moveNext$0();){m=h.__internal$_current;if(m==null)m=d._as(m);if(m.get$variables().containsKey$1(e)){m.setVariable$3(e,r,n);return}}}if(f._lastVariableName===e){u=f._lastVariableIndex;u.toString;g=u}else g=f._variableIndices.putIfAbsent$2(e,new s.Environment_setVariable_closure1(f,e));if(!f._inSemiGlobalScope&&g===0){g=f._variables.length-1;f._variableIndices.$indexSet(0,e,g)}f._lastVariableName=e;f._lastVariableIndex=g;a.$indexSet$ax(f._variables[g],e,r);a.$indexSet$ax(f._variableNodes[g],e,n)},setVariable$4$global(e,r,n,i){return this.setVariable$5$global$namespace(e,r,n,i,null)},setLocalVariable$3(e,r,n){var i,s=this,o=s._variables,l=o.length;s._lastVariableName=e;i=s._lastVariableIndex=l-1;s._variableIndices.$indexSet(0,e,i);a.$indexSet$ax(o[i],e,r);a.$indexSet$ax(s._variableNodes[i],e,n)},getFunction$2$namespace(e,r){var n,i,s=this;if(r!=null){n=s._getModule$1(r);return n.get$functions(n).$index(0,e)}n=s._functionIndices;i=n.$index(0,e);if(i!=null){n=a.$index$asx(s._functions[i],e);return n==null?s._getFunctionFromGlobalModule$1(e):n}i=s._functionIndex$1(e);if(i==null)return s._getFunctionFromGlobalModule$1(e);n.$indexSet(0,e,i);n=a.$index$asx(s._functions[i],e);return n==null?s._getFunctionFromGlobalModule$1(e):n},_getFunctionFromGlobalModule$1(e){return this._fromOneModule$1$3(e,"function",new s.Environment__getFunctionFromGlobalModule_closure(e),$.Callable)},_functionIndex$1(e){var r,n;for(r=this._functions,n=r.length-1;n>=0;--n)if(r[n].containsKey$1(e))return n;return null},getMixin$2$namespace(e,r){var n,i,s=this;if(r!=null)return s._getModule$1(r).get$mixins().$index(0,e);n=s._mixinIndices;i=n.$index(0,e);if(i!=null){n=a.$index$asx(s._mixins[i],e);return n==null?s._getMixinFromGlobalModule$1(e):n}i=s._mixinIndex$1(e);if(i==null)return s._getMixinFromGlobalModule$1(e);n.$indexSet(0,e,i);n=a.$index$asx(s._mixins[i],e);return n==null?s._getMixinFromGlobalModule$1(e):n},_getMixinFromGlobalModule$1(e){return this._fromOneModule$1$3(e,"mixin",new s.Environment__getMixinFromGlobalModule_closure(e),$.Callable)},_mixinIndex$1(e){var r,n;for(r=this._mixins,n=r.length-1;n>=0;--n)if(r[n].containsKey$1(e))return n;return null},scope$1$3$semiGlobal$when(e,r,n){var i,l,u,_,c,p,h,d,m,g,f=this;r=r&&f._inSemiGlobalScope;i=f._inSemiGlobalScope;f._inSemiGlobalScope=r;if(!n)try{c=e.call$0();return c}finally{f._inSemiGlobalScope=i}c=f._variables;p=$.String;o.JSArray_methods.add$1(c,s.LinkedHashMap_LinkedHashMap$_empty(p,$.Value));h=f._variableNodes;o.JSArray_methods.add$1(h,s.LinkedHashMap_LinkedHashMap$_empty(p,$.AstNode));d=f._functions;m=$.Callable;o.JSArray_methods.add$1(d,s.LinkedHashMap_LinkedHashMap$_empty(p,m));g=f._mixins;o.JSArray_methods.add$1(g,s.LinkedHashMap_LinkedHashMap$_empty(p,m));m=f._nestedForwardedModules;if(m!=null)m.push(s._setArrayType([],$.JSArray_Module_Callable));try{p=e.call$0();return p}finally{f._inSemiGlobalScope=i;f._lastVariableIndex=f._lastVariableName=null;for(c=a.get$iterator$ax(a.get$keys$z(o.JSArray_methods.removeLast$0(c))),p=f._variableIndices;c.moveNext$0();){l=c.get$current(c);p.remove$1(0,l)}o.JSArray_methods.removeLast$0(h);for(c=a.get$iterator$ax(a.get$keys$z(o.JSArray_methods.removeLast$0(d))),p=f._functionIndices;c.moveNext$0();){u=c.get$current(c);p.remove$1(0,u)}for(c=a.get$iterator$ax(a.get$keys$z(o.JSArray_methods.removeLast$0(g))),p=f._mixinIndices;c.moveNext$0();){_=c.get$current(c);p.remove$1(0,_)}c=f._nestedForwardedModules;if(c!=null)c.pop()}},scope$1$1(e,r){return this.scope$1$3$semiGlobal$when(e,false,true,r)},scope$1$2$when(e,r,n){return this.scope$1$3$semiGlobal$when(e,false,r,n)},scope$1$2$semiGlobal(e,r,n){return this.scope$1$3$semiGlobal$when(e,r,true,n)},toImplicitConfiguration$0(){var e,r,n,i,a,o,l,u,_,c=s.LinkedHashMap_LinkedHashMap$_empty($.String,$.ConfiguredValue);for(e=this._variables,r=this._variableNodes,n=0;n").span$1(0,0)),o.C_EmptyExtensionStore,s.NullableExtension_andThen(this._forwardedModules,new s.Environment_toDummyModule_closure))},_getModule$1(e){var r=this._environment$_modules.$index(0,e);if(r!=null)return r;throw s.wrapException(s.SassScriptException$('There is no module with the namespace "'+e+'".'))},_fromOneModule$1$3(e,r,n,i){var o,l,u,_,p,h,d,m,g,f,y=this._nestedForwardedModules;if(y!=null)for(o=new s.ReversedListIterable(y,s._arrayInstanceType(y)._eval$1("ReversedListIterable<1>")),o=new s.ListIterator(o,o.get$length(o)),l=s._instanceType(o)._precomputed1;o.moveNext$0();){u=o.__internal$_current;for(u=a.get$reversed$ax(u==null?l._as(u):u),u=new s.ListIterator(u,u.get$length(u)),_=s._instanceType(u)._precomputed1;u.moveNext$0();){p=u.__internal$_current;h=n.call$1(p==null?_._as(p):p);if(h!=null)return h}}for(o=this._importedModules,o=s.LinkedHashMapKeyIterator$(o,o._modifications);o.moveNext$0();){h=n.call$1(o.__js_helper$_current);if(h!=null)return h}for(o=this._globalModules,l=s.LinkedHashMapKeyIterator$(o,o._modifications),u=$.Callable,h=null,d=null;l.moveNext$0();){_=l.__js_helper$_current;m=n.call$1(_);if(m==null)continue;g=u._is(m)?m:_.variableIdentity$1(e);if(g.$eq(0,d))continue;if(h!=null){f=o.get$entries(o).map$1$1(0,new s.Environment__fromOneModule_closure(n,i),$.nullable_FileSpan);l=s.LinkedHashMap_LinkedHashMap$_empty($.FileSpan,$.String);for(o=f.get$iterator(f),u="includes "+r;o.moveNext$0();){_=o.get$current(o);if(_!=null)l.$indexSet(0,_,u)}throw s.wrapException(s.MultiSpanSassScriptException$("This "+r+c.x20is_av,r+" use",l))}d=g;h=m}return h}};s.Environment_importForwards_closure.prototype={call$1(e){var r=e.get$variables();return r.get$keys(r)},$signature:106};s.Environment_importForwards_closure0.prototype={call$1(e){var r=e.get$functions(e);return r.get$keys(r)},$signature:106};s.Environment_importForwards_closure1.prototype={call$1(e){var r=e.get$mixins();return r.get$keys(r)},$signature:106};s.Environment__getVariableFromGlobalModule_closure.prototype={call$1(e){return e.get$variables().$index(0,this.name)},$signature:257};s.Environment_setVariable_closure.prototype={call$0(){var e=this.$this;e._lastVariableName=this.name;return e._lastVariableIndex=0},$signature:12};s.Environment_setVariable_closure0.prototype={call$1(e){return e.get$variables().containsKey$1(this.name)?e:null},$signature:267};s.Environment_setVariable_closure1.prototype={call$0(){var e=this.$this,r=e._variableIndex$1(this.name);return r==null?e._variables.length-1:r},$signature:12};s.Environment__getFunctionFromGlobalModule_closure.prototype={call$1(e){return e.get$functions(e).$index(0,this.name)},$signature:188};s.Environment__getMixinFromGlobalModule_closure.prototype={call$1(e){return e.get$mixins().$index(0,this.name)},$signature:188};s.Environment_toModule_closure.prototype={call$1(e){return new s.MapKeySet(e,$.MapKeySet_Module_Callable)},$signature:190};s.Environment_toDummyModule_closure.prototype={call$1(e){return new s.MapKeySet(e,$.MapKeySet_Module_Callable)},$signature:190};s.Environment__fromOneModule_closure.prototype={call$1(e){return s.NullableExtension_andThen(this.callback.call$1(e.key),new s.Environment__fromOneModule__closure(e,this.T))},$signature:285};s.Environment__fromOneModule__closure.prototype={call$1(e){return a.get$span$z(this.entry.value)},$signature(){return this.T._eval$1("FileSpan(0)")}};s._EnvironmentModule.prototype={get$url(e){var r=this.css;r=r.get$span(r);return r.get$sourceUrl(r)},setVariable$3(e,r,n){var i,l,u=this._modulesByVariable.$index(0,e);if(u!=null){u.setVariable$3(e,r,n);return}i=this._environment$_environment;l=i._variables;if(!o.JSArray_methods.get$first(l).containsKey$1(e))throw s.wrapException(s.SassScriptException$("Undefined variable."));a.$indexSet$ax(o.JSArray_methods.get$first(l),e,r);a.$indexSet$ax(o.JSArray_methods.get$first(i._variableNodes),e,n);return},variableIdentity$1(e){var r=this._modulesByVariable.$index(0,e);return r==null?this:r.variableIdentity$1(e)},cloneCss$0(){var e,r=this,n=r.css;if(a.get$isEmpty$asx(n.get$children(n)))return r;e=s.cloneCssStylesheet(n,r.extensionStore);return s._EnvironmentModule$_(r._environment$_environment,e.item1,e.item2,r._modulesByVariable,r.variables,r.variableNodes,r.functions,r.mixins,r.transitivelyContainsCss,r.transitivelyContainsExtensions)},toString$0(e){var r=this.css,n=r.get$span(r);if(n.get$sourceUrl(n)==null)r="";else{r=r.get$span(r);r=r.get$sourceUrl(r);r=u.$get$context().prettyUri$1(r)}return r},$isModule:1,get$upstream(){return this.upstream},get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins},get$extensionStore(){return this.extensionStore},get$css(e){return this.css},get$transitivelyContainsCss(){return this.transitivelyContainsCss},get$transitivelyContainsExtensions(){return this.transitivelyContainsExtensions}};s._EnvironmentModule__EnvironmentModule_closure.prototype={call$1(e){return e.get$variables()},$signature:286};s._EnvironmentModule__EnvironmentModule_closure0.prototype={call$1(e){return e.get$variableNodes()},$signature:287};s._EnvironmentModule__EnvironmentModule_closure1.prototype={call$1(e){return e.get$functions(e)},$signature:168};s._EnvironmentModule__EnvironmentModule_closure2.prototype={call$1(e){return e.get$mixins()},$signature:168};s._EnvironmentModule__EnvironmentModule_closure3.prototype={call$1(e){return e.get$transitivelyContainsCss()},$signature:116};s._EnvironmentModule__EnvironmentModule_closure4.prototype={call$1(e){return e.get$transitivelyContainsExtensions()},$signature:116};s.SassException.prototype={get$trace(e){return s.Trace$(s._setArrayType([s.frameForSpan(s.SourceSpanException.prototype.get$span.call(this,this),"root stylesheet",null)],$.JSArray_Frame),null)},get$span(e){return s.SourceSpanException.prototype.get$span.call(this,this)},toString$1$color(e,r){var n,i,o,l,u=this,_=new s.StringBuffer(""),c=""+("Error: "+u._span_exception$_message+"\n");_._contents=c;_._contents=c+s.SourceSpanException.prototype.get$span.call(u,u).highlight$1$color(r);for(c=u.get$trace(u).toString$0(0).split("\n"),n=c.length,i=0;i255){r._contents=a+s.Primitives_stringFromCharCode(92);a=r._contents+=o.JSInt_methods.toRadixString$1(n,16);r._contents=a+s.Primitives_stringFromCharCode(32)}else r._contents=a+s.Primitives_stringFromCharCode(n)}return"/* "+o.JSArray_methods.join$1(s._setArrayType(e.split("\n"),$.JSArray_String),"\n * ")+' */\n\nbody::before {\n font-family: "Source Code Pro", "SF Mono", Monaco, Inconsolata, "Fira Mono",\n "Droid Sans Mono", monospace, monospace;\n white-space: pre;\n display: block;\n padding: 1em;\n margin-bottom: 1em;\n border-bottom: 2px solid black;\n content: '+r.toString$0(0)+";\n}"}};s.MultiSpanSassException.prototype={toString$1$color(e,r){var n,i,o,l,u=this,_=r===true&&true,c=new s.StringBuffer("Error: "+u._span_exception$_message+"\n");s.NullableExtension_andThen(s.Highlighter$multiple(s.SourceSpanException.prototype.get$span.call(u,u),u.primaryLabel,u.secondarySpans,_,null,null).highlight$0(),c.get$write(c));for(n=u.get$trace(u).toString$0(0).split("\n"),i=n.length,o=0;o2){m=o.JSString_methods._codeUnitAt$1(h,0);if(!(m>=97&&m<=122))m=m>=65&&m<=90;else m=true;m=m&&o.JSString_methods._codeUnitAt$1(h,1)===58}else m=false;if(m){if(2>d)s.throwExpression(s.RangeError$range(2,0,d,w,w));d=s.stringContainsUnchecked(h,":",2)}else d=true}else d=false;if(d)c=true;else if(s.dirExists(h))l.add$1(0,h);else p=true}if(p||n.get$length(n)===0){if(c)s.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');else if(r){if(a.get$length$asx(n._collection$_source)>1)s.ExecutableOptions__fail("Only one argument is allowed with --stdin.");else if(s._asBool(e.$index(0,"update")))s.ExecutableOptions__fail("--update is not allowed with --stdin.");else if(s._asBool(e.$index(0,"watch")))s.ExecutableOptions__fail("--watch is not allowed with --stdin.");e=n.get$length(n)===0?w:n.get$first(n);n=$.dynamic;i=$.nullable_String;x._sourcesToDestinations=s.ConstantMap_ConstantMap$from(s.LinkedHashMap_LinkedHashMap$_literal([null,e],n,n),i,i)}else{i=n._collection$_source;u=a.getInterceptor$asx(i);if(u.get$length(i)>2)s.ExecutableOptions__fail("Only two positional args may be passed.");else if(l._collection$_length!==0){g='Directory "'+s.S(l.get$first(l))+'" may not be a positional arg.';f=n.get$last(n);s.ExecutableOptions__fail(a.$eq$(l.get$first(l),n.get$first(n))&&!s.fileExists(f)?g+('\nTo compile all CSS in "'+s.S(l.get$first(l))+'" to "'+f+'", use `sass '+s.S(l.get$first(l))+":"+f+"`."):g)}else{y=a.$eq$(n.get$first(n),"-")?w:n.get$first(n);S=u.get$length(i)===1?w:n.get$last(n);if(S==null)if(s._asBool(e.$index(0,"update")))s.ExecutableOptions__fail("--update is not allowed when printing to stdout.");else if(s._asBool(e.$index(0,"watch")))s.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");e=s.PathMap__create(w,$.nullable_String);e.$indexSet(0,y,S);x._sourcesToDestinations=new s.UnmodifiableMapView(new s.PathMap(e,$.PathMap_nullable_String),$.UnmodifiableMapView_of_nullable_String_and_nullable_String)}}s._lateWriteOnceCheck(x.__ExecutableOptions__sourceDirectoriesToDestinations,C);x.__ExecutableOptions__sourceDirectoriesToDestinations=o.Map_empty5;return}if(r)s.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');v=s.LinkedHashSet_LinkedHashSet$_empty(i);e=s.PathMap__create(w,i);u=$.PathMap_String;i=s.PathMap__create(w,i);for(n=new s.ListIterator(n,n.get$length(n)),_=s._instanceType(n)._precomputed1;n.moveNext$0();){h=n.__internal$_current;if(h==null)h=_._as(h);if(l.contains$1(0,h)){if(!v.add$1(0,h))s.ExecutableOptions__fail(E+h+'".');i.$indexSet(0,h,h);e.addAll$1(0,x._listSourceDirectory$2(h,h));continue}b=x._splitSourceAndDestination$1(h);y=b.item1;S=b.item2;if(!v.add$1(0,y))s.ExecutableOptions__fail(E+y+'".');if(y==="-")e.$indexSet(0,w,S);else if(s.dirExists(y)){i.$indexSet(0,y,S);e.addAll$1(0,x._listSourceDirectory$2(y,S))}else e.$indexSet(0,y,S)}x._sourcesToDestinations=new s.UnmodifiableMapView(new s.PathMap(e,u),$.UnmodifiableMapView_of_nullable_String_and_nullable_String);s._lateWriteOnceCheck(x.__ExecutableOptions__sourceDirectoriesToDestinations,C);x.__ExecutableOptions__sourceDirectoriesToDestinations=new s.UnmodifiableMapView(new s.PathMap(i,u),$.UnmodifiableMapView_of_nullable_String_and_String)},_splitSourceAndDestination$1(e){var r,n,i,a,l;for(r=e.length,n=0;ni+2){a=o.JSString_methods.codeUnitAt$1(e,i);if(!(a>=97&&a<=122))a=a>=65&&a<=90;else a=true;i=a&&o.JSString_methods.codeUnitAt$1(e,i+1)===58}else i=false}else i=false;if(i)continue;if(o.JSString_methods._codeUnitAt$1(e,n)===58){i=n+1;l=o.JSString_methods.indexOf$2(e,":",i);if(l===n+2)if(r>i+2){r=o.JSString_methods._codeUnitAt$1(e,i);if(!(r>=97&&r<=122))r=r>=65&&r<=90;else r=true;r=r&&o.JSString_methods._codeUnitAt$1(e,i+1)===58}else r=false;else r=false;if((r?o.JSString_methods.indexOf$2(e,":",l+1):l)!==-1)s.ExecutableOptions__fail('"'+e+'" may only contain one ":".');return new s.Tuple2(o.JSString_methods.substring$2(e,0,n),o.JSString_methods.substring$1(e,i),$.Tuple2_String_String)}}throw s.wrapException(s.ArgumentError$('Expected "'+e+'" to contain a colon.',null))},_listSourceDirectory$2(e,r){var n,i,o,l,_,c,p,h=$.String;h=s.LinkedHashMap_LinkedHashMap$_empty(h,h);for(n=a.get$iterator$ax(s.listDir(e,true)),i=e===r,o=$.JSArray_nullable_String,l=$.WhereTypeIterable_String;n.moveNext$0();){_=n.get$current(n);if(this._isEntrypoint$1(_))c=!(i&&s.ParsedPath_ParsedPath$parse(_,u.$get$context().style)._splitExtension$1(1)[1]===".css");else c=false;if(c){c=u.$get$context();p=s._setArrayType([r,c.withoutExtension$1(c.relative$2$from(_,e))+".css",null,null,null,null,null,null],o);s._validateArgList("join",p);h.$indexSet(0,_,c.joinAll$1(new s.WhereTypeIterable(p,l)))}}return h},_isEntrypoint$1(e){var r,n=u.$get$context().style;if(o.JSString_methods.startsWith$1(s.ParsedPath_ParsedPath$parse(e,n).get$basename(),"_"))return false;r=s.ParsedPath_ParsedPath$parse(e,n)._splitExtension$1(1)[1];return r===".scss"||r===".sass"||r===".css"},get$_writeToStdout(){var e,r=this;r._ensureSources$0();e=r._sourcesToDestinations;if(e.get$length(e)===1){r._ensureSources$0();e=r._sourcesToDestinations;e=e.get$values(e);e=e.get$single(e)==null}else e=false;return e},get$emitSourceMap(){var e=this,r="source-map",n="source-map-urls",i="embed-sources",o="embed-source-map",l=e._options;if(!s._asBool(l.$index(0,r)))if(l.wasParsed$1(n))s.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");else if(l.wasParsed$1(i))s.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");else if(l.wasParsed$1(o))s.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");if(!e.get$_writeToStdout())return s._asBool(l.$index(0,r));if(a.$eq$(e._ifParsed$1(n),"relative"))s.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");if(s._asBool(l.$index(0,o)))return s._asBool(l.$index(0,r));else if(a.$eq$(e._ifParsed$1(r),true))s.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");else if(l.wasParsed$1(n))s.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");else if(s._asBool(l.$index(0,i)))s.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");else return false},sourceMapUrl$2(e,r,n){var i,o,l,_=null;if(r.get$scheme().length!==0&&r.get$scheme()!=="file")return r;i=u.$get$context();o=i.style.pathFromUri$1(s._parseUri(r));if(a.$eq$(this._options.$index(0,"source-map-urls"),"relative")&&!this.get$_writeToStdout()){n.toString;l=i.relative$2$from(o,i.dirname$1(n))}else l=i.absolute$7(o,_,_,_,_,_,_);return i.toUri$1(l)},_ifParsed$1(e){var r=this._options;return r.wasParsed$1(e)?r.$index(0,e):null}};s.ExecutableOptions__parser_closure.prototype={call$0(){var e=$.String,r=s.LinkedHashMap_LinkedHashMap$_empty(e,$.Option),n=[],i=new s.ArgParser(r,s.LinkedHashMap_LinkedHashMap$_empty(e,e),new s.UnmodifiableMapView(r,$.UnmodifiableMapView_String_Option),new s.UnmodifiableMapView(s.LinkedHashMap_LinkedHashMap$_empty(e,$.ArgParser),$.UnmodifiableMapView_String_ArgParser),n,true,null);i.addOption$2$hide("precision",true);i.addFlag$2$hide("async",true);n.push(s.ExecutableOptions__separator("Input and Output"));i.addFlag$2$help("stdin","Read the stylesheet from stdin.");i.addFlag$2$help("indented","Use the indented syntax for input from stdin.");i.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path","I","A path to use when resolving imports.\nMay be passed multiple times.",false,"PATH");e=$.JSArray_String;i.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style","s",s._setArrayType(["expanded","compressed"],e),"expanded","Output style.","NAME");i.addFlag$3$defaultsTo$help("charset",true,"Emit a @charset or BOM for CSS with non-ASCII characters.");i.addFlag$3$defaultsTo$help("error-css",null,"When an error occurs, emit a stylesheet describing it.\nDefaults to true when compiling to a file.");i.addFlag$3$help$negatable("update","Only compile out-of-date stylesheets.",false);n.push(s.ExecutableOptions__separator("Source Maps"));i.addFlag$3$defaultsTo$help("source-map",true,"Whether to generate source maps.");i.addOption$4$allowed$defaultsTo$help("source-map-urls",s._setArrayType(["relative","absolute"],e),"relative","How to link from source maps to source files.");i.addFlag$3$defaultsTo$help("embed-sources",false,"Embed source file contents in source maps.");i.addFlag$3$defaultsTo$help("embed-source-map",false,"Embed source map contents in CSS.");n.push(s.ExecutableOptions__separator("Other"));i.addFlag$4$abbr$help$negatable("watch","w","Watch stylesheets and recompile when they change.",false);i.addFlag$2$help("poll","Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");i.addFlag$2$help("stop-on-error","Don't compile more files once an error is encountered.");i.addFlag$4$abbr$help$negatable("interactive","i","Run an interactive SassScript shell.",false);i.addFlag$3$abbr$help("color","c","Whether to use terminal colors for messages.");i.addFlag$2$help("unicode","Whether to use Unicode characters for messages.");i.addFlag$3$abbr$help("quiet","q","Don't print warnings.");i.addFlag$2$help("quiet-deps","Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");i.addFlag$2$help("verbose","Print all deprecation warnings even when they're repetitive.");i.addFlag$2$help("trace","Print full Dart stack traces for exceptions.");i.addFlag$4$abbr$help$negatable("help","h","Print this usage information.",false);i.addFlag$3$help$negatable("version","Print the version of Dart Sass.",false);return i},$signature:293};s.ExecutableOptions_interactive_closure.prototype={call$0(){var e,r,n,i=this.$this._options;if(!s._asBool(i.$index(0,"interactive")))return false;e=["stdin","indented","style","source-map","source-map-urls","embed-sources","embed-source-map","update","watch"];for(r=0;r<9;++r){n=e[r];if(!i._parser.options._map.containsKey$1(n))s.throwExpression(s.ArgumentError$('Could not find an option named "'+n+'".',null));if(i._parsed.containsKey$1(n))throw s.wrapException(s.UsageException$("--"+n+" isn't allowed with --interactive."))}return true},$signature:28};s.ExecutableOptions_emitErrorCss_closure.prototype={call$1(e){return e!=null},$signature:249};s.UsageException.prototype={$isException:1,get$message(e){return this.message}};s.watch_closure.prototype={call$1(e){for(;!s.dirExists(e);)e=u.$get$context().dirname$1(e);return this.dirWatcher.watch$1(0,e)},$signature:582};s._Watcher.prototype={compile$3$ifModified(e,r,n,i){return this.compile$body$_Watcher(0,r,n,i)},compile$2(e,r,n){return this.compile$3$ifModified(e,r,n,false)},compile$body$_Watcher(e,r,n,i){var o=0,l=s._makeAsyncAwaitCompleter($.bool),_,c=2,p,h=[],d=this,m,g,f,y,S,v,b,x,w;var C=s._wrapJsFunctionForAsync((function(e,$){if(e===1){p=$;o=c}while(true)switch(o){case 0:c=4;o=7;return s._asyncAwait(s.compileStylesheet(d._watch$_options,d._graph,r,n,i),C);case 7:_=true;o=1;break;c=2;o=6;break;case 4:c=3;w=p;b=s.unwrapException(w);if(b instanceof s.SassException){m=b;g=s.getTraceFromException(w);b=d._watch$_options;if(!b.get$emitErrorCss())d._delete$1(n);b=a.toString$1$color$(m,b.get$color());x=s.getTrace(m);d._printError$2(b,x==null?g:x);a.set$exitCode$x(self.process,65);_=false;o=1;break}else if(b instanceof s.FileSystemException){f=b;y=s.getTraceFromException(w);S=f.path;b=S==null?f.message:"Error reading "+u.$get$context().relative$2$from(S,null)+": "+f.message+".";x=s.getTrace(f);d._printError$2(b,x==null?y:x);a.set$exitCode$x(self.process,66);_=false;o=1;break}else throw w;o=6;break;case 3:o=2;break;case 6:case 1:return s._asyncReturn(_,l);case 2:return s._asyncRethrow(p,l)}}));return s._asyncStartSync(C,l)},_delete$1(e){var r,n,i;try{s.deleteFile(e);r=new s.StringBuffer("");n=this._watch$_options;if(n.get$color())r._contents+="";r._contents+="Deleted "+e+".";if(n.get$color())r._contents+="";s.print(r)}catch(i){if(!(s.unwrapException(i)instanceof s.FileSystemException))throw i}},_printError$2(e,r){var n,i=u.$get$stderr();i.writeln$1(e);n=this._watch$_options._options;if(s._asBool(n.$index(0,"trace"))){i.writeln$0();i.writeln$1(o.JSString_methods.trimRight$0(s.Trace_Trace$from(r).get$terse().toString$0(0)))}if(!s._asBool(n.$index(0,"stop-on-error")))i.writeln$0()},watch$1(e,r){return this.watch$body$_Watcher(0,r)},watch$body$_Watcher(e,r){var n=0,i=s._makeAsyncAwaitCompleter($.void),l,_=2,c,p=[],h=this,d,m,g,f,y,S,v;var b=s._wrapJsFunctionForAsync((function(e,x){if(e===1){c=x;n=_}while(true)switch(n){case 0:v=s._lateReadCheck(r._group.__StreamGroup__controller,"_controller");v=new s._StreamIterator(s.checkNotNullable(h._debounceEvents$1(new s._ControllerStream(v,s._instanceType(v)._eval$1("_ControllerStream<1>"))),"stream",$.Object));_=3;S=h._watch$_options._options;case 6:n=8;return s._asyncAwait(v.moveNext$0(),b);case 8:if(!x){n=7;break}d=v.get$current(v);m=s.ParsedPath_ParsedPath$parse(d.path,u.$get$context().style)._splitExtension$1(1)[1];if(!a.$eq$(m,".sass")&&!a.$eq$(m,".scss")&&!a.$eq$(m,".css")){n=6;break}case 9:switch(d.type){case o.ChangeType_modify:n=11;break;case o.ChangeType_add:n=12;break;case o.ChangeType_remove:n=13;break;default:n=10;break}break;case 11:n=14;return s._asyncAwait(h._handleModify$1(d.path),b);case 14:g=x;if(!g&&s._asBool(S.$index(0,"stop-on-error"))){p=[1];n=4;break}n=10;break;case 12:n=15;return s._asyncAwait(h._handleAdd$1(d.path),b);case 15:f=x;if(!f&&s._asBool(S.$index(0,"stop-on-error"))){p=[1];n=4;break}n=10;break;case 13:n=16;return s._asyncAwait(h._handleRemove$1(d.path),b);case 16:y=x;if(!y&&s._asBool(S.$index(0,"stop-on-error"))){p=[1];n=4;break}n=10;break;case 10:n=6;break;case 7:p.push(5);n=4;break;case 3:p=[2];case 4:_=2;n=17;return s._asyncAwait(v.cancel$0(),b);case 17:n=p.pop();break;case 5:case 1:return s._asyncReturn(l,i);case 2:return s._asyncRethrow(c,i)}}));return s._asyncStartSync(b,i)},_handleModify$1(e){return this._handleModify$body$_Watcher(e)},_handleModify$body$_Watcher(e){var r=0,n=s._makeAsyncAwaitCompleter($.bool),i,o=this,l,_,c,p,h;var d=s._wrapJsFunctionForAsync((function(m,g){if(m===1)return s._asyncRethrow(g,n);while(true)switch(r){case 0:if(a.$eq$(a.get$platform$x(self.process),"win32")||a.$eq$(a.get$platform$x(self.process),"darwin")){l=u.$get$context();_=s._realCasePath(l.absolute$7(l.normalize$1(e),null,null,null,null,null,null));c=_;_=l;l=c}else{l=u.$get$context();_=l.canonicalize$1(0,e);c=_;_=l;l=c}p=_.toUri$1(l);l=o._graph;h=l._nodes.$index(0,p);if(h==null){i=o._handleAdd$1(e);r=1;break}l.reload$1(p);r=3;return s._asyncAwait(o._recompileDownstream$1(s._setArrayType([h],$.JSArray_StylesheetNode)),d);case 3:i=g;r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(d,n)},_handleAdd$1(e){return this._handleAdd$body$_Watcher(e)},_handleAdd$body$_Watcher(e){var r=0,n=s._makeAsyncAwaitCompleter($.bool),i,o=this,l,_,c,p,h;var d=s._wrapJsFunctionForAsync((function($,m){if($===1)return s._asyncRethrow(m,n);while(true)switch(r){case 0:l=o._destinationFor$1(e);h=l==null;if(h)m=h;else{r=3;break}r=4;break;case 3:r=5;return s._asyncAwait(o.compile$2(0,e,l),d);case 5:case 4:_=m;c=u.$get$context();p=c.absolute$7(".",null,null,null,null,null,null);r=6;return s._asyncAwait(o._recompileDownstream$1(o._graph.addCanonical$3(new s.FilesystemImporter(p),c.toUri$1(a.$eq$(a.get$platform$x(self.process),"win32")||a.$eq$(a.get$platform$x(self.process),"darwin")?s._realCasePath(c.absolute$7(c.normalize$1(e),null,null,null,null,null,null)):c.canonicalize$1(0,e)),c.toUri$1(e))),d);case 6:i=m&&_;r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(d,n)},_handleRemove$1(e){return this._handleRemove$body$_Watcher(e)},_handleRemove$body$_Watcher(e){var r=0,n=s._makeAsyncAwaitCompleter($.bool),i,o=this,l,_,c,p,h,d,m,g;var f=s._wrapJsFunctionForAsync((function($,y){if($===1)return s._asyncRethrow(y,n);while(true)switch(r){case 0:if(a.$eq$(a.get$platform$x(self.process),"win32")||a.$eq$(a.get$platform$x(self.process),"darwin")){l=u.$get$context();_=s._realCasePath(l.absolute$7(l.normalize$1(e),null,null,null,null,null,null));c=_;_=l;l=c}else{l=u.$get$context();_=l.canonicalize$1(0,e);c=_;_=l;l=c}p=_.toUri$1(l);l=o._graph;h=l._nodes;if(h.containsKey$1(p)){d=o._destinationFor$1(e);if(d!=null)o._delete$1(d)}_=_.absolute$7(".",null,null,null,null,null,null);m=h.remove$1(0,p);h=m!=null;if(h){l._transitiveModificationTimes.clear$0(0);l.importCache.clearImport$1(p);m._stylesheet_graph$_remove$0()}g=l._recanonicalizeImports$2(new s.FilesystemImporter(_),p);if(h)g.addAll$1(0,m._downstream);r=3;return s._asyncAwait(o._recompileDownstream$1(g),f);case 3:i=y;r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(f,n)},_debounceEvents$1(e){var r=$.WatchEvent;r=s.RateLimit__debounceAggregate(e,s.Duration$(25),s.instantiate1(s.rate_limit___collect$closure(),r),false,true,r,$.List_WatchEvent);return new s._ExpandStream(new s._Watcher__debounceEvents_closure,r,s._instanceType(r)._eval$1("_ExpandStream"))},_recompileDownstream$1(e){return this._recompileDownstream$body$_Watcher(e)},_recompileDownstream$body$_Watcher(e){var r=0,n=s._makeAsyncAwaitCompleter($.bool),i,a=this,o,l,u,_,c,p,h;var d=s._wrapJsFunctionForAsync((function(m,g){if(m===1)return s._asyncRethrow(g,n);while(true)switch(r){case 0:c=$.StylesheetNode;p=s.LinkedHashSet_LinkedHashSet$_empty(c);h=s.ListQueue_ListQueue$of(e,c);c=$.UnmodifiableSetView_StylesheetNode,o=a._watch$_options._options,l=true;case 3:if(!!h.get$isEmpty(h)){r=4;break}u=h.removeFirst$0();if(!p.add$1(0,u)){r=3;break}r=5;return s._asyncAwait(a._compileIfEntrypoint$1(u.canonicalUrl),d);case 5:_=g;l=l&&_;if(!_&&s._asBool(o.$index(0,"stop-on-error"))){i=false;r=1;break}h.addAll$1(0,new s.UnmodifiableSetView(u._downstream,c));r=3;break;case 4:i=l;r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(d,n)},_compileIfEntrypoint$1(e){return this._compileIfEntrypoint$body$_Watcher(e)},_compileIfEntrypoint$body$_Watcher(e){var r=0,n=s._makeAsyncAwaitCompleter($.bool),i,a=this,o,l;var _=s._wrapJsFunctionForAsync((function(c,$){if(c===1)return s._asyncRethrow($,n);while(true)switch(r){case 0:if(e.get$scheme()!=="file"){i=true;r=1;break}o=u.$get$context().style.pathFromUri$1(s._parseUri(e));l=a._destinationFor$1(o);if(l==null){i=true;r=1;break}r=3;return s._asyncAwait(a.compile$2(0,o,l),_);case 3:i=$;r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(_,n)},_destinationFor$1(e){var r,n,i,a,l,_,c,p=this._watch$_options;p._ensureSources$0();r=$.String;n=p._sourcesToDestinations.cast$2$0(0,r,r).$index(0,e);if(n!=null)return n;i=u.$get$context();if(o.JSString_methods.startsWith$1(s.ParsedPath_ParsedPath$parse(e,i.style).get$basename(),"_"))return null;for(p._ensureSources$0(),p=s._lateReadCheck(p.__ExecutableOptions__sourceDirectoriesToDestinations,"_sourceDirectoriesToDestinations").cast$2$0(0,r,r),p=p.get$entries(p),p=p.get$iterator(p),r=$.JSArray_nullable_String,a=$.WhereTypeIterable_String;p.moveNext$0();){l=p.get$current(p);_=l.key;if(i._isWithinOrEquals$2(_,e)!==o._PathRelation_within)continue;c=s._setArrayType([l.value,i.withoutExtension$1(i.relative$2$from(e,_))+".css",null,null,null,null,null,null],r);s._validateArgList("join",c);n=i.joinAll$1(new s.WhereTypeIterable(c,a));if(i._isWithinOrEquals$2(n,e)!==o._PathRelation_equal)return n}return null}};s._Watcher__debounceEvents_closure.prototype={call$1(e){var r,n,i,l,u=s.PathMap__create(null,$.ChangeType);for(r=a.get$iterator$ax(e);r.moveNext$0();){n=r.get$current(r);i=n.path;l=u.$index(0,i);if(l==null)u.$indexSet(0,i,n.type);else if(n.type===o.ChangeType_remove)u.$indexSet(0,i,o.ChangeType_remove);else if(l!==o.ChangeType_add)u.$indexSet(0,i,o.ChangeType_modify)}r=s._setArrayType([],$.JSArray_WatchEvent);for(u=u.get$entries(u),u=u.get$iterator(u);u.moveNext$0();){n=u.get$current(u);i=n.value;n=n.key;n.toString;r.push(new s.WatchEvent(i,n))}return r},$signature:306};s.EmptyExtensionStore.prototype={get$isEmpty(e){return true},get$simpleSelectors(){return o.C_EmptyUnmodifiableSet},extensionsWhereTarget$1(e){return o.List_empty5},addSelector$3(e,r,n){throw s.wrapException(s.UnsupportedError$(c.addSel))},addExtension$4(e,r,n,i){throw s.wrapException(s.UnsupportedError$(c.addExt_))},addExtensions$1(e){throw s.wrapException(s.UnsupportedError$(c.addExts))},clone$0(){return o.Tuple2_EmptyExtensionStore_Map_empty},$isExtensionStore:1};s.Extension.prototype={toString$0(e){var r=this.extender.toString$0(0),n=this.target.toString$0(0),i=this.isOptional?" !optional":"";return r+" {@extend "+n+i+"}"}};s.Extender.prototype={assertCompatibleMediaContext$1(e){var r,n=this._extension;if(n==null)return;r=n.mediaContext;if(r==null)return;if(e!=null&&o.C_ListEquality.equals$2(0,r,e))return;throw s.wrapException(s.SassException$(c.You_ma,n.span))},toString$0(e){return s.serializeSelector(this.selector,true)}};s.ExtensionStore.prototype={get$isEmpty(e){return this._extensions.__js_helper$_length===0},get$simpleSelectors(){return new s.MapKeySet(this._selectors,$.MapKeySet_SimpleSelector)},extensionsWhereTarget$1(e){var r=this;return s._makeSyncStarIterable((function(){var n=e;var i=0,o=1,l,u,_,c;return function $async$extensionsWhereTarget$1(e,$){if(e===1){l=$;i=o}while(true)switch(i){case 0:u=r._extensions,u=u.get$entries(u),u=u.get$iterator(u);case 2:if(!u.moveNext$0()){i=3;break}_=u.get$current(u);if(!n.call$1(_.key)){i=2;break}_=a.get$values$z(_.value),_=_.get$iterator(_);case 4:if(!_.moveNext$0()){i=5;break}c=_.get$current(_);i=c instanceof s.MergedExtension?6:8;break;case 6:c=c.unmerge$0();i=9;return s._IterationMarker_yieldStar(new s.WhereIterable(c,new s.ExtensionStore_extensionsWhereTarget_closure,c.$ti._eval$1("WhereIterable")));case 9:i=7;break;case 8:i=!c.isOptional?10:11;break;case 10:i=12;return c;case 12:case 11:case 7:i=4;break;case 5:i=2;break;case 3:return s._IterationMarker_endOfIteration();case 1:return s._IterationMarker_uncaughtError(l)}}}),$.Extension)},addSelector$3(e,r,n){var i,l,u,_,c,p,h,d,m,g,f=this;e=e;i=e;if(!i.accept$1(o._IsInvisibleVisitor_true))for(_=i.components,c=_.length,p=f._originals,h=0;h1)return V;l=this._originals.contains$1(0,e);for(u=e.components,_=u.length,p=$.JSArray_List_ComplexSelector,h=$.Combinator,d=$.ComplexSelectorComponent,m=e.lineBreak,g=!m,f=$.JSArray_ComplexSelector,F=F===0,y=$.JSArray_ComplexSelectorComponent,S=V,v=0;v<_;++v){b=u[v];x=this._extendCompound$5$inOriginal(b,r,n,i,l);if(x==null){if(S!=null){w=s._setArrayType([b],y);C=s.List_List$from(o.List_empty0,false,h);C.fixed$length=Array;C.immutable$list=Array;E=C;C=s.List_List$from(w,false,d);C.fixed$length=Array;C.immutable$list=Array;w=C;if(E.length===0&&w.length===0)s.throwExpression(s.ArgumentError$(L,V));S.push(s._setArrayType([new s.ComplexSelector(E,w,m)],f))}}else if(S!=null)S.push(x);else if(v!==0){w=s._arrayInstanceType(u);E=new s.SubListIterable(u,0,v,w._eval$1("SubListIterable<1>"));E.SubListIterable$3(u,0,v,w._precomputed1);C=s.List_List$from(k,false,h);C.fixed$length=Array;C.immutable$list=Array;w=C;C=s.List_List$from(E,false,d);C.fixed$length=Array;C.immutable$list=Array;E=C;if(w.length===0&&E.length===0)s.throwExpression(s.ArgumentError$(L,V));S=s._setArrayType([s._setArrayType([new s.ComplexSelector(w,E,m)],f),x],p)}else if(F)S=s._setArrayType([x],p);else{w=s._setArrayType([],f);for(E=a.get$iterator$ax(x);E.moveNext$0();){A=E.get$current(E);M=A.leadingCombinators;if(M.length===0||o.C_ListEquality.equals$2(0,k,M)){M=A.components;A=!g||A.lineBreak;C=s.List_List$from(k,false,h);C.fixed$length=Array;C.immutable$list=Array;I=C;C=s.List_List$from(M,false,d);C.fixed$length=Array;C.immutable$list=Array;M=C;if(I.length===0&&M.length===0)s.throwExpression(s.ArgumentError$(L,V));w.push(new s.ComplexSelector(I,M,A))}}S=s._setArrayType([w],p)}}if(S==null)return V;R.first=true;k=$.ComplexSelector;k=a.expand$1$1$ax(s.paths(S,k),new s.ExtensionStore__extendComplex_closure(R,this,e),k);return s.List_List$of(k,true,k.$ti._eval$1("Iterable.E"))},_extendCompound$5$inOriginal(e,r,n,i,l){var u,_,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A,M,I,V,L,R,k,F=this,T=null,N="components may not be empty.",U=c.leadin,J=F._mode,P=J===o.ExtendMode_normal||n.get$length(n)<2?T:s.LinkedHashSet_LinkedHashSet$_empty($.SimpleSelector),O=e.selector.components;for(u=O.length,_=$.JSArray_List_Extender,p=$.JSArray_Extender,h=$.Combinator,d=$.JSArray_ComplexSelectorComponent,m=$.ComplexSelectorComponent,g=s._arrayInstanceType(O),f=g._precomputed1,g=g._eval$1("SubListIterable<1>"),y=$.SimpleSelector,S=F._sourceSpecificity,v=$.JSArray_SimpleSelector,b=T,x=0;x>"))}return s.NullableExtension_andThen(l.call$1(e),new s.ExtensionStore__extendSimple_closure0)},_extenderForSimple$2(e,r){var n=s.ComplexSelector$(o.List_empty0,s._setArrayType([new s.ComplexSelectorComponent(s.CompoundSelector$(s._setArrayType([e],$.JSArray_SimpleSelector)),s.List_List$unmodifiable(o.List_empty0,$.Combinator))],$.JSArray_ComplexSelectorComponent),false);this._sourceSpecificity.$index(0,e);return new s.Extender(n,true,r)},_extendPseudo$4(e,r,n,i){var l,u,_,c,p=e.selector;if(p==null)throw s.wrapException(s.ArgumentError$("Selector "+e.toString$0(0)+" must have a selector argument.",null));l=this._extendList$4(p,r,n,i);if(l===p)return null;u=l.components;_=e.normalizedName==="not";if(_&&!o.JSArray_methods.any$1(p.components,new s.ExtensionStore__extendPseudo_closure)&&o.JSArray_methods.any$1(u,new s.ExtensionStore__extendPseudo_closure0))u=new s.WhereIterable(u,new s.ExtensionStore__extendPseudo_closure1,s._arrayInstanceType(u)._eval$1("WhereIterable<1>"));u=a.expand$1$1$ax(u,new s.ExtensionStore__extendPseudo_closure2(e),$.ComplexSelector);if(_&&p.components.length===1){_=s.MappedIterable_MappedIterable(u,new s.ExtensionStore__extendPseudo_closure3(e),u.$ti._eval$1("Iterable.E"),$.PseudoSelector);c=s.List_List$of(_,true,s._instanceType(_)._eval$1("Iterable.E"));return c.length===0?null:c}else return s._setArrayType([s.PseudoSelector$(e.name,e.argument,!e.isClass,s.SelectorList$(u))],$.JSArray_PseudoSelector)},_trim$2(e,r){var n,i,o,l,u,_,c,p,h,d,m,g,f;if(e.length>100)return e;n=s.QueueList$(null,$.ComplexSelector);e:for(i=e.length-1,o=s._arrayInstanceType(e),l=o._precomputed1,o=o._eval$1("SubListIterable<1>"),u=0;i>=0;--i){_={};c=e[i];if(r.call$1(c)){for(p=0;p1},$signature:15};s.ExtensionStore__extendPseudo_closure0.prototype={call$1(e){return e.components.length===1},$signature:15};s.ExtensionStore__extendPseudo_closure1.prototype={call$1(e){return e.components.length<=1},$signature:15};s.ExtensionStore__extendPseudo_closure2.prototype={call$1(e){var r,n,i=e.get$singleCompound();if(i==null)r=null;else{i=i.components;r=i.length===1?o.JSArray_methods.get$first(i):null}if(!(r instanceof s.PseudoSelector))return s._setArrayType([e],$.JSArray_ComplexSelector);n=r.selector;if(n==null)return s._setArrayType([e],$.JSArray_ComplexSelector);i=this.pseudo;switch(i.normalizedName){case"not":if(!o.Set_YEQji._map.containsKey$1(r.normalizedName))return s._setArrayType([],$.JSArray_ComplexSelector);return n.components;case"is":case"matches":case"where":case"any":case"current":case"nth-child":case"nth-last-child":if(r.name!==i.name)return s._setArrayType([],$.JSArray_ComplexSelector);if(r.argument!=i.argument)return s._setArrayType([],$.JSArray_ComplexSelector);return n.components;case"has":case"host":case"host-context":case"slotted":return s._setArrayType([e],$.JSArray_ComplexSelector);default:return s._setArrayType([],$.JSArray_ComplexSelector)}},$signature:336};s.ExtensionStore__extendPseudo_closure3.prototype={call$1(e){var r=this.pseudo;return s.PseudoSelector$(r.name,r.argument,!r.isClass,s.SelectorList$(s._setArrayType([e],$.JSArray_ComplexSelector)))},$signature:337};s.ExtensionStore__trim_closure.prototype={call$1(e){return e.get$minSpecificity()>=this._box_0.maxSpecificity&&e.isSuperselector$1(this.complex1)},$signature:15};s.ExtensionStore__trim_closure0.prototype={call$1(e){return e.get$minSpecificity()>=this._box_0.maxSpecificity&&e.isSuperselector$1(this.complex1)},$signature:15};s.ExtensionStore_clone_closure.prototype={call$2(e,r){var n,i,a,o,l,u,_,c=this,p=$.ModifiableCssValue_SelectorList,h=s.LinkedHashSet_LinkedHashSet$_empty(p);c.newSelectors.$indexSet(0,e,h);for(n=r.get$iterator(r),i=c.oldToNewSelectors,a=c.$this._mediaContexts,o=c.newMediaContexts;n.moveNext$0();){l=n.get$current(n);u=new s.ModifiableCssValue(l.value,l.span,p);h.add$1(0,u);i.$indexSet(0,l,u);_=a.$index(0,l);if(_!=null)o.$indexSet(0,u,_)}},$signature:339};s.unifyComplex_closure.prototype={call$1(e){return e.lineBreak},$signature:15};s._weaveParents_closure.prototype={call$2(e,r){var n,i;if(o.C_ListEquality.equals$2(0,e,r))return e;if(s._complexIsParentSuperselector(e,r))return r;if(s._complexIsParentSuperselector(r,e))return e;if(!s._mustUnify(e,r))return null;n=s.unifyComplex(s._setArrayType([s.ComplexSelector$(o.List_empty0,e,false),s.ComplexSelector$(o.List_empty0,r,false)],$.JSArray_ComplexSelector));if(n==null)return null;i=a.getInterceptor$asx(n);if(i.get$length(n)>1)return null;return i.get$first(n).components},$signature:340};s._weaveParents_closure0.prototype={call$1(e){return s._complexIsParentSuperselector(e.get$first(e),this.group)},$signature:341};s._weaveParents_closure1.prototype={call$1(e){return e.get$length(e)===0},$signature:211};s._weaveParents_closure2.prototype={call$1(e){return a.get$isNotEmpty$asx(e)},$signature:353};s._mustUnify_closure.prototype={call$1(e){return o.JSArray_methods.any$1(e.selector.components,new s._mustUnify__closure(this.uniqueSelectors))},$signature:53};s._mustUnify__closure.prototype={call$1(e){var r;if(!(e instanceof s.IDSelector))r=e instanceof s.PseudoSelector&&!e.isClass;else r=true;return r&&this.uniqueSelectors.contains$1(0,e)},$signature:13};s.paths_closure.prototype={call$2(e,r){var n=this.T;n=a.expand$1$1$ax(r,new s.paths__closure(e,n),n._eval$1("List<0>"));return s.List_List$of(n,true,n.$ti._eval$1("Iterable.E"))},$signature(){return this.T._eval$1("List>(List>,List<0>)")}};s.paths__closure.prototype={call$1(e){var r=this.T;return a.map$1$1$ax(this.paths,new s.paths___closure(e,r),r._eval$1("List<0>"))},$signature(){return this.T._eval$1("Iterable>(0)")}};s.paths___closure.prototype={call$1(e){var r=s.List_List$of(e,true,this.T);r.push(this.option);return r},$signature(){return this.T._eval$1("List<0>(List<0>)")}};s.listIsSuperselector_closure.prototype={call$1(e){return o.JSArray_methods.any$1(this.list1,new s.listIsSuperselector__closure(e))},$signature:15};s.listIsSuperselector__closure.prototype={call$1(e){return e.isSuperselector$1(this.complex1)},$signature:15};s.complexIsSuperselector_closure.prototype={call$1(e){return e.combinators.length>1},$signature:53};s._selectorPseudoIsSuperselector_closure.prototype={call$1(e){return s.listIsSuperselector(this.selector1.components,e.components)},$signature:68};s._selectorPseudoIsSuperselector_closure0.prototype={call$1(e){var r,n,i;if(e.leadingCombinators.length===0){r=e.components;n=s._setArrayType([],$.JSArray_ComplexSelectorComponent);i=this.parents;if(i!=null)o.JSArray_methods.addAll$1(n,i);n.push(new s.ComplexSelectorComponent(this.compound2,s.List_List$unmodifiable(o.List_empty0,$.Combinator)));r=s.complexIsSuperselector(r,n)}else r=false;return r},$signature:15};s._selectorPseudoIsSuperselector_closure1.prototype={call$1(e){return s.listIsSuperselector(this.selector1.components,e.components)},$signature:68};s._selectorPseudoIsSuperselector_closure2.prototype={call$1(e){return s.listIsSuperselector(this.selector1.components,e.components)},$signature:68};s._selectorPseudoIsSuperselector_closure3.prototype={call$1(e){if(e.accept$1(o._IsBogusVisitor_true))return false;return o.JSArray_methods.any$1(this.compound2.components,new s._selectorPseudoIsSuperselector__closure(e,this.pseudo1))},$signature:15};s._selectorPseudoIsSuperselector__closure.prototype={call$1(e){var r,n=this;if(e instanceof s.TypeSelector)return o.JSArray_methods.any$1(o.JSArray_methods.get$last(n.complex.components).selector.components,new s._selectorPseudoIsSuperselector___closure(e));else if(e instanceof s.IDSelector)return o.JSArray_methods.any$1(o.JSArray_methods.get$last(n.complex.components).selector.components,new s._selectorPseudoIsSuperselector___closure0(e));else if(e instanceof s.PseudoSelector&&e.name===n.pseudo1.name){r=e.selector;if(r==null)return false;return s.listIsSuperselector(r.components,s._setArrayType([n.complex],$.JSArray_ComplexSelector))}else return false},$signature:13};s._selectorPseudoIsSuperselector___closure.prototype={call$1(e){var r;if(e instanceof s.TypeSelector){r=this.simple2.name.$eq(0,e.name);r=!r}else r=false;return r},$signature:13};s._selectorPseudoIsSuperselector___closure0.prototype={call$1(e){var r;if(e instanceof s.IDSelector){r=e.name;r=this.simple2.name!==r}else r=false;return r},$signature:13};s._selectorPseudoIsSuperselector_closure4.prototype={call$1(e){var r=o.C_ListEquality.equals$2(0,this.selector1.components,e.components);return r},$signature:68};s._selectorPseudoIsSuperselector_closure5.prototype={call$1(e){var r,n;if(!(e instanceof s.PseudoSelector))return false;r=this.pseudo1;if(e.name!==r.name)return false;if(e.argument!=r.argument)return false;n=e.selector;if(n==null)return false;return s.listIsSuperselector(this.selector1.components,n.components)},$signature:13};s._selectorPseudoArgs_closure.prototype={call$1(e){return e.isClass===this.isClass&&e.name===this.name},$signature:354};s._selectorPseudoArgs_closure0.prototype={call$1(e){return e.selector},$signature:355};s.MergedExtension.prototype={unmerge$0(){var e=this;return s._makeSyncStarIterable((function(){var r=0,n=1,i,a,o;return function $async$unmerge$0(l,u){if(l===1){i=u;r=n}while(true)switch(r){case 0:o=e.left;r=o instanceof s.MergedExtension?2:4;break;case 2:r=5;return s._IterationMarker_yieldStar(o.unmerge$0());case 5:r=3;break;case 4:r=6;return o;case 6:case 3:a=e.right;r=a instanceof s.MergedExtension?7:9;break;case 7:r=10;return s._IterationMarker_yieldStar(a.unmerge$0());case 10:r=8;break;case 9:r=11;return a;case 11:case 8:return s._IterationMarker_endOfIteration();case 1:return s._IterationMarker_uncaughtError(i)}}}),$.Extension)}};s.ExtendMode.prototype={toString$0(e){return this.name}};s.globalFunctions_closure.prototype={call$1(e){var r=a.getInterceptor$asx(e);return r.$index(e,0).get$isTruthy()?r.$index(e,1):r.$index(e,2)},$signature:4};s.global_closure.prototype={call$1(e){return s._rgb("rgb",e)},$signature:4};s.global_closure0.prototype={call$1(e){return s._rgb("rgb",e)},$signature:4};s.global_closure1.prototype={call$1(e){return s._rgbTwoArg("rgb",e)},$signature:4};s.global_closure2.prototype={call$1(e){var r=s._parseChannels("rgb",s._setArrayType(["$red","$green","$blue"],$.JSArray_String),a.get$first$ax(e));return r instanceof s.SassString?r:s._rgb("rgb",$.List_Value._as(r))},$signature:4};s.global_closure3.prototype={call$1(e){return s._rgb("rgba",e)},$signature:4};s.global_closure4.prototype={call$1(e){return s._rgb("rgba",e)},$signature:4};s.global_closure5.prototype={call$1(e){return s._rgbTwoArg("rgba",e)},$signature:4};s.global_closure6.prototype={call$1(e){var r=s._parseChannels("rgba",s._setArrayType(["$red","$green","$blue"],$.JSArray_String),a.get$first$ax(e));return r instanceof s.SassString?r:s._rgb("rgba",$.List_Value._as(r))},$signature:4};s.global_closure7.prototype={call$1(e){var r,n,i=a.getInterceptor$asx(e),o=i.$index(e,1).assertNumber$1("weight");if(i.$index(e,0)instanceof s.SassNumber){if(o._number$_value!==100||!o.hasUnit$1("%"))throw s.wrapException(c.Only_oa);return s._functionString("invert",i.take$1(e,1))}r=i.$index(e,0).assertColor$1("color");i=r.get$red(r);n=r.get$green(r);return s._mixColors(r.changeRgb$3$blue$green$red(255-r.get$blue(r),255-n,255-i),r,o)},$signature:4};s.global_closure8.prototype={call$1(e){return s._hsl("hsl",e)},$signature:4};s.global_closure9.prototype={call$1(e){return s._hsl("hsl",e)},$signature:4};s.global_closure10.prototype={call$1(e){var r=a.getInterceptor$asx(e);if(r.$index(e,0).get$isVar()||r.$index(e,1).get$isVar())return s._functionString("hsl",e);else throw s.wrapException(s.SassScriptException$("Missing argument $lightness."))},$signature:18};s.global_closure11.prototype={call$1(e){var r=s._parseChannels("hsl",s._setArrayType(["$hue","$saturation","$lightness"],$.JSArray_String),a.get$first$ax(e));return r instanceof s.SassString?r:s._hsl("hsl",$.List_Value._as(r))},$signature:4};s.global_closure12.prototype={call$1(e){return s._hsl("hsla",e)},$signature:4};s.global_closure13.prototype={call$1(e){return s._hsl("hsla",e)},$signature:4};s.global_closure14.prototype={call$1(e){var r=a.getInterceptor$asx(e);if(r.$index(e,0).get$isVar()||r.$index(e,1).get$isVar())return s._functionString("hsla",e);else throw s.wrapException(s.SassScriptException$("Missing argument $lightness."))},$signature:18};s.global_closure15.prototype={call$1(e){var r=s._parseChannels("hsla",s._setArrayType(["$hue","$saturation","$lightness"],$.JSArray_String),a.get$first$ax(e));return r instanceof s.SassString?r:s._hsl("hsla",$.List_Value._as(r))},$signature:4};s.global_closure16.prototype={call$1(e){var r=a.getInterceptor$asx(e);if(r.$index(e,0)instanceof s.SassNumber)return s._functionString("grayscale",e);return r.$index(e,0).assertColor$1("color").changeHsl$1$saturation(0)},$signature:4};s.global_closure17.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertColor$1("color"),i=r.$index(e,1).assertNumber$1("degrees");s._checkAngle(i,"degrees");return n.changeHsl$1$hue(n.get$hue(n)+i._number$_value)},$signature:25};s.global_closure18.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertColor$1("color"),i=r.$index(e,1).assertNumber$1("amount");return n.changeHsl$1$lightness(o.JSNumber_methods.clamp$2(n.get$lightness(n)+i.valueInRange$3(0,100,"amount"),0,100))},$signature:25};s.global_closure19.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertColor$1("color"),i=r.$index(e,1).assertNumber$1("amount");return n.changeHsl$1$lightness(o.JSNumber_methods.clamp$2(n.get$lightness(n)-i.valueInRange$3(0,100,"amount"),0,100))},$signature:25};s.global_closure20.prototype={call$1(e){return new s.SassString("saturate("+s.serializeValue(a.$index$asx(e,0).assertNumber$1("amount"),false,true)+")",false)},$signature:18};s.global_closure21.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertColor$1("color"),i=r.$index(e,1).assertNumber$1("amount");return n.changeHsl$1$saturation(o.JSNumber_methods.clamp$2(n.get$saturation(n)+i.valueInRange$3(0,100,"amount"),0,100))},$signature:25};s.global_closure22.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertColor$1("color"),i=r.$index(e,1).assertNumber$1("amount");return n.changeHsl$1$saturation(o.JSNumber_methods.clamp$2(n.get$saturation(n)-i.valueInRange$3(0,100,"amount"),0,100))},$signature:25};s.global_closure23.prototype={call$1(e){var r,n=a.$index$asx(e,0);if(n instanceof s.SassString&&!n._hasQuotes&&o.JSString_methods.contains$1(n._string$_text,u.$get$_microsoftFilterStart()))return s._functionString("alpha",e);r=n.assertColor$1("color");return new s.UnitlessSassNumber(r._alpha,null)},$signature:4};s.global_closure24.prototype={call$1(e){var r,n=a.$index$asx(e,0).get$asList();if(n.length!==0&&o.JSArray_methods.every$1(n,new s.global__closure))return s._functionString("alpha",e);r=n.length;if(r===0)throw s.wrapException(s.SassScriptException$("Missing argument $color."));else throw s.wrapException(s.SassScriptException$("Only 1 argument allowed, but "+r+" were passed."))},$signature:18};s.global__closure.prototype={call$1(e){return e instanceof s.SassString&&!e._hasQuotes&&o.JSString_methods.contains$1(e._string$_text,u.$get$_microsoftFilterStart())},$signature:65};s.global_closure25.prototype={call$1(e){var r,n=a.getInterceptor$asx(e);if(n.$index(e,0)instanceof s.SassNumber)return s._functionString("opacity",e);r=n.$index(e,0).assertColor$1("color");return new s.UnitlessSassNumber(r._alpha,null)},$signature:4};s.module_closure.prototype={call$1(e){var r,n,i,o=a.getInterceptor$asx(e),l=o.$index(e,1).assertNumber$1("weight");if(o.$index(e,0)instanceof s.SassNumber){if(l._number$_value!==100||!l.hasUnit$1("%"))throw s.wrapException(c.Only_oa);r=s._functionString("invert",o.take$1(e,1));o=s.S(o.$index(e,0));n=r.toString$0(0);s.EvaluationContext_current().warn$2$deprecation(0,"Passing a number ("+o+c.x29x20to_ci+n,true);return r}i=o.$index(e,0).assertColor$1("color");o=i.get$red(i);n=i.get$green(i);return s._mixColors(i.changeRgb$3$blue$green$red(255-i.get$blue(i),255-n,255-o),i,l)},$signature:4};s.module_closure0.prototype={call$1(e){var r,n,i=a.getInterceptor$asx(e);if(i.$index(e,0)instanceof s.SassNumber){r=s._functionString("grayscale",i.take$1(e,1));i=s.S(i.$index(e,0));n=r.toString$0(0);s.EvaluationContext_current().warn$2$deprecation(0,"Passing a number ("+i+c.x29x20to_cg+n,true);return r}return i.$index(e,0).assertColor$1("color").changeHsl$1$saturation(0)},$signature:4};s.module_closure1.prototype={call$1(e){return s._hwb(e)},$signature:4};s.module_closure2.prototype={call$1(e){var r=s._parseChannels("hwb",s._setArrayType(["$hue","$whiteness","$blackness"],$.JSArray_String),a.get$first$ax(e));if(r instanceof s.SassString)throw s.wrapException(s.SassScriptException$('Expected numeric channels, got "'+r.toString$0(0)+'".'));else return s._hwb($.List_Value._as(r))},$signature:4};s.module_closure3.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$whiteness(r);return new s.SingleUnitSassNumber("%",r,null)},$signature:11};s.module_closure4.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$blackness(r);return new s.SingleUnitSassNumber("%",r,null)},$signature:11};s.module_closure5.prototype={call$1(e){var r,n,i,l=a.$index$asx(e,0);if(l instanceof s.SassString&&!l._hasQuotes&&o.JSString_methods.contains$1(l._string$_text,u.$get$_microsoftFilterStart())){r=s._functionString("alpha",e);n=r.toString$0(0);s.EvaluationContext_current().warn$2$deprecation(0,c.Using_c+n,true);return r}i=l.assertColor$1("color");return new s.UnitlessSassNumber(i._alpha,null)},$signature:4};s.module_closure6.prototype={call$1(e){var r,n=a.getInterceptor$asx(e);if(o.JSArray_methods.every$1(n.$index(e,0).get$asList(),new s.module__closure)){r=s._functionString("alpha",e);n=r.toString$0(0);s.EvaluationContext_current().warn$2$deprecation(0,c.Using_c+n,true);return r}throw s.wrapException(s.SassScriptException$("Only 1 argument allowed, but "+n.get$length(e)+" were passed."))},$signature:18};s.module__closure.prototype={call$1(e){return e instanceof s.SassString&&!e._hasQuotes&&o.JSString_methods.contains$1(e._string$_text,u.$get$_microsoftFilterStart())},$signature:65};s.module_closure7.prototype={call$1(e){var r,n,i,o=a.getInterceptor$asx(e);if(o.$index(e,0)instanceof s.SassNumber){r=s._functionString("opacity",e);o=s.S(o.$index(e,0));n=r.toString$0(0);s.EvaluationContext_current().warn$2$deprecation(0,"Passing a number ("+o+c.x20to_co+n,true);return r}i=o.$index(e,0).assertColor$1("color");return new s.UnitlessSassNumber(i._alpha,null)},$signature:4};s._red_closure.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$red(r);return new s.UnitlessSassNumber(r,null)},$signature:11};s._green_closure.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$green(r);return new s.UnitlessSassNumber(r,null)},$signature:11};s._blue_closure.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$blue(r);return new s.UnitlessSassNumber(r,null)},$signature:11};s._mix_closure.prototype={call$1(e){var r=a.getInterceptor$asx(e);return s._mixColors(r.$index(e,0).assertColor$1("color1"),r.$index(e,1).assertColor$1("color2"),r.$index(e,2).assertNumber$1("weight"))},$signature:25};s._hue_closure.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$hue(r);return new s.SingleUnitSassNumber("deg",r,null)},$signature:11};s._saturation_closure.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$saturation(r);return new s.SingleUnitSassNumber("%",r,null)},$signature:11};s._lightness_closure.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$lightness(r);return new s.SingleUnitSassNumber("%",r,null)},$signature:11};s._complement_closure.prototype={call$1(e){var r=a.$index$asx(e,0).assertColor$1("color");return r.changeHsl$1$hue(r.get$hue(r)+180)},$signature:25};s._adjust_closure.prototype={call$1(e){return s._updateComponents(e,true,false,false)},$signature:25};s._scale_closure.prototype={call$1(e){return s._updateComponents(e,false,false,true)},$signature:25};s._change_closure.prototype={call$1(e){return s._updateComponents(e,false,true,false)},$signature:25};s._ieHexStr_closure.prototype={call$1(e){var r=a.$index$asx(e,0).assertColor$1("color"),n=new s._ieHexStr_closure_hexString;return new s.SassString("#"+s.S(n.call$1(s.fuzzyRound(r._alpha*255)))+s.S(n.call$1(r.get$red(r)))+s.S(n.call$1(r.get$green(r)))+s.S(n.call$1(r.get$blue(r))),false)},$signature:18};s._ieHexStr_closure_hexString.prototype={call$1(e){return o.JSString_methods.padLeft$2(o.JSInt_methods.toRadixString$1(e,16),2,"0").toUpperCase()},$signature:215};s._updateComponents_getParam.prototype={call$4$assertPercent$checkPercent(e,r,n,i){var a,o=this,l=o.keywords.remove$1(0,e),u=l==null?null:l.assertNumber$1(e);if(u==null)return null;l=o.scale;a=!l;if(a&&i)s._checkPercent(u,e);if(!a||n)u.assertUnit$2("%",e);if(l)r=100;if(!a||n)l=u.valueInRange$3(o.change?0:-r,r,e);else{l=o.change?0:-r;l=u.valueInRangeWithUnit$4(l,r,e,i?"%":"")}return l},call$2(e,r){return this.call$4$assertPercent$checkPercent(e,r,false,false)},call$3$checkPercent(e,r,n){return this.call$4$assertPercent$checkPercent(e,r,false,n)},call$3$assertPercent(e,r,n){return this.call$4$assertPercent$checkPercent(e,r,n,false)},$signature:253};s._updateComponents_closure.prototype={call$1(e){return"$"+e},$signature:5};s._updateComponents_updateValue.prototype={call$3(e,r,n){var i;if(r==null)return e;if(this.change)return r;if(this.adjust)return o.JSNumber_methods.clamp$2(e+r,0,n);i=r>0?n-e:e;return e+i*(r/100)},$signature:219};s._updateComponents_updateRgb.prototype={call$2(e,r){return s.fuzzyRound(this.updateValue.call$3(e,r,255))},$signature:221};s._functionString_closure.prototype={call$1(e){return s.serializeValue(e,false,true)},$signature:386};s._removedColorFunction_closure.prototype={call$1(e){var r=this.name,n=a.getInterceptor$asx(e),i=s.S(n.$index(e,0)),o=this.negative?"-":"";throw s.wrapException(s.SassScriptException$("The function "+r+c.x28__isn+i+", $"+this.argument+": "+o+s.S(n.$index(e,1))+c.x29x0a_Morx3a+r))},$signature:390};s._rgb_closure.prototype={call$1(e){return s._percentageOrUnitless(e.assertNumber$1("alpha"),1,"alpha")},$signature:122};s._hsl_closure.prototype={call$1(e){return s._percentageOrUnitless(e.assertNumber$1("alpha"),1,"alpha")},$signature:122};s._removeUnits_closure.prototype={call$1(e){return" * 1"+e},$signature:5};s._removeUnits_closure0.prototype={call$1(e){return" / 1"+e},$signature:5};s._hwb_closure.prototype={call$1(e){return s._percentageOrUnitless(e.assertNumber$1("alpha"),1,"alpha")},$signature:122};s._parseChannels_closure.prototype={call$1(e){return e.get$isVar()},$signature:65};s._length_closure0.prototype={call$1(e){var r=a.$index$asx(e,0).get$asList().length;return new s.UnitlessSassNumber(r,null)},$signature:11};s._nth_closure.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0),i=r.$index(e,1);return n.get$asList()[n.sassIndexToListIndex$2(i,"n")]},$signature:4};s._setNth_closure.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0),i=r.$index(e,1),o=r.$index(e,2),l=n.get$asList(),u=s._setArrayType(l.slice(0),s._arrayInstanceType(l));u[n.sassIndexToListIndex$2(i,"n")]=o;return r.$index(e,0).withListContents$1(u)},$signature:22};s._join_closure.prototype={call$1(e){var r,n,i=a.getInterceptor$asx(e),l=i.$index(e,0),u=i.$index(e,1),_=i.$index(e,2).assertString$1("separator"),p=i.$index(e,3);i=_._string$_text;if(i==="auto")if(l.get$separator(l)!==o.ListSeparator_undecided_null)r=l.get$separator(l);else r=u.get$separator(u)!==o.ListSeparator_undecided_null?u.get$separator(u):o.ListSeparator_woc;else if(i==="space")r=o.ListSeparator_woc;else if(i==="comma")r=o.ListSeparator_kWM;else{if(i!=="slash")throw s.wrapException(s.SassScriptException$(c.x24separ));r=o.ListSeparator_1gm}n=p instanceof s.SassString&&p._string$_text==="auto"?l.get$hasBrackets():p.get$isTruthy();i=s.List_List$of(l.get$asList(),true,$.Value);o.JSArray_methods.addAll$1(i,u.get$asList());return s.SassList$(i,r,n)},$signature:22};s._append_closure0.prototype={call$1(e){var r,n=a.getInterceptor$asx(e),i=n.$index(e,0),l=n.$index(e,1);n=n.$index(e,2).assertString$1("separator")._string$_text;if(n==="auto")r=i.get$separator(i)===o.ListSeparator_undecided_null?o.ListSeparator_woc:i.get$separator(i);else if(n==="space")r=o.ListSeparator_woc;else if(n==="comma")r=o.ListSeparator_kWM;else{if(n!=="slash")throw s.wrapException(s.SassScriptException$(c.x24separ));r=o.ListSeparator_1gm}n=s.List_List$of(i.get$asList(),true,$.Value);n.push(l);return i.withListContents$2$separator(n,r)},$signature:22};s._zip_closure.prototype={call$1(e){var r,n,i={},l=a.$index$asx(e,0).get$asList(),u=s._arrayInstanceType(l)._eval$1("MappedListIterable<1,List>"),_=s.List_List$of(new s.MappedListIterable(l,new s._zip__closure,u),true,u._eval$1("ListIterable.E"));if(_.length===0)return o.SassList_yfz;i.i=0;r=s._setArrayType([],$.JSArray_SassList);for(l=s._arrayInstanceType(_)._eval$1("MappedListIterable<1,Value>"),u=$.Value;o.JSArray_methods.every$1(_,new s._zip__closure0(i));){n=s.List_List$from(new s.MappedListIterable(_,new s._zip__closure1(i),l),false,u);n.fixed$length=Array;n.immutable$list=Array;r.push(new s.SassList(n,o.ListSeparator_woc,false));++i.i}return s.SassList$(r,o.ListSeparator_kWM,false)},$signature:22};s._zip__closure.prototype={call$1(e){return e.get$asList()},$signature:412};s._zip__closure0.prototype={call$1(e){return this._box_0.i!==a.get$length$asx(e)},$signature:424};s._zip__closure1.prototype={call$1(e){return a.$index$asx(e,this._box_0.i)},$signature:4};s._index_closure0.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=o.JSArray_methods.indexOf$1(r.$index(e,0).get$asList(),r.$index(e,1));if(n===-1)r=o.C__SassNull;else r=new s.UnitlessSassNumber(n+1,null);return r},$signature:4};s._separator_closure.prototype={call$1(e){switch(a.get$separator$x(a.$index$asx(e,0))){case o.ListSeparator_kWM:return new s.SassString("comma",false);case o.ListSeparator_1gm:return new s.SassString("slash",false);default:return new s.SassString("space",false)}},$signature:18};s._isBracketed_closure.prototype={call$1(e){return a.$index$asx(e,0).get$hasBrackets()?o.SassBoolean_true:o.SassBoolean_false},$signature:20};s._slash_closure.prototype={call$1(e){var r=a.$index$asx(e,0).get$asList();if(r.length<2)throw s.wrapException(s.SassScriptException$("At least two elements are required."));return s.SassList$(r,o.ListSeparator_1gm,false)},$signature:22};s._get_closure.prototype={call$1(e){var r,n=a.getInterceptor$asx(e),i=n.$index(e,0).assertMap$1("map"),l=s._setArrayType([n.$index(e,1)],$.JSArray_Value);o.JSArray_methods.addAll$1(l,n.$index(e,2).get$asList());for(n=s.IterableExtension_get_exceptLast(l),n=n.get$iterator(n);n.moveNext$0();i=r){r=i._map$_contents.$index(0,n.get$current(n));if(!(r instanceof s.SassMap))return o.C__SassNull}n=i._map$_contents.$index(0,o.JSArray_methods.get$last(l));return n==null?o.C__SassNull:n},$signature:4};s._set_closure.prototype={call$1(e){var r=a.getInterceptor$asx(e);return s._modify(r.$index(e,0).assertMap$1("map"),s._setArrayType([r.$index(e,1)],$.JSArray_Value),new s._set__closure0(e),true)},$signature:4};s._set__closure0.prototype={call$1(e){return a.$index$asx(this.$arguments,2)},$signature:36};s._set_closure0.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertMap$1("map"),i=r.$index(e,1).get$asList();r=i.length;if(r===0)throw s.wrapException(s.SassScriptException$("Expected $args to contain a key."));else if(r===1)throw s.wrapException(s.SassScriptException$("Expected $args to contain a value."));return s._modify(n,o.JSArray_methods.sublist$2(i,0,r-1),new s._set__closure(i),true)},$signature:4};s._set__closure.prototype={call$1(e){return o.JSArray_methods.get$last(this.args)},$signature:36};s._merge_closure.prototype={call$1(e){var r,n,i,o=a.getInterceptor$asx(e),l=o.$index(e,0).assertMap$1("map1"),u=o.$index(e,1).assertMap$1("map2");o=$.Value;r=s.LinkedHashMap_LinkedHashMap$_empty(o,o);for(n=l._map$_contents,n=n.get$entries(n),n=n.get$iterator(n);n.moveNext$0();){i=n.get$current(n);r.$indexSet(0,i.key,i.value)}for(n=u._map$_contents,n=n.get$entries(n),n=n.get$iterator(n);n.moveNext$0();){i=n.get$current(n);r.$indexSet(0,i.key,i.value)}return new s.SassMap(s.ConstantMap_ConstantMap$from(r,o,o))},$signature:35};s._merge_closure0.prototype={call$1(e){var r,n=a.getInterceptor$asx(e),i=n.$index(e,0).assertMap$1("map1"),l=n.$index(e,1).get$asList();n=l.length;if(n===0)throw s.wrapException(s.SassScriptException$("Expected $args to contain a key."));else if(n===1)throw s.wrapException(s.SassScriptException$("Expected $args to contain a map."));r=o.JSArray_methods.get$last(l).assertMap$1("map2");return s._modify(i,s.IterableExtension_get_exceptLast(l),new s._merge__closure(r),true)},$signature:4};s._merge__closure.prototype={call$1(e){var r,n,i,a,o=e.tryMap$0();if(o==null)return this.map2;r=$.Value;n=s.LinkedHashMap_LinkedHashMap$_empty(r,r);for(i=o._map$_contents,i=i.get$entries(i),i=i.get$iterator(i);i.moveNext$0();){a=i.get$current(i);n.$indexSet(0,a.key,a.value)}for(i=this.map2._map$_contents,i=i.get$entries(i),i=i.get$iterator(i);i.moveNext$0();){a=i.get$current(i);n.$indexSet(0,a.key,a.value)}return new s.SassMap(s.ConstantMap_ConstantMap$from(n,r,r))},$signature:549};s._deepMerge_closure.prototype={call$1(e){var r=a.getInterceptor$asx(e);return s._deepMergeImpl(r.$index(e,0).assertMap$1("map1"),r.$index(e,1).assertMap$1("map2"))},$signature:35};s._deepRemove_closure.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertMap$1("map"),i=s._setArrayType([r.$index(e,1)],$.JSArray_Value);o.JSArray_methods.addAll$1(i,r.$index(e,2).get$asList());return s._modify(n,s.IterableExtension_get_exceptLast(i),new s._deepRemove__closure(i),false)},$signature:4};s._deepRemove__closure.prototype={call$1(e){var r,n,i=e.tryMap$0();if(i!=null&&i._map$_contents.containsKey$1(o.JSArray_methods.get$last(this.keys))){r=$.Value;n=s.LinkedHashMap_LinkedHashMap$of(i._map$_contents,r,r);n.remove$1(0,o.JSArray_methods.get$last(this.keys));return new s.SassMap(s.ConstantMap_ConstantMap$from(n,r,r))}return e},$signature:36};s._remove_closure.prototype={call$1(e){return a.$index$asx(e,0).assertMap$1("map")},$signature:35};s._remove_closure0.prototype={call$1(e){var r,n,i,l=a.getInterceptor$asx(e),u=l.$index(e,0).assertMap$1("map"),_=s._setArrayType([l.$index(e,1)],$.JSArray_Value);o.JSArray_methods.addAll$1(_,l.$index(e,2).get$asList());l=$.Value;r=s.LinkedHashMap_LinkedHashMap$of(u._map$_contents,l,l);for(n=_.length,i=0;i<_.length;_.length===n||(0,s.throwConcurrentModificationError)(_),++i)r.remove$1(0,_[i]);return new s.SassMap(s.ConstantMap_ConstantMap$from(r,l,l))},$signature:35};s._keys_closure.prototype={call$1(e){var r=a.$index$asx(e,0).assertMap$1("map")._map$_contents;return s.SassList$(r.get$keys(r),o.ListSeparator_kWM,false)},$signature:22};s._values_closure.prototype={call$1(e){var r=a.$index$asx(e,0).assertMap$1("map")._map$_contents;return s.SassList$(r.get$values(r),o.ListSeparator_kWM,false)},$signature:22};s._hasKey_closure.prototype={call$1(e){var r,n=a.getInterceptor$asx(e),i=n.$index(e,0).assertMap$1("map"),l=s._setArrayType([n.$index(e,1)],$.JSArray_Value);o.JSArray_methods.addAll$1(l,n.$index(e,2).get$asList());for(n=s.IterableExtension_get_exceptLast(l),n=n.get$iterator(n);n.moveNext$0();i=r){r=i._map$_contents.$index(0,n.get$current(n));if(!(r instanceof s.SassMap))return o.SassBoolean_false}return i._map$_contents.containsKey$1(o.JSArray_methods.get$last(l))?o.SassBoolean_true:o.SassBoolean_false},$signature:20};s._modify__modifyNestedMap.prototype={call$1(e){var r,n=this,i=$.Value,a=s.LinkedHashMap_LinkedHashMap$of(e._map$_contents,i,i),l=n.keyIterator,u=l.get$current(l);if(!l.moveNext$0()){l=a.$index(0,u);if(l==null)l=o.C__SassNull;a.$indexSet(0,u,n.modify.call$1(l));return new s.SassMap(s.ConstantMap_ConstantMap$from(a,i,i))}l=a.$index(0,u);r=l==null?null:l.tryMap$0();l=r==null;if(l&&!n.addNesting)return new s.SassMap(s.ConstantMap_ConstantMap$from(a,i,i));a.$indexSet(0,u,n.call$1(l?o.SassMap_Map_empty:r));return new s.SassMap(s.ConstantMap_ConstantMap$from(a,i,i))},$signature:550};s._deepMergeImpl_closure.prototype={call$2(e,r){var n,i,a=this.result,o=a.$index(0,e),l=o==null?null:o.tryMap$0();if(l==null)a.$indexSet(0,e,r);else{n=r.tryMap$0();if(n!=null){i=s._deepMergeImpl(l,n);if(i===l)return;a.$indexSet(0,e,i)}else a.$indexSet(0,e,r)}},$signature:50};s._ceil_closure.prototype={call$1(e){return o.JSNumber_methods.ceil$0(e)},$signature:41};s._clamp_closure.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertNumber$1("min"),i=r.$index(e,1).assertNumber$1("number"),s=r.$index(e,2).assertNumber$1("max");i.convertValueToMatch$3(n,"number","min");s.convertValueToMatch$3(n,"max","min");if(n.greaterThanOrEquals$1(s).value)return n;if(n.greaterThanOrEquals$1(i).value)return n;if(i.greaterThanOrEquals$1(s).value)return s;return i},$signature:11};s._floor_closure.prototype={call$1(e){return o.JSNumber_methods.floor$0(e)},$signature:41};s._max_closure.prototype={call$1(e){var r,n,i,o,l;for(r=a.$index$asx(e,0).get$asList(),n=r.length,i=null,o=0;o"),c=s.List_List$of(new s.MappedListIterable(u,new s._hypot__closure,_),true,_._eval$1("ListIterable.E"));u=c.length;if(u===0)throw s.wrapException(s.SassScriptException$("At least one argument must be passed."));for(r=0,n=0;n")),o.ListSeparator_kWM,false)},$signature:22};s.local__closure.prototype={call$1(e){if(e instanceof s.Value)return e;return new s.SassString(a.toString$0$(e),false)},$signature:319};s._nest_closure.prototype={call$1(e){var r={},n=a.$index$asx(e,0).get$asList();if(n.length===0)throw s.wrapException(s.SassScriptException$(c.x24selec));r.first=true;return new s.MappedListIterable(n,new s._nest__closure(r),s._arrayInstanceType(n)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0,new s._nest__closure0).get$asSassList()},$signature:22};s._nest__closure.prototype={call$1(e){var r=this._box_0,n=s.SassApiValue_assertSelector(e,!r.first,null);r.first=false;return n},$signature:144};s._nest__closure0.prototype={call$2(e,r){return r.resolveParentSelectors$1(e)},$signature:145};s._append_closure.prototype={call$1(e){var r=a.$index$asx(e,0).get$asList();if(r.length===0)throw s.wrapException(s.SassScriptException$(c.x24selec));return new s.MappedListIterable(r,new s._append__closure,s._arrayInstanceType(r)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0,new s._append__closure0).get$asSassList()},$signature:22};s._append__closure.prototype={call$1(e){return s.SassApiValue_assertSelector(e,false,null)},$signature:144};s._append__closure0.prototype={call$2(e,r){var n=r.components;return s.SelectorList$(new s.MappedListIterable(n,new s._append___closure(e),s._arrayInstanceType(n)._eval$1("MappedListIterable<1,ComplexSelector>"))).resolveParentSelectors$1(e)},$signature:145};s._append___closure.prototype={call$1(e){var r,n,i,a;if(e.leadingCombinators.length!==0)throw s.wrapException(s.SassScriptException$("Can't append "+e.toString$0(0)+" to "+this.parent.toString$0(0)+"."));r=e.components;n=o.JSArray_methods.get$first(r);i=s._prependParent(n.selector);if(i==null)throw s.wrapException(s.SassScriptException$("Can't append "+e.toString$0(0)+" to "+this.parent.toString$0(0)+"."));a=s._setArrayType([new s.ComplexSelectorComponent(i,s.List_List$unmodifiable(n.combinators,$.Combinator))],$.JSArray_ComplexSelectorComponent);o.JSArray_methods.addAll$1(a,s.SubListIterable$(r,1,null,s._arrayInstanceType(r)._precomputed1));return s.ComplexSelector$(o.List_empty0,a,false)},$signature:70};s._extend_closure.prototype={call$1(e){var r,n,i="selector",l="extendee",u="extender",_=a.getInterceptor$asx(e),c=s.SassApiValue_assertSelector(_.$index(e,0),false,i);c.assertNotBogus$1$name(i);r=s.SassApiValue_assertSelector(_.$index(e,1),false,l);r.assertNotBogus$1$name(l);n=s.SassApiValue_assertSelector(_.$index(e,2),false,u);n.assertNotBogus$1$name(u);return s.ExtensionStore__extendOrReplace(c,n,r,o.ExtendMode_allTargets,s.EvaluationContext_current().get$currentCallableSpan()).get$asSassList()},$signature:22};s._replace_closure.prototype={call$1(e){var r,n,i="selector",l="original",u="replacement",_=a.getInterceptor$asx(e),c=s.SassApiValue_assertSelector(_.$index(e,0),false,i);c.assertNotBogus$1$name(i);r=s.SassApiValue_assertSelector(_.$index(e,1),false,l);r.assertNotBogus$1$name(l);n=s.SassApiValue_assertSelector(_.$index(e,2),false,u);n.assertNotBogus$1$name(u);return s.ExtensionStore__extendOrReplace(c,n,r,o.ExtendMode_replace,s.EvaluationContext_current().get$currentCallableSpan()).get$asSassList()},$signature:22};s._unify_closure.prototype={call$1(e){var r,n,i="selector1",l="selector2",u=a.getInterceptor$asx(e),_=s.SassApiValue_assertSelector(u.$index(e,0),false,i);_.assertNotBogus$1$name(i);r=s.SassApiValue_assertSelector(u.$index(e,1),false,l);r.assertNotBogus$1$name(l);n=_.unify$1(r);return n==null?o.C__SassNull:n.get$asSassList()},$signature:4};s._isSuperselector_closure.prototype={call$1(e){var r,n=a.getInterceptor$asx(e),i=s.SassApiValue_assertSelector(n.$index(e,0),false,"super");i.assertNotBogus$1$name("super");r=s.SassApiValue_assertSelector(n.$index(e,1),false,"sub");r.assertNotBogus$1$name("sub");return s.listIsSuperselector(i.components,r.components)?o.SassBoolean_true:o.SassBoolean_false},$signature:20};s._simpleSelectors_closure.prototype={call$1(e){var r=s.SassApiValue_assertCompoundSelector(a.$index$asx(e,0),"selector").components;return s.SassList$(new s.MappedListIterable(r,new s._simpleSelectors__closure,s._arrayInstanceType(r)._eval$1("MappedListIterable<1,Value>")),o.ListSeparator_kWM,false)},$signature:22};s._simpleSelectors__closure.prototype={call$1(e){return new s.SassString(s.serializeSelector(e,true),false)},$signature:296};s._parse_closure.prototype={call$1(e){return s.SassApiValue_assertSelector(a.$index$asx(e,0),false,"selector").get$asSassList()},$signature:22};s._unquote_closure.prototype={call$1(e){var r=a.$index$asx(e,0).assertString$1("string");if(!r._hasQuotes)return r;return new s.SassString(r._string$_text,false)},$signature:18};s._quote_closure.prototype={call$1(e){var r=a.$index$asx(e,0).assertString$1("string");if(r._hasQuotes)return r;return new s.SassString(r._string$_text,true)},$signature:18};s._length_closure.prototype={call$1(e){var r=a.$index$asx(e,0).assertString$1("string").get$_sassLength();return new s.UnitlessSassNumber(r,null)},$signature:11};s._insert_closure.prototype={call$1(e){var r,n,i="index",l=a.getInterceptor$asx(e),u=l.$index(e,0).assertString$1("string"),_=l.$index(e,1).assertString$1("insert"),c=l.$index(e,2).assertNumber$1(i);c.assertNoUnits$1(i);r=c.assertInt$1(i);if(r<0)r=Math.max(u.get$_sassLength()+r+2,0);l=u._string$_text;n=s.codepointIndexToCodeUnitIndex(l,s._codepointForIndex(r,u.get$_sassLength(),false));return new s.SassString(o.JSString_methods.replaceRange$3(l,n,n,_._string$_text),u._hasQuotes)},$signature:18};s._index_closure.prototype={call$1(e){var r,n=a.getInterceptor$asx(e),i=n.$index(e,0).assertString$1("string")._string$_text,l=o.JSString_methods.indexOf$1(i,n.$index(e,1).assertString$1("substring")._string$_text);if(l===-1)return o.C__SassNull;r=s.codeUnitIndexToCodepointIndex(i,l);return new s.UnitlessSassNumber(r+1,null)},$signature:4};s._slice_closure.prototype={call$1(e){var r,n,i,l,_="start-at",c=a.getInterceptor$asx(e),$=c.$index(e,0).assertString$1("string"),p=c.$index(e,1).assertNumber$1(_),h=c.$index(e,2).assertNumber$1("end-at");p.assertNoUnits$1(_);h.assertNoUnits$1("end-at");r=$.get$_sassLength();n=h.assertInt$0();if(n===0)return $._hasQuotes?u.$get$_emptyQuoted():u.$get$_emptyUnquoted();i=s._codepointForIndex(p.assertInt$0(),r,false);l=s._codepointForIndex(n,r,true);if(l===r)--l;if(l=97&&u<=122?u&4294967263:u)}return new s.SassString(l.charCodeAt(0)==0?l:l,_._hasQuotes)},$signature:18};s._toLowerCase_closure.prototype={call$1(e){var r,n,i,l,u,_=a.$index$asx(e,0).assertString$1("string");for(r=_._string$_text,n=r.length,i=0,l="";i=65&&u<=90?u|32:u)}return new s.SassString(l.charCodeAt(0)==0?l:l,_._hasQuotes)},$signature:18};s._uniqueId_closure.prototype={call$1(e){var r=u.$get$_previousUniqueId()+(u.$get$_random().nextInt$1(36)+1);u._previousUniqueId=r;if(r>Math.pow(36,6))u._previousUniqueId=o.JSInt_methods.$mod(u.$get$_previousUniqueId(),s._asInt(Math.pow(36,6)));return new s.SassString("u"+o.JSString_methods.padLeft$2(a.toRadixString$1$n(u.$get$_previousUniqueId(),36),6,"0"),false)},$signature:18};s.ImportCache.prototype={canonicalize$4$baseImporter$baseUrl$forImport(e,r,n,i,a){var o,l=this;if(n!=null){o=l._relativeCanonicalizeCache.putIfAbsent$2(new s.Tuple4(r,a,n,i,$.Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri),new s.ImportCache_canonicalize_closure(l,i,r,n,a));if(o!=null)return o}return l._canonicalizeCache.putIfAbsent$2(new s.Tuple2(r,a,$.Tuple2_Uri_bool),new s.ImportCache_canonicalize_closure0(l,r,a))},canonicalize$3$baseImporter$baseUrl(e,r,n,i){return this.canonicalize$4$baseImporter$baseUrl$forImport(e,r,n,i,false)},_canonicalize$3(e,r,n){var i,a;if(n){i=$.nullable_Object;a=s.runZoned(new s.ImportCache__canonicalize_closure(e,r),s.LinkedHashMap_LinkedHashMap$_literal([o.Symbol__inImportRule,true],i,i),$.nullable_Uri)}else a=e.canonicalize$1(0,r);if((a==null?null:a.get$scheme())==="")this._logger.warn$2$deprecation(0,"Importer "+e.toString$0(0)+" canonicalized "+r.toString$0(0)+" to "+s.S(a)+c.x2e_Rela,true);return a},importCanonical$4$originalUrl$quiet(e,r,n,i){return this._importCache.putIfAbsent$2(r,new s.ImportCache_importCanonical_closure(this,e,r,n,i))},importCanonical$3$originalUrl(e,r,n){return this.importCanonical$4$originalUrl$quiet(e,r,n,false)},importCanonical$2(e,r){return this.importCanonical$4$originalUrl$quiet(e,r,null,false)},humanize$1(e){var r,n,i=this._canonicalizeCache;i=s.IterableNullableExtension_whereNotNull(i.get$values(i),$.Tuple3_Importer_Uri_Uri);r=i.$ti;n=s.minBy(new s.MappedIterable(new s.WhereIterable(i,new s.ImportCache_humanize_closure(e),r._eval$1("WhereIterable")),new s.ImportCache_humanize_closure0,r._eval$1("MappedIterable")),new s.ImportCache_humanize_closure1);if(n==null)return e;i=u.$get$url();return n.resolve$1(s.ParsedPath_ParsedPath$parse(e.get$path(e),i.style).get$basename())},sourceMapUrl$1(e,r){var n=this._resultsCache.$index(0,r);n=n==null?null:n.get$sourceMapUrl(n);return n==null?r:n},clearCanonicalize$1(e){var r,n,i,a=this._canonicalizeCache,o=$.Tuple2_Uri_bool;a.remove$1(0,new s.Tuple2(e,false,o));a.remove$1(0,new s.Tuple2(e,true,o));o=s._setArrayType([],$.JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri);for(a=this._relativeCanonicalizeCache,r=s.LinkedHashMapKeyIterator$(a,a._modifications);r.moveNext$0();){n=r.__js_helper$_current;if(n.item1.$eq(0,e))o.push(n)}for(r=o.length,i=0;i")))},$signature:1};s.watchDir__closure.prototype={call$0(){a.close$0$x(this.watcher)},$signature:1};s._QuietLogger.prototype={warn$4$deprecation$span$trace(e,r,n,i,s){},warn$1(e,r){return this.warn$4$deprecation$span$trace(e,r,false,null,null)},warn$2$deprecation(e,r,n){return this.warn$4$deprecation$span$trace(e,r,n,null,null)},warn$2$span(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,n,null)},warn$3$deprecation$span(e,r,n,i){return this.warn$4$deprecation$span$trace(e,r,n,i,null)},warn$2$trace(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,null,n)},debug$2(e,r,n){}};s.StderrLogger.prototype={warn$4$deprecation$span$trace(e,r,n,i,l){var _,c,$,p=this.color;if(p){_=u.$get$stderr();c=_._stderr;$=a.getInterceptor$x(c);$.write$1(c,"");if(n)$.write$1(c,"Deprecation ");$.write$1(c,"Warning")}else{if(n)a.write$1$x(u.$get$stderr()._stderr,"DEPRECATION ");_=u.$get$stderr();a.write$1$x(_._stderr,"WARNING")}if(i==null)_.writeln$1(": "+r);else if(l!=null)_.writeln$1(": "+r+"\n\n"+i.highlight$1$color(p));else _.writeln$1(" on "+i.message$2$color(0,"\n"+r,p));if(l!=null)_.writeln$1(s.indent(o.JSString_methods.trimRight$0(l.toString$0(0)),4));_.writeln$0()},warn$1(e,r){return this.warn$4$deprecation$span$trace(e,r,false,null,null)},warn$2$deprecation(e,r,n){return this.warn$4$deprecation$span$trace(e,r,n,null,null)},warn$2$span(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,n,null)},warn$3$deprecation$span(e,r,n,i){return this.warn$4$deprecation$span$trace(e,r,n,i,null)},warn$2$trace(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,null,n)},debug$2(e,r,n){var i,o,l,_=n.file,c=n._file$_start;if(s.FileLocation$_(_,c).file.url==null)i="-";else{o=s.FileLocation$_(_,c);i=u.$get$context().prettyUri$1(o.file.url)}o=u.$get$stderr();c=s.FileLocation$_(_,c);c=c.file.getLine$1(c.offset);_=o._stderr;l=a.getInterceptor$x(_);l.write$1(_,i+":"+(c+1)+" ");l.write$1(_,this.color?"Debug":"DEBUG");o.writeln$1(": "+r)}};s.TerseLogger.prototype={warn$4$deprecation$span$trace(e,r,n,i,s){var a,l,u,_;if(n){a=o.JSArray_methods.get$first(r.split("\n\n"));l=this._warningCounts;u=l.$index(0,a);_=(u==null?0:u)+1;l.$indexSet(0,a,_);if(_>5)return}this._inner.warn$4$deprecation$span$trace(0,r,n,i,s)},warn$2$deprecation(e,r,n){return this.warn$4$deprecation$span$trace(e,r,n,null,null)},warn$2$span(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,n,null)},warn$3$deprecation$span(e,r,n,i){return this.warn$4$deprecation$span$trace(e,r,n,i,null)},warn$2$trace(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,null,n)},debug$2(e,r,n){return this._inner.debug$2(0,r,n)},summarize$1$node(e){var r,n,i=this._warningCounts;i=i.get$values(i);r=s._instanceType(i);n=s.IterableIntegerExtension_get_sum(new s.MappedIterable(new s.WhereIterable(i,new s.TerseLogger_summarize_closure,r._eval$1("WhereIterable")),new s.TerseLogger_summarize_closure0,r._eval$1("MappedIterable")));if(n>0){i=e?"":c.x0aRun_i;this._inner.warn$1(0,""+n+c.x20repet+i)}}};s.TerseLogger_summarize_closure.prototype={call$1(e){return e>5},$signature:57};s.TerseLogger_summarize_closure0.prototype={call$1(e){return e-5},$signature:156};s.TrackingLogger.prototype={warn$4$deprecation$span$trace(e,r,n,i,s){this._emittedWarning=true;this._tracking$_logger.warn$4$deprecation$span$trace(0,r,n,i,s)},warn$2$deprecation(e,r,n){return this.warn$4$deprecation$span$trace(e,r,n,null,null)},warn$2$span(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,n,null)},warn$3$deprecation$span(e,r,n,i){return this.warn$4$deprecation$span$trace(e,r,n,i,null)},warn$2$trace(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,null,n)},debug$2(e,r,n){this._emittedDebug=true;this._tracking$_logger.debug$2(0,r,n)}};s.BuiltInModule.prototype={get$upstream(){return o.List_empty6},get$variableNodes(){return o.Map_empty0},get$extensionStore(){return o.C_EmptyExtensionStore},get$css(e){return new s.CssStylesheet(o.List_empty3,s.SourceFile$decoded(o.List_empty4,this.url).span$2(0,0,0))},get$transitivelyContainsCss(){return false},get$transitivelyContainsExtensions(){return false},setVariable$3(e,r,n){if(!this.variables.containsKey$1(e))throw s.wrapException(s.SassScriptException$("Undefined variable."));throw s.wrapException(s.SassScriptException$("Cannot modify built-in variable."))},variableIdentity$1(e){return this},cloneCss$0(){return this},$isModule:1,get$url(e){return this.url},get$functions(e){return this.functions},get$mixins(){return this.mixins},get$variables(){return this.variables}};s.ForwardedModuleView.prototype={get$url(e){var r=this._forwarded_view$_inner;return r.get$url(r)},get$upstream(){return this._forwarded_view$_inner.get$upstream()},get$extensionStore(){return this._forwarded_view$_inner.get$extensionStore()},get$css(e){var r=this._forwarded_view$_inner;return r.get$css(r)},get$transitivelyContainsCss(){return this._forwarded_view$_inner.get$transitivelyContainsCss()},get$transitivelyContainsExtensions(){return this._forwarded_view$_inner.get$transitivelyContainsExtensions()},setVariable$3(e,r,n){var i,a="Undefined variable.",l=this._rule,u=l.shownVariables,_=l.hiddenVariables;if(u!=null&&!u._base.contains$1(0,e))throw s.wrapException(s.SassScriptException$(a));else if(_!=null&&_._base.contains$1(0,e))throw s.wrapException(s.SassScriptException$(a));i=l.prefix;if(i!=null){if(!o.JSString_methods.startsWith$1(e,i))throw s.wrapException(s.SassScriptException$(a));e=o.JSString_methods.substring$1(e,i.length)}return this._forwarded_view$_inner.setVariable$3(e,r,n)},variableIdentity$1(e){var r=this._rule.prefix;if(r!=null)e=o.JSString_methods.substring$1(e,r.length);return this._forwarded_view$_inner.variableIdentity$1(e)},$eq(e,r){if(r==null)return false;return r instanceof s.ForwardedModuleView&&this._forwarded_view$_inner.$eq(0,r._forwarded_view$_inner)&&this._rule===r._rule},get$hashCode(e){var r=this._forwarded_view$_inner;return(r.get$hashCode(r)^s.Primitives_objectHashCode(this._rule))>>>0},cloneCss$0(){return s.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(),this._rule,this.$ti._precomputed1)},toString$0(e){return"forwarded "+this._forwarded_view$_inner.toString$0(0)},$isModule:1,get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins}};s.ShadowedModuleView.prototype={get$url(e){var r=this._shadowed_view$_inner;return r.get$url(r)},get$upstream(){return this._shadowed_view$_inner.get$upstream()},get$extensionStore(){return this._shadowed_view$_inner.get$extensionStore()},get$css(e){var r=this._shadowed_view$_inner;return r.get$css(r)},get$transitivelyContainsCss(){return this._shadowed_view$_inner.get$transitivelyContainsCss()},get$transitivelyContainsExtensions(){return this._shadowed_view$_inner.get$transitivelyContainsExtensions()},setVariable$3(e,r,n){if(!this.variables.containsKey$1(e))throw s.wrapException(s.SassScriptException$("Undefined variable."));else return this._shadowed_view$_inner.setVariable$3(e,r,n)},variableIdentity$1(e){return this._shadowed_view$_inner.variableIdentity$1(e)},$eq(e,r){var n,i,a=this;if(r==null)return false;if(r instanceof s.ShadowedModuleView)if(a._shadowed_view$_inner.$eq(0,r._shadowed_view$_inner)){n=a.variables;n=n.get$keys(n);i=r.variables;if(o.C_IterableEquality.equals$2(0,n,i.get$keys(i))){n=a.functions;n=n.get$keys(n);i=r.functions;if(o.C_IterableEquality.equals$2(0,n,i.get$keys(i))){n=a.mixins;n=n.get$keys(n);i=r.mixins;i=o.C_IterableEquality.equals$2(0,n,i.get$keys(i));n=i}else n=false}else n=false}else n=false;else n=false;return n},get$hashCode(e){var r=this._shadowed_view$_inner;return r.get$hashCode(r)},cloneCss$0(){var e=this;return new s.ShadowedModuleView(e._shadowed_view$_inner.cloneCss$0(),e.variables,e.variableNodes,e.functions,e.mixins,e.$ti)},toString$0(e){return"shadowed "+this._shadowed_view$_inner.toString$0(0)},$isModule:1,get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins}};s.JSArray0.prototype={};s.Chokidar.prototype={};s.ChokidarOptions.prototype={};s.ChokidarWatcher.prototype={};s.JSFunction.prototype={};s.NodeImporterResult.prototype={};s.RenderContext.prototype={};s.RenderContextOptions.prototype={};s.RenderContextResult.prototype={};s.RenderContextResultStats.prototype={};s.JSClass.prototype={};s.JSUrl.prototype={};s._PropertyDescriptor.prototype={};s.AtRootQueryParser.prototype={parse$0(){return this.wrapSpanFormatException$1(new s.AtRootQueryParser_parse_closure(this))}};s.AtRootQueryParser_parse_closure.prototype={call$0(){var e,r,n=this.$this,i=n.scanner;i.expectChar$1(40);n.whitespace$0();e=n.scanIdentifier$1("with");if(!e)n.expectIdentifier$2$name("without",'"with" or "without"');n.whitespace$0();i.expectChar$1(58);n.whitespace$0();r=s.LinkedHashSet_LinkedHashSet$_empty($.String);do{r.add$1(0,n.identifier$0().toLowerCase());n.whitespace$0()}while(n.lookingAtIdentifier$0());i.expectChar$1(41);i.expectDone$0();return new s.AtRootQuery(e,r,r.contains$1(0,"all"),r.contains$1(0,"rule"))},$signature:137};s._disallowedFunctionNames_closure.prototype={call$1(e){return e.name},$signature:368};s.CssParser.prototype={get$plainCss(){return true},silentComment$0(){var e=this.scanner,r=e._string_scanner$_position;this.super$Parser$silentComment();this.error$2(0,c.Silent,e.spanFrom$1(new s._SpanScannerState(e,r)))},atRule$2$root(e,r){var n,i,a,o,l,u,_,c=this,p=c.scanner,h=new s._SpanScannerState(p,p._string_scanner$_position);p.expectChar$1(64);n=c.interpolatedIdentifier$0();c.whitespace$0();switch(n.get$asPlain()){case"at-root":case"content":case"debug":case"each":case"error":case"extend":case"for":case"function":case"if":case"include":case"mixin":case"return":case"warn":case"while":c.almostAnyValue$0();c.error$2(0,"This at-rule isn't allowed in plain CSS.",p.spanFrom$1(h));break;case"import":i=new s._SpanScannerState(p,p._string_scanner$_position);a=p.peekChar$0();o=a===117||a===85?c.dynamicUrl$0():new s.StringExpression(c.interpolatedString$0().asInterpolation$1$static(true),false);l=p.spanFrom$1(i);c.whitespace$0();u=c.tryImportModifiers$0();c.expectStatementSeparator$1("@import rule");_=s._setArrayType([new s.StaticImport(s.Interpolation$(s._setArrayType([o],$.JSArray_Object),l),u,p.spanFrom$1(i))],$.JSArray_Import);p=p.spanFrom$1(h);return new s.ImportRule(s.List_List$unmodifiable(_,$.Import),p);case"media":return c.mediaRule$1(h);case"-moz-document":return c.mozDocumentRule$2(h,n);case"supports":return c.supportsRule$1(h);default:return c.unknownAtRule$2(h,n)}},identifierLike$0(){var e,r,n,i,a,l=this,_=l.scanner,p=new s._SpanScannerState(_,_._string_scanner$_position),h=l.interpolatedIdentifier$0(),d=h.get$asPlain(),m=d.toLowerCase(),g=l.trySpecialFunction$2(m,p);if(g!=null)return g;e=_._string_scanner$_position;if(!_.scanChar$1(40))return new s.StringExpression(h,false);r=m==="var";n=s._setArrayType([],$.JSArray_Expression);if(!_.scanChar$1(41)){do{l.whitespace$0();if(r&&n.length===1&&_.peekChar$0()===41){i=s.FileLocation$_(_._sourceFile,_._string_scanner$_position);a=i.offset;a=s._FileSpan$(i.file,a,a);n.push(new s.StringExpression(s.Interpolation$(s._setArrayType([""],$.JSArray_Object),a),false));break}n.push(l.expressionUntilComma$1$singleEquals(true));l.whitespace$0()}while(_.scanChar$1(44));_.expectChar$1(41)}if(u.$get$_disallowedFunctionNames().contains$1(0,d))l.error$2(0,c.This_f,_.spanFrom$1(p));i=s.Interpolation$(s._setArrayType([new s.StringExpression(h,false)],$.JSArray_Object),h.span);e=_.spanFrom$1(new s._SpanScannerState(_,e));a=$.Expression;return new s.InterpolatedFunctionExpression(i,new s.ArgumentInvocation(s.List_List$unmodifiable(n,a),s.ConstantMap_ConstantMap$from(o.Map_empty2,$.String,a),null,null,e),_.spanFrom$1(p))},namespacedExpression$2(e,r){var n=this.super$StylesheetParser$namespacedExpression(e,r);this.error$2(0,c.Modulen,n.get$span(n))}};s.KeyframeSelectorParser.prototype={parse$0(){return this.wrapSpanFormatException$1(new s.KeyframeSelectorParser_parse_closure(this))},_percentage$0(){var e,r,n=this.scanner,i=n.scanChar$1(43)?""+s.Primitives_stringFromCharCode(43):"",a=n.peekChar$0();if(!s.isDigit(a)&&a!==46)n.error$1(0,"Expected number.");while(true){e=n.peekChar$0();if(!(e!=null&&e>=48&&e<=57))break;i+=s.Primitives_stringFromCharCode(n.readChar$0())}if(n.peekChar$0()===46){i+=s.Primitives_stringFromCharCode(n.readChar$0());while(true){e=n.peekChar$0();if(!(e!=null&&e>=48&&e<=57))break;i+=s.Primitives_stringFromCharCode(n.readChar$0())}}if(this.scanIdentChar$1(101)){i+=s.Primitives_stringFromCharCode(101);r=n.peekChar$0();if(r===43||r===45)i+=s.Primitives_stringFromCharCode(n.readChar$0());if(!s.isDigit(n.peekChar$0()))n.error$1(0,"Expected digit.");while(true){e=n.peekChar$0();if(!(e!=null&&e>=48&&e<=57))break;i+=s.Primitives_stringFromCharCode(n.readChar$0())}}n.expectChar$1(37);i+=s.Primitives_stringFromCharCode(37);return i.charCodeAt(0)==0?i:i}};s.KeyframeSelectorParser_parse_closure.prototype={call$0(){var e=s._setArrayType([],$.JSArray_String),r=this.$this,n=r.scanner;do{r.whitespace$0();if(r.lookingAtIdentifier$0())if(r.scanIdentifier$1("from"))e.push("from");else{r.expectIdentifier$2$name("to",'"to" or "from"');e.push("to")}else e.push(r._percentage$0());r.whitespace$0()}while(n.scanChar$1(44));n.expectDone$0();return e},$signature:45};s.MediaQueryParser.prototype={parse$0(){return this.wrapSpanFormatException$1(new s.MediaQueryParser_parse_closure(this))},_mediaQuery$0(){var e,r,n,i,a,l,u=this,_="and",c=null;if(u.scanner.peekChar$0()===40){e=s._setArrayType([u._mediaInParens$0()],$.JSArray_String);u.whitespace$0();if(u.scanIdentifier$1(_)){u.expectWhitespace$0();o.JSArray_methods.addAll$1(e,u._mediaLogicSequence$1(_));r=true}else if(u.scanIdentifier$1("or")){u.expectWhitespace$0();o.JSArray_methods.addAll$1(e,u._mediaLogicSequence$1("or"));r=false}else r=true;return s.CssMediaQuery$condition(e,r)}n=u.identifier$0();if(s.equalsIgnoreCase(n,"not")){u.expectWhitespace$0();if(!u.lookingAtIdentifier$0())return s.CssMediaQuery$condition(s._setArrayType(["(not "+u._mediaInParens$0()+")"],$.JSArray_String),c)}u.whitespace$0();if(!u.lookingAtIdentifier$0())return s.CssMediaQuery$type(n,c,c);i=u.identifier$0();if(s.equalsIgnoreCase(i,_)){u.expectWhitespace$0();a=n;l=c}else{u.whitespace$0();if(u.scanIdentifier$1(_))u.expectWhitespace$0();else return s.CssMediaQuery$type(i,c,n);a=i;l=n}if(u.scanIdentifier$1("not")){u.expectWhitespace$0();return s.CssMediaQuery$type(a,s._setArrayType(["(not "+u._mediaInParens$0()+")"],$.JSArray_String),l)}return s.CssMediaQuery$type(a,u._mediaLogicSequence$1(_),l)},_mediaLogicSequence$1(e){var r,n,i=this,a=s._setArrayType([],$.JSArray_String);for(r=i.scanner;true;){r.expectChar$2$name(40,"media condition in parentheses");n=i.declarationValue$0();r.expectChar$1(41);a.push("("+n+")");i.whitespace$0();if(!i.scanIdentifier$1(e))return a;i.expectWhitespace$0()}},_mediaInParens$0(){var e,r=this.scanner;r.expectChar$2$name(40,"media condition in parentheses");e=this.declarationValue$0();r.expectChar$1(41);return"("+e+")"}};s.MediaQueryParser_parse_closure.prototype={call$0(){var e=s._setArrayType([],$.JSArray_CssMediaQuery),r=this.$this,n=r.scanner;do{r.whitespace$0();e.push(r._mediaQuery$0());r.whitespace$0()}while(n.scanChar$1(44));n.expectDone$0();return e},$signature:139};s.Parser.prototype={_parseIdentifier$0(){return this.wrapSpanFormatException$1(new s.Parser__parseIdentifier_closure(this))},_isVariableDeclarationLike$0(){var e=this,r=e.scanner;if(!r.scanChar$1(36))return false;if(!e.lookingAtIdentifier$0())return false;e.identifier$0();e.whitespace$0();return r.scanChar$1(58)},whitespace$0(){do{this.whitespaceWithoutComments$0()}while(this.scanComment$0())},whitespaceWithoutComments$0(){var e,r=this.scanner,n=r.string.length;while(true){if(r._string_scanner$_position!==n){e=r.peekChar$0();e=e===32||e===9||e===10||e===13||e===12}else e=false;if(!e)break;r.readChar$0()}},spaces$0(){var e,r=this.scanner,n=r.string.length;while(true){if(r._string_scanner$_position!==n){e=r.peekChar$0();e=e===32||e===9}else e=false;if(!e)break;r.readChar$0()}},scanComment$0(){var e,r=this.scanner;if(r.peekChar$0()!==47)return false;e=r.peekChar$1(1);if(e===47){this.silentComment$0();return true}else if(e===42){this.loudComment$0();return true}else return false},expectWhitespace$0(){var e,r,n=this.scanner;if(n._string_scanner$_position!==n.string.length){e=n.peekChar$0();r=!(e===32||e===9||e===10||e===13||e===12||this.scanComment$0());e=r}else e=true;if(e)n.error$1(0,"Expected whitespace.");this.whitespace$0()},silentComment$0(){var e,r,n=this.scanner;n.expect$1("//");e=n.string.length;while(true){if(n._string_scanner$_position!==e){r=n.peekChar$0();r=!(r===10||r===13||r===12)}else r=false;if(!r)break;n.readChar$0()}},loudComment$0(){var e,r=this.scanner;r.expect$1("/*");for(;true;){if(r.readChar$0()!==42)continue;do{e=r.readChar$0()}while(e===42);if(e===47)break}},identifier$2$normalize$unit(e,r){var n,i,a=this,o="Expected identifier.",l=new s.StringBuffer(""),u=a.scanner;if(u.scanChar$1(45)){n=l._contents=""+s.Primitives_stringFromCharCode(45);if(u.scanChar$1(45)){l._contents=n+s.Primitives_stringFromCharCode(45);a._identifierBody$3$normalize$unit(l,e,r);u=l._contents;return u.charCodeAt(0)==0?u:u}}else n="";i=u.peekChar$0();if(i==null)u.error$1(0,o);else if(e&&i===95){u.readChar$0();l._contents=n+s.Primitives_stringFromCharCode(45)}else if(i===95||s.isAlphabetic0(i)||i>=128)l._contents=n+s.Primitives_stringFromCharCode(u.readChar$0());else if(i===92)l._contents=n+s.S(a.escape$1$identifierStart(true));else u.error$1(0,o);a._identifierBody$3$normalize$unit(l,e,r);u=l._contents;return u.charCodeAt(0)==0?u:u},identifier$0(){return this.identifier$2$normalize$unit(false,false)},identifier$1$normalize(e){return this.identifier$2$normalize$unit(e,false)},identifier$1$unit(e){return this.identifier$2$normalize$unit(false,e)},_identifierBody$3$normalize$unit(e,r,n){var i,a,o,l;for(i=this.scanner;true;){a=i.peekChar$0();if(a==null)break;else if(n&&a===45){o=i.peekChar$1(1);if(o!=null)if(o!==46)l=o>=48&&o<=57;else l=true;else l=false;if(l)break;e._contents+=s.Primitives_stringFromCharCode(i.readChar$0())}else if(r&&a===95){i.readChar$0();e._contents+=s.Primitives_stringFromCharCode(45)}else{if(a!==95){if(!(a>=97&&a<=122))l=a>=65&&a<=90;else l=true;l=l||a>=128}else l=true;if(!l){l=a>=48&&a<=57;l=l||a===45}else l=true;if(l)e._contents+=s.Primitives_stringFromCharCode(i.readChar$0());else if(a===92)e._contents+=s.S(this.escape$0());else break}}},_identifierBody$1(e){return this._identifierBody$3$normalize$unit(e,false,false)},string$0(){var e,r,n,i=this.scanner,a=i.readChar$0();if(a!==39&&a!==34)i.error$2$position(0,"Expected string.",i._string_scanner$_position-1);e=new s.StringBuffer("");for(;true;){r=i.peekChar$0();if(r===a){i.readChar$0();break}else if(r==null||r===10||r===13||r===12)i.error$1(0,"Expected "+s.Primitives_stringFromCharCode(a)+".");else if(r===92){n=i.peekChar$1(1);if(n===10||n===13||n===12){i.readChar$0();i.readChar$0()}else e._contents+=s.Primitives_stringFromCharCode(s.consumeEscapedCharacter(i))}else e._contents+=s.Primitives_stringFromCharCode(i.readChar$0())}i=e._contents;return i.charCodeAt(0)==0?i:i},naturalNumber$0(){var e,r,n=this.scanner,i=n.readChar$0();if(!s.isDigit(i))n.error$2$position(0,"Expected digit.",n._string_scanner$_position-1);e=i-48;while(true){r=n.peekChar$0();if(!(r!=null&&r>=48&&r<=57))break;e=e*10+(n.readChar$0()-48)}return e},declarationValue$1$allowEmpty(e){var r,n,i,a,l,u,_,c,p=this,h=new s.StringBuffer(""),d=s._setArrayType([],$.JSArray_int);e:for(r=p.scanner,n=p.get$string(),i=false;true;){a=r.peekChar$0();switch(a){case 92:h._contents+=s.S(p.escape$1$identifierStart(true));i=false;break;case 34:case 39:l=r._string_scanner$_position;n.call$0();u=r._string_scanner$_position;h._contents+=o.JSString_methods.substring$2(r.string,l,u);i=false;break;case 47:if(r.peekChar$1(1)===42){_=p.get$loudComment();l=r._string_scanner$_position;_.call$0();u=r._string_scanner$_position;h._contents+=o.JSString_methods.substring$2(r.string,l,u)}else h._contents+=s.Primitives_stringFromCharCode(r.readChar$0());i=false;break;case 32:case 9:if(!i){_=r.peekChar$1(1);_=!(_===32||_===9||_===10||_===13||_===12)}else _=true;if(_)h._contents+=s.Primitives_stringFromCharCode(32);r.readChar$0();break;case 10:case 13:case 12:_=r.peekChar$1(-1);if(!(_===10||_===13||_===12))h._contents+="\n";r.readChar$0();i=true;break;case 40:case 123:case 91:a.toString;h._contents+=s.Primitives_stringFromCharCode(a);d.push(s.opposite(r.readChar$0()));i=false;break;case 41:case 125:case 93:if(d.length===0)break e;a.toString;h._contents+=s.Primitives_stringFromCharCode(a);r.expectChar$1(d.pop());i=false;break;case 59:if(d.length===0)break e;h._contents+=s.Primitives_stringFromCharCode(r.readChar$0());break;case 117:case 85:c=p.tryUrl$0();if(c!=null)h._contents+=c;else h._contents+=s.Primitives_stringFromCharCode(r.readChar$0());i=false;break;default:if(a==null)break e;if(p.lookingAtIdentifier$0())h._contents+=p.identifier$0();else h._contents+=s.Primitives_stringFromCharCode(r.readChar$0());i=false;break}}if(d.length!==0)r.expectChar$1(o.JSArray_methods.get$last(d));if(!e&&h._contents.length===0)r.error$1(0,"Expected token.");r=h._contents;return r.charCodeAt(0)==0?r:r},declarationValue$0(){return this.declarationValue$1$allowEmpty(false)},tryUrl$0(){var e,r,n,i=this,a=i.scanner,o=new s._SpanScannerState(a,a._string_scanner$_position);if(!i.scanIdentifier$1("url"))return null;if(!a.scanChar$1(40)){a.set$state(o);return null}i.whitespace$0();e=new s.StringBuffer("");e._contents=""+"url(";for(;true;){r=a.peekChar$0();if(r==null)break;else if(r===92)e._contents+=s.S(i.escape$0());else{if(r!==37)if(r!==38)if(r!==35)n=r>=42&&r<=126||r>=128;else n=true;else n=true;else n=true;if(n)e._contents+=s.Primitives_stringFromCharCode(a.readChar$0());else if(r===32||r===9||r===10||r===13||r===12){i.whitespace$0();if(a.peekChar$0()!==41)break}else if(r===41){n=e._contents+=s.Primitives_stringFromCharCode(a.readChar$0());return n.charCodeAt(0)==0?n:n}else break}}a.set$state(o);return null},variableName$0(){this.scanner.expectChar$1(36);return this.identifier$1$normalize(true)},escape$1$identifierStart(e){var r,n,i,l,u,_,c="Expected escape sequence.",p=this.scanner,h=p._string_scanner$_position;p.expectChar$1(92);r=0;n=p.peekChar$0();if(n==null)p.error$1(0,c);else if(n===10||n===13||n===12)p.error$1(0,c);else if(s.isHex(n)){for(i=0;i<6;++i){l=p.peekChar$0();if(l==null||!s.isHex(l))break;r*=16;r+=s.asHex(p.readChar$0())}this.scanCharIf$1(s.character__isWhitespace$closure())}else r=p.readChar$0();if(e){u=r;u=u===95||s.isAlphabetic0(u)||u>=128}else{u=r;u=u===95||s.isAlphabetic0(u)||u>=128||s.isDigit(u)||u===45}if(u)try{u=s.Primitives_stringFromCharCode(r);return u}catch(_){if($.RangeError._is(s.unwrapException(_)))p.error$3$length$position(0,"Invalid Unicode code point.",p._string_scanner$_position-h,h);else throw _}else{if(!(r<=31))if(!a.$eq$(r,127))p=e&&s.isDigit(r);else p=true;else p=true;if(p){p=""+s.Primitives_stringFromCharCode(92);if(r>15)p+=s.Primitives_stringFromCharCode(s.hexCharFor(o.JSNumber_methods._shrOtherPositive$1(r,4)));p=p+s.Primitives_stringFromCharCode(s.hexCharFor(r&15))+s.Primitives_stringFromCharCode(32);return p.charCodeAt(0)==0?p:p}else return s.String_String$fromCharCodes(s._setArrayType([92,r],$.JSArray_int),0,null)}},escape$0(){return this.escape$1$identifierStart(false)},scanCharIf$1(e){var r=this.scanner;if(!e.call$1(r.peekChar$0()))return false;r.readChar$0();return true},scanIdentChar$2$caseSensitive(e,r){var n,i=new s.Parser_scanIdentChar_matches(r,e),a=this.scanner,o=a.peekChar$0();if(o!=null&&i.call$1(o)){a.readChar$0();return true}else if(o===92){n=a._string_scanner$_position;if(i.call$1(s.consumeEscapedCharacter(a)))return true;a.set$state(new s._SpanScannerState(a,n))}return false},scanIdentChar$1(e){return this.scanIdentChar$2$caseSensitive(e,false)},expectIdentChar$1(e){var r;if(this.scanIdentChar$2$caseSensitive(e,false))return;r=this.scanner;r.error$2$position(0,'Expected "'+s.Primitives_stringFromCharCode(e)+'".',r._string_scanner$_position)},lookingAtIdentifier$1(e){var r,n,i;if(e==null)e=0;r=this.scanner;n=r.peekChar$1(e);if(n==null)return false;if(n===95||s.isAlphabetic0(n)||n>=128||n===92)return true;if(n!==45)return false;i=r.peekChar$1(e+1);if(i==null)return false;return i===95||s.isAlphabetic0(i)||i>=128||i===92||i===45},lookingAtIdentifier$0(){return this.lookingAtIdentifier$1(null)},lookingAtIdentifierBody$0(){var e,r=this.scanner.peekChar$0();if(r!=null)e=r===95||s.isAlphabetic0(r)||r>=128||s.isDigit(r)||r===45||r===92;else e=false;return e},scanIdentifier$2$caseSensitive(e,r){var n,i,a=this;if(!a.lookingAtIdentifier$0())return false;n=a.scanner;i=n._string_scanner$_position;if(a._consumeIdentifier$2(e,r)&&!a.lookingAtIdentifierBody$0())return true;else{n.set$state(new s._SpanScannerState(n,i));return false}},scanIdentifier$1(e){return this.scanIdentifier$2$caseSensitive(e,false)},matchesIdentifier$1(e){var r,n,i,a=this;if(!a.lookingAtIdentifier$0())return false;r=a.scanner;n=r._string_scanner$_position;i=a._consumeIdentifier$2(e,false)&&!a.lookingAtIdentifierBody$0();r.set$state(new s._SpanScannerState(r,n));return i},_consumeIdentifier$2(e,r){var n,i,a;for(n=new s.CodeUnits(e),n=new s.ListIterator(n,n.get$length(n)),i=s._instanceType(n)._precomputed1;n.moveNext$0();){a=n.__internal$_current;if(!this.scanIdentChar$2$caseSensitive(a==null?i._as(a):a,r))return false}return true},expectIdentifier$2$name(e,r){var n,i,a,o,l,u,_;if(r==null)r='"'+e+'"';n=this.scanner;i=n._string_scanner$_position;for(a=new s.CodeUnits(e),a=new s.ListIterator(a,a.get$length(a)),o="Expected "+r,l=o+".",u=s._instanceType(a)._precomputed1;a.moveNext$0();){_=a.__internal$_current;if(this.scanIdentChar$2$caseSensitive(_==null?u._as(_):_,false))continue;n.error$2$position(0,l,i)}if(!this.lookingAtIdentifierBody$0())return;n.error$2$position(0,o,i)},expectIdentifier$1(e){return this.expectIdentifier$2$name(e,null)},rawText$1(e){var r=this.scanner,n=r._string_scanner$_position;e.call$0();return r.substring$1(0,n)},error$3(e,r,n,i){var a=new s.StringScannerException(this.scanner.string,r,n);if(i==null)throw s.wrapException(a);else s.throwWithTrace(a,i)},error$2(e,r,n){return this.error$3(e,r,n,null)},withErrorMessage$1$2(e,r){var n,i,o,l;try{o=r.call$0();return o}catch(l){o=s.unwrapException(l);if($.SourceSpanFormatException._is(o)){n=o;i=s.getTraceFromException(l);o=a.get$span$z(n);s.throwWithTrace(new s.SourceSpanFormatException(n.get$source(),e,o),i)}else throw l}},withErrorMessage$2(e,r){return this.withErrorMessage$1$2(e,r,$.dynamic)},wrapSpanFormatException$1$1(e){var r,n,i,o,l,u;try{l=e.call$0();return l}catch(u){l=s.unwrapException(u);if($.SourceSpanFormatException._is(l)){r=l;n=s.getTraceFromException(u);i=a.get$span$z(r);if(s.startsWithIgnoreCase(r._span_exception$_message,"expected")&&a.get$length$asx(i)===0){o=this._firstNewlineBefore$1(a.get$start$z(i).offset);if(!a.$eq$(o,a.get$start$z(i).offset))i=a.get$file$x(i).span$2(0,o,o)}s.throwWithTrace(new s.SassFormatException(r._span_exception$_message,i),n)}else throw u}},wrapSpanFormatException$1(e){return this.wrapSpanFormatException$1$1(e,$.dynamic)},_firstNewlineBefore$1(e){var r,n,i,s=e-1;for(r=this.scanner.string,n=null;s>=0;){i=o.JSString_methods.codeUnitAt$1(r,s);if(!(i===32||i===9||i===10||i===13||i===12))return n==null?e:n;if(i===10||i===13||i===12)n=s;--s}return e}};s.Parser__parseIdentifier_closure.prototype={call$0(){var e=this.$this,r=e.identifier$0();e.scanner.expectDone$0();return r},$signature:31};s.Parser_scanIdentChar_matches.prototype={call$1(e){var r=this.char;return this.caseSensitive?e===r:s.characterEqualsIgnoreCase(r,e)},$signature:57};s.SassParser.prototype={get$currentIndentation(){return this._currentIndentation},get$indented(){return true},styleRuleSelector$0(){var e,r=this.scanner,n=r._string_scanner$_position,i=new s.StringBuffer(""),a=new s.InterpolationBuffer(i,s._setArrayType([],$.JSArray_Object));do{a.addInterpolation$1(this.almostAnyValue$1$omitComments(true));e=i._contents+=s.Primitives_stringFromCharCode(10)}while(o.JSString_methods.endsWith$1(o.JSString_methods.trimRight$0(e.charCodeAt(0)==0?e:e),",")&&this.scanCharIf$1(s.character__isNewline$closure()));return a.interpolation$1(r.spanFrom$1(new s._SpanScannerState(r,n)))},expectStatementSeparator$1(e){var r,n=this;if(!n.atEndOfStatement$0())n._expectNewline$0();if(n._peekIndentation$0()<=n._currentIndentation)return;r=e==null?"here":"beneath a "+e;n.scanner.error$2$position(0,"Nothing may be indented "+r+".",n._nextIndentationEnd.position)},expectStatementSeparator$0(){return this.expectStatementSeparator$1(null)},atEndOfStatement$0(){var e=this.scanner.peekChar$0();return e==null||e===10||e===13||e===12},lookingAtChildren$0(){return this.atEndOfStatement$0()&&this._peekIndentation$0()>this._currentIndentation},importArgument$0(){var e,r,n,i,o,l,u,_,c=this,p=c.scanner;switch(p.peekChar$0()){case 117:case 85:o=new s._SpanScannerState(p,p._string_scanner$_position);if(c.scanIdentifier$1("url"))if(p.scanChar$1(40)){p.set$state(o);return c.super$StylesheetParser$importArgument()}else p.set$state(o);break;case 39:case 34:return c.super$StylesheetParser$importArgument()}o=new s._SpanScannerState(p,p._string_scanner$_position);l=p.peekChar$0();while(true){if(l!=null)if(l!==44)if(l!==59)u=!(l===10||l===13||l===12);else u=false;else u=false;else u=false;if(!u)break;p.readChar$0();l=p.peekChar$0()}e=p.substring$1(0,o.position);r=p.spanFrom$1(o);if(c.isPlainImportUrl$1(e))return new s.StaticImport(s.Interpolation$(s._setArrayType([s.serializeValue(new s.SassString(e,true),true,true)],$.JSArray_Object),r),null,r);else try{p=c.parseImportUrl$1(e);return new s.DynamicImport(p,r)}catch(_){p=s.unwrapException(_);if($.FormatException._is(p)){n=p;i=s.getTraceFromException(_);c.error$3(0,"Invalid URL: "+a.get$message$x(n),r,i)}else throw _}},scanElse$1(e){var r,n,i,a,o,l=this;if(l._peekIndentation$0()!==e)return false;r=l.scanner;n=r._string_scanner$_position;i=l._currentIndentation;a=l._nextIndentation;o=l._nextIndentationEnd;l._readIndentation$0();if(r.scanChar$1(64)&&l.scanIdentifier$1("else"))return true;r.set$state(new s._SpanScannerState(r,n));l._currentIndentation=i;l._nextIndentation=a;l._nextIndentationEnd=o;return false},children$1(e,r){var n=s._setArrayType([],$.JSArray_Statement);this._whileIndentedLower$1(new s.SassParser_children_closure(this,r,n));return n},statements$1(e){var r,n,i,a=this.scanner,o=a.peekChar$0();if(o===9||o===32)a.error$3$length$position(0,c.Indent,a._string_scanner$_position,0);r=s._setArrayType([],$.JSArray_Statement);for(n=a.string.length;a._string_scanner$_position!==n;){i=this._child$1(e);if(i!=null)r.push(i);this._readIndentation$0()}return r},_child$1(e){var r=this,n=r.scanner;switch(n.peekChar$0()){case 13:case 10:case 12:return null;case 36:return r.variableDeclarationWithoutNamespace$0();case 47:switch(n.peekChar$1(1)){case 47:return r._silentComment$0();case 42:return r._loudComment$0();default:return e.call$0()}default:return e.call$0()}},_silentComment$0(){var e,r,n,i,a,o,l,u,_,c,$=this,p=$.scanner,h=p._string_scanner$_position;p.expect$1("//");e=new s.StringBuffer("");r=$._currentIndentation;n=p.string.length;i=1+r;a=2+r;e:do{o=p.scanChar$1(47)?"///":"//";for(l=o.length;true;){u=e._contents+=o;for(_=l;_<$._currentIndentation-r;++_){u+=s.Primitives_stringFromCharCode(32);e._contents=u}while(true){if(p._string_scanner$_position!==n){c=p.peekChar$0();c=!(c===10||c===13||c===12)}else c=false;if(!c)break;u+=s.Primitives_stringFromCharCode(p.readChar$0());e._contents=u}e._contents=u+"\n";if($._peekIndentation$0()u;){s=l._readIndentation$0();if(i==null)i=s;if(i!==s){a=r._string_scanner$_position;o=n.getColumn$1(a);r.error$3$length$position(0,"Inconsistent indentation, expected "+i+" spaces.",n.getColumn$1(r._string_scanner$_position),a-o)}e.call$0()}},_readIndentation$0(){var e,r=this,n=r._nextIndentation;if(n==null)n=r._nextIndentation=r._peekIndentation$0();r._currentIndentation=n;e=r._nextIndentationEnd;e.toString;r.scanner.set$state(e);r._nextIndentationEnd=r._nextIndentation=null;return n},_peekIndentation$0(){var e,r,n,i,a,o,l,u,_,c=this,$=c._nextIndentation;if($!=null)return $;e=c.scanner;r=e._string_scanner$_position;n=e.string.length;if(r===n){c._nextIndentation=0;c._nextIndentationEnd=new s._SpanScannerState(e,r);return 0}i=new s._SpanScannerState(e,r);if(!c.scanCharIf$1(s.character__isNewline$closure()))e.error$2$position(0,"Expected newline.",e._string_scanner$_position);a=s._Cell$();o=s._Cell$();l=s._Cell$();r=l.__late_helper$_name;do{o._value=a._value=false;l._value=0;for(;true;){u=e.peekChar$0();if(u===32)o._value=true;else if(u===9)a._value=true;else break;_=l._value;if(_===l)s.throwExpression(s.LateError$localNI(r));l._value=_+1;e.readChar$0()}_=e._string_scanner$_position;if(_===n){c._nextIndentation=0;c._nextIndentationEnd=new s._SpanScannerState(e,_);e.set$state(i);return 0}}while(c.scanCharIf$1(s.character__isNewline$closure()));r=a._readLocal$0();n=o._readLocal$0();if(r){if(n){r=e._string_scanner$_position;n=e._sourceFile;_=n.getColumn$1(r);e.error$3$length$position(0,"Tabs and spaces may not be mixed.",n.getColumn$1(e._string_scanner$_position),r-_)}else if(c._spaces===true){r=e._string_scanner$_position;n=e._sourceFile;_=n.getColumn$1(r);e.error$3$length$position(0,"Expected spaces, was tabs.",n.getColumn$1(e._string_scanner$_position),r-_)}}else if(n&&c._spaces===false){r=e._string_scanner$_position;n=e._sourceFile;_=n.getColumn$1(r);e.error$3$length$position(0,"Expected tabs, was spaces.",n.getColumn$1(e._string_scanner$_position),r-_)}c._nextIndentation=l._readLocal$0();if(l._readLocal$0()>0)if(c._spaces==null)c._spaces=o._readLocal$0();c._nextIndentationEnd=new s._SpanScannerState(e,e._string_scanner$_position);e.set$state(i);return l._readLocal$0()}};s.SassParser_children_closure.prototype={call$0(){var e=this.$this._child$1(this.child);if(e!=null)this.children.push(e)},$signature:0};s.ScssParser.prototype={get$indented(){return false},get$currentIndentation(){return 0},styleRuleSelector$0(){return this.almostAnyValue$0()},expectStatementSeparator$1(e){var r,n;this.whitespaceWithoutComments$0();r=this.scanner;if(r._string_scanner$_position===r.string.length)return;n=r.peekChar$0();if(n===59||n===125)return;r.expectChar$1(59)},expectStatementSeparator$0(){return this.expectStatementSeparator$1(null)},atEndOfStatement$0(){var e=this.scanner.peekChar$0();return e==null||e===59||e===125||e===123},lookingAtChildren$0(){return this.scanner.peekChar$0()===123},scanElse$1(e){var r,n=this,i=n.scanner,a=i._string_scanner$_position;n.whitespace$0();r=i._string_scanner$_position;if(i.scanChar$1(64)){if(n.scanIdentifier$2$caseSensitive("else",true))return true;if(n.scanIdentifier$2$caseSensitive("elseif",true)){n.logger.warn$3$deprecation$span(0,c.x40elsei,true,i.spanFrom$1(new s._SpanScannerState(i,r)));i.set$position(i._string_scanner$_position-2);return true}}i.set$state(new s._SpanScannerState(i,a));return false},children$1(e,r){var n,i=this,a=i.scanner;a.expectChar$1(123);i.whitespaceWithoutComments$0();n=s._setArrayType([],$.JSArray_Statement);for(;true;)switch(a.peekChar$0()){case 36:n.push(i.variableDeclarationWithoutNamespace$0());break;case 47:switch(a.peekChar$1(1)){case 47:n.push(i._scss$_silentComment$0());i.whitespaceWithoutComments$0();break;case 42:n.push(i._scss$_loudComment$0());i.whitespaceWithoutComments$0();break;default:n.push(r.call$0());break}break;case 59:a.readChar$0();i.whitespaceWithoutComments$0();break;case 125:a.expectChar$1(125);return n;default:n.push(r.call$0());break}},statements$1(e){var r,n,i,a=this,o=s._setArrayType([],$.JSArray_Statement);a.whitespaceWithoutComments$0();for(r=a.scanner,n=r.string.length;r._string_scanner$_position!==n;)switch(r.peekChar$0()){case 36:o.push(a.variableDeclarationWithoutNamespace$0());break;case 47:switch(r.peekChar$1(1)){case 47:o.push(a._scss$_silentComment$0());a.whitespaceWithoutComments$0();break;case 42:o.push(a._scss$_loudComment$0());a.whitespaceWithoutComments$0();break;default:i=e.call$0();if(i!=null)o.push(i);break}break;case 59:r.readChar$0();a.whitespaceWithoutComments$0();break;default:i=e.call$0();if(i!=null)o.push(i);break}return o},_scss$_silentComment$0(){var e,r,n=this,i=n.scanner,a=new s._SpanScannerState(i,i._string_scanner$_position);i.expect$1("//");e=i.string.length;do{while(true){if(i._string_scanner$_position!==e){r=i.readChar$0();r=!(r===10||r===13||r===12)}else r=false;if(!r)break}if(i._string_scanner$_position===e)break;n.whitespaceWithoutComments$0()}while(i.scan$1("//"));if(n.get$plainCss())n.error$2(0,c.Silent,i.spanFrom$1(a));return n.lastSilentComment=new s.SilentComment(i.substring$1(0,a.position),i.spanFrom$1(a))},_scss$_loudComment$0(){var e,r,n,i,a,o,l,u=this.scanner,_=u._string_scanner$_position;u.expect$1("/*");e=new s.StringBuffer("");r=s._setArrayType([],$.JSArray_Object);n=new s.InterpolationBuffer(e,r);e._contents=""+"/*";for(;true;)switch(u.peekChar$0()){case 35:if(u.peekChar$1(1)===123){i=this.singleInterpolation$0();n._flushText$0();r.push(i)}else e._contents+=s.Primitives_stringFromCharCode(u.readChar$0());break;case 42:e._contents+=s.Primitives_stringFromCharCode(u.readChar$0());if(u.peekChar$0()!==47)break;e._contents+=s.Primitives_stringFromCharCode(u.readChar$0());a=u._string_scanner$_position;i=u._sourceFile;o=new s._SpanScannerState(u,_).position;u=new s._FileSpan(i,o,a);u._FileSpan$3(i,o,a);o=$.Object;i=s.List_List$of(r,true,o);_=e._contents;if(_.length!==0)i.push(_.charCodeAt(0)==0?_:_);l=s.List_List$from(i,false,o);l.fixed$length=Array;l.immutable$list=Array;_=new s.Interpolation(l,u);_.Interpolation$2(i,u);return new s.LoudComment(_);case 13:u.readChar$0();if(u.peekChar$0()!==10)e._contents+=s.Primitives_stringFromCharCode(10);break;case 12:u.readChar$0();e._contents+=s.Primitives_stringFromCharCode(10);break;default:e._contents+=s.Primitives_stringFromCharCode(u.readChar$0());break}}};s.SelectorParser.prototype={parse$0(){return this.wrapSpanFormatException$1(new s.SelectorParser_parse_closure(this))},parseCompoundSelector$0(){return this.wrapSpanFormatException$1(new s.SelectorParser_parseCompoundSelector_closure(this))},_selectorList$0(){var e,r,n,i=this,a=i.scanner,o=a._sourceFile,l=o.getLine$1(a._string_scanner$_position),u=s._setArrayType([i._complexSelector$0()],$.JSArray_ComplexSelector);i.whitespace$0();for(e=a.string.length;a.scanChar$1(44);){i.whitespace$0();if(a.peekChar$0()===44)continue;r=a._string_scanner$_position;if(r===e)break;n=o.getLine$1(r)!==l;if(n)l=o.getLine$1(a._string_scanner$_position);u.push(i._complexSelector$1$lineBreak(n))}return s.SelectorList$(u)},_complexSelector$1$lineBreak(e){var r,n,i,a,l,u,_,p,h=this,d=$.JSArray_Combinator,m=s._setArrayType([],d),g=s._setArrayType([],$.JSArray_ComplexSelectorComponent);e:for(r=h.scanner,n=o.Set_2Vk2._map,i=$.Combinator,a=null,l=null;true;){h.whitespace$0();u=r.peekChar$0();switch(u){case 43:r.readChar$0();m.push(o.Combinator_uzg);break;case 62:r.readChar$0();m.push(o.Combinator_sgq);break;case 126:r.readChar$0();m.push(o.Combinator_CzM);break;default:if(u!=null)_=!n.containsKey$1(u)&&!h.lookingAtIdentifier$0();else _=true;if(_)break e;if(a!=null){p=s.List_List$from(m,false,i);p.fixed$length=Array;p.immutable$list=Array;g.push(new s.ComplexSelectorComponent(a,p))}else if(m.length!==0)l=m;a=h._compoundSelector$0();m=s._setArrayType([],d);if(r.peekChar$0()===38)r.error$1(0,c.x22x26__ma);break}}if(a!=null)g.push(new s.ComplexSelectorComponent(a,s.List_List$unmodifiable(m,i)));else if(m.length!==0)l=m;else r.error$1(0,"expected selector.");return s.ComplexSelector$(l==null?o.List_empty0:l,g,e)},_complexSelector$0(){return this._complexSelector$1$lineBreak(false)},_compoundSelector$0(){var e,r=s._setArrayType([this._simpleSelector$0()],$.JSArray_SimpleSelector),n=this.scanner;while(true){e=n.peekChar$0();if(!(e===42||e===91||e===46||e===35||e===37||e===58))break;r.push(this._simpleSelector$1$allowParent(false))}return s.CompoundSelector$(r)},_simpleSelector$1$allowParent(e){var r,n,i,a,o=this,l=o.scanner,u=new s._SpanScannerState(l,l._string_scanner$_position);if(e==null)e=o._allowParent;switch(l.peekChar$0()){case 91:return o._attributeSelector$0();case 46:l.expectChar$1(46);return new s.ClassSelector(o.identifier$0());case 35:l.expectChar$1(35);return new s.IDSelector(o.identifier$0());case 37:l.expectChar$1(37);r=o.identifier$0();if(!o._allowPlaceholder)o.error$2(0,c.Placeh,l.spanFrom$1(u));return new s.PlaceholderSelector(r);case 58:return o._pseudoSelector$0();case 38:l.expectChar$1(38);if(o.lookingAtIdentifierBody$0()){n=new s.StringBuffer("");o._identifierBody$1(n);if(n._contents.length===0)l.error$1(0,"Expected identifier body.");i=n._contents;a=i.charCodeAt(0)==0?i:i}else a=null;if(!e)o.error$2(0,"Parent selectors aren't allowed here.",l.spanFrom$1(u));return new s.ParentSelector(a);default:return o._typeOrUniversalSelector$0()}},_simpleSelector$0(){return this._simpleSelector$1$allowParent(null)},_attributeSelector$0(){var e,r,n,i,a,o=this,l=null,u=o.scanner;u.expectChar$1(91);o.whitespace$0();e=o._attributeName$0();o.whitespace$0();if(u.scanChar$1(93))return new s.AttributeSelector(e,l,l,l);r=o._attributeOperator$0();o.whitespace$0();n=u.peekChar$0();i=n===39||n===34?o.string$0():o.identifier$0();o.whitespace$0();n=u.peekChar$0();a=n!=null&&s.isAlphabetic0(n)?s.Primitives_stringFromCharCode(u.readChar$0()):l;u.expectChar$1(93);return new s.AttributeSelector(e,r,i,a)},_attributeName$0(){var e,r=this,n=r.scanner;if(n.scanChar$1(42)){n.expectChar$1(124);return new s.QualifiedName(r.identifier$0(),"*")}if(n.scanChar$1(124))return new s.QualifiedName(r.identifier$0(),"");e=r.identifier$0();if(n.peekChar$0()!==124||n.peekChar$1(1)===61)return new s.QualifiedName(e,null);n.readChar$0();return new s.QualifiedName(r.identifier$0(),e)},_attributeOperator$0(){var e=this.scanner,r=e._string_scanner$_position;switch(e.readChar$0()){case 61:return o.AttributeOperator_sEs;case 126:e.expectChar$1(61);return o.AttributeOperator_fz1;case 124:e.expectChar$1(61);return o.AttributeOperator_AuK;case 94:e.expectChar$1(61);return o.AttributeOperator_4L5;case 36:e.expectChar$1(61);return o.AttributeOperator_mOX;case 42:e.expectChar$1(61);return o.AttributeOperator_gqZ;default:e.error$2$position(0,'Expected "]".',r)}},_pseudoSelector$0(){var e,r,n,i,a,l,_=this,c=null,$=_.scanner;$.expectChar$1(58);e=$.scanChar$1(58);r=_.identifier$0();if(!$.scanChar$1(40))return s.PseudoSelector$(r,c,e,c);_.whitespace$0();n=s.unvendor(r);if(e)if(u._selectorPseudoElements.contains$1(0,n)){i=_._selectorList$0();a=c}else{a=_.declarationValue$1$allowEmpty(true);i=c}else if(u._selectorPseudoClasses.contains$1(0,n)){i=_._selectorList$0();a=c}else if(n==="nth-child"||n==="nth-last-child"){a=_._aNPlusB$0();_.whitespace$0();l=$.peekChar$1(-1);if((l===32||l===9||l===10||l===13||l===12)&&$.peekChar$0()!==41){_.expectIdentifier$1("of");a+=" of";_.whitespace$0();i=_._selectorList$0()}else i=c}else{a=o.JSString_methods.trimRight$0(_.declarationValue$1$allowEmpty(true));i=c}$.expectChar$1(41);return s.PseudoSelector$(r,a,e,i)},_aNPlusB$0(){var e,r,n,i,a,o=this,l=o.scanner;switch(l.peekChar$0()){case 101:case 69:o.expectIdentifier$1("even");return"even";case 111:case 79:o.expectIdentifier$1("odd");return"odd";case 43:case 45:e=""+s.Primitives_stringFromCharCode(l.readChar$0());break;default:e=""}r=l.peekChar$0();if(r!=null&&s.isDigit(r)){while(true){n=l.peekChar$0();if(!(n!=null&&n>=48&&n<=57))break;e+=s.Primitives_stringFromCharCode(l.readChar$0())}o.whitespace$0();if(!o.scanIdentChar$1(110))return e.charCodeAt(0)==0?e:e}else o.expectIdentChar$1(110);e+=s.Primitives_stringFromCharCode(110);o.whitespace$0();i=l.peekChar$0();if(i!==43&&i!==45)return e.charCodeAt(0)==0?e:e;e+=s.Primitives_stringFromCharCode(l.readChar$0());o.whitespace$0();a=l.peekChar$0();if(a==null||!s.isDigit(a))l.error$1(0,"Expected a number.");while(true){n=l.peekChar$0();if(!(n!=null&&n>=48&&n<=57))break;e+=s.Primitives_stringFromCharCode(l.readChar$0())}return e.charCodeAt(0)==0?e:e},_typeOrUniversalSelector$0(){var e,r=this,n=r.scanner,i=n.peekChar$0();if(i===42){n.readChar$0();if(!n.scanChar$1(124))return new s.UniversalSelector(null);if(n.scanChar$1(42))return new s.UniversalSelector("*");else return new s.TypeSelector(new s.QualifiedName(r.identifier$0(),"*"))}else if(i===124){n.readChar$0();if(n.scanChar$1(42))return new s.UniversalSelector("");else return new s.TypeSelector(new s.QualifiedName(r.identifier$0(),""))}e=r.identifier$0();if(!n.scanChar$1(124))return new s.TypeSelector(new s.QualifiedName(e,null));else if(n.scanChar$1(42))return new s.UniversalSelector(e);else return new s.TypeSelector(new s.QualifiedName(r.identifier$0(),e))}};s.SelectorParser_parse_closure.prototype={call$0(){var e=this.$this,r=e._selectorList$0();e=e.scanner;if(e._string_scanner$_position!==e.string.length)e.error$1(0,"expected selector.");return r},$signature:49};s.SelectorParser_parseCompoundSelector_closure.prototype={call$0(){var e=this.$this,r=e._compoundSelector$0();e=e.scanner;if(e._string_scanner$_position!==e.string.length)e.error$1(0,"expected selector.");return r},$signature:377};s.StylesheetParser.prototype={parse$0(){return this.wrapSpanFormatException$1(new s.StylesheetParser_parse_closure(this))},parseArgumentDeclaration$0(){return this._parseSingleProduction$1$1(new s.StylesheetParser_parseArgumentDeclaration_closure(this),$.ArgumentDeclaration)},parseVariableDeclaration$0(){return this._parseSingleProduction$1$1(new s.StylesheetParser_parseVariableDeclaration_closure(this),$.VariableDeclaration)},parseUseRule$0(){return this._parseSingleProduction$1$1(new s.StylesheetParser_parseUseRule_closure(this),$.UseRule)},_parseSingleProduction$1$1(e,r){return this.wrapSpanFormatException$1(new s.StylesheetParser__parseSingleProduction_closure(this,e,r))},_statement$1$root(e){var r,n=this,i=n.scanner;switch(i.peekChar$0()){case 64:return n.atRule$2$root(new s.StylesheetParser__statement_closure(n),e);case 43:if(!n.get$indented()||!n.lookingAtIdentifier$1(1))return n._styleRule$0();n._isUseAllowed=false;r=i._string_scanner$_position;i.readChar$0();return n._includeRule$1(new s._SpanScannerState(i,r));case 61:if(!n.get$indented())return n._styleRule$0();n._isUseAllowed=false;r=i._string_scanner$_position;i.readChar$0();n.whitespace$0();return n._mixinRule$1(new s._SpanScannerState(i,r));case 125:i.error$2$length(0,'unmatched "}".',1);break;default:return n._inStyleRule||n._stylesheet$_inUnknownAtRule||n._stylesheet$_inMixin||n._inContentBlock?n._declarationOrStyleRule$0():n._variableDeclarationOrStyleRule$0()}},_statement$0(){return this._statement$1$root(false)},_variableDeclarationWithNamespace$0(){var e=this.scanner,r=e._string_scanner$_position,n=this.identifier$0();e.expectChar$1(46);return this.variableDeclarationWithoutNamespace$2(n,new s._SpanScannerState(e,r))},variableDeclarationWithoutNamespace$2(e,r){var n,i,a,o,l,u,_,$,p,h,d,m,g,f,y,S=this,v=S.lastSilentComment;S.lastSilentComment=null;if(r==null){n=S.scanner;i=new s._SpanScannerState(n,n._string_scanner$_position)}else i=r;a=S.variableName$0();n=e!=null;if(n)S._assertPublic$2(a,new s.StylesheetParser_variableDeclarationWithoutNamespace_closure(S,i));if(S.get$plainCss())S.error$2(0,c.Sass_v,S.scanner.spanFrom$1(i));S.whitespace$0();o=S.scanner;o.expectChar$1(58);S.whitespace$0();l=S._expression$0();u=new s._SpanScannerState(o,o._string_scanner$_position);for(_=o.string,$=false,p=false;o.scanChar$1(33);){h=S.identifier$0();if(h==="default")$=true;else if(h==="global"){if(n){d=o._string_scanner$_position;m=o._sourceFile;g=u.position;f=new s._FileSpan(m,g,d);f._FileSpan$3(m,g,d);s.throwExpression(new s.StringScannerException(_,c.x21globa,f))}p=true}else{d=o._string_scanner$_position;m=o._sourceFile;g=u.position;f=new s._FileSpan(m,g,d);f._FileSpan$3(m,g,d);s.throwExpression(new s.StringScannerException(_,"Invalid flag name.",f))}S.whitespace$0();u=new s._SpanScannerState(o,o._string_scanner$_position)}S.expectStatementSeparator$1("variable declaration");y=s.VariableDeclaration$(a,l,o.spanFrom$1(i),v,p,$,e);if(p)S._globalVariables.putIfAbsent$2(a,new s.StylesheetParser_variableDeclarationWithoutNamespace_closure0(y));return y},variableDeclarationWithoutNamespace$0(){return this.variableDeclarationWithoutNamespace$2(null,null)},_variableDeclarationOrStyleRule$0(){var e,r,n,i,a=this;if(a.get$plainCss())return a._styleRule$0();if(a.get$indented()&&a.scanner.scanChar$1(92))return a._styleRule$0();if(!a.lookingAtIdentifier$0())return a._styleRule$0();e=a.scanner;r=e._string_scanner$_position;n=a._variableDeclarationOrInterpolation$0();if(n instanceof s.VariableDeclaration)return n;else{i=new s.InterpolationBuffer(new s.StringBuffer(""),s._setArrayType([],$.JSArray_Object));i.addInterpolation$1($.Interpolation._as(n));return a._styleRule$2(i,new s._SpanScannerState(e,r))}},_declarationOrStyleRule$0(){var e,r,n,i=this;if(i.get$plainCss()&&i._inStyleRule&&!i._stylesheet$_inUnknownAtRule)return i._propertyOrVariableDeclaration$0();if(i.get$indented()&&i.scanner.scanChar$1(92))return i._styleRule$0();e=i.scanner;r=e._string_scanner$_position;n=i._declarationOrBuffer$0();return $.Statement._is(n)?n:i._styleRule$2($.InterpolationBuffer._as(n),new s._SpanScannerState(e,r))},_declarationOrBuffer$0(){var e,r,n,i,a,l,u,_,c,p,h,d=this,m={},g=d.scanner,f=new s._SpanScannerState(g,g._string_scanner$_position),y=new s.InterpolationBuffer(new s.StringBuffer(""),s._setArrayType([],$.JSArray_Object)),S=g.peekChar$0();if(S!==58)if(S!==42)if(S!==46)a=S===35&&g.peekChar$1(1)!==123;else a=true;else a=true;else a=true;if(a){a=g.readChar$0();y._interpolation_buffer$_text._contents+=s.Primitives_stringFromCharCode(a);a=d.rawText$1(d.get$whitespace());y._interpolation_buffer$_text._contents+=a;l=true}else l=false;if(!d._lookingAtInterpolatedIdentifier$0())return y;u=l?d.interpolatedIdentifier$0():d._variableDeclarationOrInterpolation$0();if(u instanceof s.VariableDeclaration)return u;else y.addInterpolation$1($.Interpolation._as(u));d._isUseAllowed=false;if(g.matches$1("/*")){a=d.rawText$1(d.get$loudComment());y._interpolation_buffer$_text._contents+=a}e=new s.StringBuffer("");a=d.get$whitespace();e._contents+=d.rawText$1(a);_=g._string_scanner$_position;if(!g.scanChar$1(58)){if(e._contents.length!==0)y._interpolation_buffer$_text._contents+=s.Primitives_stringFromCharCode(32);return y}e._contents+=s.Primitives_stringFromCharCode(58);c=y.interpolation$1(g.spanFrom$2(f,new s._SpanScannerState(g,_)));if(o.JSString_methods.startsWith$1(c.get$initialPlain(),"--")){m=d._interpolatedDeclarationValue$0();d.expectStatementSeparator$1("custom property");return s.Declaration$(c,new s.StringExpression(m,false),g.spanFrom$1(f))}if(g.scanChar$1(58)){m=y;g=m._interpolation_buffer$_text;a=g._contents+=s.S(e);g._contents=a+s.Primitives_stringFromCharCode(58);return m}else if(d.get$indented()&&d._lookingAtInterpolatedIdentifier$0()){m=y;m._interpolation_buffer$_text._contents+=s.S(e);return m}p=d.rawText$1(a);if(d.lookingAtChildren$0())return d._withChildren$3(d.get$_declarationChild(),f,new s.StylesheetParser__declarationOrBuffer_closure(c));e._contents+=p;r=p.length===0&&d._lookingAtInterpolatedIdentifier$0();n=new s._SpanScannerState(g,g._string_scanner$_position);a=m.value=null;try{a=m.value=d._expression$0();if(d.lookingAtChildren$0()){if(r)d.expectStatementSeparator$0()}else if(!d.atEndOfStatement$0())d.expectStatementSeparator$0()}catch(h){if($.FormatException._is(s.unwrapException(h))){if(!r)throw h;g.set$state(n);i=d.almostAnyValue$0();if(!d.get$indented()&&g.peekChar$0()===59)throw h;y._interpolation_buffer$_text._contents+=s.S(e);y.addInterpolation$1(i);return y}else throw h}if(d.lookingAtChildren$0())return d._withChildren$3(d.get$_declarationChild(),f,new s.StylesheetParser__declarationOrBuffer_closure0(m,c));else{d.expectStatementSeparator$0();return s.Declaration$(c,a,g.spanFrom$1(f))}},_variableDeclarationOrInterpolation$0(){var e,r,n,i,a,o=this;if(!o.lookingAtIdentifier$0())return o.interpolatedIdentifier$0();e=o.scanner;r=new s._SpanScannerState(e,e._string_scanner$_position);n=o.identifier$0();if(e.matches$1(".$")){e.readChar$0();return o.variableDeclarationWithoutNamespace$2(n,r)}else{i=new s.StringBuffer("");a=new s.InterpolationBuffer(i,s._setArrayType([],$.JSArray_Object));i._contents=""+n;if(o._lookingAtInterpolatedIdentifierBody$0())a.addInterpolation$1(o.interpolatedIdentifier$0());return a.interpolation$1(e.spanFrom$1(r))}},_styleRule$2(e,r){var n,i,a,o,l=this,u={};l._isUseAllowed=false;if(r==null){n=l.scanner;i=new s._SpanScannerState(n,n._string_scanner$_position)}else i=r;a=u.interpolation=l.styleRuleSelector$0();if(e!=null){e.addInterpolation$1(a);n=u.interpolation=e.interpolation$1(l.scanner.spanFrom$1(i))}else n=a;if(n.contents.length===0)l.scanner.error$1(0,'expected "}".');o=l._inStyleRule;l._inStyleRule=true;return l._withChildren$3(l.get$_statement(),i,new s.StylesheetParser__styleRule_closure(u,l,o,i))},_styleRule$0(){return this._styleRule$2(null,null)},_propertyOrVariableDeclaration$1$parseCustomProperties(e){var r,n,i,a,l,u,_=this,p=c.Nested,h={},d=_.scanner,m=new s._SpanScannerState(d,d._string_scanner$_position);h.name=null;r=d.peekChar$0();if(r!==58)if(r!==42)if(r!==46)n=r===35&&d.peekChar$1(1)!==123;else n=true;else n=true;else n=true;if(n){n=new s.StringBuffer("");i=new s.InterpolationBuffer(n,s._setArrayType([],$.JSArray_Object));n._contents+=s.Primitives_stringFromCharCode(d.readChar$0());n._contents+=_.rawText$1(_.get$whitespace());i.addInterpolation$1(_.interpolatedIdentifier$0());n=h.name=i.interpolation$1(d.spanFrom$1(m))}else if(!_.get$plainCss()){a=_._variableDeclarationOrInterpolation$0();if(a instanceof s.VariableDeclaration)return a;else{$.Interpolation._as(a);h.name=a}n=a}else{l=_.interpolatedIdentifier$0();h.name=l;n=l}_.whitespace$0();d.expectChar$1(58);if(e&&o.JSString_methods.startsWith$1(n.get$initialPlain(),"--")){h=_._interpolatedDeclarationValue$0();_.expectStatementSeparator$1("custom property");return s.Declaration$(n,new s.StringExpression(h,false),d.spanFrom$1(m))}_.whitespace$0();if(_.lookingAtChildren$0()){if(_.get$plainCss())d.error$1(0,p);return _._withChildren$3(_.get$_declarationChild(),m,new s.StylesheetParser__propertyOrVariableDeclaration_closure(h))}u=_._expression$0();if(_.lookingAtChildren$0()){if(_.get$plainCss())d.error$1(0,p);return _._withChildren$3(_.get$_declarationChild(),m,new s.StylesheetParser__propertyOrVariableDeclaration_closure0(h,u))}else{_.expectStatementSeparator$0();return s.Declaration$(n,u,d.spanFrom$1(m))}},_propertyOrVariableDeclaration$0(){return this._propertyOrVariableDeclaration$1$parseCustomProperties(true)},_declarationChild$0(){if(this.scanner.peekChar$0()===64)return this._declarationAtRule$0();return this._propertyOrVariableDeclaration$1$parseCustomProperties(false)},atRule$2$root(e,r){var n,i,a,o,l=this,u=l.scanner,_=new s._SpanScannerState(u,u._string_scanner$_position);u.expectChar$2$name(64,"@-rule");n=l.interpolatedIdentifier$0();l.whitespace$0();i=l._isUseAllowed;l._isUseAllowed=false;switch(n.get$asPlain()){case"at-root":return l._atRootRule$1(_);case"content":return l._contentRule$1(_);case"debug":return l._debugRule$1(_);case"each":return l._eachRule$2(_,e);case"else":return l._disallowedAtRule$1(_);case"error":return l._errorRule$1(_);case"extend":if(!l._inStyleRule&&!l._stylesheet$_inMixin&&!l._inContentBlock)l.error$2(0,c.x40exten,u.spanFrom$1(_));a=l.almostAnyValue$0();o=u.scanChar$1(33);if(o)l.expectIdentifier$1("optional");l.expectStatementSeparator$1("@extend rule");return new s.ExtendRule(a,o,u.spanFrom$1(_));case"for":return l._forRule$2(_,e);case"forward":l._isUseAllowed=i;if(!r)l._disallowedAtRule$1(_);return l._forwardRule$1(_);case"function":return l._functionRule$1(_);case"if":return l._ifRule$2(_,e);case"import":return l._importRule$1(_);case"include":return l._includeRule$1(_);case"media":return l.mediaRule$1(_);case"mixin":return l._mixinRule$1(_);case"-moz-document":return l.mozDocumentRule$2(_,n);case"return":return l._disallowedAtRule$1(_);case"supports":return l.supportsRule$1(_);case"use":l._isUseAllowed=i;if(!r)l._disallowedAtRule$1(_);return l._useRule$1(_);case"warn":return l._warnRule$1(_);case"while":return l._whileRule$2(_,e);default:return l.unknownAtRule$2(_,n)}},_declarationAtRule$0(){var e=this,r=e.scanner,n=new s._SpanScannerState(r,r._string_scanner$_position);switch(e._plainAtRuleName$0()){case"content":return e._contentRule$1(n);case"debug":return e._debugRule$1(n);case"each":return e._eachRule$2(n,e.get$_declarationChild());case"else":return e._disallowedAtRule$1(n);case"error":return e._errorRule$1(n);case"for":return e._forRule$2(n,e.get$_declarationChild());case"if":return e._ifRule$2(n,e.get$_declarationChild());case"include":return e._includeRule$1(n);case"warn":return e._warnRule$1(n);case"while":return e._whileRule$2(n,e.get$_declarationChild());default:return e._disallowedAtRule$1(n)}},_functionChild$0(){var e,r,n,i,o,l,u,_,c,p=this,h=p.scanner;if(h.peekChar$0()!==64){e=new s._SpanScannerState(h,h._string_scanner$_position);try{o=p._variableDeclarationWithNamespace$0();return o}catch(l){o=s.unwrapException(l);u=$.SourceSpanFormatException;if(u._is(o)){r=o;n=s.getTraceFromException(l);h.set$state(e);i=null;try{i=p._declarationOrStyleRule$0()}catch(l){if(u._is(s.unwrapException(l)))throw s.wrapException(r);else throw l}o=i instanceof s.StyleRule?"style rules":"declarations";p.error$3(0,"@function rules may not contain "+o+".",a.get$span$z(i),n)}else throw l}}_=new s._SpanScannerState(h,h._string_scanner$_position);switch(p._plainAtRuleName$0()){case"debug":return p._debugRule$1(_);case"each":return p._eachRule$2(_,p.get$_functionChild());case"else":return p._disallowedAtRule$1(_);case"error":return p._errorRule$1(_);case"for":return p._forRule$2(_,p.get$_functionChild());case"if":return p._ifRule$2(_,p.get$_functionChild());case"return":c=p._expression$0();p.expectStatementSeparator$1("@return rule");return new s.ReturnRule(c,h.spanFrom$1(_));case"warn":return p._warnRule$1(_);case"while":return p._whileRule$2(_,p.get$_functionChild());default:return p._disallowedAtRule$1(_)}},_plainAtRuleName$0(){this.scanner.expectChar$2$name(64,"@-rule");var e=this.identifier$0();this.whitespace$0();return e},_atRootRule$1(e){var r,n=this,i=n.scanner;if(i.peekChar$0()===40){r=n._atRootQuery$0();n.whitespace$0();return n._withChildren$3(n.get$_statement(),e,new s.StylesheetParser__atRootRule_closure(r))}else if(n.lookingAtChildren$0())return n._withChildren$3(n.get$_statement(),e,new s.StylesheetParser__atRootRule_closure0);else return s.AtRootRule$(s._setArrayType([n._styleRule$0()],$.JSArray_Statement),i.spanFrom$1(e),null)},_atRootQuery$0(){var e,r,n,i,a,o,l=this,u=l.scanner;if(u.peekChar$0()===35){e=l.singleInterpolation$0();return s.Interpolation$(s._setArrayType([e],$.JSArray_Object),e.get$span(e))}r=u._string_scanner$_position;n=new s.StringBuffer("");i=s._setArrayType([],$.JSArray_Object);a=new s.InterpolationBuffer(n,i);u.expectChar$1(40);n._contents+=s.Primitives_stringFromCharCode(40);l.whitespace$0();o=l._expression$0();a._flushText$0();i.push(o);if(u.scanChar$1(58)){l.whitespace$0();o=n._contents+=s.Primitives_stringFromCharCode(58);n._contents=o+s.Primitives_stringFromCharCode(32);o=l._expression$0();a._flushText$0();i.push(o)}u.expectChar$1(41);l.whitespace$0();n._contents+=s.Primitives_stringFromCharCode(41);return a.interpolation$1(u.spanFrom$1(new s._SpanScannerState(u,r)))},_contentRule$1(e){var r,n,i,a,o=this;if(!o._stylesheet$_inMixin)o.error$2(0,c.x40conte,o.scanner.spanFrom$1(e));o.whitespace$0();r=o.scanner;if(r.peekChar$0()===40)n=o._argumentInvocation$1$mixin(true);else{i=s.FileLocation$_(r._sourceFile,r._string_scanner$_position);a=i.offset;n=s.ArgumentInvocation$empty(s._FileSpan$(i.file,a,a))}o.expectStatementSeparator$1("@content rule");return new s.ContentRule(n,r.spanFrom$1(e))},_debugRule$1(e){var r=this._expression$0();this.expectStatementSeparator$1("@debug rule");return new s.DebugRule(r,this.scanner.spanFrom$1(e))},_eachRule$2(e,r){var n,i,a=this,o=a._inControlDirective;a._inControlDirective=true;n=s._setArrayType([a.variableName$0()],$.JSArray_String);a.whitespace$0();for(i=a.scanner;i.scanChar$1(44);){a.whitespace$0();i.expectChar$1(36);n.push(a.identifier$1$normalize(true));a.whitespace$0()}a.expectIdentifier$1("in");a.whitespace$0();return a._withChildren$3(r,e,new s.StylesheetParser__eachRule_closure(a,o,n,a._expression$0()))},_errorRule$1(e){var r=this._expression$0();this.expectStatementSeparator$1("@error rule");return new s.ErrorRule(r,this.scanner.spanFrom$1(e))},_functionRule$1(e){var r,n,i=this,a=i.lastSilentComment;i.lastSilentComment=null;r=i.identifier$1$normalize(true);i.whitespace$0();n=i._argumentDeclaration$0();if(i._stylesheet$_inMixin||i._inContentBlock)i.error$2(0,c.Mixinscf,i.scanner.spanFrom$1(e));else if(i._inControlDirective)i.error$2(0,c.Functi,i.scanner.spanFrom$1(e));switch(s.unvendor(r)){case"calc":case"element":case"expression":case"url":case"and":case"or":case"not":case"clamp":i.error$2(0,"Invalid function name.",i.scanner.spanFrom$1(e));break}i.whitespace$0();return i._withChildren$3(i.get$_functionChild(),e,new s.StylesheetParser__functionRule_closure(r,n,a))},_forRule$2(e,r){var n,i,a=this,o={},l=a._inControlDirective;a._inControlDirective=true;n=a.variableName$0();a.whitespace$0();a.expectIdentifier$1("from");a.whitespace$0();o.exclusive=null;i=a._expression$1$until(new s.StylesheetParser__forRule_closure(o,a));if(o.exclusive==null)a.scanner.error$1(0,'Expected "to" or "through".');a.whitespace$0();return a._withChildren$3(r,e,new s.StylesheetParser__forRule_closure0(o,a,l,n,i,a._expression$0()))},_forwardRule$1(e){var r,n,i,a,l,u,_,p,h,d,m,g,f=this,y=null,S=f._urlString$0();f.whitespace$0();if(f.scanIdentifier$1("as")){f.whitespace$0();r=f.identifier$1$normalize(true);f.scanner.expectChar$1(42);f.whitespace$0()}else r=y;if(f.scanIdentifier$1("show")){n=f._memberList$0();i=n.item1;a=n.item2;l=y;u=l}else{if(f.scanIdentifier$1("hide")){n=f._memberList$0();u=n.item1;l=n.item2}else{l=y;u=l}a=y;i=a}_=f._stylesheet$_configuration$1$allowGuarded(true);f.expectStatementSeparator$1("@forward rule");p=f.scanner.spanFrom$1(e);if(!f._isUseAllowed)f.error$2(0,c.x40forwa,p);if(i!=null){a.toString;h=$.String;d=s.LinkedHashSet_LinkedHashSet$of(i,h);m=$.UnmodifiableSetView_String;h=s.LinkedHashSet_LinkedHashSet$of(a,h);g=_==null?o.List_empty8:s.List_List$unmodifiable(_,$.ConfiguredVariable);return new s.ForwardRule(S,new s.UnmodifiableSetView(d,m),new s.UnmodifiableSetView(h,m),y,y,r,g,p)}else if(u!=null){l.toString;h=$.String;d=s.LinkedHashSet_LinkedHashSet$of(u,h);m=$.UnmodifiableSetView_String;h=s.LinkedHashSet_LinkedHashSet$of(l,h);g=_==null?o.List_empty8:s.List_List$unmodifiable(_,$.ConfiguredVariable);return new s.ForwardRule(S,y,y,new s.UnmodifiableSetView(d,m),new s.UnmodifiableSetView(h,m),r,g,p)}else return new s.ForwardRule(S,y,y,y,y,r,_==null?o.List_empty8:s.List_List$unmodifiable(_,$.ConfiguredVariable),p)},_memberList$0(){var e=this,r=$.String,n=s.LinkedHashSet_LinkedHashSet$_empty(r),i=s.LinkedHashSet_LinkedHashSet$_empty(r);r=e.scanner;do{e.whitespace$0();e.withErrorMessage$2(c.Expectv,new s.StylesheetParser__memberList_closure(e,i,n));e.whitespace$0()}while(r.scanChar$1(44));return new s.Tuple2(n,i,$.Tuple2_of_Set_String_and_Set_String)},_ifRule$2(e,r){var n,i,a,o,l,u=this,_=u.get$currentIndentation(),c=u._inControlDirective;u._inControlDirective=true;n=u._expression$0();i=u.children$1(0,r);u.whitespaceWithoutComments$0();a=s._setArrayType([s.IfClause$(n,i)],$.JSArray_IfClause);while(true){if(!u.scanElse$1(_)){o=null;break}u.whitespace$0();if(u.scanIdentifier$1("if")){u.whitespace$0();a.push(s.IfClause$(u._expression$0(),u.children$1(0,r)))}else{o=s.ElseClause$(u.children$1(0,r));break}}u._inControlDirective=c;l=u.scanner.spanFrom$1(e);u.whitespaceWithoutComments$0();return new s.IfRule(s.List_List$unmodifiable(a,$.IfClause),o,l)},_importRule$1(e){var r,n=this,i=s._setArrayType([],$.JSArray_Import),a=n.scanner;do{n.whitespace$0();r=n.importArgument$0();if((n._inControlDirective||n._stylesheet$_inMixin)&&r instanceof s.DynamicImport)n._disallowedAtRule$1(e);i.push(r);n.whitespace$0()}while(a.scanChar$1(44));n.expectStatementSeparator$1("@import rule");a=a.spanFrom$1(e);return new s.ImportRule(s.List_List$unmodifiable(i,$.Import),a)},importArgument$0(){var e,r,n,i,l,u,_,c=this,p=c.scanner,h=new s._SpanScannerState(p,p._string_scanner$_position),d=p.peekChar$0();if(d===117||d===85){e=c.dynamicUrl$0();c.whitespace$0();l=c.tryImportModifiers$0();return new s.StaticImport(s.Interpolation$(s._setArrayType([e],$.JSArray_Object),p.spanFrom$1(h)),l,p.spanFrom$1(h))}e=c.string$0();r=p.spanFrom$1(h);c.whitespace$0();l=c.tryImportModifiers$0();if(c.isPlainImportUrl$1(e)||l!=null){u=r;return new s.StaticImport(s.Interpolation$(s._setArrayType([s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(u.file._decodedChars,u._file$_start,u._end),0,null)],$.JSArray_Object),r),l,p.spanFrom$1(h))}else try{p=c.parseImportUrl$1(e);return new s.DynamicImport(p,r)}catch(_){p=s.unwrapException(_);if($.FormatException._is(p)){n=p;i=s.getTraceFromException(_);c.error$3(0,"Invalid URL: "+a.get$message$x(n),r,i)}else throw _}},parseImportUrl$1(e){var r=u.$get$windows();if(r.style.rootLength$1(e)>0&&!u.$get$url().style.isRootRelative$1(e))return r.toUri$1(e).toString$0(0);s.Uri_parse(e);return e},isPlainImportUrl$1(e){var r;if(e.length<5)return false;if(o.JSString_methods.endsWith$1(e,".css"))return true;r=o.JSString_methods._codeUnitAt$1(e,0);if(r===47)return o.JSString_methods._codeUnitAt$1(e,1)===47;if(r!==104)return false;return o.JSString_methods.startsWith$1(e,"http://")||o.JSString_methods.startsWith$1(e,"https://")},tryImportModifiers$0(){var e,r,n,i,a,o,l,u,_,c,p,h,d=this;if(!d._lookingAtInterpolatedIdentifier$0()&&d.scanner.peekChar$0()!==40)return null;e=d.scanner;r=new s._SpanScannerState(e,e._string_scanner$_position);n=new s.StringBuffer("");i=s._setArrayType([],$.JSArray_Object);a=new s.InterpolationBuffer(n,i);for(;true;)if(d._lookingAtInterpolatedIdentifier$0()){if(!(i.length===0&&n._contents.length===0))n._contents+=s.Primitives_stringFromCharCode(32);o=d.interpolatedIdentifier$0();a.addInterpolation$1(o);l=o.get$asPlain();u=l==null?null:l.toLowerCase();if(u!=="and"&&e.scanChar$1(40)){if(u==="supports"){_=d._importSupportsQuery$0();l=!(_ instanceof s.SupportsDeclaration);if(l)n._contents+=s.Primitives_stringFromCharCode(40);a._flushText$0();i.push(new s.SupportsExpression(_));if(l)n._contents+=s.Primitives_stringFromCharCode(41)}else{n._contents+=s.Primitives_stringFromCharCode(40);a.addInterpolation$1(d._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true,true));n._contents+=s.Primitives_stringFromCharCode(41)}e.expectChar$1(41);d.whitespace$0()}else{d.whitespace$0();if(e.scanChar$1(44)){n._contents+=", ";a.addInterpolation$1(d._mediaQueryList$0());c=e._string_scanner$_position;l=e._sourceFile;p=r.position;e=new s._FileSpan(l,p,c);e._FileSpan$3(l,p,c);p=$.Object;l=s.List_List$of(i,true,p);i=n._contents;if(i.length!==0)l.push(i.charCodeAt(0)==0?i:i);h=s.List_List$from(l,false,p);h.fixed$length=Array;h.immutable$list=Array;n=new s.Interpolation(h,e);n.Interpolation$2(l,e);return n}}}else if(e.peekChar$0()===40){if(!(i.length===0&&n._contents.length===0))n._contents+=s.Primitives_stringFromCharCode(32);a.addInterpolation$1(d._mediaQueryList$0());c=e._string_scanner$_position;e=e._sourceFile;l=r.position;p=new s._FileSpan(e,l,c);p._FileSpan$3(e,l,c);l=$.Object;i=s.List_List$of(i,true,l);e=n._contents;if(e.length!==0)i.push(e.charCodeAt(0)==0?e:e);h=s.List_List$from(i,false,l);h.fixed$length=Array;h.immutable$list=Array;e=new s.Interpolation(h,p);e.Interpolation$2(i,p);return e}else{c=e._string_scanner$_position;e=e._sourceFile;l=r.position;p=new s._FileSpan(e,l,c);p._FileSpan$3(e,l,c);l=$.Object;i=s.List_List$of(i,true,l);e=n._contents;if(e.length!==0)i.push(e.charCodeAt(0)==0?e:e);h=s.List_List$from(i,false,l);h.fixed$length=Array;h.immutable$list=Array;e=new s.Interpolation(h,p);e.Interpolation$2(i,p);return e}},_importSupportsQuery$0(){var e,r,n,i,a=this;if(a.scanIdentifier$1("not")){a.whitespace$0();e=a.scanner;r=e._string_scanner$_position;return new s.SupportsNegation(a._supportsConditionInParens$0(),e.spanFrom$1(new s._SpanScannerState(e,r)))}else{e=a.scanner;if(e.peekChar$0()===40)return a._supportsCondition$0();else{n=a._tryImportSupportsFunction$0();if(n!=null)return n;r=e._string_scanner$_position;i=a._expression$0();e.expectChar$1(58);return a._supportsDeclarationValue$2(i,new s._SpanScannerState(e,r))}}},_tryImportSupportsFunction$0(){var e,r,n,i,a=this;if(!a._lookingAtInterpolatedIdentifier$0())return null;e=a.scanner;r=new s._SpanScannerState(e,e._string_scanner$_position);n=a.interpolatedIdentifier$0();if(!e.scanChar$1(40)){e.set$state(r);return null}i=a._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true,true);e.expectChar$1(41);return new s.SupportsFunction(n,i,e.spanFrom$1(r))},_includeRule$1(e){var r,n,i,a,l,u,_,c,$,p=this,h=null,d=p.identifier$0(),m=p.scanner;if(m.scanChar$1(46)){r=p._publicIdentifier$0();n=d;d=r}else{d=s.stringReplaceAllUnchecked(d,"_","-");n=h}p.whitespace$0();if(m.peekChar$0()===40)i=p._argumentInvocation$1$mixin(true);else{a=s.FileLocation$_(m._sourceFile,m._string_scanner$_position);l=a.offset;i=s.ArgumentInvocation$empty(s._FileSpan$(a.file,l,l))}p.whitespace$0();if(p.scanIdentifier$1("using")){p.whitespace$0();u=p._argumentDeclaration$0();p.whitespace$0()}else u=h;a=u==null;if(!a||p.lookingAtChildren$0()){if(a){a=s.FileLocation$_(m._sourceFile,m._string_scanner$_position);l=a.offset;_=new s.ArgumentDeclaration(o.List_empty10,h,s._FileSpan$(a.file,l,l))}else _=u;c=p._inContentBlock;p._inContentBlock=true;$=p._withChildren$3(p.get$_statement(),e,new s.StylesheetParser__includeRule_closure(_));p._inContentBlock=c}else{p.expectStatementSeparator$0();$=h}m=m.spanFrom$2(e,e);a=$==null?i:$;return new s.IncludeRule(n,d,i,$,m.expand$1(0,a.get$span(a)))},mediaRule$1(e){return this._withChildren$3(this.get$_statement(),e,new s.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()))},_mixinRule$1(e){var r,n,i,a,l,u=this,_=u.lastSilentComment;u.lastSilentComment=null;r=u.identifier$1$normalize(true);u.whitespace$0();n=u.scanner;if(n.peekChar$0()===40)i=u._argumentDeclaration$0();else{a=s.FileLocation$_(n._sourceFile,n._string_scanner$_position);l=a.offset;i=new s.ArgumentDeclaration(o.List_empty10,null,s._FileSpan$(a.file,l,l))}if(u._stylesheet$_inMixin||u._inContentBlock)u.error$2(0,c.Mixinscm,n.spanFrom$1(e));else if(u._inControlDirective)u.error$2(0,c.Mixinsb,n.spanFrom$1(e));u.whitespace$0();u._stylesheet$_inMixin=true;return u._withChildren$3(u.get$_statement(),e,new s.StylesheetParser__mixinRule_closure(u,r,i,_))},mozDocumentRule$2(e,r){var n,i,a,l,u,_,c,p,h,d,m,g,f=this,y={},S=f.scanner,v=S._string_scanner$_position,b=new s.StringBuffer(""),x=s._setArrayType([],$.JSArray_Object),w=new s.InterpolationBuffer(b,x);y.needsDeprecationWarning=false;for(n=f.get$whitespace(),i=S.string;true;){if(S.peekChar$0()===35){a=f.singleInterpolation$0();w._flushText$0();x.push(a);y.needsDeprecationWarning=true}else{a=S._string_scanner$_position;l=f.identifier$0();switch(l){case"url":case"url-prefix":case"domain":u=f._tryUrlContents$2$name(new s._SpanScannerState(S,a),l);if(u!=null)w.addInterpolation$1(u);else{S.expectChar$1(40);f.whitespace$0();_=f.interpolatedString$0();S.expectChar$1(41);a=b._contents+=l;b._contents=a+s.Primitives_stringFromCharCode(40);w.addInterpolation$1(_.asInterpolation$0());b._contents+=s.Primitives_stringFromCharCode(41)}a=b._contents;c=a.charCodeAt(0)==0?a:a;if(!o.JSString_methods.endsWith$1(c,"url-prefix()")&&!o.JSString_methods.endsWith$1(c,"url-prefix('')")&&!o.JSString_methods.endsWith$1(c,'url-prefix("")'))y.needsDeprecationWarning=true;break;case"regexp":b._contents+="regexp(";S.expectChar$1(40);w.addInterpolation$1(f.interpolatedString$0().asInterpolation$0());S.expectChar$1(41);b._contents+=s.Primitives_stringFromCharCode(41);y.needsDeprecationWarning=true;break;default:p=S._string_scanner$_position;h=S._sourceFile;d=new s._FileSpan(h,a,p);d._FileSpan$3(h,a,p);s.throwExpression(new s.StringScannerException(i,"Invalid function name.",d))}}f.whitespace$0();if(!S.scanChar$1(44))break;b._contents+=s.Primitives_stringFromCharCode(44);m=S._string_scanner$_position;n.call$0();g=S._string_scanner$_position;b._contents+=o.JSString_methods.substring$2(i,m,g)}return f._withChildren$3(f.get$_statement(),e,new s.StylesheetParser_mozDocumentRule_closure(y,f,r,w.interpolation$1(S.spanFrom$1(new s._SpanScannerState(S,v)))))},supportsRule$1(e){var r=this,n=r._supportsCondition$0();r.whitespace$0();return r._withChildren$3(r.get$_statement(),e,new s.StylesheetParser_supportsRule_closure(n))},_useRule$1(e){var r,n,i,a,l=this,u="@use rule",_=l._urlString$0();l.whitespace$0();r=l._useNamespace$2(_,e);l.whitespace$0();n=l._stylesheet$_configuration$0();l.expectStatementSeparator$1(u);i=l.scanner.spanFrom$1(e);if(!l._isUseAllowed)l.error$2(0,c.x40use_r,i);l.expectStatementSeparator$1(u);a=new s.UseRule(_,r,n==null?o.List_empty8:s.List_List$unmodifiable(n,$.ConfiguredVariable),i);a.UseRule$4$configuration(_,r,i,n);return a},_useNamespace$2(e,r){var n,i,a,l,u,_=this;if(_.scanIdentifier$1("as")){_.whitespace$0();return _.scanner.scanChar$1(42)?null:_.identifier$0()}i=e.get$pathSegments().length===0?"":o.JSArray_methods.get$last(e.get$pathSegments());a=o.JSString_methods.indexOf$1(i,".");l=o.JSString_methods.startsWith$1(i,"_")?1:0;n=o.JSString_methods.substring$2(i,l,a===-1?i.length:a);try{l=s.SpanScanner$(n,null);l=new s.Parser(l,_.logger)._parseIdentifier$0();return l}catch(u){if(s.unwrapException(u)instanceof s.SassFormatException)_.error$2(0,'The default namespace "'+s.S(n)+c.x22x20is_n,_.scanner.spanFrom$1(r));else throw u}},_stylesheet$_configuration$1$allowGuarded(e){var r,n,i,a,o,l,u,_,p,h,d,m,g,f=this;if(!f.scanIdentifier$1("with"))return null;r=s.LinkedHashSet_LinkedHashSet$_empty($.String);n=s._setArrayType([],$.JSArray_ConfiguredVariable);f.whitespace$0();i=f.scanner;i.expectChar$1(40);for(a=i.string;true;){f.whitespace$0();o=i._string_scanner$_position;i.expectChar$1(36);l=f.identifier$1$normalize(true);f.whitespace$0();i.expectChar$1(58);f.whitespace$0();u=f.expressionUntilComma$0();_=i._string_scanner$_position;if(e&&i.scanChar$1(33))if(f.identifier$0()==="default"){f.whitespace$0();p=true}else{h=i._string_scanner$_position;d=i._sourceFile;m=new s._FileSpan(d,_,h);m._FileSpan$3(d,_,h);s.throwExpression(new s.StringScannerException(a,"Invalid flag name.",m));p=false}else p=false;h=i._string_scanner$_position;_=i._sourceFile;g=new s._FileSpan(_,o,h);g._FileSpan$3(_,o,h);if(r.contains$1(0,l))s.throwExpression(new s.StringScannerException(a,c.The_sa,g));r.add$1(0,l);n.push(new s.ConfiguredVariable(l,u,p,g));if(!i.scanChar$1(44))break;f.whitespace$0();if(!f._lookingAtExpression$0())break}i.expectChar$1(41);return n},_stylesheet$_configuration$0(){return this._stylesheet$_configuration$1$allowGuarded(false)},_warnRule$1(e){var r=this._expression$0();this.expectStatementSeparator$1("@warn rule");return new s.WarnRule(r,this.scanner.spanFrom$1(e))},_whileRule$2(e,r){var n=this,i=n._inControlDirective;n._inControlDirective=true;return n._withChildren$3(r,e,new s.StylesheetParser__whileRule_closure(n,i,n._expression$0()))},unknownAtRule$2(e,r){var n,i,a,o=this,l={},u=o._stylesheet$_inUnknownAtRule;o._stylesheet$_inUnknownAtRule=true;l.value=null;n=o.scanner;i=n.peekChar$0()!==33&&!o.atEndOfStatement$0()?l.value=o.almostAnyValue$0():null;if(o.lookingAtChildren$0())a=o._withChildren$3(o.get$_statement(),e,new s.StylesheetParser_unknownAtRule_closure(l,r));else{o.expectStatementSeparator$0();a=s.AtRule$(r,n.spanFrom$1(e),null,i)}o._stylesheet$_inUnknownAtRule=u;return a},_disallowedAtRule$1(e){this.almostAnyValue$0();this.error$2(0,"This at-rule is not allowed here.",this.scanner.spanFrom$1(e))},_argumentDeclaration$0(){var e,r,n,i,a,l,u,_,c,p,h=this,d=h.scanner,m=d._string_scanner$_position;d.expectChar$1(40);h.whitespace$0();e=s._setArrayType([],$.JSArray_Argument);r=s.LinkedHashSet_LinkedHashSet$_empty($.String);i=d.string;while(true){if(!(d.peekChar$0()===36)){n=null;break}a=d._string_scanner$_position;d.expectChar$1(36);l=h.identifier$1$normalize(true);h.whitespace$0();if(d.scanChar$1(58)){h.whitespace$0();u=h.expressionUntilComma$0()}else{if(d.scanChar$1(46)){d.expectChar$1(46);d.expectChar$1(46);h.whitespace$0();n=l;break}u=null}_=d._string_scanner$_position;c=d._sourceFile;p=new s._FileSpan(c,a,_);p._FileSpan$3(c,a,_);e.push(new s.Argument(l,u,p));if(!r.add$1(0,l))s.throwExpression(new s.StringScannerException(i,"Duplicate argument.",o.JSArray_methods.get$last(e).span));if(!d.scanChar$1(44)){n=null;break}h.whitespace$0()}d.expectChar$1(41);d=d.spanFrom$1(new s._SpanScannerState(d,m));return new s.ArgumentDeclaration(s.List_List$unmodifiable(e,$.Argument),n,d)},_argumentInvocation$2$allowEmptySecondArg$mixin(e,r){var n,i,a,o,l,u,_,p,h,d,m,g=this,f=null,y=g.scanner,S=y._string_scanner$_position;y.expectChar$1(40);g.whitespace$0();n=s._setArrayType([],$.JSArray_Expression);i=$.String;a=$.Expression;o=s.LinkedHashMap_LinkedHashMap$_empty(i,a);u=!r;_=y.string;p=f;while(true){if(!g._lookingAtExpression$0()){l=f;break}h=g.expressionUntilComma$1$singleEquals(u);g.whitespace$0();if(h instanceof s.VariableExpression&&y.scanChar$1(58)){g.whitespace$0();d=h.name;if(o.containsKey$1(d))s.throwExpression(new s.StringScannerException(_,"Duplicate argument.",h.span));o.$indexSet(0,d,g.expressionUntilComma$1$singleEquals(u))}else if(y.scanChar$1(46)){y.expectChar$1(46);y.expectChar$1(46);if(p!=null){g.whitespace$0();l=h;break}p=h}else if(o.__js_helper$_length!==0)s.throwExpression(new s.StringScannerException(_,c.Positi,h.get$span(h)));else n.push(h);g.whitespace$0();if(!y.scanChar$1(44)){l=f;break}g.whitespace$0();if(e&&n.length===1&&o.__js_helper$_length===0&&p==null&&y.peekChar$0()===41){u=y._sourceFile;_=y._string_scanner$_position;new s.FileLocation(u,_).FileLocation$_$2(u,_);d=new s._FileSpan(u,_,_);d._FileSpan$3(u,_,_);_=s._setArrayType([""],$.JSArray_Object);m=s.List_List$from(_,false,$.Object);m.fixed$length=Array;m.immutable$list=Array;u=new s.Interpolation(m,d);u.Interpolation$2(_,d);n.push(new s.StringExpression(u,false));l=f;break}}y.expectChar$1(41);y=y.spanFrom$1(new s._SpanScannerState(y,S));return new s.ArgumentInvocation(s.List_List$unmodifiable(n,a),s.ConstantMap_ConstantMap$from(o,i,a),p,l,y)},_argumentInvocation$0(){return this._argumentInvocation$2$allowEmptySecondArg$mixin(false,false)},_argumentInvocation$1$allowEmptySecondArg(e){return this._argumentInvocation$2$allowEmptySecondArg$mixin(e,false)},_argumentInvocation$1$mixin(e){return this._argumentInvocation$2$allowEmptySecondArg$mixin(false,e)},_expression$3$bracketList$singleEquals$until(e,r,n){var i,a,l,u,_,c,p,h,d,m,g,f,y,S,v,b,x,w=this,C="Expected expression.",E={},A=n!=null;if(A&&n.call$0())w.scanner.error$1(0,C);if(e){i=w.scanner;a=new s._SpanScannerState(i,i._string_scanner$_position);i.expectChar$1(91);w.whitespace$0();if(i.scanChar$1(93)){A=s._setArrayType([],$.JSArray_Expression);i=i.spanFrom$1(a);return new s.ListExpression(s.List_List$unmodifiable(A,$.Expression),o.ListSeparator_undecided_null,true,i)}}else a=null;i=w.scanner;l=new s._SpanScannerState(i,i._string_scanner$_position);u=w._inParentheses;E.operands_=E.operators_=E.spaceExpressions_=E.commaExpressions_=null;E.allowSlash=true;E.singleExpression_=w._singleExpression$0();_=new s.StylesheetParser__expression_resetState(E,w,l);c=new s.StylesheetParser__expression_resolveOneOperation(E,w);p=new s.StylesheetParser__expression_resolveOperations(E,c);h=new s.StylesheetParser__expression_addSingleExpression(E,w,_,p);d=new s.StylesheetParser__expression_addOperator(E,w,c);m=new s.StylesheetParser__expression_resolveSpaceExpressions(E,w,p);e:for(g=$.JSArray_Expression;true;){w.whitespace$0();if(A&&n.call$0())break e;f=i.peekChar$0();switch(f){case 40:h.call$1(w._parentheses$0());break;case 91:h.call$1(w._expression$1$bracketList(true));break;case 36:h.call$1(w._variable$0());break;case 38:h.call$1(w._selector$0());break;case 39:case 34:h.call$1(w.interpolatedString$0());break;case 35:h.call$1(w._hashExpression$0());break;case 61:i.readChar$0();if(r&&i.peekChar$0()!==61)d.call$1(o.BinaryOperator_kjl);else{i.expectChar$1(61);d.call$1(o.BinaryOperator_YlX)}break;case 33:y=i.peekChar$1(1);if(y===61){i.readChar$0();i.readChar$0();d.call$1(o.BinaryOperator_i5H)}else{if(y!=null)if((y|32)>>>0!==105)S=y===32||y===9||y===10||y===13||y===12;else S=true;else S=true;if(S)h.call$1(w._importantExpression$0());else break e}break;case 60:i.readChar$0();d.call$1(i.scanChar$1(61)?o.BinaryOperator_33h:o.BinaryOperator_8qt);break;case 62:i.readChar$0();d.call$1(i.scanChar$1(61)?o.BinaryOperator_1da:o.BinaryOperator_AcR);break;case 42:i.readChar$0();d.call$1(o.BinaryOperator_O1M);break;case 43:if(E.singleExpression_==null)h.call$1(w._unaryOperation$0());else{i.readChar$0();d.call$1(o.BinaryOperator_AcR0)}break;case 45:y=i.peekChar$1(1);if(y!=null&&y>=48&&y<=57||y===46)if(E.singleExpression_!=null){S=i.peekChar$1(-1);S=S===32||S===9||S===10||S===13||S===12}else S=true;else S=false;if(S)h.call$1(w._number$0());else if(w._lookingAtInterpolatedIdentifier$0())h.call$1(w.identifierLike$0());else if(E.singleExpression_==null)h.call$1(w._unaryOperation$0());else{i.readChar$0();d.call$1(o.BinaryOperator_iyO)}break;case 47:if(E.singleExpression_==null)h.call$1(w._unaryOperation$0());else{i.readChar$0();d.call$1(o.BinaryOperator_RTB)}break;case 37:i.readChar$0();d.call$1(o.BinaryOperator_2ad);break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:h.call$1(w._number$0());break;case 46:if(i.peekChar$1(1)===46)break e;h.call$1(w._number$0());break;case 97:if(!w.get$plainCss()&&w.scanIdentifier$1("and"))d.call$1(o.BinaryOperator_and_and_2);else h.call$1(w.identifierLike$0());break;case 111:if(!w.get$plainCss()&&w.scanIdentifier$1("or"))d.call$1(o.BinaryOperator_or_or_1);else h.call$1(w.identifierLike$0());break;case 117:case 85:if(i.peekChar$1(1)===43)h.call$1(w._unicodeRange$0());else h.call$1(w.identifierLike$0());break;case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 112:case 113:case 114:case 115:case 116:case 118:case 119:case 120:case 121:case 122:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 86:case 87:case 88:case 89:case 90:case 95:case 92:h.call$1(w.identifierLike$0());break;case 44:if(w._inParentheses){w._inParentheses=false;if(E.allowSlash){_.call$0();break}}v=E.commaExpressions_;if(v==null)v=E.commaExpressions_=s._setArrayType([],g);if(E.singleExpression_==null)i.error$1(0,C);m.call$0();S=E.singleExpression_;S.toString;v.push(S);i.readChar$0();E.allowSlash=true;E.singleExpression_=null;break;default:if(f!=null&&f>=128){h.call$1(w.identifierLike$0());break}else break e}}if(e)i.expectChar$1(93);v=E.commaExpressions_;b=E.spaceExpressions_;if(v!=null){m.call$0();w._inParentheses=u;x=E.singleExpression_;if(x!=null)v.push(x);A=i.spanFrom$1(a==null?l:a);return new s.ListExpression(s.List_List$unmodifiable(v,$.Expression),o.ListSeparator_kWM,e,A)}else if(e&&b!=null){p.call$0();A=E.singleExpression_;A.toString;b.push(A);a.toString;i=i.spanFrom$1(a);return new s.ListExpression(s.List_List$unmodifiable(b,$.Expression),o.ListSeparator_woc,true,i)}else{m.call$0();if(e){A=E.singleExpression_;A.toString;g=s._setArrayType([A],g);a.toString;i=i.spanFrom$1(a);E.singleExpression_=new s.ListExpression(s.List_List$unmodifiable(g,$.Expression),o.ListSeparator_undecided_null,true,i)}A=E.singleExpression_;A.toString;return A}},_expression$0(){return this._expression$3$bracketList$singleEquals$until(false,false,null)},_expression$2$singleEquals$until(e,r){return this._expression$3$bracketList$singleEquals$until(false,e,r)},_expression$1$bracketList(e){return this._expression$3$bracketList$singleEquals$until(e,false,null)},_expression$1$until(e){return this._expression$3$bracketList$singleEquals$until(false,false,e)},expressionUntilComma$1$singleEquals(e){return this._expression$2$singleEquals$until(e,new s.StylesheetParser_expressionUntilComma_closure(this))},expressionUntilComma$0(){return this.expressionUntilComma$1$singleEquals(false)},_isSlashOperand$1(e){var r;if(!(e instanceof s.NumberExpression))if(!(e instanceof s.CalculationExpression))r=e instanceof s.BinaryOperationExpression&&e.allowsSlash;else r=true;else r=true;return r},_singleExpression$0(){var e,r=this,n=r.scanner,i=n.peekChar$0();switch(i){case 40:return r._parentheses$0();case 47:return r._unaryOperation$0();case 46:return r._number$0();case 91:return r._expression$1$bracketList(true);case 36:return r._variable$0();case 38:return r._selector$0();case 39:case 34:return r.interpolatedString$0();case 35:return r._hashExpression$0();case 43:e=n.peekChar$1(1);return s.isDigit(e)||e===46?r._number$0():r._unaryOperation$0();case 45:return r._minusExpression$0();case 33:return r._importantExpression$0();case 117:case 85:if(n.peekChar$1(1)===43)return r._unicodeRange$0();else return r.identifierLike$0();case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return r._number$0();case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 118:case 119:case 120:case 121:case 122:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 86:case 87:case 88:case 89:case 90:case 95:case 92:return r.identifierLike$0();default:if(i!=null&&i>=128)return r.identifierLike$0();n.error$1(0,"Expected expression.")}},_parentheses$0(){var e,r,n,i,l,u,_=this;if(_.get$plainCss())_.scanner.error$2$length(0,"Parentheses aren't allowed in plain CSS.",1);e=_._inParentheses;_._inParentheses=true;try{l=_.scanner;r=new s._SpanScannerState(l,l._string_scanner$_position);l.expectChar$1(40);_.whitespace$0();if(!_._lookingAtExpression$0()){l.expectChar$1(41);u=s._setArrayType([],$.JSArray_Expression);l=l.spanFrom$1(r);u=s.List_List$unmodifiable(u,$.Expression);return new s.ListExpression(u,o.ListSeparator_undecided_null,false,l)}n=_.expressionUntilComma$0();if(l.scanChar$1(58)){_.whitespace$0();l=_._stylesheet$_map$2(n,r);return l}if(!l.scanChar$1(44)){l.expectChar$1(41);l=l.spanFrom$1(r);return new s.ParenthesizedExpression(n,l)}_.whitespace$0();i=s._setArrayType([n],$.JSArray_Expression);for(;true;){if(!_._lookingAtExpression$0())break;a.add$1$ax(i,_.expressionUntilComma$0());if(!l.scanChar$1(44))break;_.whitespace$0()}l.expectChar$1(41);l=l.spanFrom$1(r);u=s.List_List$unmodifiable(i,$.Expression);return new s.ListExpression(u,o.ListSeparator_kWM,false,l)}finally{_._inParentheses=e}},_stylesheet$_map$2(e,r){var n,i,a=this,o=$.Tuple2_Expression_Expression,l=s._setArrayType([new s.Tuple2(e,a.expressionUntilComma$0(),o)],$.JSArray_Tuple2_Expression_Expression);for(n=a.scanner;n.scanChar$1(44);){a.whitespace$0();if(!a._lookingAtExpression$0())break;i=a.expressionUntilComma$0();n.expectChar$1(58);a.whitespace$0();l.push(new s.Tuple2(i,a.expressionUntilComma$0(),o))}n.expectChar$1(41);n=n.spanFrom$1(r);return new s.MapExpression(s.List_List$unmodifiable(l,o),n)},_hashExpression$0(){var e,r,n,i,a,o=this,l=o.scanner;if(l.peekChar$1(1)===123)return o.identifierLike$0();e=new s._SpanScannerState(l,l._string_scanner$_position);l.expectChar$1(35);r=l.peekChar$0();if(r!=null&&s.isDigit(r))return new s.ColorExpression(o._hexColorContents$1(e),l.spanFrom$1(e));n=l._string_scanner$_position;i=o.interpolatedIdentifier$0();if(o._isHexColor$1(i)){l.set$state(new s._SpanScannerState(l,n));return new s.ColorExpression(o._hexColorContents$1(e),l.spanFrom$1(e))}n=new s.StringBuffer("");a=new s.InterpolationBuffer(n,s._setArrayType([],$.JSArray_Object));n._contents=""+s.Primitives_stringFromCharCode(35);a.addInterpolation$1(i);return new s.StringExpression(a.interpolation$1(l.spanFrom$1(e)),false)},_hexColorContents$1(e){var r,n,i,a,o,l,u,_=this,c=_._hexDigit$0(),$=_._hexDigit$0(),p=_._hexDigit$0(),h=_.scanner;if(!s.isHex(h.peekChar$0())){r=(c<<4>>>0)+c;n=($<<4>>>0)+$;i=(p<<4>>>0)+p;a=null}else{o=_._hexDigit$0();l=c<<4>>>0;u=p<<4>>>0;if(!s.isHex(h.peekChar$0())){r=l+c;n=($<<4>>>0)+$;i=u+p;a=((o<<4>>>0)+o)/255}else{r=l+$;n=u+o;i=(_._hexDigit$0()<<4>>>0)+_._hexDigit$0();a=s.isHex(h.peekChar$0())?((_._hexDigit$0()<<4>>>0)+_._hexDigit$0())/255:null}}return s.SassColor$rgbInternal(r,n,i,a,a==null?new s.SpanColorFormat(h.spanFrom$1(e)):null)},_isHexColor$1(e){var r,n=e.get$asPlain();if(n==null)return false;r=n.length;if(r!==3&&r!==4&&r!==6&&r!==8)return false;r=new s.CodeUnits(n);return r.every$1(r,s.character__isHex$closure())},_hexDigit$0(){var e=this.scanner,r=e.peekChar$0();if(r==null||!s.isHex(r))e.error$1(0,"Expected hex digit.");return s.asHex(e.readChar$0())},_minusExpression$0(){var e=this,r=e.scanner.peekChar$1(1);if(s.isDigit(r)||r===46)return e._number$0();if(e._lookingAtInterpolatedIdentifier$0())return e.identifierLike$0();return e._unaryOperation$0()},_importantExpression$0(){var e=this.scanner,r=e._string_scanner$_position;e.readChar$0();this.whitespace$0();this.expectIdentifier$1("important");r=e.spanFrom$1(new s._SpanScannerState(e,r));return new s.StringExpression(s.Interpolation$(s._setArrayType(["!important"],$.JSArray_Object),r),false)},_unaryOperation$0(){var e=this,r=e.scanner,n=r._string_scanner$_position,i=e._unaryOperatorFor$1(r.readChar$0());if(i==null)r.error$2$position(0,"Expected unary operator.",r._string_scanner$_position-1);else if(e.get$plainCss()&&i!==o.UnaryOperator_zDx)r.error$3$length$position(0,"Operators aren't allowed in plain CSS.",1,r._string_scanner$_position-1);e.whitespace$0();return new s.UnaryOperationExpression(i,e._singleExpression$0(),r.spanFrom$1(new s._SpanScannerState(r,n)))},_unaryOperatorFor$1(e){switch(e){case 43:return o.UnaryOperator_j2w;case 45:return o.UnaryOperator_U4G;case 47:return o.UnaryOperator_zDx;default:return null}},_number$0(){var e,r,n,i,a=this,o=a.scanner,l=o._string_scanner$_position,u=o.peekChar$0(),_=u===45,c=_?-1:1;if(u===43||_)o.readChar$0();e=o.peekChar$0()===46?0:a.naturalNumber$0();_=a._tryDecimal$1$allowTrailingDot(o._string_scanner$_position!==l);r=a._tryExponent$0();if(o.scanChar$1(37))n="%";else{if(a.lookingAtIdentifier$0())i=o.peekChar$0()!==45||o.peekChar$1(1)!==45;else i=false;n=i?a.identifier$1$unit(true):null}return new s.NumberExpression(c*((e+_)*r),n,o.spanFrom$1(new s._SpanScannerState(o,l)))},_tryDecimal$1$allowTrailingDot(e){var r,n=this.scanner,i=n._string_scanner$_position;if(n.peekChar$0()!==46)return 0;if(!s.isDigit(n.peekChar$1(1))){if(e)return 0;n.error$2$position(0,"Expected digit.",n._string_scanner$_position+1)}n.readChar$0();while(true){r=n.peekChar$0();if(!(r!=null&&r>=48&&r<=57))break;n.readChar$0()}return s.double_parse(n.substring$1(0,i))},_tryExponent$0(){var e,r,n,i,a=this.scanner,o=a.peekChar$0();if(o!==101&&o!==69)return 1;e=a.peekChar$1(1);if(!s.isDigit(e)&&e!==45&&e!==43)return 1;a.readChar$0();r=e===45;n=r?-1:1;if(e===43||r)a.readChar$0();if(!s.isDigit(a.peekChar$0()))a.error$1(0,"Expected digit.");i=0;while(true){r=a.peekChar$0();if(!(r!=null&&r>=48&&r<=57))break;i=i*10+(a.readChar$0()-48)}return Math.pow(10,n*i)},_unicodeRange$0(){var e,r,n,i,a=this,o="Expected at most 6 digits.",l=a.scanner,u=new s._SpanScannerState(l,l._string_scanner$_position);a.expectIdentChar$1(117);l.expectChar$1(43);for(e=0;a.scanCharIf$1(new s.StylesheetParser__unicodeRange_closure);)++e;for(r=false;l.scanChar$1(63);r=true)++e;if(e===0)l.error$1(0,'Expected hex digit or "?".');else if(e>6)a.error$2(0,o,l.spanFrom$1(u));else if(r){n=l.substring$1(0,u.position);l=l.spanFrom$1(u);return new s.StringExpression(s.Interpolation$(s._setArrayType([n],$.JSArray_Object),l),false)}if(l.scanChar$1(45)){n=l._string_scanner$_position;for(i=0;a.scanCharIf$1(new s.StylesheetParser__unicodeRange_closure0);)++i;if(i===0)l.error$1(0,"Expected hex digit.");else if(i>6)a.error$2(0,o,l.spanFrom$1(new s._SpanScannerState(l,n)))}if(a._lookingAtInterpolatedIdentifierBody$0())l.error$1(0,"Expected end of identifier.");n=l.substring$1(0,u.position);l=l.spanFrom$1(u);return new s.StringExpression(s.Interpolation$(s._setArrayType([n],$.JSArray_Object),l),false)},_variable$0(){var e=this,r=e.scanner,n=new s._SpanScannerState(r,r._string_scanner$_position),i=e.variableName$0();if(e.get$plainCss())e.error$2(0,c.Sass_v,r.spanFrom$1(n));return new s.VariableExpression(null,i,r.spanFrom$1(n))},_selector$0(){var e,r,n=this;if(n.get$plainCss())n.scanner.error$2$length(0,c.The_pa,1);e=n.scanner;r=new s._SpanScannerState(e,e._string_scanner$_position);e.expectChar$1(38);if(e.scanChar$1(38)){n.logger.warn$2$span(0,c.In_Sas,e.spanFrom$1(r));e.set$position(e._string_scanner$_position-1)}return new s.SelectorExpression(e.spanFrom$1(r))},interpolatedString$0(){var e,r,n,i,a,o,l=this.scanner,u=l._string_scanner$_position,_=l.readChar$0();if(_!==39&&_!==34)l.error$2$position(0,"Expected string.",u);e=new s.StringBuffer("");r=s._setArrayType([],$.JSArray_Object);n=new s.InterpolationBuffer(e,r);for(;true;){i=l.peekChar$0();if(i===_){l.readChar$0();break}else if(i==null||i===10||i===13||i===12)l.error$1(0,"Expected "+s.Primitives_stringFromCharCode(_)+".");else if(i===92){a=l.peekChar$1(1);if(a===10||a===13||a===12){l.readChar$0();l.readChar$0();if(a===13)l.scanChar$1(10)}else e._contents+=s.Primitives_stringFromCharCode(s.consumeEscapedCharacter(l))}else if(i===35)if(l.peekChar$1(1)===123){o=this.singleInterpolation$0();n._flushText$0();r.push(o)}else e._contents+=s.Primitives_stringFromCharCode(l.readChar$0());else e._contents+=s.Primitives_stringFromCharCode(l.readChar$0())}return new s.StringExpression(n.interpolation$1(l.spanFrom$1(new s._SpanScannerState(l,u))),true)},identifierLike$0(){var e,r,n,i=this,l=i.scanner,_=new s._SpanScannerState(l,l._string_scanner$_position),$=i.interpolatedIdentifier$0(),p=$.get$asPlain(),h=s._Cell$(),d=p==null,m=!d;if(m){if(p==="if"&&l.peekChar$0()===40){e=i._argumentInvocation$0();return new s.IfExpression(e,$.span.expand$1(0,e.span))}else if(p==="not"){i.whitespace$0();return new s.UnaryOperationExpression(o.UnaryOperator_not_not,i._singleExpression$0(),$.span)}h._value=p.toLowerCase();if(l.peekChar$0()!==40){switch(p){case"false":return new s.BooleanExpression(false,$.span);case"null":return new s.NullExpression($.span);case"true":return new s.BooleanExpression(true,$.span)}r=u.$get$colorsByName().$index(0,h._readLocal$0());if(r!=null){l=$.span;return new s.ColorExpression(s.SassColor$rgbInternal(r.get$red(r),r.get$green(r),r.get$blue(r),r._alpha,new s.SpanColorFormat(l)),l)}}n=i.trySpecialFunction$2(h._readLocal$0(),_);if(n!=null)return n}switch(l.peekChar$0()){case 46:if(l.peekChar$1(1)===46)return new s.StringExpression($,false);l.readChar$0();if(m)return i.namespacedExpression$2(p,_);i.error$2(0,c.Interpn,$.span);break;case 40:if(d)return new s.InterpolatedFunctionExpression($,i._argumentInvocation$0(),l.spanFrom$1(_));else return new s.FunctionExpression(null,p,i._argumentInvocation$1$allowEmptySecondArg(a.$eq$(h._readLocal$0(),"var")),l.spanFrom$1(_));default:return new s.StringExpression($,false)}},namespacedExpression$2(e,r){var n,i=this,a=i.scanner;if(a.peekChar$0()===36){n=i.variableName$0();i._assertPublic$2(n,new s.StylesheetParser_namespacedExpression_closure(i,r));return new s.VariableExpression(e,n,a.spanFrom$1(r))}return new s.FunctionExpression(e,i._publicIdentifier$0(),i._argumentInvocation$0(),a.spanFrom$1(r))},trySpecialFunction$2(e,r){var n,i,a,o,l=this,u=null,_=l.scanner,c=_.peekChar$0()===40?l._tryCalculation$2(e,r):u;if(c!=null)return c;switch(s.unvendor(e)){case"calc":case"element":case"expression":if(!_.scanChar$1(40))return u;n=new s.StringBuffer("");i=new s.InterpolationBuffer(n,s._setArrayType([],$.JSArray_Object));a=""+e;n._contents=a;n._contents=a+s.Primitives_stringFromCharCode(40);break;case"progid":if(!_.scanChar$1(58))return u;n=new s.StringBuffer("");i=new s.InterpolationBuffer(n,s._setArrayType([],$.JSArray_Object));a=""+e;n._contents=a;n._contents=a+s.Primitives_stringFromCharCode(58);o=_.peekChar$0();while(true){if(o!=null){if(!(o>=97&&o<=122))a=o>=65&&o<=90;else a=true;a=a||o===46}else a=false;if(!a)break;n._contents+=s.Primitives_stringFromCharCode(_.readChar$0());o=_.peekChar$0()}_.expectChar$1(40);n._contents+=s.Primitives_stringFromCharCode(40);break;case"url":return s.NullableExtension_andThen(l._tryUrlContents$1(r),new s.StylesheetParser_trySpecialFunction_closure);default:return u}i.addInterpolation$1(l._interpolatedDeclarationValue$1$allowEmpty(true));_.expectChar$1(41);i._interpolation_buffer$_text._contents+=s.Primitives_stringFromCharCode(41);return new s.StringExpression(i.interpolation$1(_.spanFrom$1(r)),false)},_tryCalculation$2(e,r){var n,i,a,o,l,u=this;switch(e){case"calc":i=u._calculationArguments$1(1);a=u.scanner.spanFrom$1(r);return new s.CalculationExpression(e,s.CalculationExpression__verifyArguments(i),a);case"min":case"max":a=u.scanner;n=new s._SpanScannerState(a,a._string_scanner$_position);i=null;try{i=u._calculationArguments$0()}catch(o){if($.FormatException._is(s.unwrapException(o))){a.set$state(n);return null}else throw o}l=i;a=a.spanFrom$1(r);return new s.CalculationExpression(e,s.CalculationExpression__verifyArguments(l),a);case"clamp":i=u._calculationArguments$1(3);a=u.scanner.spanFrom$1(r);return new s.CalculationExpression(e,s.CalculationExpression__verifyArguments(i),a);default:return null}},_calculationArguments$1(e){var r,n,i,a=this,o=a.scanner;o.expectChar$1(40);r=a._containsCalculationInterpolation$0()?new s.StringExpression(a._interpolatedDeclarationValue$0(),false):null;if(r!=null){o.expectChar$1(41);return s._setArrayType([r],$.JSArray_Expression)}a.whitespace$0();n=s._setArrayType([a._calculationSum$0()],$.JSArray_Expression);i=e!=null;while(true){if(!((!i||n.lengthe)s.throwExpression(s.ArgumentError$(u+a,o));p._string_scanner$_position=a;p._lastMatch=null;return true}p.readChar$0();break e;case 5:++r;i=6;continue e;case 6:n.toString;_.push(s.opposite(n));p.readChar$0();break e;case 7:--r;i=8;continue e;case 8:if(_.length===0||_.pop()!==n){if(h._scanner!==p)s.throwExpression(s.ArgumentError$(l,o));a=h.position;if((a===0?1/a<0:a<0)||a>e)s.throwExpression(s.ArgumentError$(u+a,o));p._string_scanner$_position=a;p._lastMatch=null;return false}p.readChar$0();break e;case 9:p.readChar$0();break e}}p.set$state(h);return false},_tryUrlContents$2$name(e,r){var n,i,a,o,l,u,_,c=this,p=c.scanner,h=p._string_scanner$_position;if(!p.scanChar$1(40))return null;c.whitespaceWithoutComments$0();n=new s.StringBuffer("");i=s._setArrayType([],$.JSArray_Object);a=new s.InterpolationBuffer(n,i);o=""+(r==null?"url":r);n._contents=o;n._contents=o+s.Primitives_stringFromCharCode(40);for(;true;){l=p.peekChar$0();if(l==null)break;else if(l===92)n._contents+=s.S(c.escape$0());else{if(l!==33)if(l!==37)if(l!==38)o=l>=42&&l<=126||l>=128;else o=true;else o=true;else o=true;if(o)n._contents+=s.Primitives_stringFromCharCode(p.readChar$0());else if(l===35)if(p.peekChar$1(1)===123){o=c.singleInterpolation$0();a._flushText$0();i.push(o)}else n._contents+=s.Primitives_stringFromCharCode(p.readChar$0());else if(l===32||l===9||l===10||l===13||l===12){c.whitespaceWithoutComments$0();if(p.peekChar$0()!==41)break}else if(l===41){n._contents+=s.Primitives_stringFromCharCode(p.readChar$0());u=p._string_scanner$_position;h=p._sourceFile;o=e.position;p=new s._FileSpan(h,o,u);p._FileSpan$3(h,o,u);o=$.Object;h=s.List_List$of(i,true,o);i=n._contents;if(i.length!==0)h.push(i.charCodeAt(0)==0?i:i);_=s.List_List$from(h,false,o);_.fixed$length=Array;_.immutable$list=Array;n=new s.Interpolation(_,p);n.Interpolation$2(h,p);return n}else break}}p.set$state(new s._SpanScannerState(p,h));return null},_tryUrlContents$1(e){return this._tryUrlContents$2$name(e,null)},dynamicUrl$0(){var e,r=this,n=r.scanner,i=new s._SpanScannerState(n,n._string_scanner$_position);r.expectIdentifier$1("url");e=r._tryUrlContents$1(i);if(e!=null)return new s.StringExpression(e,false);return new s.InterpolatedFunctionExpression(s.Interpolation$(s._setArrayType(["url"],$.JSArray_Object),n.spanFrom$1(i)),r._argumentInvocation$0(),n.spanFrom$1(i))},almostAnyValue$1$omitComments(e){var r,n,i,a,l,u,_,c,p=this,h=p.scanner,d=h._string_scanner$_position,m=new s.StringBuffer(""),g=new s.InterpolationBuffer(m,s._setArrayType([],$.JSArray_Object));e:for(r=h.string,n=r.length,i=!e;true;){a=h.peekChar$0();switch(a){case 92:m._contents+=s.Primitives_stringFromCharCode(h.readChar$0());m._contents+=s.Primitives_stringFromCharCode(h.readChar$0());break;case 34:case 39:g.addInterpolation$1(p.interpolatedString$0().asInterpolation$0());break;case 47:l=h._string_scanner$_position;if(p.scanComment$0()){if(i){u=h._string_scanner$_position;m._contents+=o.JSString_methods.substring$2(r,l,u)}}else m._contents+=s.Primitives_stringFromCharCode(h.readChar$0());break;case 35:if(h.peekChar$1(1)===123)g.addInterpolation$1(p.interpolatedIdentifier$0());else m._contents+=s.Primitives_stringFromCharCode(h.readChar$0());break;case 13:case 10:case 12:if(p.get$indented())break e;m._contents+=s.Primitives_stringFromCharCode(h.readChar$0());break;case 33:case 59:case 123:case 125:break e;case 117:case 85:_=h._string_scanner$_position;if(!p.scanIdentifier$1("url")){m._contents+=s.Primitives_stringFromCharCode(h.readChar$0());break}c=p._tryUrlContents$1(new s._SpanScannerState(h,_));if(c==null){if((_===0?1/_<0:_<0)||_>n)s.throwExpression(s.ArgumentError$("Invalid position "+_,null));h._string_scanner$_position=_;h._lastMatch=null;m._contents+=s.Primitives_stringFromCharCode(h.readChar$0())}else g.addInterpolation$1(c);break;default:if(a==null)break e;if(p.lookingAtIdentifier$0())m._contents+=p.identifier$0();else m._contents+=s.Primitives_stringFromCharCode(h.readChar$0());break}}return g.interpolation$1(h.spanFrom$1(new s._SpanScannerState(h,d)))},almostAnyValue$0(){return this.almostAnyValue$1$omitComments(false)},_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(e,r,n){var i,a,l,u,_,c,p,h,d,m,g=this,f=g.scanner,y=f._string_scanner$_position,S=new s.StringBuffer(""),v=new s.InterpolationBuffer(S,s._setArrayType([],$.JSArray_Object)),b=s._setArrayType([],$.JSArray_int);e:for(i=f.string,a=i.length,l=!e,u=!n,_=false;true;){c=f.peekChar$0();switch(c){case 92:S._contents+=s.S(g.escape$1$identifierStart(true));_=false;break;case 34:case 39:v.addInterpolation$1(g.interpolatedString$0().asInterpolation$0());_=false;break;case 47:if(f.peekChar$1(1)===42){p=g.get$loudComment();h=f._string_scanner$_position;p.call$0();d=f._string_scanner$_position;S._contents+=o.JSString_methods.substring$2(i,h,d)}else S._contents+=s.Primitives_stringFromCharCode(f.readChar$0());_=false;break;case 35:if(f.peekChar$1(1)===123)v.addInterpolation$1(g.interpolatedIdentifier$0());else S._contents+=s.Primitives_stringFromCharCode(f.readChar$0());_=false;break;case 32:case 9:if(!_){p=f.peekChar$1(1);p=!(p===32||p===9||p===10||p===13||p===12)}else p=true;if(p)S._contents+=s.Primitives_stringFromCharCode(f.readChar$0());else f.readChar$0();break;case 10:case 13:case 12:if(g.get$indented())break e;p=f.peekChar$1(-1);if(!(p===10||p===13||p===12))S._contents+="\n";f.readChar$0();_=true;break;case 40:case 123:case 91:c.toString;S._contents+=s.Primitives_stringFromCharCode(c);b.push(s.opposite(f.readChar$0()));_=false;break;case 41:case 125:case 93:if(b.length===0)break e;c.toString;S._contents+=s.Primitives_stringFromCharCode(c);f.expectChar$1(b.pop());_=false;break;case 59:if(u&&b.length===0)break e;S._contents+=s.Primitives_stringFromCharCode(f.readChar$0());_=false;break;case 58:if(l&&b.length===0)break e;S._contents+=s.Primitives_stringFromCharCode(f.readChar$0());_=false;break;case 117:case 85:p=f._string_scanner$_position;if(!g.scanIdentifier$1("url")){S._contents+=s.Primitives_stringFromCharCode(f.readChar$0());_=false;break}m=g._tryUrlContents$1(new s._SpanScannerState(f,p));if(m==null){if((p===0?1/p<0:p<0)||p>a)s.throwExpression(s.ArgumentError$("Invalid position "+p,null));f._string_scanner$_position=p;f._lastMatch=null;S._contents+=s.Primitives_stringFromCharCode(f.readChar$0())}else v.addInterpolation$1(m);_=false;break;default:if(c==null)break e;if(g.lookingAtIdentifier$0())S._contents+=g.identifier$0();else S._contents+=s.Primitives_stringFromCharCode(f.readChar$0());_=false;break}}if(b.length!==0)f.expectChar$1(o.JSArray_methods.get$last(b));if(!r&&v._interpolation_buffer$_contents.length===0&&S._contents.length===0)f.error$1(0,"Expected token.");return v.interpolation$1(f.spanFrom$1(new s._SpanScannerState(f,y)))},_interpolatedDeclarationValue$1$allowEmpty(e){return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true,e,false)},_interpolatedDeclarationValue$0(){return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true,false,false)},_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(e,r){return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true,e,r)},interpolatedIdentifier$0(){var e,r=this,n="Expected identifier.",i=r.scanner,a=new s._SpanScannerState(i,i._string_scanner$_position),o=new s.StringBuffer(""),l=s._setArrayType([],$.JSArray_Object),u=new s.InterpolationBuffer(o,l);if(i.scanChar$1(45)){o._contents+=s.Primitives_stringFromCharCode(45);if(i.scanChar$1(45)){o._contents+=s.Primitives_stringFromCharCode(45);r._interpolatedIdentifierBody$1(u);return u.interpolation$1(i.spanFrom$1(a))}}e=i.peekChar$0();if(e==null)i.error$1(0,n);else if(e===95||s.isAlphabetic0(e)||e>=128)o._contents+=s.Primitives_stringFromCharCode(i.readChar$0());else if(e===92)o._contents+=s.S(r.escape$1$identifierStart(true));else if(e===35&&i.peekChar$1(1)===123){o=r.singleInterpolation$0();u._flushText$0();l.push(o)}else i.error$1(0,n);r._interpolatedIdentifierBody$1(u);return u.interpolation$1(i.spanFrom$1(a))},_interpolatedIdentifierBody$1(e){var r,n,i,a,o;for(r=e._interpolation_buffer$_contents,n=this.scanner,i=e._interpolation_buffer$_text;true;){a=n.peekChar$0();if(a==null)break;else{if(a!==95)if(a!==45){if(!(a>=97&&a<=122))o=a>=65&&a<=90;else o=true;if(!o)o=a>=48&&a<=57;else o=true;o=o||a>=128}else o=true;else o=true;if(o)i._contents+=s.Primitives_stringFromCharCode(n.readChar$0());else if(a===92)i._contents+=s.S(this.escape$0());else if(a===35&&n.peekChar$1(1)===123){o=this.singleInterpolation$0();e._flushText$0();r.push(o)}else break}}},singleInterpolation$0(){var e,r=this,n=r.scanner,i=n._string_scanner$_position;n.expect$1("#{");r.whitespace$0();e=r._expression$0();n.expectChar$1(125);if(r.get$plainCss())r.error$2(0,c.Interpp,n.spanFrom$1(new s._SpanScannerState(n,i)));return e},_mediaQueryList$0(){var e,r=this,n=r.scanner,i=n._string_scanner$_position,a=new s.StringBuffer(""),o=new s.InterpolationBuffer(a,s._setArrayType([],$.JSArray_Object));for(;true;){r.whitespace$0();r._stylesheet$_mediaQuery$1(o);r.whitespace$0();if(!n.scanChar$1(44))break;e=a._contents+=s.Primitives_stringFromCharCode(44);a._contents=e+s.Primitives_stringFromCharCode(32)}return o.interpolation$1(n.spanFrom$1(new s._SpanScannerState(n,i)))},_stylesheet$_mediaQuery$1(e){var r,n,i,a=this,o="and";if(a.scanner.peekChar$0()===40){a._stylesheet$_mediaInParens$1(e);a.whitespace$0();if(a.scanIdentifier$1(o)){e._interpolation_buffer$_text._contents+=" and ";a.expectWhitespace$0();a._stylesheet$_mediaLogicSequence$2(e,o)}else if(a.scanIdentifier$1("or")){e._interpolation_buffer$_text._contents+=" or ";a.expectWhitespace$0();a._stylesheet$_mediaLogicSequence$2(e,"or")}return}r=a.interpolatedIdentifier$0();if(s.equalsIgnoreCase(r.get$asPlain(),"not")){a.expectWhitespace$0();if(!a._lookingAtInterpolatedIdentifier$0()){e._interpolation_buffer$_text._contents+="not ";a._mediaOrInterp$1(e);return}}a.whitespace$0();e.addInterpolation$1(r);if(!a._lookingAtInterpolatedIdentifier$0())return;n=e._interpolation_buffer$_text;n._contents+=s.Primitives_stringFromCharCode(32);i=a.interpolatedIdentifier$0();if(s.equalsIgnoreCase(i.get$asPlain(),o)){a.expectWhitespace$0();n._contents+=" and "}else{a.whitespace$0();e.addInterpolation$1(i);if(a.scanIdentifier$1(o)){a.expectWhitespace$0();n._contents+=" and "}else return}if(a.scanIdentifier$1("not")){a.expectWhitespace$0();n._contents+="not ";a._mediaOrInterp$1(e);return}a._stylesheet$_mediaLogicSequence$2(e,o);return},_stylesheet$_mediaLogicSequence$2(e,r){var n,i,a=this;for(n=e._interpolation_buffer$_text;true;){a._mediaOrInterp$1(e);a.whitespace$0();if(!a.scanIdentifier$1(r))return;a.expectWhitespace$0();i=n._contents+=s.Primitives_stringFromCharCode(32);i+=r;n._contents=i;n._contents=i+s.Primitives_stringFromCharCode(32)}},_mediaOrInterp$1(e){var r;if(this.scanner.peekChar$0()===35){r=this.singleInterpolation$0();e.addInterpolation$1(s.Interpolation$(s._setArrayType([r],$.JSArray_Object),r.get$span(r)))}else this._stylesheet$_mediaInParens$1(e)},_stylesheet$_mediaInParens$1(e){var r,n,i,a,o,l,u,_,$=this,p=$.scanner;p.expectChar$2$name(40,"media condition in parentheses");r=e._interpolation_buffer$_text;r._contents+=s.Primitives_stringFromCharCode(40);$.whitespace$0();n=p.peekChar$0()===40;i=$.matchesIdentifier$1("not");a=$._expressionUntilComparison$0();if(n||i){o=n?"(":"not";$.logger.warn$3$deprecation$span(0,'Starting a @media query with "'+o+c.x22x20is_d+a.toString$0(0)+'}\nTo migrate to new behavior: #{"'+a.toString$0(0)+c.x22x7d__Fo,true,a.get$span(a))}e._flushText$0();o=e._interpolation_buffer$_contents;o.push(a);if(p.scanChar$1(58)){$.whitespace$0();l=r._contents+=s.Primitives_stringFromCharCode(58);r._contents=l+s.Primitives_stringFromCharCode(32);l=$._expression$0();e._flushText$0();o.push(l)}else{u=p.peekChar$0();l=u!==60;if(!l||u===62||u===61){r._contents+=s.Primitives_stringFromCharCode(32);r._contents+=s.Primitives_stringFromCharCode(p.readChar$0());if((!l||u===62)&&p.scanChar$1(61))r._contents+=s.Primitives_stringFromCharCode(61);r._contents+=s.Primitives_stringFromCharCode(32);$.whitespace$0();_=$._expressionUntilComparison$0();e._flushText$0();o.push(_);if(!l||u===62){u.toString;l=p.scanChar$1(u)}else l=false;if(l){l=r._contents+=s.Primitives_stringFromCharCode(32);r._contents=l+s.Primitives_stringFromCharCode(u);if(p.scanChar$1(61))r._contents+=s.Primitives_stringFromCharCode(61);r._contents+=s.Primitives_stringFromCharCode(32);$.whitespace$0();l=$._expressionUntilComparison$0();e._flushText$0();o.push(l)}}}p.expectChar$1(41);$.whitespace$0();r._contents+=s.Primitives_stringFromCharCode(41)},_expressionUntilComparison$0(){return this._expression$1$until(new s.StylesheetParser__expressionUntilComparison_closure(this))},_supportsCondition$0(){var e,r,n,i,a,o,l,u=this,_=u.scanner,c=_._string_scanner$_position;if(u.scanIdentifier$1("not")){u.whitespace$0();return new s.SupportsNegation(u._supportsConditionInParens$0(),_.spanFrom$1(new s._SpanScannerState(_,c)))}e=u._supportsConditionInParens$0();u.whitespace$0();for(r=null;u.lookingAtIdentifier$0();){if(r!=null)u.expectIdentifier$1(r);else if(u.scanIdentifier$1("or"))r="or";else{u.expectIdentifier$1("and");r="and"}u.whitespace$0();n=u._supportsConditionInParens$0();i=_._string_scanner$_position;a=_._sourceFile;o=new s._FileSpan(a,c,i);o._FileSpan$3(a,c,i);e=new s.SupportsOperation(e,n,r,o);l=r.toLowerCase();if(l!=="and"&&l!=="or")s.throwExpression(s.ArgumentError$value(r,"operator",'may only be "and" or "or".'));u.whitespace$0()}return e},_supportsConditionInParens$0(){var e,r,n,i,a,l,u,_,c,p,h,d,m=this,g=m.scanner,f=new s._SpanScannerState(g,g._string_scanner$_position);if(m._lookingAtInterpolatedIdentifier$0()){u=m.interpolatedIdentifier$0();_=u.get$asPlain();if((_==null?null:_.toLowerCase())==="not")m.error$2(0,'"not" is not a valid identifier here.',u.span);if(g.scanChar$1(40)){c=m._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true,true);g.expectChar$1(41);return new s.SupportsFunction(u,c,g.spanFrom$1(f))}else{_=u.contents;if(_.length!==1||!$.Expression._is(o.JSArray_methods.get$first(_)))m.error$2(0,"Expected @supports condition.",u.span);else return new s.SupportsInterpolation($.Expression._as(o.JSArray_methods.get$first(_)),g.spanFrom$1(f))}}g.expectChar$1(40);m.whitespace$0();if(m.scanIdentifier$1("not")){m.whitespace$0();p=m._supportsConditionInParens$0();g.expectChar$1(41);return new s.SupportsNegation(p,g.spanFrom$1(f))}else if(g.peekChar$0()===40){p=m._supportsCondition$0();g.expectChar$1(41);return p}e=null;r=new s._SpanScannerState(g,g._string_scanner$_position);n=m._inParentheses;try{e=m._expression$0();g.expectChar$1(58)}catch(h){if($.FormatException._is(s.unwrapException(h))){g.set$state(r);m._inParentheses=n;i=m.interpolatedIdentifier$0();a=m._trySupportsOperation$2(i,r);if(a!=null){g.expectChar$1(41);return a}_=new s.InterpolationBuffer(new s.StringBuffer(""),s._setArrayType([],$.JSArray_Object));_.addInterpolation$1(i);_.addInterpolation$1(m._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false,true,true));l=_.interpolation$1(g.spanFrom$1(r));if(g.peekChar$0()===58)throw h;g.expectChar$1(41);return new s.SupportsAnything(l,g.spanFrom$1(f))}else throw h}d=m._supportsDeclarationValue$2(e,f);g.expectChar$1(41);return d},_supportsDeclarationValue$2(e,r){var n,i=this;if(e instanceof s.StringExpression&&!e.hasQuotes&&o.JSString_methods.startsWith$1(e.text.get$initialPlain(),"--"))n=new s.StringExpression(i._interpolatedDeclarationValue$0(),false);else{i.whitespace$0();n=i._expression$0()}return new s.SupportsDeclaration(e,n,i.scanner.spanFrom$1(r))},_trySupportsOperation$2(e,r){var n,i,a,l,u,_,p,h,d,m,g,f,y=this,S=null,v=e.contents;if(v.length!==1)return S;n=o.JSArray_methods.get$first(v);if(!$.Expression._is(n))return S;v=y.scanner;i=new s._SpanScannerState(v,v._string_scanner$_position);y.whitespace$0();for(a=r.position,l=e.span,u=S,_=u;y.lookingAtIdentifier$0();){if(u!=null)y.expectIdentifier$1(u);else if(y.scanIdentifier$1("and"))u="and";else{if(!y.scanIdentifier$1("or")){if(i._scanner!==v)s.throwExpression(s.ArgumentError$(c.The_gi,S));a=i.position;if((a===0?1/a<0:a<0)||a>v.string.length)s.throwExpression(s.ArgumentError$("Invalid position "+a,S));v._string_scanner$_position=a;return v._lastMatch=null}u="or"}y.whitespace$0();p=y._supportsConditionInParens$0();h=_==null?new s.SupportsInterpolation(n,l):_;d=v._string_scanner$_position;m=v._sourceFile;g=new s._FileSpan(m,a,d);g._FileSpan$3(m,a,d);_=new s.SupportsOperation(h,p,u,g);f=u.toLowerCase();if(f!=="and"&&f!=="or")s.throwExpression(s.ArgumentError$value(u,"operator",'may only be "and" or "or".'));y.whitespace$0()}return _},_lookingAtInterpolatedIdentifier$0(){var e,r=this.scanner,n=r.peekChar$0();if(n==null)return false;if(n===95||s.isAlphabetic0(n)||n>=128||n===92)return true;if(n===35)return r.peekChar$1(1)===123;if(n!==45)return false;e=r.peekChar$1(1);if(e==null)return false;if(e===35)return r.peekChar$1(2)===123;return e===95||s.isAlphabetic0(e)||e>=128||e===92||e===45},_lookingAtInterpolatedIdentifierBody$0(){var e=this.scanner,r=e.peekChar$0();if(r==null)return false;if(r===95||s.isAlphabetic0(r)||r>=128||s.isDigit(r)||r===45||r===92)return true;return r===35&&e.peekChar$1(1)===123},_lookingAtExpression$0(){var e,r=this.scanner,n=r.peekChar$0();if(n==null)return false;if(n===46)return r.peekChar$1(1)!==46;if(n===33){e=r.peekChar$1(1);if(e!=null)if((e|32)>>>0!==105)r=e===32||e===9||e===10||e===13||e===12;else r=true;else r=true;return r}if(n!==40)if(n!==47)if(n!==91)if(n!==39)if(n!==34)if(n!==35)if(n!==43)if(n!==45)if(n!==92)if(n!==36)if(n!==38)r=n===95||s.isAlphabetic0(n)||n>=128||s.isDigit(n);else r=true;else r=true;else r=true;else r=true;else r=true;else r=true;else r=true;else r=true;else r=true;else r=true;else r=true;return r},_withChildren$1$3(e,r,n){var i=n.call$2(this.children$1(0,e),this.scanner.spanFrom$1(r));this.whitespaceWithoutComments$0();return i},_withChildren$3(e,r,n){return this._withChildren$1$3(e,r,n,$.dynamic)},_urlString$0(){var e,r,n,i,o=this.scanner,l=new s._SpanScannerState(o,o._string_scanner$_position),u=this.string$0();try{n=s.Uri_parse(u);return n}catch(i){n=s.unwrapException(i);if($.FormatException._is(n)){e=n;r=s.getTraceFromException(i);this.error$3(0,"Invalid URL: "+a.get$message$x(e),o.spanFrom$1(l),r)}else throw i}},_publicIdentifier$0(){var e=this,r=e.scanner,n=r._string_scanner$_position,i=e.identifier$1$normalize(true);e._assertPublic$2(i,new s.StylesheetParser__publicIdentifier_closure(e,new s._SpanScannerState(r,n)));return i},_assertPublic$2(e,r){var n=o.JSString_methods._codeUnitAt$1(e,0);if(!(n===45||n===95))return;this.error$2(0,c.Privat,r.call$0())},get$plainCss(){return false}};s.StylesheetParser_parse_closure.prototype={call$0(){var e,r,n=this.$this,i=n.scanner,a=i._string_scanner$_position;i.scanChar$1(65279);e=n.statements$1(new s.StylesheetParser_parse__closure(n));i.expectDone$0();r=n._globalVariables;r=r.get$values(r);o.JSArray_methods.addAll$1(e,s.MappedIterable_MappedIterable(r,new s.StylesheetParser_parse__closure0,s._instanceType(r)._eval$1("Iterable.E"),$.Statement));return s.Stylesheet$internal(e,i.spanFrom$1(new s._SpanScannerState(i,a)),n.get$plainCss())},$signature:428};s.StylesheetParser_parse__closure.prototype={call$0(){var e=this.$this;if(e.scanner.scan$1("@charset")){e.whitespace$0();e.string$0();return null}return e._statement$1$root(true)},$signature:447};s.StylesheetParser_parse__closure0.prototype={call$1(e){var r=e.name,n=e.expression;return s.VariableDeclaration$(r,new s.NullExpression(n.get$span(n)),e.span,null,false,true,null)},$signature:454};s.StylesheetParser_parseArgumentDeclaration_closure.prototype={call$0(){var e,r=this.$this,n=r.scanner;n.expectChar$2$name(64,"@-rule");r.identifier$0();r.whitespace$0();r.identifier$0();e=r._argumentDeclaration$0();r.whitespace$0();n.expectChar$1(123);return e},$signature:462};s.StylesheetParser_parseVariableDeclaration_closure.prototype={call$0(){var e=this.$this;return e.lookingAtIdentifier$0()?e._variableDeclarationWithNamespace$0():e.variableDeclarationWithoutNamespace$0()},$signature:157};s.StylesheetParser_parseUseRule_closure.prototype={call$0(){var e=this.$this,r=e.scanner,n=r._string_scanner$_position;r.expectChar$2$name(64,"@-rule");e.expectIdentifier$1("use");e.whitespace$0();return e._useRule$1(new s._SpanScannerState(r,n))},$signature:488};s.StylesheetParser__parseSingleProduction_closure.prototype={call$0(){var e=this.production.call$0();this.$this.scanner.expectDone$0();return e},$signature(){return this.T._eval$1("0()")}};s.StylesheetParser__statement_closure.prototype={call$0(){return this.$this._statement$0()},$signature:114};s.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype={call$0(){return this.$this.scanner.spanFrom$1(this.start)},$signature:32};s.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype={call$0(){return this.declaration},$signature:157};s.StylesheetParser__declarationOrBuffer_closure.prototype={call$2(e,r){return s.Declaration$nested(this.name,e,r,null)},$signature:88};s.StylesheetParser__declarationOrBuffer_closure0.prototype={call$2(e,r){return s.Declaration$nested(this.name,e,r,this._box_0.value)},$signature:88};s.StylesheetParser__styleRule_closure.prototype={call$2(e,r){var n=this,i=n.$this;if(i.get$indented()&&e.length===0)i.logger.warn$2$span(0,c.This_s,n._box_0.interpolation.span);i._inStyleRule=n.wasInStyleRule;return s.StyleRule$(n._box_0.interpolation,e,i.scanner.spanFrom$1(n.start))},$signature:255};s.StylesheetParser__propertyOrVariableDeclaration_closure.prototype={call$2(e,r){return s.Declaration$nested(this._box_0.name,e,r,null)},$signature:88};s.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype={call$2(e,r){return s.Declaration$nested(this._box_0.name,e,r,this.value)},$signature:88};s.StylesheetParser__atRootRule_closure.prototype={call$2(e,r){return s.AtRootRule$(e,r,this.query)},$signature:159};s.StylesheetParser__atRootRule_closure0.prototype={call$2(e,r){return s.AtRootRule$(e,r,null)},$signature:159};s.StylesheetParser__eachRule_closure.prototype={call$2(e,r){var n=this;n.$this._inControlDirective=n.wasInControlDirective;return s.EachRule$(n.variables,n.list,e,r)},$signature:276};s.StylesheetParser__functionRule_closure.prototype={call$2(e,r){return s.FunctionRule$(this.name,this.$arguments,e,r,this.precedingComment)},$signature:278};s.StylesheetParser__forRule_closure.prototype={call$0(){var e=this.$this;if(!e.lookingAtIdentifier$0())return false;if(e.scanIdentifier$1("to"))return this._box_0.exclusive=true;else if(e.scanIdentifier$1("through")){this._box_0.exclusive=false;return true}else return false},$signature:28};s.StylesheetParser__forRule_closure0.prototype={call$2(e,r){var n,i=this;i.$this._inControlDirective=i.wasInControlDirective;n=i._box_0.exclusive;n.toString;return s.ForRule$(i.variable,i.from,i.to,e,r,n)},$signature:279};s.StylesheetParser__memberList_closure.prototype={call$0(){var e=this.$this;if(e.scanner.peekChar$0()===36)this.variables.add$1(0,e.variableName$0());else this.identifiers.add$1(0,e.identifier$1$normalize(true))},$signature:1};s.StylesheetParser__includeRule_closure.prototype={call$2(e,r){return s.ContentBlock$(this.contentArguments_,e,r)},$signature:281};s.StylesheetParser_mediaRule_closure.prototype={call$2(e,r){return s.MediaRule$(this.query,e,r)},$signature:282};s.StylesheetParser__mixinRule_closure.prototype={call$2(e,r){var n=this;n.$this._stylesheet$_inMixin=false;return s.MixinRule$(n.name,n.$arguments,e,r,n.precedingComment)},$signature:283};s.StylesheetParser_mozDocumentRule_closure.prototype={call$2(e,r){var n=this;if(n._box_0.needsDeprecationWarning)n.$this.logger.warn$3$deprecation$span(0,c.x40_moz_,true,r);return s.AtRule$(n.name,r,e,n.value)},$signature:160};s.StylesheetParser_supportsRule_closure.prototype={call$2(e,r){return s.SupportsRule$(this.condition,e,r)},$signature:297};s.StylesheetParser__whileRule_closure.prototype={call$2(e,r){this.$this._inControlDirective=this.wasInControlDirective;return s.WhileRule$(this.condition,e,r)},$signature:485};s.StylesheetParser_unknownAtRule_closure.prototype={call$2(e,r){return s.AtRule$(this.name,r,e,this._box_0.value)},$signature:160};s.StylesheetParser__expression_resetState.prototype={call$0(){var e,r=this._box_0;r.operands_=r.operators_=r.spaceExpressions_=r.commaExpressions_=null;e=this.$this;e.scanner.set$state(this.start);r.allowSlash=true;r.singleExpression_=e._singleExpression$0()},$signature:0};s.StylesheetParser__expression_resolveOneOperation.prototype={call$0(){var e,r,n=this._box_0,i=n.operators_.pop(),a=n.operands_.pop(),l=n.singleExpression_;if(l==null){e=this.$this.scanner;r=i.operator.length;e.error$3$length$position(0,"Expected expression.",r,e._string_scanner$_position-r)}if(n.allowSlash){e=this.$this;e=!e._inParentheses&&i===o.BinaryOperator_RTB&&e._isSlashOperand$1(a)&&e._isSlashOperand$1(l)}else e=false;if(e)n.singleExpression_=new s.BinaryOperationExpression(o.BinaryOperator_RTB,a,l,true);else{n.singleExpression_=new s.BinaryOperationExpression(i,a,l,false);n.allowSlash=false}},$signature:0};s.StylesheetParser__expression_resolveOperations.prototype={call$0(){var e,r=this._box_0.operators_;if(r==null)return;for(e=this.resolveOneOperation;r.length!==0;)e.call$0()},$signature:0};s.StylesheetParser__expression_addSingleExpression.prototype={call$1(e){var r,n,i=this,a=i._box_0;if(a.singleExpression_!=null){r=i.$this;if(r._inParentheses){r._inParentheses=false;if(a.allowSlash){i.resetState.call$0();return}}n=a.spaceExpressions_;if(n==null)n=a.spaceExpressions_=s._setArrayType([],$.JSArray_Expression);i.resolveOperations.call$0();r=a.singleExpression_;r.toString;n.push(r);a.allowSlash=true}a.singleExpression_=e},$signature:304};s.StylesheetParser__expression_addOperator.prototype={call$1(e){var r,n,i,a,l,u,_=this.$this;if(_.get$plainCss()&&e!==o.BinaryOperator_RTB&&e!==o.BinaryOperator_kjl){r=_.scanner;n=e.operator.length;r.error$3$length$position(0,"Operators aren't allowed in plain CSS.",n,r._string_scanner$_position-n)}r=this._box_0;r.allowSlash=r.allowSlash&&e===o.BinaryOperator_RTB;i=r.operators_;if(i==null)i=r.operators_=s._setArrayType([],$.JSArray_BinaryOperator);a=r.operands_;if(a==null)a=r.operands_=s._setArrayType([],$.JSArray_Expression);n=this.resolveOneOperation;l=e.precedence;while(true){if(!(i.length!==0&&o.JSArray_methods.get$last(i).precedence>=l))break;n.call$0()}i.push(e);u=r.singleExpression_;if(u==null){n=_.scanner;l=e.operator.length;n.error$3$length$position(0,"Expected expression.",l,n._string_scanner$_position-l)}a.push(u);_.whitespace$0();r.singleExpression_=_._singleExpression$0()},$signature:305};s.StylesheetParser__expression_resolveSpaceExpressions.prototype={call$0(){var e,r,n,i;this.resolveOperations.call$0();e=this._box_0;r=e.spaceExpressions_;if(r!=null){n=e.singleExpression_;if(n==null)this.$this.scanner.error$1(0,"Expected expression.");r.push(n);i=o.JSArray_methods.get$first(r);i=i.get$span(i).expand$1(0,n.get$span(n));e.singleExpression_=new s.ListExpression(s.List_List$unmodifiable(r,$.Expression),o.ListSeparator_woc,false,i);e.spaceExpressions_=null}},$signature:0};s.StylesheetParser_expressionUntilComma_closure.prototype={call$0(){return this.$this.scanner.peekChar$0()===44},$signature:28};s.StylesheetParser__unicodeRange_closure.prototype={call$1(e){return e!=null&&s.isHex(e)},$signature:30};s.StylesheetParser__unicodeRange_closure0.prototype={call$1(e){return e!=null&&s.isHex(e)},$signature:30};s.StylesheetParser_namespacedExpression_closure.prototype={call$0(){return this.$this.scanner.spanFrom$1(this.start)},$signature:32};s.StylesheetParser_trySpecialFunction_closure.prototype={call$1(e){return new s.StringExpression(e,false)},$signature:308};s.StylesheetParser__expressionUntilComparison_closure.prototype={call$0(){var e=this.$this.scanner,r=e.peekChar$0();if(r===61)return e.peekChar$1(1)!==61;return r===60||r===62},$signature:28};s.StylesheetParser__publicIdentifier_closure.prototype={call$0(){return this.$this.scanner.spanFrom$1(this.start)},$signature:32};s.StylesheetGraph.prototype={modifiedSince$3(e,r,n){var i=this._stylesheet_graph$_add$3(e,n,null);if(i==null)return true;return new s.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(i)._core$_value>r._core$_value},_stylesheet_graph$_add$3(e,r,n){var i,a,o=this,l=o._ignoreErrors$1(new s.StylesheetGraph__add_closure(o,e,r,n));if(l==null)return null;i=l.item1;a=l.item2;o.addCanonical$3(i,a,l.item3);return o._nodes.$index(0,a)},addCanonical$4$recanonicalize(e,r,n,i){var a,l=this,u=l._nodes;if(u.$index(0,r)!=null)return o.Set_empty1;a=l._ignoreErrors$1(new s.StylesheetGraph_addCanonical_closure(l,e,r,n));if(a==null)return o.Set_empty1;u.$indexSet(0,r,s.StylesheetNode$_(a,e,r,l._upstreamNodes$3(a,e,r)));return i?l._recanonicalizeImports$2(e,r):o.Set_empty1},addCanonical$3(e,r,n){return this.addCanonical$4$recanonicalize(e,r,n,true)},_upstreamNodes$3(e,r,n){var i,l,u,_,c=$.Uri,p=s.LinkedHashSet_LinkedHashSet$_literal([n],c),h=$.JSArray_Uri,d=s._setArrayType([],h);h=s._setArrayType([],h);new s._FindDependenciesVisitor(d,h).visitChildren$1(e.children);i=$.nullable_StylesheetNode;l=s.LinkedHashMap_LinkedHashMap$_empty(c,i);for(u=o.JSArray_methods.get$iterator(d);u.moveNext$0();){_=u.get$current(u);l.$indexSet(0,_,this._nodeFor$4(_,r,n,p))}c=s.LinkedHashMap_LinkedHashMap$_empty(c,i);for(h=a.get$iterator$ax(new s.Tuple2(d,h,$.Tuple2_of_List_Uri_and_List_Uri).item2);h.moveNext$0();){d=h.get$current(h);c.$indexSet(0,d,this._nodeFor$5$forImport(d,r,n,p,true))}return new s.Tuple2(l,c,$.Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode)},reload$1(e){var r,n,i=this,a=i._nodes.$index(0,e);if(a==null)throw s.wrapException(s.StateError$(e.toString$0(0)+" is not in the dependency graph."));i._transitiveModificationTimes.clear$0(0);i.importCache.clearImport$1(e);r=i._ignoreErrors$1(new s.StylesheetGraph_reload_closure(i,a,e));if(r==null)return false;a._stylesheet=r;n=i._upstreamNodes$3(r,a.importer,e);a._replaceUpstream$2(n.item1,n.item2);return true},_recanonicalizeImports$2(e,r){var n,i,a,o,l,u,_,c=this,p=s.LinkedHashSet_LinkedHashSet$_empty($.StylesheetNode);for(n=c._nodes,n=n.get$values(n),n=n.get$iterator(n),i=$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,a=$.Uri,o=$.nullable_StylesheetNode;n.moveNext$0();){l=n.get$current(n);u=c._recanonicalizeImportsForNode$4$forImport(l,e,r,false);_=c._recanonicalizeImportsForNode$4$forImport(l,e,r,true);if(u.__js_helper$_length!==0||_.__js_helper$_length!==0){p.add$1(0,l);l._replaceUpstream$2(s.mergeMaps(new s.UnmodifiableMapView(l._upstream,i),u,a,o),s.mergeMaps(new s.UnmodifiableMapView(l._upstreamImports,i),_,a,o))}}if(p._collection$_length!==0)c._transitiveModificationTimes.clear$0(0);return p},_recanonicalizeImportsForNode$4$forImport(e,r,n,i){var a=$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,o=i?new s.UnmodifiableMapView(e._upstreamImports,a):new s.UnmodifiableMapView(e._upstream,a),l=s.LinkedHashMap_LinkedHashMap$_empty($.Uri,$.nullable_StylesheetNode);o._map.forEach$1(0,new s.StylesheetGraph__recanonicalizeImportsForNode_closure(this,r,n,e,i,l));return l},_nodeFor$5$forImport(e,r,n,i,a){var o,l,u,_,c,$,p=this,h=p._ignoreErrors$1(new s.StylesheetGraph__nodeFor_closure(p,e,r,n,a));if(h==null)return null;o=h.item1;l=h.item2;u=h.item3;_=p._nodes;if(_.containsKey$1(l))return _.$index(0,l);if(i.contains$1(0,l))return null;c=p._ignoreErrors$1(new s.StylesheetGraph__nodeFor_closure0(p,o,l,u));if(c==null)return null;i.add$1(0,l);$=s.StylesheetNode$_(c,o,l,p._upstreamNodes$3(c,o,l));i.remove$1(0,l);_.$indexSet(0,l,$);return $},_nodeFor$4(e,r,n,i){return this._nodeFor$5$forImport(e,r,n,i,false)},_ignoreErrors$1$1(e){var r,n;try{r=e.call$0();return r}catch(n){return null}},_ignoreErrors$1(e){return this._ignoreErrors$1$1(e,$.dynamic)}};s.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype={call$1(e){return this.$this._transitiveModificationTimes.putIfAbsent$2(e.canonicalUrl,new s.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(e,this))},$signature:311};s.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype={call$0(){var e,r,n,i=this.node,o=i.importer.modificationTime$1(i.canonicalUrl);for(e=i._upstream,e=e.get$values(e),i=i._upstreamImports,i=e.followedBy$1(0,i.get$values(i)),i=new s.FollowedByIterator(a.get$iterator$ax(i.__internal$_first),i._second),e=this.transitiveModificationTime;i.moveNext$0();){r=i._currentIterator;r=r.get$current(r);n=r==null?new s.DateTime(Date.now(),false):e.call$1(r);if(n._core$_value>o._core$_value)o=n}return o},$signature:152};s.StylesheetGraph__add_closure.prototype={call$0(){var e=this;return e.$this.importCache.canonicalize$3$baseImporter$baseUrl(0,e.url,e.baseImporter,e.baseUrl)},$signature:77};s.StylesheetGraph_addCanonical_closure.prototype={call$0(){var e=this;return e.$this.importCache.importCanonical$3$originalUrl(e.importer,e.canonicalUrl,e.originalUrl)},$signature:101};s.StylesheetGraph_reload_closure.prototype={call$0(){return this.$this.importCache.importCanonical$2(this.node.importer,this.canonicalUrl)},$signature:101};s.StylesheetGraph__recanonicalizeImportsForNode_closure.prototype={call$2(e,r){var n,i,s,o,l,u,_=this;if(!_.importer.couldCanonicalize$2(e,_.canonicalUrl))return;i=_.$this;s=i.importCache;s.clearCanonicalize$1(e);n=null;try{o=_.node;n=s.canonicalize$4$baseImporter$baseUrl$forImport(0,e,o.importer,o.canonicalUrl,_.forImport)}catch(l){}s=n;u=s==null?null:s.item2;if(a.$eq$(u,r==null?null:r.canonicalUrl))return;i=n==null?null:i._nodes.$index(0,n.item2);_.newMap.$indexSet(0,e,i)},$signature:315};s.StylesheetGraph__nodeFor_closure.prototype={call$0(){var e=this;return e.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0,e.url,e.baseImporter,e.baseUrl,e.forImport)},$signature:77};s.StylesheetGraph__nodeFor_closure0.prototype={call$0(){var e=this;return e.$this.importCache.importCanonical$3$originalUrl(e.importer,e.canonicalUrl,e.resolvedUrl)},$signature:101};s.StylesheetNode.prototype={StylesheetNode$_$4(e,r,n,i){var o,l;for(o=this._upstream,o=o.get$values(o),l=this._upstreamImports,l=o.followedBy$1(0,l.get$values(l)),l=new s.FollowedByIterator(a.get$iterator$ax(l.__internal$_first),l._second);l.moveNext$0();){o=l._currentIterator;o=o.get$current(o);if(o!=null)o._downstream.add$1(0,this)}},_replaceUpstream$2(e,r){var n,i,a,o=this,l=$.nullable_StylesheetNode,u=s.LinkedHashSet_LinkedHashSet$_empty(l);for(n=o._upstream,n=n.get$values(n),n=n.get$iterator(n);n.moveNext$0();)u.add$1(0,n.get$current(n));for(n=o._upstreamImports,n=n.get$values(n),n=n.get$iterator(n);n.moveNext$0();)u.add$1(0,n.get$current(n));n=$.StylesheetNode;i=s.SetExtension_removeNull(u,n);l=s.LinkedHashSet_LinkedHashSet$_empty(l);for(u=e.get$values(e),u=u.get$iterator(u);u.moveNext$0();)l.add$1(0,u.get$current(u));for(u=r.get$values(r),u=u.get$iterator(u);u.moveNext$0();)l.add$1(0,u.get$current(u));a=s.SetExtension_removeNull(l,n);for(l=i.difference$1(a),l=l.get$iterator(l);l.moveNext$0();)l.get$current(l)._downstream.remove$1(0,o);for(l=a.difference$1(i),l=l.get$iterator(l);l.moveNext$0();)l.get$current(l)._downstream.add$1(0,o);o._upstream=e;o._upstreamImports=r},_stylesheet_graph$_remove$0(){var e,r,n,i,o,l=this,u=s.LinkedHashSet_LinkedHashSet$_empty($.nullable_StylesheetNode);for(e=l._upstream,e=e.get$values(e),e=e.get$iterator(e);e.moveNext$0();)u.add$1(0,e.get$current(e));for(e=l._upstreamImports,e=e.get$values(e),e=e.get$iterator(e);e.moveNext$0();)u.add$1(0,e.get$current(e));u=s._LinkedHashSetIterator$(u,u._collection$_modifications);e=s._instanceType(u)._precomputed1;for(;u.moveNext$0();){r=u._collection$_current;if(r==null)r=e._as(r);if(r==null)continue;r._downstream.remove$1(0,l)}for(u=l._downstream,u=u.get$iterator(u);u.moveNext$0();){e=u.get$current(u);for(r=e._upstream,r=a.toList$0$ax(r.get$keys(r)),n=r.length,i=0;i":r}};s.Syntax.prototype={toString$0(e){return this._syntax$_name}};s.LimitedMapView.prototype={get$keys(e){return this._limited_map_view$_keys},get$length(e){return this._limited_map_view$_keys._collection$_length},get$isEmpty(e){return this._limited_map_view$_keys._collection$_length===0},get$isNotEmpty(e){return this._limited_map_view$_keys._collection$_length!==0},$index(e,r){return this._limited_map_view$_keys.contains$1(0,r)?this._limited_map_view$_map.$index(0,r):null},containsKey$1(e){return this._limited_map_view$_keys.contains$1(0,e)},remove$1(e,r){return this._limited_map_view$_keys.contains$1(0,r)?this._limited_map_view$_map.remove$1(0,r):null}};s.MergedMapView.prototype={get$keys(e){var r=this._mapsByKey;return new s.LinkedHashMapKeyIterable(r,s._instanceType(r)._eval$1("LinkedHashMapKeyIterable<1>"))},get$length(e){return this._mapsByKey.__js_helper$_length},get$isEmpty(e){return this._mapsByKey.__js_helper$_length===0},get$isNotEmpty(e){return this._mapsByKey.__js_helper$_length!==0},MergedMapView$1(e,r,n){var i,o,l,u,_,c,$,p;for(i=e.length,o=this._mapsByKey,l=r._eval$1("@<0>")._bind$1(n)._eval$1("MergedMapView<1,2>"),u=0;u")))}};s.SourceMapBuffer_buildSourceMap_closure.prototype={call$1(e){var r=e.source,n=e.target,i=n.line,a=this._box_0,o=a.prefixLines;a=i===0?a.prefixColumn:0;return new s.Entry(r,s.SourceLocation$(n.offset+this.prefixLength,n.column+a,i+o,null),e.identifierName)},$signature:162};s.UnprefixedMapView.prototype={get$keys(e){return new s._UnprefixedKeys(this)},$index(e,r){return typeof r=="string"?this._unprefixed_map_view$_map.$index(0,this._unprefixed_map_view$_prefix+r):null},containsKey$1(e){return typeof e=="string"&&this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix+e)},remove$1(e,r){return typeof r=="string"?this._unprefixed_map_view$_map.remove$1(0,this._unprefixed_map_view$_prefix+r):null}};s._UnprefixedKeys.prototype={get$iterator(e){var r=this._unprefixed_map_view$_view._unprefixed_map_view$_map;r=a.where$1$ax(r.get$keys(r),new s._UnprefixedKeys_iterator_closure(this)).map$1$1(0,new s._UnprefixedKeys_iterator_closure0(this),$.String);return r.get$iterator(r)},contains$1(e,r){return this._unprefixed_map_view$_view.containsKey$1(r)}};s._UnprefixedKeys_iterator_closure.prototype={call$1(e){return o.JSString_methods.startsWith$1(e,this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix)},$signature:8};s._UnprefixedKeys_iterator_closure0.prototype={call$1(e){return o.JSString_methods.substring$1(e,this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length)},$signature:5};s.indent_closure.prototype={call$1(e){return o.JSString_methods.$mul(" ",this.indentation)+e},$signature:5};s.flattenVertically_closure.prototype={call$1(e){return s.QueueList_QueueList$from(e,this.T)},$signature(){return this.T._eval$1("QueueList<0>(Iterable<0>)")}};s.flattenVertically_closure0.prototype={call$1(e){this.result.push(e.removeFirst$0());return e.get$length(e)===0},$signature(){return this.T._eval$1("bool(QueueList<0>)")}};s.longestCommonSubsequence_backtrack.prototype={call$2(e,r){var n,i,o=this;if(e===-1||r===-1)return s._setArrayType([],o.T._eval$1("JSArray<0>"));n=o.selections[e][r];if(n!=null){i=o.call$2(e-1,r-1);a.add$1$ax(i,n);return i}i=o.lengths;return i[e+1][r]>i[e][r+1]?o.call$2(e,r-1):o.call$2(e-1,r)},$signature(){return this.T._eval$1("List<0>(int,int)")}};s.mapAddAll2_closure.prototype={call$2(e,r){var n=this.destination,i=n.$index(0,e);if(i!=null)i.addAll$1(0,r);else n.$indexSet(0,e,r)},$signature(){return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)")}};s.Value.prototype={get$isTruthy(){return true},get$separator(e){return o.ListSeparator_undecided_null},get$hasBrackets(){return false},get$asList(){return s._setArrayType([this],$.JSArray_Value)},get$lengthAsList(){return 1},get$isBlank(){return false},get$isSpecialNumber(){return false},get$isVar(){return false},get$realNull(){return this},sassIndexToListIndex$2(e,r){var n=this,i=e.assertNumber$1(r).assertInt$1(r);if(i===0)throw s.wrapException(n._value$_exception$2("List index may not be 0.",r));if(Math.abs(i)>n.get$lengthAsList())throw s.wrapException(n._value$_exception$2("Invalid index "+e.toString$0(0)+" for a list with "+n.get$lengthAsList()+" elements.",r));return i<0?n.get$lengthAsList()+i:i-1},assertCalculation$1(e){return s.throwExpression(this._value$_exception$2(this.toString$0(0)+" is not a calculation.",e))},assertColor$1(e){return s.throwExpression(this._value$_exception$2(this.toString$0(0)+" is not a color.",e))},assertFunction$1(e){return s.throwExpression(this._value$_exception$2(this.toString$0(0)+" is not a function reference.",e))},assertMap$1(e){return s.throwExpression(this._value$_exception$2(this.toString$0(0)+" is not a map.",e))},tryMap$0(){return null},assertNumber$1(e){return s.throwExpression(this._value$_exception$2(this.toString$0(0)+" is not a number.",e))},assertNumber$0(){return this.assertNumber$1(null)},assertString$1(e){return s.throwExpression(this._value$_exception$2(this.toString$0(0)+" is not a string.",e))},_selectorString$1(e){var r=this._selectorStringOrNull$0();if(r!=null)return r;throw s.wrapException(this._value$_exception$2(this.toString$0(0)+c.x20is_noa,e))},_selectorStringOrNull$0(){var e,r,n,i,a,l,u,_,c=this,p=null;if(c instanceof s.SassString)return c._string$_text;if(!(c instanceof s.SassList))return p;e=c._list$_contents;r=e.length;if(r===0)return p;n=s._setArrayType([],$.JSArray_String);i=c._separator;switch(i){case o.ListSeparator_kWM:for(a=0;a "+e.toString$0(0)+'".'))},greaterThanOrEquals$1(e){return s.throwExpression(s.SassScriptException$('Undefined operation "'+this.toString$0(0)+" >= "+e.toString$0(0)+'".'))},lessThan$1(e){return s.throwExpression(s.SassScriptException$('Undefined operation "'+this.toString$0(0)+" < "+e.toString$0(0)+'".'))},lessThanOrEquals$1(e){return s.throwExpression(s.SassScriptException$('Undefined operation "'+this.toString$0(0)+" <= "+e.toString$0(0)+'".'))},times$1(e){return s.throwExpression(s.SassScriptException$('Undefined operation "'+this.toString$0(0)+" * "+e.toString$0(0)+'".'))},modulo$1(e){return s.throwExpression(s.SassScriptException$('Undefined operation "'+this.toString$0(0)+" % "+e.toString$0(0)+'".'))},plus$1(e){if(e instanceof s.SassString)return new s.SassString(s.serializeValue(this,false,true)+e._string$_text,e._hasQuotes);else if(e instanceof s.SassCalculation)throw s.wrapException(s.SassScriptException$('Undefined operation "'+this.toString$0(0)+" + "+e.toString$0(0)+'".'));else return new s.SassString(s.serializeValue(this,false,true)+s.serializeValue(e,false,true),false)},minus$1(e){if(e instanceof s.SassCalculation)throw s.wrapException(s.SassScriptException$('Undefined operation "'+this.toString$0(0)+" - "+e.toString$0(0)+'".'));else return new s.SassString(s.serializeValue(this,false,true)+"-"+s.serializeValue(e,false,true),false)},dividedBy$1(e){return new s.SassString(s.serializeValue(this,false,true)+"/"+s.serializeValue(e,false,true),false)},unaryPlus$0(){return new s.SassString("+"+s.serializeValue(this,false,true),false)},unaryMinus$0(){return new s.SassString("-"+s.serializeValue(this,false,true),false)},unaryNot$0(){return o.SassBoolean_false},withoutSlash$0(){return this},toString$0(e){return s.serializeValue(this,true,true)},_value$_exception$2(e,r){return new s.SassScriptException(r==null?e:"$"+r+": "+e)}};s.SassArgumentList.prototype={};s.SassBoolean.prototype={get$isTruthy(){return this.value},accept$1$1(e){return e._serialize$_buffer.write$1(0,String(this.value))},accept$1(e){return this.accept$1$1(e,$.dynamic)},unaryNot$0(){return this.value?o.SassBoolean_false:o.SassBoolean_true}};s.SassCalculation.prototype={get$isSpecialNumber(){return true},accept$1$1(e){var r,n=e._serialize$_buffer;n.write$1(0,this.name);n.writeCharCode$1(40);r=e._style===o.OutputStyle_compressed?",":", ";e._writeBetween$3(this.$arguments,r,e.get$_writeCalculationValue());n.writeCharCode$1(41);return null},accept$1(e){return this.accept$1$1(e,$.dynamic)},assertCalculation$1(e){return this},plus$1(e){if(e instanceof s.SassString)return this.super$Value$plus(e);throw s.wrapException(s.SassScriptException$('Undefined operation "'+this.toString$0(0)+" + "+e.toString$0(0)+'".'))},minus$1(e){return s.throwExpression(s.SassScriptException$('Undefined operation "'+this.toString$0(0)+" - "+e.toString$0(0)+'".'))},unaryPlus$0(){return s.throwExpression(s.SassScriptException$('Undefined operation "+'+this.toString$0(0)+'".'))},unaryMinus$0(){return s.throwExpression(s.SassScriptException$('Undefined operation "-'+this.toString$0(0)+'".'))},$eq(e,r){if(r==null)return false;return r instanceof s.SassCalculation&&this.name===r.name&&o.C_ListEquality.equals$2(0,this.$arguments,r.$arguments)},get$hashCode(e){return o.JSString_methods.get$hashCode(this.name)^o.C_ListEquality0.hash$1(this.$arguments)}};s.SassCalculation__verifyLength_closure.prototype={call$1(e){return e instanceof s.SassString||e instanceof s.CalculationInterpolation},$signature:135};s.CalculationOperation.prototype={$eq(e,r){if(r==null)return false;return r instanceof s.CalculationOperation&&this.operator===r.operator&&a.$eq$(this.left,r.left)&&a.$eq$(this.right,r.right)},get$hashCode(e){return(s.Primitives_objectHashCode(this.operator)^a.get$hashCode$(this.left)^a.get$hashCode$(this.right))>>>0},toString$0(e){var r=s.serializeValue(new s.SassCalculation("",s._setArrayType([this],$.JSArray_Object)),true,true);return o.JSString_methods.substring$2(r,1,r.length-1)}};s.CalculationOperator.prototype={toString$0(e){return this.name}};s.CalculationInterpolation.prototype={$eq(e,r){if(r==null)return false;return r instanceof s.CalculationInterpolation&&this.value===r.value},get$hashCode(e){return o.JSString_methods.get$hashCode(this.value)},toString$0(e){return this.value}};s.SassColor.prototype={get$red(e){var r;if(this._red==null)this._hslToRgb$0();r=this._red;r.toString;return r},get$green(e){var r;if(this._green==null)this._hslToRgb$0();r=this._green;r.toString;return r},get$blue(e){var r;if(this._blue==null)this._hslToRgb$0();r=this._blue;r.toString;return r},get$hue(e){var r;if(this._hue==null)this._rgbToHsl$0();r=this._hue;r.toString;return r},get$saturation(e){var r;if(this._saturation==null)this._rgbToHsl$0();r=this._saturation;r.toString;return r},get$lightness(e){var r;if(this._lightness==null)this._rgbToHsl$0();r=this._lightness;r.toString;return r},get$whiteness(e){var r=this;return Math.min(Math.min(r.get$red(r),r.get$green(r)),r.get$blue(r))/255*100},get$blackness(e){var r=this;return 100-Math.max(Math.max(r.get$red(r),r.get$green(r)),r.get$blue(r))/255*100},accept$1$1(e){var r,n,i,a,l,_,c=this;if(e._style===o.OutputStyle_compressed)if(!(Math.abs(c._alpha-1)1)throw s.wrapException(s.ArgumentError$(c.A_list,null))},accept$1$1(e){return e.visitList$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},assertMap$1(e){return this._list$_contents.length===0?o.SassMap_Map_empty:this.super$Value$assertMap(e)},tryMap$0(){return this._list$_contents.length===0?o.SassMap_Map_empty:null},$eq(e,r){var n,i=this;if(r==null)return false;if(!(r instanceof s.SassList&&r._separator===i._separator&&r._hasBrackets===i._hasBrackets&&o.C_ListEquality.equals$2(0,r._list$_contents,i._list$_contents)))n=i._list$_contents.length===0&&r instanceof s.SassMap&&r.get$asList().length===0;else n=true;return n},get$hashCode(e){return o.C_ListEquality0.hash$1(this._list$_contents)}};s.SassList_isBlank_closure.prototype={call$1(e){return e.get$isBlank()},$signature:65};s.ListSeparator.prototype={toString$0(e){return this._list$_name}};s.SassMap.prototype={get$separator(e){var r=this._map$_contents;return r.get$isEmpty(r)?o.ListSeparator_undecided_null:o.ListSeparator_kWM},get$asList(){var e=s._setArrayType([],$.JSArray_Value);this._map$_contents.forEach$1(0,new s.SassMap_asList_closure(e));return e},get$lengthAsList(){var e=this._map$_contents;return e.get$length(e)},accept$1$1(e){return e.visitMap$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},assertMap$1(e){return this},tryMap$0(){return this},$eq(e,r){var n;if(r==null)return false;if(!(r instanceof s.SassMap&&o.C_MapEquality.equals$2(0,r._map$_contents,this._map$_contents))){n=this._map$_contents;n=n.get$isEmpty(n)&&r instanceof s.SassList&&r._list$_contents.length===0}else n=true;return n},get$hashCode(e){var r=this._map$_contents;return r.get$isEmpty(r)?o.C_ListEquality0.hash$1(o.List_empty7):o.C_MapEquality.hash$1(r)}};s.SassMap_asList_closure.prototype={call$2(e,r){this.result.push(s.SassList$(s._setArrayType([e,r],$.JSArray_Value),o.ListSeparator_woc,false))},$signature:50};s._SassNull.prototype={get$isTruthy(){return false},get$isBlank(){return true},get$realNull(){return null},accept$1$1(e){if(e._inspect)e._serialize$_buffer.write$1(0,"null");return null},accept$1(e){return this.accept$1$1(e,$.dynamic)},unaryNot$0(){return o.SassBoolean_true}};s.SassNumber.prototype={get$unitString(){var e=this;return e.get$hasUnits()?e._unitString$2(e.get$numeratorUnits(e),e.get$denominatorUnits(e)):""},accept$1$1(e){return e.visitNumber$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},withoutSlash$0(){var e=this;return e.asSlash==null?e:e.withValue$1(e._number$_value)},assertNumber$1(e){return this},assertNumber$0(){return this.assertNumber$1(null)},assertInt$1(e){var r=this._number$_value,n=s.fuzzyIsInt(r)?o.JSNumber_methods.round$0(r):null;if(n!=null)return n;throw s.wrapException(this._number$_exception$2(this.toString$0(0)+" is not an int.",e))},assertInt$0(){return this.assertInt$1(null)},valueInRange$3(e,r,n){var i=this,a=s.fuzzyCheckRange(i._number$_value,e,r);if(a!=null)return a;throw s.wrapException(i._number$_exception$2("Expected "+i.toString$0(0)+" to be within "+e+i.get$unitString()+" and "+r+i.get$unitString()+".",n))},valueInRangeWithUnit$4(e,r,n,i){var a=s.fuzzyCheckRange(this._number$_value,e,r);if(a!=null)return a;throw s.wrapException(this._number$_exception$2("Expected "+this.toString$0(0)+" to be within "+e+i+" and "+r+i+".",n))},hasCompatibleUnits$1(e){var r=this;if(r.get$numeratorUnits(r).length!==e.get$numeratorUnits(e).length)return false;if(r.get$denominatorUnits(r).length!==e.get$denominatorUnits(e).length)return false;return r.isComparableTo$1(e)},assertUnit$2(e,r){if(this.hasUnit$1(e))return;throw s.wrapException(this._number$_exception$2("Expected "+this.toString$0(0)+' to have unit "'+e+'".',r))},assertNoUnits$1(e){if(!this.get$hasUnits())return;throw s.wrapException(this._number$_exception$2("Expected "+this.toString$0(0)+" to have no units.",e))},convertValueToMatch$3(e,r,n){return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e.get$numeratorUnits(e),e.get$denominatorUnits(e),false,r,e,n)},coerce$3(e,r,n){return s.SassNumber_SassNumber$withUnits(this.coerceValue$3(e,r,n),r,e)},coerce$2(e,r){return this.coerce$3(e,r,null)},coerceValue$3(e,r,n){return this._coerceOrConvertValue$4$coerceUnitless$name(e,r,true,n)},coerceValueToUnit$2(e,r){var n=$.JSArray_String;return this.coerceValue$3(s._setArrayType([e],n),s._setArrayType([],n),r)},coerceValueToMatch$3(e,r,n){return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e.get$numeratorUnits(e),e.get$denominatorUnits(e),true,r,e,n)},coerceValueToMatch$1(e){return this.coerceValueToMatch$3(e,null,null)},_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e,r,n,i,a,l){var u,_,c,$,p,h,d=this,m={};if(o.C_ListEquality.equals$2(0,d.get$numeratorUnits(d),e)&&o.C_ListEquality.equals$2(0,d.get$denominatorUnits(d),r))return d._number$_value;u=e.length!==0||r.length!==0;if(n)_=!d.get$hasUnits()||!u;else _=false;if(_)return d._number$_value;c=new s.SassNumber__coerceOrConvertValue__compatibilityException(d,a,l,u,i,e,r);m.value=d._number$_value;_=d.get$numeratorUnits(d);$=s._setArrayType(_.slice(0),s._arrayInstanceType(_));for(_=e.length,p=0;p "+e.toString$0(0)+'".'))},greaterThanOrEquals$1(e){if(e instanceof s.SassNumber)return this._coerceUnits$2(e,s.number0__fuzzyGreaterThanOrEquals$closure())?o.SassBoolean_true:o.SassBoolean_false;throw s.wrapException(s.SassScriptException$('Undefined operation "'+this.toString$0(0)+" >= "+e.toString$0(0)+'".'))},lessThan$1(e){if(e instanceof s.SassNumber)return this._coerceUnits$2(e,s.number0__fuzzyLessThan$closure())?o.SassBoolean_true:o.SassBoolean_false;throw s.wrapException(s.SassScriptException$('Undefined operation "'+this.toString$0(0)+" < "+e.toString$0(0)+'".'))},lessThanOrEquals$1(e){if(e instanceof s.SassNumber)return this._coerceUnits$2(e,s.number0__fuzzyLessThanOrEquals$closure())?o.SassBoolean_true:o.SassBoolean_false;throw s.wrapException(s.SassScriptException$('Undefined operation "'+this.toString$0(0)+" <= "+e.toString$0(0)+'".'))},modulo$1(e){var r=this;if(e instanceof s.SassNumber)return r.withValue$1(r._coerceUnits$2(e,r.get$moduloLikeSass()));throw s.wrapException(s.SassScriptException$('Undefined operation "'+r.toString$0(0)+" % "+e.toString$0(0)+'".'))},moduloLikeSass$2(e,r){var n;if(r>0)return o.JSNumber_methods.$mod(e,r);if(r===0)return 0/0;n=o.JSNumber_methods.$mod(e,r);return n===0?0:n+r},plus$1(e){var r=this;if(e instanceof s.SassNumber)return r.withValue$1(r._coerceUnits$2(e,new s.SassNumber_plus_closure));if(!(e instanceof s.SassColor))return r.super$Value$plus(e);throw s.wrapException(s.SassScriptException$('Undefined operation "'+r.toString$0(0)+" + "+e.toString$0(0)+'".'))},minus$1(e){var r=this;if(e instanceof s.SassNumber)return r.withValue$1(r._coerceUnits$2(e,new s.SassNumber_minus_closure));if(!(e instanceof s.SassColor))return r.super$Value$minus(e);throw s.wrapException(s.SassScriptException$('Undefined operation "'+r.toString$0(0)+" - "+e.toString$0(0)+'".'))},times$1(e){var r=this;if(e instanceof s.SassNumber){if(!e.get$hasUnits())return r.withValue$1(r._number$_value*e._number$_value);return r.multiplyUnits$3(r._number$_value*e._number$_value,e.get$numeratorUnits(e),e.get$denominatorUnits(e))}throw s.wrapException(s.SassScriptException$('Undefined operation "'+r.toString$0(0)+" * "+e.toString$0(0)+'".'))},dividedBy$1(e){var r=this;if(e instanceof s.SassNumber){if(!e.get$hasUnits())return r.withValue$1(r._number$_value/e._number$_value);return r.multiplyUnits$3(r._number$_value/e._number$_value,e.get$denominatorUnits(e),e.get$numeratorUnits(e))}return r.super$Value$dividedBy(e)},unaryPlus$0(){return this},_coerceUnits$1$2(e,r){var n,i;try{n=r.call$2(this._number$_value,e.coerceValueToMatch$1(this));return n}catch(i){if(s.unwrapException(i)instanceof s.SassScriptException){this.coerceValueToMatch$1(e);throw i}else throw i}},_coerceUnits$2(e,r){return this._coerceUnits$1$2(e,r,$.dynamic)},multiplyUnits$3(e,r,n){var i,a,l,u,_,c,p,h=this,d={};d.value=e;if(h.get$numeratorUnits(h).length===0){if(n.length===0&&!h._areAnyConvertible$2(h.get$denominatorUnits(h),r))return s.SassNumber_SassNumber$withUnits(e,h.get$denominatorUnits(h),r);else if(h.get$denominatorUnits(h).length===0)return s.SassNumber_SassNumber$withUnits(e,n,r)}else if(r.length===0)if(n.length===0)return s.SassNumber_SassNumber$withUnits(e,n,h.get$numeratorUnits(h));else if(h.get$denominatorUnits(h).length===0&&!h._areAnyConvertible$2(h.get$numeratorUnits(h),n))return s.SassNumber_SassNumber$withUnits(e,n,h.get$numeratorUnits(h));i=s._setArrayType([],$.JSArray_String);a=s._setArrayType(n.slice(0),s._arrayInstanceType(n));for(l=h.get$numeratorUnits(h),u=l.length,_=0;_");n=s.List_List$of(new s.MappedListIterable(e,new s.SassNumber__canonicalizeUnitList_closure,n),true,n._eval$1("ListIterable.E"));o.JSArray_methods.sort$0(n);return n},_canonicalMultiplier$1(e){return o.JSArray_methods.fold$2(e,1,new s.SassNumber__canonicalMultiplier_closure(this))},canonicalMultiplierForUnit$1(e){var r,n=o.Map_K2BWj.$index(0,e);if(n==null)r=1;else{r=n.get$values(n);r=1/r.get$first(r)}return r},_number$_exception$2(e,r){return new s.SassScriptException(r==null?e:"$"+r+": "+e)}};s.SassNumber__coerceOrConvertValue__compatibilityException.prototype={call$0(){var e,r,n,i,a,l,_=this,c=_.other;if(c!=null){e=_.$this;r=e.toString$0(0)+" and";n=new s.StringBuffer(r);i=_.otherName;if(i!=null)r=n._contents=r+(" $"+i+":");c=r+(" "+c.toString$0(0)+" have incompatible units");n._contents=c;if(!e.get$hasUnits()||!_.otherHasUnits)n._contents=c+" (one has units and the other doesn't)";c=n.toString$0(0)+".";e=_.name;return new s.SassScriptException(e==null?c:"$"+e+": "+c)}else if(!_.otherHasUnits){c="Expected "+_.$this.toString$0(0)+" to have no units.";e=_.name;return new s.SassScriptException(e==null?c:"$"+e+": "+c)}else{c=_.newNumerators;if(c.length===1&&_.newDenominators.length===0){a=u.$get$_typesByUnit().$index(0,o.JSArray_methods.get$first(c));if(a!=null){c=_.$this.toString$0(0);e=o.JSArray_methods.contains$1(s._setArrayType([97,101,105,111,117],$.JSArray_int),o.JSString_methods._codeUnitAt$1(a,0))?"an "+a:"a "+a;r=o.Map_U8AHF.$index(0,a);r.toString;r="Expected "+c+" to have "+e+" unit ("+o.JSArray_methods.join$1(r,", ")+").";e=_.name;return new s.SassScriptException(e==null?r:"$"+e+": "+r)}}e=_.newDenominators;l=s.pluralize("unit",c.length+e.length,null);r=_.$this;e="Expected "+r.toString$0(0)+" to have "+l+" "+r._unitString$2(c,e)+".";c=_.name;return new s.SassScriptException(c==null?e:"$"+c+": "+e)}},$signature:329};s.SassNumber__coerceOrConvertValue_closure.prototype={call$1(e){var r=s.conversionFactor(this.newNumerator,e);if(r==null)return false;this._box_0.value*=r;return true},$signature:8};s.SassNumber__coerceOrConvertValue_closure0.prototype={call$0(){return s.throwExpression(this._compatibilityException.call$0())},$signature:0};s.SassNumber__coerceOrConvertValue_closure1.prototype={call$1(e){var r=s.conversionFactor(this.newDenominator,e);if(r==null)return false;this._box_0.value/=r;return true},$signature:8};s.SassNumber__coerceOrConvertValue_closure2.prototype={call$0(){return s.throwExpression(this._compatibilityException.call$0())},$signature:0};s.SassNumber_plus_closure.prototype={call$2(e,r){return e+r},$signature:56};s.SassNumber_minus_closure.prototype={call$2(e,r){return e-r},$signature:56};s.SassNumber_multiplyUnits_closure.prototype={call$1(e){var r=s.conversionFactor(this.numerator,e);if(r==null)return false;this._box_0.value/=r;return true},$signature:8};s.SassNumber_multiplyUnits_closure0.prototype={call$0(){return this.newNumerators.push(this.numerator)},$signature:0};s.SassNumber_multiplyUnits_closure1.prototype={call$1(e){var r=s.conversionFactor(this.numerator,e);if(r==null)return false;this._box_0.value/=r;return true},$signature:8};s.SassNumber_multiplyUnits_closure2.prototype={call$0(){return this.newNumerators.push(this.numerator)},$signature:0};s.SassNumber__areAnyConvertible_closure.prototype={call$1(e){var r=o.Map_K2BWj.$index(0,e);if(r==null)return o.JSArray_methods.contains$1(this.units2,e);return o.JSArray_methods.any$1(this.units2,r.get$containsKey())},$signature:8};s.SassNumber__canonicalizeUnitList_closure.prototype={call$1(e){var r,n=u.$get$_typesByUnit().$index(0,e);if(n==null)r=e;else{r=o.Map_U8AHF.$index(0,n);r.toString;r=o.JSArray_methods.get$first(r)}return r},$signature:5};s.SassNumber__canonicalMultiplier_closure.prototype={call$2(e,r){return e*this.$this.canonicalMultiplierForUnit$1(r)},$signature:164};s.ComplexSassNumber.prototype={get$numeratorUnits(e){return this._numeratorUnits},get$denominatorUnits(e){return this._denominatorUnits},get$hasUnits(){return true},hasUnit$1(e){return false},compatibleWithUnit$1(e){return false},hasPossiblyCompatibleUnits$1(e){throw s.wrapException(s.UnimplementedError$(c.Comple))},withValue$1(e){return new s.ComplexSassNumber(this._numeratorUnits,this._denominatorUnits,e,null)},withSlash$2(e,r){return new s.ComplexSassNumber(this._numeratorUnits,this._denominatorUnits,this._number$_value,new s.Tuple2(e,r,$.Tuple2_SassNumber_SassNumber))}};s.SingleUnitSassNumber.prototype={get$numeratorUnits(e){return s.List_List$unmodifiable([this._unit],$.String)},get$denominatorUnits(e){return o.List_empty},get$hasUnits(){return true},withValue$1(e){return new s.SingleUnitSassNumber(this._unit,e,null)},withSlash$2(e,r){return new s.SingleUnitSassNumber(this._unit,this._number$_value,new s.Tuple2(e,r,$.Tuple2_SassNumber_SassNumber))},hasUnit$1(e){return e===this._unit},hasCompatibleUnits$1(e){return e instanceof s.SingleUnitSassNumber&&s.conversionFactor(this._unit,e._unit)!=null},hasPossiblyCompatibleUnits$1(e){var r,n,i;if(!(e instanceof s.SingleUnitSassNumber))return false;r=u.$get$_knownCompatibilitiesByUnit();n=r.$index(0,this._unit.toLowerCase());if(n==null)return true;i=e._unit.toLowerCase();return n.contains$1(0,i)||!r.containsKey$1(i)},compatibleWithUnit$1(e){return s.conversionFactor(this._unit,e)!=null},coerceValueToMatch$1(e){var r=e instanceof s.SingleUnitSassNumber?this._coerceValueToUnit$1(e._unit):null;return r==null?this.super$SassNumber$coerceValueToMatch(e,null,null):r},convertValueToMatch$3(e,r,n){var i=e instanceof s.SingleUnitSassNumber?this._coerceValueToUnit$1(e._unit):null;return i==null?this.super$SassNumber$convertValueToMatch(e,r,n):i},coerce$2(e,r){var n=e.length===1&&r.length===0?this._coerceToUnit$1(e[0]):null;return n==null?this.super$SassNumber$coerce(e,r,null):n},coerceValue$3(e,r,n){var i=e.length===1&&r.length===0?this._coerceValueToUnit$1(e[0]):null;return i==null?this.super$SassNumber$coerceValue(e,r,n):i},coerceValueToUnit$2(e,r){var n=this._coerceValueToUnit$1(e);return n==null?this.super$SassNumber$coerceValueToUnit(e,r):n},_coerceToUnit$1(e){var r=this._unit;if(r===e)return this;return s.NullableExtension_andThen(s.conversionFactor(e,r),new s.SingleUnitSassNumber__coerceToUnit_closure(this,e))},_coerceValueToUnit$1(e){return s.NullableExtension_andThen(s.conversionFactor(e,this._unit),new s.SingleUnitSassNumber__coerceValueToUnit_closure(this))},multiplyUnits$3(e,r,n){var i,a={};a.value=e;a.newNumerators=r;i=s._setArrayType(n.slice(0),s._arrayInstanceType(n));s.removeFirstWhere(i,new s.SingleUnitSassNumber_multiplyUnits_closure(a,this),new s.SingleUnitSassNumber_multiplyUnits_closure0(a,this));return s.SassNumber_SassNumber$withUnits(a.value,i,a.newNumerators)},unaryMinus$0(){return new s.SingleUnitSassNumber(this._unit,-this._number$_value,null)},$eq(e,r){var n;if(r==null)return false;if(r instanceof s.SingleUnitSassNumber){n=s.conversionFactor(r._unit,this._unit);return n!=null&&Math.abs(this._number$_value*n-r._number$_value)n&&!(Math.abs(r-n)n||Math.abs(r-n)>");l=s.List_List$of(new s.MappedListIterable(l,new s._EvaluateVisitor__combineCss_closure4,u),true,u._eval$1("ListIterable.E"))}g._async_evaluate$_extendModules$1(l);u=$.JSArray_CssNode;_=s._setArrayType([],u);c=s._setArrayType([],u);for(u=a.get$reversed$ax(l),u=new s.ListIterator(u,u.get$length(u)),p=s._instanceType(u)._precomputed1;u.moveNext$0();){h=u.__internal$_current;if(h==null)h=p._as(h);h=h.get$css(h);d=h.get$children(h);m=g._async_evaluate$_indexAfterImports$1(d);h=a.getInterceptor$ax(d);o.JSArray_methods.addAll$1(_,h.getRange$2(d,0,m));o.JSArray_methods.addAll$1(c,h.getRange$2(d,m,h.get$length(d)))}u=o.JSArray_methods.$add(_,c);p=e.get$css(e);return new s.CssStylesheet(new s.UnmodifiableListView(u,$.UnmodifiableListView_CssNode),p.get$span(p))},_async_evaluate$_combineCss$1(e){return this._async_evaluate$_combineCss$2$clone(e,false)},_async_evaluate$_extendModules$1(e){var r,n,i,o,l,u,_,c,p,h=s.LinkedHashMap_LinkedHashMap$_empty($.Uri,$.List_ExtensionStore),d=new s._LinkedIdentityHashSet($._LinkedIdentityHashSet_Extension);for(r=a.get$iterator$ax(e);r.moveNext$0();){n=r.get$current(r);i=n.get$extensionStore().get$simpleSelectors().toSet$0(0);d.addAll$1(0,n.get$extensionStore().extensionsWhereTarget$1(new s._EvaluateVisitor__extendModules_closure1(i)));o=h.$index(0,n.get$url(n));l=n.get$extensionStore().get$addExtensions();if(o!=null)l.call$1(o);l=n.get$extensionStore();if(l.get$isEmpty(l))continue;for(l=n.get$upstream(),u=l.length,_=0;_d?-1:1;if(h===(!e.isExclusive?o.to=d+m:d)){i=null;r=1;break}i=a._async_evaluate$_environment.scope$1$2$semiGlobal(new s._EvaluateVisitor_visitForRule_closure8(o,a,e,h,m,_),true,$.nullable_Value);r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(g,n)},visitForwardRule$1(e){return this.visitForwardRule$body$_EvaluateVisitor(e)},visitForwardRule$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.nullable_Value),i,o=this,l,u,_,c,p,h,d,m,g,f;var y=s._wrapJsFunctionForAsync((function(S,v){if(S===1)return s._asyncRethrow(v,n);while(true)switch(r){case 0:h=o._async_evaluate$_configuration;d=h.throughForward$1(e);m=e.configuration;g=m.length;f=e.url;r=g!==0?3:5;break;case 3:r=6;return s._asyncAwait(o._async_evaluate$_addForwardConfiguration$2(d,e),y);case 6:l=v;r=7;return s._asyncAwait(o._async_evaluate$_loadModule$5$configuration(f,"@forward",e,new s._EvaluateVisitor_visitForwardRule_closure1(o,e),l),y);case 7:f=$.String;u=s.LinkedHashSet_LinkedHashSet$_empty(f);for(_=0;_0)l=f.$index(m,0);else{_=g.$index(0,"condition");_.toString;l=_}if(f.get$length(m)>1)c=f.$index(m,1);else{_=g.$index(0,"if-true");_.toString;c=_}if(f.get$length(m)>2)p=f.$index(m,2);else{f=g.$index(0,"if-false");f.toString;p=f}r=4;return s._asyncAwait(l.accept$1(o),y);case 4:h=S.get$isTruthy()?c:p;r=5;return s._asyncAwait(h.accept$1(o),y);case 5:i=o._async_evaluate$_withoutSlash$2(S,o._async_evaluate$_expressionNode$1(h));r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(y,n)},visitNullExpression$1(e){return this.visitNullExpression$body$_EvaluateVisitor(e)},visitNullExpression$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.Value),i;var a=s._wrapJsFunctionForAsync((function(e,a){if(e===1)return s._asyncRethrow(a,n);while(true)switch(r){case 0:i=o.C__SassNull;r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(a,n)},visitNumberExpression$1(e){return this.visitNumberExpression$body$_EvaluateVisitor(e)},visitNumberExpression$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.SassNumber),i,a,o;var l=s._wrapJsFunctionForAsync((function(l,u){if(l===1)return s._asyncRethrow(u,n);while(true)switch(r){case 0:a=e.value;o=e.unit;i=o==null?new s.UnitlessSassNumber(a,null):new s.SingleUnitSassNumber(o,a,null);r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(l,n)},visitParenthesizedExpression$1(e){return e.expression.accept$1(this)},visitCalculationExpression$1(e){return this.visitCalculationExpression$body$_EvaluateVisitor(e)},visitCalculationExpression$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.Value),i,o=[],l=this,u,_,c,p,h,d,m,g,f,y,S,v,b;var x=s._wrapJsFunctionForAsync((function(o,S){if(o===1)return s._asyncRethrow(S,n);while(true)e:switch(r){case 0:v=s._setArrayType([],$.JSArray_Object);p=e.$arguments,h=p.length,d=e.name,m=d!=="min",g=d==="max",f=0;case 3:if(!(f1?a.$index$asx(u,1):null;v=s.SassCalculation_clamp(v,h,a.get$length$asx(u)>2?a.$index$asx(u,2):null);i=v;r=1;break e;default:v=s.UnsupportedError$('Unknown calculation name "'+d+'".');throw s.wrapException(v)}}catch(r){v=s.unwrapException(r);if(v instanceof s.SassScriptException){_=v;c=s.getTraceFromException(r);l._async_evaluate$_verifyCompatibleNumbers$2(u,p);s.throwWithTrace(l._async_evaluate$_exception$2(_.message,e.span),c)}else throw r}case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(x,n)},_async_evaluate$_verifyCompatibleNumbers$2(e,r){var n,i,o,l,u,_;for(n=0;i=e.length,n1||o.get$denominatorUnits(o).length!==0)throw s.wrapException(this._async_evaluate$_exception$2("Number "+o.toString$0(0)+" isn't compatible with CSS calculations.",a.get$span$z(r[n])))}for(n=0;nI){k=o.JSArray_methods.sublist$1(O.positional,I);o.JSArray_methods.removeRange$2(O.positional,I,O.positional.length)}else k=o.List_empty7;I=O.named;F=s.SassArgumentList$(k,I,O.separator===o.ListSeparator_undecided_null?o.ListSeparator_kWM:O.separator);O.positional.push(F)}else F=null;m=null;_=11;i=14;return s._asyncAwait(d.call$1(O.positional),z);case 14:m=T;_=2;i=13;break;case 11:_=10;D=c;I=s.unwrapException(D);if($.SassRuntimeException._is(I))throw D;else if(I instanceof s.MultiSpanSassScriptException){g=I;f=s.getTraceFromException(D);I=g.message;L=n.get$span(n);R=g.primaryLabel;N=g.secondarySpans;s.throwWithTrace(new s.MultiSpanSassRuntimeException(h._async_evaluate$_stackTrace$1(n.get$span(n)),R,s.ConstantMap_ConstantMap$from(N,$.FileSpan,$.String),I,L),f)}else if(I instanceof s.MultiSpanSassException){y=I;S=s.getTraceFromException(D);I=y._span_exception$_message;L=y;R=a.getInterceptor$z(L);L=s.SourceSpanException.prototype.get$span.call(R,L);R=y.primaryLabel;N=y.secondarySpans;U=y;J=a.getInterceptor$z(U);s.throwWithTrace(new s.MultiSpanSassRuntimeException(h._async_evaluate$_stackTrace$1(s.SourceSpanException.prototype.get$span.call(J,U)),R,s.ConstantMap_ConstantMap$from(N,$.FileSpan,$.String),I,L),S)}else{v=I;b=s.getTraceFromException(D);x=null;try{x=s._asString(a.get$message$x(v))}catch(e){P=a.toString$0$(v);x=P}s.throwWithTrace(h._async_evaluate$_exception$2(x,n.get$span(n)),b)}i=13;break;case 10:i=2;break;case 13:h._async_evaluate$_callableNode=B;if(F==null){u=m;i=1;break}if(O.named.__js_helper$_length===0){u=m;i=1;break}if(F._wereKeywordsAccessed){u=m;i=1;break}I=O.named;I=I.get$keys(I);I=s.pluralize("argument",I.get$length(I),null);L=O.named;throw s.wrapException(s.MultiSpanSassRuntimeException$("No "+I+" named "+s.S(s.toSentence(L.get$keys(L).map$1$1(0,new s._EvaluateVisitor__runBuiltInCallable_closure2,$.Object),"or"))+".",n.get$span(n),"invocation",s.LinkedHashMap_LinkedHashMap$_literal([E.get$spanWithName(),"declaration"],$.FileSpan,$.String),h._async_evaluate$_stackTrace$1(n.get$span(n))));case 1:return s._asyncReturn(u,l);case 2:return s._asyncRethrow(c,l)}}));return s._asyncStartSync(z,l)},_async_evaluate$_evaluateArguments$1(e){return this._evaluateArguments$body$_EvaluateVisitor(e)},_evaluateArguments$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($._ArgumentResults),i,l=this,u,_,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A,M,I,V,L;var R=s._wrapJsFunctionForAsync((function(k,F){if(k===1)return s._asyncRethrow(F,n);while(true)switch(r){case 0:M=s._setArrayType([],$.JSArray_Value);I=s._setArrayType([],$.JSArray_AstNode);u=e.positional,_=u.length,p=0;case 3:if(!(p<_)){r=5;break}h=u[p];d=l._async_evaluate$_expressionNode$1(h);V=M;r=6;return s._asyncAwait(h.accept$1(l),R);case 6:V.push(l._async_evaluate$_withoutSlash$2(F,d));I.push(d);case 4:++p;r=3;break;case 5:u=$.String;m=s.LinkedHashMap_LinkedHashMap$_empty(u,$.Value);_=$.AstNode;g=s.LinkedHashMap_LinkedHashMap$_empty(u,_);f=e.named,f=f.get$entries(f),f=f.get$iterator(f);case 7:if(!f.moveNext$0()){r=8;break}y=f.get$current(f);S=y.value;d=l._async_evaluate$_expressionNode$1(S);y=y.key;V=m;L=y;r=9;return s._asyncAwait(S.accept$1(l),R);case 9:V.$indexSet(0,L,l._async_evaluate$_withoutSlash$2(F,d));g.$indexSet(0,y,d);r=7;break;case 8:v=e.rest;if(v==null){i=new s._ArgumentResults0(M,I,m,g,o.ListSeparator_undecided_null);r=1;break}r=10;return s._asyncAwait(v.accept$1(l),R);case 10:b=F;x=l._async_evaluate$_expressionNode$1(v);if(b instanceof s.SassMap){l._async_evaluate$_addRestMap$4(m,b,v,new s._EvaluateVisitor__evaluateArguments_closure3);f=s.LinkedHashMap_LinkedHashMap$_empty(u,_);for(y=b._map$_contents,y=a.get$iterator$ax(y.get$keys(y)),S=$.SassString;y.moveNext$0();)f.$indexSet(0,S._as(y.get$current(y))._string$_text,x);g.addAll$1(0,f);w=o.ListSeparator_undecided_null}else if(b instanceof s.SassList){f=b._list$_contents;o.JSArray_methods.addAll$1(M,new s.MappedListIterable(f,new s._EvaluateVisitor__evaluateArguments_closure4(l,x),s._arrayInstanceType(f)._eval$1("MappedListIterable<1,Value>")));o.JSArray_methods.addAll$1(I,s.List_List$filled(f.length,x,false,_));w=b._separator;if(b instanceof s.SassArgumentList){b._wereKeywordsAccessed=true;b._keywords.forEach$1(0,new s._EvaluateVisitor__evaluateArguments_closure5(l,m,x,g))}}else{M.push(l._async_evaluate$_withoutSlash$2(b,x));I.push(x);w=o.ListSeparator_undecided_null}C=e.keywordRest;if(C==null){i=new s._ArgumentResults0(M,I,m,g,w);r=1;break}r=11;return s._asyncAwait(C.accept$1(l),R);case 11:E=F;A=l._async_evaluate$_expressionNode$1(C);if(E instanceof s.SassMap){l._async_evaluate$_addRestMap$4(m,E,C,new s._EvaluateVisitor__evaluateArguments_closure6);u=s.LinkedHashMap_LinkedHashMap$_empty(u,_);for(_=E._map$_contents,_=a.get$iterator$ax(_.get$keys(_)),f=$.SassString;_.moveNext$0();)u.$indexSet(0,f._as(_.get$current(_))._string$_text,A);g.addAll$1(0,u);i=new s._ArgumentResults0(M,I,m,g,w);r=1;break}else throw s.wrapException(l._async_evaluate$_exception$2(c.Variabs+E.toString$0(0)+").",C.get$span(C)));case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(R,n)},_async_evaluate$_evaluateMacroArguments$1(e){return this._evaluateMacroArguments$body$_EvaluateVisitor(e)},_evaluateMacroArguments$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.Tuple2_of_List_Expression_and_Map_String_Expression),i,a=this,l,u,_,p,h,d,m,g,f,y;var S=s._wrapJsFunctionForAsync((function(v,b){if(v===1)return s._asyncRethrow(b,n);while(true)switch(r){case 0:f=e.$arguments;y=f.rest;if(y==null){i=new s.Tuple2(f.positional,f.named,$.Tuple2_of_List_Expression_and_Map_String_Expression);r=1;break}l=f.positional;u=s._setArrayType(l.slice(0),s._arrayInstanceType(l));_=s.LinkedHashMap_LinkedHashMap$of(f.named,$.String,$.Expression);r=3;return s._asyncAwait(y.accept$1(a),S);case 3:p=b;h=a._async_evaluate$_expressionNode$1(y);if(p instanceof s.SassMap)a._async_evaluate$_addRestMap$4(_,p,e,new s._EvaluateVisitor__evaluateMacroArguments_closure3(y));else if(p instanceof s.SassList){l=p._list$_contents;o.JSArray_methods.addAll$1(u,new s.MappedListIterable(l,new s._EvaluateVisitor__evaluateMacroArguments_closure4(a,h,y),s._arrayInstanceType(l)._eval$1("MappedListIterable<1,Expression>")));if(p instanceof s.SassArgumentList){p._wereKeywordsAccessed=true;p._keywords.forEach$1(0,new s._EvaluateVisitor__evaluateMacroArguments_closure5(a,_,h,y))}}else u.push(new s.ValueExpression(a._async_evaluate$_withoutSlash$2(p,h),y.get$span(y)));d=f.keywordRest;if(d==null){i=new s.Tuple2(u,_,$.Tuple2_of_List_Expression_and_Map_String_Expression);r=1;break}r=4;return s._asyncAwait(d.accept$1(a),S);case 4:m=b;g=a._async_evaluate$_expressionNode$1(d);if(m instanceof s.SassMap){a._async_evaluate$_addRestMap$4(_,m,e,new s._EvaluateVisitor__evaluateMacroArguments_closure6(a,g,d));i=new s.Tuple2(u,_,$.Tuple2_of_List_Expression_and_Map_String_Expression);r=1;break}else throw s.wrapException(a._async_evaluate$_exception$2(c.Variabs+m.toString$0(0)+").",d.get$span(d)));case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(S,n)},_async_evaluate$_addRestMap$1$4(e,r,n,i){r._map$_contents.forEach$1(0,new s._EvaluateVisitor__addRestMap_closure0(this,e,i,this._async_evaluate$_expressionNode$1(n),r,n))},_async_evaluate$_addRestMap$4(e,r,n,i){return this._async_evaluate$_addRestMap$1$4(e,r,n,i,$.dynamic)},_async_evaluate$_verifyArguments$4(e,r,n,i){return this._async_evaluate$_addExceptionSpan$2(i,new s._EvaluateVisitor__verifyArguments_closure0(n,e,r))},visitSelectorExpression$1(e){return this.visitSelectorExpression$body$_EvaluateVisitor(e)},visitSelectorExpression$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.Value),i,a=this,l;var u=s._wrapJsFunctionForAsync((function(e,u){if(e===1)return s._asyncRethrow(u,n);while(true)switch(r){case 0:l=a._async_evaluate$_styleRuleIgnoringAtRoot;l=l==null?null:l.originalSelector.get$asSassList();i=l==null?o.C__SassNull:l;r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(u,n)},visitStringExpression$1(e){return this.visitStringExpression$body$_EvaluateVisitor(e)},visitStringExpression$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.SassString),i,o=this,l,u,_;var c=s._wrapJsFunctionForAsync((function(p,h){if(p===1)return s._asyncRethrow(h,n);while(true)switch(r){case 0:u=o._async_evaluate$_inSupportsDeclaration;o._async_evaluate$_inSupportsDeclaration=false;_=a;r=3;return s._asyncAwait(s.mapAsync(e.text.contents,new s._EvaluateVisitor_visitStringExpression_closure0(o),$.Object,$.String),c);case 3:l=_.join$0$ax(h);o._async_evaluate$_inSupportsDeclaration=u;i=new s.SassString(l,e.hasQuotes);r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(c,n)},visitSupportsExpression$1(e){return this.visitSupportsExpression$body$_EvaluateVisitor(e)},visitSupportsExpression$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.SassString),i,a=this,o;var l=s._wrapJsFunctionForAsync((function(u,_){if(u===1)return s._asyncRethrow(_,n);while(true)switch(r){case 0:o=s;r=3;return s._asyncAwait(a._async_evaluate$_visitSupportsCondition$1(e.condition),l);case 3:i=new o.SassString(_,false);r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(l,n)},visitCssAtRule$1(e){return this.visitCssAtRule$body$_EvaluateVisitor(e)},visitCssAtRule$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i,a=this,o,l,u;var _=s._wrapJsFunctionForAsync((function(p,h){if(p===1)return s._asyncRethrow(h,n);while(true)switch(r){case 0:if(a._async_evaluate$_declarationName!=null)throw s.wrapException(a._async_evaluate$_exception$2(c.At_rul,e.span));if(e.isChildless){a._async_evaluate$_assertInModule$2(a._async_evaluate$__parent,"__parent").addChild$1(s.ModifiableCssAtRule$(e.name,e.span,true,e.value));r=1;break}o=a._async_evaluate$_inKeyframes;l=a._async_evaluate$_inUnknownAtRule;u=e.name;if(s.unvendor(u.get$value(u))==="keyframes")a._async_evaluate$_inKeyframes=true;else a._async_evaluate$_inUnknownAtRule=true;r=3;return s._asyncAwait(a._async_evaluate$_withParent$2$4$scopeWhen$through(s.ModifiableCssAtRule$(u,e.span,false,e.value),new s._EvaluateVisitor_visitCssAtRule_closure1(a,e),false,new s._EvaluateVisitor_visitCssAtRule_closure2,$.ModifiableCssAtRule,$.Null),_);case 3:a._async_evaluate$_inUnknownAtRule=l;a._async_evaluate$_inKeyframes=o;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(_,n)},visitCssComment$1(e){return this.visitCssComment$body$_EvaluateVisitor(e)},visitCssComment$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this;var o=s._wrapJsFunctionForAsync((function(o,l){if(o===1)return s._asyncRethrow(l,n);while(true)switch(r){case 0:if(i._async_evaluate$_assertInModule$2(i._async_evaluate$__parent,"__parent")===i._async_evaluate$_assertInModule$2(i._async_evaluate$__root,"_root")&&i._async_evaluate$_assertInModule$2(i._async_evaluate$__endOfImports,"_endOfImports")===a.get$length$asx(i._async_evaluate$_assertInModule$2(i._async_evaluate$__root,"_root").children._collection$_source))i._async_evaluate$__endOfImports=i._async_evaluate$_assertInModule$2(i._async_evaluate$__endOfImports,"_endOfImports")+1;i._async_evaluate$_assertInModule$2(i._async_evaluate$__parent,"__parent").addChild$1(new s.ModifiableCssComment(e.text,e.span));return s._asyncReturn(null,n)}}));return s._asyncStartSync(o,n)},visitCssDeclaration$1(e){return this.visitCssDeclaration$body$_EvaluateVisitor(e)},visitCssDeclaration$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this,o;var l=s._wrapJsFunctionForAsync((function(l,u){if(l===1)return s._asyncRethrow(u,n);while(true)switch(r){case 0:o=e.name;i._async_evaluate$_assertInModule$2(i._async_evaluate$__parent,"__parent").addChild$1(s.ModifiableCssDeclaration$(o,e.value,e.span,a.startsWith$1$s(o.get$value(o),"--"),e.valueSpanForMap));return s._asyncReturn(null,n)}}));return s._asyncStartSync(l,n)},visitCssImport$1(e){return this.visitCssImport$body$_EvaluateVisitor(e)},visitCssImport$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this,o,l;var u=s._wrapJsFunctionForAsync((function(u,_){if(u===1)return s._asyncRethrow(_,n);while(true)switch(r){case 0:l=new s.ModifiableCssImport(e.url,e.modifiers,e.span);if(i._async_evaluate$_assertInModule$2(i._async_evaluate$__parent,"__parent")!==i._async_evaluate$_assertInModule$2(i._async_evaluate$__root,"_root"))i._async_evaluate$_assertInModule$2(i._async_evaluate$__parent,"__parent").addChild$1(l);else if(i._async_evaluate$_assertInModule$2(i._async_evaluate$__endOfImports,"_endOfImports")===a.get$length$asx(i._async_evaluate$_assertInModule$2(i._async_evaluate$__root,"_root").children._collection$_source)){i._async_evaluate$_assertInModule$2(i._async_evaluate$__root,"_root").addChild$1(l);i._async_evaluate$__endOfImports=i._async_evaluate$_assertInModule$2(i._async_evaluate$__endOfImports,"_endOfImports")+1}else{o=i._async_evaluate$_outOfOrderImports;(o==null?i._async_evaluate$_outOfOrderImports=s._setArrayType([],$.JSArray_ModifiableCssImport):o).push(l)}return s._asyncReturn(null,n)}}));return s._asyncStartSync(u,n)},visitCssKeyframeBlock$1(e){return this.visitCssKeyframeBlock$body$_EvaluateVisitor(e)},visitCssKeyframeBlock$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this;var a=s._wrapJsFunctionForAsync((function(o,l){if(o===1)return s._asyncRethrow(l,n);while(true)switch(r){case 0:r=2;return s._asyncAwait(i._async_evaluate$_withParent$2$4$scopeWhen$through(s.ModifiableCssKeyframeBlock$(e.selector,e.span),new s._EvaluateVisitor_visitCssKeyframeBlock_closure1(i,e),false,new s._EvaluateVisitor_visitCssKeyframeBlock_closure2,$.ModifiableCssKeyframeBlock,$.Null),a);case 2:return s._asyncReturn(null,n)}}));return s._asyncStartSync(a,n)},visitCssMediaRule$1(e){return this.visitCssMediaRule$body$_EvaluateVisitor(e)},visitCssMediaRule$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i,o=this,l,u;var _=s._wrapJsFunctionForAsync((function(p,h){if(p===1)return s._asyncRethrow(h,n);while(true)switch(r){case 0:if(o._async_evaluate$_declarationName!=null)throw s.wrapException(o._async_evaluate$_exception$2(c.Media_,e.span));l=s.NullableExtension_andThen(o._async_evaluate$_mediaQueries,new s._EvaluateVisitor_visitCssMediaRule_closure2(o,e));u=l==null;if(!u&&a.get$isEmpty$asx(l)){r=1;break}u=u?e.queries:l;r=3;return s._asyncAwait(o._async_evaluate$_withParent$2$4$scopeWhen$through(s.ModifiableCssMediaRule$(u,e.span),new s._EvaluateVisitor_visitCssMediaRule_closure3(o,l,e),false,new s._EvaluateVisitor_visitCssMediaRule_closure4(l),$.ModifiableCssMediaRule,$.Null),_);case 3:case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(_,n)},visitCssStyleRule$1(e){return this.visitCssStyleRule$body$_EvaluateVisitor(e)},visitCssStyleRule$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this,a,o,l,u,_,p,h,d,m;var g=s._wrapJsFunctionForAsync((function(f,y){if(f===1)return s._asyncRethrow(y,n);while(true)switch(r){case 0:if(i._async_evaluate$_declarationName!=null)throw s.wrapException(i._async_evaluate$_exception$2(c.Style_,e.span));a=i._async_evaluate$_atRootExcludingStyleRule;o=a?null:i._async_evaluate$_styleRuleIgnoringAtRoot;l=e.selector;u=l.value;_=o==null;p=_?null:o.originalSelector;h=u.resolveParentSelectors$2$implicitParent(p,!a);d=s.ModifiableCssStyleRule$(i._async_evaluate$_assertInModule$2(i._async_evaluate$__extensionStore,"_extensionStore").addSelector$3(h,l.span,i._async_evaluate$_mediaQueries),e.span,h);m=i._async_evaluate$_atRootExcludingStyleRule;i._async_evaluate$_atRootExcludingStyleRule=false;r=2;return s._asyncAwait(i._async_evaluate$_withParent$2$4$scopeWhen$through(d,new s._EvaluateVisitor_visitCssStyleRule_closure1(i,d,e),false,new s._EvaluateVisitor_visitCssStyleRule_closure2,$.ModifiableCssStyleRule,$.Null),g);case 2:i._async_evaluate$_atRootExcludingStyleRule=m;if(_){a=i._async_evaluate$_assertInModule$2(i._async_evaluate$__parent,"__parent").children;a=!a.get$isEmpty(a)}else a=false;if(a){a=i._async_evaluate$_assertInModule$2(i._async_evaluate$__parent,"__parent").children;a.get$last(a).isGroupEnd=true}return s._asyncReturn(null,n)}}));return s._asyncStartSync(g,n)},visitCssStylesheet$1(e){return this.visitCssStylesheet$body$_EvaluateVisitor(e)},visitCssStylesheet$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this,o;var l=s._wrapJsFunctionForAsync((function(u,_){if(u===1)return s._asyncRethrow(_,n);while(true)switch(r){case 0:o=a.get$iterator$ax(e.get$children(e));case 2:if(!o.moveNext$0()){r=3;break}r=4;return s._asyncAwait(o.get$current(o).accept$1(i),l);case 4:r=2;break;case 3:return s._asyncReturn(null,n)}}));return s._asyncStartSync(l,n)},visitCssSupportsRule$1(e){return this.visitCssSupportsRule$body$_EvaluateVisitor(e)},visitCssSupportsRule$body$_EvaluateVisitor(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this;var a=s._wrapJsFunctionForAsync((function(o,l){if(o===1)return s._asyncRethrow(l,n);while(true)switch(r){case 0:if(i._async_evaluate$_declarationName!=null)throw s.wrapException(i._async_evaluate$_exception$2(c.Suppor,e.span));r=2;return s._asyncAwait(i._async_evaluate$_withParent$2$4$scopeWhen$through(s.ModifiableCssSupportsRule$(e.condition,e.span),new s._EvaluateVisitor_visitCssSupportsRule_closure1(i,e),false,new s._EvaluateVisitor_visitCssSupportsRule_closure2,$.ModifiableCssSupportsRule,$.Null),a);case 2:return s._asyncReturn(null,n)}}));return s._asyncStartSync(a,n)},_async_evaluate$_handleReturn$1$2(e,r){return this._handleReturn$body$_EvaluateVisitor(e,r)},_async_evaluate$_handleReturn$2(e,r){return this._async_evaluate$_handleReturn$1$2(e,r,$.dynamic)},_handleReturn$body$_EvaluateVisitor(e,r){var n=0,i=s._makeAsyncAwaitCompleter($.nullable_Value),a,o,l,u;var _=s._wrapJsFunctionForAsync((function(c,$){if(c===1)return s._asyncRethrow($,i);while(true)switch(n){case 0:o=e.length,l=0;case 3:if(!(l")),true,$.Frame);if(e!=null)n.push(r._async_evaluate$_stackFrame$2(r._async_evaluate$_member,e));return s.Trace$(new s.ReversedListIterable(n,s._arrayInstanceType(n)._eval$1("ReversedListIterable<1>")),null)},_async_evaluate$_stackTrace$0(){return this._async_evaluate$_stackTrace$1(null)},_async_evaluate$_warn$3$deprecation(e,r,n){var i,a=this;if(a._async_evaluate$_quietDeps)if(!a._async_evaluate$_inDependency){i=a._async_evaluate$_currentCallable;i=i==null?null:i.inDependency;i=i===true}else i=true;else i=false;if(i)return;if(!a._async_evaluate$_warningsEmitted.add$1(0,new s.Tuple2(e,r,$.Tuple2_String_SourceSpan)))return;a._async_evaluate$_logger.warn$4$deprecation$span$trace(0,e,n,r,a._async_evaluate$_stackTrace$1(r))},_async_evaluate$_warn$2(e,r){return this._async_evaluate$_warn$3$deprecation(e,r,false)},_async_evaluate$_exception$2(e,r){var n=r==null?a.get$span$z(o.JSArray_methods.get$last(this._async_evaluate$_stack).item2):r;return new s.SassRuntimeException(this._async_evaluate$_stackTrace$1(r),e,n)},_async_evaluate$_exception$1(e){return this._async_evaluate$_exception$2(e,null)},_async_evaluate$_multiSpanException$3(e,r,n){var i=a.get$span$z(o.JSArray_methods.get$last(this._async_evaluate$_stack).item2);return new s.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$0(),r,s.ConstantMap_ConstantMap$from(n,$.FileSpan,$.String),e,i)},_async_evaluate$_adjustParseError$1$2(e,r){var n,i,l,u,_,c,$,p,h,d,m,g,f,y=null;try{$=r.call$0();return $}catch(p){$=s.unwrapException(p);if($ instanceof s.SassFormatException){n=$;i=s.getTraceFromException(p);$=n;h=a.getInterceptor$z($);$=s.SourceSpanException.prototype.get$span.call(h,$);l=s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2($.get$file($)._decodedChars,0,y),0,y);u=e.get$span(e);_=o.JSString_methods.replaceRange$3(s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(a.get$file$x(u)._decodedChars,0,y),0,y),a.get$start$z(u).offset,a.get$end$z(u).offset,l);$=s.SourceFile$fromString(_,a.get$file$x(u).url);h=a.get$start$z(u);d=n;m=a.getInterceptor$z(d);d=s.SourceSpanException.prototype.get$span.call(m,d);d=d.get$start(d);m=a.get$start$z(u);g=n;f=a.getInterceptor$z(g);g=s.SourceSpanException.prototype.get$span.call(f,g);c=$.span$2(0,h.offset+d.offset,m.offset+g.get$end(g).offset);s.throwWithTrace(this._async_evaluate$_exception$2(n._span_exception$_message,c),i)}else throw p}},_async_evaluate$_adjustParseError$2(e,r){return this._async_evaluate$_adjustParseError$1$2(e,r,$.dynamic)},_async_evaluate$_addExceptionSpan$1$2(e,r){var n,i,a,o,l,u,_,c,p;try{l=r.call$0();return l}catch(u){l=s.unwrapException(u);if(l instanceof s.MultiSpanSassScriptException){n=l;i=s.getTraceFromException(u);l=n.message;_=e.get$span(e);c=n.primaryLabel;p=n.secondarySpans;s.throwWithTrace(new s.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$1(e.get$span(e)),c,s.ConstantMap_ConstantMap$from(p,$.FileSpan,$.String),l,_),i)}else if(l instanceof s.SassScriptException){a=l;o=s.getTraceFromException(u);s.throwWithTrace(this._async_evaluate$_exception$2(a.message,e.get$span(e)),o)}else throw u}},_async_evaluate$_addExceptionSpan$2(e,r){return this._async_evaluate$_addExceptionSpan$1$2(e,r,$.dynamic)},_addExceptionSpanAsync$1$2(e,r,n){return this._addExceptionSpanAsync$body$_EvaluateVisitor(e,r,n,n)},_addExceptionSpanAsync$body$_EvaluateVisitor(e,r,n,i){var a=0,o=s._makeAsyncAwaitCompleter(i),l,u=2,_,c=[],p=this,h,d,m,g,f,y,S,v,b,x;var w=s._wrapJsFunctionForAsync((function(n,i){if(n===1){_=i;a=u}while(true)switch(a){case 0:u=4;a=7;return s._asyncAwait(r.call$0(),w);case 7:f=i;l=f;a=1;break;u=2;a=6;break;case 4:u=3;x=_;f=s.unwrapException(x);if(f instanceof s.MultiSpanSassScriptException){h=f;d=s.getTraceFromException(x);f=h.message;S=e.get$span(e);v=h.primaryLabel;b=h.secondarySpans;s.throwWithTrace(new s.MultiSpanSassRuntimeException(p._async_evaluate$_stackTrace$1(e.get$span(e)),v,s.ConstantMap_ConstantMap$from(b,$.FileSpan,$.String),f,S),d)}else if(f instanceof s.SassScriptException){m=f;g=s.getTraceFromException(x);s.throwWithTrace(p._async_evaluate$_exception$2(m.message,e.get$span(e)),g)}else throw x;a=6;break;case 3:a=2;break;case 6:case 1:return s._asyncReturn(l,o);case 2:return s._asyncRethrow(_,o)}}));return s._asyncStartSync(w,o)},_async_evaluate$_addErrorSpan$1$2(e,r,n){return this._addErrorSpan$body$_EvaluateVisitor(e,r,n,n)},_addErrorSpan$body$_EvaluateVisitor(e,r,n,i){var l=0,u=s._makeAsyncAwaitCompleter(i),_,c=2,p,h=[],d=this,m,g,f,y,S,v;var b=s._wrapJsFunctionForAsync((function(n,i){if(n===1){p=i;l=c}while(true)switch(l){case 0:c=4;l=7;return s._asyncAwait(r.call$0(),b);case 7:f=i;_=f;l=1;break;c=2;l=6;break;case 4:c=3;v=p;f=s.unwrapException(v);if($.SassRuntimeException._is(f)){m=f;g=s.getTraceFromException(v);if(!o.JSString_methods.startsWith$1(a.get$span$z(m).get$text(),"@error"))throw v;f=m._span_exception$_message;S=e.get$span(e);s.throwWithTrace(new s.SassRuntimeException(d._async_evaluate$_stackTrace$0(),f,S),g)}else throw v;l=6;break;case 3:l=2;break;case 6:case 1:return s._asyncReturn(_,u);case 2:return s._asyncRethrow(p,u)}}));return s._asyncStartSync(b,u)}};s._EvaluateVisitor_closure9.prototype={call$1(e){var r,n,i=a.getInterceptor$asx(e),l=i.$index(e,0).assertString$1("name");i=i.$index(e,1).get$realNull();r=i==null?null:i.assertString$1("module");i=this.$this._async_evaluate$_environment;n=s.stringReplaceAllUnchecked(l._string$_text,"_","-");return i.globalVariableExists$2$namespace(n,r==null?null:r._string$_text)?o.SassBoolean_true:o.SassBoolean_false},$signature:20};s._EvaluateVisitor_closure10.prototype={call$1(e){var r=a.$index$asx(e,0).assertString$1("name"),n=this.$this._async_evaluate$_environment;return n.getVariable$1(s.stringReplaceAllUnchecked(r._string$_text,"_","-"))!=null?o.SassBoolean_true:o.SassBoolean_false},$signature:20};s._EvaluateVisitor_closure11.prototype={call$1(e){var r,n,i,l,u=a.getInterceptor$asx(e),_=u.$index(e,0).assertString$1("name");u=u.$index(e,1).get$realNull();r=u==null?null:u.assertString$1("module");u=this.$this;n=u._async_evaluate$_environment;i=_._string$_text;l=s.stringReplaceAllUnchecked(i,"_","-");return n.getFunction$2$namespace(l,r==null?null:r._string$_text)!=null||u._async_evaluate$_builtInFunctions.containsKey$1(i)?o.SassBoolean_true:o.SassBoolean_false},$signature:20};s._EvaluateVisitor_closure12.prototype={call$1(e){var r,n,i=a.getInterceptor$asx(e),l=i.$index(e,0).assertString$1("name");i=i.$index(e,1).get$realNull();r=i==null?null:i.assertString$1("module");i=this.$this._async_evaluate$_environment;n=s.stringReplaceAllUnchecked(l._string$_text,"_","-");return i.getMixin$2$namespace(n,r==null?null:r._string$_text)!=null?o.SassBoolean_true:o.SassBoolean_false},$signature:20};s._EvaluateVisitor_closure13.prototype={call$1(e){var r=this.$this._async_evaluate$_environment;if(!r._async_environment$_inMixin)throw s.wrapException(s.SassScriptException$(c.conten));return r._async_environment$_content!=null?o.SassBoolean_true:o.SassBoolean_false},$signature:20};s._EvaluateVisitor_closure14.prototype={call$1(e){var r,n,i,o=a.$index$asx(e,0).assertString$1("module")._string$_text,l=this.$this._async_evaluate$_environment._async_environment$_modules.$index(0,o);if(l==null)throw s.wrapException('There is no module with namespace "'+o+'".');o=$.Value;r=s.LinkedHashMap_LinkedHashMap$_empty(o,o);for(n=l.get$variables(),n=n.get$entries(n),n=n.get$iterator(n);n.moveNext$0();){i=n.get$current(n);r.$indexSet(0,new s.SassString(i.key,true),i.value)}return new s.SassMap(s.ConstantMap_ConstantMap$from(r,o,o))},$signature:35};s._EvaluateVisitor_closure15.prototype={call$1(e){var r,n,i,o=a.$index$asx(e,0).assertString$1("module")._string$_text,l=this.$this._async_evaluate$_environment._async_environment$_modules.$index(0,o);if(l==null)throw s.wrapException('There is no module with namespace "'+o+'".');o=$.Value;r=s.LinkedHashMap_LinkedHashMap$_empty(o,o);for(n=l.get$functions(l),n=n.get$entries(n),n=n.get$iterator(n);n.moveNext$0();){i=n.get$current(n);r.$indexSet(0,new s.SassString(i.key,true),new s.SassFunction(i.value))}return new s.SassMap(s.ConstantMap_ConstantMap$from(r,o,o))},$signature:35};s._EvaluateVisitor_closure16.prototype={call$1(e){var r,n,i,o=a.getInterceptor$asx(e),l=o.$index(e,0).assertString$1("name"),u=o.$index(e,1).get$isTruthy();o=o.$index(e,2).get$realNull();r=o==null?null:o.assertString$1("module");if(u&&r!=null)throw s.wrapException(c.x24css_a);if(u)n=new s.PlainCssCallable(l._string$_text);else{o=this.$this;i=o._async_evaluate$_callableNode;i.toString;n=o._async_evaluate$_addExceptionSpan$2(i,new s._EvaluateVisitor__closure4(o,l,r))}if(n!=null)return new s.SassFunction(n);throw s.wrapException("Function not found: "+l.toString$0(0))},$signature:166};s._EvaluateVisitor__closure4.prototype={call$0(){var e=s.stringReplaceAllUnchecked(this.name._string$_text,"_","-"),r=this.module;r=r==null?null:r._string$_text;return this.$this._async_evaluate$_getFunction$2$namespace(e,r)},$signature:132};s._EvaluateVisitor_closure17.prototype={call$1(e){return this.$call$body$_EvaluateVisitor_closure0(e)},$call$body$_EvaluateVisitor_closure0(e){var r=0,n=s._makeAsyncAwaitCompleter($.Value),i,o=this,l,u,_,p,h,d,m,g,f,y,S,v,b,x,w;var C=s._wrapJsFunctionForAsync((function(E,A){if(E===1)return s._asyncRethrow(A,n);while(true)switch(r){case 0:b=a.getInterceptor$asx(e);x=b.$index(e,0);w=$.SassArgumentList._as(b.$index(e,1));b=o.$this;l=b._async_evaluate$_callableNode;l.toString;u=s._setArrayType([],$.JSArray_Expression);_=$.String;p=$.Expression;h=l.get$span(l);d=l.get$span(l);w._wereKeywordsAccessed=true;m=w._keywords;if(m.get$isEmpty(m))l=null;else{g=$.Value;f=s.LinkedHashMap_LinkedHashMap$_empty(g,g);for(w._wereKeywordsAccessed=true,m=m.get$entries(m),m=m.get$iterator(m);m.moveNext$0();){y=m.get$current(m);f.$indexSet(0,new s.SassString(y.key,false),y.value)}l=new s.ValueExpression(new s.SassMap(s.ConstantMap_ConstantMap$from(f,g,g)),l.get$span(l))}S=new s.ArgumentInvocation(s.List_List$unmodifiable(u,p),s.ConstantMap_ConstantMap$from(s.LinkedHashMap_LinkedHashMap$_empty(_,p),_,p),new s.ValueExpression(w,d),l,h);r=x instanceof s.SassString?3:4;break;case 3:l=x.toString$0(0);s.EvaluationContext_current().warn$2$deprecation(0,c.Passin+l+"))",true);v=b._async_evaluate$_callableNode;r=5;return s._asyncAwait(b.visitFunctionExpression$1(new s.FunctionExpression(null,x._string$_text,S,v.get$span(v))),C);case 5:i=A;r=1;break;case 4:l=x.assertFunction$1("function");u=b._async_evaluate$_callableNode;u.toString;r=6;return s._asyncAwait(b._async_evaluate$_runFunctionCallable$3(S,l.callable,u),C);case 6:u=A;i=u;r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(C,n)},$signature:182};s._EvaluateVisitor_closure18.prototype={call$1(e){return this.$call$body$_EvaluateVisitor_closure(e)},$call$body$_EvaluateVisitor_closure(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this,l,u,_,c,p,h,d;var m=s._wrapJsFunctionForAsync((function(g,f){if(g===1)return s._asyncRethrow(f,n);while(true)switch(r){case 0:h=a.getInterceptor$asx(e);d=s.Uri_parse(h.$index(e,0).assertString$1("url")._string$_text);h=h.$index(e,1).get$realNull();l=h==null?null:h.assertMap$1("with")._map$_contents;h=i.$this;u=h._async_evaluate$_callableNode;u.toString;if(l!=null){_=s.LinkedHashMap_LinkedHashMap$_empty($.String,$.ConfiguredValue);l.forEach$1(0,new s._EvaluateVisitor__closure2(_,u.get$span(u),u));c=new s.ExplicitConfiguration(u,_)}else c=o.Configuration_Map_empty;p=u.get$span(u);r=2;return s._asyncAwait(h._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(d,"load-css()",u,new s._EvaluateVisitor__closure3(h),p.get$sourceUrl(p),c,true),m);case 2:h._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(c,true);return s._asyncReturn(null,n)}}));return s._asyncStartSync(m,n)},$signature:356};s._EvaluateVisitor__closure2.prototype={call$2(e,r){var n=e.assertString$1("with key"),i=s.stringReplaceAllUnchecked(n._string$_text,"_","-");n=this.values;if(n.containsKey$1(i))throw s.wrapException("The variable $"+i+" was configured twice.");n.$indexSet(0,i,new s.ConfiguredValue(r,this.span,this.callableNode))},$signature:50};s._EvaluateVisitor__closure3.prototype={call$1(e){var r=this.$this;return r._async_evaluate$_combineCss$2$clone(e,true).accept$1(r)},$signature:167};s._EvaluateVisitor_run_closure0.prototype={call$0(){var e=0,r=s._makeAsyncAwaitCompleter($.EvaluateResult),n,i=this,a,o,l,u,_;var c=s._wrapJsFunctionForAsync((function($,p){if($===1)return s._asyncRethrow(p,r);while(true)switch(e){case 0:a=i.node;o=a.span;l=o.get$sourceUrl(o);if(l!=null){o=i.$this;o._async_evaluate$_activeModules.$indexSet(0,l,null);o._async_evaluate$_loadedUrls.add$1(0,l)}o=i.$this;u=s;_=o;e=3;return s._asyncAwait(o._async_evaluate$_execute$2(i.importer,a),c);case 3:n=new u.EvaluateResult(_._async_evaluate$_combineCss$1(p));e=1;break;case 1:return s._asyncReturn(n,r)}}));return s._asyncStartSync(c,r)},$signature:361};s._EvaluateVisitor__loadModule_closure1.prototype={call$0(){return this.callback.call$1(this.builtInModule)},$signature:0};s._EvaluateVisitor__loadModule_closure2.prototype={call$0(){var e=0,r=s._makeAsyncAwaitCompleter($.Null),n=1,i,o=[],l=this,_,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A,M,I,V,L,R,k,F;var T=s._wrapJsFunctionForAsync((function(x,N){if(x===1){i=N;e=n}while(true)switch(e){case 0:M=l.$this;I=l.nodeWithSpan;e=2;return s._asyncAwait(M._async_evaluate$_loadStylesheet$3$baseUrl(l.url.toString$0(0),I.get$span(I),l.baseUrl),T);case 2:V=N;L=V.stylesheet;R=L.span;k=R.get$sourceUrl(R);if(k!=null&&M._async_evaluate$_activeModules.containsKey$1(k)){b=l.namesInErrors?"Module loop: "+u.$get$context().prettyUri$1(k)+" is already being loaded.":c.Modulel;I=s.NullableExtension_andThen(M._async_evaluate$_activeModules.$index(0,k),new s._EvaluateVisitor__loadModule__closure0(M,b));throw s.wrapException(I==null?M._async_evaluate$_exception$1(b):I)}if(k!=null)M._async_evaluate$_activeModules.$indexSet(0,k,I);_=M._async_evaluate$_inDependency;M._async_evaluate$_inDependency=V.isDependency;p=null;n=3;e=6;return s._asyncAwait(M._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(V.importer,L,l.configuration,l.namesInErrors,I),T);case 6:p=N;o.push(5);e=4;break;case 3:o=[1];case 4:n=1;M._async_evaluate$_activeModules.remove$1(0,k);M._async_evaluate$_inDependency=_;e=o.pop();break;case 5:n=8;e=11;return s._asyncAwait(l.callback.call$1(p),T);case 11:n=1;e=10;break;case 8:n=7;F=i;I=s.unwrapException(F);if($.SassRuntimeException._is(I))throw F;else if(I instanceof s.MultiSpanSassException){h=I;d=s.getTraceFromException(F);I=h._span_exception$_message;R=h;w=a.getInterceptor$z(R);R=s.SourceSpanException.prototype.get$span.call(w,R);w=h.primaryLabel;C=h.secondarySpans;E=h;A=a.getInterceptor$z(E);s.throwWithTrace(new s.MultiSpanSassRuntimeException(M._async_evaluate$_stackTrace$1(s.SourceSpanException.prototype.get$span.call(A,E)),w,s.ConstantMap_ConstantMap$from(C,$.FileSpan,$.String),I,R),d)}else if(I instanceof s.SassException){m=I;g=s.getTraceFromException(F);I=m;R=a.getInterceptor$z(I);s.throwWithTrace(M._async_evaluate$_exception$2(m._span_exception$_message,s.SourceSpanException.prototype.get$span.call(R,I)),g)}else if(I instanceof s.MultiSpanSassScriptException){f=I;y=s.getTraceFromException(F);s.throwWithTrace(M._async_evaluate$_multiSpanException$3(f.message,f.primaryLabel,f.secondarySpans),y)}else if(I instanceof s.SassScriptException){S=I;v=s.getTraceFromException(F);s.throwWithTrace(M._async_evaluate$_exception$1(S.message),v)}else throw F;e=10;break;case 7:e=1;break;case 10:return s._asyncReturn(null,r);case 1:return s._asyncRethrow(i,r)}}));return s._asyncStartSync(T,r)},$signature:2};s._EvaluateVisitor__loadModule__closure0.prototype={call$1(e){return this.$this._async_evaluate$_multiSpanException$3(this.message,"new load",s.LinkedHashMap_LinkedHashMap$_literal([e.get$span(e),"original load"],$.FileSpan,$.String))},$signature:79};s._EvaluateVisitor__execute_closure0.prototype={call$0(){var e=0,r=s._makeAsyncAwaitCompleter($.Null),n=this,i,a,o,l,u,_,c,p,h,d,m,g,f,y,S,v,b,x,w;var C=s._wrapJsFunctionForAsync((function(E,A){if(E===1)return s._asyncRethrow(A,r);while(true)switch(e){case 0:u=n.$this;_=u._async_evaluate$_importer;c=u._async_evaluate$__stylesheet;p=u._async_evaluate$__root;h=u._async_evaluate$__parent;d=u._async_evaluate$__endOfImports;m=u._async_evaluate$_outOfOrderImports;g=u._async_evaluate$__extensionStore;f=u._async_evaluate$_atRootExcludingStyleRule;y=f?null:u._async_evaluate$_styleRuleIgnoringAtRoot;S=u._async_evaluate$_mediaQueries;v=u._async_evaluate$_declarationName;b=u._async_evaluate$_inUnknownAtRule;x=u._async_evaluate$_inKeyframes;w=u._async_evaluate$_configuration;u._async_evaluate$_importer=n.importer;i=u._async_evaluate$__stylesheet=n.stylesheet;a=i.span;o=u._async_evaluate$__parent=u._async_evaluate$__root=s.ModifiableCssStylesheet$(a);u._async_evaluate$__endOfImports=0;u._async_evaluate$_outOfOrderImports=null;u._async_evaluate$__extensionStore=n.extensionStore;u._async_evaluate$_declarationName=u._async_evaluate$_mediaQueries=u._async_evaluate$_styleRuleIgnoringAtRoot=null;u._async_evaluate$_inKeyframes=u._async_evaluate$_atRootExcludingStyleRule=u._async_evaluate$_inUnknownAtRule=false;l=n.configuration;if(l!=null)u._async_evaluate$_configuration=l;e=2;return s._asyncAwait(u.visitStylesheet$1(i),C);case 2:i=u._async_evaluate$_outOfOrderImports==null?o:new s.CssStylesheet(new s.UnmodifiableListView(u._async_evaluate$_addOutOfOrderImports$0(),$.UnmodifiableListView_CssNode),a);n.css._value=i;u._async_evaluate$_importer=_;u._async_evaluate$__stylesheet=c;u._async_evaluate$__root=p;u._async_evaluate$__parent=h;u._async_evaluate$__endOfImports=d;u._async_evaluate$_outOfOrderImports=m;u._async_evaluate$__extensionStore=g;u._async_evaluate$_styleRuleIgnoringAtRoot=y;u._async_evaluate$_mediaQueries=S;u._async_evaluate$_declarationName=v;u._async_evaluate$_inUnknownAtRule=b;u._async_evaluate$_atRootExcludingStyleRule=f;u._async_evaluate$_inKeyframes=x;u._async_evaluate$_configuration=w;return s._asyncReturn(null,r)}}));return s._asyncStartSync(C,r)},$signature:2};s._EvaluateVisitor__combineCss_closure2.prototype={call$1(e){return e.get$transitivelyContainsCss()},$signature:104};s._EvaluateVisitor__combineCss_closure3.prototype={call$1(e){return!this.selectors.contains$1(0,e)},$signature:13};s._EvaluateVisitor__combineCss_closure4.prototype={call$1(e){return e.cloneCss$0()},$signature:254};s._EvaluateVisitor__extendModules_closure1.prototype={call$1(e){return!this.originalSelectors.contains$1(0,e)},$signature:13};s._EvaluateVisitor__extendModules_closure2.prototype={call$0(){return s._setArrayType([],$.JSArray_ExtensionStore)},$signature:169};s._EvaluateVisitor__topologicalModules_visitModule0.prototype={call$1(e){var r,n,i,a,o;for(r=e.get$upstream(),n=r.length,i=this.seen,a=0;a()")}};s._EvaluateVisitor__runUserDefinedCallable__closure0.prototype={call$0(){var e=this,r=e.$this,n=e.V;return r._async_evaluate$_environment.scope$1$1(new s._EvaluateVisitor__runUserDefinedCallable___closure0(r,e.evaluated,e.callable,e.nodeWithSpan,e.run,n),n)},$signature(){return this.V._eval$1("Future<0>()")}};s._EvaluateVisitor__runUserDefinedCallable___closure0.prototype={call$0(){return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V)},$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(e){var r=0,n=s._makeAsyncAwaitCompleter(e),i,a=this,l,u,_,c,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A,M,I;var V=s._wrapJsFunctionForAsync((function(e,L){if(e===1)return s._asyncRethrow(L,n);while(true)switch(r){case 0:x=a.$this;w=a.evaluated;C=w.positional;E=w.named;A=a.callable.declaration.$arguments;M=a.nodeWithSpan;x._async_evaluate$_verifyArguments$4(C.length,E,A,M);l=A.$arguments;u=l.length;_=Math.min(C.length,u);for(c=w.positionalNodes,p=0;p<_;++p)x._async_evaluate$_environment.setLocalVariable$3(l[p].name,C[p],c[p]);p=C.length,c=w.namedNodes;case 3:if(!(pu?o.JSArray_methods.sublist$1(C,u):o.List_empty7;w=w.separator;v=s.SassArgumentList$(S,E,w===o.ListSeparator_undecided_null?o.ListSeparator_kWM:w);x._async_evaluate$_environment.setLocalVariable$3(y,v,M)}else v=null;r=9;return s._asyncAwait(a.run.call$0(),V);case 9:b=L;if(v==null){i=b;r=1;break}w=E.__js_helper$_length;if(w===0){i=b;r=1;break}if(v._wereKeywordsAccessed){i=b;r=1;break}C=s._instanceType(E)._eval$1("LinkedHashMapKeyIterable<1>");throw s.wrapException(s.MultiSpanSassRuntimeException$("No "+s.pluralize("argument",w,null)+" named "+s.toSentence(s.MappedIterable_MappedIterable(new s.LinkedHashMapKeyIterable(E,C),new s._EvaluateVisitor__runUserDefinedCallable____closure0,C._eval$1("Iterable.E"),$.Object),"or")+".",M.get$span(M),"invocation",s.LinkedHashMap_LinkedHashMap$_literal([A.get$spanWithName(),"declaration"],$.FileSpan,$.String),x._async_evaluate$_stackTrace$1(M.get$span(M))));case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(V,n)},$signature(){return this.V._eval$1("Future<0>()")}};s._EvaluateVisitor__runUserDefinedCallable____closure0.prototype={call$1(e){return"$"+e},$signature:5};s._EvaluateVisitor__runFunctionCallable_closure0.prototype={call$0(){var e=0,r=s._makeAsyncAwaitCompleter($.Value),n,i=this,a,o,l,u,_,c;var p=s._wrapJsFunctionForAsync((function($,h){if($===1)return s._asyncRethrow(h,r);while(true)switch(e){case 0:a=i.callable.declaration,o=a.children,l=o.length,u=i.$this,_=0;case 3:if(!(_>");l=s.List_List$of(new s.MappedListIterable(l,new s._EvaluateVisitor__combineCss_closure1,u),true,u._eval$1("ListIterable.E"))}g._extendModules$1(l);u=$.JSArray_CssNode;_=s._setArrayType([],u);c=s._setArrayType([],u);for(u=a.get$reversed$ax(l),u=new s.ListIterator(u,u.get$length(u)),p=s._instanceType(u)._precomputed1;u.moveNext$0();){h=u.__internal$_current;if(h==null)h=p._as(h);h=h.get$css(h);d=h.get$children(h);m=g._indexAfterImports$1(d);h=a.getInterceptor$ax(d);o.JSArray_methods.addAll$1(_,h.getRange$2(d,0,m));o.JSArray_methods.addAll$1(c,h.getRange$2(d,m,h.get$length(d)))}u=o.JSArray_methods.$add(_,c);p=e.get$css(e);return new s.CssStylesheet(new s.UnmodifiableListView(u,$.UnmodifiableListView_CssNode),p.get$span(p))},_combineCss$1(e){return this._combineCss$2$clone(e,false)},_extendModules$1(e){var r,n,i,o,l,u,_,c,p,h=s.LinkedHashMap_LinkedHashMap$_empty($.Uri,$.List_ExtensionStore),d=new s._LinkedIdentityHashSet($._LinkedIdentityHashSet_Extension);for(r=a.get$iterator$ax(e);r.moveNext$0();){n=r.get$current(r);i=n.get$extensionStore().get$simpleSelectors().toSet$0(0);d.addAll$1(0,n.get$extensionStore().extensionsWhereTarget$1(new s._EvaluateVisitor__extendModules_closure(i)));o=h.$index(0,n.get$url(n));l=n.get$extensionStore().get$addExtensions();if(o!=null)l.call$1(o);l=n.get$extensionStore();if(l.get$isEmpty(l))continue;for(l=n.get$upstream(),u=l.length,_=0;__?-1:1;if(u===(!e.isExclusive?n.to=_+c:_))return null;return r._environment.scope$1$2$semiGlobal(new s._EvaluateVisitor_visitForRule_closure3(n,r,e,u,c,a),true,$.nullable_Value)},visitForwardRule$1(e){var r,n,i,o,l,u=this,_="@forward",c=u._configuration,p=c.throughForward$1(e),h=e.configuration,d=h.length,m=e.url;if(d!==0){r=u._addForwardConfiguration$2(p,e);u._loadModule$5$configuration(m,_,e,new s._EvaluateVisitor_visitForwardRule_closure(u,e),r);m=$.String;n=s.LinkedHashSet_LinkedHashSet$_empty(m);for(i=0;i0)r=p.$index(c,0);else{n=$.$index(0,"condition");n.toString;r=n}if(p.get$length(c)>1)i=p.$index(c,1);else{n=$.$index(0,"if-true");n.toString;i=n}if(p.get$length(c)>2)s=p.$index(c,2);else{p=$.$index(0,"if-false");p.toString;s=p}o=r.accept$1(l).get$isTruthy()?i:s;return l._withoutSlash$2(o.accept$1(l),l._expressionNode$1(o))},visitNullExpression$1(e){return o.C__SassNull},visitNumberExpression$1(e){var r=e.value,n=e.unit;return n==null?new s.UnitlessSassNumber(r,null):new s.SingleUnitSassNumber(n,r,null)},visitParenthesizedExpression$1(e){return e.expression.accept$1(this)},visitCalculationExpression$1(e){var r,n,i,o,l,u,_,c,p,h,d,m=this,g=s._setArrayType([],$.JSArray_Object);for(o=e.$arguments,l=o.length,u=e.name,_=u!=="min",c=u==="max",p=0;p1?a.$index$asx(r,1):null;g=s.SassCalculation_clamp(g,l,a.get$length$asx(r)>2?a.$index$asx(r,2):null);return g;default:g=s.UnsupportedError$('Unknown calculation name "'+u+'".');throw s.wrapException(g)}}catch(d){g=s.unwrapException(d);if(g instanceof s.SassScriptException){n=g;i=s.getTraceFromException(d);m._verifyCompatibleNumbers$2(r,o);s.throwWithTrace(m._evaluate$_exception$2(n.message,e.span),i)}else throw d}},_verifyCompatibleNumbers$2(e,r){var n,i,o,l,u,_;for(n=0;i=e.length,n1||o.get$denominatorUnits(o).length!==0)throw s.wrapException(this._evaluate$_exception$2("Number "+o.toString$0(0)+" isn't compatible with CSS calculations.",a.get$span$z(r[n])))}for(n=0;n")),e.separator,e.hasBrackets)},visitMapExpression$1(e){var r,n,i,o,l,u,_,c,p=$.Value,h=s.LinkedHashMap_LinkedHashMap$_empty(p,p),d=s.LinkedHashMap_LinkedHashMap$_empty(p,$.AstNode);for(r=e.pairs,n=r.length,i=0;ib){E=o.JSArray_methods.sublist$1(F.positional,b);o.JSArray_methods.removeRange$2(F.positional,b,F.positional.length)}else E=o.List_empty7;b=F.named;A=s.SassArgumentList$(E,b,F.separator===o.ListSeparator_undecided_null?o.ListSeparator_kWM:F.separator);F.positional.push(A)}else A=null;l=null;try{l=i.call$1(F.positional)}catch(M){b=s.unwrapException(M);if($.SassRuntimeException._is(b))throw M;else if(b instanceof s.MultiSpanSassScriptException){u=b;_=s.getTraceFromException(M);b=u.message;w=n.get$span(n);C=u.primaryLabel;I=u.secondarySpans;s.throwWithTrace(new s.MultiSpanSassRuntimeException(k._evaluate$_stackTrace$1(n.get$span(n)),C,s.ConstantMap_ConstantMap$from(I,$.FileSpan,$.String),b,w),_)}else if(b instanceof s.MultiSpanSassException){c=b;p=s.getTraceFromException(M);b=c._span_exception$_message;w=c;C=a.getInterceptor$z(w);w=s.SourceSpanException.prototype.get$span.call(C,w);C=c.primaryLabel;I=c.secondarySpans;V=c;L=a.getInterceptor$z(V);s.throwWithTrace(new s.MultiSpanSassRuntimeException(k._evaluate$_stackTrace$1(s.SourceSpanException.prototype.get$span.call(L,V)),C,s.ConstantMap_ConstantMap$from(I,$.FileSpan,$.String),b,w),p)}else{h=b;d=s.getTraceFromException(M);m=null;try{m=s._asString(a.get$message$x(h))}catch(M){R=a.toString$0$(h);m=R}s.throwWithTrace(k._evaluate$_exception$2(m,n.get$span(n)),d)}}k._callableNode=T;if(A==null)return l;if(F.named.__js_helper$_length===0)return l;if(A._wereKeywordsAccessed)return l;b=F.named;b=b.get$keys(b);b=s.pluralize("argument",b.get$length(b),null);w=F.named;throw s.wrapException(s.MultiSpanSassRuntimeException$("No "+b+" named "+s.S(s.toSentence(w.get$keys(w).map$1$1(0,new s._EvaluateVisitor__runBuiltInCallable_closure0,$.Object),"or"))+".",n.get$span(n),"invocation",s.LinkedHashMap_LinkedHashMap$_literal([y.get$spanWithName(),"declaration"],$.FileSpan,$.String),k._evaluate$_stackTrace$1(n.get$span(n))))},_evaluateArguments$1(e){var r,n,i,l,u,_,p,h,d,m,g,f,y,S,v,b,x,w=this,C=s._setArrayType([],$.JSArray_Value),E=s._setArrayType([],$.JSArray_AstNode);for(r=e.positional,n=r.length,i=0;i")));o.JSArray_methods.addAll$1(E,s.List_List$filled(h.length,y,false,n));S=f._separator;if(f instanceof s.SassArgumentList){f._wereKeywordsAccessed=true;f._keywords.forEach$1(0,new s._EvaluateVisitor__evaluateArguments_closure1(w,_,y,p))}}else{C.push(w._withoutSlash$2(f,y));E.push(y);S=o.ListSeparator_undecided_null}v=e.keywordRest;if(v==null)return new s._ArgumentResults(C,E,_,p,S);b=v.accept$1(w);x=w._expressionNode$1(v);if(b instanceof s.SassMap){w._addRestMap$4(_,b,v,new s._EvaluateVisitor__evaluateArguments_closure2);r=s.LinkedHashMap_LinkedHashMap$_empty(r,n);for(n=b._map$_contents,n=a.get$iterator$ax(n.get$keys(n)),h=$.SassString;n.moveNext$0();)r.$indexSet(0,h._as(n.get$current(n))._string$_text,x);p.addAll$1(0,r);return new s._ArgumentResults(C,E,_,p,S)}else throw s.wrapException(w._evaluate$_exception$2(c.Variabs+b.toString$0(0)+").",v.get$span(v)))},_evaluateMacroArguments$1(e){var r,n,i,a,l,u,_,p,h=this,d=e.$arguments,m=d.rest;if(m==null)return new s.Tuple2(d.positional,d.named,$.Tuple2_of_List_Expression_and_Map_String_Expression);r=d.positional;n=s._setArrayType(r.slice(0),s._arrayInstanceType(r));i=s.LinkedHashMap_LinkedHashMap$of(d.named,$.String,$.Expression);a=m.accept$1(h);l=h._expressionNode$1(m);if(a instanceof s.SassMap)h._addRestMap$4(i,a,e,new s._EvaluateVisitor__evaluateMacroArguments_closure(m));else if(a instanceof s.SassList){r=a._list$_contents;o.JSArray_methods.addAll$1(n,new s.MappedListIterable(r,new s._EvaluateVisitor__evaluateMacroArguments_closure0(h,l,m),s._arrayInstanceType(r)._eval$1("MappedListIterable<1,Expression>")));if(a instanceof s.SassArgumentList){a._wereKeywordsAccessed=true;a._keywords.forEach$1(0,new s._EvaluateVisitor__evaluateMacroArguments_closure1(h,i,l,m))}}else n.push(new s.ValueExpression(h._withoutSlash$2(a,l),m.get$span(m)));u=d.keywordRest;if(u==null)return new s.Tuple2(n,i,$.Tuple2_of_List_Expression_and_Map_String_Expression);_=u.accept$1(h);p=h._expressionNode$1(u);if(_ instanceof s.SassMap){h._addRestMap$4(i,_,e,new s._EvaluateVisitor__evaluateMacroArguments_closure2(h,p,u));return new s.Tuple2(n,i,$.Tuple2_of_List_Expression_and_Map_String_Expression)}else throw s.wrapException(h._evaluate$_exception$2(c.Variabs+_.toString$0(0)+").",u.get$span(u)))},_addRestMap$1$4(e,r,n,i){r._map$_contents.forEach$1(0,new s._EvaluateVisitor__addRestMap_closure(this,e,i,this._expressionNode$1(n),r,n))},_addRestMap$4(e,r,n,i){return this._addRestMap$1$4(e,r,n,i,$.dynamic)},_verifyArguments$4(e,r,n,i){return this._addExceptionSpan$2(i,new s._EvaluateVisitor__verifyArguments_closure(n,e,r))},visitSelectorExpression$1(e){var r=this._styleRuleIgnoringAtRoot;r=r==null?null:r.originalSelector.get$asSassList();return r==null?o.C__SassNull:r},visitStringExpression$1(e){var r,n=this,i=n._inSupportsDeclaration;n._inSupportsDeclaration=false;r=e.text.contents;r=new s.MappedListIterable(r,new s._EvaluateVisitor_visitStringExpression_closure(n),s._arrayInstanceType(r)._eval$1("MappedListIterable<1,String>")).join$0(0);n._inSupportsDeclaration=i;return new s.SassString(r,e.hasQuotes)},visitSupportsExpression$1(e){return new s.SassString(this._visitSupportsCondition$1(e.condition),false)},visitCssAtRule$1(e){var r,n,i,a=this;if(a._declarationName!=null)throw s.wrapException(a._evaluate$_exception$2(c.At_rul,e.span));if(e.isChildless){a._assertInModule$2(a.__parent,"__parent").addChild$1(s.ModifiableCssAtRule$(e.name,e.span,true,e.value));return}r=a._inKeyframes;n=a._inUnknownAtRule;i=e.name;if(s.unvendor(i.get$value(i))==="keyframes")a._inKeyframes=true;else a._inUnknownAtRule=true;a._withParent$2$4$scopeWhen$through(s.ModifiableCssAtRule$(i,e.span,false,e.value),new s._EvaluateVisitor_visitCssAtRule_closure(a,e),false,new s._EvaluateVisitor_visitCssAtRule_closure0,$.ModifiableCssAtRule,$.Null);a._inUnknownAtRule=n;a._inKeyframes=r},visitCssComment$1(e){var r=this,n="__parent",i="_endOfImports";if(r._assertInModule$2(r.__parent,n)===r._assertInModule$2(r.__root,"_root")&&r._assertInModule$2(r.__endOfImports,i)===a.get$length$asx(r._assertInModule$2(r.__root,"_root").children._collection$_source))r.__endOfImports=r._assertInModule$2(r.__endOfImports,i)+1;r._assertInModule$2(r.__parent,n).addChild$1(new s.ModifiableCssComment(e.text,e.span))},visitCssDeclaration$1(e){var r=e.name;this._assertInModule$2(this.__parent,"__parent").addChild$1(s.ModifiableCssDeclaration$(r,e.value,e.span,a.startsWith$1$s(r.get$value(r),"--"),e.valueSpanForMap))},visitCssImport$1(e){var r,n=this,i="__parent",o="_root",l="_endOfImports",u=new s.ModifiableCssImport(e.url,e.modifiers,e.span);if(n._assertInModule$2(n.__parent,i)!==n._assertInModule$2(n.__root,o))n._assertInModule$2(n.__parent,i).addChild$1(u);else if(n._assertInModule$2(n.__endOfImports,l)===a.get$length$asx(n._assertInModule$2(n.__root,o).children._collection$_source)){n._assertInModule$2(n.__root,o).addChild$1(u);n.__endOfImports=n._assertInModule$2(n.__endOfImports,l)+1}else{r=n._outOfOrderImports;(r==null?n._outOfOrderImports=s._setArrayType([],$.JSArray_ModifiableCssImport):r).push(u)}},visitCssKeyframeBlock$1(e){this._withParent$2$4$scopeWhen$through(s.ModifiableCssKeyframeBlock$(e.selector,e.span),new s._EvaluateVisitor_visitCssKeyframeBlock_closure(this,e),false,new s._EvaluateVisitor_visitCssKeyframeBlock_closure0,$.ModifiableCssKeyframeBlock,$.Null)},visitCssMediaRule$1(e){var r,n,i=this;if(i._declarationName!=null)throw s.wrapException(i._evaluate$_exception$2(c.Media_,e.span));r=s.NullableExtension_andThen(i._mediaQueries,new s._EvaluateVisitor_visitCssMediaRule_closure(i,e));n=r==null;if(!n&&a.get$isEmpty$asx(r))return;n=n?e.queries:r;i._withParent$2$4$scopeWhen$through(s.ModifiableCssMediaRule$(n,e.span),new s._EvaluateVisitor_visitCssMediaRule_closure0(i,r,e),false,new s._EvaluateVisitor_visitCssMediaRule_closure1(r),$.ModifiableCssMediaRule,$.Null)},visitCssStyleRule$1(e){var r,n,i,a,o,l,u,_,p,h=this,d="__parent";if(h._declarationName!=null)throw s.wrapException(h._evaluate$_exception$2(c.Style_,e.span));r=h._atRootExcludingStyleRule;n=r?null:h._styleRuleIgnoringAtRoot;i=e.selector;a=i.value;o=n==null;l=o?null:n.originalSelector;u=a.resolveParentSelectors$2$implicitParent(l,!r);_=s.ModifiableCssStyleRule$(h._assertInModule$2(h.__extensionStore,"_extensionStore").addSelector$3(u,i.span,h._mediaQueries),e.span,u);p=h._atRootExcludingStyleRule;h._atRootExcludingStyleRule=false;h._withParent$2$4$scopeWhen$through(_,new s._EvaluateVisitor_visitCssStyleRule_closure(h,_,e),false,new s._EvaluateVisitor_visitCssStyleRule_closure0,$.ModifiableCssStyleRule,$.Null);h._atRootExcludingStyleRule=p;if(o){r=h._assertInModule$2(h.__parent,d).children;r=!r.get$isEmpty(r)}else r=false;if(r){r=h._assertInModule$2(h.__parent,d).children;r.get$last(r).isGroupEnd=true}},visitCssStylesheet$1(e){var r;for(r=a.get$iterator$ax(e.get$children(e));r.moveNext$0();)r.get$current(r).accept$1(this)},visitCssSupportsRule$1(e){var r=this;if(r._declarationName!=null)throw s.wrapException(r._evaluate$_exception$2(c.Suppor,e.span));r._withParent$2$4$scopeWhen$through(s.ModifiableCssSupportsRule$(e.condition,e.span),new s._EvaluateVisitor_visitCssSupportsRule_closure(r,e),false,new s._EvaluateVisitor_visitCssSupportsRule_closure0,$.ModifiableCssSupportsRule,$.Null)},_handleReturn$1$2(e,r){var n,i,a;for(n=e.length,i=0;i")).join$0(0);a._inSupportsDeclaration=o;return i},_performInterpolation$1(e){return this._performInterpolation$2$warnForColor(e,false)},_evaluate$_serialize$3$quote(e,r,n){return this._addExceptionSpan$2(r,new s._EvaluateVisitor__serialize_closure(e,n))},_evaluate$_serialize$2(e,r){return this._evaluate$_serialize$3$quote(e,r,true)},_expressionNode$1(e){var r;if(e instanceof s.VariableExpression){r=this._addExceptionSpan$2(e,new s._EvaluateVisitor__expressionNode_closure(this,e));return r==null?e:r}else return e},_withParent$2$4$scopeWhen$through(e,r,n,i,s,a){var o,l,u=this;u._addChild$2$through(e,i);o=u._assertInModule$2(u.__parent,"__parent");u.__parent=e;l=u._environment.scope$1$2$when(r,n,a);u.__parent=o;return l},_withParent$2$3$scopeWhen(e,r,n,i,s){return this._withParent$2$4$scopeWhen$through(e,r,n,null,i,s)},_withParent$2$2(e,r,n,i){return this._withParent$2$4$scopeWhen$through(e,r,true,null,n,i)},_addChild$2$through(e,r){var n,i,a=this._assertInModule$2(this.__parent,"__parent");if(r!=null){for(;r.call$1(a);a=n){n=a._parent;if(n==null)throw s.wrapException(s.ArgumentError$(c.throug+e.toString$0(0)+".",null))}if(a.get$hasFollowingSibling()){i=a._parent;i.toString;a=a.copyWithoutChildren$0();i.addChild$1(a)}}a.addChild$1(e)},_addChild$1(e){return this._addChild$2$through(e,null)},_withStyleRule$1$2(e,r){var n,i=this._styleRuleIgnoringAtRoot;this._styleRuleIgnoringAtRoot=e;n=r.call$0();this._styleRuleIgnoringAtRoot=i;return n},_withStyleRule$2(e,r){return this._withStyleRule$1$2(e,r,$.dynamic)},_withMediaQueries$1$2(e,r){var n,i=this._mediaQueries;this._mediaQueries=e;n=r.call$0();this._mediaQueries=i;return n},_withMediaQueries$2(e,r){return this._withMediaQueries$1$2(e,r,$.dynamic)},_withStackFrame$1$3(e,r,n){var i,a,o=this,l=o._stack;l.push(new s.Tuple2(o._member,r,$.Tuple2_String_AstNode));i=o._member;o._member=e;a=n.call$0();o._member=i;l.pop();return a},_withStackFrame$3(e,r,n){return this._withStackFrame$1$3(e,r,n,$.dynamic)},_withoutSlash$2(e,r){if(e instanceof s.SassNumber&&e.asSlash!=null)this._warn$3$deprecation(c.Using__i+s.S((new s._EvaluateVisitor__withoutSlash_recommendation).call$1(e))+c.x0a_More,r.get$span(r),true);return e.withoutSlash$0()},_stackFrame$2(e,r){return s.frameForSpan(r,e,s.NullableExtension_andThen(r.get$sourceUrl(r),new s._EvaluateVisitor__stackFrame_closure(this)))},_evaluate$_stackTrace$1(e){var r=this,n=r._stack;n=s.List_List$of(new s.MappedListIterable(n,new s._EvaluateVisitor__stackTrace_closure(r),s._arrayInstanceType(n)._eval$1("MappedListIterable<1,Frame>")),true,$.Frame);if(e!=null)n.push(r._stackFrame$2(r._member,e));return s.Trace$(new s.ReversedListIterable(n,s._arrayInstanceType(n)._eval$1("ReversedListIterable<1>")),null)},_evaluate$_stackTrace$0(){return this._evaluate$_stackTrace$1(null)},_warn$3$deprecation(e,r,n){var i,a=this;if(a._quietDeps)if(!a._inDependency){i=a._currentCallable;i=i==null?null:i.inDependency;i=i===true}else i=true;else i=false;if(i)return;if(!a._warningsEmitted.add$1(0,new s.Tuple2(e,r,$.Tuple2_String_SourceSpan)))return;a._evaluate$_logger.warn$4$deprecation$span$trace(0,e,n,r,a._evaluate$_stackTrace$1(r))},_warn$2(e,r){return this._warn$3$deprecation(e,r,false)},_evaluate$_exception$2(e,r){var n=r==null?a.get$span$z(o.JSArray_methods.get$last(this._stack).item2):r;return new s.SassRuntimeException(this._evaluate$_stackTrace$1(r),e,n)},_evaluate$_exception$1(e){return this._evaluate$_exception$2(e,null)},_multiSpanException$3(e,r,n){var i=a.get$span$z(o.JSArray_methods.get$last(this._stack).item2);return new s.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$0(),r,s.ConstantMap_ConstantMap$from(n,$.FileSpan,$.String),e,i)},_adjustParseError$1$2(e,r){var n,i,l,u,_,c,$,p,h,d,m,g,f,y=null;try{$=r.call$0();return $}catch(p){$=s.unwrapException(p);if($ instanceof s.SassFormatException){n=$;i=s.getTraceFromException(p);$=n;h=a.getInterceptor$z($);$=s.SourceSpanException.prototype.get$span.call(h,$);l=s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2($.get$file($)._decodedChars,0,y),0,y);u=e.get$span(e);_=o.JSString_methods.replaceRange$3(s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(a.get$file$x(u)._decodedChars,0,y),0,y),a.get$start$z(u).offset,a.get$end$z(u).offset,l);$=s.SourceFile$fromString(_,a.get$file$x(u).url);h=a.get$start$z(u);d=n;m=a.getInterceptor$z(d);d=s.SourceSpanException.prototype.get$span.call(m,d);d=d.get$start(d);m=a.get$start$z(u);g=n;f=a.getInterceptor$z(g);g=s.SourceSpanException.prototype.get$span.call(f,g);c=$.span$2(0,h.offset+d.offset,m.offset+g.get$end(g).offset);s.throwWithTrace(this._evaluate$_exception$2(n._span_exception$_message,c),i)}else throw p}},_adjustParseError$2(e,r){return this._adjustParseError$1$2(e,r,$.dynamic)},_addExceptionSpan$1$2(e,r){var n,i,a,o,l,u,_,c,p;try{l=r.call$0();return l}catch(u){l=s.unwrapException(u);if(l instanceof s.MultiSpanSassScriptException){n=l;i=s.getTraceFromException(u);l=n.message;_=e.get$span(e);c=n.primaryLabel;p=n.secondarySpans;s.throwWithTrace(new s.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$1(e.get$span(e)),c,s.ConstantMap_ConstantMap$from(p,$.FileSpan,$.String),l,_),i)}else if(l instanceof s.SassScriptException){a=l;o=s.getTraceFromException(u);s.throwWithTrace(this._evaluate$_exception$2(a.message,e.get$span(e)),o)}else throw u}},_addExceptionSpan$2(e,r){return this._addExceptionSpan$1$2(e,r,$.dynamic)},_addErrorSpan$1$2(e,r){var n,i,l,u,_;try{l=r.call$0();return l}catch(u){l=s.unwrapException(u);if($.SassRuntimeException._is(l)){n=l;i=s.getTraceFromException(u);if(!o.JSString_methods.startsWith$1(a.get$span$z(n).get$text(),"@error"))throw u;l=n._span_exception$_message;_=e.get$span(e);s.throwWithTrace(new s.SassRuntimeException(this._evaluate$_stackTrace$0(),l,_),i)}else throw u}},_addErrorSpan$2(e,r){return this._addErrorSpan$1$2(e,r,$.dynamic)}};s._EvaluateVisitor_closure.prototype={call$1(e){var r,n,i=a.getInterceptor$asx(e),l=i.$index(e,0).assertString$1("name");i=i.$index(e,1).get$realNull();r=i==null?null:i.assertString$1("module");i=this.$this._environment;n=s.stringReplaceAllUnchecked(l._string$_text,"_","-");return i.globalVariableExists$2$namespace(n,r==null?null:r._string$_text)?o.SassBoolean_true:o.SassBoolean_false},$signature:20};s._EvaluateVisitor_closure0.prototype={call$1(e){var r=a.$index$asx(e,0).assertString$1("name"),n=this.$this._environment;return n.getVariable$1(s.stringReplaceAllUnchecked(r._string$_text,"_","-"))!=null?o.SassBoolean_true:o.SassBoolean_false},$signature:20};s._EvaluateVisitor_closure1.prototype={call$1(e){var r,n,i,l,u=a.getInterceptor$asx(e),_=u.$index(e,0).assertString$1("name");u=u.$index(e,1).get$realNull();r=u==null?null:u.assertString$1("module");u=this.$this;n=u._environment;i=_._string$_text;l=s.stringReplaceAllUnchecked(i,"_","-");return n.getFunction$2$namespace(l,r==null?null:r._string$_text)!=null||u._builtInFunctions.containsKey$1(i)?o.SassBoolean_true:o.SassBoolean_false},$signature:20};s._EvaluateVisitor_closure2.prototype={call$1(e){var r,n,i=a.getInterceptor$asx(e),l=i.$index(e,0).assertString$1("name");i=i.$index(e,1).get$realNull();r=i==null?null:i.assertString$1("module");i=this.$this._environment;n=s.stringReplaceAllUnchecked(l._string$_text,"_","-");return i.getMixin$2$namespace(n,r==null?null:r._string$_text)!=null?o.SassBoolean_true:o.SassBoolean_false},$signature:20};s._EvaluateVisitor_closure3.prototype={call$1(e){var r=this.$this._environment;if(!r._inMixin)throw s.wrapException(s.SassScriptException$(c.conten));return r._content!=null?o.SassBoolean_true:o.SassBoolean_false},$signature:20};s._EvaluateVisitor_closure4.prototype={call$1(e){var r,n,i,o=a.$index$asx(e,0).assertString$1("module")._string$_text,l=this.$this._environment._environment$_modules.$index(0,o);if(l==null)throw s.wrapException('There is no module with namespace "'+o+'".');o=$.Value;r=s.LinkedHashMap_LinkedHashMap$_empty(o,o);for(n=l.get$variables(),n=n.get$entries(n),n=n.get$iterator(n);n.moveNext$0();){i=n.get$current(n);r.$indexSet(0,new s.SassString(i.key,true),i.value)}return new s.SassMap(s.ConstantMap_ConstantMap$from(r,o,o))},$signature:35};s._EvaluateVisitor_closure5.prototype={call$1(e){var r,n,i,o=a.$index$asx(e,0).assertString$1("module")._string$_text,l=this.$this._environment._environment$_modules.$index(0,o);if(l==null)throw s.wrapException('There is no module with namespace "'+o+'".');o=$.Value;r=s.LinkedHashMap_LinkedHashMap$_empty(o,o);for(n=l.get$functions(l),n=n.get$entries(n),n=n.get$iterator(n);n.moveNext$0();){i=n.get$current(n);r.$indexSet(0,new s.SassString(i.key,true),new s.SassFunction(i.value))}return new s.SassMap(s.ConstantMap_ConstantMap$from(r,o,o))},$signature:35};s._EvaluateVisitor_closure6.prototype={call$1(e){var r,n,i,o=a.getInterceptor$asx(e),l=o.$index(e,0).assertString$1("name"),u=o.$index(e,1).get$isTruthy();o=o.$index(e,2).get$realNull();r=o==null?null:o.assertString$1("module");if(u&&r!=null)throw s.wrapException(c.x24css_a);if(u)n=new s.PlainCssCallable(l._string$_text);else{o=this.$this;i=o._callableNode;i.toString;n=o._addExceptionSpan$2(i,new s._EvaluateVisitor__closure1(o,l,r))}if(n!=null)return new s.SassFunction(n);throw s.wrapException("Function not found: "+l.toString$0(0))},$signature:166};s._EvaluateVisitor__closure1.prototype={call$0(){var e=s.stringReplaceAllUnchecked(this.name._string$_text,"_","-"),r=this.module;r=r==null?null:r._string$_text;return this.$this._getFunction$2$namespace(e,r)},$signature:121};s._EvaluateVisitor_closure7.prototype={call$1(e){var r,n,i,o,l,u,_,p,h,d,m,g,f,y=a.getInterceptor$asx(e),S=y.$index(e,0),v=$.SassArgumentList._as(y.$index(e,1));y=this.$this;r=y._callableNode;r.toString;n=s._setArrayType([],$.JSArray_Expression);i=$.String;o=$.Expression;l=r.get$span(r);u=r.get$span(r);v._wereKeywordsAccessed=true;_=v._keywords;if(_.get$isEmpty(_))r=null;else{p=$.Value;h=s.LinkedHashMap_LinkedHashMap$_empty(p,p);for(v._wereKeywordsAccessed=true,_=_.get$entries(_),_=_.get$iterator(_);_.moveNext$0();){d=_.get$current(_);h.$indexSet(0,new s.SassString(d.key,false),d.value)}r=new s.ValueExpression(new s.SassMap(s.ConstantMap_ConstantMap$from(h,p,p)),r.get$span(r))}m=new s.ArgumentInvocation(s.List_List$unmodifiable(n,o),s.ConstantMap_ConstantMap$from(s.LinkedHashMap_LinkedHashMap$_empty(i,o),i,o),new s.ValueExpression(v,u),r,l);if(S instanceof s.SassString){r=S.toString$0(0);s.EvaluationContext_current().warn$2$deprecation(0,c.Passin+r+"))",true);g=y._callableNode;return y.visitFunctionExpression$1(new s.FunctionExpression(null,S._string$_text,m,g.get$span(g)))}f=S.assertFunction$1("function").callable;if($.Callable._is(f)){r=y._callableNode;r.toString;return y._runFunctionCallable$3(m,f,r)}else throw s.wrapException(s.SassScriptException$("The function "+f.get$name(f)+c.x20is_as))},$signature:4};s._EvaluateVisitor_closure8.prototype={call$1(e){var r,n,i,l,u,_=a.getInterceptor$asx(e),c=s.Uri_parse(_.$index(e,0).assertString$1("url")._string$_text);_=_.$index(e,1).get$realNull();r=_==null?null:_.assertMap$1("with")._map$_contents;_=this.$this;n=_._callableNode;n.toString;if(r!=null){i=s.LinkedHashMap_LinkedHashMap$_empty($.String,$.ConfiguredValue);r.forEach$1(0,new s._EvaluateVisitor__closure(i,n.get$span(n),n));l=new s.ExplicitConfiguration(n,i)}else l=o.Configuration_Map_empty;u=n.get$span(n);_._loadModule$7$baseUrl$configuration$namesInErrors(c,"load-css()",n,new s._EvaluateVisitor__closure0(_),u.get$sourceUrl(u),l,true);_._assertConfigurationIsEmpty$2$nameInError(l,true)},$signature:502};s._EvaluateVisitor__closure.prototype={call$2(e,r){var n=e.assertString$1("with key"),i=s.stringReplaceAllUnchecked(n._string$_text,"_","-");n=this.values;if(n.containsKey$1(i))throw s.wrapException("The variable $"+i+" was configured twice.");n.$indexSet(0,i,new s.ConfiguredValue(r,this.span,this.callableNode))},$signature:50};s._EvaluateVisitor__closure0.prototype={call$1(e){var r=this.$this;return r._combineCss$2$clone(e,true).accept$1(r)},$signature:66};s._EvaluateVisitor_run_closure.prototype={call$0(){var e=this,r=e.node,n=r.span,i=n.get$sourceUrl(n);if(i!=null){n=e.$this;n._activeModules.$indexSet(0,i,null);n._loadedUrls.add$1(0,i)}n=e.$this;return new s.EvaluateResult(n._combineCss$1(n._execute$2(e.importer,r)))},$signature:520};s._EvaluateVisitor_runExpression_closure.prototype={call$0(){var e=this.$this,r=this.expression;return e._withFakeStylesheet$3(this.importer,r,new s._EvaluateVisitor_runExpression__closure(e,r))},$signature:38};s._EvaluateVisitor_runExpression__closure.prototype={call$0(){return this.expression.accept$1(this.$this)},$signature:38};s._EvaluateVisitor_runStatement_closure.prototype={call$0(){var e=this.$this,r=this.statement;return e._withFakeStylesheet$3(this.importer,r,new s._EvaluateVisitor_runStatement__closure(e,r))},$signature:0};s._EvaluateVisitor_runStatement__closure.prototype={call$0(){return this.statement.accept$1(this.$this)},$signature:0};s._EvaluateVisitor__loadModule_closure.prototype={call$0(){return this.callback.call$1(this.builtInModule)},$signature:0};s._EvaluateVisitor__loadModule_closure0.prototype={call$0(){var e,r,n,i,o,l,_,p,h,d,m,g,f,y,S,v,b=this,x=b.$this,w=b.nodeWithSpan,C=x._loadStylesheet$3$baseUrl(b.url.toString$0(0),w.get$span(w),b.baseUrl),E=C.stylesheet,A=E.span,M=A.get$sourceUrl(A);if(M!=null&&x._activeModules.containsKey$1(M)){m=b.namesInErrors?"Module loop: "+u.$get$context().prettyUri$1(M)+" is already being loaded.":c.Modulel;w=s.NullableExtension_andThen(x._activeModules.$index(0,M),new s._EvaluateVisitor__loadModule__closure(x,m));throw s.wrapException(w==null?x._evaluate$_exception$1(m):w)}if(M!=null)x._activeModules.$indexSet(0,M,w);e=x._inDependency;x._inDependency=C.isDependency;r=null;try{r=x._execute$5$configuration$namesInErrors$nodeWithSpan(C.importer,E,b.configuration,b.namesInErrors,w)}finally{x._activeModules.remove$1(0,M);x._inDependency=e}try{b.callback.call$1(r)}catch(g){w=s.unwrapException(g);if($.SassRuntimeException._is(w))throw g;else if(w instanceof s.MultiSpanSassException){n=w;i=s.getTraceFromException(g);w=n._span_exception$_message;A=n;f=a.getInterceptor$z(A);A=s.SourceSpanException.prototype.get$span.call(f,A);f=n.primaryLabel;y=n.secondarySpans;S=n;v=a.getInterceptor$z(S);s.throwWithTrace(new s.MultiSpanSassRuntimeException(x._evaluate$_stackTrace$1(s.SourceSpanException.prototype.get$span.call(v,S)),f,s.ConstantMap_ConstantMap$from(y,$.FileSpan,$.String),w,A),i)}else if(w instanceof s.SassException){o=w;l=s.getTraceFromException(g);w=o;A=a.getInterceptor$z(w);s.throwWithTrace(x._evaluate$_exception$2(o._span_exception$_message,s.SourceSpanException.prototype.get$span.call(A,w)),l)}else if(w instanceof s.MultiSpanSassScriptException){_=w;p=s.getTraceFromException(g);s.throwWithTrace(x._multiSpanException$3(_.message,_.primaryLabel,_.secondarySpans),p)}else if(w instanceof s.SassScriptException){h=w;d=s.getTraceFromException(g);s.throwWithTrace(x._evaluate$_exception$1(h.message),d)}else throw g}},$signature:1};s._EvaluateVisitor__loadModule__closure.prototype={call$1(e){return this.$this._multiSpanException$3(this.message,"new load",s.LinkedHashMap_LinkedHashMap$_literal([e.get$span(e),"original load"],$.FileSpan,$.String))},$signature:79};s._EvaluateVisitor__execute_closure.prototype={call$0(){var e,r,n,i,a=this,o=a.$this,l=o._importer,u=o.__stylesheet,_=o.__root,c=o.__parent,p=o.__endOfImports,h=o._outOfOrderImports,d=o.__extensionStore,m=o._atRootExcludingStyleRule,g=m?null:o._styleRuleIgnoringAtRoot,f=o._mediaQueries,y=o._declarationName,S=o._inUnknownAtRule,v=o._inKeyframes,b=o._configuration;o._importer=a.importer;e=o.__stylesheet=a.stylesheet;r=e.span;n=o.__parent=o.__root=s.ModifiableCssStylesheet$(r);o.__endOfImports=0;o._outOfOrderImports=null;o.__extensionStore=a.extensionStore;o._declarationName=o._mediaQueries=o._styleRuleIgnoringAtRoot=null;o._inKeyframes=o._atRootExcludingStyleRule=o._inUnknownAtRule=false;i=a.configuration;if(i!=null)o._configuration=i;o.visitStylesheet$1(e);e=o._outOfOrderImports==null?n:new s.CssStylesheet(new s.UnmodifiableListView(o._addOutOfOrderImports$0(),$.UnmodifiableListView_CssNode),r);a.css._value=e;o._importer=l;o.__stylesheet=u;o.__root=_;o.__parent=c;o.__endOfImports=p;o._outOfOrderImports=h;o.__extensionStore=d;o._styleRuleIgnoringAtRoot=g;o._mediaQueries=f;o._declarationName=y;o._inUnknownAtRule=S;o._atRootExcludingStyleRule=m;o._inKeyframes=v;o._configuration=b},$signature:1};s._EvaluateVisitor__combineCss_closure.prototype={call$1(e){return e.get$transitivelyContainsCss()},$signature:116};s._EvaluateVisitor__combineCss_closure0.prototype={call$1(e){return!this.selectors.contains$1(0,e)},$signature:13};s._EvaluateVisitor__combineCss_closure1.prototype={call$1(e){return e.cloneCss$0()},$signature:522};s._EvaluateVisitor__extendModules_closure.prototype={call$1(e){return!this.originalSelectors.contains$1(0,e)},$signature:13};s._EvaluateVisitor__extendModules_closure0.prototype={call$0(){return s._setArrayType([],$.JSArray_ExtensionStore)},$signature:169};s._EvaluateVisitor__topologicalModules_visitModule.prototype={call$1(e){var r,n,i,a,o;for(r=e.get$upstream(),n=r.length,i=this.seen,a=0;ar?o.JSArray_methods.sublist$1(v,r):o.List_empty7;S=S.separator;m=s.SassArgumentList$(d,b,S===o.ListSeparator_undecided_null?o.ListSeparator_kWM:S);y._environment.setLocalVariable$3(h,m,w)}else m=null;g=f.run.call$0();if(m==null)return g;S=b.__js_helper$_length;if(S===0)return g;if(m._wereKeywordsAccessed)return g;v=s._instanceType(b)._eval$1("LinkedHashMapKeyIterable<1>");throw s.wrapException(s.MultiSpanSassRuntimeException$("No "+s.pluralize("argument",S,null)+" named "+s.toSentence(s.MappedIterable_MappedIterable(new s.LinkedHashMapKeyIterable(b,v),new s._EvaluateVisitor__runUserDefinedCallable____closure,v._eval$1("Iterable.E"),$.Object),"or")+".",w.get$span(w),"invocation",s.LinkedHashMap_LinkedHashMap$_literal([x.get$spanWithName(),"declaration"],$.FileSpan,$.String),y._evaluate$_stackTrace$1(w.get$span(w))))},$signature(){return this.V._eval$1("0()")}};s._EvaluateVisitor__runUserDefinedCallable____closure.prototype={call$1(e){return"$"+e},$signature:5};s._EvaluateVisitor__runFunctionCallable_closure.prototype={call$0(){var e,r,n,i,a,o;for(e=this.callable.declaration,r=e.children,n=r.length,i=this.$this,a=0;a127},$signature:57};s._SerializeVisitor.prototype={visitCssStylesheet$1(e){var r,n,i,s,l,u,_,c,p,h,d=this;for(r=a.get$iterator$ax(e.get$children(e)),n=!d._inspect,i=d._style===o.OutputStyle_compressed,s=!i,l=$.CssComment,u=$.CssParentNode,_=d._serialize$_buffer,c=null;r.moveNext$0();){p=r.get$current(r);if(n)h=i?p.accept$1(o._IsInvisibleVisitor_true_true):p.accept$1(o._IsInvisibleVisitor_true_false);else h=false;if(h)continue;if(c!=null){if(u._is(c)?c.get$isChildless():!l._is(c))_.writeCharCode$1(59);if(d._isTrailingComment$2(p,c)){if(s)_.writeCharCode$1(32)}else{if(s)_.write$1(0,"\n");if(c.get$isGroupEnd())if(s)_.write$1(0,"\n")}}p.accept$1(d);c=p}if(c!=null)r=(u._is(c)?c.get$isChildless():!l._is(c))&&s;else r=false;if(r)_.writeCharCode$1(59)},visitCssComment$1(e){this._serialize$_buffer.forSpan$2(e.span,new s._SerializeVisitor_visitCssComment_closure(this,e))},visitCssAtRule$1(e){var r,n=this;n._writeIndentation$0();r=n._serialize$_buffer;r.forSpan$2(e.span,new s._SerializeVisitor_visitCssAtRule_closure(n,e));if(!e.isChildless){if(n._style!==o.OutputStyle_compressed)r.writeCharCode$1(32);n._serialize$_visitChildren$1(e)}},visitCssMediaRule$1(e){var r,n=this;n._writeIndentation$0();r=n._serialize$_buffer;r.forSpan$2(e.span,new s._SerializeVisitor_visitCssMediaRule_closure(n,e));if(n._style!==o.OutputStyle_compressed)r.writeCharCode$1(32);n._serialize$_visitChildren$1(e)},visitCssImport$1(e){this._writeIndentation$0();this._serialize$_buffer.forSpan$2(e.span,new s._SerializeVisitor_visitCssImport_closure(this,e))},_writeImportUrl$1(e){var r,n,i=this;if(i._style!==o.OutputStyle_compressed||o.JSString_methods._codeUnitAt$1(e,0)!==117){i._serialize$_buffer.write$1(0,e);return}r=o.JSString_methods.substring$2(e,4,e.length-1);n=o.JSString_methods._codeUnitAt$1(r,0);if(n===39||n===34)i._serialize$_buffer.write$1(0,r);else i._visitQuotedString$1(r)},visitCssKeyframeBlock$1(e){var r,n=this;n._writeIndentation$0();r=n._serialize$_buffer;r.forSpan$2(e.selector.span,new s._SerializeVisitor_visitCssKeyframeBlock_closure(n,e));if(n._style!==o.OutputStyle_compressed)r.writeCharCode$1(32);n._serialize$_visitChildren$1(e)},_visitMediaQuery$1(e){var r,n,i,s,l=this,u=e.modifier;if(u!=null){r=l._serialize$_buffer;r.write$1(0,u);r.writeCharCode$1(32)}u=e.type;if(u!=null){r=l._serialize$_buffer;r.write$1(0,u);if(e.conditions.length!==0)r.write$1(0," and ")}u=e.conditions;if(u.length===1&&a.startsWith$1$s(o.JSArray_methods.get$first(u),"(not ")){r=l._serialize$_buffer;r.write$1(0,"not ");n=o.JSArray_methods.get$first(u);r.write$1(0,o.JSString_methods.substring$2(n,5,n.length-1))}else{i=e.conjunction?"and":"or";r=l._style===o.OutputStyle_compressed?i+" ":" "+i+" ";s=l._serialize$_buffer;l._writeBetween$3(u,r,s.get$write(s))}},visitCssStyleRule$1(e){var r,n=this;n._writeIndentation$0();r=n._serialize$_buffer;r.forSpan$2(e.selector.span,new s._SerializeVisitor_visitCssStyleRule_closure(n,e));if(n._style!==o.OutputStyle_compressed)r.writeCharCode$1(32);n._serialize$_visitChildren$1(e)},visitCssSupportsRule$1(e){var r,n=this;n._writeIndentation$0();r=n._serialize$_buffer;r.forSpan$2(e.span,new s._SerializeVisitor_visitCssSupportsRule_closure(n,e));if(n._style!==o.OutputStyle_compressed)r.writeCharCode$1(32);n._serialize$_visitChildren$1(e)},visitCssDeclaration$1(e){var r,n,i,l,u,_,c,p=this;p._writeIndentation$0();u=e.name;p._serialize$_write$1(u);_=p._serialize$_buffer;_.writeCharCode$1(58);if(a.startsWith$1$s(u.get$value(u),"--")&&e.parsedAsCustomProperty){u=e.value;_.forSpan$2(u.get$span(u),new s._SerializeVisitor_visitCssDeclaration_closure(p,e))}else{if(p._style!==o.OutputStyle_compressed)_.writeCharCode$1(32);try{_.forSpan$2(e.valueSpanForMap,new s._SerializeVisitor_visitCssDeclaration_closure0(p,e))}catch(c){u=s.unwrapException(c);if(u instanceof s.MultiSpanSassScriptException){r=u;n=s.getTraceFromException(c);u=r.message;_=e.value;_=_.get$span(_);s.throwWithTrace(new s.MultiSpanSassException(r.primaryLabel,s.ConstantMap_ConstantMap$from(r.secondarySpans,$.FileSpan,$.String),u,_),n)}else if(u instanceof s.SassScriptException){i=u;l=s.getTraceFromException(c);u=e.value;s.throwWithTrace(new s.SassException(i.message,u.get$span(u)),l)}else throw c}}},_writeFoldedValue$1(e){var r,n,i,a=e.value,o=s.StringScanner$($.SassString._as(a.get$value(a))._string$_text,null,null);for(a=o.string.length,r=this._serialize$_buffer;o._string_scanner$_position!==a;){n=o.readChar$0();if(n!==10){r.writeCharCode$1(n);continue}r.writeCharCode$1(32);while(true){i=o.peekChar$0();if(!(i===32||i===9||i===10||i===13||i===12))break;o.readChar$0()}}},_writeReindentedValue$1(e){var r=this,n=e.value,i=$.SassString._as(n.get$value(n))._string$_text,a=r._minimumIndentation$1(i);if(a==null){r._serialize$_buffer.write$1(0,i);return}else if(a===-1){n=r._serialize$_buffer;n.write$1(0,s.trimAsciiRight(i,true));n.writeCharCode$1(32);return}n=e.name;n=n.get$span(n);n=n.get$start(n);r._writeWithIndent$2(i,Math.min(a,n.file.getColumn$1(n.offset)))},_minimumIndentation$1(e){var r,n,i,a,o,l=s.LineScanner$(e),u=l.string.length;while(true){if(l._string_scanner$_position!==u){r=l.super$StringScanner$readChar();l._adjustLineAndColumn$1(r);n=r!==10}else n=false;if(!n)break}if(l._string_scanner$_position===u)return l.peekChar$1(-1)===10?-1:null;for(i=null;l._string_scanner$_position!==u;){for(;l._string_scanner$_position!==u;){a=l.peekChar$0();if(a!==32&&a!==9)break;l._adjustLineAndColumn$1(l.super$StringScanner$readChar())}if(l._string_scanner$_position===u||l.scanChar$1(10))continue;o=l._line_scanner$_column;i=i==null?o:Math.min(i,o);while(true){if(l._string_scanner$_position!==u){r=l.super$StringScanner$readChar();l._adjustLineAndColumn$1(r);n=r!==10}else n=false;if(!n)break}}return i==null?-1:i},_writeWithIndent$2(e,r){var n,i,a,l,u,_,c,$=s.LineScanner$(e);for(n=$.string,i=n.length,a=this._serialize$_buffer;$._string_scanner$_position!==i;){l=$.super$StringScanner$readChar();$._adjustLineAndColumn$1(l);if(l===10)break;a.writeCharCode$1(l)}for(;true;){u=$._string_scanner$_position;for(_=1;true;){if($._string_scanner$_position===i){a.writeCharCode$1(32);return}l=$.super$StringScanner$readChar();$._adjustLineAndColumn$1(l);if(l===32||l===9)continue;if(l!==10)break;u=$._string_scanner$_position;++_}this._writeTimes$2(10,_);this._writeIndentation$0();c=$._string_scanner$_position;a.write$1(0,o.JSString_methods.substring$2(n,u+r,c));for(;true;){if($._string_scanner$_position===i)return;l=$.super$StringScanner$readChar();$._adjustLineAndColumn$1(l);if(l===10)break;a.writeCharCode$1(l)}}},_writeCalculationValue$1(e){var r,n,i,a,l,u,_,c=this;if(e instanceof s.Value)e.accept$1(c);else if(e instanceof s.CalculationInterpolation)c._serialize$_buffer.write$1(0,e.value);else if(e instanceof s.CalculationOperation){r=e.left;if(!(r instanceof s.CalculationInterpolation))n=r instanceof s.CalculationOperation&&r.operator.precedence"));a=e._separator;l=u._separatorString$1(a);u._writeBetween$3(n,l,r?new s._SerializeVisitor_visitList_closure0(u,e):new s._SerializeVisitor_visitList_closure1(u));if(i){r=u._serialize$_buffer;r.write$1(0,a.separator);if(!_)r.writeCharCode$1(41)}if(_)u._serialize$_buffer.writeCharCode$1(93)},_separatorString$1(e){switch(e){case o.ListSeparator_kWM:return this._style===o.OutputStyle_compressed?",":", ";case o.ListSeparator_1gm:return this._style===o.OutputStyle_compressed?"/":" / ";case o.ListSeparator_woc:return" ";default:return""}},_elementNeedsParens$2(e,r){var n;if(r instanceof s.SassList){if(r._list$_contents.length<2)return false;if(r._hasBrackets)return false;switch(e){case o.ListSeparator_kWM:return r._separator===o.ListSeparator_kWM;case o.ListSeparator_1gm:n=r._separator;return n===o.ListSeparator_kWM||n===o.ListSeparator_1gm;default:return r._separator!==o.ListSeparator_undecided_null}}return false},visitMap$1(e){var r,n,i=this;if(!i._inspect)throw s.wrapException(s.SassScriptException$(e.toString$0(0)+" isn't a valid CSS value."));r=i._serialize$_buffer;r.writeCharCode$1(40);n=e._map$_contents;i._writeBetween$3(n.get$entries(n),", ",new s._SerializeVisitor_visitMap_closure(i));r.writeCharCode$1(41)},_writeMapElement$1(e){var r=e instanceof s.SassList&&e._separator===o.ListSeparator_kWM&&!e._hasBrackets;if(r)this._serialize$_buffer.writeCharCode$1(40);e.accept$1(this);if(r)this._serialize$_buffer.writeCharCode$1(41)},visitNumber$1(e){var r=this,n=e.asSlash;if(n!=null){r.visitNumber$1(n.item1);r._serialize$_buffer.writeCharCode$1(47);r.visitNumber$1(n.item2);return}r._writeNumber$1(e._number$_value);if(!r._inspect){if(e.get$numeratorUnits(e).length>1||e.get$denominatorUnits(e).length!==0)throw s.wrapException(s.SassScriptException$(e.toString$0(0)+" isn't a valid CSS value."));if(e.get$numeratorUnits(e).length!==0)r._serialize$_buffer.write$1(0,o.JSArray_methods.get$first(e.get$numeratorUnits(e)))}else r._serialize$_buffer.write$1(0,e.get$unitString())},_writeNumber$1(e){var r,n=this,i=s.fuzzyIsInt(e)?o.JSNumber_methods.round$0(e):null;if(i!=null){n._serialize$_buffer.write$1(0,n._removeExponent$1(o.JSInt_methods.toString$0(i)));return}r=n._removeExponent$1(o.JSNumber_methods.toString$0(e));if(r.length<12){if(n._style===o.OutputStyle_compressed&&o.JSString_methods._codeUnitAt$1(r,0)===48)r=o.JSString_methods.substring$1(r,1);n._serialize$_buffer.write$1(0,r);return}n._writeRounded$1(r)},_removeExponent$1(e){var r,n,i,a=o.JSString_methods._codeUnitAt$1(e,0),l=a===45,u=s._Cell$(),_=e.length,c=0;while(true){if(!(c<_)){r=null;break}e:{if(o.JSString_methods._codeUnitAt$1(e,c)!==101)break e;r=new s.StringBuffer("");a=r._contents=""+s.Primitives_stringFromCharCode(a);if(l){a+=s.Primitives_stringFromCharCode(o.JSString_methods._codeUnitAt$1(e,1));r._contents=a;if(c>3)r._contents=a+o.JSString_methods.substring$2(e,3,c)}else if(c>2)r._contents=a+o.JSString_methods.substring$2(e,2,c);u._value=s.int_parse(o.JSString_methods.substring$2(e,c+1,_),null);break}++c}if(r==null)return e;if(u._readLocal$0()>0){a=u._readLocal$0();_=r._contents;n=l?1:0;i=a-(_.length-1-n);for(a=_,c=0;cn))break;a+=s.Primitives_stringFromCharCode(48);--c}if(l){_=r._contents;_=o.JSString_methods.substring$1(_.charCodeAt(0)==0?_:_,1)}else _=r;_=a+s.S(_);return _.charCodeAt(0)==0?_:_}},_writeRounded$1(e){var r,n,i,s,a,l,u,_,c,$,p,h,d,m=this;if(o.JSString_methods.endsWith$1(e,".0")){m._serialize$_buffer.write$1(0,o.JSString_methods.substring$2(e,0,e.length-2));return}r=e.length;n=new Uint8Array(r+1);i=o.JSString_methods._codeUnitAt$1(e,0)===45;s=i?1:0;for(a=1;true;s=l,a=_){if(s===r){m._serialize$_buffer.write$1(0,e);return}l=s+1;u=o.JSString_methods._codeUnitAt$1(e,s);if(u===46){s=l;break}_=a+1;n[a]=u-48}c=s+10;if(c>=r){m._serialize$_buffer.write$1(0,e);return}for(_=a;s=5)for(;true;_=$){$=_-1;p=n[$]+1;n[$]=p;if(p!==10)break}for(;_a;if(!(r&&n[_-1]===0))break;--_}if(_===2&&n[0]===0&&n[1]===0){m._serialize$_buffer.writeCharCode$1(48);return}if(i)m._serialize$_buffer.writeCharCode$1(45);if(n[0]===0)h=m._style===o.OutputStyle_compressed&&n[1]===0?2:1;else h=0;for(d=m._serialize$_buffer;h=57344&&r<=63743){this._writeEscape$4(e,r,n,i);return i}if(r>>>7===439&&n.length>i+1){s=i+1;this._writeEscape$4(e,65536+((r&1023)<<10)+(o.JSString_methods._codeUnitAt$1(n,s)&1023),n,s);return s}return null},_writeEscape$4(e,r,n,i){var a,l;e.writeCharCode$1(92);e.write$1(0,o.JSInt_methods.toRadixString$1(r,16));a=i+1;if(n.length===a)return;l=o.JSString_methods._codeUnitAt$1(n,a);if(s.isHex(l)||l===32||l===9)e.writeCharCode$1(32)},visitAttributeSelector$1(e){var r,n,i=this._serialize$_buffer;i.writeCharCode$1(91);i.write$1(0,e.name);r=e.value;if(r!=null){i.write$1(0,e.op);if(s.Parser_isIdentifier(r)&&!o.JSString_methods.startsWith$1(r,"--")){i.write$1(0,r);n=e.modifier;if(n!=null)i.writeCharCode$1(32)}else{this._visitQuotedString$1(r);n=e.modifier;if(n!=null)if(this._style!==o.OutputStyle_compressed)i.writeCharCode$1(32)}if(n!=null)i.write$1(0,n)}i.writeCharCode$1(93)},visitClassSelector$1(e){var r=this._serialize$_buffer;r.writeCharCode$1(46);r.write$1(0,e.name)},visitComplexSelector$1(e){var r,n,i,s,a,l,u,_,c,$,p=this,h=e.leadingCombinators;p._writeCombinators$1(h);if(h.length!==0&&e.components.length!==0)if(p._style!==o.OutputStyle_compressed)p._serialize$_buffer.writeCharCode$1(32);for(h=e.components,r=h.length,n=r-1,i=p._serialize$_buffer,s=p._style===o.OutputStyle_compressed,a=!s,l=0;l"))),n=_._style!==o.OutputStyle_compressed,i=_._serialize$_buffer,l=true;r.moveNext$0();){u=r.get$current(r);if(l)l=false;else{i.writeCharCode$1(44);if(u.lineBreak){if(n)i.write$1(0,"\n")}else if(n)i.writeCharCode$1(32)}_.visitComplexSelector$1(u)}},visitParentSelector$1(e){var r,n=this._serialize$_buffer;n.writeCharCode$1(38);r=e.suffix;if(r!=null)n.write$1(0,r)},visitPlaceholderSelector$1(e){var r=this._serialize$_buffer;r.writeCharCode$1(37);r.write$1(0,e.name)},visitPseudoSelector$1(e){var r,n,i,s=e.selector,a=s==null,l=!a;if(l&&e.name==="not"&&s.accept$1(o._IsInvisibleVisitor_true))return;r=this._serialize$_buffer;r.writeCharCode$1(58);if(!e.isSyntacticClass)r.writeCharCode$1(58);r.write$1(0,e.name);n=e.argument;i=n==null;if(i&&a)return;r.writeCharCode$1(40);if(!i){r.write$1(0,n);if(l)r.writeCharCode$1(32)}if(l)this.visitSelectorList$1(s);r.writeCharCode$1(41)},visitTypeSelector$1(e){this._serialize$_buffer.write$1(0,e.name)},visitUniversalSelector$1(e){var r,n=e.namespace;if(n!=null){r=this._serialize$_buffer;r.write$1(0,n);r.writeCharCode$1(124)}this._serialize$_buffer.writeCharCode$1(42)},_serialize$_write$1(e){return this._serialize$_buffer.forSpan$2(e.get$span(e),new s._SerializeVisitor__write_closure(this,e))},_serialize$_visitChildren$1(e){var r,n,i,a,l,u,_,c,p,h,d,m,g,f=this,y=f._serialize$_buffer;y.writeCharCode$1(123);for(r=e.children,r=new s.ListIterator(r,r.get$length(r)),n=f._style===o.OutputStyle_compressed,i=!n,a=!f._inspect,l=s._instanceType(r)._precomputed1,u=$.CssComment,_=$.CssParentNode,c=null,p=null;r.moveNext$0();){h=r.__internal$_current;d=h==null?l._as(h):h;if(a)h=n?d.accept$1(o._IsInvisibleVisitor_true_true):d.accept$1(o._IsInvisibleVisitor_true_false);else h=false;if(h)continue;h=p==null;if(!h)m=_._is(p)?p.get$isChildless():!u._is(p);else m=false;if(m)y.writeCharCode$1(59);if(f._isTrailingComment$2(d,h?e:p)){if(i)y.writeCharCode$1(32);g=f._indentation;f._indentation=0;new s._SerializeVisitor__visitChildren_closure(f,d).call$0();f._indentation=g}else{if(i)y.write$1(0,"\n");++f._indentation;new s._SerializeVisitor__visitChildren_closure0(f,d).call$0();--f._indentation}c=p;p=d}if(p!=null){if((_._is(p)?p.get$isChildless():!u._is(p))&&i)y.writeCharCode$1(59);if(c==null&&f._isTrailingComment$2(p,e)){if(i)y.writeCharCode$1(32)}else{f._writeLineFeed$0();f._writeIndentation$0()}}y.writeCharCode$1(125)},_isTrailingComment$2(e,r){var n,i,l,u,_,c,p;if(this._style===o.OutputStyle_compressed)return false;if(!$.CssComment._is(e))return false;n=r.get$span(r);i=e.span;if(!(a.$eq$(n.get$file(n).url,i.get$file(i).url)&&n.get$start(n).offset<=i.get$start(i).offset&&n.get$end(n).offset>=i.get$end(i).offset)){n=i.get$start(i);n=n.file.getLine$1(n.offset);i=r.get$span(r);i=i.get$end(i);return n===i.file.getLine$1(i.offset)}n=i.get$start(i);l=r.get$span(r);u=n.offset-l.get$start(l).offset-1;if(u<0)return false;_=Math.max(0,o.JSString_methods.lastIndexOf$2(r.get$span(r).get$text(),"{",u));n=r.get$span(r);n=n.get$file(n);l=r.get$span(r);l=l.get$start(l);c=r.get$span(r);p=n.span$2(0,l.offset,c.get$start(c).offset+_);i=i.get$start(i);i=i.file.getLine$1(i.offset);c=s.FileLocation$_(p.file,p._end);return i===c.file.getLine$1(c.offset)},_writeLineFeed$0(){if(this._style!==o.OutputStyle_compressed)this._serialize$_buffer.write$1(0,"\n")},_writeIndentation$0(){var e=this;if(e._style===o.OutputStyle_compressed)return;e._writeTimes$2(e._indentCharacter,e._indentation*e._indentWidth)},_writeTimes$2(e,r){var n,i;for(n=this._serialize$_buffer,i=0;ii){for(g=i;g");E.$indexSet(0,"sourcesContent",s.List_List$of(new s.MappedListIterable(r,new s.SingleMapping_toJson_closure,n),true,n._eval$1("ListIterable.E")))}A.extensions.forEach$1(0,new s.SingleMapping_toJson_closure0(E));return E},toJson$0(){return this.toJson$1$includeSourceContents(false)},toString$0(e){var r=this,n=s.getRuntimeType(r).toString$0(0)+" : ["+"targetUrl: "+s.S(r.targetUrl)+", sourceRoot: "+s.S(r.sourceRoot)+", urls: "+s.S(r.urls)+", names: "+s.S(r.names)+", lines: "+s.S(r.lines)+"]";return n.charCodeAt(0)==0?n:n}};s.SingleMapping_SingleMapping$fromEntries_closure.prototype={call$0(){return this.urls.__js_helper$_length},$signature:12};s.SingleMapping_SingleMapping$fromEntries_closure0.prototype={call$0(){return this.sourceEntry.source.file},$signature:263};s.SingleMapping_SingleMapping$fromEntries_closure1.prototype={call$1(e){return this.files.$index(0,e)},$signature:264};s.SingleMapping_toJson_closure.prototype={call$1(e){return e==null?null:s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(e._decodedChars,0,null),0,null)},$signature:265};s.SingleMapping_toJson_closure0.prototype={call$2(e,r){this.result.$indexSet(0,e,r);return r},$signature:214};s.TargetLineEntry.prototype={toString$0(e){return s.getRuntimeType(this).toString$0(0)+": "+this.line+" "+s.S(this.entries)}};s.TargetEntry.prototype={toString$0(e){var r=this;return s.getRuntimeType(r).toString$0(0)+": ("+r.column+", "+r.sourceUrlId+", "+r.sourceLine+", "+r.sourceColumn+", "+s.S(r.sourceNameId)+")"}};s.SourceFile.prototype={get$length(e){return this._decodedChars.length},get$lines(){return this._lineStarts.length},SourceFile$decoded$2$url(e,r){var n,i,s,a,o,l;for(n=this._decodedChars,i=n.length,s=this._lineStarts,a=0;a=i||n[l]!==10)o=10}if(o===10)s.push(a+1)}},span$2(e,r,n){return s._FileSpan$(this,r,n==null?this._decodedChars.length:n)},span$1(e,r){return this.span$2(e,r,null)},getLine$1(e){var r,n=this;if(e<0)throw s.wrapException(s.RangeError$("Offset may not be negative, was "+e+"."));else if(e>n._decodedChars.length)throw s.wrapException(s.RangeError$("Offset "+e+c.x20must_+n.get$length(n)+"."));r=n._lineStarts;if(e=o.JSArray_methods.get$last(r))return r.length-1;if(n._isNearCachedLine$1(e)){r=n._cachedLine;r.toString;return r}return n._cachedLine=n._binarySearch$1(e)-1},_isNearCachedLine$1(e){var r,n,i=this._cachedLine;if(i==null)return false;r=this._lineStarts;if(e=n-1||e=n-2||ee)s=n;else r=n+1}return s},getColumn$1(e){var r,n,i=this;if(e<0)throw s.wrapException(s.RangeError$("Offset may not be negative, was "+e+"."));else if(e>i._decodedChars.length)throw s.wrapException(s.RangeError$("Offset "+e+" must be not be greater than the number of characters in the file, "+i.get$length(i)+"."));r=i.getLine$1(e);n=i._lineStarts[r];if(n>e)throw s.wrapException(s.RangeError$("Line "+r+" comes after offset "+e+"."));return e-n},getOffset$1(e){var r,n,i,a;if(e<0)throw s.wrapException(s.RangeError$("Line may not be negative, was "+e+"."));else{r=this._lineStarts;n=r.length;if(e>=n)throw s.wrapException(s.RangeError$("Line "+e+" must be less than the number of lines in the file, "+this.get$lines()+"."))}i=r[e];if(i<=this._decodedChars.length){a=e+1;r=a=r[a]}else r=true;if(r)throw s.wrapException(s.RangeError$("Line "+e+" doesn't have 0 columns."));return i}};s.FileLocation.prototype={get$sourceUrl(e){return this.file.url},get$line(){return this.file.getLine$1(this.offset)},get$column(){return this.file.getColumn$1(this.offset)},FileLocation$_$2(e,r){var n,i=this.offset;if(i<0)throw s.wrapException(s.RangeError$("Offset may not be negative, was "+i+"."));else{n=this.file;if(i>n._decodedChars.length)throw s.wrapException(s.RangeError$("Offset "+i+c.x20must_+n.get$length(n)+"."))}},pointSpan$0(){var e=this.offset;return s._FileSpan$(this.file,e,e)},get$offset(){return this.offset}};s._FileSpan.prototype={get$sourceUrl(e){return this.file.url},get$length(e){return this._end-this._file$_start},get$start(e){return s.FileLocation$_(this.file,this._file$_start)},get$end(e){return s.FileLocation$_(this.file,this._end)},get$text(){return s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(this.file._decodedChars,this._file$_start,this._end),0,null)},get$context(e){var r=this,n=r.file,i=r._end,a=n.getLine$1(i);if(n.getColumn$1(i)===0&&a!==0){if(i-r._file$_start===0)return a===n._lineStarts.length-1?"":s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(n._decodedChars,n.getOffset$1(a),n.getOffset$1(a+1)),0,null)}else i=a===n._lineStarts.length-1?n._decodedChars.length:n.getOffset$1(a+1);return s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(n._decodedChars,n.getOffset$1(n.getLine$1(r._file$_start)),i),0,null)},_FileSpan$3(e,r,n){var i,a=this._end,o=this._file$_start;if(ai._decodedChars.length)throw s.wrapException(s.RangeError$("End "+a+c.x20must_+i.get$length(i)+"."));else if(o<0)throw s.wrapException(s.RangeError$("Start may not be negative, was "+o+"."))}},compareTo$1(e,r){var n;if(!(r instanceof s._FileSpan))return this.super$SourceSpanMixin$compareTo(0,r);n=o.JSInt_methods.compareTo$1(this._file$_start,r._file$_start);return n===0?o.JSInt_methods.compareTo$1(this._end,r._end):n},$eq(e,r){var n=this;if(r==null)return false;if(!$.FileSpan._is(r))return n.super$SourceSpanMixin$$eq(0,r);if(!(r instanceof s._FileSpan))return n.super$SourceSpanMixin$$eq(0,r)&&a.$eq$(n.file.url,r.get$sourceUrl(r));return n._file$_start===r._file$_start&&n._end===r._end&&a.$eq$(n.file.url,r.file.url)},get$hashCode(e){return s.Object_hash(this._file$_start,this._end,this.file.url)},expand$1(e,r){var n,i,o=this,l=o.file;if(!a.$eq$(l.url,r.get$sourceUrl(r)))throw s.wrapException(s.ArgumentError$('Source URLs "'+s.S(o.get$sourceUrl(o))+'" and "'+s.S(r.get$sourceUrl(r))+"\" don't match.",null));n=o._file$_start;i=o._end;if(r instanceof s._FileSpan)return s._FileSpan$(l,Math.min(n,r._file$_start),Math.max(i,r._end));else return s._FileSpan$(l,Math.min(n,r.get$start(r).offset),Math.max(i,r.get$end(r).offset))},$isFileSpan:1,$isSourceSpanWithContext:1,get$file(e){return this.file}};s.Highlighter.prototype={highlight$0(){var e,r,n,i,l,_,c,p,h,d,m,g,f,y,S,v,b,x,w,C=this,E=null,A=C._lines;C._writeFileStart$1(o.JSArray_methods.get$first(A).url);e=C._maxMultilineSpans;r=s.List_List$filled(e,E,false,$.nullable__Highlight);for(n=C._highlighter$_buffer,e=e!==0,i=C._primaryColor,l=0;l0){c=A[l-1];p=c.url;h=_.url;if(!a.$eq$(p,h)){C._writeSidebar$1$end(u._glyphs.get$upEnd());n._contents+="\n";C._writeFileStart$1(h)}else if(c.number+1!==_.number){C._writeSidebar$1$text("...");n._contents+="\n"}}for(p=_.highlights,h=new s.ReversedListIterable(p,s._arrayInstanceType(p)._eval$1("ReversedListIterable<1>")),h=new s.ListIterator(h,h.get$length(h)),d=s._instanceType(h)._precomputed1,m=_.number,g=_.text;h.moveNext$0();){f=h.__internal$_current;if(f==null)f=d._as(f);y=f.span;if(y.get$start(y).get$line()!==y.get$end(y).get$line()&&y.get$start(y).get$line()===m&&C._isOnlyWhitespace$1(o.JSString_methods.substring$2(g,0,y.get$start(y).get$column()))){S=o.JSArray_methods.indexOf$1(r,E);if(S<0)s.throwExpression(s.ArgumentError$(s.S(r)+" contains no null elements.",E));r[S]=f}}C._writeSidebar$1$line(m);n._contents+=" ";C._writeMultilineHighlights$2(_,r);if(e)n._contents+=" ";v=o.JSArray_methods.indexWhere$1(p,new s.Highlighter_highlight_closure);b=v===-1?E:p[v];h=b!=null;if(h){d=b.span;f=d.get$start(d).get$line()===m?d.get$start(d).get$column():0;C._writeHighlightedText$4$color(g,f,d.get$end(d).get$line()===m?d.get$end(d).get$column():g.length,i)}else C._writeText$1(g);n._contents+="\n";if(h)C._writeIndicator$3(_,b,r);for(h=p.length,x=0;x"));return r.get$length(r)},$signature:266};s.Highlighter$___closure.prototype={call$1(e){var r=e.span;return r.get$start(r).get$line()!==r.get$end(r).get$line()},$signature:119};s.Highlighter$__closure0.prototype={call$1(e){return e.url},$signature:268};s.Highlighter__collateLines_closure.prototype={call$1(e){var r=e.span;r=r.get$sourceUrl(r);return r==null?new s.Object:r},$signature:269};s.Highlighter__collateLines_closure0.prototype={call$2(e,r){return e.span.compareTo$1(0,r.span)},$signature:270};s.Highlighter__collateLines_closure1.prototype={call$1(e){var r,n,i,l,u,_,c,p,h,d,m,g,f,y=e.key,S=e.value,v=s._setArrayType([],$.JSArray__Line);for(r=a.getInterceptor$ax(S),n=r.get$iterator(S),i=$.JSArray__Highlight;n.moveNext$0();){l=n.get$current(n).span;u=l.get$context(l);_=s.findLineStart(u,l.get$text(),l.get$start(l).get$column());_.toString;_=o.JSString_methods.allMatches$1("\n",o.JSString_methods.substring$2(u,0,_));c=_.get$length(_);p=l.get$start(l).get$line()-c;for(l=u.split("\n"),_=l.length,h=0;h<_;++h){d=l[h];if(v.length===0||p>o.JSArray_methods.get$last(v).number)v.push(new s._Line(d,p,y,s._setArrayType([],i)));++p}}m=s._setArrayType([],i);for(n=v.length,g=0,h=0;hd.number)break;m.push(l)}g+=m.length-f;o.JSArray_methods.addAll$1(d.highlights,m)}return v},$signature:271};s.Highlighter__collateLines__closure.prototype={call$1(e){var r=e.span;return r.get$end(r).get$line()";return null},$signature:0};s.Highlighter__writeMultilineHighlights_closure.prototype={call$0(){var e=u._glyphs;e=this.startLine===this.line.number?e.get$topLeftCorner():e.get$bottomLeftCorner();this.$this._highlighter$_buffer._contents+=e},$signature:1};s.Highlighter__writeMultilineHighlights_closure0.prototype={call$0(){var e=u._glyphs;e=this.highlight==null?e.get$horizontalLine():e.get$cross();this.$this._highlighter$_buffer._contents+=e},$signature:1};s.Highlighter__writeMultilineHighlights_closure1.prototype={call$0(){this.$this._highlighter$_buffer._contents+=u._glyphs.get$horizontalLine();return null},$signature:0};s.Highlighter__writeMultilineHighlights_closure2.prototype={call$0(){var e=this,r=e._box_0,n=r.openedOnThisLine,i=u._glyphs,a=n?i.get$cross():i.get$verticalLine();if(e.current!=null)e.$this._highlighter$_buffer._contents+=a;else{n=e.line;i=n.number;if(e.startLine===i){n=e.$this;n._colorize$2$color(new s.Highlighter__writeMultilineHighlights__closure(r,n),r.openedOnThisLineColor);r.openedOnThisLine=true;if(r.openedOnThisLineColor==null)r.openedOnThisLineColor=e.highlight.isPrimary?n._primaryColor:n._secondaryColor}else{if(e.endLine===i){i=e.highlight.span;n=i.get$end(i).get$column()===n.text.length}else n=false;i=e.$this;if(n){r=e.highlight.label==null?u._glyphs.glyphOrAscii$2("└","\\"):a;i._highlighter$_buffer._contents+=r}else i._colorize$2$color(new s.Highlighter__writeMultilineHighlights__closure0(i,a),r.openedOnThisLineColor)}}},$signature:1};s.Highlighter__writeMultilineHighlights__closure.prototype={call$0(){var e=this._box_0.openedOnThisLine?"┬":"┌";this.$this._highlighter$_buffer._contents+=u._glyphs.glyphOrAscii$2(e,"/")},$signature:1};s.Highlighter__writeMultilineHighlights__closure0.prototype={call$0(){this.$this._highlighter$_buffer._contents+=this.vertical},$signature:1};s.Highlighter__writeHighlightedText_closure.prototype={call$0(){var e=this;return e.$this._writeText$1(o.JSString_methods.substring$2(e.text,e.startColumn,e.endColumn))},$signature:0};s.Highlighter__writeIndicator_closure.prototype={call$0(){var e,r,n,i,s=this.$this,a=s._highlighter$_buffer,l=a._contents,_=this.highlight,c=_.span;_=_.isPrimary?"^":u._glyphs.get$horizontalLineBold();e=c.get$start(c).get$column();r=c.get$end(c).get$column();c=this.line.text;n=s._countTabs$1(o.JSString_methods.substring$2(c,0,e));i=s._countTabs$1(o.JSString_methods.substring$2(c,e,r));e+=n*3;a._contents+=o.JSString_methods.$mul(" ",e);_=a._contents+=o.JSString_methods.$mul(_,Math.max(r+(n+i)*3-e,1));return _.length-l.length},$signature:12};s.Highlighter__writeIndicator_closure0.prototype={call$0(){var e=this.highlight.span;return this.$this._writeArrow$2(this.line,e.get$start(e).get$column())},$signature:0};s.Highlighter__writeIndicator_closure1.prototype={call$0(){var e,r=this,n=r.$this,i=n._highlighter$_buffer,s=i._contents;if(r.coversWholeLine)i._contents+=o.JSString_methods.$mul(u._glyphs.get$horizontalLine(),3);else{e=r.highlight.span;n._writeArrow$3$beginning(r.line,Math.max(e.get$end(e).get$column()-1,0),false)}return i._contents.length-s.length},$signature:12};s.Highlighter__writeLabel_closure.prototype={call$0(){this.$this._highlighter$_buffer._contents+=" "+s.S(o.JSArray_methods.get$first(this.lines));return null},$signature:0};s.Highlighter__writeLabel_closure0.prototype={call$0(){this.$this._highlighter$_buffer._contents+=" "+this.text;return null},$signature:0};s.Highlighter__writeSidebar_closure.prototype={call$0(){var e=this.$this,r=e._highlighter$_buffer,n=this._box_0.text;if(n==null)n="";r._contents+=o.JSString_methods.padRight$1(n,e._paddingBeforeSidebar);e=this.end;r._contents+=e==null?u._glyphs.get$verticalLine():e},$signature:1};s._Highlight.prototype={toString$0(e){var r=this.isPrimary?""+"primary ":"",n=this.span;n=r+(""+n.get$start(n).get$line()+":"+n.get$start(n).get$column()+"-"+n.get$end(n).get$line()+":"+n.get$end(n).get$column());r=this.label;r=r!=null?n+(" ("+r+")"):n;return r.charCodeAt(0)==0?r:r}};s._Highlight_closure.prototype={call$0(){var e,r,n,i,a=this.span;if(!($.SourceSpanWithContext._is(a)&&s.findLineStart(a.get$context(a),a.get$text(),a.get$start(a).get$column())!=null)){e=s.SourceLocation$(a.get$start(a).get$offset(),0,0,a.get$sourceUrl(a));r=a.get$end(a).get$offset();n=a.get$sourceUrl(a);i=s.countCodeUnits(a.get$text(),10);a=s.SourceSpanWithContext$(e,s.SourceLocation$(r,s._Highlight__lastLineLength(a.get$text()),i,n),a.get$text(),a.get$text())}return s._Highlight__normalizeEndOfLine(s._Highlight__normalizeTrailingNewline(s._Highlight__normalizeNewlines(a)))},$signature:272};s._Line.prototype={toString$0(e){return""+this.number+': "'+this.text+'" ('+o.JSArray_methods.join$1(this.highlights,", ")+")"}};s.SourceLocation.prototype={distance$1(e){var r=this.sourceUrl;if(!a.$eq$(r,e.get$sourceUrl(e)))throw s.wrapException(s.ArgumentError$('Source URLs "'+s.S(r)+'" and "'+s.S(e.get$sourceUrl(e))+"\" don't match.",null));return Math.abs(this.offset-e.get$offset())},compareTo$1(e,r){var n=this.sourceUrl;if(!a.$eq$(n,r.get$sourceUrl(r)))throw s.wrapException(s.ArgumentError$('Source URLs "'+s.S(n)+'" and "'+s.S(r.get$sourceUrl(r))+"\" don't match.",null));return this.offset-r.get$offset()},$eq(e,r){if(r==null)return false;return $.SourceLocation._is(r)&&a.$eq$(this.sourceUrl,r.get$sourceUrl(r))&&this.offset===r.get$offset()},get$hashCode(e){var r=this.sourceUrl;r=r==null?null:r.get$hashCode(r);if(r==null)r=0;return r+this.offset},toString$0(e){var r=this,n=s.getRuntimeType(r).toString$0(0),i=r.sourceUrl;return"<"+n+": "+r.offset+" "+(s.S(i==null?"unknown source":i)+":"+(r.line+1)+":"+(r.column+1))+">"},$isComparable:1,get$sourceUrl(e){return this.sourceUrl},get$offset(){return this.offset},get$line(){return this.line},get$column(){return this.column}};s.SourceLocationMixin.prototype={distance$1(e){var r=this;if(!a.$eq$(r.file.url,e.get$sourceUrl(e)))throw s.wrapException(s.ArgumentError$('Source URLs "'+s.S(r.get$sourceUrl(r))+'" and "'+s.S(e.get$sourceUrl(e))+"\" don't match.",null));return Math.abs(r.offset-e.get$offset())},compareTo$1(e,r){var n=this;if(!a.$eq$(n.file.url,r.get$sourceUrl(r)))throw s.wrapException(s.ArgumentError$('Source URLs "'+s.S(n.get$sourceUrl(n))+'" and "'+s.S(r.get$sourceUrl(r))+"\" don't match.",null));return n.offset-r.get$offset()},$eq(e,r){if(r==null)return false;return $.SourceLocation._is(r)&&a.$eq$(this.file.url,r.get$sourceUrl(r))&&this.offset===r.get$offset()},get$hashCode(e){var r=this.file.url;r=r==null?null:r.get$hashCode(r);if(r==null)r=0;return r+this.offset},toString$0(e){var r=s.getRuntimeType(this).toString$0(0),n=this.offset,i=this.file,a=i.url;return"<"+r+": "+n+" "+(s.S(a==null?"unknown source":a)+":"+(i.getLine$1(n)+1)+":"+(i.getColumn$1(n)+1))+">"},$isComparable:1,$isSourceLocation:1};s.SourceSpanBase.prototype={SourceSpanBase$3(e,r,n){var i,o=this.end,l=this.start;if(!a.$eq$(o.get$sourceUrl(o),l.get$sourceUrl(l)))throw s.wrapException(s.ArgumentError$('Source URLs "'+s.S(l.get$sourceUrl(l))+'" and "'+s.S(o.get$sourceUrl(o))+"\" don't match.",null));else if(o.get$offset()'},$isComparable:1,$isSourceSpan:1};s.SourceSpanWithContext.prototype={get$context(e){return this._context}};s.Chain.prototype={toTrace$0(){var e=this.traces;return s.Trace$(new s.ExpandIterable(e,new s.Chain_toTrace_closure,s._arrayInstanceType(e)._eval$1("ExpandIterable<1,Frame>")),null)},toString$0(e){var r=this.traces,n=s._arrayInstanceType(r);return new s.MappedListIterable(r,new s.Chain_toString_closure(new s.MappedListIterable(r,new s.Chain_toString_closure0,n._eval$1("MappedListIterable<1,int>")).fold$2(0,0,o.CONSTANT)),n._eval$1("MappedListIterable<1,String>")).join$1(0,c.x3d_____)},$isStackTrace:1};s.Chain_Chain$parse_closure.prototype={call$1(e){return e.length!==0},$signature:8};s.Chain_Chain$parse_closure0.prototype={call$1(e){return s.Trace$parseVM(e)},$signature:185};s.Chain_Chain$parse_closure1.prototype={call$1(e){return s.Trace$parseFriendly(e)},$signature:185};s.Chain_toTrace_closure.prototype={call$1(e){return e.get$frames()},$signature:274};s.Chain_toString_closure0.prototype={call$1(e){var r=e.get$frames();return new s.MappedListIterable(r,new s.Chain_toString__closure0,s._arrayInstanceType(r)._eval$1("MappedListIterable<1,int>")).fold$2(0,0,o.CONSTANT)},$signature:275};s.Chain_toString__closure0.prototype={call$1(e){return e.get$location().length},$signature:186};s.Chain_toString_closure.prototype={call$1(e){var r=e.get$frames();return new s.MappedListIterable(r,new s.Chain_toString__closure(this.longest),s._arrayInstanceType(r)._eval$1("MappedListIterable<1,String>")).join$0(0)},$signature:277};s.Chain_toString__closure.prototype={call$1(e){return o.JSString_methods.padRight$1(e.get$location(),this.longest)+" "+s.S(e.get$member())+"\n"},$signature:187};s.Frame.prototype={get$isCore(){return this.uri.get$scheme()==="dart"},get$library(){var e=this.uri;if(e.get$scheme()==="data")return"data:...";return u.$get$context().prettyUri$1(e)},get$$package(){var e=this.uri;if(e.get$scheme()!=="package")return null;return o.JSArray_methods.get$first(e.get$path(e).split("/"))},get$location(){var e,r=this,n=r.line;if(n==null)return r.get$library();e=r.column;if(e==null)return r.get$library()+" "+s.S(n);return r.get$library()+" "+s.S(n)+":"+s.S(e)},toString$0(e){return this.get$location()+" in "+s.S(this.member)},get$uri(){return this.uri},get$line(){return this.line},get$column(){return this.column},get$member(){return this.member}};s.Frame_Frame$parseVM_closure.prototype={call$0(){var e,r,n,i,a,l,_,c=null,$=this.frame;if($==="...")return new s.Frame(s._Uri__Uri(c,c,c,c),c,c,"...");e=u.$get$_vmFrame().firstMatch$1($);if(e==null)return new s.UnparsedFrame(s._Uri__Uri(c,"unparsed",c,c),$);$=e._match;r=$[1];r.toString;n=u.$get$_asyncBody();r=s.stringReplaceAllUnchecked(r,n,"");i=s.stringReplaceAllUnchecked(r,"","");r=$[2];n=r;n.toString;if(o.JSString_methods.startsWith$1(n,"1?s.int_parse(l[1],c):c;return new s.Frame(a,_,$>2?s.int_parse(l[2],c):c,i)},$signature:63};s.Frame_Frame$parseV8_closure.prototype={call$0(){var e,r,n="",i=this.frame,a=u.$get$_v8Frame().firstMatch$1(i);if(a==null)return new s.UnparsedFrame(s._Uri__Uri(null,"unparsed",null,null),i);i=new s.Frame_Frame$parseV8_closure_parseLocation(i);e=a._match;r=e[2];if(r!=null){r=r;r.toString;e=e[1];e.toString;e=s.stringReplaceAllUnchecked(e,"",n);e=s.stringReplaceAllUnchecked(e,"Anonymous function",n);return i.call$2(r,s.stringReplaceAllUnchecked(e,"(anonymous function)",n))}else{e=e[3];e.toString;return i.call$2(e,n)}},$signature:63};s.Frame_Frame$parseV8_closure_parseLocation.prototype={call$2(e,r){var n,i,a,o,l,_=null,c=u.$get$_v8EvalLocation(),$=c.firstMatch$1(e);for(;$!=null;e=n){n=$._match[1];n.toString;$=c.firstMatch$1(n)}if(e==="native")return new s.Frame(s.Uri_parse("native"),_,_,r);i=u.$get$_v8UrlLocation().firstMatch$1(e);if(i==null)return new s.UnparsedFrame(s._Uri__Uri(_,"unparsed",_,_),this.frame);c=i._match;n=c[1];n.toString;a=s.Frame__uriOrPathToUri(n);n=c[2];n.toString;o=s.int_parse(n,_);l=c[3];return new s.Frame(a,o,l!=null?s.int_parse(l,_):_,r)},$signature:280};s.Frame_Frame$_parseFirefoxEval_closure.prototype={call$0(){var e,r,n,i,a=null,o=this.frame,l=u.$get$_firefoxEvalLocation().firstMatch$1(o);if(l==null)return new s.UnparsedFrame(s._Uri__Uri(a,"unparsed",a,a),o);o=l._match;e=o[1];e.toString;r=s.stringReplaceAllUnchecked(e,"/<","");e=o[2];e.toString;n=s.Frame__uriOrPathToUri(e);o=o[3];o.toString;i=s.int_parse(o,a);return new s.Frame(n,i,a,r.length===0||r==="anonymous"?"":r)},$signature:63};s.Frame_Frame$parseFirefox_closure.prototype={call$0(){var e,r,n,i,a,l,_,c=null,p=this.frame,h=u.$get$_firefoxSafariFrame().firstMatch$1(p);if(h==null)return new s.UnparsedFrame(s._Uri__Uri(c,"unparsed",c,c),p);e=h._match;r=e[3];n=r;n.toString;if(o.JSString_methods.contains$1(n," line "))return s.Frame_Frame$_parseFirefoxEval(p);p=r;p.toString;i=s.Frame__uriOrPathToUri(p);a=e[1];if(a!=null){p=e[2];p.toString;p=o.JSString_methods.allMatches$1("/",p);a+=o.JSArray_methods.join$0(s.List_List$filled(p.get$length(p),".",false,$.String));if(a==="")a="";a=o.JSString_methods.replaceFirst$2(a,u.$get$_initialDot(),"")}else a="";p=e[4];if(p==="")l=c;else{p=p;p.toString;l=s.int_parse(p,c)}p=e[5];if(p==null||p==="")_=c;else{p=p;p.toString;_=s.int_parse(p,c)}return new s.Frame(i,l,_,a)},$signature:63};s.Frame_Frame$parseFriendly_closure.prototype={call$0(){var e,r,n,i,a=null,o=this.frame,l=u.$get$_friendlyFrame().firstMatch$1(o);if(l==null)throw s.wrapException(s.FormatException$("Couldn't parse package:stack_trace stack trace line '"+o+"'.",a,a));o=l._match;e=o[1];if(e==="data:...")r=s.Uri_Uri$dataFromString("",a,a);else{e=e;e.toString;r=s.Uri_parse(e)}if(r.get$scheme()===""){e=u.$get$context();r=e.toUri$1(e.absolute$7(e.style.pathFromUri$1(s._parseUri(r)),a,a,a,a,a,a))}e=o[2];if(e==null)n=a;else{e=e;e.toString;n=s.int_parse(e,a)}e=o[3];if(e==null)i=a;else{e=e;e.toString;i=s.int_parse(e,a)}return new s.Frame(r,n,i,o[4])},$signature:63};s.LazyTrace.prototype={get$_lazy_trace$_trace(){var e,r=this,n=r.__LazyTrace__trace;if(n===u){e=r._thunk.call$0();s._lateInitializeOnceCheck(r.__LazyTrace__trace,"_trace");r.__LazyTrace__trace=e;n=e}return n},get$frames(){return this.get$_lazy_trace$_trace().get$frames()},get$terse(){return new s.LazyTrace(new s.LazyTrace_terse_closure(this))},toString$0(e){return this.get$_lazy_trace$_trace().toString$0(0)},$isStackTrace:1,$isTrace:1};s.LazyTrace_terse_closure.prototype={call$0(){return this.$this.get$_lazy_trace$_trace().get$terse()},$signature:189};s.Trace.prototype={get$terse(){return this.foldFrames$2$terse(new s.Trace_terse_closure,true)},foldFrames$2$terse(e,r){var n,i,a,l,u={};u.predicate=e;u.predicate=new s.Trace_foldFrames_closure(e);n=s._setArrayType([],$.JSArray_Frame);for(i=this.frames,i=new s.ReversedListIterable(i,s._arrayInstanceType(i)._eval$1("ReversedListIterable<1>")),i=new s.ListIterator(i,i.get$length(i)),a=s._instanceType(i)._precomputed1;i.moveNext$0();){l=i.__internal$_current;if(l==null)l=a._as(l);if(l instanceof s.UnparsedFrame||!u.predicate.call$1(l))n.push(l);else if(n.length===0||!u.predicate.call$1(o.JSArray_methods.get$last(n)))n.push(new s.Frame(l.get$uri(),l.get$line(),l.get$column(),l.get$member()))}i=$.MappedListIterable_Frame_Frame;n=s.List_List$of(new s.MappedListIterable(n,new s.Trace_foldFrames_closure0(u),i),true,i._eval$1("ListIterable.E"));if(n.length>1&&u.predicate.call$1(o.JSArray_methods.get$first(n)))o.JSArray_methods.removeAt$1(n,0);return s.Trace$(new s.ReversedListIterable(n,s._arrayInstanceType(n)._eval$1("ReversedListIterable<1>")),this.original._stackTrace)},toString$0(e){var r=this.frames,n=s._arrayInstanceType(r);return new s.MappedListIterable(r,new s.Trace_toString_closure(new s.MappedListIterable(r,new s.Trace_toString_closure0,n._eval$1("MappedListIterable<1,int>")).fold$2(0,0,o.CONSTANT)),n._eval$1("MappedListIterable<1,String>")).join$0(0)},$isStackTrace:1,get$frames(){return this.frames}};s.Trace_Trace$from_closure.prototype={call$0(){return s.Trace_Trace$parse(this.trace.toString$0(0))},$signature:189};s.Trace__parseVM_closure.prototype={call$1(e){return e.length!==0},$signature:8};s.Trace__parseVM_closure0.prototype={call$1(e){return s.Frame_Frame$parseVM(e)},$signature:67};s.Trace$parseV8_closure.prototype={call$1(e){return!o.JSString_methods.startsWith$1(e,u.$get$_v8TraceLine())},$signature:8};s.Trace$parseV8_closure0.prototype={call$1(e){return s.Frame_Frame$parseV8(e)},$signature:67};s.Trace$parseJSCore_closure.prototype={call$1(e){return e!=="\tat "},$signature:8};s.Trace$parseJSCore_closure0.prototype={call$1(e){return s.Frame_Frame$parseV8(e)},$signature:67};s.Trace$parseFirefox_closure.prototype={call$1(e){return e.length!==0&&e!=="[native code]"},$signature:8};s.Trace$parseFirefox_closure0.prototype={call$1(e){return s.Frame_Frame$parseFirefox(e)},$signature:67};s.Trace$parseFriendly_closure.prototype={call$1(e){return!o.JSString_methods.startsWith$1(e,"=====")},$signature:8};s.Trace$parseFriendly_closure0.prototype={call$1(e){return s.Frame_Frame$parseFriendly(e)},$signature:67};s.Trace_terse_closure.prototype={call$1(e){return false},$signature:191};s.Trace_foldFrames_closure.prototype={call$1(e){var r;if(this.oldPredicate.call$1(e))return true;if(e.get$isCore())return true;if(e.get$$package()==="stack_trace")return true;r=e.get$member();r.toString;if(!o.JSString_methods.contains$1(r,""))return false;return e.get$line()==null},$signature:191};s.Trace_foldFrames_closure0.prototype={call$1(e){var r,n;if(e instanceof s.UnparsedFrame||!this._box_0.predicate.call$1(e))return e;r=e.get$library();n=u.$get$_terseRegExp();return new s.Frame(s.Uri_parse(s.stringReplaceAllUnchecked(r,n,"")),null,null,e.get$member())},$signature:284};s.Trace_toString_closure0.prototype={call$1(e){return e.get$location().length},$signature:186};s.Trace_toString_closure.prototype={call$1(e){if(e instanceof s.UnparsedFrame)return e.toString$0(0)+"\n";return o.JSString_methods.padRight$1(e.get$location(),this.longest)+" "+s.S(e.get$member())+"\n"},$signature:187};s.UnparsedFrame.prototype={toString$0(e){return this.member},$isFrame:1,get$uri(){return this.uri},get$line(){return null},get$column(){return null},get$isCore(){return false},get$library(){return"unparsed"},get$$package(){return null},get$location(){return"unparsed"},get$member(){return this.member}};s.TransformByHandlers_transformByHandlers_closure.prototype={call$0(){var e,r,n,i,a=this,o={};o.valuesDone=false;e=a.controller;r=a._this.listen$3$onDone$onError(0,new s.TransformByHandlers_transformByHandlers__closure(a.handleData,e,a.S),new s.TransformByHandlers_transformByHandlers__closure0(o,a.handleDone,e),new s.TransformByHandlers_transformByHandlers__closure1(a.handleError,e));n=a._box_1;n.subscription=r;e.set$onPause(r.get$pause(r));i=n.subscription;e.set$onResume(i.get$resume(i));e.set$onCancel(new s.TransformByHandlers_transformByHandlers__closure2(n,o))},$signature:0};s.TransformByHandlers_transformByHandlers__closure.prototype={call$1(e){return this.handleData.call$2(e,this.controller)},$signature(){return this.S._eval$1("~(0)")}};s.TransformByHandlers_transformByHandlers__closure1.prototype={call$2(e,r){this.handleError.call$3(e,r,this.controller)},$signature:72};s.TransformByHandlers_transformByHandlers__closure0.prototype={call$0(){this._box_0.valuesDone=true;this.handleDone.call$1(this.controller)},$signature:0};s.TransformByHandlers_transformByHandlers__closure2.prototype={call$0(){var e=this._box_1,r=e.subscription;e.subscription=null;if(!this._box_0.valuesDone)return r.cancel$0();return null},$signature:226};s.RateLimit__debounceAggregate_closure.prototype={call$2(e,r){var n=this,i=n._box_0,a=new s.RateLimit__debounceAggregate_closure_emit(i,r,n.S),o=i.timer;if(o!=null)o.cancel$0();i.soFar=n.collect.call$2(e,i.soFar);i.hasPending=true;if(i.timer==null&&n.leading){i.emittedLatestAsLeading=true;a.call$0()}else i.emittedLatestAsLeading=false;i.timer=s.Timer_Timer(n.duration,new s.RateLimit__debounceAggregate__closure(i,n.trailing,a,r))},$signature(){return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)")}};s.RateLimit__debounceAggregate_closure_emit.prototype={call$0(){var e=this._box_0,r=e.soFar;if(r==null)r=this.S._as(r);this.sink.add$1(0,r);e.soFar=null;e.hasPending=false},$signature:0};s.RateLimit__debounceAggregate__closure.prototype={call$0(){var e=this._box_0,r=e.emittedLatestAsLeading;if(!r)this.emit.call$0();if(e.shouldClose)this.sink.close$0(0);e.timer=null},$signature:0};s.RateLimit__debounceAggregate_closure0.prototype={call$1(e){var r=this._box_0;if(r.hasPending&&this.trailing)r.shouldClose=true;else{r=r.timer;if(r!=null)r.cancel$0();e.close$0(0)}},$signature(){return this.S._eval$1("~(EventSink<0>)")}};s.StringScannerException.prototype={get$source(){return s._asString(this.source)}};s.LineScanner.prototype={scanChar$1(e){if(!this.super$StringScanner$scanChar(e))return false;this._adjustLineAndColumn$1(e);return true},_adjustLineAndColumn$1(e){var r,n=this;if(e!==10)r=e===13&&n.peekChar$0()!==10;else r=true;if(r){++n._line_scanner$_line;n._line_scanner$_column=0}else++n._line_scanner$_column},scan$1(e){var r,n,i,s=this;if(!s.super$StringScanner$scan(e))return false;r=s.get$lastMatch();n=s._newlinesIn$1(r.pattern);r=s._line_scanner$_line;i=n.length;s._line_scanner$_line=r+i;if(i===0){r=s._line_scanner$_column;i=s.get$lastMatch();s._line_scanner$_column=r+i.pattern.length}else{r=s.get$lastMatch();s._line_scanner$_column=r.pattern.length-a.get$end$z(o.JSArray_methods.get$last(n))}return true},_newlinesIn$1(e){var r=u.$get$_newlineRegExp().allMatches$1(0,e),n=s.List_List$of(r,true,s._instanceType(r)._eval$1("Iterable.E"));if(this.peekChar$1(-1)===13&&this.peekChar$0()===10)o.JSArray_methods.removeLast$0(n);return n}};s.SpanScanner.prototype={set$state(e){if(e._scanner!==this)throw s.wrapException(s.ArgumentError$(c.The_gi,null));this.set$position(e.position)},spanFrom$2(e,r){var n=r==null?this._string_scanner$_position:r.position;return this._sourceFile.span$2(0,e.position,n)},spanFrom$1(e){return this.spanFrom$2(e,null)},matches$1(e){var r,n,i=this;if(!i.super$StringScanner$matches(e))return false;r=i._string_scanner$_position;n=i.get$lastMatch();i._sourceFile.span$2(0,r,n.start+n.pattern.length);return true},error$3$length$position(e,r,n,i){var a,o,l=this,u=l.string;s.validateErrorArgs(u,null,i,n);a=i==null&&n==null;o=a?l.get$lastMatch():null;if(i==null)i=o==null?l._string_scanner$_position:o.start;if(n==null)if(o==null)n=0;else{a=o.start;n=a+o.pattern.length-a}throw s.wrapException(s.StringScannerException$(r,l._sourceFile.span$2(0,i,i+n),u))},error$1(e,r){return this.error$3$length$position(e,r,null,null)},error$2$position(e,r,n){return this.error$3$length$position(e,r,null,n)},error$2$length(e,r,n){return this.error$3$length$position(e,r,n,null)}};s._SpanScannerState.prototype={};s.StringScanner.prototype={set$position(e){if(o.JSInt_methods.get$isNegative(e)||e>this.string.length)throw s.wrapException(s.ArgumentError$("Invalid position "+e,null));this._string_scanner$_position=e;this._lastMatch=null},get$lastMatch(){var e=this;if(e._string_scanner$_position!==e._lastMatchPosition)e._lastMatch=null;return e._lastMatch},readChar$0(){var e=this,r=e._string_scanner$_position,n=e.string;if(r===n.length)e.error$3$length$position(0,"expected more input.",0,r);return o.JSString_methods.codeUnitAt$1(n,e._string_scanner$_position++)},peekChar$1(e){var r;if(e==null)e=0;r=this._string_scanner$_position+e;if(r<0||r>=this.string.length)return null;return o.JSString_methods.codeUnitAt$1(this.string,r)},peekChar$0(){return this.peekChar$1(null)},scanChar$1(e){var r=this._string_scanner$_position,n=this.string;if(r===n.length)return false;if(o.JSString_methods.codeUnitAt$1(n,r)!==e)return false;this._string_scanner$_position=r+1;return true},expectChar$2$name(e,r){if(this.scanChar$1(e))return;if(r==null)if(e===92)r='"\\"';else r=e===34?'"\\""':'"'+s.Primitives_stringFromCharCode(e)+'"';this.error$3$length$position(0,"expected "+r+".",0,this._string_scanner$_position)},expectChar$1(e){return this.expectChar$2$name(e,null)},scan$1(e){var r,n=this,i=n.matches$1(e);if(i){r=n._lastMatch;n._lastMatchPosition=n._string_scanner$_position=r.start+r.pattern.length}return i},expect$1(e){var r,n;if(this.scan$1(e))return;r=s.stringReplaceAllUnchecked(e,"\\","\\\\");n='"'+s.stringReplaceAllUnchecked(r,'"','\\"')+'"';this.error$3$length$position(0,"expected "+n+".",0,this._string_scanner$_position)},expectDone$0(){var e=this._string_scanner$_position;if(e===this.string.length)return;this.error$3$length$position(0,"expected no more input.",0,e)},matches$1(e){var r=this,n=o.JSString_methods.matchAsPrefix$2(e,r.string,r._string_scanner$_position);r._lastMatch=n;r._lastMatchPosition=r._string_scanner$_position;return n!=null},substring$1(e,r){var n=this._string_scanner$_position;return o.JSString_methods.substring$2(this.string,r,n)},error$3$length$position(e,r,n,i){var a=this.string;s.validateErrorArgs(a,null,i,n);throw s.wrapException(s.StringScannerException$(r,s.SourceFile$fromString(a,this.sourceUrl).span$2(0,i,i+n),a))}};s.AsciiGlyphSet.prototype={glyphOrAscii$2(e,r){return r},get$horizontalLine(){return"-"},get$verticalLine(){return"|"},get$topLeftCorner(){return","},get$bottomLeftCorner(){return"'"},get$cross(){return"+"},get$upEnd(){return"'"},get$downEnd(){return","},get$horizontalLineBold(){return"="}};s.UnicodeGlyphSet.prototype={glyphOrAscii$2(e,r){return e},get$horizontalLine(){return"─"},get$verticalLine(){return"│"},get$topLeftCorner(){return"┌"},get$bottomLeftCorner(){return"└"},get$cross(){return"┼"},get$upEnd(){return"╵"},get$downEnd(){return"╷"},get$horizontalLineBold(){return"━"}};s.Tuple2.prototype={toString$0(e){return"["+s.S(this.item1)+", "+s.S(this.item2)+"]"},$eq(e,r){if(r==null)return false;return r instanceof s.Tuple2&&a.$eq$(r.item1,this.item1)&&a.$eq$(r.item2,this.item2)},get$hashCode(e){var r=a.get$hashCode$(this.item1),n=a.get$hashCode$(this.item2);return s._finish(s._combine(s._combine(0,o.JSInt_methods.get$hashCode(r)),o.JSInt_methods.get$hashCode(n)))}};s.Tuple3.prototype={toString$0(e){return"["+this.item1.toString$0(0)+", "+this.item2.toString$0(0)+", "+this.item3.toString$0(0)+"]"},$eq(e,r){if(r==null)return false;return r instanceof s.Tuple3&&r.item1===this.item1&&r.item2.$eq(0,this.item2)&&r.item3.$eq(0,this.item3)},get$hashCode(e){var r,n=s.Primitives_objectHashCode(this.item1),i=this.item2;i=i.get$hashCode(i);r=this.item3;r=r.get$hashCode(r);return s._finish(s._combine(s._combine(s._combine(0,o.JSInt_methods.get$hashCode(n)),o.JSInt_methods.get$hashCode(i)),o.JSInt_methods.get$hashCode(r)))}};s.Tuple4.prototype={toString$0(e){var r=this;return"["+r.item1.toString$0(0)+", "+r.item2+", "+r.item3.toString$0(0)+", "+s.S(r.item4)+"]"},$eq(e,r){var n=this;if(r==null)return false;return r instanceof s.Tuple4&&r.item1.$eq(0,n.item1)&&r.item2===n.item2&&r.item3===n.item3&&a.$eq$(r.item4,n.item4)},get$hashCode(e){var r,n,i,l=this,u=l.item1;u=u.get$hashCode(u);r=o.JSBool_methods.get$hashCode(l.item2);n=s.Primitives_objectHashCode(l.item3);i=a.get$hashCode$(l.item4);return s._finish(s._combine(s._combine(s._combine(s._combine(0,o.JSInt_methods.get$hashCode(u)),o.JSInt_methods.get$hashCode(r)),o.JSInt_methods.get$hashCode(n)),o.JSInt_methods.get$hashCode(i)))}};s.WatchEvent.prototype={toString$0(e){return this.type.toString$0(0)+" "+this.path}};s.ChangeType.prototype={toString$0(e){return this._watch_event$_name}};s.AnySelectorVisitor0.prototype={visitComplexSelector$1(e){return o.JSArray_methods.any$1(e.components,new s.AnySelectorVisitor_visitComplexSelector_closure0(this))},visitCompoundSelector$1(e){return o.JSArray_methods.any$1(e.components,new s.AnySelectorVisitor_visitCompoundSelector_closure0(this))},visitPseudoSelector$1(e){var r=e.selector;return r==null?false:this.visitSelectorList$1(r)},visitSelectorList$1(e){return o.JSArray_methods.any$1(e.components,this.get$visitComplexSelector())},visitAttributeSelector$1(e){return false},visitClassSelector$1(e){return false},visitIDSelector$1(e){return false},visitParentSelector$1(e){return false},visitPlaceholderSelector$1(e){return false},visitTypeSelector$1(e){return false},visitUniversalSelector$1(e){return false}};s.AnySelectorVisitor_visitComplexSelector_closure0.prototype={call$1(e){return this.$this.visitCompoundSelector$1(e.selector)},$signature:52};s.AnySelectorVisitor_visitCompoundSelector_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:14};s.SupportsAnything0.prototype={toString$0(e){return"("+this.contents.toString$0(0)+")"},$isAstNode0:1,get$span(e){return this.span}};s.Argument0.prototype={toString$0(e){var r=this.defaultValue,n=this.name;return r==null?n:n+": "+r.toString$0(0)},$isAstNode0:1,get$span(e){return this.span}};s.ArgumentDeclaration0.prototype={get$spanWithName(){var e,r,n=this.span,i=n.file,a=s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(i._decodedChars,0,null),0,null),l=s.FileLocation$_(i,n._file$_start).offset-1;while(true){if(l>0){e=o.JSString_methods.codeUnitAt$1(a,l);e=e===32||e===9||e===10||e===13||e===12}else e=false;if(!e)break;--l}e=o.JSString_methods.codeUnitAt$1(a,l);if(!(e===95||s.isAlphabetic1(e)||e>=128||s.isDigit0(e)||e===45))return n;--l;while(true){if(l>=0){e=o.JSString_methods.codeUnitAt$1(a,l);if(e!==95){if(!(e>=97&&e<=122))r=e>=65&&e<=90;else r=true;r=r||e>=128}else r=true;if(!r){r=e>=48&&e<=57;e=r||e===45}else e=true}else e=false;if(!e)break;--l}e=l+1;r=o.JSString_methods.codeUnitAt$1(a,e);if(!(r===95||s.isAlphabetic1(r)||r>=128))return n;return s.SpanExtensions_trimRight0(s.SpanExtensions_trimLeft0(i.span$2(0,e,s.FileLocation$_(i,n._end).offset)))},verify$2(e,r){var n,i,a,o,l,u,_,p,h=this,d="invocation",m="argument";for(n=h.$arguments,i=n.length,a=r._baseMap,o=0,l=0;li){n=r.get$isEmpty(r)?"":"positional ";throw s.wrapException(s.MultiSpanSassScriptException$0("Only "+i+" "+n+s.pluralize0(m,i,null)+" allowed, but "+e+" "+s.pluralize0("was",e,"were")+" passed.",d,s.LinkedHashMap_LinkedHashMap$_literal([h.get$spanWithName(),"declaration"],$.FileSpan,$.String)))}if(o")));throw s.wrapException(s.MultiSpanSassScriptException$0("No "+s.pluralize0(m,p._collection$_length,null)+" named "+s.S(s.toSentence0(p.map$1$1(0,new s.ArgumentDeclaration_verify_closure2,$.Object),"or"))+".",d,s.LinkedHashMap_LinkedHashMap$_literal([h.get$spanWithName(),"declaration"],$.FileSpan,i)))}},_argument_declaration$_originalArgumentName$1(e){var r,n,i,a,l,u,_,$,p=null;if(e===this.restArgument){r=this.span;n=s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(r.file._decodedChars,r._file$_start,r._end),0,p);return o.JSString_methods.substring$2(o.JSString_methods.substring$1(n,o.JSString_methods.lastIndexOf$1(n,"$")),0,o.JSString_methods.indexOf$1(n,"."))}for(r=this.$arguments,i=r.length,a=0;ai)return false;if(a");i=n._eval$1("ExpandIterable");l=i._eval$1("Iterable.E");c=s.LinkedHashSet_LinkedHashSet$of(new s.ExpandIterable(new s.LinkedHashMapKeyIterable(b,n),new s.AsyncEnvironment_importForwards_closure2,i),l);p=s.LinkedHashSet_LinkedHashSet$of(new s.ExpandIterable(new s.LinkedHashMapKeyIterable(b,n),new s.AsyncEnvironment_importForwards_closure3,i),l);h=s.LinkedHashSet_LinkedHashSet$of(new s.ExpandIterable(new s.LinkedHashMapKeyIterable(b,n),new s.AsyncEnvironment_importForwards_closure4,i),l);i=v._async_environment0$_variables;l=i.length;if(l===1){for(n=v._async_environment0$_importedModules,l=n.get$entries(n).toList$0(0),u=l.length,_=$.AsyncCallable_2,d=0;d")).followedBy$1(0,new s.LinkedHashMapKeyIterable(n,s._instanceType(n)._eval$1("LinkedHashMapKeyIterable<1>"))),n=new s.FollowedByIterator(a.get$iterator$ax(n.__internal$_first),n._second);n.moveNext$0();){r=n._currentIterator;i=r.get$current(r).get$variableNodes().$index(0,e);if(i!=null)return i}return null},globalVariableExists$2$namespace(e,r){if(r!=null)return this._async_environment0$_getModule$1(r).get$variables().containsKey$1(e);if(o.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1(e))return true;return this._async_environment0$_getVariableFromGlobalModule$1(e)!=null},globalVariableExists$1(e){return this.globalVariableExists$2$namespace(e,null)},_async_environment0$_variableIndex$1(e){var r,n;for(r=this._async_environment0$_variables,n=r.length-1;n>=0;--n)if(r[n].containsKey$1(e))return n;return null},setVariable$5$global$namespace(e,r,n,i,l){var u,_,c,p,h,d,m,g,f=this;if(l!=null){f._async_environment0$_getModule$1(l).setVariable$3(e,r,n);return}if(i||f._async_environment0$_variables.length===1){f._async_environment0$_variableIndices.putIfAbsent$2(e,new s.AsyncEnvironment_setVariable_closure2(f,e));u=f._async_environment0$_variables;if(!o.JSArray_methods.get$first(u).containsKey$1(e)){_=f._async_environment0$_fromOneModule$1$3(e,"variable",new s.AsyncEnvironment_setVariable_closure3(e),$.Module_AsyncCallable_2);if(_!=null){_.setVariable$3(e,r,n);return}}a.$indexSet$ax(o.JSArray_methods.get$first(u),e,r);a.$indexSet$ax(o.JSArray_methods.get$first(f._async_environment0$_variableNodes),e,n);return}c=f._async_environment0$_nestedForwardedModules;if(c!=null&&!f._async_environment0$_variableIndices.containsKey$1(e)&&f._async_environment0$_variableIndex$1(e)==null)for(u=new s.ReversedListIterable(c,s.instanceType(c)._eval$1("ReversedListIterable<1>")),u=new s.ListIterator(u,u.get$length(u)),p=s._instanceType(u)._precomputed1;u.moveNext$0();){h=u.__internal$_current;for(h=a.get$reversed$ax(h==null?p._as(h):h),h=new s.ListIterator(h,h.get$length(h)),d=s._instanceType(h)._precomputed1;h.moveNext$0();){m=h.__internal$_current;if(m==null)m=d._as(m);if(m.get$variables().containsKey$1(e)){m.setVariable$3(e,r,n);return}}}if(f._async_environment0$_lastVariableName===e){u=f._async_environment0$_lastVariableIndex;u.toString;g=u}else g=f._async_environment0$_variableIndices.putIfAbsent$2(e,new s.AsyncEnvironment_setVariable_closure4(f,e));if(!f._async_environment0$_inSemiGlobalScope&&g===0){g=f._async_environment0$_variables.length-1;f._async_environment0$_variableIndices.$indexSet(0,e,g)}f._async_environment0$_lastVariableName=e;f._async_environment0$_lastVariableIndex=g;a.$indexSet$ax(f._async_environment0$_variables[g],e,r);a.$indexSet$ax(f._async_environment0$_variableNodes[g],e,n)},setVariable$4$global(e,r,n,i){return this.setVariable$5$global$namespace(e,r,n,i,null)},setLocalVariable$3(e,r,n){var i,s=this,o=s._async_environment0$_variables,l=o.length;s._async_environment0$_lastVariableName=e;i=s._async_environment0$_lastVariableIndex=l-1;s._async_environment0$_variableIndices.$indexSet(0,e,i);a.$indexSet$ax(o[i],e,r);a.$indexSet$ax(s._async_environment0$_variableNodes[i],e,n)},getFunction$2$namespace(e,r){var n,i,s=this;if(r!=null){n=s._async_environment0$_getModule$1(r);return n.get$functions(n).$index(0,e)}n=s._async_environment0$_functionIndices;i=n.$index(0,e);if(i!=null){n=a.$index$asx(s._async_environment0$_functions[i],e);return n==null?s._async_environment0$_getFunctionFromGlobalModule$1(e):n}i=s._async_environment0$_functionIndex$1(e);if(i==null)return s._async_environment0$_getFunctionFromGlobalModule$1(e);n.$indexSet(0,e,i);n=a.$index$asx(s._async_environment0$_functions[i],e);return n==null?s._async_environment0$_getFunctionFromGlobalModule$1(e):n},_async_environment0$_getFunctionFromGlobalModule$1(e){return this._async_environment0$_fromOneModule$1$3(e,"function",new s.AsyncEnvironment__getFunctionFromGlobalModule_closure0(e),$.AsyncCallable_2)},_async_environment0$_functionIndex$1(e){var r,n;for(r=this._async_environment0$_functions,n=r.length-1;n>=0;--n)if(r[n].containsKey$1(e))return n;return null},getMixin$2$namespace(e,r){var n,i,s=this;if(r!=null)return s._async_environment0$_getModule$1(r).get$mixins().$index(0,e);n=s._async_environment0$_mixinIndices;i=n.$index(0,e);if(i!=null){n=a.$index$asx(s._async_environment0$_mixins[i],e);return n==null?s._async_environment0$_getMixinFromGlobalModule$1(e):n}i=s._async_environment0$_mixinIndex$1(e);if(i==null)return s._async_environment0$_getMixinFromGlobalModule$1(e);n.$indexSet(0,e,i);n=a.$index$asx(s._async_environment0$_mixins[i],e);return n==null?s._async_environment0$_getMixinFromGlobalModule$1(e):n},_async_environment0$_getMixinFromGlobalModule$1(e){return this._async_environment0$_fromOneModule$1$3(e,"mixin",new s.AsyncEnvironment__getMixinFromGlobalModule_closure0(e),$.AsyncCallable_2)},_async_environment0$_mixinIndex$1(e){var r,n;for(r=this._async_environment0$_mixins,n=r.length-1;n>=0;--n)if(r[n].containsKey$1(e))return n;return null},withContent$2(e,r){return this.withContent$body$AsyncEnvironment0(e,r)},withContent$body$AsyncEnvironment0(e,r){var n=0,i=s._makeAsyncAwaitCompleter($.void),a=this,o;var l=s._wrapJsFunctionForAsync((function(u,_){if(u===1)return s._asyncRethrow(_,i);while(true)switch(n){case 0:o=a._async_environment0$_content;a._async_environment0$_content=e;n=2;return s._asyncAwait(r.call$0(),l);case 2:a._async_environment0$_content=o;return s._asyncReturn(null,i)}}));return s._asyncStartSync(l,i)},asMixin$1(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this,a;var o=s._wrapJsFunctionForAsync((function(l,u){if(l===1)return s._asyncRethrow(u,n);while(true)switch(r){case 0:a=i._async_environment0$_inMixin;i._async_environment0$_inMixin=true;r=2;return s._asyncAwait(e.call$0(),o);case 2:i._async_environment0$_inMixin=a;return s._asyncReturn(null,n)}}));return s._asyncStartSync(o,n)},scope$1$3$semiGlobal$when(e,r,n,i){return this.scope$body$AsyncEnvironment0(e,r,n,i,i)},scope$1$1(e,r){return this.scope$1$3$semiGlobal$when(e,false,true,r)},scope$1$2$when(e,r,n){return this.scope$1$3$semiGlobal$when(e,false,r,n)},scope$1$2$semiGlobal(e,r,n){return this.scope$1$3$semiGlobal$when(e,r,true,n)},scope$body$AsyncEnvironment0(e,r,n,i,l){var u=0,_=s._makeAsyncAwaitCompleter(l),c,p=2,h,d=[],m=this,g,f,y,S,v,b,x,w,C,E;var A=s._wrapJsFunctionForAsync((function(i,l){if(i===1){h=l;u=p}while(true)switch(u){case 0:r=r&&m._async_environment0$_inSemiGlobalScope;g=m._async_environment0$_inSemiGlobalScope;m._async_environment0$_inSemiGlobalScope=r;u=!n?3:4;break;case 3:p=5;u=8;return s._asyncAwait(e.call$0(),A);case 8:v=l;c=v;d=[1];u=6;break;d.push(7);u=6;break;case 5:d=[2];case 6:p=2;m._async_environment0$_inSemiGlobalScope=g;u=d.pop();break;case 7:case 4:v=m._async_environment0$_variables;b=$.String;o.JSArray_methods.add$1(v,s.LinkedHashMap_LinkedHashMap$_empty(b,$.Value_2));x=m._async_environment0$_variableNodes;o.JSArray_methods.add$1(x,s.LinkedHashMap_LinkedHashMap$_empty(b,$.AstNode_2));w=m._async_environment0$_functions;C=$.AsyncCallable_2;o.JSArray_methods.add$1(w,s.LinkedHashMap_LinkedHashMap$_empty(b,C));E=m._async_environment0$_mixins;o.JSArray_methods.add$1(E,s.LinkedHashMap_LinkedHashMap$_empty(b,C));C=m._async_environment0$_nestedForwardedModules;if(C!=null)C.push(s._setArrayType([],$.JSArray_Module_AsyncCallable_2));p=9;u=12;return s._asyncAwait(e.call$0(),A);case 12:b=l;c=b;d=[1];u=10;break;d.push(11);u=10;break;case 9:d=[2];case 10:p=2;m._async_environment0$_inSemiGlobalScope=g;m._async_environment0$_lastVariableIndex=m._async_environment0$_lastVariableName=null;for(v=a.get$iterator$ax(a.get$keys$z(o.JSArray_methods.removeLast$0(v))),b=m._async_environment0$_variableIndices;v.moveNext$0();){f=v.get$current(v);b.remove$1(0,f)}o.JSArray_methods.removeLast$0(x);for(v=a.get$iterator$ax(a.get$keys$z(o.JSArray_methods.removeLast$0(w))),b=m._async_environment0$_functionIndices;v.moveNext$0();){y=v.get$current(v);b.remove$1(0,y)}for(v=a.get$iterator$ax(a.get$keys$z(o.JSArray_methods.removeLast$0(E))),b=m._async_environment0$_mixinIndices;v.moveNext$0();){S=v.get$current(v);b.remove$1(0,S)}v=m._async_environment0$_nestedForwardedModules;if(v!=null)v.pop();u=d.pop();break;case 11:case 1:return s._asyncReturn(c,_);case 2:return s._asyncRethrow(h,_)}}));return s._asyncStartSync(A,_)},toImplicitConfiguration$0(){var e,r,n,i,a,o,l,u,_,c=s.LinkedHashMap_LinkedHashMap$_empty($.String,$.ConfiguredValue_2);for(e=this._async_environment0$_variables,r=this._async_environment0$_variableNodes,n=0;n").span$1(0,0)),o.C_EmptyExtensionStore0,s.NullableExtension_andThen0(this._async_environment0$_forwardedModules,new s.AsyncEnvironment_toDummyModule_closure0))},_async_environment0$_getModule$1(e){var r=this._async_environment0$_modules.$index(0,e);if(r!=null)return r;throw s.wrapException(s.SassScriptException$0('There is no module with the namespace "'+e+'".'))},_async_environment0$_fromOneModule$1$3(e,r,n,i){var o,l,u,_,p,h,d,m,g,f,y=this._async_environment0$_nestedForwardedModules;if(y!=null)for(o=new s.ReversedListIterable(y,s._arrayInstanceType(y)._eval$1("ReversedListIterable<1>")),o=new s.ListIterator(o,o.get$length(o)),l=s._instanceType(o)._precomputed1;o.moveNext$0();){u=o.__internal$_current;for(u=a.get$reversed$ax(u==null?l._as(u):u),u=new s.ListIterator(u,u.get$length(u)),_=s._instanceType(u)._precomputed1;u.moveNext$0();){p=u.__internal$_current;h=n.call$1(p==null?_._as(p):p);if(h!=null)return h}}for(o=this._async_environment0$_importedModules,o=s.LinkedHashMapKeyIterator$(o,o._modifications);o.moveNext$0();){h=n.call$1(o.__js_helper$_current);if(h!=null)return h}for(o=this._async_environment0$_globalModules,l=s.LinkedHashMapKeyIterator$(o,o._modifications),u=$.AsyncCallable_2,h=null,d=null;l.moveNext$0();){_=l.__js_helper$_current;m=n.call$1(_);if(m==null)continue;g=u._is(m)?m:_.variableIdentity$1(e);if(g.$eq(0,d))continue;if(h!=null){f=o.get$entries(o).map$1$1(0,new s.AsyncEnvironment__fromOneModule_closure0(n,i),$.nullable_FileSpan);l=s.LinkedHashMap_LinkedHashMap$_empty($.FileSpan,$.String);for(o=f.get$iterator(f),u="includes "+r;o.moveNext$0();){_=o.get$current(o);if(_!=null)l.$indexSet(0,_,u)}throw s.wrapException(s.MultiSpanSassScriptException$0("This "+r+c.x20is_av,r+" use",l))}d=g;h=m}return h}};s.AsyncEnvironment_importForwards_closure2.prototype={call$1(e){var r=e.get$variables();return r.get$keys(r)},$signature:109};s.AsyncEnvironment_importForwards_closure3.prototype={call$1(e){var r=e.get$functions(e);return r.get$keys(r)},$signature:109};s.AsyncEnvironment_importForwards_closure4.prototype={call$1(e){var r=e.get$mixins();return r.get$keys(r)},$signature:109};s.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype={call$1(e){return e.get$variables().$index(0,this.name)},$signature:294};s.AsyncEnvironment_setVariable_closure2.prototype={call$0(){var e=this.$this;e._async_environment0$_lastVariableName=this.name;return e._async_environment0$_lastVariableIndex=0},$signature:12};s.AsyncEnvironment_setVariable_closure3.prototype={call$1(e){return e.get$variables().containsKey$1(this.name)?e:null},$signature:295};s.AsyncEnvironment_setVariable_closure4.prototype={call$0(){var e=this.$this,r=e._async_environment0$_variableIndex$1(this.name);return r==null?e._async_environment0$_variables.length-1:r},$signature:12};s.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype={call$1(e){return e.get$functions(e).$index(0,this.name)},$signature:192};s.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype={call$1(e){return e.get$mixins().$index(0,this.name)},$signature:192};s.AsyncEnvironment_toModule_closure0.prototype={call$1(e){return new s.MapKeySet(e,$.MapKeySet_Module_AsyncCallable_2)},$signature:193};s.AsyncEnvironment_toDummyModule_closure0.prototype={call$1(e){return new s.MapKeySet(e,$.MapKeySet_Module_AsyncCallable_2)},$signature:193};s.AsyncEnvironment__fromOneModule_closure0.prototype={call$1(e){return s.NullableExtension_andThen0(this.callback.call$1(e.key),new s.AsyncEnvironment__fromOneModule__closure0(e,this.T))},$signature:298};s.AsyncEnvironment__fromOneModule__closure0.prototype={call$1(e){return a.get$span$z(this.entry.value)},$signature(){return this.T._eval$1("FileSpan(0)")}};s._EnvironmentModule2.prototype={get$url(e){var r=this.css;return r.get$span(r).file.url},setVariable$3(e,r,n){var i,l,u=this._async_environment0$_modulesByVariable.$index(0,e);if(u!=null){u.setVariable$3(e,r,n);return}i=this._async_environment0$_environment;l=i._async_environment0$_variables;if(!o.JSArray_methods.get$first(l).containsKey$1(e))throw s.wrapException(s.SassScriptException$0("Undefined variable."));a.$indexSet$ax(o.JSArray_methods.get$first(l),e,r);a.$indexSet$ax(o.JSArray_methods.get$first(i._async_environment0$_variableNodes),e,n);return},variableIdentity$1(e){var r=this._async_environment0$_modulesByVariable.$index(0,e);return r==null?this:r.variableIdentity$1(e)},cloneCss$0(){var e,r=this,n=r.css;if(a.get$isEmpty$asx(n.get$children(n)))return r;e=s.cloneCssStylesheet0(n,r.extensionStore);return s._EnvironmentModule$_2(r._async_environment0$_environment,e.item1,e.item2,r._async_environment0$_modulesByVariable,r.variables,r.variableNodes,r.functions,r.mixins,r.transitivelyContainsCss,r.transitivelyContainsExtensions)},toString$0(e){var r=this.css;if(r.get$span(r).file.url==null)r="";else{r=r.get$span(r);r=u.$get$context().prettyUri$1(r.file.url)}return r},$isModule0:1,get$upstream(){return this.upstream},get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins},get$extensionStore(){return this.extensionStore},get$css(e){return this.css},get$transitivelyContainsCss(){return this.transitivelyContainsCss},get$transitivelyContainsExtensions(){return this.transitivelyContainsExtensions}};s._EnvironmentModule__EnvironmentModule_closure17.prototype={call$1(e){return e.get$variables()},$signature:299};s._EnvironmentModule__EnvironmentModule_closure18.prototype={call$1(e){return e.get$variableNodes()},$signature:300};s._EnvironmentModule__EnvironmentModule_closure19.prototype={call$1(e){return e.get$functions(e)},$signature:194};s._EnvironmentModule__EnvironmentModule_closure20.prototype={call$1(e){return e.get$mixins()},$signature:194};s._EnvironmentModule__EnvironmentModule_closure21.prototype={call$1(e){return e.get$transitivelyContainsCss()},$signature:107};s._EnvironmentModule__EnvironmentModule_closure22.prototype={call$1(e){return e.get$transitivelyContainsExtensions()},$signature:107};s._EvaluateVisitor2.prototype={_EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(e,r,n,i,l,_){var c,p,h,d,m,g,f,y=this,S="$name, $module: null",v="sass:meta",b=$.JSArray_AsyncBuiltInCallable_2,x=s._setArrayType([s.BuiltInCallable$function0("global-variable-exists",S,new s._EvaluateVisitor_closure29(y),v),s.BuiltInCallable$function0("variable-exists","$name",new s._EvaluateVisitor_closure30(y),v),s.BuiltInCallable$function0("function-exists",S,new s._EvaluateVisitor_closure31(y),v),s.BuiltInCallable$function0("mixin-exists",S,new s._EvaluateVisitor_closure32(y),v),s.BuiltInCallable$function0("content-exists","",new s._EvaluateVisitor_closure33(y),v),s.BuiltInCallable$function0("module-variables","$module",new s._EvaluateVisitor_closure34(y),v),s.BuiltInCallable$function0("module-functions","$module",new s._EvaluateVisitor_closure35(y),v),s.BuiltInCallable$function0("get-function","$name, $css: false, $module: null",new s._EvaluateVisitor_closure36(y),v),new s.AsyncBuiltInCallable0("call",s.ScssParser$0("@function call($function, $args...) {",null,v).parseArgumentDeclaration$0(),new s._EvaluateVisitor_closure37(y))],b),w=s._setArrayType([s.AsyncBuiltInCallable$mixin0("load-css","$url, $with: null",new s._EvaluateVisitor_closure38(y),v)],b);b=$.AsyncBuiltInCallable_2;c=s.List_List$of(u.$get$global6(),true,b);o.JSArray_methods.addAll$1(c,u.$get$local0());o.JSArray_methods.addAll$1(c,x);p=s.BuiltInModule$0("meta",c,w,null,b);for(b=s.List_List$of(u.$get$coreModules0(),true,$.BuiltInModule_AsyncBuiltInCallable_2),b.push(p),c=b.length,h=y._async_evaluate0$_builtInModules,d=0;d>");l=s.List_List$of(new s.MappedListIterable(l,new s._EvaluateVisitor__combineCss_closure10,u),true,u._eval$1("ListIterable.E"))}g._async_evaluate0$_extendModules$1(l);u=$.JSArray_CssNode_2;_=s._setArrayType([],u);c=s._setArrayType([],u);for(u=a.get$reversed$ax(l),u=new s.ListIterator(u,u.get$length(u)),p=s._instanceType(u)._precomputed1;u.moveNext$0();){h=u.__internal$_current;if(h==null)h=p._as(h);h=h.get$css(h);d=h.get$children(h);m=g._async_evaluate0$_indexAfterImports$1(d);h=a.getInterceptor$ax(d);o.JSArray_methods.addAll$1(_,h.getRange$2(d,0,m));o.JSArray_methods.addAll$1(c,h.getRange$2(d,m,h.get$length(d)))}u=o.JSArray_methods.$add(_,c);p=e.get$css(e);return new s.CssStylesheet0(new s.UnmodifiableListView(u,$.UnmodifiableListView_CssNode_2),p.get$span(p))},_async_evaluate0$_combineCss$1(e){return this._async_evaluate0$_combineCss$2$clone(e,false)},_async_evaluate0$_extendModules$1(e){var r,n,i,o,l,u,_,c,p,h=s.LinkedHashMap_LinkedHashMap$_empty($.Uri,$.List_ExtensionStore_2),d=new s._LinkedIdentityHashSet($._LinkedIdentityHashSet_Extension_2);for(r=a.get$iterator$ax(e);r.moveNext$0();){n=r.get$current(r);i=n.get$extensionStore().get$simpleSelectors().toSet$0(0);d.addAll$1(0,n.get$extensionStore().extensionsWhereTarget$1(new s._EvaluateVisitor__extendModules_closure5(i)));o=h.$index(0,n.get$url(n));l=n.get$extensionStore().get$addExtensions();if(o!=null)l.call$1(o);l=n.get$extensionStore();if(l.get$isEmpty(l))continue;for(l=n.get$upstream(),u=l.length,_=0;_d?-1:1;if(h===(!e.isExclusive?o.to=d+m:d)){i=null;r=1;break}i=a._async_evaluate0$_environment.scope$1$2$semiGlobal(new s._EvaluateVisitor_visitForRule_closure18(o,a,e,h,m,_),true,$.nullable_Value_2);r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(g,n)},visitForwardRule$1(e){return this.visitForwardRule$body$_EvaluateVisitor0(e)},visitForwardRule$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.nullable_Value_2),i,o=this,l,u,_,c,p,h,d,m,g,f;var y=s._wrapJsFunctionForAsync((function(S,v){if(S===1)return s._asyncRethrow(v,n);while(true)switch(r){case 0:h=o._async_evaluate0$_configuration;d=h.throughForward$1(e);m=e.configuration;g=m.length;f=e.url;r=g!==0?3:5;break;case 3:r=6;return s._asyncAwait(o._async_evaluate0$_addForwardConfiguration$2(d,e),y);case 6:l=v;r=7;return s._asyncAwait(o._async_evaluate0$_loadModule$5$configuration(f,"@forward",e,new s._EvaluateVisitor_visitForwardRule_closure5(o,e),l),y);case 7:f=$.String;u=s.LinkedHashSet_LinkedHashSet$_empty(f);for(_=0;_0)l=f.$index(m,0);else{_=g.$index(0,"condition");_.toString;l=_}if(f.get$length(m)>1)c=f.$index(m,1);else{_=g.$index(0,"if-true");_.toString;c=_}if(f.get$length(m)>2)p=f.$index(m,2);else{f=g.$index(0,"if-false");f.toString;p=f}r=4;return s._asyncAwait(l.accept$1(o),y);case 4:h=S.get$isTruthy()?c:p;r=5;return s._asyncAwait(h.accept$1(o),y);case 5:i=o._async_evaluate0$_withoutSlash$2(S,o._async_evaluate0$_expressionNode$1(h));r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(y,n)},visitNullExpression$1(e){return this.visitNullExpression$body$_EvaluateVisitor0(e)},visitNullExpression$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.Value_2),i;var a=s._wrapJsFunctionForAsync((function(e,a){if(e===1)return s._asyncRethrow(a,n);while(true)switch(r){case 0:i=o.C__SassNull0;r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(a,n)},visitNumberExpression$1(e){return this.visitNumberExpression$body$_EvaluateVisitor0(e)},visitNumberExpression$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.SassNumber_2),i,a,o;var l=s._wrapJsFunctionForAsync((function(l,u){if(l===1)return s._asyncRethrow(u,n);while(true)switch(r){case 0:a=e.value;o=e.unit;i=o==null?new s.UnitlessSassNumber0(a,null):new s.SingleUnitSassNumber0(o,a,null);r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(l,n)},visitParenthesizedExpression$1(e){return e.expression.accept$1(this)},visitCalculationExpression$1(e){return this.visitCalculationExpression$body$_EvaluateVisitor0(e)},visitCalculationExpression$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.Value_2),i,o=[],l=this,u,_,c,p,h,d,m,g,f,y,S,v,b;var x=s._wrapJsFunctionForAsync((function(o,S){if(o===1)return s._asyncRethrow(S,n);while(true)e:switch(r){case 0:v=s._setArrayType([],$.JSArray_Object);p=e.$arguments,h=p.length,d=e.name,m=d!=="min",g=d==="max",f=0;case 3:if(!(f1?a.$index$asx(u,1):null;v=s.SassCalculation_clamp0(v,h,a.get$length$asx(u)>2?a.$index$asx(u,2):null);i=v;r=1;break e;default:v=s.UnsupportedError$('Unknown calculation name "'+d+'".');throw s.wrapException(v)}}catch(r){v=s.unwrapException(r);if(v instanceof s.SassScriptException0){_=v;c=s.getTraceFromException(r);l._async_evaluate0$_verifyCompatibleNumbers$2(u,p);s.throwWithTrace0(l._async_evaluate0$_exception$2(_.message,e.span),c)}else throw r}case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(x,n)},_async_evaluate0$_verifyCompatibleNumbers$2(e,r){var n,i,o,l,u,_;for(n=0;i=e.length,n1||o.get$denominatorUnits(o).length!==0)throw s.wrapException(this._async_evaluate0$_exception$2("Number "+o.toString$0(0)+" isn't compatible with CSS calculations.",a.get$span$z(r[n])))}for(n=0;nI){k=o.JSArray_methods.sublist$1(O.positional,I);o.JSArray_methods.removeRange$2(O.positional,I,O.positional.length)}else k=o.List_empty19;I=O.named;F=s.SassArgumentList$0(k,I,O.separator===o.ListSeparator_undecided_null0?o.ListSeparator_kWM0:O.separator);O.positional.push(F)}else F=null;m=null;_=11;i=14;return s._asyncAwait(d.call$1(O.positional),z);case 14:m=T;_=2;i=13;break;case 11:_=10;D=c;I=s.unwrapException(D);if($.SassRuntimeException_2._is(I))throw D;else if(I instanceof s.MultiSpanSassScriptException0){g=I;f=s.getTraceFromException(D);I=g.message;L=n.get$span(n);R=g.primaryLabel;N=g.secondarySpans;s.throwWithTrace0(new s.MultiSpanSassRuntimeException0(h._async_evaluate0$_stackTrace$1(n.get$span(n)),R,s.ConstantMap_ConstantMap$from(N,$.FileSpan,$.String),I,L),f)}else if(I instanceof s.MultiSpanSassException0){y=I;S=s.getTraceFromException(D);I=y._span_exception$_message;L=y;R=a.getInterceptor$z(L);L=s.SourceSpanException.prototype.get$span.call(R,L);R=y.primaryLabel;N=y.secondarySpans;U=y;J=a.getInterceptor$z(U);s.throwWithTrace0(new s.MultiSpanSassRuntimeException0(h._async_evaluate0$_stackTrace$1(s.SourceSpanException.prototype.get$span.call(J,U)),R,s.ConstantMap_ConstantMap$from(N,$.FileSpan,$.String),I,L),S)}else{v=I;b=s.getTraceFromException(D);x=null;try{x=s._asString(a.get$message$x(v))}catch(e){P=a.toString$0$(v);x=P}s.throwWithTrace0(h._async_evaluate0$_exception$2(x,n.get$span(n)),b)}i=13;break;case 10:i=2;break;case 13:h._async_evaluate0$_callableNode=B;if(F==null){u=m;i=1;break}if(O.named.__js_helper$_length===0){u=m;i=1;break}if(F._argument_list$_wereKeywordsAccessed){u=m;i=1;break}I=O.named;I=I.get$keys(I);I=s.pluralize0("argument",I.get$length(I),null);L=O.named;throw s.wrapException(s.MultiSpanSassRuntimeException$0("No "+I+" named "+s.S(s.toSentence0(L.get$keys(L).map$1$1(0,new s._EvaluateVisitor__runBuiltInCallable_closure6,$.Object),"or"))+".",n.get$span(n),"invocation",s.LinkedHashMap_LinkedHashMap$_literal([E.get$spanWithName(),"declaration"],$.FileSpan,$.String),h._async_evaluate0$_stackTrace$1(n.get$span(n))));case 1:return s._asyncReturn(u,l);case 2:return s._asyncRethrow(c,l)}}));return s._asyncStartSync(z,l)},_async_evaluate0$_evaluateArguments$1(e){return this._evaluateArguments$body$_EvaluateVisitor0(e)},_evaluateArguments$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($._ArgumentResults_2),i,l=this,u,_,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A,M,I,V,L;var R=s._wrapJsFunctionForAsync((function(k,F){if(k===1)return s._asyncRethrow(F,n);while(true)switch(r){case 0:M=s._setArrayType([],$.JSArray_Value_2);I=s._setArrayType([],$.JSArray_AstNode_2);u=e.positional,_=u.length,p=0;case 3:if(!(p<_)){r=5;break}h=u[p];d=l._async_evaluate0$_expressionNode$1(h);V=M;r=6;return s._asyncAwait(h.accept$1(l),R);case 6:V.push(l._async_evaluate0$_withoutSlash$2(F,d));I.push(d);case 4:++p;r=3;break;case 5:u=$.String;m=s.LinkedHashMap_LinkedHashMap$_empty(u,$.Value_2);_=$.AstNode_2;g=s.LinkedHashMap_LinkedHashMap$_empty(u,_);f=e.named,f=f.get$entries(f),f=f.get$iterator(f);case 7:if(!f.moveNext$0()){r=8;break}y=f.get$current(f);S=y.value;d=l._async_evaluate0$_expressionNode$1(S);y=y.key;V=m;L=y;r=9;return s._asyncAwait(S.accept$1(l),R);case 9:V.$indexSet(0,L,l._async_evaluate0$_withoutSlash$2(F,d));g.$indexSet(0,y,d);r=7;break;case 8:v=e.rest;if(v==null){i=new s._ArgumentResults2(M,I,m,g,o.ListSeparator_undecided_null0);r=1;break}r=10;return s._asyncAwait(v.accept$1(l),R);case 10:b=F;x=l._async_evaluate0$_expressionNode$1(v);if(b instanceof s.SassMap0){l._async_evaluate0$_addRestMap$4(m,b,v,new s._EvaluateVisitor__evaluateArguments_closure11);f=s.LinkedHashMap_LinkedHashMap$_empty(u,_);for(y=b._map0$_contents,y=a.get$iterator$ax(y.get$keys(y)),S=$.SassString_2;y.moveNext$0();)f.$indexSet(0,S._as(y.get$current(y))._string0$_text,x);g.addAll$1(0,f);w=o.ListSeparator_undecided_null0}else if(b instanceof s.SassList0){f=b._list1$_contents;o.JSArray_methods.addAll$1(M,new s.MappedListIterable(f,new s._EvaluateVisitor__evaluateArguments_closure12(l,x),s._arrayInstanceType(f)._eval$1("MappedListIterable<1,Value0>")));o.JSArray_methods.addAll$1(I,s.List_List$filled(f.length,x,false,_));w=b._list1$_separator;if(b instanceof s.SassArgumentList0){b._argument_list$_wereKeywordsAccessed=true;b._argument_list$_keywords.forEach$1(0,new s._EvaluateVisitor__evaluateArguments_closure13(l,m,x,g))}}else{M.push(l._async_evaluate0$_withoutSlash$2(b,x));I.push(x);w=o.ListSeparator_undecided_null0}C=e.keywordRest;if(C==null){i=new s._ArgumentResults2(M,I,m,g,w);r=1;break}r=11;return s._asyncAwait(C.accept$1(l),R);case 11:E=F;A=l._async_evaluate0$_expressionNode$1(C);if(E instanceof s.SassMap0){l._async_evaluate0$_addRestMap$4(m,E,C,new s._EvaluateVisitor__evaluateArguments_closure14);u=s.LinkedHashMap_LinkedHashMap$_empty(u,_);for(_=E._map0$_contents,_=a.get$iterator$ax(_.get$keys(_)),f=$.SassString_2;_.moveNext$0();)u.$indexSet(0,f._as(_.get$current(_))._string0$_text,A);g.addAll$1(0,u);i=new s._ArgumentResults2(M,I,m,g,w);r=1;break}else throw s.wrapException(l._async_evaluate0$_exception$2(c.Variabs+E.toString$0(0)+").",C.get$span(C)));case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(R,n)},_async_evaluate0$_evaluateMacroArguments$1(e){return this._evaluateMacroArguments$body$_EvaluateVisitor0(e)},_evaluateMacroArguments$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.Tuple2_of_List_Expression_and_Map_String_Expression_2),i,a=this,l,u,_,p,h,d,m,g,f,y;var S=s._wrapJsFunctionForAsync((function(v,b){if(v===1)return s._asyncRethrow(b,n);while(true)switch(r){case 0:f=e.$arguments;y=f.rest;if(y==null){i=new s.Tuple2(f.positional,f.named,$.Tuple2_of_List_Expression_and_Map_String_Expression_2);r=1;break}l=f.positional;u=s._setArrayType(l.slice(0),s._arrayInstanceType(l));_=s.LinkedHashMap_LinkedHashMap$of(f.named,$.String,$.Expression_2);r=3;return s._asyncAwait(y.accept$1(a),S);case 3:p=b;h=a._async_evaluate0$_expressionNode$1(y);if(p instanceof s.SassMap0)a._async_evaluate0$_addRestMap$4(_,p,e,new s._EvaluateVisitor__evaluateMacroArguments_closure11(y));else if(p instanceof s.SassList0){l=p._list1$_contents;o.JSArray_methods.addAll$1(u,new s.MappedListIterable(l,new s._EvaluateVisitor__evaluateMacroArguments_closure12(a,h,y),s._arrayInstanceType(l)._eval$1("MappedListIterable<1,Expression0>")));if(p instanceof s.SassArgumentList0){p._argument_list$_wereKeywordsAccessed=true;p._argument_list$_keywords.forEach$1(0,new s._EvaluateVisitor__evaluateMacroArguments_closure13(a,_,h,y))}}else u.push(new s.ValueExpression0(a._async_evaluate0$_withoutSlash$2(p,h),y.get$span(y)));d=f.keywordRest;if(d==null){i=new s.Tuple2(u,_,$.Tuple2_of_List_Expression_and_Map_String_Expression_2);r=1;break}r=4;return s._asyncAwait(d.accept$1(a),S);case 4:m=b;g=a._async_evaluate0$_expressionNode$1(d);if(m instanceof s.SassMap0){a._async_evaluate0$_addRestMap$4(_,m,e,new s._EvaluateVisitor__evaluateMacroArguments_closure14(a,g,d));i=new s.Tuple2(u,_,$.Tuple2_of_List_Expression_and_Map_String_Expression_2);r=1;break}else throw s.wrapException(a._async_evaluate0$_exception$2(c.Variabs+m.toString$0(0)+").",d.get$span(d)));case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(S,n)},_async_evaluate0$_addRestMap$1$4(e,r,n,i){r._map0$_contents.forEach$1(0,new s._EvaluateVisitor__addRestMap_closure2(this,e,i,this._async_evaluate0$_expressionNode$1(n),r,n))},_async_evaluate0$_addRestMap$4(e,r,n,i){return this._async_evaluate0$_addRestMap$1$4(e,r,n,i,$.dynamic)},_async_evaluate0$_verifyArguments$4(e,r,n,i){return this._async_evaluate0$_addExceptionSpan$2(i,new s._EvaluateVisitor__verifyArguments_closure2(n,e,r))},visitSelectorExpression$1(e){return this.visitSelectorExpression$body$_EvaluateVisitor0(e)},visitSelectorExpression$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.Value_2),i,a=this,l;var u=s._wrapJsFunctionForAsync((function(e,u){if(e===1)return s._asyncRethrow(u,n);while(true)switch(r){case 0:l=a._async_evaluate0$_styleRuleIgnoringAtRoot;l=l==null?null:l.originalSelector.get$asSassList();i=l==null?o.C__SassNull0:l;r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(u,n)},visitStringExpression$1(e){return this.visitStringExpression$body$_EvaluateVisitor0(e)},visitStringExpression$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.SassString_2),i,o=this,l,u,_;var c=s._wrapJsFunctionForAsync((function(p,h){if(p===1)return s._asyncRethrow(h,n);while(true)switch(r){case 0:u=o._async_evaluate0$_inSupportsDeclaration;o._async_evaluate0$_inSupportsDeclaration=false;_=a;r=3;return s._asyncAwait(s.mapAsync0(e.text.contents,new s._EvaluateVisitor_visitStringExpression_closure2(o),$.Object,$.String),c);case 3:l=_.join$0$ax(h);o._async_evaluate0$_inSupportsDeclaration=u;i=new s.SassString0(l,e.hasQuotes);r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(c,n)},visitSupportsExpression$1(e){return this.visitSupportsExpression$body$_EvaluateVisitor0(e)},visitSupportsExpression$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.SassString_2),i,a=this,o;var l=s._wrapJsFunctionForAsync((function(u,_){if(u===1)return s._asyncRethrow(_,n);while(true)switch(r){case 0:o=s;r=3;return s._asyncAwait(a._async_evaluate0$_visitSupportsCondition$1(e.condition),l);case 3:i=new o.SassString0(_,false);r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(l,n)},visitCssAtRule$1(e){return this.visitCssAtRule$body$_EvaluateVisitor0(e)},visitCssAtRule$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i,a=this,o,l,u;var _=s._wrapJsFunctionForAsync((function(p,h){if(p===1)return s._asyncRethrow(h,n);while(true)switch(r){case 0:if(a._async_evaluate0$_declarationName!=null)throw s.wrapException(a._async_evaluate0$_exception$2(c.At_rul,e.span));if(e.isChildless){a._async_evaluate0$_assertInModule$2(a._async_evaluate0$__parent,"__parent").addChild$1(s.ModifiableCssAtRule$0(e.name,e.span,true,e.value));r=1;break}o=a._async_evaluate0$_inKeyframes;l=a._async_evaluate0$_inUnknownAtRule;u=e.name;if(s.unvendor0(u.get$value(u))==="keyframes")a._async_evaluate0$_inKeyframes=true;else a._async_evaluate0$_inUnknownAtRule=true;r=3;return s._asyncAwait(a._async_evaluate0$_withParent$2$4$scopeWhen$through(s.ModifiableCssAtRule$0(u,e.span,false,e.value),new s._EvaluateVisitor_visitCssAtRule_closure5(a,e),false,new s._EvaluateVisitor_visitCssAtRule_closure6,$.ModifiableCssAtRule_2,$.Null),_);case 3:a._async_evaluate0$_inUnknownAtRule=l;a._async_evaluate0$_inKeyframes=o;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(_,n)},visitCssComment$1(e){return this.visitCssComment$body$_EvaluateVisitor0(e)},visitCssComment$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this;var o=s._wrapJsFunctionForAsync((function(o,l){if(o===1)return s._asyncRethrow(l,n);while(true)switch(r){case 0:if(i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__parent,"__parent")===i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__root,"_root")&&i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__endOfImports,"_endOfImports")===a.get$length$asx(i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__root,"_root").children._collection$_source))i._async_evaluate0$__endOfImports=i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__endOfImports,"_endOfImports")+1;i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__parent,"__parent").addChild$1(new s.ModifiableCssComment0(e.text,e.span));return s._asyncReturn(null,n)}}));return s._asyncStartSync(o,n)},visitCssDeclaration$1(e){return this.visitCssDeclaration$body$_EvaluateVisitor0(e)},visitCssDeclaration$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this,o;var l=s._wrapJsFunctionForAsync((function(l,u){if(l===1)return s._asyncRethrow(u,n);while(true)switch(r){case 0:o=e.name;i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__parent,"__parent").addChild$1(s.ModifiableCssDeclaration$0(o,e.value,e.span,a.startsWith$1$s(o.get$value(o),"--"),e.valueSpanForMap));return s._asyncReturn(null,n)}}));return s._asyncStartSync(l,n)},visitCssImport$1(e){return this.visitCssImport$body$_EvaluateVisitor0(e)},visitCssImport$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this,o,l;var u=s._wrapJsFunctionForAsync((function(u,_){if(u===1)return s._asyncRethrow(_,n);while(true)switch(r){case 0:l=new s.ModifiableCssImport0(e.url,e.modifiers,e.span);if(i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__parent,"__parent")!==i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__root,"_root"))i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__parent,"__parent").addChild$1(l);else if(i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__endOfImports,"_endOfImports")===a.get$length$asx(i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__root,"_root").children._collection$_source)){i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__root,"_root").addChild$1(l);i._async_evaluate0$__endOfImports=i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__endOfImports,"_endOfImports")+1}else{o=i._async_evaluate0$_outOfOrderImports;(o==null?i._async_evaluate0$_outOfOrderImports=s._setArrayType([],$.JSArray_ModifiableCssImport_2):o).push(l)}return s._asyncReturn(null,n)}}));return s._asyncStartSync(u,n)},visitCssKeyframeBlock$1(e){return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(e)},visitCssKeyframeBlock$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this;var a=s._wrapJsFunctionForAsync((function(o,l){if(o===1)return s._asyncRethrow(l,n);while(true)switch(r){case 0:r=2;return s._asyncAwait(i._async_evaluate0$_withParent$2$4$scopeWhen$through(s.ModifiableCssKeyframeBlock$0(e.selector,e.span),new s._EvaluateVisitor_visitCssKeyframeBlock_closure5(i,e),false,new s._EvaluateVisitor_visitCssKeyframeBlock_closure6,$.ModifiableCssKeyframeBlock_2,$.Null),a);case 2:return s._asyncReturn(null,n)}}));return s._asyncStartSync(a,n)},visitCssMediaRule$1(e){return this.visitCssMediaRule$body$_EvaluateVisitor0(e)},visitCssMediaRule$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i,o=this,l,u;var _=s._wrapJsFunctionForAsync((function(p,h){if(p===1)return s._asyncRethrow(h,n);while(true)switch(r){case 0:if(o._async_evaluate0$_declarationName!=null)throw s.wrapException(o._async_evaluate0$_exception$2(c.Media_,e.span));l=s.NullableExtension_andThen0(o._async_evaluate0$_mediaQueries,new s._EvaluateVisitor_visitCssMediaRule_closure8(o,e));u=l==null;if(!u&&a.get$isEmpty$asx(l)){r=1;break}u=u?e.queries:l;r=3;return s._asyncAwait(o._async_evaluate0$_withParent$2$4$scopeWhen$through(s.ModifiableCssMediaRule$0(u,e.span),new s._EvaluateVisitor_visitCssMediaRule_closure9(o,l,e),false,new s._EvaluateVisitor_visitCssMediaRule_closure10(l),$.ModifiableCssMediaRule_2,$.Null),_);case 3:case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(_,n)},visitCssStyleRule$1(e){return this.visitCssStyleRule$body$_EvaluateVisitor0(e)},visitCssStyleRule$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this,a,o,l,u,_,p,h,d,m;var g=s._wrapJsFunctionForAsync((function(f,y){if(f===1)return s._asyncRethrow(y,n);while(true)switch(r){case 0:if(i._async_evaluate0$_declarationName!=null)throw s.wrapException(i._async_evaluate0$_exception$2(c.Style_,e.span));a=i._async_evaluate0$_atRootExcludingStyleRule;o=a?null:i._async_evaluate0$_styleRuleIgnoringAtRoot;l=e.selector;u=l.value;_=o==null;p=_?null:o.originalSelector;h=u.resolveParentSelectors$2$implicitParent(p,!a);d=s.ModifiableCssStyleRule$0(i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__extensionStore,"_extensionStore").addSelector$3(h,l.span,i._async_evaluate0$_mediaQueries),e.span,h);m=i._async_evaluate0$_atRootExcludingStyleRule;i._async_evaluate0$_atRootExcludingStyleRule=false;r=2;return s._asyncAwait(i._async_evaluate0$_withParent$2$4$scopeWhen$through(d,new s._EvaluateVisitor_visitCssStyleRule_closure5(i,d,e),false,new s._EvaluateVisitor_visitCssStyleRule_closure6,$.ModifiableCssStyleRule_2,$.Null),g);case 2:i._async_evaluate0$_atRootExcludingStyleRule=m;if(_){a=i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__parent,"__parent").children;a=!a.get$isEmpty(a)}else a=false;if(a){a=i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__parent,"__parent").children;a.get$last(a).isGroupEnd=true}return s._asyncReturn(null,n)}}));return s._asyncStartSync(g,n)},visitCssStylesheet$1(e){return this.visitCssStylesheet$body$_EvaluateVisitor0(e)},visitCssStylesheet$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this,o;var l=s._wrapJsFunctionForAsync((function(u,_){if(u===1)return s._asyncRethrow(_,n);while(true)switch(r){case 0:o=a.get$iterator$ax(e.get$children(e));case 2:if(!o.moveNext$0()){r=3;break}r=4;return s._asyncAwait(o.get$current(o).accept$1(i),l);case 4:r=2;break;case 3:return s._asyncReturn(null,n)}}));return s._asyncStartSync(l,n)},visitCssSupportsRule$1(e){return this.visitCssSupportsRule$body$_EvaluateVisitor0(e)},visitCssSupportsRule$body$_EvaluateVisitor0(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this;var a=s._wrapJsFunctionForAsync((function(o,l){if(o===1)return s._asyncRethrow(l,n);while(true)switch(r){case 0:if(i._async_evaluate0$_declarationName!=null)throw s.wrapException(i._async_evaluate0$_exception$2(c.Suppor,e.span));r=2;return s._asyncAwait(i._async_evaluate0$_withParent$2$4$scopeWhen$through(s.ModifiableCssSupportsRule$0(e.condition,e.span),new s._EvaluateVisitor_visitCssSupportsRule_closure5(i,e),false,new s._EvaluateVisitor_visitCssSupportsRule_closure6,$.ModifiableCssSupportsRule_2,$.Null),a);case 2:return s._asyncReturn(null,n)}}));return s._asyncStartSync(a,n)},_async_evaluate0$_handleReturn$1$2(e,r){return this._handleReturn$body$_EvaluateVisitor0(e,r)},_async_evaluate0$_handleReturn$2(e,r){return this._async_evaluate0$_handleReturn$1$2(e,r,$.dynamic)},_handleReturn$body$_EvaluateVisitor0(e,r){var n=0,i=s._makeAsyncAwaitCompleter($.nullable_Value_2),a,o,l,u;var _=s._wrapJsFunctionForAsync((function(c,$){if(c===1)return s._asyncRethrow($,i);while(true)switch(n){case 0:o=e.length,l=0;case 3:if(!(l")),true,$.Frame);if(e!=null)n.push(r._async_evaluate0$_stackFrame$2(r._async_evaluate0$_member,e));return s.Trace$(new s.ReversedListIterable(n,s._arrayInstanceType(n)._eval$1("ReversedListIterable<1>")),null)},_async_evaluate0$_stackTrace$0(){return this._async_evaluate0$_stackTrace$1(null)},_async_evaluate0$_warn$3$deprecation(e,r,n){var i,a=this;if(a._async_evaluate0$_quietDeps)if(!a._async_evaluate0$_inDependency){i=a._async_evaluate0$_currentCallable;i=i==null?null:i.inDependency;i=i===true}else i=true;else i=false;if(i)return;if(!a._async_evaluate0$_warningsEmitted.add$1(0,new s.Tuple2(e,r,$.Tuple2_String_SourceSpan)))return;a._async_evaluate0$_logger.warn$4$deprecation$span$trace(0,e,n,r,a._async_evaluate0$_stackTrace$1(r))},_async_evaluate0$_warn$2(e,r){return this._async_evaluate0$_warn$3$deprecation(e,r,false)},_async_evaluate0$_exception$2(e,r){var n=r==null?a.get$span$z(o.JSArray_methods.get$last(this._async_evaluate0$_stack).item2):r;return new s.SassRuntimeException0(this._async_evaluate0$_stackTrace$1(r),e,n)},_async_evaluate0$_exception$1(e){return this._async_evaluate0$_exception$2(e,null)},_async_evaluate0$_multiSpanException$3(e,r,n){var i=a.get$span$z(o.JSArray_methods.get$last(this._async_evaluate0$_stack).item2);return new s.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$0(),r,s.ConstantMap_ConstantMap$from(n,$.FileSpan,$.String),e,i)},_async_evaluate0$_adjustParseError$1$2(e,r){var n,i,l,u,_,c,$,p,h,d,m,g,f,y=null;try{$=r.call$0();return $}catch(p){$=s.unwrapException(p);if($ instanceof s.SassFormatException0){n=$;i=s.getTraceFromException(p);$=n;h=a.getInterceptor$z($);$=s.SourceSpanException.prototype.get$span.call(h,$);l=s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2($.get$file($)._decodedChars,0,y),0,y);u=e.get$span(e);_=o.JSString_methods.replaceRange$3(s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(a.get$file$x(u)._decodedChars,0,y),0,y),a.get$start$z(u).offset,a.get$end$z(u).offset,l);$=s.SourceFile$fromString(_,a.get$file$x(u).url);h=a.get$start$z(u);d=n;m=a.getInterceptor$z(d);d=s.SourceSpanException.prototype.get$span.call(m,d);d=d.get$start(d);m=a.get$start$z(u);g=n;f=a.getInterceptor$z(g);g=s.SourceSpanException.prototype.get$span.call(f,g);c=$.span$2(0,h.offset+d.offset,m.offset+g.get$end(g).offset);s.throwWithTrace0(this._async_evaluate0$_exception$2(n._span_exception$_message,c),i)}else throw p}},_async_evaluate0$_adjustParseError$2(e,r){return this._async_evaluate0$_adjustParseError$1$2(e,r,$.dynamic)},_async_evaluate0$_addExceptionSpan$1$2(e,r){var n,i,a,o,l,u,_,c,p;try{l=r.call$0();return l}catch(u){l=s.unwrapException(u);if(l instanceof s.MultiSpanSassScriptException0){n=l;i=s.getTraceFromException(u);l=n.message;_=e.get$span(e);c=n.primaryLabel;p=n.secondarySpans;s.throwWithTrace0(new s.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$1(e.get$span(e)),c,s.ConstantMap_ConstantMap$from(p,$.FileSpan,$.String),l,_),i)}else if(l instanceof s.SassScriptException0){a=l;o=s.getTraceFromException(u);s.throwWithTrace0(this._async_evaluate0$_exception$2(a.message,e.get$span(e)),o)}else throw u}},_async_evaluate0$_addExceptionSpan$2(e,r){return this._async_evaluate0$_addExceptionSpan$1$2(e,r,$.dynamic)},_async_evaluate0$_addExceptionSpanAsync$1$2(e,r,n){return this._addExceptionSpanAsync$body$_EvaluateVisitor0(e,r,n,n)},_addExceptionSpanAsync$body$_EvaluateVisitor0(e,r,n,i){var a=0,o=s._makeAsyncAwaitCompleter(i),l,u=2,_,c=[],p=this,h,d,m,g,f,y,S,v,b,x;var w=s._wrapJsFunctionForAsync((function(n,i){if(n===1){_=i;a=u}while(true)switch(a){case 0:u=4;a=7;return s._asyncAwait(r.call$0(),w);case 7:f=i;l=f;a=1;break;u=2;a=6;break;case 4:u=3;x=_;f=s.unwrapException(x);if(f instanceof s.MultiSpanSassScriptException0){h=f;d=s.getTraceFromException(x);f=h.message;S=e.get$span(e);v=h.primaryLabel;b=h.secondarySpans;s.throwWithTrace0(new s.MultiSpanSassRuntimeException0(p._async_evaluate0$_stackTrace$1(e.get$span(e)),v,s.ConstantMap_ConstantMap$from(b,$.FileSpan,$.String),f,S),d)}else if(f instanceof s.SassScriptException0){m=f;g=s.getTraceFromException(x);s.throwWithTrace0(p._async_evaluate0$_exception$2(m.message,e.get$span(e)),g)}else throw x;a=6;break;case 3:a=2;break;case 6:case 1:return s._asyncReturn(l,o);case 2:return s._asyncRethrow(_,o)}}));return s._asyncStartSync(w,o)},_async_evaluate0$_addErrorSpan$1$2(e,r,n){return this._addErrorSpan$body$_EvaluateVisitor0(e,r,n,n)},_addErrorSpan$body$_EvaluateVisitor0(e,r,n,i){var l=0,u=s._makeAsyncAwaitCompleter(i),_,c=2,p,h=[],d=this,m,g,f,y,S,v;var b=s._wrapJsFunctionForAsync((function(n,i){if(n===1){p=i;l=c}while(true)switch(l){case 0:c=4;l=7;return s._asyncAwait(r.call$0(),b);case 7:f=i;_=f;l=1;break;c=2;l=6;break;case 4:c=3;v=p;f=s.unwrapException(v);if($.SassRuntimeException_2._is(f)){m=f;g=s.getTraceFromException(v);if(!o.JSString_methods.startsWith$1(a.get$span$z(m).get$text(),"@error"))throw v;f=m._span_exception$_message;S=e.get$span(e);s.throwWithTrace0(new s.SassRuntimeException0(d._async_evaluate0$_stackTrace$0(),f,S),g)}else throw v;l=6;break;case 3:l=2;break;case 6:case 1:return s._asyncReturn(_,u);case 2:return s._asyncRethrow(p,u)}}));return s._asyncStartSync(b,u)}};s._EvaluateVisitor_closure29.prototype={call$1(e){var r,n,i=a.getInterceptor$asx(e),l=i.$index(e,0).assertString$1("name");i=i.$index(e,1).get$realNull();r=i==null?null:i.assertString$1("module");i=this.$this._async_evaluate0$_environment;n=s.stringReplaceAllUnchecked(l._string0$_text,"_","-");return i.globalVariableExists$2$namespace(n,r==null?null:r._string0$_text)?o.SassBoolean_true0:o.SassBoolean_false0},$signature:19};s._EvaluateVisitor_closure30.prototype={call$1(e){var r=a.$index$asx(e,0).assertString$1("name"),n=this.$this._async_evaluate0$_environment;return n.getVariable$1(s.stringReplaceAllUnchecked(r._string0$_text,"_","-"))!=null?o.SassBoolean_true0:o.SassBoolean_false0},$signature:19};s._EvaluateVisitor_closure31.prototype={call$1(e){var r,n,i,l,u=a.getInterceptor$asx(e),_=u.$index(e,0).assertString$1("name");u=u.$index(e,1).get$realNull();r=u==null?null:u.assertString$1("module");u=this.$this;n=u._async_evaluate0$_environment;i=_._string0$_text;l=s.stringReplaceAllUnchecked(i,"_","-");return n.getFunction$2$namespace(l,r==null?null:r._string0$_text)!=null||u._async_evaluate0$_builtInFunctions.containsKey$1(i)?o.SassBoolean_true0:o.SassBoolean_false0},$signature:19};s._EvaluateVisitor_closure32.prototype={call$1(e){var r,n,i=a.getInterceptor$asx(e),l=i.$index(e,0).assertString$1("name");i=i.$index(e,1).get$realNull();r=i==null?null:i.assertString$1("module");i=this.$this._async_evaluate0$_environment;n=s.stringReplaceAllUnchecked(l._string0$_text,"_","-");return i.getMixin$2$namespace(n,r==null?null:r._string0$_text)!=null?o.SassBoolean_true0:o.SassBoolean_false0},$signature:19};s._EvaluateVisitor_closure33.prototype={call$1(e){var r=this.$this._async_evaluate0$_environment;if(!r._async_environment0$_inMixin)throw s.wrapException(s.SassScriptException$0(c.conten));return r._async_environment0$_content!=null?o.SassBoolean_true0:o.SassBoolean_false0},$signature:19};s._EvaluateVisitor_closure34.prototype={call$1(e){var r,n,i,o=a.$index$asx(e,0).assertString$1("module")._string0$_text,l=this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0,o);if(l==null)throw s.wrapException('There is no module with namespace "'+o+'".');o=$.Value_2;r=s.LinkedHashMap_LinkedHashMap$_empty(o,o);for(n=l.get$variables(),n=n.get$entries(n),n=n.get$iterator(n);n.moveNext$0();){i=n.get$current(n);r.$indexSet(0,new s.SassString0(i.key,true),i.value)}return new s.SassMap0(s.ConstantMap_ConstantMap$from(r,o,o))},$signature:40};s._EvaluateVisitor_closure35.prototype={call$1(e){var r,n,i,o=a.$index$asx(e,0).assertString$1("module")._string0$_text,l=this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0,o);if(l==null)throw s.wrapException('There is no module with namespace "'+o+'".');o=$.Value_2;r=s.LinkedHashMap_LinkedHashMap$_empty(o,o);for(n=l.get$functions(l),n=n.get$entries(n),n=n.get$iterator(n);n.moveNext$0();){i=n.get$current(n);r.$indexSet(0,new s.SassString0(i.key,true),new s.SassFunction0(i.value))}return new s.SassMap0(s.ConstantMap_ConstantMap$from(r,o,o))},$signature:40};s._EvaluateVisitor_closure36.prototype={call$1(e){var r,n,i,o=a.getInterceptor$asx(e),l=o.$index(e,0).assertString$1("name"),u=o.$index(e,1).get$isTruthy();o=o.$index(e,2).get$realNull();r=o==null?null:o.assertString$1("module");if(u&&r!=null)throw s.wrapException(c.x24css_a);if(u)n=new s.PlainCssCallable0(l._string0$_text);else{o=this.$this;i=o._async_evaluate0$_callableNode;i.toString;n=o._async_evaluate0$_addExceptionSpan$2(i,new s._EvaluateVisitor__closure10(o,l,r))}if(n!=null)return new s.SassFunction0(n);throw s.wrapException("Function not found: "+l.toString$0(0))},$signature:197};s._EvaluateVisitor__closure10.prototype={call$0(){var e=s.stringReplaceAllUnchecked(this.name._string0$_text,"_","-"),r=this.module;r=r==null?null:r._string0$_text;return this.$this._async_evaluate0$_getFunction$2$namespace(e,r)},$signature:105};s._EvaluateVisitor_closure37.prototype={call$1(e){return this.$call$body$_EvaluateVisitor_closure2(e)},$call$body$_EvaluateVisitor_closure2(e){var r=0,n=s._makeAsyncAwaitCompleter($.Value_2),i,o=this,l,u,_,p,h,d,m,g,f,y,S,v,b,x,w;var C=s._wrapJsFunctionForAsync((function(E,A){if(E===1)return s._asyncRethrow(A,n);while(true)switch(r){case 0:b=a.getInterceptor$asx(e);x=b.$index(e,0);w=$.SassArgumentList_2._as(b.$index(e,1));b=o.$this;l=b._async_evaluate0$_callableNode;l.toString;u=s._setArrayType([],$.JSArray_Expression_2);_=$.String;p=$.Expression_2;h=l.get$span(l);d=l.get$span(l);w._argument_list$_wereKeywordsAccessed=true;m=w._argument_list$_keywords;if(m.get$isEmpty(m))l=null;else{g=$.Value_2;f=s.LinkedHashMap_LinkedHashMap$_empty(g,g);for(w._argument_list$_wereKeywordsAccessed=true,m=m.get$entries(m),m=m.get$iterator(m);m.moveNext$0();){y=m.get$current(m);f.$indexSet(0,new s.SassString0(y.key,false),y.value)}l=new s.ValueExpression0(new s.SassMap0(s.ConstantMap_ConstantMap$from(f,g,g)),l.get$span(l))}S=new s.ArgumentInvocation0(s.List_List$unmodifiable(u,p),s.ConstantMap_ConstantMap$from(s.LinkedHashMap_LinkedHashMap$_empty(_,p),_,p),new s.ValueExpression0(w,d),l,h);r=x instanceof s.SassString0?3:4;break;case 3:l=x.toString$0(0);s.EvaluationContext_current0().warn$2$deprecation(0,c.Passin+l+"))",true);v=b._async_evaluate0$_callableNode;r=5;return s._asyncAwait(b.visitFunctionExpression$1(new s.FunctionExpression0(null,x._string0$_text,S,v.get$span(v))),C);case 5:i=A;r=1;break;case 4:l=x.assertFunction$1("function");u=b._async_evaluate0$_callableNode;u.toString;r=6;return s._asyncAwait(b._async_evaluate0$_runFunctionCallable$3(S,l.callable,u),C);case 6:u=A;i=u;r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(C,n)},$signature:94};s._EvaluateVisitor_closure38.prototype={call$1(e){return this.$call$body$_EvaluateVisitor_closure1(e)},$call$body$_EvaluateVisitor_closure1(e){var r=0,n=s._makeAsyncAwaitCompleter($.void),i=this,l,u,_,c,p,h,d;var m=s._wrapJsFunctionForAsync((function(g,f){if(g===1)return s._asyncRethrow(f,n);while(true)switch(r){case 0:h=a.getInterceptor$asx(e);d=s.Uri_parse(h.$index(e,0).assertString$1("url")._string0$_text);h=h.$index(e,1).get$realNull();l=h==null?null:h.assertMap$1("with")._map0$_contents;h=i.$this;u=h._async_evaluate0$_callableNode;u.toString;if(l!=null){_=s.LinkedHashMap_LinkedHashMap$_empty($.String,$.ConfiguredValue_2);l.forEach$1(0,new s._EvaluateVisitor__closure8(_,u.get$span(u),u));c=new s.ExplicitConfiguration0(u,_)}else c=o.Configuration_Map_empty0;p=u.get$span(u);r=2;return s._asyncAwait(h._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(d,"load-css()",u,new s._EvaluateVisitor__closure9(h),p.get$sourceUrl(p),c,true),m);case 2:h._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(c,true);return s._asyncReturn(null,n)}}));return s._asyncStartSync(m,n)},$signature:309};s._EvaluateVisitor__closure8.prototype={call$2(e,r){var n=e.assertString$1("with key"),i=s.stringReplaceAllUnchecked(n._string0$_text,"_","-");n=this.values;if(n.containsKey$1(i))throw s.wrapException("The variable $"+i+" was configured twice.");n.$indexSet(0,i,new s.ConfiguredValue0(r,this.span,this.callableNode))},$signature:54};s._EvaluateVisitor__closure9.prototype={call$1(e){var r=this.$this;return r._async_evaluate0$_combineCss$2$clone(e,true).accept$1(r)},$signature:199};s._EvaluateVisitor_run_closure2.prototype={call$0(){var e=0,r=s._makeAsyncAwaitCompleter($.EvaluateResult_2),n,i=this,a,o,l,u,_;var c=s._wrapJsFunctionForAsync((function($,p){if($===1)return s._asyncRethrow(p,r);while(true)switch(e){case 0:o=i.node;l=o.span.file.url;if(l!=null){a=i.$this;a._async_evaluate0$_activeModules.$indexSet(0,l,null);if(!(a._async_evaluate0$_nodeImporter!=null&&l.toString$0(0)==="stdin"))a._async_evaluate0$_loadedUrls.add$1(0,l)}a=i.$this;u=s;_=a;e=3;return s._asyncAwait(a._async_evaluate0$_execute$2(i.importer,o),c);case 3:n=new u.EvaluateResult0(_._async_evaluate0$_combineCss$1(p),a._async_evaluate0$_loadedUrls);e=1;break;case 1:return s._asyncReturn(n,r)}}));return s._asyncStartSync(c,r)},$signature:312};s._EvaluateVisitor__loadModule_closure5.prototype={call$0(){return this.callback.call$1(this.builtInModule)},$signature:0};s._EvaluateVisitor__loadModule_closure6.prototype={call$0(){var e=0,r=s._makeAsyncAwaitCompleter($.Null),n=1,i,o=[],l=this,_,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A,M,I,V,L,R,k,F;var T=s._wrapJsFunctionForAsync((function(x,N){if(x===1){i=N;e=n}while(true)switch(e){case 0:I=l.$this;V=l.nodeWithSpan;e=2;return s._asyncAwait(I._async_evaluate0$_loadStylesheet$3$baseUrl(l.url.toString$0(0),V.get$span(V),l.baseUrl),T);case 2:L=N;R=L.stylesheet;k=R.span.file.url;if(k!=null&&I._async_evaluate0$_activeModules.containsKey$1(k)){b=l.namesInErrors?"Module loop: "+u.$get$context().prettyUri$1(k)+" is already being loaded.":c.Modulel;V=s.NullableExtension_andThen0(I._async_evaluate0$_activeModules.$index(0,k),new s._EvaluateVisitor__loadModule__closure2(I,b));throw s.wrapException(V==null?I._async_evaluate0$_exception$1(b):V)}if(k!=null)I._async_evaluate0$_activeModules.$indexSet(0,k,V);_=I._async_evaluate0$_inDependency;I._async_evaluate0$_inDependency=L.isDependency;p=null;n=3;e=6;return s._asyncAwait(I._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(L.importer,R,l.configuration,l.namesInErrors,V),T);case 6:p=N;o.push(5);e=4;break;case 3:o=[1];case 4:n=1;I._async_evaluate0$_activeModules.remove$1(0,k);I._async_evaluate0$_inDependency=_;e=o.pop();break;case 5:n=8;e=11;return s._asyncAwait(l.callback.call$1(p),T);case 11:n=1;e=10;break;case 8:n=7;F=i;V=s.unwrapException(F);if($.SassRuntimeException_2._is(V))throw F;else if(V instanceof s.MultiSpanSassException0){h=V;d=s.getTraceFromException(F);V=h._span_exception$_message;w=h;C=a.getInterceptor$z(w);w=s.SourceSpanException.prototype.get$span.call(C,w);C=h.primaryLabel;E=h.secondarySpans;A=h;M=a.getInterceptor$z(A);s.throwWithTrace0(new s.MultiSpanSassRuntimeException0(I._async_evaluate0$_stackTrace$1(s.SourceSpanException.prototype.get$span.call(M,A)),C,s.ConstantMap_ConstantMap$from(E,$.FileSpan,$.String),V,w),d)}else if(V instanceof s.SassException0){m=V;g=s.getTraceFromException(F);V=m;w=a.getInterceptor$z(V);s.throwWithTrace0(I._async_evaluate0$_exception$2(m._span_exception$_message,s.SourceSpanException.prototype.get$span.call(w,V)),g)}else if(V instanceof s.MultiSpanSassScriptException0){f=V;y=s.getTraceFromException(F);s.throwWithTrace0(I._async_evaluate0$_multiSpanException$3(f.message,f.primaryLabel,f.secondarySpans),y)}else if(V instanceof s.SassScriptException0){S=V;v=s.getTraceFromException(F);s.throwWithTrace0(I._async_evaluate0$_exception$1(S.message),v)}else throw F;e=10;break;case 7:e=1;break;case 10:return s._asyncReturn(null,r);case 1:return s._asyncRethrow(i,r)}}));return s._asyncStartSync(T,r)},$signature:2};s._EvaluateVisitor__loadModule__closure2.prototype={call$1(e){return this.$this._async_evaluate0$_multiSpanException$3(this.message,"new load",s.LinkedHashMap_LinkedHashMap$_literal([e.get$span(e),"original load"],$.FileSpan,$.String))},$signature:89};s._EvaluateVisitor__execute_closure2.prototype={call$0(){var e=0,r=s._makeAsyncAwaitCompleter($.Null),n=this,i,a,o,l,u,_,c,p,h,d,m,g,f,y,S,v,b,x,w;var C=s._wrapJsFunctionForAsync((function(E,A){if(E===1)return s._asyncRethrow(A,r);while(true)switch(e){case 0:u=n.$this;_=u._async_evaluate0$_importer;c=u._async_evaluate0$__stylesheet;p=u._async_evaluate0$__root;h=u._async_evaluate0$__parent;d=u._async_evaluate0$__endOfImports;m=u._async_evaluate0$_outOfOrderImports;g=u._async_evaluate0$__extensionStore;f=u._async_evaluate0$_atRootExcludingStyleRule;y=f?null:u._async_evaluate0$_styleRuleIgnoringAtRoot;S=u._async_evaluate0$_mediaQueries;v=u._async_evaluate0$_declarationName;b=u._async_evaluate0$_inUnknownAtRule;x=u._async_evaluate0$_inKeyframes;w=u._async_evaluate0$_configuration;u._async_evaluate0$_importer=n.importer;i=u._async_evaluate0$__stylesheet=n.stylesheet;a=i.span;o=u._async_evaluate0$__parent=u._async_evaluate0$__root=s.ModifiableCssStylesheet$0(a);u._async_evaluate0$__endOfImports=0;u._async_evaluate0$_outOfOrderImports=null;u._async_evaluate0$__extensionStore=n.extensionStore;u._async_evaluate0$_declarationName=u._async_evaluate0$_mediaQueries=u._async_evaluate0$_styleRuleIgnoringAtRoot=null;u._async_evaluate0$_inKeyframes=u._async_evaluate0$_atRootExcludingStyleRule=u._async_evaluate0$_inUnknownAtRule=false;l=n.configuration;if(l!=null)u._async_evaluate0$_configuration=l;e=2;return s._asyncAwait(u.visitStylesheet$1(i),C);case 2:i=u._async_evaluate0$_outOfOrderImports==null?o:new s.CssStylesheet0(new s.UnmodifiableListView(u._async_evaluate0$_addOutOfOrderImports$0(),$.UnmodifiableListView_CssNode_2),a);n.css._value=i;u._async_evaluate0$_importer=_;u._async_evaluate0$__stylesheet=c;u._async_evaluate0$__root=p;u._async_evaluate0$__parent=h;u._async_evaluate0$__endOfImports=d;u._async_evaluate0$_outOfOrderImports=m;u._async_evaluate0$__extensionStore=g;u._async_evaluate0$_styleRuleIgnoringAtRoot=y;u._async_evaluate0$_mediaQueries=S;u._async_evaluate0$_declarationName=v;u._async_evaluate0$_inUnknownAtRule=b;u._async_evaluate0$_atRootExcludingStyleRule=f;u._async_evaluate0$_inKeyframes=x;u._async_evaluate0$_configuration=w;return s._asyncReturn(null,r)}}));return s._asyncStartSync(C,r)},$signature:2};s._EvaluateVisitor__combineCss_closure8.prototype={call$1(e){return e.get$transitivelyContainsCss()},$signature:107};s._EvaluateVisitor__combineCss_closure9.prototype={call$1(e){return!this.selectors.contains$1(0,e)},$signature:14};s._EvaluateVisitor__combineCss_closure10.prototype={call$1(e){return e.cloneCss$0()},$signature:314};s._EvaluateVisitor__extendModules_closure5.prototype={call$1(e){return!this.originalSelectors.contains$1(0,e)},$signature:14};s._EvaluateVisitor__extendModules_closure6.prototype={call$0(){return s._setArrayType([],$.JSArray_ExtensionStore_2)},$signature:200};s._EvaluateVisitor__topologicalModules_visitModule2.prototype={call$1(e){var r,n,i,a,o;for(r=e.get$upstream(),n=r.length,i=this.seen,a=0;a()")}};s._EvaluateVisitor__runUserDefinedCallable__closure2.prototype={call$0(){var e=this,r=e.$this,n=e.V;return r._async_evaluate0$_environment.scope$1$1(new s._EvaluateVisitor__runUserDefinedCallable___closure2(r,e.evaluated,e.callable,e.nodeWithSpan,e.run,n),n)},$signature(){return this.V._eval$1("Future<0>()")}};s._EvaluateVisitor__runUserDefinedCallable___closure2.prototype={call$0(){return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V)},$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(e){var r=0,n=s._makeAsyncAwaitCompleter(e),i,a=this,l,u,_,c,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A,M,I;var V=s._wrapJsFunctionForAsync((function(e,L){if(e===1)return s._asyncRethrow(L,n);while(true)switch(r){case 0:x=a.$this;w=a.evaluated;C=w.positional;E=w.named;A=a.callable.declaration.$arguments;M=a.nodeWithSpan;x._async_evaluate0$_verifyArguments$4(C.length,E,A,M);l=A.$arguments;u=l.length;_=Math.min(C.length,u);for(c=w.positionalNodes,p=0;p<_;++p)x._async_evaluate0$_environment.setLocalVariable$3(l[p].name,C[p],c[p]);p=C.length,c=w.namedNodes;case 3:if(!(pu?o.JSArray_methods.sublist$1(C,u):o.List_empty19;w=w.separator;v=s.SassArgumentList$0(S,E,w===o.ListSeparator_undecided_null0?o.ListSeparator_kWM0:w);x._async_evaluate0$_environment.setLocalVariable$3(y,v,M)}else v=null;r=9;return s._asyncAwait(a.run.call$0(),V);case 9:b=L;if(v==null){i=b;r=1;break}w=E.__js_helper$_length;if(w===0){i=b;r=1;break}if(v._argument_list$_wereKeywordsAccessed){i=b;r=1;break}C=s._instanceType(E)._eval$1("LinkedHashMapKeyIterable<1>");throw s.wrapException(s.MultiSpanSassRuntimeException$0("No "+s.pluralize0("argument",w,null)+" named "+s.toSentence0(s.MappedIterable_MappedIterable(new s.LinkedHashMapKeyIterable(E,C),new s._EvaluateVisitor__runUserDefinedCallable____closure2,C._eval$1("Iterable.E"),$.Object),"or")+".",M.get$span(M),"invocation",s.LinkedHashMap_LinkedHashMap$_literal([A.get$spanWithName(),"declaration"],$.FileSpan,$.String),x._async_evaluate0$_stackTrace$1(M.get$span(M))));case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(V,n)},$signature(){return this.V._eval$1("Future<0>()")}};s._EvaluateVisitor__runUserDefinedCallable____closure2.prototype={call$1(e){return"$"+e},$signature:5};s._EvaluateVisitor__runFunctionCallable_closure2.prototype={call$0(){var e=0,r=s._makeAsyncAwaitCompleter($.Value_2),n,i=this,a,o,l,u,_,c;var p=s._wrapJsFunctionForAsync((function($,h){if($===1)return s._asyncRethrow(h,r);while(true)switch(e){case 0:a=i.callable.declaration,o=a.children,l=o.length,u=i.$this,_=0;case 3:if(!(_")),new s.AsyncImportCache_humanize_closure3,r._eval$1("MappedIterable")),new s.AsyncImportCache_humanize_closure4);if(n==null)return e;i=u.$get$url();return n.resolve$1(s.ParsedPath_ParsedPath$parse(e.get$path(e),i.style).get$basename())},sourceMapUrl$1(e,r){var n=this._async_import_cache0$_resultsCache.$index(0,r);n=n==null?null:n.get$sourceMapUrl(n);return n==null?r:n}};s.AsyncImportCache_canonicalize_closure1.prototype={call$0(){var e=0,r=s._makeAsyncAwaitCompleter($.nullable_Tuple3_AsyncImporter_Uri_Uri_2),n,i=this,a,o,l;var u=s._wrapJsFunctionForAsync((function(_,c){if(_===1)return s._asyncRethrow(c,r);while(true)switch(e){case 0:o=i.baseUrl;l=o==null?null:o.resolveUri$1(i.url);if(l==null)l=i.url;o=i.baseImporter;e=3;return s._asyncAwait(i.$this._async_import_cache0$_canonicalize$3(o,l,i.forImport),u);case 3:a=c;if(a==null){n=null;e=1;break}n=new s.Tuple3(o,a,l,$.Tuple3_AsyncImporter_Uri_Uri_2);e=1;break;case 1:return s._asyncReturn(n,r)}}));return s._asyncStartSync(u,r)},$signature:209};s.AsyncImportCache_canonicalize_closure2.prototype={call$0(){var e=0,r=s._makeAsyncAwaitCompleter($.nullable_Tuple3_AsyncImporter_Uri_Uri_2),n,i=this,a,o,l,u,_,c,p,h;var d=s._wrapJsFunctionForAsync((function(m,g){if(m===1)return s._asyncRethrow(g,r);while(true)switch(e){case 0:a=i.$this,o=a._async_import_cache0$_importers,l=o.length,u=i.url,_=i.forImport,c=0;case 3:if(!(c>>0}};s.AttributeOperator0.prototype={toString$0(e){return this._attribute0$_text}};s.BinaryOperationExpression0.prototype={get$span(e){var r,n=this.left;for(;n instanceof s.BinaryOperationExpression0;)n=n.left;r=this.right;for(;r instanceof s.BinaryOperationExpression0;)r=r.right;return n.get$span(n).expand$1(0,r.get$span(r))},accept$1$1(e){return e.visitBinaryOperationExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r,n,i,a=this,o=a.left,l=o instanceof s.BinaryOperationExpression0&&o.operator.precedence$)continue;if(_===$&&c<0)continue}o=c;a=u}if(a!=null)return a;throw s.wrapException(s.StateError$("BuiltInCallable "+this.name+" may not have empty overloads."))},withName$1(e){return new s.BuiltInCallable0(e,this._built_in$_overloads)},$isAsyncCallable0:1,$isAsyncBuiltInCallable0:1,$isCallable0:1,get$name(e){return this.name}};s.BuiltInCallable$mixin_closure0.prototype={call$1(e){this.callback.call$1(e);return o.C__SassNull0},$signature:3};s.BuiltInModule0.prototype={get$upstream(){return o.List_empty18},get$variableNodes(){return o.Map_empty7},get$extensionStore(){return o.C_EmptyExtensionStore0},get$css(e){return new s.CssStylesheet0(o.List_empty16,s.SourceFile$decoded(o.List_empty4,this.url).span$2(0,0,0))},get$transitivelyContainsCss(){return false},get$transitivelyContainsExtensions(){return false},setVariable$3(e,r,n){if(!this.variables.containsKey$1(e))throw s.wrapException(s.SassScriptException$0("Undefined variable."));throw s.wrapException(s.SassScriptException$0("Cannot modify built-in variable."))},variableIdentity$1(e){return this},cloneCss$0(){return this},$isModule0:1,get$url(e){return this.url},get$functions(e){return this.functions},get$mixins(){return this.mixins},get$variables(){return this.variables}};s.CalculationExpression0.prototype={accept$1$1(e){return e.visitCalculationExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return this.name+"("+o.JSArray_methods.join$1(this.$arguments,", ")+")"},$isExpression0:1,$isAstNode0:1,get$span(e){return this.span}};s.CalculationExpression__verifyArguments_closure0.prototype={call$1(e){s.CalculationExpression__verify0(e);return e},$signature:352};s.SassCalculation0.prototype={get$isSpecialNumber(){return true},accept$1$1(e){var r,n=e._serialize0$_buffer;n.write$1(0,this.name);n.writeCharCode$1(40);r=e._serialize0$_style===o.OutputStyle_compressed0?",":", ";e._serialize0$_writeBetween$3(this.$arguments,r,e.get$_serialize0$_writeCalculationValue());n.writeCharCode$1(41);return null},accept$1(e){return this.accept$1$1(e,$.dynamic)},assertCalculation$1(e){return this},plus$1(e){if(e instanceof s.SassString0)return this.super$Value$plus0(e);throw s.wrapException(s.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" + "+e.toString$0(0)+'".'))},minus$1(e){return s.throwExpression(s.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" - "+e.toString$0(0)+'".'))},unaryPlus$0(){return s.throwExpression(s.SassScriptException$0('Undefined operation "+'+this.toString$0(0)+'".'))},unaryMinus$0(){return s.throwExpression(s.SassScriptException$0('Undefined operation "-'+this.toString$0(0)+'".'))},$eq(e,r){if(r==null)return false;return r instanceof s.SassCalculation0&&this.name===r.name&&o.C_ListEquality.equals$2(0,this.$arguments,r.$arguments)},get$hashCode(e){return o.JSString_methods.get$hashCode(this.name)^o.C_ListEquality0.hash$1(this.$arguments)}};s.SassCalculation__verifyLength_closure0.prototype={call$1(e){return e instanceof s.SassString0||e instanceof s.CalculationInterpolation0},$signature:135};s.CalculationOperation0.prototype={$eq(e,r){if(r==null)return false;return r instanceof s.CalculationOperation0&&this.operator===r.operator&&a.$eq$(this.left,r.left)&&a.$eq$(this.right,r.right)},get$hashCode(e){return(s.Primitives_objectHashCode(this.operator)^a.get$hashCode$(this.left)^a.get$hashCode$(this.right))>>>0},toString$0(e){var r=s.serializeValue0(new s.SassCalculation0("",s._setArrayType([this],$.JSArray_Object)),true,true);return o.JSString_methods.substring$2(r,1,r.length-1)}};s.CalculationOperator0.prototype={toString$0(e){return this.name}};s.CalculationInterpolation0.prototype={$eq(e,r){if(r==null)return false;return r instanceof s.CalculationInterpolation0&&this.value===r.value},get$hashCode(e){return o.JSString_methods.get$hashCode(this.value)},toString$0(e){return this.value}};s.CallableDeclaration0.prototype={get$span(e){return this.span}};s.Chokidar0.prototype={};s.ChokidarOptions0.prototype={};s.ChokidarWatcher0.prototype={};s.ClassSelector0.prototype={$eq(e,r){if(r==null)return false;return r instanceof s.ClassSelector0&&r.name===this.name},accept$1$1(e){return e.visitClassSelector$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},addSuffix$1(e){return new s.ClassSelector0(this.name+e)},get$hashCode(e){return o.JSString_methods.get$hashCode(this.name)}};s._CloneCssVisitor0.prototype={visitCssAtRule$1(e){var r=e.isChildless,n=s.ModifiableCssAtRule$0(e.name,e.span,r,e.value);return r?n:this._clone_css$_visitChildren$2(n,e)},visitCssComment$1(e){return new s.ModifiableCssComment0(e.text,e.span)},visitCssDeclaration$1(e){return s.ModifiableCssDeclaration$0(e.name,e.value,e.span,e.parsedAsCustomProperty,e.valueSpanForMap)},visitCssImport$1(e){return new s.ModifiableCssImport0(e.url,e.modifiers,e.span)},visitCssKeyframeBlock$1(e){return this._clone_css$_visitChildren$2(s.ModifiableCssKeyframeBlock$0(e.selector,e.span),e)},visitCssMediaRule$1(e){return this._clone_css$_visitChildren$2(s.ModifiableCssMediaRule$0(e.queries,e.span),e)},visitCssStyleRule$1(e){var r=this._clone_css$_oldToNewSelectors.$index(0,e.selector);if(r==null)throw s.wrapException(s.StateError$(c.The_Ex));return this._clone_css$_visitChildren$2(s.ModifiableCssStyleRule$0(r,e.span,e.originalSelector),e)},visitCssStylesheet$1(e){return this._clone_css$_visitChildren$2(s.ModifiableCssStylesheet$0(e.get$span(e)),e)},visitCssSupportsRule$1(e){return this._clone_css$_visitChildren$2(s.ModifiableCssSupportsRule$0(e.condition,e.span),e)},_clone_css$_visitChildren$1$2(e,r){var n,i,s;for(n=a.get$iterator$ax(r.get$children(r));n.moveNext$0();){i=n.get$current(n);s=i.accept$1(this);s.isGroupEnd=i.get$isGroupEnd();e.addChild$1(s)}return e},_clone_css$_visitChildren$2(e,r){return this._clone_css$_visitChildren$1$2(e,r,$.ModifiableCssParentNode_2)}};s.ColorExpression0.prototype={accept$1$1(e){return e.visitColorExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return s.serializeValue0(this.value,true,true)},$isExpression0:1,$isAstNode0:1,get$span(e){return this.span}};s.global_closure30.prototype={call$1(e){return s._rgb0("rgb",e)},$signature:3};s.global_closure31.prototype={call$1(e){return s._rgb0("rgb",e)},$signature:3};s.global_closure32.prototype={call$1(e){return s._rgbTwoArg0("rgb",e)},$signature:3};s.global_closure33.prototype={call$1(e){var r=s._parseChannels0("rgb",s._setArrayType(["$red","$green","$blue"],$.JSArray_String),a.get$first$ax(e));return r instanceof s.SassString0?r:s._rgb0("rgb",$.List_Value_2._as(r))},$signature:3};s.global_closure34.prototype={call$1(e){return s._rgb0("rgba",e)},$signature:3};s.global_closure35.prototype={call$1(e){return s._rgb0("rgba",e)},$signature:3};s.global_closure36.prototype={call$1(e){return s._rgbTwoArg0("rgba",e)},$signature:3};s.global_closure37.prototype={call$1(e){var r=s._parseChannels0("rgba",s._setArrayType(["$red","$green","$blue"],$.JSArray_String),a.get$first$ax(e));return r instanceof s.SassString0?r:s._rgb0("rgba",$.List_Value_2._as(r))},$signature:3};s.global_closure38.prototype={call$1(e){var r,n,i=a.getInterceptor$asx(e),o=i.$index(e,1).assertNumber$1("weight");if(i.$index(e,0)instanceof s.SassNumber0){if(o._number1$_value!==100||!o.hasUnit$1("%"))throw s.wrapException(c.Only_oa);return s._functionString0("invert",i.take$1(e,1))}r=i.$index(e,0).assertColor$1("color");i=r.get$red(r);n=r.get$green(r);return s._mixColors0(r.changeRgb$3$blue$green$red(255-r.get$blue(r),255-n,255-i),r,o)},$signature:3};s.global_closure39.prototype={call$1(e){return s._hsl0("hsl",e)},$signature:3};s.global_closure40.prototype={call$1(e){return s._hsl0("hsl",e)},$signature:3};s.global_closure41.prototype={call$1(e){var r=a.getInterceptor$asx(e);if(r.$index(e,0).get$isVar()||r.$index(e,1).get$isVar())return s._functionString0("hsl",e);else throw s.wrapException(s.SassScriptException$0("Missing argument $lightness."))},$signature:17};s.global_closure42.prototype={call$1(e){var r=s._parseChannels0("hsl",s._setArrayType(["$hue","$saturation","$lightness"],$.JSArray_String),a.get$first$ax(e));return r instanceof s.SassString0?r:s._hsl0("hsl",$.List_Value_2._as(r))},$signature:3};s.global_closure43.prototype={call$1(e){return s._hsl0("hsla",e)},$signature:3};s.global_closure44.prototype={call$1(e){return s._hsl0("hsla",e)},$signature:3};s.global_closure45.prototype={call$1(e){var r=a.getInterceptor$asx(e);if(r.$index(e,0).get$isVar()||r.$index(e,1).get$isVar())return s._functionString0("hsla",e);else throw s.wrapException(s.SassScriptException$0("Missing argument $lightness."))},$signature:17};s.global_closure46.prototype={call$1(e){var r=s._parseChannels0("hsla",s._setArrayType(["$hue","$saturation","$lightness"],$.JSArray_String),a.get$first$ax(e));return r instanceof s.SassString0?r:s._hsl0("hsla",$.List_Value_2._as(r))},$signature:3};s.global_closure47.prototype={call$1(e){var r=a.getInterceptor$asx(e);if(r.$index(e,0)instanceof s.SassNumber0)return s._functionString0("grayscale",e);return r.$index(e,0).assertColor$1("color").changeHsl$1$saturation(0)},$signature:3};s.global_closure48.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertColor$1("color"),i=r.$index(e,1).assertNumber$1("degrees");s._checkAngle0(i,"degrees");return n.changeHsl$1$hue(n.get$hue(n)+i._number1$_value)},$signature:24};s.global_closure49.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertColor$1("color"),i=r.$index(e,1).assertNumber$1("amount");return n.changeHsl$1$lightness(o.JSNumber_methods.clamp$2(n.get$lightness(n)+i.valueInRange$3(0,100,"amount"),0,100))},$signature:24};s.global_closure50.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertColor$1("color"),i=r.$index(e,1).assertNumber$1("amount");return n.changeHsl$1$lightness(o.JSNumber_methods.clamp$2(n.get$lightness(n)-i.valueInRange$3(0,100,"amount"),0,100))},$signature:24};s.global_closure51.prototype={call$1(e){return new s.SassString0("saturate("+s.serializeValue0(a.$index$asx(e,0).assertNumber$1("amount"),false,true)+")",false)},$signature:17};s.global_closure52.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertColor$1("color"),i=r.$index(e,1).assertNumber$1("amount");return n.changeHsl$1$saturation(o.JSNumber_methods.clamp$2(n.get$saturation(n)+i.valueInRange$3(0,100,"amount"),0,100))},$signature:24};s.global_closure53.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertColor$1("color"),i=r.$index(e,1).assertNumber$1("amount");return n.changeHsl$1$saturation(o.JSNumber_methods.clamp$2(n.get$saturation(n)-i.valueInRange$3(0,100,"amount"),0,100))},$signature:24};s.global_closure54.prototype={call$1(e){var r,n=a.$index$asx(e,0);if(n instanceof s.SassString0&&!n._string0$_hasQuotes&&o.JSString_methods.contains$1(n._string0$_text,u.$get$_microsoftFilterStart0()))return s._functionString0("alpha",e);r=n.assertColor$1("color");return new s.UnitlessSassNumber0(r._color1$_alpha,null)},$signature:3};s.global_closure55.prototype={call$1(e){var r,n=a.$index$asx(e,0).get$asList();if(n.length!==0&&o.JSArray_methods.every$1(n,new s.global__closure0))return s._functionString0("alpha",e);r=n.length;if(r===0)throw s.wrapException(s.SassScriptException$0("Missing argument $color."));else throw s.wrapException(s.SassScriptException$0("Only 1 argument allowed, but "+r+" were passed."))},$signature:17};s.global__closure0.prototype={call$1(e){return e instanceof s.SassString0&&!e._string0$_hasQuotes&&o.JSString_methods.contains$1(e._string0$_text,u.$get$_microsoftFilterStart0())},$signature:46};s.global_closure56.prototype={call$1(e){var r,n=a.getInterceptor$asx(e);if(n.$index(e,0)instanceof s.SassNumber0)return s._functionString0("opacity",e);r=n.$index(e,0).assertColor$1("color");return new s.UnitlessSassNumber0(r._color1$_alpha,null)},$signature:3};s.module_closure8.prototype={call$1(e){var r,n,i,o=a.getInterceptor$asx(e),l=o.$index(e,1).assertNumber$1("weight");if(o.$index(e,0)instanceof s.SassNumber0){if(l._number1$_value!==100||!l.hasUnit$1("%"))throw s.wrapException(c.Only_oa);r=s._functionString0("invert",o.take$1(e,1));o=s.S(o.$index(e,0));n=r.toString$0(0);s.EvaluationContext_current0().warn$2$deprecation(0,"Passing a number ("+o+c.x29x20to_ci+n,true);return r}i=o.$index(e,0).assertColor$1("color");o=i.get$red(i);n=i.get$green(i);return s._mixColors0(i.changeRgb$3$blue$green$red(255-i.get$blue(i),255-n,255-o),i,l)},$signature:3};s.module_closure9.prototype={call$1(e){var r,n,i=a.getInterceptor$asx(e);if(i.$index(e,0)instanceof s.SassNumber0){r=s._functionString0("grayscale",i.take$1(e,1));i=s.S(i.$index(e,0));n=r.toString$0(0);s.EvaluationContext_current0().warn$2$deprecation(0,"Passing a number ("+i+c.x29x20to_cg+n,true);return r}return i.$index(e,0).assertColor$1("color").changeHsl$1$saturation(0)},$signature:3};s.module_closure10.prototype={call$1(e){return s._hwb0(e)},$signature:3};s.module_closure11.prototype={call$1(e){var r=s._parseChannels0("hwb",s._setArrayType(["$hue","$whiteness","$blackness"],$.JSArray_String),a.get$first$ax(e));if(r instanceof s.SassString0)throw s.wrapException(s.SassScriptException$0('Expected numeric channels, got "'+r.toString$0(0)+'".'));else return s._hwb0($.List_Value_2._as(r))},$signature:3};s.module_closure12.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$whiteness(r);return new s.SingleUnitSassNumber0("%",r,null)},$signature:10};s.module_closure13.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$blackness(r);return new s.SingleUnitSassNumber0("%",r,null)},$signature:10};s.module_closure14.prototype={call$1(e){var r,n,i,l=a.$index$asx(e,0);if(l instanceof s.SassString0&&!l._string0$_hasQuotes&&o.JSString_methods.contains$1(l._string0$_text,u.$get$_microsoftFilterStart0())){r=s._functionString0("alpha",e);n=r.toString$0(0);s.EvaluationContext_current0().warn$2$deprecation(0,c.Using_c+n,true);return r}i=l.assertColor$1("color");return new s.UnitlessSassNumber0(i._color1$_alpha,null)},$signature:3};s.module_closure15.prototype={call$1(e){var r,n=a.getInterceptor$asx(e);if(o.JSArray_methods.every$1(n.$index(e,0).get$asList(),new s.module__closure0)){r=s._functionString0("alpha",e);n=r.toString$0(0);s.EvaluationContext_current0().warn$2$deprecation(0,c.Using_c+n,true);return r}throw s.wrapException(s.SassScriptException$0("Only 1 argument allowed, but "+n.get$length(e)+" were passed."))},$signature:17};s.module__closure0.prototype={call$1(e){return e instanceof s.SassString0&&!e._string0$_hasQuotes&&o.JSString_methods.contains$1(e._string0$_text,u.$get$_microsoftFilterStart0())},$signature:46};s.module_closure16.prototype={call$1(e){var r,n,i,o=a.getInterceptor$asx(e);if(o.$index(e,0)instanceof s.SassNumber0){r=s._functionString0("opacity",e);o=s.S(o.$index(e,0));n=r.toString$0(0);s.EvaluationContext_current0().warn$2$deprecation(0,"Passing a number ("+o+c.x20to_co+n,true);return r}i=o.$index(e,0).assertColor$1("color");return new s.UnitlessSassNumber0(i._color1$_alpha,null)},$signature:3};s._red_closure0.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$red(r);return new s.UnitlessSassNumber0(r,null)},$signature:10};s._green_closure0.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$green(r);return new s.UnitlessSassNumber0(r,null)},$signature:10};s._blue_closure0.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$blue(r);return new s.UnitlessSassNumber0(r,null)},$signature:10};s._mix_closure0.prototype={call$1(e){var r=a.getInterceptor$asx(e);return s._mixColors0(r.$index(e,0).assertColor$1("color1"),r.$index(e,1).assertColor$1("color2"),r.$index(e,2).assertNumber$1("weight"))},$signature:24};s._hue_closure0.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$hue(r);return new s.SingleUnitSassNumber0("deg",r,null)},$signature:10};s._saturation_closure0.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$saturation(r);return new s.SingleUnitSassNumber0("%",r,null)},$signature:10};s._lightness_closure0.prototype={call$1(e){var r=a.get$first$ax(e).assertColor$1("color");r=r.get$lightness(r);return new s.SingleUnitSassNumber0("%",r,null)},$signature:10};s._complement_closure0.prototype={call$1(e){var r=a.$index$asx(e,0).assertColor$1("color");return r.changeHsl$1$hue(r.get$hue(r)+180)},$signature:24};s._adjust_closure0.prototype={call$1(e){return s._updateComponents0(e,true,false,false)},$signature:24};s._scale_closure0.prototype={call$1(e){return s._updateComponents0(e,false,false,true)},$signature:24};s._change_closure0.prototype={call$1(e){return s._updateComponents0(e,false,true,false)},$signature:24};s._ieHexStr_closure0.prototype={call$1(e){var r=a.$index$asx(e,0).assertColor$1("color"),n=new s._ieHexStr_closure_hexString0;return new s.SassString0("#"+s.S(n.call$1(s.fuzzyRound0(r._color1$_alpha*255)))+s.S(n.call$1(r.get$red(r)))+s.S(n.call$1(r.get$green(r)))+s.S(n.call$1(r.get$blue(r))),false)},$signature:17};s._ieHexStr_closure_hexString0.prototype={call$1(e){return o.JSString_methods.padLeft$2(o.JSInt_methods.toRadixString$1(e,16),2,"0").toUpperCase()},$signature:215};s._updateComponents_getParam0.prototype={call$4$assertPercent$checkPercent(e,r,n,i){var a,o=this,l=o.keywords.remove$1(0,e),u=l==null?null:l.assertNumber$1(e);if(u==null)return null;l=o.scale;a=!l;if(a&&i)s._checkPercent0(u,e);if(!a||n)u.assertUnit$2("%",e);if(l)r=100;if(!a||n)l=u.valueInRange$3(o.change?0:-r,r,e);else{l=o.change?0:-r;l=u.valueInRangeWithUnit$4(l,r,e,i?"%":"")}return l},call$2(e,r){return this.call$4$assertPercent$checkPercent(e,r,false,false)},call$3$checkPercent(e,r,n){return this.call$4$assertPercent$checkPercent(e,r,false,n)},call$3$assertPercent(e,r,n){return this.call$4$assertPercent$checkPercent(e,r,n,false)},$signature:253};s._updateComponents_closure0.prototype={call$1(e){return"$"+e},$signature:5};s._updateComponents_updateValue0.prototype={call$3(e,r,n){var i;if(r==null)return e;if(this.change)return r;if(this.adjust)return o.JSNumber_methods.clamp$2(e+r,0,n);i=r>0?n-e:e;return e+i*(r/100)},$signature:219};s._updateComponents_updateRgb0.prototype={call$2(e,r){return s.fuzzyRound0(this.updateValue.call$3(e,r,255))},$signature:221};s._functionString_closure0.prototype={call$1(e){return s.serializeValue0(e,false,true)},$signature:213};s._removedColorFunction_closure0.prototype={call$1(e){var r=this.name,n=a.getInterceptor$asx(e),i=s.S(n.$index(e,0)),o=this.negative?"-":"";throw s.wrapException(s.SassScriptException$0("The function "+r+c.x28__isn+i+", $"+this.argument+": "+o+s.S(n.$index(e,1))+c.x29x0a_Morx3a+r))},$signature:358};s._rgb_closure0.prototype={call$1(e){return s._percentageOrUnitless0(e.assertNumber$1("alpha"),1,"alpha")},$signature:124};s._hsl_closure0.prototype={call$1(e){return s._percentageOrUnitless0(e.assertNumber$1("alpha"),1,"alpha")},$signature:124};s._removeUnits_closure1.prototype={call$1(e){return" * 1"+e},$signature:5};s._removeUnits_closure2.prototype={call$1(e){return" / 1"+e},$signature:5};s._hwb_closure0.prototype={call$1(e){return s._percentageOrUnitless0(e.assertNumber$1("alpha"),1,"alpha")},$signature:124};s._parseChannels_closure0.prototype={call$1(e){return e.get$isVar()},$signature:46};s._NodeSassColor.prototype={};s.legacyColorClass_closure.prototype={call$6(e,r,n,i,l,u){var _,c,$,p,h;if(u!=null){a.set$dartValue$x(e,u);return}if(n==null||i==null){s._asInt(r);l=o.JSInt_methods._shrOtherPositive$1(r,24)/255;_=o.JSInt_methods.$mod(o.JSInt_methods._shrOtherPositive$1(r,16),256);n=o.JSInt_methods.$mod(o.JSInt_methods._shrOtherPositive$1(r,8),256);i=o.JSInt_methods.$mod(r,256)}else{r.toString;_=r}c=o.JSNumber_methods.round$0(o.JSNumber_methods.clamp$2(_,0,255));$=o.JSNumber_methods.round$0(o.JSNumber_methods.clamp$2(n,0,255));p=o.JSNumber_methods.round$0(o.JSNumber_methods.clamp$2(i,0,255));h=l==null?null:o.JSNumber_methods.clamp$2(l,0,1);a.set$dartValue$x(e,s.SassColor$rgb0(c,$,p,h==null?1:h))},call$2(e,r){return this.call$6(e,r,null,null,null,null)},call$3(e,r,n){return this.call$6(e,r,n,null,null,null)},call$4(e,r,n,i){return this.call$6(e,r,n,i,null,null)},call$5(e,r,n,i,s){return this.call$6(e,r,n,i,s,null)},"call*":"call$6",$requiredArgCount:2,$defaultValues(){return[null,null,null,null]},$signature:360};s.legacyColorClass_closure0.prototype={call$1(e){return a.get$red$x(a.get$dartValue$x(e))},$signature:125};s.legacyColorClass_closure1.prototype={call$1(e){return a.get$green$x(a.get$dartValue$x(e))},$signature:125};s.legacyColorClass_closure2.prototype={call$1(e){return a.get$blue$x(a.get$dartValue$x(e))},$signature:125};s.legacyColorClass_closure3.prototype={call$1(e){return a.get$dartValue$x(e)._color1$_alpha},$signature:362};s.legacyColorClass_closure4.prototype={call$2(e,r){var n=a.getInterceptor$x(e);n.set$dartValue(e,n.get$dartValue(e).changeRgb$1$red(o.JSNumber_methods.round$0(o.JSNumber_methods.clamp$2(r,0,255))))},$signature:97};s.legacyColorClass_closure5.prototype={call$2(e,r){var n=a.getInterceptor$x(e);n.set$dartValue(e,n.get$dartValue(e).changeRgb$1$green(o.JSNumber_methods.round$0(o.JSNumber_methods.clamp$2(r,0,255))))},$signature:97};s.legacyColorClass_closure6.prototype={call$2(e,r){var n=a.getInterceptor$x(e);n.set$dartValue(e,n.get$dartValue(e).changeRgb$1$blue(o.JSNumber_methods.round$0(o.JSNumber_methods.clamp$2(r,0,255))))},$signature:97};s.legacyColorClass_closure7.prototype={call$2(e,r){var n=a.getInterceptor$x(e);n.set$dartValue(e,n.get$dartValue(e).changeRgb$1$alpha(o.JSNumber_methods.clamp$2(r,0,1)))},$signature:97};s.colorClass_closure.prototype={call$0(){var e=$.JSClass,r=e._as(s.allowInteropCaptureThisNamed("sass.SassColor",new s.colorClass__closure));a.get$$prototype$x(r).change=s.allowInteropCaptureThisNamed("change",new s.colorClass__closure0);s.LinkedHashMap_LinkedHashMap$_literal(["red",new s.colorClass__closure1,"green",new s.colorClass__closure2,"blue",new s.colorClass__closure3,"hue",new s.colorClass__closure4,"saturation",new s.colorClass__closure5,"lightness",new s.colorClass__closure6,"whiteness",new s.colorClass__closure7,"blackness",new s.colorClass__closure8,"alpha",new s.colorClass__closure9],$.String,$.Function).forEach$1(0,s.JSClassExtension_get_defineGetter(r));s.JSClassExtension_injectSuperclass(e._as(s.SassColor$rgb0(0,0,0,null).constructor),r);return r},$signature:23};s.colorClass__closure.prototype={call$2(e,r){var n,i,o,l=a.getInterceptor$x(r);if(l.get$red(r)!=null){n=l.get$red(r);n.toString;n=s.fuzzyRound0(n);i=l.get$green(r);i.toString;i=s.fuzzyRound0(i);o=l.get$blue(r);o.toString;return s.SassColor$rgb0(n,i,s.fuzzyRound0(o),l.get$alpha(r))}else if(l.get$saturation(r)!=null){n=l.get$hue(r);n.toString;i=l.get$saturation(r);i.toString;o=l.get$lightness(r);o.toString;return s.SassColor$hsl(n,i,o,l.get$alpha(r))}else{n=l.get$hue(r);n.toString;i=l.get$whiteness(r);i.toString;o=l.get$blackness(r);o.toString;return s.SassColor_SassColor$hwb0(n,i,o,l.get$alpha(r))}},$signature:364};s.colorClass__closure0.prototype={call$2(e,r){var n,i,o,l=a.getInterceptor$x(r);if(l.get$whiteness(r)!=null||l.get$blackness(r)!=null){n=l.get$hue(r);if(n==null)n=e.get$hue(e);i=l.get$whiteness(r);if(i==null)i=e.get$whiteness(e);o=l.get$blackness(r);if(o==null)o=e.get$blackness(e);l=l.get$alpha(r);return e.changeHwb$4$alpha$blackness$hue$whiteness(l==null?e._color1$_alpha:l,o,n,i)}else if(l.get$hue(r)!=null||l.get$saturation(r)!=null||l.get$lightness(r)!=null){n=l.get$hue(r);if(n==null)n=e.get$hue(e);i=l.get$saturation(r);if(i==null)i=e.get$saturation(e);o=l.get$lightness(r);if(o==null)o=e.get$lightness(e);l=l.get$alpha(r);return e.changeHsl$4$alpha$hue$lightness$saturation(l==null?e._color1$_alpha:l,n,o,i)}else if(l.get$red(r)!=null||l.get$green(r)!=null||l.get$blue(r)!=null){n=s.NullableExtension_andThen0(l.get$red(r),s.number2__fuzzyRound$closure());if(n==null)n=e.get$red(e);i=s.NullableExtension_andThen0(l.get$green(r),s.number2__fuzzyRound$closure());if(i==null)i=e.get$green(e);o=s.NullableExtension_andThen0(l.get$blue(r),s.number2__fuzzyRound$closure());if(o==null)o=e.get$blue(e);l=l.get$alpha(r);return e.changeRgb$4$alpha$blue$green$red(l==null?e._color1$_alpha:l,o,i,n)}else{l=l.get$alpha(r);return e.changeAlpha$1(l==null?e._color1$_alpha:l)}},$signature:365};s.colorClass__closure1.prototype={call$1(e){return e.get$red(e)},$signature:127};s.colorClass__closure2.prototype={call$1(e){return e.get$green(e)},$signature:127};s.colorClass__closure3.prototype={call$1(e){return e.get$blue(e)},$signature:127};s.colorClass__closure4.prototype={call$1(e){return e.get$hue(e)},$signature:51};s.colorClass__closure5.prototype={call$1(e){return e.get$saturation(e)},$signature:51};s.colorClass__closure6.prototype={call$1(e){return e.get$lightness(e)},$signature:51};s.colorClass__closure7.prototype={call$1(e){return e.get$whiteness(e)},$signature:51};s.colorClass__closure8.prototype={call$1(e){return e.get$blackness(e)},$signature:51};s.colorClass__closure9.prototype={call$1(e){return e._color1$_alpha},$signature:51};s._Channels.prototype={};s.SassColor0.prototype={get$red(e){var r;if(this._color1$_red==null)this._color1$_hslToRgb$0();r=this._color1$_red;r.toString;return r},get$green(e){var r;if(this._color1$_green==null)this._color1$_hslToRgb$0();r=this._color1$_green;r.toString;return r},get$blue(e){var r;if(this._color1$_blue==null)this._color1$_hslToRgb$0();r=this._color1$_blue;r.toString;return r},get$hue(e){var r;if(this._color1$_hue==null)this._color1$_rgbToHsl$0();r=this._color1$_hue;r.toString;return r},get$saturation(e){var r;if(this._color1$_saturation==null)this._color1$_rgbToHsl$0();r=this._color1$_saturation;r.toString;return r},get$lightness(e){var r;if(this._color1$_lightness==null)this._color1$_rgbToHsl$0();r=this._color1$_lightness;r.toString;return r},get$whiteness(e){var r=this;return Math.min(Math.min(r.get$red(r),r.get$green(r)),r.get$blue(r))/255*100},get$blackness(e){var r=this;return 100-Math.max(Math.max(r.get$red(r),r.get$green(r)),r.get$blue(r))/255*100},accept$1$1(e){var r,n,i,a,l,_,c=this;if(e._serialize0$_style===o.OutputStyle_compressed0)if(!(Math.abs(c._color1$_alpha-1)")).join$1(0,"")}};s.ComplexSelectorComponent_toString_closure0.prototype={call$1(e){return" "+e.toString$0(0)},$signature:373};s.CompoundSelector0.prototype={accept$1$1(e){return e.visitCompoundSelector$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},_compound0$_computeSpecificity$0(){var e,r,n,i,s,a;for(e=this.components,r=e.length,n=0,i=0,s=0;s")).join$1(0,", ")+" in "+this.list.toString$0(0)+" {"+(n&&o.JSArray_methods).join$1(n," ")+"}"},get$span(e){return this.span}};s.EachRule_toString_closure0.prototype={call$1(e){return"$"+e},$signature:5};s.EmptyExtensionStore0.prototype={get$isEmpty(e){return true},get$simpleSelectors(){return o.C_EmptyUnmodifiableSet0},extensionsWhereTarget$1(e){return o.List_empty17},addSelector$3(e,r,n){throw s.wrapException(s.UnsupportedError$(c.addSel))},addExtension$4(e,r,n,i){throw s.wrapException(s.UnsupportedError$(c.addExt_))},addExtensions$1(e){throw s.wrapException(s.UnsupportedError$(c.addExts))},clone$0(){return o.Tuple2_EmptyExtensionStore_Map_empty0},$isExtensionStore0:1};s.Environment0.prototype={closure$0(){var e,r,n,i=this,a=i._environment0$_forwardedModules,o=i._environment0$_nestedForwardedModules,l=i._environment0$_variables;l=s._setArrayType(l.slice(0),s._arrayInstanceType(l));e=i._environment0$_variableNodes;e=s._setArrayType(e.slice(0),s._arrayInstanceType(e));r=i._environment0$_functions;r=s._setArrayType(r.slice(0),s._arrayInstanceType(r));n=i._environment0$_mixins;n=s._setArrayType(n.slice(0),s._arrayInstanceType(n));return s.Environment$_0(i._environment0$_modules,i._environment0$_namespaceNodes,i._environment0$_globalModules,i._environment0$_importedModules,a,o,i._environment0$_allModules,l,e,r,n,i._environment0$_content)},addModule$3$namespace(e,r,n){var i,l,u,_=this;if(n==null){_._environment0$_globalModules.$indexSet(0,e,r);_._environment0$_allModules.push(e);for(i=a.get$iterator$ax(a.get$keys$z(o.JSArray_methods.get$first(_._environment0$_variables)));i.moveNext$0();){l=i.get$current(i);if(e.get$variables().containsKey$1(l))throw s.wrapException(s.SassScriptException$0(c.This_ma+l+'".'))}}else{i=_._environment0$_modules;if(i.containsKey$1(n)){i=_._environment0$_namespaceNodes.$index(0,n);u=i==null?null:i.span;i=s.LinkedHashMap_LinkedHashMap$_empty($.FileSpan,$.String);if(u!=null)i.$indexSet(0,u,"original @use");throw s.wrapException(s.MultiSpanSassScriptException$0(c.There_+n+'".',"new @use",i))}i.$indexSet(0,n,e);_._environment0$_namespaceNodes.$indexSet(0,n,r);_._environment0$_allModules.push(e)}},forwardModule$2(e,r){var n,i,a,o=this,l=o._environment0$_forwardedModules;if(l==null)l=o._environment0$_forwardedModules=s.LinkedHashMap_LinkedHashMap$_empty($.Module_Callable_2,$.AstNode_2);n=s.ForwardedModuleView_ifNecessary0(e,r,$.Callable_2);for(i=s.LinkedHashMapKeyIterator$(l,l._modifications);i.moveNext$0();){a=i.__js_helper$_current;o._environment0$_assertNoConflicts$5(n.get$variables(),a.get$variables(),n,a,"variable");o._environment0$_assertNoConflicts$5(n.get$functions(n),a.get$functions(a),n,a,"function");o._environment0$_assertNoConflicts$5(n.get$mixins(),a.get$mixins(),n,a,"mixin")}o._environment0$_allModules.push(e);l.$indexSet(0,n,r)},_environment0$_assertNoConflicts$5(e,r,n,i,o){var l,u,_,c,p,h;if(e.get$length(e)");i=n._eval$1("ExpandIterable");l=i._eval$1("Iterable.E");c=s.LinkedHashSet_LinkedHashSet$of(new s.ExpandIterable(new s.LinkedHashMapKeyIterable(b,n),new s.Environment_importForwards_closure2,i),l);p=s.LinkedHashSet_LinkedHashSet$of(new s.ExpandIterable(new s.LinkedHashMapKeyIterable(b,n),new s.Environment_importForwards_closure3,i),l);h=s.LinkedHashSet_LinkedHashSet$of(new s.ExpandIterable(new s.LinkedHashMapKeyIterable(b,n),new s.Environment_importForwards_closure4,i),l);i=v._environment0$_variables;l=i.length;if(l===1){for(n=v._environment0$_importedModules,l=n.get$entries(n).toList$0(0),u=l.length,_=$.Callable_2,d=0;d")).followedBy$1(0,new s.LinkedHashMapKeyIterable(n,s._instanceType(n)._eval$1("LinkedHashMapKeyIterable<1>"))),n=new s.FollowedByIterator(a.get$iterator$ax(n.__internal$_first),n._second);n.moveNext$0();){r=n._currentIterator;i=r.get$current(r).get$variableNodes().$index(0,e);if(i!=null)return i}return null},globalVariableExists$2$namespace(e,r){if(r!=null)return this._environment0$_getModule$1(r).get$variables().containsKey$1(e);if(o.JSArray_methods.get$first(this._environment0$_variables).containsKey$1(e))return true;return this._environment0$_getVariableFromGlobalModule$1(e)!=null},globalVariableExists$1(e){return this.globalVariableExists$2$namespace(e,null)},_environment0$_variableIndex$1(e){var r,n;for(r=this._environment0$_variables,n=r.length-1;n>=0;--n)if(r[n].containsKey$1(e))return n;return null},setVariable$5$global$namespace(e,r,n,i,l){var u,_,c,p,h,d,m,g,f=this;if(l!=null){f._environment0$_getModule$1(l).setVariable$3(e,r,n);return}if(i||f._environment0$_variables.length===1){f._environment0$_variableIndices.putIfAbsent$2(e,new s.Environment_setVariable_closure2(f,e));u=f._environment0$_variables;if(!o.JSArray_methods.get$first(u).containsKey$1(e)){_=f._environment0$_fromOneModule$1$3(e,"variable",new s.Environment_setVariable_closure3(e),$.Module_Callable_2);if(_!=null){_.setVariable$3(e,r,n);return}}a.$indexSet$ax(o.JSArray_methods.get$first(u),e,r);a.$indexSet$ax(o.JSArray_methods.get$first(f._environment0$_variableNodes),e,n);return}c=f._environment0$_nestedForwardedModules;if(c!=null&&!f._environment0$_variableIndices.containsKey$1(e)&&f._environment0$_variableIndex$1(e)==null)for(u=new s.ReversedListIterable(c,s.instanceType(c)._eval$1("ReversedListIterable<1>")),u=new s.ListIterator(u,u.get$length(u)),p=s._instanceType(u)._precomputed1;u.moveNext$0();){h=u.__internal$_current;for(h=a.get$reversed$ax(h==null?p._as(h):h),h=new s.ListIterator(h,h.get$length(h)),d=s._instanceType(h)._precomputed1;h.moveNext$0();){m=h.__internal$_current;if(m==null)m=d._as(m);if(m.get$variables().containsKey$1(e)){m.setVariable$3(e,r,n);return}}}if(f._environment0$_lastVariableName===e){u=f._environment0$_lastVariableIndex;u.toString;g=u}else g=f._environment0$_variableIndices.putIfAbsent$2(e,new s.Environment_setVariable_closure4(f,e));if(!f._environment0$_inSemiGlobalScope&&g===0){g=f._environment0$_variables.length-1;f._environment0$_variableIndices.$indexSet(0,e,g)}f._environment0$_lastVariableName=e;f._environment0$_lastVariableIndex=g;a.$indexSet$ax(f._environment0$_variables[g],e,r);a.$indexSet$ax(f._environment0$_variableNodes[g],e,n)},setVariable$4$global(e,r,n,i){return this.setVariable$5$global$namespace(e,r,n,i,null)},setLocalVariable$3(e,r,n){var i,s=this,o=s._environment0$_variables,l=o.length;s._environment0$_lastVariableName=e;i=s._environment0$_lastVariableIndex=l-1;s._environment0$_variableIndices.$indexSet(0,e,i);a.$indexSet$ax(o[i],e,r);a.$indexSet$ax(s._environment0$_variableNodes[i],e,n)},getFunction$2$namespace(e,r){var n,i,s=this;if(r!=null){n=s._environment0$_getModule$1(r);return n.get$functions(n).$index(0,e)}n=s._environment0$_functionIndices;i=n.$index(0,e);if(i!=null){n=a.$index$asx(s._environment0$_functions[i],e);return n==null?s._environment0$_getFunctionFromGlobalModule$1(e):n}i=s._environment0$_functionIndex$1(e);if(i==null)return s._environment0$_getFunctionFromGlobalModule$1(e);n.$indexSet(0,e,i);n=a.$index$asx(s._environment0$_functions[i],e);return n==null?s._environment0$_getFunctionFromGlobalModule$1(e):n},_environment0$_getFunctionFromGlobalModule$1(e){return this._environment0$_fromOneModule$1$3(e,"function",new s.Environment__getFunctionFromGlobalModule_closure0(e),$.Callable_2)},_environment0$_functionIndex$1(e){var r,n;for(r=this._environment0$_functions,n=r.length-1;n>=0;--n)if(r[n].containsKey$1(e))return n;return null},getMixin$2$namespace(e,r){var n,i,s=this;if(r!=null)return s._environment0$_getModule$1(r).get$mixins().$index(0,e);n=s._environment0$_mixinIndices;i=n.$index(0,e);if(i!=null){n=a.$index$asx(s._environment0$_mixins[i],e);return n==null?s._environment0$_getMixinFromGlobalModule$1(e):n}i=s._environment0$_mixinIndex$1(e);if(i==null)return s._environment0$_getMixinFromGlobalModule$1(e);n.$indexSet(0,e,i);n=a.$index$asx(s._environment0$_mixins[i],e);return n==null?s._environment0$_getMixinFromGlobalModule$1(e):n},_environment0$_getMixinFromGlobalModule$1(e){return this._environment0$_fromOneModule$1$3(e,"mixin",new s.Environment__getMixinFromGlobalModule_closure0(e),$.Callable_2)},_environment0$_mixinIndex$1(e){var r,n;for(r=this._environment0$_mixins,n=r.length-1;n>=0;--n)if(r[n].containsKey$1(e))return n;return null},scope$1$3$semiGlobal$when(e,r,n){var i,l,u,_,c,p,h,d,m,g,f=this;r=r&&f._environment0$_inSemiGlobalScope;i=f._environment0$_inSemiGlobalScope;f._environment0$_inSemiGlobalScope=r;if(!n)try{c=e.call$0();return c}finally{f._environment0$_inSemiGlobalScope=i}c=f._environment0$_variables;p=$.String;o.JSArray_methods.add$1(c,s.LinkedHashMap_LinkedHashMap$_empty(p,$.Value_2));h=f._environment0$_variableNodes;o.JSArray_methods.add$1(h,s.LinkedHashMap_LinkedHashMap$_empty(p,$.AstNode_2));d=f._environment0$_functions;m=$.Callable_2;o.JSArray_methods.add$1(d,s.LinkedHashMap_LinkedHashMap$_empty(p,m));g=f._environment0$_mixins;o.JSArray_methods.add$1(g,s.LinkedHashMap_LinkedHashMap$_empty(p,m));m=f._environment0$_nestedForwardedModules;if(m!=null)m.push(s._setArrayType([],$.JSArray_Module_Callable_2));try{p=e.call$0();return p}finally{f._environment0$_inSemiGlobalScope=i;f._environment0$_lastVariableIndex=f._environment0$_lastVariableName=null;for(c=a.get$iterator$ax(a.get$keys$z(o.JSArray_methods.removeLast$0(c))),p=f._environment0$_variableIndices;c.moveNext$0();){l=c.get$current(c);p.remove$1(0,l)}o.JSArray_methods.removeLast$0(h);for(c=a.get$iterator$ax(a.get$keys$z(o.JSArray_methods.removeLast$0(d))),p=f._environment0$_functionIndices;c.moveNext$0();){u=c.get$current(c);p.remove$1(0,u)}for(c=a.get$iterator$ax(a.get$keys$z(o.JSArray_methods.removeLast$0(g))),p=f._environment0$_mixinIndices;c.moveNext$0();){_=c.get$current(c);p.remove$1(0,_)}c=f._environment0$_nestedForwardedModules;if(c!=null)c.pop()}},scope$1$1(e,r){return this.scope$1$3$semiGlobal$when(e,false,true,r)},scope$1$2$when(e,r,n){return this.scope$1$3$semiGlobal$when(e,false,r,n)},scope$1$2$semiGlobal(e,r,n){return this.scope$1$3$semiGlobal$when(e,r,true,n)},toImplicitConfiguration$0(){var e,r,n,i,a,o,l,u,_,c=s.LinkedHashMap_LinkedHashMap$_empty($.String,$.ConfiguredValue_2);for(e=this._environment0$_variables,r=this._environment0$_variableNodes,n=0;n").span$1(0,0)),o.C_EmptyExtensionStore0,s.NullableExtension_andThen0(this._environment0$_forwardedModules,new s.Environment_toDummyModule_closure0))},_environment0$_getModule$1(e){var r=this._environment0$_modules.$index(0,e);if(r!=null)return r;throw s.wrapException(s.SassScriptException$0('There is no module with the namespace "'+e+'".'))},_environment0$_fromOneModule$1$3(e,r,n,i){var o,l,u,_,p,h,d,m,g,f,y=this._environment0$_nestedForwardedModules;if(y!=null)for(o=new s.ReversedListIterable(y,s._arrayInstanceType(y)._eval$1("ReversedListIterable<1>")),o=new s.ListIterator(o,o.get$length(o)),l=s._instanceType(o)._precomputed1;o.moveNext$0();){u=o.__internal$_current;for(u=a.get$reversed$ax(u==null?l._as(u):u),u=new s.ListIterator(u,u.get$length(u)),_=s._instanceType(u)._precomputed1;u.moveNext$0();){p=u.__internal$_current;h=n.call$1(p==null?_._as(p):p);if(h!=null)return h}}for(o=this._environment0$_importedModules,o=s.LinkedHashMapKeyIterator$(o,o._modifications);o.moveNext$0();){h=n.call$1(o.__js_helper$_current);if(h!=null)return h}for(o=this._environment0$_globalModules,l=s.LinkedHashMapKeyIterator$(o,o._modifications),u=$.Callable_2,h=null,d=null;l.moveNext$0();){_=l.__js_helper$_current;m=n.call$1(_);if(m==null)continue;g=u._is(m)?m:_.variableIdentity$1(e);if(g.$eq(0,d))continue;if(h!=null){f=o.get$entries(o).map$1$1(0,new s.Environment__fromOneModule_closure0(n,i),$.nullable_FileSpan);l=s.LinkedHashMap_LinkedHashMap$_empty($.FileSpan,$.String);for(o=f.get$iterator(f),u="includes "+r;o.moveNext$0();){_=o.get$current(o);if(_!=null)l.$indexSet(0,_,u)}throw s.wrapException(s.MultiSpanSassScriptException$0("This "+r+c.x20is_av,r+" use",l))}d=g;h=m}return h}};s.Environment_importForwards_closure2.prototype={call$1(e){var r=e.get$variables();return r.get$keys(r)},$signature:130};s.Environment_importForwards_closure3.prototype={call$1(e){var r=e.get$functions(e);return r.get$keys(r)},$signature:130};s.Environment_importForwards_closure4.prototype={call$1(e){var r=e.get$mixins();return r.get$keys(r)},$signature:130};s.Environment__getVariableFromGlobalModule_closure0.prototype={call$1(e){return e.get$variables().$index(0,this.name)},$signature:378};s.Environment_setVariable_closure2.prototype={call$0(){var e=this.$this;e._environment0$_lastVariableName=this.name;return e._environment0$_lastVariableIndex=0},$signature:12};s.Environment_setVariable_closure3.prototype={call$1(e){return e.get$variables().containsKey$1(this.name)?e:null},$signature:379};s.Environment_setVariable_closure4.prototype={call$0(){var e=this.$this,r=e._environment0$_variableIndex$1(this.name);return r==null?e._environment0$_variables.length-1:r},$signature:12};s.Environment__getFunctionFromGlobalModule_closure0.prototype={call$1(e){return e.get$functions(e).$index(0,this.name)},$signature:222};s.Environment__getMixinFromGlobalModule_closure0.prototype={call$1(e){return e.get$mixins().$index(0,this.name)},$signature:222};s.Environment_toModule_closure0.prototype={call$1(e){return new s.MapKeySet(e,$.MapKeySet_Module_Callable_2)},$signature:223};s.Environment_toDummyModule_closure0.prototype={call$1(e){return new s.MapKeySet(e,$.MapKeySet_Module_Callable_2)},$signature:223};s.Environment__fromOneModule_closure0.prototype={call$1(e){return s.NullableExtension_andThen0(this.callback.call$1(e.key),new s.Environment__fromOneModule__closure0(e,this.T))},$signature:382};s.Environment__fromOneModule__closure0.prototype={call$1(e){return a.get$span$z(this.entry.value)},$signature(){return this.T._eval$1("FileSpan(0)")}};s._EnvironmentModule1.prototype={get$url(e){var r=this.css;return r.get$span(r).file.url},setVariable$3(e,r,n){var i,l,u=this._environment0$_modulesByVariable.$index(0,e);if(u!=null){u.setVariable$3(e,r,n);return}i=this._environment0$_environment;l=i._environment0$_variables;if(!o.JSArray_methods.get$first(l).containsKey$1(e))throw s.wrapException(s.SassScriptException$0("Undefined variable."));a.$indexSet$ax(o.JSArray_methods.get$first(l),e,r);a.$indexSet$ax(o.JSArray_methods.get$first(i._environment0$_variableNodes),e,n);return},variableIdentity$1(e){var r=this._environment0$_modulesByVariable.$index(0,e);return r==null?this:r.variableIdentity$1(e)},cloneCss$0(){var e,r=this,n=r.css;if(a.get$isEmpty$asx(n.get$children(n)))return r;e=s.cloneCssStylesheet0(n,r.extensionStore);return s._EnvironmentModule$_1(r._environment0$_environment,e.item1,e.item2,r._environment0$_modulesByVariable,r.variables,r.variableNodes,r.functions,r.mixins,r.transitivelyContainsCss,r.transitivelyContainsExtensions)},toString$0(e){var r=this.css;if(r.get$span(r).file.url==null)r="";else{r=r.get$span(r);r=u.$get$context().prettyUri$1(r.file.url)}return r},$isModule0:1,get$upstream(){return this.upstream},get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins},get$extensionStore(){return this.extensionStore},get$css(e){return this.css},get$transitivelyContainsCss(){return this.transitivelyContainsCss},get$transitivelyContainsExtensions(){return this.transitivelyContainsExtensions}};s._EnvironmentModule__EnvironmentModule_closure11.prototype={call$1(e){return e.get$variables()},$signature:383};s._EnvironmentModule__EnvironmentModule_closure12.prototype={call$1(e){return e.get$variableNodes()},$signature:384};s._EnvironmentModule__EnvironmentModule_closure13.prototype={call$1(e){return e.get$functions(e)},$signature:224};s._EnvironmentModule__EnvironmentModule_closure14.prototype={call$1(e){return e.get$mixins()},$signature:224};s._EnvironmentModule__EnvironmentModule_closure15.prototype={call$1(e){return e.get$transitivelyContainsCss()},$signature:131};s._EnvironmentModule__EnvironmentModule_closure16.prototype={call$1(e){return e.get$transitivelyContainsExtensions()},$signature:131};s.ErrorRule0.prototype={accept$1$1(e){return e.visitErrorRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return"@error "+this.expression.toString$0(0)+";"},$isAstNode0:1,$isStatement0:1,get$span(e){return this.span}};s._EvaluateVisitor1.prototype={_EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(e,r,n,i,l,_){var c,p,h,d,m,g,f,y=this,S="$name, $module: null",v="sass:meta",b=$.JSArray_BuiltInCallable_2,x=s._setArrayType([s.BuiltInCallable$function0("global-variable-exists",S,new s._EvaluateVisitor_closure19(y),v),s.BuiltInCallable$function0("variable-exists","$name",new s._EvaluateVisitor_closure20(y),v),s.BuiltInCallable$function0("function-exists",S,new s._EvaluateVisitor_closure21(y),v),s.BuiltInCallable$function0("mixin-exists",S,new s._EvaluateVisitor_closure22(y),v),s.BuiltInCallable$function0("content-exists","",new s._EvaluateVisitor_closure23(y),v),s.BuiltInCallable$function0("module-variables","$module",new s._EvaluateVisitor_closure24(y),v),s.BuiltInCallable$function0("module-functions","$module",new s._EvaluateVisitor_closure25(y),v),s.BuiltInCallable$function0("get-function","$name, $css: false, $module: null",new s._EvaluateVisitor_closure26(y),v),s.BuiltInCallable$function0("call","$function, $args...",new s._EvaluateVisitor_closure27(y),v)],b),w=s._setArrayType([s.BuiltInCallable$mixin0("load-css","$url, $with: null",new s._EvaluateVisitor_closure28(y),v)],b);b=$.BuiltInCallable_2;c=s.List_List$of(u.$get$global6(),true,b);o.JSArray_methods.addAll$1(c,u.$get$local0());o.JSArray_methods.addAll$1(c,x);p=s.BuiltInModule$0("meta",c,w,null,b);for(b=s.List_List$of(u.$get$coreModules0(),true,$.BuiltInModule_BuiltInCallable_2),b.push(p),c=b.length,h=y._evaluate0$_builtInModules,d=0;d>");l=s.List_List$of(new s.MappedListIterable(l,new s._EvaluateVisitor__combineCss_closure7,u),true,u._eval$1("ListIterable.E"))}g._evaluate0$_extendModules$1(l);u=$.JSArray_CssNode_2;_=s._setArrayType([],u);c=s._setArrayType([],u);for(u=a.get$reversed$ax(l),u=new s.ListIterator(u,u.get$length(u)),p=s._instanceType(u)._precomputed1;u.moveNext$0();){h=u.__internal$_current;if(h==null)h=p._as(h);h=h.get$css(h);d=h.get$children(h);m=g._evaluate0$_indexAfterImports$1(d);h=a.getInterceptor$ax(d);o.JSArray_methods.addAll$1(_,h.getRange$2(d,0,m));o.JSArray_methods.addAll$1(c,h.getRange$2(d,m,h.get$length(d)))}u=o.JSArray_methods.$add(_,c);p=e.get$css(e);return new s.CssStylesheet0(new s.UnmodifiableListView(u,$.UnmodifiableListView_CssNode_2),p.get$span(p))},_evaluate0$_combineCss$1(e){return this._evaluate0$_combineCss$2$clone(e,false)},_evaluate0$_extendModules$1(e){var r,n,i,o,l,u,_,c,p,h=s.LinkedHashMap_LinkedHashMap$_empty($.Uri,$.List_ExtensionStore_2),d=new s._LinkedIdentityHashSet($._LinkedIdentityHashSet_Extension_2);for(r=a.get$iterator$ax(e);r.moveNext$0();){n=r.get$current(r);i=n.get$extensionStore().get$simpleSelectors().toSet$0(0);d.addAll$1(0,n.get$extensionStore().extensionsWhereTarget$1(new s._EvaluateVisitor__extendModules_closure3(i)));o=h.$index(0,n.get$url(n));l=n.get$extensionStore().get$addExtensions();if(o!=null)l.call$1(o);l=n.get$extensionStore();if(l.get$isEmpty(l))continue;for(l=n.get$upstream(),u=l.length,_=0;__?-1:1;if(u===(!e.isExclusive?n.to=_+c:_))return null;return r._evaluate0$_environment.scope$1$2$semiGlobal(new s._EvaluateVisitor_visitForRule_closure13(n,r,e,u,c,a),true,$.nullable_Value_2)},visitForwardRule$1(e){var r,n,i,o,l,u=this,_="@forward",c=u._evaluate0$_configuration,p=c.throughForward$1(e),h=e.configuration,d=h.length,m=e.url;if(d!==0){r=u._evaluate0$_addForwardConfiguration$2(p,e);u._evaluate0$_loadModule$5$configuration(m,_,e,new s._EvaluateVisitor_visitForwardRule_closure3(u,e),r);m=$.String;n=s.LinkedHashSet_LinkedHashSet$_empty(m);for(i=0;i0)r=p.$index(c,0);else{n=$.$index(0,"condition");n.toString;r=n}if(p.get$length(c)>1)i=p.$index(c,1);else{n=$.$index(0,"if-true");n.toString;i=n}if(p.get$length(c)>2)s=p.$index(c,2);else{p=$.$index(0,"if-false");p.toString;s=p}o=r.accept$1(l).get$isTruthy()?i:s;return l._evaluate0$_withoutSlash$2(o.accept$1(l),l._evaluate0$_expressionNode$1(o))},visitNullExpression$1(e){return o.C__SassNull0},visitNumberExpression$1(e){var r=e.value,n=e.unit;return n==null?new s.UnitlessSassNumber0(r,null):new s.SingleUnitSassNumber0(n,r,null)},visitParenthesizedExpression$1(e){return e.expression.accept$1(this)},visitCalculationExpression$1(e){var r,n,i,o,l,u,_,c,p,h,d,m=this,g=s._setArrayType([],$.JSArray_Object);for(o=e.$arguments,l=o.length,u=e.name,_=u!=="min",c=u==="max",p=0;p1?a.$index$asx(r,1):null;g=s.SassCalculation_clamp0(g,l,a.get$length$asx(r)>2?a.$index$asx(r,2):null);return g;default:g=s.UnsupportedError$('Unknown calculation name "'+u+'".');throw s.wrapException(g)}}catch(d){g=s.unwrapException(d);if(g instanceof s.SassScriptException0){n=g;i=s.getTraceFromException(d);m._evaluate0$_verifyCompatibleNumbers$2(r,o);s.throwWithTrace0(m._evaluate0$_exception$2(n.message,e.span),i)}else throw d}},_evaluate0$_verifyCompatibleNumbers$2(e,r){var n,i,o,l,u,_;for(n=0;i=e.length,n1||o.get$denominatorUnits(o).length!==0)throw s.wrapException(this._evaluate0$_exception$2("Number "+o.toString$0(0)+" isn't compatible with CSS calculations.",a.get$span$z(r[n])))}for(n=0;n")),e.separator,e.hasBrackets)},visitMapExpression$1(e){var r,n,i,o,l,u,_,c,p=$.Value_2,h=s.LinkedHashMap_LinkedHashMap$_empty(p,p),d=s.LinkedHashMap_LinkedHashMap$_empty(p,$.AstNode_2);for(r=e.pairs,n=r.length,i=0;ib){E=o.JSArray_methods.sublist$1(F.positional,b);o.JSArray_methods.removeRange$2(F.positional,b,F.positional.length)}else E=o.List_empty19;b=F.named;A=s.SassArgumentList$0(E,b,F.separator===o.ListSeparator_undecided_null0?o.ListSeparator_kWM0:F.separator);F.positional.push(A)}else A=null;l=null;try{l=i.call$1(F.positional)}catch(M){b=s.unwrapException(M);if($.SassRuntimeException_2._is(b))throw M;else if(b instanceof s.MultiSpanSassScriptException0){u=b;_=s.getTraceFromException(M);b=u.message;w=n.get$span(n);C=u.primaryLabel;I=u.secondarySpans;s.throwWithTrace0(new s.MultiSpanSassRuntimeException0(k._evaluate0$_stackTrace$1(n.get$span(n)),C,s.ConstantMap_ConstantMap$from(I,$.FileSpan,$.String),b,w),_)}else if(b instanceof s.MultiSpanSassException0){c=b;p=s.getTraceFromException(M);b=c._span_exception$_message;w=c;C=a.getInterceptor$z(w);w=s.SourceSpanException.prototype.get$span.call(C,w);C=c.primaryLabel;I=c.secondarySpans;V=c;L=a.getInterceptor$z(V);s.throwWithTrace0(new s.MultiSpanSassRuntimeException0(k._evaluate0$_stackTrace$1(s.SourceSpanException.prototype.get$span.call(L,V)),C,s.ConstantMap_ConstantMap$from(I,$.FileSpan,$.String),b,w),p)}else{h=b;d=s.getTraceFromException(M);m=null;try{m=s._asString(a.get$message$x(h))}catch(M){R=a.toString$0$(h);m=R}s.throwWithTrace0(k._evaluate0$_exception$2(m,n.get$span(n)),d)}}k._evaluate0$_callableNode=T;if(A==null)return l;if(F.named.__js_helper$_length===0)return l;if(A._argument_list$_wereKeywordsAccessed)return l;b=F.named;b=b.get$keys(b);b=s.pluralize0("argument",b.get$length(b),null);w=F.named;throw s.wrapException(s.MultiSpanSassRuntimeException$0("No "+b+" named "+s.S(s.toSentence0(w.get$keys(w).map$1$1(0,new s._EvaluateVisitor__runBuiltInCallable_closure4,$.Object),"or"))+".",n.get$span(n),"invocation",s.LinkedHashMap_LinkedHashMap$_literal([y.get$spanWithName(),"declaration"],$.FileSpan,$.String),k._evaluate0$_stackTrace$1(n.get$span(n))))},_evaluate0$_evaluateArguments$1(e){var r,n,i,l,u,_,p,h,d,m,g,f,y,S,v,b,x,w=this,C=s._setArrayType([],$.JSArray_Value_2),E=s._setArrayType([],$.JSArray_AstNode_2);for(r=e.positional,n=r.length,i=0;i")));o.JSArray_methods.addAll$1(E,s.List_List$filled(h.length,y,false,n));S=f._list1$_separator;if(f instanceof s.SassArgumentList0){f._argument_list$_wereKeywordsAccessed=true;f._argument_list$_keywords.forEach$1(0,new s._EvaluateVisitor__evaluateArguments_closure9(w,_,y,p))}}else{C.push(w._evaluate0$_withoutSlash$2(f,y));E.push(y);S=o.ListSeparator_undecided_null0}v=e.keywordRest;if(v==null)return new s._ArgumentResults1(C,E,_,p,S);b=v.accept$1(w);x=w._evaluate0$_expressionNode$1(v);if(b instanceof s.SassMap0){w._evaluate0$_addRestMap$4(_,b,v,new s._EvaluateVisitor__evaluateArguments_closure10);r=s.LinkedHashMap_LinkedHashMap$_empty(r,n);for(n=b._map0$_contents,n=a.get$iterator$ax(n.get$keys(n)),h=$.SassString_2;n.moveNext$0();)r.$indexSet(0,h._as(n.get$current(n))._string0$_text,x);p.addAll$1(0,r);return new s._ArgumentResults1(C,E,_,p,S)}else throw s.wrapException(w._evaluate0$_exception$2(c.Variabs+b.toString$0(0)+").",v.get$span(v)))},_evaluate0$_evaluateMacroArguments$1(e){var r,n,i,a,l,u,_,p,h=this,d=e.$arguments,m=d.rest;if(m==null)return new s.Tuple2(d.positional,d.named,$.Tuple2_of_List_Expression_and_Map_String_Expression_2);r=d.positional;n=s._setArrayType(r.slice(0),s._arrayInstanceType(r));i=s.LinkedHashMap_LinkedHashMap$of(d.named,$.String,$.Expression_2);a=m.accept$1(h);l=h._evaluate0$_expressionNode$1(m);if(a instanceof s.SassMap0)h._evaluate0$_addRestMap$4(i,a,e,new s._EvaluateVisitor__evaluateMacroArguments_closure7(m));else if(a instanceof s.SassList0){r=a._list1$_contents;o.JSArray_methods.addAll$1(n,new s.MappedListIterable(r,new s._EvaluateVisitor__evaluateMacroArguments_closure8(h,l,m),s._arrayInstanceType(r)._eval$1("MappedListIterable<1,Expression0>")));if(a instanceof s.SassArgumentList0){a._argument_list$_wereKeywordsAccessed=true;a._argument_list$_keywords.forEach$1(0,new s._EvaluateVisitor__evaluateMacroArguments_closure9(h,i,l,m))}}else n.push(new s.ValueExpression0(h._evaluate0$_withoutSlash$2(a,l),m.get$span(m)));u=d.keywordRest;if(u==null)return new s.Tuple2(n,i,$.Tuple2_of_List_Expression_and_Map_String_Expression_2);_=u.accept$1(h);p=h._evaluate0$_expressionNode$1(u);if(_ instanceof s.SassMap0){h._evaluate0$_addRestMap$4(i,_,e,new s._EvaluateVisitor__evaluateMacroArguments_closure10(h,p,u));return new s.Tuple2(n,i,$.Tuple2_of_List_Expression_and_Map_String_Expression_2)}else throw s.wrapException(h._evaluate0$_exception$2(c.Variabs+_.toString$0(0)+").",u.get$span(u)))},_evaluate0$_addRestMap$1$4(e,r,n,i){r._map0$_contents.forEach$1(0,new s._EvaluateVisitor__addRestMap_closure1(this,e,i,this._evaluate0$_expressionNode$1(n),r,n))},_evaluate0$_addRestMap$4(e,r,n,i){return this._evaluate0$_addRestMap$1$4(e,r,n,i,$.dynamic)},_evaluate0$_verifyArguments$4(e,r,n,i){return this._evaluate0$_addExceptionSpan$2(i,new s._EvaluateVisitor__verifyArguments_closure1(n,e,r))},visitSelectorExpression$1(e){var r=this._evaluate0$_styleRuleIgnoringAtRoot;r=r==null?null:r.originalSelector.get$asSassList();return r==null?o.C__SassNull0:r},visitStringExpression$1(e){var r,n=this,i=n._evaluate0$_inSupportsDeclaration;n._evaluate0$_inSupportsDeclaration=false;r=e.text.contents;r=new s.MappedListIterable(r,new s._EvaluateVisitor_visitStringExpression_closure1(n),s._arrayInstanceType(r)._eval$1("MappedListIterable<1,String>")).join$0(0);n._evaluate0$_inSupportsDeclaration=i;return new s.SassString0(r,e.hasQuotes)},visitSupportsExpression$1(e){return new s.SassString0(this._evaluate0$_visitSupportsCondition$1(e.condition),false)},visitCssAtRule$1(e){var r,n,i,a=this;if(a._evaluate0$_declarationName!=null)throw s.wrapException(a._evaluate0$_exception$2(c.At_rul,e.span));if(e.isChildless){a._evaluate0$_assertInModule$2(a._evaluate0$__parent,"__parent").addChild$1(s.ModifiableCssAtRule$0(e.name,e.span,true,e.value));return}r=a._evaluate0$_inKeyframes;n=a._evaluate0$_inUnknownAtRule;i=e.name;if(s.unvendor0(i.get$value(i))==="keyframes")a._evaluate0$_inKeyframes=true;else a._evaluate0$_inUnknownAtRule=true;a._evaluate0$_withParent$2$4$scopeWhen$through(s.ModifiableCssAtRule$0(i,e.span,false,e.value),new s._EvaluateVisitor_visitCssAtRule_closure3(a,e),false,new s._EvaluateVisitor_visitCssAtRule_closure4,$.ModifiableCssAtRule_2,$.Null);a._evaluate0$_inUnknownAtRule=n;a._evaluate0$_inKeyframes=r},visitCssComment$1(e){var r=this,n="__parent",i="_endOfImports";if(r._evaluate0$_assertInModule$2(r._evaluate0$__parent,n)===r._evaluate0$_assertInModule$2(r._evaluate0$__root,"_root")&&r._evaluate0$_assertInModule$2(r._evaluate0$__endOfImports,i)===a.get$length$asx(r._evaluate0$_assertInModule$2(r._evaluate0$__root,"_root").children._collection$_source))r._evaluate0$__endOfImports=r._evaluate0$_assertInModule$2(r._evaluate0$__endOfImports,i)+1;r._evaluate0$_assertInModule$2(r._evaluate0$__parent,n).addChild$1(new s.ModifiableCssComment0(e.text,e.span))},visitCssDeclaration$1(e){var r=e.name;this._evaluate0$_assertInModule$2(this._evaluate0$__parent,"__parent").addChild$1(s.ModifiableCssDeclaration$0(r,e.value,e.span,a.startsWith$1$s(r.get$value(r),"--"),e.valueSpanForMap))},visitCssImport$1(e){var r,n=this,i="__parent",o="_root",l="_endOfImports",u=new s.ModifiableCssImport0(e.url,e.modifiers,e.span);if(n._evaluate0$_assertInModule$2(n._evaluate0$__parent,i)!==n._evaluate0$_assertInModule$2(n._evaluate0$__root,o))n._evaluate0$_assertInModule$2(n._evaluate0$__parent,i).addChild$1(u);else if(n._evaluate0$_assertInModule$2(n._evaluate0$__endOfImports,l)===a.get$length$asx(n._evaluate0$_assertInModule$2(n._evaluate0$__root,o).children._collection$_source)){n._evaluate0$_assertInModule$2(n._evaluate0$__root,o).addChild$1(u);n._evaluate0$__endOfImports=n._evaluate0$_assertInModule$2(n._evaluate0$__endOfImports,l)+1}else{r=n._evaluate0$_outOfOrderImports;(r==null?n._evaluate0$_outOfOrderImports=s._setArrayType([],$.JSArray_ModifiableCssImport_2):r).push(u)}},visitCssKeyframeBlock$1(e){this._evaluate0$_withParent$2$4$scopeWhen$through(s.ModifiableCssKeyframeBlock$0(e.selector,e.span),new s._EvaluateVisitor_visitCssKeyframeBlock_closure3(this,e),false,new s._EvaluateVisitor_visitCssKeyframeBlock_closure4,$.ModifiableCssKeyframeBlock_2,$.Null)},visitCssMediaRule$1(e){var r,n,i=this;if(i._evaluate0$_declarationName!=null)throw s.wrapException(i._evaluate0$_exception$2(c.Media_,e.span));r=s.NullableExtension_andThen0(i._evaluate0$_mediaQueries,new s._EvaluateVisitor_visitCssMediaRule_closure5(i,e));n=r==null;if(!n&&a.get$isEmpty$asx(r))return;n=n?e.queries:r;i._evaluate0$_withParent$2$4$scopeWhen$through(s.ModifiableCssMediaRule$0(n,e.span),new s._EvaluateVisitor_visitCssMediaRule_closure6(i,r,e),false,new s._EvaluateVisitor_visitCssMediaRule_closure7(r),$.ModifiableCssMediaRule_2,$.Null)},visitCssStyleRule$1(e){var r,n,i,a,o,l,u,_,p,h=this,d="__parent";if(h._evaluate0$_declarationName!=null)throw s.wrapException(h._evaluate0$_exception$2(c.Style_,e.span));r=h._evaluate0$_atRootExcludingStyleRule;n=r?null:h._evaluate0$_styleRuleIgnoringAtRoot;i=e.selector;a=i.value;o=n==null;l=o?null:n.originalSelector;u=a.resolveParentSelectors$2$implicitParent(l,!r);_=s.ModifiableCssStyleRule$0(h._evaluate0$_assertInModule$2(h._evaluate0$__extensionStore,"_extensionStore").addSelector$3(u,i.span,h._evaluate0$_mediaQueries),e.span,u);p=h._evaluate0$_atRootExcludingStyleRule;h._evaluate0$_atRootExcludingStyleRule=false;h._evaluate0$_withParent$2$4$scopeWhen$through(_,new s._EvaluateVisitor_visitCssStyleRule_closure3(h,_,e),false,new s._EvaluateVisitor_visitCssStyleRule_closure4,$.ModifiableCssStyleRule_2,$.Null);h._evaluate0$_atRootExcludingStyleRule=p;if(o){r=h._evaluate0$_assertInModule$2(h._evaluate0$__parent,d).children;r=!r.get$isEmpty(r)}else r=false;if(r){r=h._evaluate0$_assertInModule$2(h._evaluate0$__parent,d).children;r.get$last(r).isGroupEnd=true}},visitCssStylesheet$1(e){var r;for(r=a.get$iterator$ax(e.get$children(e));r.moveNext$0();)r.get$current(r).accept$1(this)},visitCssSupportsRule$1(e){var r=this;if(r._evaluate0$_declarationName!=null)throw s.wrapException(r._evaluate0$_exception$2(c.Suppor,e.span));r._evaluate0$_withParent$2$4$scopeWhen$through(s.ModifiableCssSupportsRule$0(e.condition,e.span),new s._EvaluateVisitor_visitCssSupportsRule_closure3(r,e),false,new s._EvaluateVisitor_visitCssSupportsRule_closure4,$.ModifiableCssSupportsRule_2,$.Null)},_evaluate0$_handleReturn$1$2(e,r){var n,i,a;for(n=e.length,i=0;i")).join$0(0);a._evaluate0$_inSupportsDeclaration=o;return i},_evaluate0$_performInterpolation$1(e){return this._evaluate0$_performInterpolation$2$warnForColor(e,false)},_evaluate0$_serialize$3$quote(e,r,n){return this._evaluate0$_addExceptionSpan$2(r,new s._EvaluateVisitor__serialize_closure1(e,n))},_evaluate0$_serialize$2(e,r){return this._evaluate0$_serialize$3$quote(e,r,true)},_evaluate0$_expressionNode$1(e){var r;if(e instanceof s.VariableExpression0){r=this._evaluate0$_addExceptionSpan$2(e,new s._EvaluateVisitor__expressionNode_closure1(this,e));return r==null?e:r}else return e},_evaluate0$_withParent$2$4$scopeWhen$through(e,r,n,i,s,a){var o,l,u=this;u._evaluate0$_addChild$2$through(e,i);o=u._evaluate0$_assertInModule$2(u._evaluate0$__parent,"__parent");u._evaluate0$__parent=e;l=u._evaluate0$_environment.scope$1$2$when(r,n,a);u._evaluate0$__parent=o;return l},_evaluate0$_withParent$2$3$scopeWhen(e,r,n,i,s){return this._evaluate0$_withParent$2$4$scopeWhen$through(e,r,n,null,i,s)},_evaluate0$_withParent$2$2(e,r,n,i){return this._evaluate0$_withParent$2$4$scopeWhen$through(e,r,true,null,n,i)},_evaluate0$_addChild$2$through(e,r){var n,i,a=this._evaluate0$_assertInModule$2(this._evaluate0$__parent,"__parent");if(r!=null){for(;r.call$1(a);a=n){n=a._node0$_parent;if(n==null)throw s.wrapException(s.ArgumentError$(c.throug+e.toString$0(0)+".",null))}if(a.get$hasFollowingSibling()){i=a._node0$_parent;i.toString;a=a.copyWithoutChildren$0();i.addChild$1(a)}}a.addChild$1(e)},_evaluate0$_addChild$1(e){return this._evaluate0$_addChild$2$through(e,null)},_evaluate0$_withStyleRule$1$2(e,r){var n,i=this._evaluate0$_styleRuleIgnoringAtRoot;this._evaluate0$_styleRuleIgnoringAtRoot=e;n=r.call$0();this._evaluate0$_styleRuleIgnoringAtRoot=i;return n},_evaluate0$_withStyleRule$2(e,r){return this._evaluate0$_withStyleRule$1$2(e,r,$.dynamic)},_evaluate0$_withMediaQueries$1$2(e,r){var n,i=this._evaluate0$_mediaQueries;this._evaluate0$_mediaQueries=e;n=r.call$0();this._evaluate0$_mediaQueries=i;return n},_evaluate0$_withMediaQueries$2(e,r){return this._evaluate0$_withMediaQueries$1$2(e,r,$.dynamic)},_evaluate0$_withStackFrame$1$3(e,r,n){var i,a,o=this,l=o._evaluate0$_stack;l.push(new s.Tuple2(o._evaluate0$_member,r,$.Tuple2_String_AstNode_2));i=o._evaluate0$_member;o._evaluate0$_member=e;a=n.call$0();o._evaluate0$_member=i;l.pop();return a},_evaluate0$_withStackFrame$3(e,r,n){return this._evaluate0$_withStackFrame$1$3(e,r,n,$.dynamic)},_evaluate0$_withoutSlash$2(e,r){if(e instanceof s.SassNumber0&&e.asSlash!=null)this._evaluate0$_warn$3$deprecation(c.Using__i+s.S((new s._EvaluateVisitor__withoutSlash_recommendation1).call$1(e))+c.x0a_More,r.get$span(r),true);return e.withoutSlash$0()},_evaluate0$_stackFrame$2(e,r){return s.frameForSpan0(r,e,s.NullableExtension_andThen0(r.get$sourceUrl(r),new s._EvaluateVisitor__stackFrame_closure1(this)))},_evaluate0$_stackTrace$1(e){var r=this,n=r._evaluate0$_stack;n=s.List_List$of(new s.MappedListIterable(n,new s._EvaluateVisitor__stackTrace_closure1(r),s._arrayInstanceType(n)._eval$1("MappedListIterable<1,Frame>")),true,$.Frame);if(e!=null)n.push(r._evaluate0$_stackFrame$2(r._evaluate0$_member,e));return s.Trace$(new s.ReversedListIterable(n,s._arrayInstanceType(n)._eval$1("ReversedListIterable<1>")),null)},_evaluate0$_stackTrace$0(){return this._evaluate0$_stackTrace$1(null)},_evaluate0$_warn$3$deprecation(e,r,n){var i,a=this;if(a._evaluate0$_quietDeps)if(!a._evaluate0$_inDependency){i=a._evaluate0$_currentCallable;i=i==null?null:i.inDependency;i=i===true}else i=true;else i=false;if(i)return;if(!a._evaluate0$_warningsEmitted.add$1(0,new s.Tuple2(e,r,$.Tuple2_String_SourceSpan)))return;a._evaluate0$_logger.warn$4$deprecation$span$trace(0,e,n,r,a._evaluate0$_stackTrace$1(r))},_evaluate0$_warn$2(e,r){return this._evaluate0$_warn$3$deprecation(e,r,false)},_evaluate0$_exception$2(e,r){var n=r==null?a.get$span$z(o.JSArray_methods.get$last(this._evaluate0$_stack).item2):r;return new s.SassRuntimeException0(this._evaluate0$_stackTrace$1(r),e,n)},_evaluate0$_exception$1(e){return this._evaluate0$_exception$2(e,null)},_evaluate0$_multiSpanException$3(e,r,n){var i=a.get$span$z(o.JSArray_methods.get$last(this._evaluate0$_stack).item2);return new s.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$0(),r,s.ConstantMap_ConstantMap$from(n,$.FileSpan,$.String),e,i)},_evaluate0$_adjustParseError$1$2(e,r){var n,i,l,u,_,c,$,p,h,d,m,g,f,y=null;try{$=r.call$0();return $}catch(p){$=s.unwrapException(p);if($ instanceof s.SassFormatException0){n=$;i=s.getTraceFromException(p);$=n;h=a.getInterceptor$z($);$=s.SourceSpanException.prototype.get$span.call(h,$);l=s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2($.get$file($)._decodedChars,0,y),0,y);u=e.get$span(e);_=o.JSString_methods.replaceRange$3(s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(a.get$file$x(u)._decodedChars,0,y),0,y),a.get$start$z(u).offset,a.get$end$z(u).offset,l);$=s.SourceFile$fromString(_,a.get$file$x(u).url);h=a.get$start$z(u);d=n;m=a.getInterceptor$z(d);d=s.SourceSpanException.prototype.get$span.call(m,d);d=d.get$start(d);m=a.get$start$z(u);g=n;f=a.getInterceptor$z(g);g=s.SourceSpanException.prototype.get$span.call(f,g);c=$.span$2(0,h.offset+d.offset,m.offset+g.get$end(g).offset);s.throwWithTrace0(this._evaluate0$_exception$2(n._span_exception$_message,c),i)}else throw p}},_evaluate0$_adjustParseError$2(e,r){return this._evaluate0$_adjustParseError$1$2(e,r,$.dynamic)},_evaluate0$_addExceptionSpan$1$2(e,r){var n,i,a,o,l,u,_,c,p;try{l=r.call$0();return l}catch(u){l=s.unwrapException(u);if(l instanceof s.MultiSpanSassScriptException0){n=l;i=s.getTraceFromException(u);l=n.message;_=e.get$span(e);c=n.primaryLabel;p=n.secondarySpans;s.throwWithTrace0(new s.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$1(e.get$span(e)),c,s.ConstantMap_ConstantMap$from(p,$.FileSpan,$.String),l,_),i)}else if(l instanceof s.SassScriptException0){a=l;o=s.getTraceFromException(u);s.throwWithTrace0(this._evaluate0$_exception$2(a.message,e.get$span(e)),o)}else throw u}},_evaluate0$_addExceptionSpan$2(e,r){return this._evaluate0$_addExceptionSpan$1$2(e,r,$.dynamic)},_evaluate0$_addErrorSpan$1$2(e,r){var n,i,l,u,_;try{l=r.call$0();return l}catch(u){l=s.unwrapException(u);if($.SassRuntimeException_2._is(l)){n=l;i=s.getTraceFromException(u);if(!o.JSString_methods.startsWith$1(a.get$span$z(n).get$text(),"@error"))throw u;l=n._span_exception$_message;_=e.get$span(e);s.throwWithTrace0(new s.SassRuntimeException0(this._evaluate0$_stackTrace$0(),l,_),i)}else throw u}},_evaluate0$_addErrorSpan$2(e,r){return this._evaluate0$_addErrorSpan$1$2(e,r,$.dynamic)}};s._EvaluateVisitor_closure19.prototype={call$1(e){var r,n,i=a.getInterceptor$asx(e),l=i.$index(e,0).assertString$1("name");i=i.$index(e,1).get$realNull();r=i==null?null:i.assertString$1("module");i=this.$this._evaluate0$_environment;n=s.stringReplaceAllUnchecked(l._string0$_text,"_","-");return i.globalVariableExists$2$namespace(n,r==null?null:r._string0$_text)?o.SassBoolean_true0:o.SassBoolean_false0},$signature:19};s._EvaluateVisitor_closure20.prototype={call$1(e){var r=a.$index$asx(e,0).assertString$1("name"),n=this.$this._evaluate0$_environment;return n.getVariable$1(s.stringReplaceAllUnchecked(r._string0$_text,"_","-"))!=null?o.SassBoolean_true0:o.SassBoolean_false0},$signature:19};s._EvaluateVisitor_closure21.prototype={call$1(e){var r,n,i,l,u=a.getInterceptor$asx(e),_=u.$index(e,0).assertString$1("name");u=u.$index(e,1).get$realNull();r=u==null?null:u.assertString$1("module");u=this.$this;n=u._evaluate0$_environment;i=_._string0$_text;l=s.stringReplaceAllUnchecked(i,"_","-");return n.getFunction$2$namespace(l,r==null?null:r._string0$_text)!=null||u._evaluate0$_builtInFunctions.containsKey$1(i)?o.SassBoolean_true0:o.SassBoolean_false0},$signature:19};s._EvaluateVisitor_closure22.prototype={call$1(e){var r,n,i=a.getInterceptor$asx(e),l=i.$index(e,0).assertString$1("name");i=i.$index(e,1).get$realNull();r=i==null?null:i.assertString$1("module");i=this.$this._evaluate0$_environment;n=s.stringReplaceAllUnchecked(l._string0$_text,"_","-");return i.getMixin$2$namespace(n,r==null?null:r._string0$_text)!=null?o.SassBoolean_true0:o.SassBoolean_false0},$signature:19};s._EvaluateVisitor_closure23.prototype={call$1(e){var r=this.$this._evaluate0$_environment;if(!r._environment0$_inMixin)throw s.wrapException(s.SassScriptException$0(c.conten));return r._environment0$_content!=null?o.SassBoolean_true0:o.SassBoolean_false0},$signature:19};s._EvaluateVisitor_closure24.prototype={call$1(e){var r,n,i,o=a.$index$asx(e,0).assertString$1("module")._string0$_text,l=this.$this._evaluate0$_environment._environment0$_modules.$index(0,o);if(l==null)throw s.wrapException('There is no module with namespace "'+o+'".');o=$.Value_2;r=s.LinkedHashMap_LinkedHashMap$_empty(o,o);for(n=l.get$variables(),n=n.get$entries(n),n=n.get$iterator(n);n.moveNext$0();){i=n.get$current(n);r.$indexSet(0,new s.SassString0(i.key,true),i.value)}return new s.SassMap0(s.ConstantMap_ConstantMap$from(r,o,o))},$signature:40};s._EvaluateVisitor_closure25.prototype={call$1(e){var r,n,i,o=a.$index$asx(e,0).assertString$1("module")._string0$_text,l=this.$this._evaluate0$_environment._environment0$_modules.$index(0,o);if(l==null)throw s.wrapException('There is no module with namespace "'+o+'".');o=$.Value_2;r=s.LinkedHashMap_LinkedHashMap$_empty(o,o);for(n=l.get$functions(l),n=n.get$entries(n),n=n.get$iterator(n);n.moveNext$0();){i=n.get$current(n);r.$indexSet(0,new s.SassString0(i.key,true),new s.SassFunction0(i.value))}return new s.SassMap0(s.ConstantMap_ConstantMap$from(r,o,o))},$signature:40};s._EvaluateVisitor_closure26.prototype={call$1(e){var r,n,i,o=a.getInterceptor$asx(e),l=o.$index(e,0).assertString$1("name"),u=o.$index(e,1).get$isTruthy();o=o.$index(e,2).get$realNull();r=o==null?null:o.assertString$1("module");if(u&&r!=null)throw s.wrapException(c.x24css_a);if(u)n=new s.PlainCssCallable0(l._string0$_text);else{o=this.$this;i=o._evaluate0$_callableNode;i.toString;n=o._evaluate0$_addExceptionSpan$2(i,new s._EvaluateVisitor__closure7(o,l,r))}if(n!=null)return new s.SassFunction0(n);throw s.wrapException("Function not found: "+l.toString$0(0))},$signature:197};s._EvaluateVisitor__closure7.prototype={call$0(){var e=s.stringReplaceAllUnchecked(this.name._string0$_text,"_","-"),r=this.module;r=r==null?null:r._string0$_text;return this.$this._evaluate0$_getFunction$2$namespace(e,r)},$signature:117};s._EvaluateVisitor_closure27.prototype={call$1(e){var r,n,i,o,l,u,_,p,h,d,m,g,f,y=a.getInterceptor$asx(e),S=y.$index(e,0),v=$.SassArgumentList_2._as(y.$index(e,1));y=this.$this;r=y._evaluate0$_callableNode;r.toString;n=s._setArrayType([],$.JSArray_Expression_2);i=$.String;o=$.Expression_2;l=r.get$span(r);u=r.get$span(r);v._argument_list$_wereKeywordsAccessed=true;_=v._argument_list$_keywords;if(_.get$isEmpty(_))r=null;else{p=$.Value_2;h=s.LinkedHashMap_LinkedHashMap$_empty(p,p);for(v._argument_list$_wereKeywordsAccessed=true,_=_.get$entries(_),_=_.get$iterator(_);_.moveNext$0();){d=_.get$current(_);h.$indexSet(0,new s.SassString0(d.key,false),d.value)}r=new s.ValueExpression0(new s.SassMap0(s.ConstantMap_ConstantMap$from(h,p,p)),r.get$span(r))}m=new s.ArgumentInvocation0(s.List_List$unmodifiable(n,o),s.ConstantMap_ConstantMap$from(s.LinkedHashMap_LinkedHashMap$_empty(i,o),i,o),new s.ValueExpression0(v,u),r,l);if(S instanceof s.SassString0){r=S.toString$0(0);s.EvaluationContext_current0().warn$2$deprecation(0,c.Passin+r+"))",true);g=y._evaluate0$_callableNode;return y.visitFunctionExpression$1(new s.FunctionExpression0(null,S._string0$_text,m,g.get$span(g)))}f=S.assertFunction$1("function").callable;if($.Callable_2._is(f)){r=y._evaluate0$_callableNode;r.toString;return y._evaluate0$_runFunctionCallable$3(m,f,r)}else throw s.wrapException(s.SassScriptException$0("The function "+f.get$name(f)+c.x20is_as))},$signature:3};s._EvaluateVisitor_closure28.prototype={call$1(e){var r,n,i,l,u,_=a.getInterceptor$asx(e),c=s.Uri_parse(_.$index(e,0).assertString$1("url")._string0$_text);_=_.$index(e,1).get$realNull();r=_==null?null:_.assertMap$1("with")._map0$_contents;_=this.$this;n=_._evaluate0$_callableNode;n.toString;if(r!=null){i=s.LinkedHashMap_LinkedHashMap$_empty($.String,$.ConfiguredValue_2);r.forEach$1(0,new s._EvaluateVisitor__closure5(i,n.get$span(n),n));l=new s.ExplicitConfiguration0(n,i)}else l=o.Configuration_Map_empty0;u=n.get$span(n);_._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(c,"load-css()",n,new s._EvaluateVisitor__closure6(_),u.get$sourceUrl(u),l,true);_._evaluate0$_assertConfigurationIsEmpty$2$nameInError(l,true)},$signature:389};s._EvaluateVisitor__closure5.prototype={call$2(e,r){var n=e.assertString$1("with key"),i=s.stringReplaceAllUnchecked(n._string0$_text,"_","-");n=this.values;if(n.containsKey$1(i))throw s.wrapException("The variable $"+i+" was configured twice.");n.$indexSet(0,i,new s.ConfiguredValue0(r,this.span,this.callableNode))},$signature:54};s._EvaluateVisitor__closure6.prototype={call$1(e){var r=this.$this;return r._evaluate0$_combineCss$2$clone(e,true).accept$1(r)},$signature:69};s._EvaluateVisitor_run_closure1.prototype={call$0(){var e,r=this,n=r.node,i=n.span.file.url;if(i!=null){e=r.$this;e._evaluate0$_activeModules.$indexSet(0,i,null);if(!(e._evaluate0$_nodeImporter!=null&&i.toString$0(0)==="stdin"))e._evaluate0$_loadedUrls.add$1(0,i)}e=r.$this;return new s.EvaluateResult0(e._evaluate0$_combineCss$1(e._evaluate0$_execute$2(r.importer,n)),e._evaluate0$_loadedUrls)},$signature:391};s._EvaluateVisitor__loadModule_closure3.prototype={call$0(){return this.callback.call$1(this.builtInModule)},$signature:0};s._EvaluateVisitor__loadModule_closure4.prototype={call$0(){var e,r,n,i,o,l,_,p,h,d,m,g,f,y,S,v,b,x=this,w=x.$this,C=x.nodeWithSpan,E=w._evaluate0$_loadStylesheet$3$baseUrl(x.url.toString$0(0),C.get$span(C),x.baseUrl),A=E.stylesheet,M=A.span.file.url;if(M!=null&&w._evaluate0$_activeModules.containsKey$1(M)){m=x.namesInErrors?"Module loop: "+u.$get$context().prettyUri$1(M)+" is already being loaded.":c.Modulel;C=s.NullableExtension_andThen0(w._evaluate0$_activeModules.$index(0,M),new s._EvaluateVisitor__loadModule__closure1(w,m));throw s.wrapException(C==null?w._evaluate0$_exception$1(m):C)}if(M!=null)w._evaluate0$_activeModules.$indexSet(0,M,C);e=w._evaluate0$_inDependency;w._evaluate0$_inDependency=E.isDependency;r=null;try{r=w._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(E.importer,A,x.configuration,x.namesInErrors,C)}finally{w._evaluate0$_activeModules.remove$1(0,M);w._evaluate0$_inDependency=e}try{x.callback.call$1(r)}catch(g){C=s.unwrapException(g);if($.SassRuntimeException_2._is(C))throw g;else if(C instanceof s.MultiSpanSassException0){n=C;i=s.getTraceFromException(g);C=n._span_exception$_message;f=n;y=a.getInterceptor$z(f);f=s.SourceSpanException.prototype.get$span.call(y,f);y=n.primaryLabel;S=n.secondarySpans;v=n;b=a.getInterceptor$z(v);s.throwWithTrace0(new s.MultiSpanSassRuntimeException0(w._evaluate0$_stackTrace$1(s.SourceSpanException.prototype.get$span.call(b,v)),y,s.ConstantMap_ConstantMap$from(S,$.FileSpan,$.String),C,f),i)}else if(C instanceof s.SassException0){o=C;l=s.getTraceFromException(g);C=o;f=a.getInterceptor$z(C);s.throwWithTrace0(w._evaluate0$_exception$2(o._span_exception$_message,s.SourceSpanException.prototype.get$span.call(f,C)),l)}else if(C instanceof s.MultiSpanSassScriptException0){_=C;p=s.getTraceFromException(g);s.throwWithTrace0(w._evaluate0$_multiSpanException$3(_.message,_.primaryLabel,_.secondarySpans),p)}else if(C instanceof s.SassScriptException0){h=C;d=s.getTraceFromException(g);s.throwWithTrace0(w._evaluate0$_exception$1(h.message),d)}else throw g}},$signature:1};s._EvaluateVisitor__loadModule__closure1.prototype={call$1(e){return this.$this._evaluate0$_multiSpanException$3(this.message,"new load",s.LinkedHashMap_LinkedHashMap$_literal([e.get$span(e),"original load"],$.FileSpan,$.String))},$signature:89};s._EvaluateVisitor__execute_closure1.prototype={call$0(){var e,r,n,i,a=this,o=a.$this,l=o._evaluate0$_importer,u=o._evaluate0$__stylesheet,_=o._evaluate0$__root,c=o._evaluate0$__parent,p=o._evaluate0$__endOfImports,h=o._evaluate0$_outOfOrderImports,d=o._evaluate0$__extensionStore,m=o._evaluate0$_atRootExcludingStyleRule,g=m?null:o._evaluate0$_styleRuleIgnoringAtRoot,f=o._evaluate0$_mediaQueries,y=o._evaluate0$_declarationName,S=o._evaluate0$_inUnknownAtRule,v=o._evaluate0$_inKeyframes,b=o._evaluate0$_configuration;o._evaluate0$_importer=a.importer;e=o._evaluate0$__stylesheet=a.stylesheet;r=e.span;n=o._evaluate0$__parent=o._evaluate0$__root=s.ModifiableCssStylesheet$0(r);o._evaluate0$__endOfImports=0;o._evaluate0$_outOfOrderImports=null;o._evaluate0$__extensionStore=a.extensionStore;o._evaluate0$_declarationName=o._evaluate0$_mediaQueries=o._evaluate0$_styleRuleIgnoringAtRoot=null;o._evaluate0$_inKeyframes=o._evaluate0$_atRootExcludingStyleRule=o._evaluate0$_inUnknownAtRule=false;i=a.configuration;if(i!=null)o._evaluate0$_configuration=i;o.visitStylesheet$1(e);e=o._evaluate0$_outOfOrderImports==null?n:new s.CssStylesheet0(new s.UnmodifiableListView(o._evaluate0$_addOutOfOrderImports$0(),$.UnmodifiableListView_CssNode_2),r);a.css._value=e;o._evaluate0$_importer=l;o._evaluate0$__stylesheet=u;o._evaluate0$__root=_;o._evaluate0$__parent=c;o._evaluate0$__endOfImports=p;o._evaluate0$_outOfOrderImports=h;o._evaluate0$__extensionStore=d;o._evaluate0$_styleRuleIgnoringAtRoot=g;o._evaluate0$_mediaQueries=f;o._evaluate0$_declarationName=y;o._evaluate0$_inUnknownAtRule=S;o._evaluate0$_atRootExcludingStyleRule=m;o._evaluate0$_inKeyframes=v;o._evaluate0$_configuration=b},$signature:1};s._EvaluateVisitor__combineCss_closure5.prototype={call$1(e){return e.get$transitivelyContainsCss()},$signature:131};s._EvaluateVisitor__combineCss_closure6.prototype={call$1(e){return!this.selectors.contains$1(0,e)},$signature:14};s._EvaluateVisitor__combineCss_closure7.prototype={call$1(e){return e.cloneCss$0()},$signature:392};s._EvaluateVisitor__extendModules_closure3.prototype={call$1(e){return!this.originalSelectors.contains$1(0,e)},$signature:14};s._EvaluateVisitor__extendModules_closure4.prototype={call$0(){return s._setArrayType([],$.JSArray_ExtensionStore_2)},$signature:200};s._EvaluateVisitor__topologicalModules_visitModule1.prototype={call$1(e){var r,n,i,a,o;for(r=e.get$upstream(),n=r.length,i=this.seen,a=0;ar?o.JSArray_methods.sublist$1(v,r):o.List_empty19;S=S.separator;m=s.SassArgumentList$0(d,b,S===o.ListSeparator_undecided_null0?o.ListSeparator_kWM0:S);y._evaluate0$_environment.setLocalVariable$3(h,m,w)}else m=null;g=f.run.call$0();if(m==null)return g;S=b.__js_helper$_length;if(S===0)return g;if(m._argument_list$_wereKeywordsAccessed)return g;v=s._instanceType(b)._eval$1("LinkedHashMapKeyIterable<1>");throw s.wrapException(s.MultiSpanSassRuntimeException$0("No "+s.pluralize0("argument",S,null)+" named "+s.toSentence0(s.MappedIterable_MappedIterable(new s.LinkedHashMapKeyIterable(b,v),new s._EvaluateVisitor__runUserDefinedCallable____closure1,v._eval$1("Iterable.E"),$.Object),"or")+".",w.get$span(w),"invocation",s.LinkedHashMap_LinkedHashMap$_literal([x.get$spanWithName(),"declaration"],$.FileSpan,$.String),y._evaluate0$_stackTrace$1(w.get$span(w))))},$signature(){return this.V._eval$1("0()")}};s._EvaluateVisitor__runUserDefinedCallable____closure1.prototype={call$1(e){return"$"+e},$signature:5};s._EvaluateVisitor__runFunctionCallable_closure1.prototype={call$0(){var e,r,n,i,a,o;for(e=this.callable.declaration,r=e.children,n=r.length,i=this.$this,a=0;a")));case 9:i=7;break;case 8:i=!c.isOptional?10:11;break;case 10:i=12;return c;case 12:case 11:case 7:i=4;break;case 5:i=2;break;case 3:return s._IterationMarker_endOfIteration();case 1:return s._IterationMarker_uncaughtError(l)}}}),$.Extension_2)},addSelector$3(e,r,n){var i,l,u,_,c,p,h,d,m,g,f=this;e=e;i=e;if(!i.accept$1(o._IsInvisibleVisitor_true0))for(_=i.components,c=_.length,p=f._extension_store$_originals,h=0;h1)return V;l=this._extension_store$_originals.contains$1(0,e);for(u=e.components,_=u.length,p=$.JSArray_List_ComplexSelector_2,h=$.Combinator_2,d=$.ComplexSelectorComponent_2,m=e.lineBreak,g=!m,f=$.JSArray_ComplexSelector_2,F=F===0,y=$.JSArray_ComplexSelectorComponent_2,S=V,v=0;v<_;++v){b=u[v];x=this._extension_store$_extendCompound$5$inOriginal(b,r,n,i,l);if(x==null){if(S!=null){w=s._setArrayType([b],y);C=s.List_List$from(o.List_empty13,false,h);C.fixed$length=Array;C.immutable$list=Array;E=C;C=s.List_List$from(w,false,d);C.fixed$length=Array;C.immutable$list=Array;w=C;if(E.length===0&&w.length===0)s.throwExpression(s.ArgumentError$(L,V));S.push(s._setArrayType([new s.ComplexSelector0(E,w,m)],f))}}else if(S!=null)S.push(x);else if(v!==0){w=s._arrayInstanceType(u);E=new s.SubListIterable(u,0,v,w._eval$1("SubListIterable<1>"));E.SubListIterable$3(u,0,v,w._precomputed1);C=s.List_List$from(k,false,h);C.fixed$length=Array;C.immutable$list=Array;w=C;C=s.List_List$from(E,false,d);C.fixed$length=Array;C.immutable$list=Array;E=C;if(w.length===0&&E.length===0)s.throwExpression(s.ArgumentError$(L,V));S=s._setArrayType([s._setArrayType([new s.ComplexSelector0(w,E,m)],f),x],p)}else if(F)S=s._setArrayType([x],p);else{w=s._setArrayType([],f);for(E=a.get$iterator$ax(x);E.moveNext$0();){A=E.get$current(E);M=A.leadingCombinators;if(M.length===0||o.C_ListEquality.equals$2(0,k,M)){M=A.components;A=!g||A.lineBreak;C=s.List_List$from(k,false,h);C.fixed$length=Array;C.immutable$list=Array;I=C;C=s.List_List$from(M,false,d);C.fixed$length=Array;C.immutable$list=Array;M=C;if(I.length===0&&M.length===0)s.throwExpression(s.ArgumentError$(L,V));w.push(new s.ComplexSelector0(I,M,A))}}S=s._setArrayType([w],p)}}if(S==null)return V;R.first=true;k=$.ComplexSelector_2;k=a.expand$1$1$ax(s.paths0(S,k),new s.ExtensionStore__extendComplex_closure0(R,this,e),k);return s.List_List$of(k,true,k.$ti._eval$1("Iterable.E"))},_extension_store$_extendCompound$5$inOriginal(e,r,n,i,l){var u,_,p,h,d,m,g,f,y,S,v,b,x,w,C,E,A,M,I,V,L,R,k,F=this,T=null,N="components may not be empty.",U=c.leadin,J=F._extension_store$_mode,P=J===o.ExtendMode_normal0||n.get$length(n)<2?T:s.LinkedHashSet_LinkedHashSet$_empty($.SimpleSelector_2),O=e.selector.components;for(u=O.length,_=$.JSArray_List_Extender_2,p=$.JSArray_Extender_2,h=$.Combinator_2,d=$.JSArray_ComplexSelectorComponent_2,m=$.ComplexSelectorComponent_2,g=s._arrayInstanceType(O),f=g._precomputed1,g=g._eval$1("SubListIterable<1>"),y=$.SimpleSelector_2,S=F._extension_store$_sourceSpecificity,v=$.JSArray_SimpleSelector_2,b=T,x=0;x>"))}return s.NullableExtension_andThen0(l.call$1(e),new s.ExtensionStore__extendSimple_closure2)},_extension_store$_extenderForSimple$2(e,r){var n=s.ComplexSelector$0(o.List_empty13,s._setArrayType([new s.ComplexSelectorComponent0(s.CompoundSelector$0(s._setArrayType([e],$.JSArray_SimpleSelector_2)),s.List_List$unmodifiable(o.List_empty13,$.Combinator_2))],$.JSArray_ComplexSelectorComponent_2),false);this._extension_store$_sourceSpecificity.$index(0,e);return new s.Extender0(n,true,r)},_extension_store$_extendPseudo$4(e,r,n,i){var l,u,_,c,p=e.selector;if(p==null)throw s.wrapException(s.ArgumentError$("Selector "+e.toString$0(0)+" must have a selector argument.",null));l=this._extension_store$_extendList$4(p,r,n,i);if(l===p)return null;u=l.components;_=e.normalizedName==="not";if(_&&!o.JSArray_methods.any$1(p.components,new s.ExtensionStore__extendPseudo_closure4)&&o.JSArray_methods.any$1(u,new s.ExtensionStore__extendPseudo_closure5))u=new s.WhereIterable(u,new s.ExtensionStore__extendPseudo_closure6,s._arrayInstanceType(u)._eval$1("WhereIterable<1>"));u=a.expand$1$1$ax(u,new s.ExtensionStore__extendPseudo_closure7(e),$.ComplexSelector_2);if(_&&p.components.length===1){_=s.MappedIterable_MappedIterable(u,new s.ExtensionStore__extendPseudo_closure8(e),u.$ti._eval$1("Iterable.E"),$.PseudoSelector_2);c=s.List_List$of(_,true,s._instanceType(_)._eval$1("Iterable.E"));return c.length===0?null:c}else return s._setArrayType([s.PseudoSelector$0(e.name,e.argument,!e.isClass,s.SelectorList$0(u))],$.JSArray_PseudoSelector_2)},_extension_store$_trim$2(e,r){var n,i,o,l,u,_,c,p,h,d,m,g,f;if(e.length>100)return e;n=s.QueueList$(null,$.ComplexSelector_2);e:for(i=e.length-1,o=s._arrayInstanceType(e),l=o._precomputed1,o=o._eval$1("SubListIterable<1>"),u=0;i>=0;--i){_={};c=e[i];if(r.call$1(c)){for(p=0;p1},$signature:16};s.ExtensionStore__extendPseudo_closure5.prototype={call$1(e){return e.components.length===1},$signature:16};s.ExtensionStore__extendPseudo_closure6.prototype={call$1(e){return e.components.length<=1},$signature:16};s.ExtensionStore__extendPseudo_closure7.prototype={call$1(e){var r,n,i=e.get$singleCompound();if(i==null)r=null;else{i=i.components;r=i.length===1?o.JSArray_methods.get$first(i):null}if(!(r instanceof s.PseudoSelector0))return s._setArrayType([e],$.JSArray_ComplexSelector_2);n=r.selector;if(n==null)return s._setArrayType([e],$.JSArray_ComplexSelector_2);i=this.pseudo;switch(i.normalizedName){case"not":if(!o.Set_YEQji._map.containsKey$1(r.normalizedName))return s._setArrayType([],$.JSArray_ComplexSelector_2);return n.components;case"is":case"matches":case"where":case"any":case"current":case"nth-child":case"nth-last-child":if(r.name!==i.name)return s._setArrayType([],$.JSArray_ComplexSelector_2);if(r.argument!=i.argument)return s._setArrayType([],$.JSArray_ComplexSelector_2);return n.components;case"has":case"host":case"host-context":case"slotted":return s._setArrayType([e],$.JSArray_ComplexSelector_2);default:return s._setArrayType([],$.JSArray_ComplexSelector_2)}},$signature:417};s.ExtensionStore__extendPseudo_closure8.prototype={call$1(e){var r=this.pseudo;return s.PseudoSelector$0(r.name,r.argument,!r.isClass,s.SelectorList$0(s._setArrayType([e],$.JSArray_ComplexSelector_2)))},$signature:418};s.ExtensionStore__trim_closure1.prototype={call$1(e){return e.get$minSpecificity()>=this._box_0.maxSpecificity&&e.isSuperselector$1(this.complex1)},$signature:16};s.ExtensionStore__trim_closure2.prototype={call$1(e){return e.get$minSpecificity()>=this._box_0.maxSpecificity&&e.isSuperselector$1(this.complex1)},$signature:16};s.ExtensionStore_clone_closure0.prototype={call$2(e,r){var n,i,a,o,l,u,_,c=this,p=$.ModifiableCssValue_SelectorList_2,h=s.LinkedHashSet_LinkedHashSet$_empty(p);c.newSelectors.$indexSet(0,e,h);for(n=r.get$iterator(r),i=c.oldToNewSelectors,a=c.$this._extension_store$_mediaContexts,o=c.newMediaContexts;n.moveNext$0();){l=n.get$current(n);u=new s.ModifiableCssValue0(l.value,l.span,p);h.add$1(0,u);i.$indexSet(0,l,u);_=a.$index(0,l);if(_!=null)o.$indexSet(0,u,_)}},$signature:419};s.FiberClass.prototype={};s.Fiber.prototype={};s.NodeToDartFileImporter.prototype={canonicalize$1(e,r){var n,i,o;if(r.get$scheme()==="file")return u.$get$_filesystemImporter0().canonicalize$1(0,r);n=this._file0$_findFileUrl.call$2(r.toString$0(0),{fromImport:s.fromImport0()});if(n==null)return null;i=self.Promise;if(n instanceof i)s.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));else{i=self.URL;if(!(n instanceof i))s.jsThrow(new self.Error(c.The_fie))}o=s.Uri_parse(a.toString$0$($.JSUrl._as(n)));if(o.get$scheme()!=="file")s.jsThrow(new self.Error(c.The_fiu+r.toString$0(0)+'".'));return u.$get$_filesystemImporter0().canonicalize$1(0,o)},load$1(e,r){return u.$get$_filesystemImporter0().load$1(0,r)}};s.FilesystemImporter0.prototype={canonicalize$1(e,r){if(r.get$scheme()!=="file"&&r.get$scheme()!=="")return null;return s.NullableExtension_andThen0(s.resolveImportPath0(s.join(this._filesystem$_loadPath,u.$get$context().style.pathFromUri$1(s._parseUri(r)),null)),new s.FilesystemImporter_canonicalize_closure0)},load$1(e,r){var n=u.$get$context().style.pathFromUri$1(s._parseUri(r));return s.ImporterResult$(s.readFile0(n),r,s.Syntax_forPath0(n))},toString$0(e){return this._filesystem$_loadPath}};s.FilesystemImporter_canonicalize_closure0.prototype={call$1(e){var r,n,i,o=null;if(a.$eq$(a.get$platform$x(self.process),"win32")||a.$eq$(a.get$platform$x(self.process),"darwin")){r=u.$get$context();n=s._realCasePath0(r.absolute$7(r.normalize$1(e),o,o,o,o,o,o));i=n;n=r;r=i}else{r=u.$get$context();n=r.canonicalize$1(0,e);i=n;n=r;r=i}return n.toUri$1(r)},$signature:147};s.ForRule0.prototype={accept$1$1(e){return e.visitForRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this,n=r.from.toString$0(0),i=r.isExclusive?"to":"through",s=r.children;return"@for $"+r.variable+" from "+n+" "+i+" "+r.to.toString$0(0)+" {"+(s&&o.JSArray_methods).join$1(s," ")+"}"},get$span(e){return this.span}};s.ForwardRule0.prototype={accept$1$1(e){return e.visitForwardRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r,n,i=this,a="@forward "+s.StringExpression_quoteText0(i.url.toString$0(0)),l=i.shownMixinsAndFunctions,u=i.hiddenMixinsAndFunctions;if(l!=null){r=i.shownVariables;r.toString;r=a+" show "+i._forward_rule0$_memberList$2(l,r);a=r}else{if(u!=null){r=u._base;r=r.get$isNotEmpty(r)}else r=false;if(r){r=i.hiddenVariables;r.toString;r=a+" hide "+i._forward_rule0$_memberList$2(u,r);a=r}}n=i.prefix;if(n!=null)a+=" as "+n+"*";r=i.configuration;a=(r.length!==0?a+(" with ("+o.JSArray_methods.join$1(r,", ")+")"):a)+";";return a.charCodeAt(0)==0?a:a},_forward_rule0$_memberList$2(e,r){var n,i=s.List_List$of(e,true,$.String);for(n=r._base,n=n.get$iterator(n);n.moveNext$0();)i.push("$"+n.get$current(n));return o.JSArray_methods.join$1(i,", ")},$isAstNode0:1,$isStatement0:1,get$span(e){return this.span}};s.ForwardedModuleView0.prototype={get$url(e){var r=this._forwarded_view0$_inner;return r.get$url(r)},get$upstream(){return this._forwarded_view0$_inner.get$upstream()},get$extensionStore(){return this._forwarded_view0$_inner.get$extensionStore()},get$css(e){var r=this._forwarded_view0$_inner;return r.get$css(r)},get$transitivelyContainsCss(){return this._forwarded_view0$_inner.get$transitivelyContainsCss()},get$transitivelyContainsExtensions(){return this._forwarded_view0$_inner.get$transitivelyContainsExtensions()},setVariable$3(e,r,n){var i,a="Undefined variable.",l=this._forwarded_view0$_rule,u=l.shownVariables,_=l.hiddenVariables;if(u!=null&&!u._base.contains$1(0,e))throw s.wrapException(s.SassScriptException$0(a));else if(_!=null&&_._base.contains$1(0,e))throw s.wrapException(s.SassScriptException$0(a));i=l.prefix;if(i!=null){if(!o.JSString_methods.startsWith$1(e,i))throw s.wrapException(s.SassScriptException$0(a));e=o.JSString_methods.substring$1(e,i.length)}return this._forwarded_view0$_inner.setVariable$3(e,r,n)},variableIdentity$1(e){var r=this._forwarded_view0$_rule.prefix;if(r!=null)e=o.JSString_methods.substring$1(e,r.length);return this._forwarded_view0$_inner.variableIdentity$1(e)},$eq(e,r){if(r==null)return false;return r instanceof s.ForwardedModuleView0&&this._forwarded_view0$_inner.$eq(0,r._forwarded_view0$_inner)&&this._forwarded_view0$_rule===r._forwarded_view0$_rule},get$hashCode(e){var r=this._forwarded_view0$_inner;return(r.get$hashCode(r)^s.Primitives_objectHashCode(this._forwarded_view0$_rule))>>>0},cloneCss$0(){return s.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(),this._forwarded_view0$_rule,this.$ti._precomputed1)},toString$0(e){return"forwarded "+this._forwarded_view0$_inner.toString$0(0)},$isModule0:1,get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins}};s.FunctionExpression0.prototype={accept$1$1(e){return e.visitFunctionExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.namespace;r=r!=null?""+(r+"."):"";r+=this.originalName+this.$arguments.toString$0(0);return r.charCodeAt(0)==0?r:r},$isExpression0:1,$isAstNode0:1,get$span(e){return this.span}};s.JSFunction0.prototype={};s.SupportsFunction0.prototype={toString$0(e){return this.name.toString$0(0)+"("+this.$arguments.toString$0(0)+")"},$isAstNode0:1,get$span(e){return this.span}};s.functionClass_closure.prototype={call$0(){var e=$.JSClass,r=e._as(s.allowInteropCaptureThisNamed("sass.SassFunction",new s.functionClass__closure));s.JSClassExtension_injectSuperclass(e._as(new s.SassFunction0(s.BuiltInCallable$function0("f","",new s.functionClass__closure0,null)).constructor),r);return r},$signature:23};s.functionClass__closure.prototype={call$3(e,r,n){var i=o.JSString_methods.indexOf$1(r,"(");if(i===-1||!o.JSString_methods.endsWith$1(r,")"))s.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "'+r+'"'));return new s.SassFunction0(s.BuiltInCallable$function0(o.JSString_methods.substring$2(r,0,i),o.JSString_methods.substring$2(r,i+1,r.length-1),n,null))},"call*":"call$3",$requiredArgCount:3,$signature:420};s.functionClass__closure0.prototype={call$1(e){return o.C__SassNull0},$signature:3};s.SassFunction0.prototype={accept$1$1(e){var r,n;if(!e._serialize0$_inspect)s.throwExpression(s.SassScriptException$0(this.toString$0(0)+" isn't a valid CSS value."));r=e._serialize0$_buffer;r.write$1(0,"get-function(");n=this.callable;e._serialize0$_visitQuotedString$1(n.get$name(n));r.writeCharCode$1(41);return null},accept$1(e){return this.accept$1$1(e,$.dynamic)},assertFunction$1(e){return this},$eq(e,r){if(r==null)return false;return r instanceof s.SassFunction0&&this.callable.$eq(0,r.callable)},get$hashCode(e){var r=this.callable;return r.get$hashCode(r)}};s.FunctionRule0.prototype={accept$1$1(e){return e.visitFunctionRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.children;return"@function "+this.name+"("+this.$arguments.toString$0(0)+") {"+(r&&o.JSArray_methods).join$1(r," ")+"}"}};s.unifyComplex_closure0.prototype={call$1(e){return e.lineBreak},$signature:16};s._weaveParents_closure3.prototype={call$2(e,r){var n,i;if(o.C_ListEquality.equals$2(0,e,r))return e;if(s._complexIsParentSuperselector0(e,r))return r;if(s._complexIsParentSuperselector0(r,e))return e;if(!s._mustUnify0(e,r))return null;n=s.unifyComplex0(s._setArrayType([s.ComplexSelector$0(o.List_empty13,e,false),s.ComplexSelector$0(o.List_empty13,r,false)],$.JSArray_ComplexSelector_2));if(n==null)return null;i=a.getInterceptor$asx(n);if(i.get$length(n)>1)return null;return i.get$first(n).components},$signature:421};s._weaveParents_closure4.prototype={call$1(e){return s._complexIsParentSuperselector0(e.get$first(e),this.group)},$signature:422};s._weaveParents_closure5.prototype={call$1(e){return e.get$length(e)===0},$signature:211};s._weaveParents_closure6.prototype={call$1(e){return a.get$isNotEmpty$asx(e)},$signature:423};s._mustUnify_closure0.prototype={call$1(e){return o.JSArray_methods.any$1(e.selector.components,new s._mustUnify__closure0(this.uniqueSelectors))},$signature:52};s._mustUnify__closure0.prototype={call$1(e){var r;if(!(e instanceof s.IDSelector0))r=e instanceof s.PseudoSelector0&&!e.isClass;else r=true;return r&&this.uniqueSelectors.contains$1(0,e)},$signature:14};s.paths_closure0.prototype={call$2(e,r){var n=this.T;n=a.expand$1$1$ax(r,new s.paths__closure0(e,n),n._eval$1("List<0>"));return s.List_List$of(n,true,n.$ti._eval$1("Iterable.E"))},$signature(){return this.T._eval$1("List>(List>,List<0>)")}};s.paths__closure0.prototype={call$1(e){var r=this.T;return a.map$1$1$ax(this.paths,new s.paths___closure0(e,r),r._eval$1("List<0>"))},$signature(){return this.T._eval$1("Iterable>(0)")}};s.paths___closure0.prototype={call$1(e){var r=s.List_List$of(e,true,this.T);r.push(this.option);return r},$signature(){return this.T._eval$1("List<0>(List<0>)")}};s.listIsSuperselector_closure0.prototype={call$1(e){return o.JSArray_methods.any$1(this.list1,new s.listIsSuperselector__closure0(e))},$signature:16};s.listIsSuperselector__closure0.prototype={call$1(e){return e.isSuperselector$1(this.complex1)},$signature:16};s.complexIsSuperselector_closure0.prototype={call$1(e){return e.combinators.length>1},$signature:52};s._selectorPseudoIsSuperselector_closure6.prototype={call$1(e){return s.listIsSuperselector0(this.selector1.components,e.components)},$signature:76};s._selectorPseudoIsSuperselector_closure7.prototype={call$1(e){var r,n,i;if(e.leadingCombinators.length===0){r=e.components;n=s._setArrayType([],$.JSArray_ComplexSelectorComponent_2);i=this.parents;if(i!=null)o.JSArray_methods.addAll$1(n,i);n.push(new s.ComplexSelectorComponent0(this.compound2,s.List_List$unmodifiable(o.List_empty13,$.Combinator_2)));r=s.complexIsSuperselector0(r,n)}else r=false;return r},$signature:16};s._selectorPseudoIsSuperselector_closure8.prototype={call$1(e){return s.listIsSuperselector0(this.selector1.components,e.components)},$signature:76};s._selectorPseudoIsSuperselector_closure9.prototype={call$1(e){return s.listIsSuperselector0(this.selector1.components,e.components)},$signature:76};s._selectorPseudoIsSuperselector_closure10.prototype={call$1(e){if(e.accept$1(o._IsBogusVisitor_true0))return false;return o.JSArray_methods.any$1(this.compound2.components,new s._selectorPseudoIsSuperselector__closure0(e,this.pseudo1))},$signature:16};s._selectorPseudoIsSuperselector__closure0.prototype={call$1(e){var r,n=this;if(e instanceof s.TypeSelector0)return o.JSArray_methods.any$1(o.JSArray_methods.get$last(n.complex.components).selector.components,new s._selectorPseudoIsSuperselector___closure1(e));else if(e instanceof s.IDSelector0)return o.JSArray_methods.any$1(o.JSArray_methods.get$last(n.complex.components).selector.components,new s._selectorPseudoIsSuperselector___closure2(e));else if(e instanceof s.PseudoSelector0&&e.name===n.pseudo1.name){r=e.selector;if(r==null)return false;return s.listIsSuperselector0(r.components,s._setArrayType([n.complex],$.JSArray_ComplexSelector_2))}else return false},$signature:14};s._selectorPseudoIsSuperselector___closure1.prototype={call$1(e){var r;if(e instanceof s.TypeSelector0){r=this.simple2.name.$eq(0,e.name);r=!r}else r=false;return r},$signature:14};s._selectorPseudoIsSuperselector___closure2.prototype={call$1(e){var r;if(e instanceof s.IDSelector0){r=e.name;r=this.simple2.name!==r}else r=false;return r},$signature:14};s._selectorPseudoIsSuperselector_closure11.prototype={call$1(e){var r=o.C_ListEquality.equals$2(0,this.selector1.components,e.components);return r},$signature:76};s._selectorPseudoIsSuperselector_closure12.prototype={call$1(e){var r,n;if(!(e instanceof s.PseudoSelector0))return false;r=this.pseudo1;if(e.name!==r.name)return false;if(e.argument!=r.argument)return false;n=e.selector;if(n==null)return false;return s.listIsSuperselector0(this.selector1.components,n.components)},$signature:14};s._selectorPseudoArgs_closure1.prototype={call$1(e){return e.isClass===this.isClass&&e.name===this.name},$signature:425};s._selectorPseudoArgs_closure2.prototype={call$1(e){return e.selector},$signature:426};s.globalFunctions_closure0.prototype={call$1(e){var r=a.getInterceptor$asx(e);return r.$index(e,0).get$isTruthy()?r.$index(e,1):r.$index(e,2)},$signature:3};s.IDSelector0.prototype={get$minSpecificity(){return s._asInt(Math.pow(s.SimpleSelector0.prototype.get$minSpecificity.call(this),2))},accept$1$1(e){return e.visitIDSelector$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},addSuffix$1(e){return new s.IDSelector0(this.name+e)},unify$1(e){if(o.JSArray_methods.any$1(e,new s.IDSelector_unify_closure0(this)))return null;return this.super$SimpleSelector$unify0(e)},$eq(e,r){if(r==null)return false;return r instanceof s.IDSelector0&&r.name===this.name},get$hashCode(e){return o.JSString_methods.get$hashCode(this.name)}};s.IDSelector_unify_closure0.prototype={call$1(e){var r;if(e instanceof s.IDSelector0){r=e.name;r=this.$this.name!==r}else r=false;return r},$signature:14};s.IfExpression0.prototype={accept$1$1(e){return e.visitIfExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return"if"+this.$arguments.toString$0(0)},$isExpression0:1,$isAstNode0:1,get$span(e){return this.span}};s.IfRule0.prototype={accept$1$1(e){return e.visitIfRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=s.ListExtensions_mapIndexed(this.clauses,new s.IfRule_toString_closure0,$.IfClause_2,$.String).join$1(0," "),n=this.lastClause;return n!=null?r+(" "+n.toString$0(0)):r},$isAstNode0:1,$isStatement0:1,get$span(e){return this.span}};s.IfRule_toString_closure0.prototype={call$2(e,r){var n=e===0?"if":"else if";return"@"+n+" "+r.expression.toString$0(0)+" {"+o.JSArray_methods.join$1(r.children," ")+"}"},$signature:427};s.IfRuleClause0.prototype={};s.IfRuleClause$__closure0.prototype={call$1(e){var r;if(!(e instanceof s.VariableDeclaration0))if(!(e instanceof s.FunctionRule0))if(!(e instanceof s.MixinRule0))r=e instanceof s.ImportRule0&&o.JSArray_methods.any$1(e.imports,new s.IfRuleClause$___closure0);else r=true;else r=true;else r=true;return r},$signature:230};s.IfRuleClause$___closure0.prototype={call$1(e){return e instanceof s.DynamicImport0},$signature:231};s.IfClause0.prototype={toString$0(e){return"@if "+this.expression.toString$0(0)+" {"+o.JSArray_methods.join$1(this.children," ")+"}"}};s.ElseClause0.prototype={toString$0(e){return"@else {"+o.JSArray_methods.join$1(this.children," ")+"}"}};s.ImmutableList.prototype={};s.ImmutableMap.prototype={};s.immutableMapToDartMap_closure.prototype={call$3(e,r,n){this.dartMap.$indexSet(0,r,e)},"call*":"call$3",$requiredArgCount:3,$signature:430};s.NodeImporter.prototype={loadRelative$3(e,r,n){var i,a,l=null;if(u.$get$url().style.rootLength$1(e)>0){if(!o.JSString_methods.startsWith$1(e,"/")&&!o.JSString_methods.startsWith$1(e,"file:"))return l;return this._tryPath$2(u.$get$context().style.pathFromUri$1(s._parseUri(e)),n)}if((r==null?l:r.get$scheme())!=="file")return l;i=u.$get$context();a=i.style;return this._tryPath$2(s.join(i.dirname$1(a.pathFromUri$1(s._parseUri(r))),a.pathFromUri$1(s._parseUri(e)),l),n)},load$3(e,r,n,i){var o,l,u,_,c,p,h,d,m,g=this,f=g._previousToString$1(n);for(o=g._implementation$_importers,l=o.length,u=g._implementation$_options,_=$.RenderContextOptions,c=$.JSArray_Object,p=0;p")),new s.ImportCache_humanize_closure3,r._eval$1("MappedIterable")),new s.ImportCache_humanize_closure4);if(n==null)return e;i=u.$get$url();return n.resolve$1(s.ParsedPath_ParsedPath$parse(e.get$path(e),i.style).get$basename())},sourceMapUrl$1(e,r){var n=this._import_cache$_resultsCache.$index(0,r);n=n==null?null:n.get$sourceMapUrl(n);return n==null?r:n}};s.ImportCache_canonicalize_closure1.prototype={call$0(){var e,r=this,n=r.baseUrl,i=n==null?null:n.resolveUri$1(r.url);if(i==null)i=r.url;n=r.baseImporter;e=r.$this._import_cache$_canonicalize$3(n,i,r.forImport);if(e==null)return null;return new s.Tuple3(n,e,i,$.Tuple3_Importer_Uri_Uri_2)},$signature:232};s.ImportCache_canonicalize_closure2.prototype={call$0(){var e,r,n,i,a,o,l,u;for(e=this.$this,r=e._import_cache$_importers,n=r.length,i=this.url,a=this.forImport,o=0;o1)return null;e=o.JSArray_methods.get$first(r);return typeof e=="string"?e:null},get$initialPlain(){var e=o.JSArray_methods.get$first(this.contents);return typeof e=="string"?e:""},Interpolation$20(e,r){var n,i,a,o,l,u,_="contents";for(n=this.contents,i=n.length,a=$.Expression_2,o=0;o")).join$0(0)},$isAstNode0:1,get$span(e){return this.span}};s.Interpolation_toString_closure0.prototype={call$1(e){return typeof e=="string"?e:"#{"+s.S(e)+"}"},$signature:47};s.SupportsInterpolation0.prototype={toString$0(e){return"#{"+this.expression.toString$0(0)+"}"},$isAstNode0:1,get$span(e){return this.span}};s.InterpolationBuffer0.prototype={writeCharCode$1(e){this._interpolation_buffer0$_text._contents+=s.Primitives_stringFromCharCode(e);return null},add$1(e,r){this._interpolation_buffer0$_flushText$0();this._interpolation_buffer0$_contents.push(r)},addInterpolation$1(e){var r,n,i=this,a=e.contents;if(a.length===0)return;r=o.JSArray_methods.get$first(a);if(typeof r=="string"){i._interpolation_buffer0$_text._contents+=r;a=s.SubListIterable$(a,1,null,s._arrayInstanceType(a)._precomputed1)}i._interpolation_buffer0$_flushText$0();n=i._interpolation_buffer0$_contents;o.JSArray_methods.addAll$1(n,a);if(typeof o.JSArray_methods.get$last(n)=="string")i._interpolation_buffer0$_text._contents+=s.S(n.pop())},_interpolation_buffer0$_flushText$0(){var e=this._interpolation_buffer0$_text,r=e._contents;if(r.length===0)return;this._interpolation_buffer0$_contents.push(r.charCodeAt(0)==0?r:r);e._contents=""},interpolation$1(e){var r=s.List_List$of(this._interpolation_buffer0$_contents,true,$.Object),n=this._interpolation_buffer0$_text._contents;if(n.length!==0)r.push(n.charCodeAt(0)==0?n:n);return s.Interpolation$0(r,e)},toString$0(e){var r,n,i,a,o;for(r=this._interpolation_buffer0$_contents,n=r.length,i=0,a="";i=48&&e<=57))break;i+=s.Primitives_stringFromCharCode(n.readChar$0())}if(n.peekChar$0()===46){i+=s.Primitives_stringFromCharCode(n.readChar$0());while(true){e=n.peekChar$0();if(!(e!=null&&e>=48&&e<=57))break;i+=s.Primitives_stringFromCharCode(n.readChar$0())}}if(this.scanIdentChar$1(101)){i+=s.Primitives_stringFromCharCode(101);r=n.peekChar$0();if(r===43||r===45)i+=s.Primitives_stringFromCharCode(n.readChar$0());if(!s.isDigit0(n.peekChar$0()))n.error$1(0,"Expected digit.");while(true){e=n.peekChar$0();if(!(e!=null&&e>=48&&e<=57))break;i+=s.Primitives_stringFromCharCode(n.readChar$0())}}n.expectChar$1(37);i+=s.Primitives_stringFromCharCode(37);return i.charCodeAt(0)==0?i:i}};s.KeyframeSelectorParser_parse_closure0.prototype={call$0(){var e=s._setArrayType([],$.JSArray_String),r=this.$this,n=r.scanner;do{r.whitespace$0();if(r.lookingAtIdentifier$0())if(r.scanIdentifier$1("from"))e.push("from");else{r.expectIdentifier$2$name("to",'"to" or "from"');e.push("to")}else e.push(r._keyframe_selector$_percentage$0());r.whitespace$0()}while(n.scanChar$1(44));n.expectDone$0();return e},$signature:45};s.render_closure.prototype={call$0(){var e,r;try{this.callback.call$2(null,s.renderSync(this.options))}catch(r){e=s.unwrapException(r);this.callback.call$2(e,null)}return null},$signature:1};s.render_closure0.prototype={call$1(e){this.callback.call$2(null,e)},$signature:436};s.render_closure1.prototype={call$2(e,r){var n,i,o=null,l=this.callback;if(e instanceof s.SassException0)l.call$2(s._wrapException(e,r),o);else{n=a.toString$0$(e);i=s.getTrace0(e);l.call$2(s._newRenderError(n,i==null?r:i,o,o,o,3),o)}},$signature:72};s._parseFunctions_closure.prototype={call$2(e,r){var n,i,o,l,u,_,c,$=this,p=null;try{p=s.ScssParser$0(e,null,null).parseSignature$1$requireParens(false)}catch(o){l=s.unwrapException(o);if(l instanceof s.SassFormatException0){n=l;i=s.getTraceFromException(o);l=n;u=a.getInterceptor$z(l);s.throwWithTrace0(new s.SassFormatException0('Invalid signature "'+e+'": '+n._span_exception$_message,s.SourceSpanException.prototype.get$span.call(u,l)),i)}else throw o}l=$.options;_={options:s._contextOptions(l,$.start)};a.set$context$x(a.get$options$x(_),_);c=a.get$fiber$x(l);if(c!=null)$.result.push(s.BuiltInCallable$parsed(p.item1,p.item2,new s._parseFunctions__closure(c,r,_)));else{l=$.result;if(!$.asynch)l.push(s.BuiltInCallable$parsed(p.item1,p.item2,new s._parseFunctions__closure0(r,_)));else l.push(new s.AsyncBuiltInCallable0(p.item1,p.item2,new s._parseFunctions__closure1(r,_)))}},$signature:129};s._parseFunctions__closure.prototype={call$1(e){var r,n=this.fiber,i=a.get$current$x(n),o=$.Object;o=s.List_List$of(a.map$1$1$ax(e,s.value1__wrapValue$closure(),o),true,o);o.push(s.allowInterop(new s._parseFunctions___closure0(i)));r=a.apply$2$x($.JSFunction._as(this.callback),this.context,o);return s.unwrapValue(s._asBool(u.$get$_isUndefined().call$1(r))?s.runZoned(new s._parseFunctions___closure1(n),null,$.nullable_Object):r)},$signature:3};s._parseFunctions___closure0.prototype={call$1(e){s.scheduleMicrotask(new s._parseFunctions____closure(this.currentFiber,e))},call$0(){return this.call$1(null)},"call*":"call$1",$requiredArgCount:0,$defaultValues(){return[null]},$signature:100};s._parseFunctions____closure.prototype={call$0(){return a.run$1$x(this.currentFiber,this.result)},$signature:0};s._parseFunctions___closure1.prototype={call$0(){return a.yield$0$x(this.fiber)},$signature:86};s._parseFunctions__closure0.prototype={call$1(e){return s.unwrapValue(a.apply$2$x($.JSFunction._as(this.callback),this.context,a.map$1$1$ax(e,s.value1__wrapValue$closure(),$.Object).toList$0(0)))},$signature:3};s._parseFunctions__closure1.prototype={call$1(e){return this.$call$body$_parseFunctions__closure(e)},$call$body$_parseFunctions__closure(e){var r=0,n=s._makeAsyncAwaitCompleter($.Value_2),i,o=this,l,_,c,p;var h=s._wrapJsFunctionForAsync((function(d,m){if(d===1)return s._asyncRethrow(m,n);while(true)switch(r){case 0:_=new s._Future(u.Zone__current,$._Future_nullable_Object);c=$.Object;c=s.List_List$of(a.map$1$1$ax(e,s.value1__wrapValue$closure(),c),true,c);c.push(s.allowInterop(new s._parseFunctions___closure(new s._AsyncCompleter(_,$._AsyncCompleter_nullable_Object))));l=a.apply$2$x($.JSFunction._as(o.callback),o.context,c);p=s;r=s._asBool(u.$get$_isUndefined().call$1(l))?3:5;break;case 3:r=6;return s._asyncAwait(_,h);case 6:r=4;break;case 5:m=l;case 4:i=p.unwrapValue(m);r=1;break;case 1:return s._asyncReturn(i,n)}}));return s._asyncStartSync(h,n)},$signature:94};s._parseFunctions___closure.prototype={call$1(e){return this.completer.complete$1(e)},call$0(){return this.call$1(null)},"call*":"call$1",$requiredArgCount:0,$defaultValues(){return[null]},$signature:212};s._parseImporter_closure.prototype={call$1(e){return $.JSFunction._as(s.allowInteropCaptureThis(new s._parseImporter__closure(this.fiber,e)))},$signature:437};s._parseImporter__closure.prototype={call$4(e,r,n,i){var o=this.fiber,l=a.apply$2$x(this.importer,e,s._setArrayType([r,n,s.allowInterop(new s._parseImporter___closure(a.get$current$x(o)))],$.JSArray_Object));if(s._asBool(u.$get$_isUndefined().call$1(l)))return s.runZoned(new s._parseImporter___closure0(o),null,$.Object);return l},call$3(e,r,n){return this.call$4(e,r,n,null)},"call*":"call$4",$requiredArgCount:3,$defaultValues(){return[null]},$signature:438};s._parseImporter___closure.prototype={call$1(e){s.scheduleMicrotask(new s._parseImporter____closure(this.currentFiber,e))},$signature:439};s._parseImporter____closure.prototype={call$0(){return a.run$1$x(this.currentFiber,this.result)},$signature:0};s._parseImporter___closure0.prototype={call$0(){return a.yield$0$x(this.fiber)},$signature:86};s.LimitedMapView0.prototype={get$keys(e){return this._limited_map_view0$_keys},get$length(e){return this._limited_map_view0$_keys._collection$_length},get$isEmpty(e){return this._limited_map_view0$_keys._collection$_length===0},get$isNotEmpty(e){return this._limited_map_view0$_keys._collection$_length!==0},$index(e,r){return this._limited_map_view0$_keys.contains$1(0,r)?this._limited_map_view0$_map.$index(0,r):null},containsKey$1(e){return this._limited_map_view0$_keys.contains$1(0,e)},remove$1(e,r){return this._limited_map_view0$_keys.contains$1(0,r)?this._limited_map_view0$_map.remove$1(0,r):null}};s.ListExpression0.prototype={accept$1$1(e){return e.visitListExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this,n=r.hasBrackets,i=n?""+s.Primitives_stringFromCharCode(91):"",a=r.contents,l=r.separator===o.ListSeparator_kWM0?", ":" ";l=i+new s.MappedListIterable(a,new s.ListExpression_toString_closure0(r),s._arrayInstanceType(a)._eval$1("MappedListIterable<1,String>")).join$1(0,l);n=n?l+s.Primitives_stringFromCharCode(93):l;return n.charCodeAt(0)==0?n:n},_list3$_elementNeedsParens$1(e){var r;if(e instanceof s.ListExpression0){if(e.contents.length<2)return false;if(e.hasBrackets)return false;r=e.separator;return this.separator===o.ListSeparator_kWM0?r===o.ListSeparator_kWM0:r!==o.ListSeparator_undecided_null0}if(this.separator!==o.ListSeparator_woc0)return false;if(e instanceof s.UnaryOperationExpression0){r=e.operator;return r===o.UnaryOperator_j2w0||r===o.UnaryOperator_U4G0}return false},$isExpression0:1,$isAstNode0:1,get$span(e){return this.span}};s.ListExpression_toString_closure0.prototype={call$1(e){return this.$this._list3$_elementNeedsParens$1(e)?"("+e.toString$0(0)+")":e.toString$0(0)},$signature:128};s._length_closure2.prototype={call$1(e){var r=a.$index$asx(e,0).get$asList().length;return new s.UnitlessSassNumber0(r,null)},$signature:10};s._nth_closure0.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0),i=r.$index(e,1);return n.get$asList()[n.sassIndexToListIndex$2(i,"n")]},$signature:3};s._setNth_closure0.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0),i=r.$index(e,1),o=r.$index(e,2),l=n.get$asList(),u=s._setArrayType(l.slice(0),s._arrayInstanceType(l));u[n.sassIndexToListIndex$2(i,"n")]=o;return r.$index(e,0).withListContents$1(u)},$signature:21};s._join_closure0.prototype={call$1(e){var r,n,i=a.getInterceptor$asx(e),l=i.$index(e,0),u=i.$index(e,1),_=i.$index(e,2).assertString$1("separator"),p=i.$index(e,3);i=_._string0$_text;if(i==="auto")if(l.get$separator(l)!==o.ListSeparator_undecided_null0)r=l.get$separator(l);else r=u.get$separator(u)!==o.ListSeparator_undecided_null0?u.get$separator(u):o.ListSeparator_woc0;else if(i==="space")r=o.ListSeparator_woc0;else if(i==="comma")r=o.ListSeparator_kWM0;else{if(i!=="slash")throw s.wrapException(s.SassScriptException$0(c.x24separ));r=o.ListSeparator_1gm0}n=p instanceof s.SassString0&&p._string0$_text==="auto"?l.get$hasBrackets():p.get$isTruthy();i=s.List_List$of(l.get$asList(),true,$.Value_2);o.JSArray_methods.addAll$1(i,u.get$asList());return s.SassList$0(i,r,n)},$signature:21};s._append_closure2.prototype={call$1(e){var r,n=a.getInterceptor$asx(e),i=n.$index(e,0),l=n.$index(e,1);n=n.$index(e,2).assertString$1("separator")._string0$_text;if(n==="auto")r=i.get$separator(i)===o.ListSeparator_undecided_null0?o.ListSeparator_woc0:i.get$separator(i);else if(n==="space")r=o.ListSeparator_woc0;else if(n==="comma")r=o.ListSeparator_kWM0;else{if(n!=="slash")throw s.wrapException(s.SassScriptException$0(c.x24separ));r=o.ListSeparator_1gm0}n=s.List_List$of(i.get$asList(),true,$.Value_2);n.push(l);return i.withListContents$2$separator(n,r)},$signature:21};s._zip_closure0.prototype={call$1(e){var r,n,i={},l=a.$index$asx(e,0).get$asList(),u=s._arrayInstanceType(l)._eval$1("MappedListIterable<1,List>"),_=s.List_List$of(new s.MappedListIterable(l,new s._zip__closure2,u),true,u._eval$1("ListIterable.E"));if(_.length===0)return o.SassList_yfz0;i.i=0;r=s._setArrayType([],$.JSArray_SassList_2);for(l=s._arrayInstanceType(_)._eval$1("MappedListIterable<1,Value0>"),u=$.Value_2;o.JSArray_methods.every$1(_,new s._zip__closure3(i));){n=s.List_List$from(new s.MappedListIterable(_,new s._zip__closure4(i),l),false,u);n.fixed$length=Array;n.immutable$list=Array;r.push(new s.SassList0(n,o.ListSeparator_woc0,false));++i.i}return s.SassList$0(r,o.ListSeparator_kWM0,false)},$signature:21};s._zip__closure2.prototype={call$1(e){return e.get$asList()},$signature:441};s._zip__closure3.prototype={call$1(e){return this._box_0.i!==a.get$length$asx(e)},$signature:442};s._zip__closure4.prototype={call$1(e){return a.$index$asx(e,this._box_0.i)},$signature:3};s._index_closure2.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=o.JSArray_methods.indexOf$1(r.$index(e,0).get$asList(),r.$index(e,1));if(n===-1)r=o.C__SassNull0;else r=new s.UnitlessSassNumber0(n+1,null);return r},$signature:3};s._separator_closure0.prototype={call$1(e){switch(a.get$separator$x(a.$index$asx(e,0))){case o.ListSeparator_kWM0:return new s.SassString0("comma",false);case o.ListSeparator_1gm0:return new s.SassString0("slash",false);default:return new s.SassString0("space",false)}},$signature:17};s._isBracketed_closure0.prototype={call$1(e){return a.$index$asx(e,0).get$hasBrackets()?o.SassBoolean_true0:o.SassBoolean_false0},$signature:19};s._slash_closure0.prototype={call$1(e){var r=a.$index$asx(e,0).get$asList();if(r.length<2)throw s.wrapException(s.SassScriptException$0("At least two elements are required."));return s.SassList$0(r,o.ListSeparator_1gm0,false)},$signature:21};s.SelectorList0.prototype={get$asSassList(){var e=this.components;return s.SassList$0(new s.MappedListIterable(e,new s.SelectorList_asSassList_closure0,s._arrayInstanceType(e)._eval$1("MappedListIterable<1,Value0>")),o.ListSeparator_kWM0,false)},accept$1$1(e){return e.visitSelectorList$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},unify$1(e){var r,n,i,a,l,u,_,c,p=$.JSArray_ComplexSelector_2,h=s._setArrayType([],p);for(r=this.components,n=r.length,i=e.components,a=i.length,l=0;l>")),$.ComplexSelector_2))},resolveParentSelectors$1(e){return this.resolveParentSelectors$2$implicitParent(e,true)},_list2$_complexContainsParentSelector$1(e){return o.JSArray_methods.any$1(e.components,new s.SelectorList__complexContainsParentSelector_closure0)},_list2$_resolveParentSelectorsCompound$2(e,r){var n,i,a,l=e.selector.components,u=o.JSArray_methods.any$1(l,new s.SelectorList__resolveParentSelectorsCompound_closure2);if(!u&&!(o.JSArray_methods.get$first(l)instanceof s.ParentSelector0))return null;n=u?new s.MappedListIterable(l,new s.SelectorList__resolveParentSelectorsCompound_closure3(r),s._arrayInstanceType(l)._eval$1("MappedListIterable<1,SimpleSelector0>")):l;i=o.JSArray_methods.get$first(l);if(!(i instanceof s.ParentSelector0))return s._setArrayType([s.ComplexSelector$0(o.List_empty13,s._setArrayType([new s.ComplexSelectorComponent0(s.CompoundSelector$0(n),s.List_List$unmodifiable(e.combinators,$.Combinator_2))],$.JSArray_ComplexSelectorComponent_2),false)],$.JSArray_ComplexSelector_2);else if(l.length===1&&i.suffix==null)return r.withAdditionalCombinators$1(e.combinators).components;a=r.components;return new s.MappedListIterable(a,new s.SelectorList__resolveParentSelectorsCompound_closure4(i,n,e),s._arrayInstanceType(a)._eval$1("MappedListIterable<1,ComplexSelector0>"))},isSuperselector$1(e){return s.listIsSuperselector0(this.components,e.components)},withAdditionalCombinators$1(e){var r;if(e.length===0)r=this;else{r=this.components;r=s.SelectorList$0(new s.MappedListIterable(r,new s.SelectorList_withAdditionalCombinators_closure0(e),s._arrayInstanceType(r)._eval$1("MappedListIterable<1,ComplexSelector0>")))}return r},get$hashCode(e){return o.C_ListEquality0.hash$1(this.components)},$eq(e,r){if(r==null)return false;return r instanceof s.SelectorList0&&o.C_ListEquality.equals$2(0,this.components,r.components)}};s.SelectorList_asSassList_closure0.prototype={call$1(e){var r,n,i,a,l,u,_,c,p,h=$.JSArray_Value_2,d=s._setArrayType([],h);for(r=e.leadingCombinators,n=r.length,i=0;i"))}r=$.JSArray_ComplexSelector_2;n=s._setArrayType([],r);for(i=e.components,l=i.length,u=A.parent,_=$.Combinator_2,p=$.ComplexSelectorComponent_2,h=e.leadingCombinators,d=$.JSArray_ComplexSelectorComponent_2,m=0;m=e.get$asList().length)return self.undefined;return e.get$asList()[n]},$signature:234};s._ConstructorOptions.prototype={};s.SassList0.prototype={get$separator(e){return this._list1$_separator},get$hasBrackets(){return this._list1$_hasBrackets},get$isBlank(){return!this._list1$_hasBrackets&&o.JSArray_methods.every$1(this._list1$_contents,new s.SassList_isBlank_closure0)},get$asList(){return this._list1$_contents},get$lengthAsList(){return this._list1$_contents.length},SassList$3$brackets0(e,r,n){if(this._list1$_separator===o.ListSeparator_undecided_null0&&this._list1$_contents.length>1)throw s.wrapException(s.ArgumentError$(c.A_list,null))},accept$1$1(e){return e.visitList$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},assertMap$1(e){return this._list1$_contents.length===0?o.SassMap_Map_empty0:this.super$Value$assertMap0(e)},tryMap$0(){return this._list1$_contents.length===0?o.SassMap_Map_empty0:null},$eq(e,r){var n,i=this;if(r==null)return false;if(!(r instanceof s.SassList0&&r._list1$_separator===i._list1$_separator&&r._list1$_hasBrackets===i._list1$_hasBrackets&&o.C_ListEquality.equals$2(0,r._list1$_contents,i._list1$_contents)))n=i._list1$_contents.length===0&&r instanceof s.SassMap0&&r.get$asList().length===0;else n=true;return n},get$hashCode(e){return o.C_ListEquality0.hash$1(this._list1$_contents)}};s.SassList_isBlank_closure0.prototype={call$1(e){return e.get$isBlank()},$signature:46};s.ListSeparator0.prototype={toString$0(e){return this._list1$_name}};s.NodeLogger.prototype={};s.WarnOptions.prototype={};s.DebugOptions.prototype={};s._QuietLogger0.prototype={warn$4$deprecation$span$trace(e,r,n,i,s){},warn$2$span(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,n,null)},warn$3$deprecation$span(e,r,n,i){return this.warn$4$deprecation$span$trace(e,r,n,i,null)}};s.LoudComment0.prototype={get$span(e){return this.text.span},accept$1$1(e){return e.visitLoudComment$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return this.text.toString$0(0)},$isAstNode0:1,$isStatement0:1};s.MapExpression0.prototype={accept$1$1(e){return e.visitMapExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.pairs;return"("+new s.MappedListIterable(r,new s.MapExpression_toString_closure0,s._arrayInstanceType(r)._eval$1("MappedListIterable<1,String>")).join$1(0,", ")+")"},$isExpression0:1,$isAstNode0:1,get$span(e){return this.span}};s.MapExpression_toString_closure0.prototype={call$1(e){return s.S(e.item1)+": "+s.S(e.item2)},$signature:455};s._get_closure0.prototype={call$1(e){var r,n=a.getInterceptor$asx(e),i=n.$index(e,0).assertMap$1("map"),l=s._setArrayType([n.$index(e,1)],$.JSArray_Value_2);o.JSArray_methods.addAll$1(l,n.$index(e,2).get$asList());for(n=s.IterableExtension_get_exceptLast0(l),n=n.get$iterator(n);n.moveNext$0();i=r){r=i._map0$_contents.$index(0,n.get$current(n));if(!(r instanceof s.SassMap0))return o.C__SassNull0}n=i._map0$_contents.$index(0,o.JSArray_methods.get$last(l));return n==null?o.C__SassNull0:n},$signature:3};s._set_closure1.prototype={call$1(e){var r=a.getInterceptor$asx(e);return s._modify0(r.$index(e,0).assertMap$1("map"),s._setArrayType([r.$index(e,1)],$.JSArray_Value_2),new s._set__closure2(e),true)},$signature:3};s._set__closure2.prototype={call$1(e){return a.$index$asx(this.$arguments,2)},$signature:34};s._set_closure2.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertMap$1("map"),i=r.$index(e,1).get$asList();r=i.length;if(r===0)throw s.wrapException(s.SassScriptException$0("Expected $args to contain a key."));else if(r===1)throw s.wrapException(s.SassScriptException$0("Expected $args to contain a value."));return s._modify0(n,o.JSArray_methods.sublist$2(i,0,r-1),new s._set__closure1(i),true)},$signature:3};s._set__closure1.prototype={call$1(e){return o.JSArray_methods.get$last(this.args)},$signature:34};s._merge_closure1.prototype={call$1(e){var r,n,i,o=a.getInterceptor$asx(e),l=o.$index(e,0).assertMap$1("map1"),u=o.$index(e,1).assertMap$1("map2");o=$.Value_2;r=s.LinkedHashMap_LinkedHashMap$_empty(o,o);for(n=l._map0$_contents,n=n.get$entries(n),n=n.get$iterator(n);n.moveNext$0();){i=n.get$current(n);r.$indexSet(0,i.key,i.value)}for(n=u._map0$_contents,n=n.get$entries(n),n=n.get$iterator(n);n.moveNext$0();){i=n.get$current(n);r.$indexSet(0,i.key,i.value)}return new s.SassMap0(s.ConstantMap_ConstantMap$from(r,o,o))},$signature:40};s._merge_closure2.prototype={call$1(e){var r,n=a.getInterceptor$asx(e),i=n.$index(e,0).assertMap$1("map1"),l=n.$index(e,1).get$asList();n=l.length;if(n===0)throw s.wrapException(s.SassScriptException$0("Expected $args to contain a key."));else if(n===1)throw s.wrapException(s.SassScriptException$0("Expected $args to contain a map."));r=o.JSArray_methods.get$last(l).assertMap$1("map2");return s._modify0(i,s.IterableExtension_get_exceptLast0(l),new s._merge__closure0(r),true)},$signature:3};s._merge__closure0.prototype={call$1(e){var r,n,i,a,o=e.tryMap$0();if(o==null)return this.map2;r=$.Value_2;n=s.LinkedHashMap_LinkedHashMap$_empty(r,r);for(i=o._map0$_contents,i=i.get$entries(i),i=i.get$iterator(i);i.moveNext$0();){a=i.get$current(i);n.$indexSet(0,a.key,a.value)}for(i=this.map2._map0$_contents,i=i.get$entries(i),i=i.get$iterator(i);i.moveNext$0();){a=i.get$current(i);n.$indexSet(0,a.key,a.value)}return new s.SassMap0(s.ConstantMap_ConstantMap$from(n,r,r))},$signature:456};s._deepMerge_closure0.prototype={call$1(e){var r=a.getInterceptor$asx(e);return s._deepMergeImpl0(r.$index(e,0).assertMap$1("map1"),r.$index(e,1).assertMap$1("map2"))},$signature:40};s._deepRemove_closure0.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertMap$1("map"),i=s._setArrayType([r.$index(e,1)],$.JSArray_Value_2);o.JSArray_methods.addAll$1(i,r.$index(e,2).get$asList());return s._modify0(n,s.IterableExtension_get_exceptLast0(i),new s._deepRemove__closure0(i),false)},$signature:3};s._deepRemove__closure0.prototype={call$1(e){var r,n,i=e.tryMap$0();if(i!=null&&i._map0$_contents.containsKey$1(o.JSArray_methods.get$last(this.keys))){r=$.Value_2;n=s.LinkedHashMap_LinkedHashMap$of(i._map0$_contents,r,r);n.remove$1(0,o.JSArray_methods.get$last(this.keys));return new s.SassMap0(s.ConstantMap_ConstantMap$from(n,r,r))}return e},$signature:34};s._remove_closure1.prototype={call$1(e){return a.$index$asx(e,0).assertMap$1("map")},$signature:40};s._remove_closure2.prototype={call$1(e){var r,n,i,l=a.getInterceptor$asx(e),u=l.$index(e,0).assertMap$1("map"),_=s._setArrayType([l.$index(e,1)],$.JSArray_Value_2);o.JSArray_methods.addAll$1(_,l.$index(e,2).get$asList());l=$.Value_2;r=s.LinkedHashMap_LinkedHashMap$of(u._map0$_contents,l,l);for(n=_.length,i=0;i<_.length;_.length===n||(0,s.throwConcurrentModificationError)(_),++i)r.remove$1(0,_[i]);return new s.SassMap0(s.ConstantMap_ConstantMap$from(r,l,l))},$signature:40};s._keys_closure0.prototype={call$1(e){var r=a.$index$asx(e,0).assertMap$1("map")._map0$_contents;return s.SassList$0(r.get$keys(r),o.ListSeparator_kWM0,false)},$signature:21};s._values_closure0.prototype={call$1(e){var r=a.$index$asx(e,0).assertMap$1("map")._map0$_contents;return s.SassList$0(r.get$values(r),o.ListSeparator_kWM0,false)},$signature:21};s._hasKey_closure0.prototype={call$1(e){var r,n=a.getInterceptor$asx(e),i=n.$index(e,0).assertMap$1("map"),l=s._setArrayType([n.$index(e,1)],$.JSArray_Value_2);o.JSArray_methods.addAll$1(l,n.$index(e,2).get$asList());for(n=s.IterableExtension_get_exceptLast0(l),n=n.get$iterator(n);n.moveNext$0();i=r){r=i._map0$_contents.$index(0,n.get$current(n));if(!(r instanceof s.SassMap0))return o.SassBoolean_false0}return i._map0$_contents.containsKey$1(o.JSArray_methods.get$last(l))?o.SassBoolean_true0:o.SassBoolean_false0},$signature:19};s._modify__modifyNestedMap0.prototype={call$1(e){var r,n=this,i=$.Value_2,a=s.LinkedHashMap_LinkedHashMap$of(e._map0$_contents,i,i),l=n.keyIterator,u=l.get$current(l);if(!l.moveNext$0()){l=a.$index(0,u);if(l==null)l=o.C__SassNull0;a.$indexSet(0,u,n.modify.call$1(l));return new s.SassMap0(s.ConstantMap_ConstantMap$from(a,i,i))}l=a.$index(0,u);r=l==null?null:l.tryMap$0();l=r==null;if(l&&!n.addNesting)return new s.SassMap0(s.ConstantMap_ConstantMap$from(a,i,i));a.$indexSet(0,u,n.call$1(l?o.SassMap_Map_empty0:r));return new s.SassMap0(s.ConstantMap_ConstantMap$from(a,i,i))},$signature:457};s._deepMergeImpl_closure0.prototype={call$2(e,r){var n,i,a=this.result,o=a.$index(0,e),l=o==null?null:o.tryMap$0();if(l==null)a.$indexSet(0,e,r);else{n=r.tryMap$0();if(n!=null){i=s._deepMergeImpl0(l,n);if(i===l)return;a.$indexSet(0,e,i)}else a.$indexSet(0,e,r)}},$signature:54};s._NodeSassMap.prototype={};s.legacyMapClass_closure.prototype={call$3(e,r,n){var i,o,l,u;if(n==null){r.toString;i=$.Value_2;o=s.Iterable_Iterable$generate(r,new s.legacyMapClass__closure,i);l=s.Iterable_Iterable$generate(r,new s.legacyMapClass__closure0,i);u=s.LinkedHashMap_LinkedHashMap(null,null,null,i,i);s.MapBase__fillMapWithIterables(u,o,l);i=new s.SassMap0(s.ConstantMap_ConstantMap$from(u,i,i))}else i=n;a.set$dartValue$x(e,i)},call$2(e,r){return this.call$3(e,r,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues(){return[null]},$signature:458};s.legacyMapClass__closure.prototype={call$1(e){return new s.UnitlessSassNumber0(e,null)},$signature:459};s.legacyMapClass__closure0.prototype={call$1(e){return o.C__SassNull0},$signature:233};s.legacyMapClass_closure0.prototype={call$2(e,r){var n=a.get$dartValue$x(e)._map0$_contents;return s.wrapValue(a.elementAt$1$ax(n.get$keys(n),r))},$signature:235};s.legacyMapClass_closure1.prototype={call$2(e,r){var n=a.get$dartValue$x(e)._map0$_contents;return s.wrapValue(n.get$values(n).elementAt$1(0,r))},$signature:235};s.legacyMapClass_closure2.prototype={call$1(e){var r=a.get$dartValue$x(e)._map0$_contents;return r.get$length(r)},$signature:461};s.legacyMapClass_closure3.prototype={call$3(e,r,n){var i,o,l,u,_,c,p,h=a.getInterceptor$x(e);s.RangeError_checkValidIndex(r,h.get$dartValue(e)._map0$_contents,"index");i=s.unwrapValue(n);o=$.Value_2;l=s.LinkedHashMap_LinkedHashMap$_empty(o,o);for(u=h.get$dartValue(e)._map0$_contents,u=u.get$entries(u),u=u.get$iterator(u),_=0;u.moveNext$0();){c=u.get$current(u);if(_===r)l.$indexSet(0,i,c.value);else{p=c.key;if(i.$eq(0,p))throw s.wrapException(s.ArgumentError$value(n,"key","is already in the map"));l.$indexSet(0,p,c.value)}++_}h.set$dartValue(e,new s.SassMap0(s.ConstantMap_ConstantMap$from(l,o,o)))},"call*":"call$3",$requiredArgCount:3,$signature:236};s.legacyMapClass_closure4.prototype={call$3(e,r,n){var i,o,l,u=a.getInterceptor$x(e),_=u.get$dartValue(e)._map0$_contents,c=a.elementAt$1$ax(_.get$keys(_),r);_=$.Value_2;i=s.LinkedHashMap_LinkedHashMap$_empty(_,_);for(o=u.get$dartValue(e)._map0$_contents,o=o.get$entries(o),o=o.get$iterator(o);o.moveNext$0();){l=o.get$current(o);i.$indexSet(0,l.key,l.value)}i.$indexSet(0,c,s.unwrapValue(n));u.set$dartValue(e,new s.SassMap0(s.ConstantMap_ConstantMap$from(i,_,_)))},"call*":"call$3",$requiredArgCount:3,$signature:236};s.mapClass_closure.prototype={call$0(){var e=$.JSClass,r=e._as(s.allowInteropCaptureThisNamed("sass.SassMap",new s.mapClass__closure)),n=a.getInterceptor$x(r);s.defineGetter(n.get$$prototype(r),"contents",new s.mapClass__closure0,null);n.get$$prototype(r).get=s.allowInteropCaptureThisNamed("get",new s.mapClass__closure1);s.JSClassExtension_injectSuperclass(e._as(o.SassMap_Map_empty0.constructor),r);return r},$signature:23};s.mapClass__closure.prototype={call$2(e,r){var n;if(r==null)n=o.SassMap_Map_empty0;else{n=$.Value_2;n=new s.SassMap0(s.ConstantMap_ConstantMap$from(s.immutableMapToDartMap(r).cast$2$0(0,n,n),n,n))}return n},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues(){return[null]},$signature:463};s.mapClass__closure0.prototype={call$1(e){return s.dartMapToImmutableMap(e._map0$_contents)},$signature:464};s.mapClass__closure1.prototype={call$2(e,r){var n,i,a;if(typeof r=="number"){n=o.JSNumber_methods.floor$0(r);if(n<0){i=e._map0$_contents;n=i.get$length(i)+n}if(n>=0){i=e._map0$_contents;i=n>=i.get$length(i)}else i=true;if(i)return self.undefined;i=e._map0$_contents;a=i.get$entries(i).elementAt$1(0,n);return s.SassList$0(s._setArrayType([a.key,a.value],$.JSArray_Value_2),o.ListSeparator_woc0,false)}else{i=e._map0$_contents.$index(0,r);return i==null?self.undefined:i}},$signature:465};s.SassMap0.prototype={get$separator(e){var r=this._map0$_contents;return r.get$isEmpty(r)?o.ListSeparator_undecided_null0:o.ListSeparator_kWM0},get$asList(){var e=s._setArrayType([],$.JSArray_Value_2);this._map0$_contents.forEach$1(0,new s.SassMap_asList_closure0(e));return e},get$lengthAsList(){var e=this._map0$_contents;return e.get$length(e)},accept$1$1(e){return e.visitMap$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},assertMap$1(e){return this},tryMap$0(){return this},$eq(e,r){var n;if(r==null)return false;if(!(r instanceof s.SassMap0&&o.C_MapEquality.equals$2(0,r._map0$_contents,this._map0$_contents))){n=this._map0$_contents;n=n.get$isEmpty(n)&&r instanceof s.SassList0&&r._list1$_contents.length===0}else n=true;return n},get$hashCode(e){var r=this._map0$_contents;return r.get$isEmpty(r)?o.C_ListEquality0.hash$1(o.List_empty19):o.C_MapEquality.hash$1(r)}};s.SassMap_asList_closure0.prototype={call$2(e,r){this.result.push(s.SassList$0(s._setArrayType([e,r],$.JSArray_Value_2),o.ListSeparator_woc0,false))},$signature:54};s._ceil_closure0.prototype={call$1(e){return o.JSNumber_methods.ceil$0(e)},$signature:41};s._clamp_closure0.prototype={call$1(e){var r=a.getInterceptor$asx(e),n=r.$index(e,0).assertNumber$1("min"),i=r.$index(e,1).assertNumber$1("number"),s=r.$index(e,2).assertNumber$1("max");i.convertValueToMatch$3(n,"number","min");s.convertValueToMatch$3(n,"max","min");if(n.greaterThanOrEquals$1(s).value)return n;if(n.greaterThanOrEquals$1(i).value)return n;if(i.greaterThanOrEquals$1(s).value)return s;return i},$signature:10};s._floor_closure0.prototype={call$1(e){return o.JSNumber_methods.floor$0(e)},$signature:41};s._max_closure0.prototype={call$1(e){var r,n,i,o,l;for(r=a.$index$asx(e,0).get$asList(),n=r.length,i=null,o=0;o"),c=s.List_List$of(new s.MappedListIterable(u,new s._hypot__closure0,_),true,_._eval$1("ListIterable.E"));u=c.length;if(u===0)throw s.wrapException(s.SassScriptException$0("At least one argument must be passed."));for(r=0,n=0;nb.length;x=a?v:b;if(a)v=b;if(!o.JSArray_methods.every$1(v,o.JSArray_methods.get$contains(x)))return o._SingletonCssMediaQueryMergeResult_unrepresentable0;f=x;y=l;S=n}else if(a||s.equalsIgnoreCase0(i,E)){y=(p||s.equalsIgnoreCase0(c,E))&&d?C:h;a=s.List_List$of(w.conditions,true,$.String);o.JSArray_methods.addAll$1(a,e.conditions);f=a;S=_}else{if(p||s.equalsIgnoreCase0(c,E)){a=s.List_List$of(w.conditions,true,$.String);o.JSArray_methods.addAll$1(a,e.conditions);f=a;S=n}else{if(l!=h)return o._SingletonCssMediaQueryMergeResult_empty0;else{S=n==null?_:n;a=s.List_List$of(w.conditions,true,$.String);o.JSArray_methods.addAll$1(a,e.conditions)}f=a}y=l}i=y==l?i:c;return new s.MediaQuerySuccessfulMergeResult0(s.CssMediaQuery$type0(i,f,S==n?r:u))},$eq(e,r){if(r==null)return false;return r instanceof s.CssMediaQuery0&&r.modifier==this.modifier&&r.type==this.type&&o.C_ListEquality.equals$2(0,r.conditions,this.conditions)},get$hashCode(e){return a.get$hashCode$(this.modifier)^a.get$hashCode$(this.type)^o.C_ListEquality0.hash$1(this.conditions)},toString$0(e){var r,n=this,i=n.modifier;i=i!=null?""+(i+" "):"";r=n.type;if(r!=null){i+=r;if(n.conditions.length!==0)i+=" and "}r=n.conjunction?" and ":" or ";r=i+o.JSArray_methods.join$1(n.conditions,r);return r.charCodeAt(0)==0?r:r}};s._SingletonCssMediaQueryMergeResult0.prototype={toString$0(e){return this._media_query0$_name}};s.MediaQuerySuccessfulMergeResult0.prototype={};s.MediaQueryParser0.prototype={parse$0(){return this.wrapSpanFormatException$1(new s.MediaQueryParser_parse_closure0(this))},_media_query1$_mediaQuery$0(){var e,r,n,i,a,l,u=this,_="and",c=null;if(u.scanner.peekChar$0()===40){e=s._setArrayType([u._media_query1$_mediaInParens$0()],$.JSArray_String);u.whitespace$0();if(u.scanIdentifier$1(_)){u.expectWhitespace$0();o.JSArray_methods.addAll$1(e,u._media_query1$_mediaLogicSequence$1(_));r=true}else if(u.scanIdentifier$1("or")){u.expectWhitespace$0();o.JSArray_methods.addAll$1(e,u._media_query1$_mediaLogicSequence$1("or"));r=false}else r=true;return s.CssMediaQuery$condition0(e,r)}n=u.identifier$0();if(s.equalsIgnoreCase0(n,"not")){u.expectWhitespace$0();if(!u.lookingAtIdentifier$0())return s.CssMediaQuery$condition0(s._setArrayType(["(not "+u._media_query1$_mediaInParens$0()+")"],$.JSArray_String),c)}u.whitespace$0();if(!u.lookingAtIdentifier$0())return s.CssMediaQuery$type0(n,c,c);i=u.identifier$0();if(s.equalsIgnoreCase0(i,_)){u.expectWhitespace$0();a=n;l=c}else{u.whitespace$0();if(u.scanIdentifier$1(_))u.expectWhitespace$0();else return s.CssMediaQuery$type0(i,c,n);a=i;l=n}if(u.scanIdentifier$1("not")){u.expectWhitespace$0();return s.CssMediaQuery$type0(a,s._setArrayType(["(not "+u._media_query1$_mediaInParens$0()+")"],$.JSArray_String),l)}return s.CssMediaQuery$type0(a,u._media_query1$_mediaLogicSequence$1(_),l)},_media_query1$_mediaLogicSequence$1(e){var r,n,i=this,a=s._setArrayType([],$.JSArray_String);for(r=i.scanner;true;){r.expectChar$2$name(40,"media condition in parentheses");n=i.declarationValue$0();r.expectChar$1(41);a.push("("+n+")");i.whitespace$0();if(!i.scanIdentifier$1(e))return a;i.expectWhitespace$0()}},_media_query1$_mediaInParens$0(){var e,r=this.scanner;r.expectChar$2$name(40,"media condition in parentheses");e=this.declarationValue$0();r.expectChar$1(41);return"("+e+")"}};s.MediaQueryParser_parse_closure0.prototype={call$0(){var e=s._setArrayType([],$.JSArray_CssMediaQuery_2),r=this.$this,n=r.scanner;do{r.whitespace$0();e.push(r._media_query1$_mediaQuery$0());r.whitespace$0()}while(n.scanChar$1(44));n.expectDone$0();return e},$signature:110};s.ModifiableCssMediaRule0.prototype={accept$1$1(e){return e.visitCssMediaRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},copyWithoutChildren$0(){return s.ModifiableCssMediaRule$0(this.queries,this.span)},$isCssMediaRule0:1,get$span(e){return this.span}};s.MediaRule0.prototype={accept$1$1(e){return e.visitMediaRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.children;return"@media "+this.query.toString$0(0)+" {"+(r&&o.JSArray_methods).join$1(r," ")+"}"},get$span(e){return this.span}};s.MergedExtension0.prototype={unmerge$0(){var e=this;return s._makeSyncStarIterable((function(){var r=0,n=1,i,a,o;return function $async$unmerge$0(l,u){if(l===1){i=u;r=n}while(true)switch(r){case 0:o=e.left;r=o instanceof s.MergedExtension0?2:4;break;case 2:r=5;return s._IterationMarker_yieldStar(o.unmerge$0());case 5:r=3;break;case 4:r=6;return o;case 6:case 3:a=e.right;r=a instanceof s.MergedExtension0?7:9;break;case 7:r=10;return s._IterationMarker_yieldStar(a.unmerge$0());case 10:r=8;break;case 9:r=11;return a;case 11:case 8:return s._IterationMarker_endOfIteration();case 1:return s._IterationMarker_uncaughtError(i)}}}),$.Extension_2)}};s.MergedMapView0.prototype={get$keys(e){var r=this._merged_map_view$_mapsByKey;return new s.LinkedHashMapKeyIterable(r,s._instanceType(r)._eval$1("LinkedHashMapKeyIterable<1>"))},get$length(e){return this._merged_map_view$_mapsByKey.__js_helper$_length},get$isEmpty(e){return this._merged_map_view$_mapsByKey.__js_helper$_length===0},get$isNotEmpty(e){return this._merged_map_view$_mapsByKey.__js_helper$_length!==0},MergedMapView$10(e,r,n){var i,o,l,u,_,c,$,p;for(i=e.length,o=this._merged_map_view$_mapsByKey,l=r._eval$1("@<0>")._bind$1(n)._eval$1("MergedMapView0<1,2>"),u=0;u")),o.ListSeparator_kWM0,false)},$signature:21};s.local__closure0.prototype={call$1(e){if(e instanceof s.Value0)return e;return new s.SassString0(a.toString$0$(e),false)},$signature:467};s.MixinRule0.prototype={get$hasContent(){var e,r=this,n=r._mixin_rule$__MixinRule_hasContent;if(n===u){e=a.$eq$(o.C__HasContentVisitor0.visitChildren$1(r.children),true);s._lateInitializeOnceCheck(r._mixin_rule$__MixinRule_hasContent,"hasContent");r._mixin_rule$__MixinRule_hasContent=e;n=e}return n},accept$1$1(e){return e.visitMixinRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r="@mixin "+this.name,n=this.$arguments;if(!(n.$arguments.length===0&&n.restArgument==null))r+="("+n.toString$0(0)+")";n=this.children;n=r+(" {"+(n&&o.JSArray_methods).join$1(n," ")+"}");return n.charCodeAt(0)==0?n:n}};s._HasContentVisitor0.prototype={visitContentRule$1(e){return true}};s.ExtendMode0.prototype={toString$0(e){return this.name}};s.MultiSpan0.prototype={get$start(e){var r=this._multi_span0$_primary;return r.get$start(r)},get$end(e){var r=this._multi_span0$_primary;return r.get$end(r)},get$text(){return this._multi_span0$_primary.get$text()},get$context(e){var r=this._multi_span0$_primary;return r.get$context(r)},get$file(e){var r=this._multi_span0$_primary;return r.get$file(r)},get$length(e){var r=this._multi_span0$_primary;return r.get$length(r)},get$sourceUrl(e){var r=this._multi_span0$_primary;return r.get$sourceUrl(r)},compareTo$1(e,r){return this._multi_span0$_primary.compareTo$1(0,r)},toString$0(e){return this._multi_span0$_primary.toString$0(0)},expand$1(e,r){return new s.MultiSpan0(this._multi_span0$_primary.expand$1(0,r),this.primaryLabel,this.secondarySpans)},highlight$1$color(e){var r=e===true||false;return s.Highlighter$multiple(this._multi_span0$_primary,this.primaryLabel,this.secondarySpans,r,null,null).highlight$0()},message$2$color(e,r,n){var i=a.$eq$(n,true)||typeof n=="string",o=typeof n=="string"?n:null;return s.SourceSpanExtension_messageMultiple(this._multi_span0$_primary,r,this.primaryLabel,this.secondarySpans,i,o)},message$1(e,r){return this.message$2$color(e,r,null)},$isComparable:1,$isFileSpan:1,$isSourceSpan:1,$isSourceSpanWithContext:1};s.SupportsNegation0.prototype={toString$0(e){var r=this.condition;if(r instanceof s.SupportsNegation0||r instanceof s.SupportsOperation0)return"not ("+r.toString$0(0)+")";else return"not "+r.toString$0(0)},$isAstNode0:1,get$span(e){return this.span}};s.NoOpImporter.prototype={canonicalize$1(e,r){return null},load$1(e,r){return null},toString$0(e){return"(unknown)"}};s.NoSourceMapBuffer0.prototype={get$length(e){return this._no_source_map_buffer0$_buffer._contents.length},forSpan$1$2(e,r){return r.call$0()},forSpan$2(e,r){return this.forSpan$1$2(e,r,$.dynamic)},write$1(e,r){this._no_source_map_buffer0$_buffer._contents+=s.S(r);return null},writeCharCode$1(e){this._no_source_map_buffer0$_buffer._contents+=s.Primitives_stringFromCharCode(e);return null},toString$0(e){var r=this._no_source_map_buffer0$_buffer._contents;return r.charCodeAt(0)==0?r:r},buildSourceMap$1$prefix(e){return s.throwExpression(s.UnsupportedError$(c.NoSour))}};s.AstNode0.prototype={};s._FakeAstNode0.prototype={get$span(e){return this._node1$_callback.call$0()},$isAstNode0:1};s.CssNode0.prototype={toString$0(e){return s.serialize0(this,true,null,true,null,false,null,true).css}};s.CssParentNode0.prototype={};s._IsInvisibleVisitor1.prototype={visitCssAtRule$1(e){return false},visitCssComment$1(e){return this.includeComments&&o.JSString_methods._codeUnitAt$1(e.text,2)!==33},visitCssStyleRule$1(e){var r=e.selector.value;return(this.includeBogus?r.accept$1(o._IsInvisibleVisitor_true0):r.accept$1(o._IsInvisibleVisitor_false0))||this.super$EveryCssVisitor$visitCssStyleRule0(e)}};s.FileSystemException0.prototype={toString$0(e){var r=u.$get$context();return r.prettyUri$1(r.toUri$1(this.path))+": "+this.message},get$message(e){return this.message}};s.Stderr0.prototype={writeln$1(e){var r=e==null?"":e;a.write$1$x(this._node$_stderr,r+"\n")},writeln$0(){return this.writeln$1(null)}};s._readFile_closure0.prototype={call$0(){return a.readFileSync$2$x(s.fs(),this.path,this.encoding)},$signature:87};s.fileExists_closure0.prototype={call$0(){var e,r,n,i=this.path;if(!a.existsSync$1$x(s.fs(),i))return false;try{i=a.isFile$0$x(a.statSync$1$x(s.fs(),i));return i}catch(n){e=s.unwrapException(n);r=$.JsSystemError._as(e);if(a.$eq$(a.get$code$x(r),"ENOENT"))return false;throw n}},$signature:28};s.dirExists_closure0.prototype={call$0(){var e,r,n,i=this.path;if(!a.existsSync$1$x(s.fs(),i))return false;try{i=a.isDirectory$0$x(a.statSync$1$x(s.fs(),i));return i}catch(n){e=s.unwrapException(n);r=$.JsSystemError._as(e);if(a.$eq$(a.get$code$x(r),"ENOENT"))return false;throw n}},$signature:28};s.listDir_closure0.prototype={call$0(){var e=this.path;if(!this.recursive)return a.map$1$1$ax(a.readdirSync$1$x(s.fs(),e),new s.listDir__closure1(e),$.String).where$1(0,new s.listDir__closure2);else return(new s.listDir_closure_list0).call$1(e)},$signature:149};s.listDir__closure1.prototype={call$1(e){return s.join(this.path,s._asString(e),null)},$signature:92};s.listDir__closure2.prototype={call$1(e){return!s.dirExists0(e)},$signature:8};s.listDir_closure_list0.prototype={call$1(e){return a.expand$1$1$ax(a.readdirSync$1$x(s.fs(),e),new s.listDir__list_closure0(e,this),$.String)},$signature:150};s.listDir__list_closure0.prototype={call$1(e){var r=s.join(this.parent,s._asString(e),null);return s.dirExists0(r)?this.list.call$1(r):s._setArrayType([r],$.JSArray_String)},$signature:151};s.ModifiableCssNode0.prototype={get$hasFollowingSibling(){var e,r=this._node0$_parent;if(r==null)r=null;else{r=r.children;e=this._node0$_indexInParent;e.toString;r=s.SubListIterable$(r,e+1,null,r.$ti._eval$1("ListMixin.E")).any$1(0,new s.ModifiableCssNode_hasFollowingSibling_closure0)}return r===true},get$isGroupEnd(){return this.isGroupEnd}};s.ModifiableCssNode_hasFollowingSibling_closure0.prototype={call$1(e){return!e.accept$1(o._IsInvisibleVisitor_true_false0)},$signature:111};s.ModifiableCssParentNode0.prototype={get$isChildless(){return false},addChild$1(e){var r;e._node0$_parent=this;r=this._node0$_children;e._node0$_indexInParent=r.length;r.push(e)},$isCssParentNode0:1,get$children(e){return this.children}};s.main_closure0.prototype={call$2(e,r){},$signature:468};s.main_closure1.prototype={call$2(e,r){},$signature:469};s.NodeToDartLogger.prototype={warn$4$deprecation$span$trace(e,r,n,i,o){var l=this._node,u=l==null?null:a.get$warn$x(l);if(u==null)this._withAscii$1(new s.NodeToDartLogger_warn_closure(this,r,i,o,n));else{l=i==null?$.nullable_SourceSpan._as(self.undefined):i;u.call$2(r,{deprecation:n,span:l,stack:a.toString$0$(o)})}},warn$1(e,r){return this.warn$4$deprecation$span$trace(e,r,false,null,null)},warn$2$deprecation(e,r,n){return this.warn$4$deprecation$span$trace(e,r,n,null,null)},warn$2$span(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,n,null)},warn$3$deprecation$span(e,r,n,i){return this.warn$4$deprecation$span$trace(e,r,n,i,null)},warn$2$trace(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,null,n)},debug$2(e,r,n){var i=this._node,o=i==null?null:a.get$debug$x(i);if(o==null)this._withAscii$1(new s.NodeToDartLogger_debug_closure(this,r,n));else o.call$2(r,{span:n})},_withAscii$1$1(e){var r,n=u._glyphs===o.C_AsciiGlyphSet;u._glyphs=this._ascii?o.C_AsciiGlyphSet:o.C_UnicodeGlyphSet;try{r=e.call$0();return r}finally{u._glyphs=n?o.C_AsciiGlyphSet:o.C_UnicodeGlyphSet}},_withAscii$1(e){return this._withAscii$1$1(e,$.dynamic)}};s.NodeToDartLogger_warn_closure.prototype={call$0(){var e=this;e.$this._fallback.warn$4$deprecation$span$trace(0,e.message,e.deprecation,e.span,e.trace)},$signature:1};s.NodeToDartLogger_debug_closure.prototype={call$0(){return this.$this._fallback.debug$2(0,this.message,this.span)},$signature:0};s.NullExpression0.prototype={accept$1$1(e){return e.visitNullExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return"null"},$isExpression0:1,$isAstNode0:1,get$span(e){return this.span}};s.legacyNullClass_closure.prototype={call$0(){var e=$.JSClass,r=e._as(s.allowInteropCaptureThisNamed("sass.types.Null",new s.legacyNullClass__closure));r.NULL=o.C__SassNull0;s.JSClassExtension_injectSuperclass(e._as(o.C__SassNull0.constructor),r);return r},$signature:23};s.legacyNullClass__closure.prototype={call$2(e,r){throw s.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.")},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues(){return[null]},$signature:210};s._SassNull0.prototype={get$isTruthy(){return false},get$isBlank(){return true},get$realNull(){return null},accept$1$1(e){if(e._serialize0$_inspect)e._serialize0$_buffer.write$1(0,"null");return null},accept$1(e){return this.accept$1$1(e,$.dynamic)},unaryNot$0(){return o.SassBoolean_true0}};s.NumberExpression0.prototype={accept$1$1(e){return e.visitNumberExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.unit;if(r==null)r="";return s.S(this.value)+r},$isExpression0:1,$isAstNode0:1,get$span(e){return this.span}};s._NodeSassNumber.prototype={};s.legacyNumberClass_closure.prototype={call$4(e,r,n,i){var o;if(i==null){r.toString;o=s._parseNumber(r,n)}else o=i;a.set$dartValue$x(e,o)},call$2(e,r){return this.call$4(e,r,null,null)},call$3(e,r,n){return this.call$4(e,r,n,null)},"call*":"call$4",$requiredArgCount:2,$defaultValues(){return[null,null]},$signature:470};s.legacyNumberClass_closure0.prototype={call$1(e){return a.get$dartValue$x(e)._number1$_value},$signature:471};s.legacyNumberClass_closure1.prototype={call$2(e,r){var n=a.getInterceptor$x(e),i=a.get$numeratorUnits$x(n.get$dartValue(e));n.set$dartValue(e,s.SassNumber_SassNumber$withUnits0(r,a.get$denominatorUnits$x(n.get$dartValue(e)),i))},$signature:472};s.legacyNumberClass_closure2.prototype={call$1(e){var r=a.getInterceptor$x(e),n=o.JSArray_methods.join$1(a.get$numeratorUnits$x(r.get$dartValue(e)),"*"),i=a.get$denominatorUnits$x(r.get$dartValue(e)).length===0?"":"/";return n+i+o.JSArray_methods.join$1(a.get$denominatorUnits$x(r.get$dartValue(e)),"*")},$signature:473};s.legacyNumberClass_closure3.prototype={call$2(e,r){var n=a.getInterceptor$x(e);n.set$dartValue(e,s._parseNumber(n.get$dartValue(e)._number1$_value,r))},$signature:474};s._parseNumber_closure.prototype={call$1(e){return e.length===0},$signature:8};s._parseNumber_closure0.prototype={call$1(e){return e.length===0},$signature:8};s.numberClass_closure.prototype={call$0(){var e=$.JSClass,r=e._as(s.allowInteropCaptureThisNamed("sass.SassNumber",new s.numberClass__closure)),n=$.String,i=$.Function;s.LinkedHashMap_LinkedHashMap$_literal(["value",new s.numberClass__closure0,"isInt",new s.numberClass__closure1,"asInt",new s.numberClass__closure2,"numeratorUnits",new s.numberClass__closure3,"denominatorUnits",new s.numberClass__closure4,"hasUnits",new s.numberClass__closure5],n,i).forEach$1(0,s.JSClassExtension_get_defineGetter(r));s.LinkedHashMap_LinkedHashMap$_literal(["assertInt",new s.numberClass__closure6,"assertInRange",new s.numberClass__closure7,"assertNoUnits",new s.numberClass__closure8,"assertUnit",new s.numberClass__closure9,"hasUnit",new s.numberClass__closure10,"compatibleWithUnit",new s.numberClass__closure11,"convert",new s.numberClass__closure12,"convertToMatch",new s.numberClass__closure13,"convertValue",new s.numberClass__closure14,"convertValueToMatch",new s.numberClass__closure15,"coerce",new s.numberClass__closure16,"coerceToMatch",new s.numberClass__closure17,"coerceValue",new s.numberClass__closure18,"coerceValueToMatch",new s.numberClass__closure19],n,i).forEach$1(0,s.JSClassExtension_get_defineMethod(r));s.JSClassExtension_injectSuperclass(e._as(self.Object.getPrototypeOf(a.get$$prototype$x(e._as(new s.UnitlessSassNumber0(0,null).constructor))).constructor),r);return r},$signature:23};s.numberClass__closure.prototype={call$3(e,r,n){var i,o,l=null;if(typeof n=="string")return new s.SingleUnitSassNumber0(n,r,l);$.nullable__ConstructorOptions_2._as(n);i=n==null;if(i)o=l;else{o=s.NullableExtension_andThen0(a.get$numeratorUnits$x(n),s.immutable__jsToDartList$closure());o=o==null?l:a.cast$1$0$ax(o,$.String)}if(i)i=l;else{i=s.NullableExtension_andThen0(a.get$denominatorUnits$x(n),s.immutable__jsToDartList$closure());i=i==null?l:a.cast$1$0$ax(i,$.String)}return s.SassNumber_SassNumber$withUnits0(r,i,o)},call$2(e,r){return this.call$3(e,r,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues(){return[null]},$signature:475};s.numberClass__closure0.prototype={call$1(e){return e._number1$_value},$signature:476};s.numberClass__closure1.prototype={call$1(e){return s.fuzzyIsInt0(e._number1$_value)},$signature:237};s.numberClass__closure2.prototype={call$1(e){var r=e._number1$_value;return s.fuzzyIsInt0(r)?o.JSNumber_methods.round$0(r):null},$signature:478};s.numberClass__closure3.prototype={call$1(e){return new self.immutable.List(e.get$numeratorUnits(e))},$signature:238};s.numberClass__closure4.prototype={call$1(e){return new self.immutable.List(e.get$denominatorUnits(e))},$signature:238};s.numberClass__closure5.prototype={call$1(e){return e.get$hasUnits()},$signature:237};s.numberClass__closure6.prototype={call$2(e,r){return e.assertInt$1(r)},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues(){return[null]},$signature:480};s.numberClass__closure7.prototype={call$4(e,r,n,i){return e.valueInRange$3(r,n,i)},call$3(e,r,n){return this.call$4(e,r,n,null)},"call*":"call$4",$requiredArgCount:3,$defaultValues(){return[null]},$signature:481};s.numberClass__closure8.prototype={call$2(e,r){e.assertNoUnits$1(r);return e},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues(){return[null]},$signature:482};s.numberClass__closure9.prototype={call$3(e,r,n){e.assertUnit$2(r,n);return e},call$2(e,r){return this.call$3(e,r,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues(){return[null]},$signature:483};s.numberClass__closure10.prototype={call$2(e,r){return e.hasUnit$1(r)},$signature:239};s.numberClass__closure11.prototype={call$2(e,r){return e.get$hasUnits()&&e.compatibleWithUnit$1(r)},$signature:239};s.numberClass__closure12.prototype={call$4(e,r,n,i){var o=self.immutable.isOrderedMap(r)?a.toArray$0$x($.ImmutableList._as(r)):$.List_dynamic._as(r),l=$.String;o=a.cast$1$0$ax(o,l);l=a.cast$1$0$ax(self.immutable.isOrderedMap(n)?a.toArray$0$x($.ImmutableList._as(n)):$.List_dynamic._as(n),l);return s.SassNumber_SassNumber$withUnits0(e._number1$_coerceOrConvertValue$4$coerceUnitless$name(o,l,false,i),l,o)},call$3(e,r,n){return this.call$4(e,r,n,null)},"call*":"call$4",$requiredArgCount:3,$defaultValues(){return[null]},$signature:142};s.numberClass__closure13.prototype={call$4(e,r,n,i){return e.convertToMatch$3(r,n,i)},call$2(e,r){return this.call$4(e,r,null,null)},call$3(e,r,n){return this.call$4(e,r,n,null)},"call*":"call$4",$requiredArgCount:2,$defaultValues(){return[null,null]},$signature:240};s.numberClass__closure14.prototype={call$4(e,r,n,i){var s=self.immutable.isOrderedMap(r)?a.toArray$0$x($.ImmutableList._as(r)):$.List_dynamic._as(r),o=$.String;s=a.cast$1$0$ax(s,o);return e._number1$_coerceOrConvertValue$4$coerceUnitless$name(s,a.cast$1$0$ax(self.immutable.isOrderedMap(n)?a.toArray$0$x($.ImmutableList._as(n)):$.List_dynamic._as(n),o),false,i)},call$3(e,r,n){return this.call$4(e,r,n,null)},"call*":"call$4",$requiredArgCount:3,$defaultValues(){return[null]},$signature:241};s.numberClass__closure15.prototype={call$4(e,r,n,i){return e.convertValueToMatch$3(r,n,i)},call$2(e,r){return this.call$4(e,r,null,null)},call$3(e,r,n){return this.call$4(e,r,n,null)},"call*":"call$4",$requiredArgCount:2,$defaultValues(){return[null,null]},$signature:242};s.numberClass__closure16.prototype={call$4(e,r,n,i){var s=self.immutable.isOrderedMap(r)?a.toArray$0$x($.ImmutableList._as(r)):$.List_dynamic._as(r),o=$.String;s=a.cast$1$0$ax(s,o);return e.coerce$3(s,a.cast$1$0$ax(self.immutable.isOrderedMap(n)?a.toArray$0$x($.ImmutableList._as(n)):$.List_dynamic._as(n),o),i)},call$3(e,r,n){return this.call$4(e,r,n,null)},"call*":"call$4",$requiredArgCount:3,$defaultValues(){return[null]},$signature:142};s.numberClass__closure17.prototype={call$4(e,r,n,i){return e.coerceToMatch$3(r,n,i)},call$2(e,r){return this.call$4(e,r,null,null)},call$3(e,r,n){return this.call$4(e,r,n,null)},"call*":"call$4",$requiredArgCount:2,$defaultValues(){return[null,null]},$signature:240};s.numberClass__closure18.prototype={call$4(e,r,n,i){var s=self.immutable.isOrderedMap(r)?a.toArray$0$x($.ImmutableList._as(r)):$.List_dynamic._as(r),o=$.String;s=a.cast$1$0$ax(s,o);return e.coerceValue$3(s,a.cast$1$0$ax(self.immutable.isOrderedMap(n)?a.toArray$0$x($.ImmutableList._as(n)):$.List_dynamic._as(n),o),i)},call$3(e,r,n){return this.call$4(e,r,n,null)},"call*":"call$4",$requiredArgCount:3,$defaultValues(){return[null]},$signature:241};s.numberClass__closure19.prototype={call$4(e,r,n,i){return e.coerceValueToMatch$3(r,n,i)},call$2(e,r){return this.call$4(e,r,null,null)},call$3(e,r,n){return this.call$4(e,r,n,null)},"call*":"call$4",$requiredArgCount:2,$defaultValues(){return[null,null]},$signature:242};s._ConstructorOptions0.prototype={};s.SassNumber0.prototype={get$unitString(){var e=this;return e.get$hasUnits()?e._number1$_unitString$2(e.get$numeratorUnits(e),e.get$denominatorUnits(e)):""},accept$1$1(e){return e.visitNumber$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},withoutSlash$0(){var e=this;return e.asSlash==null?e:e.withValue$1(e._number1$_value)},assertNumber$1(e){return this},assertNumber$0(){return this.assertNumber$1(null)},assertInt$1(e){var r=this._number1$_value,n=s.fuzzyIsInt0(r)?o.JSNumber_methods.round$0(r):null;if(n!=null)return n;throw s.wrapException(this._number1$_exception$2(this.toString$0(0)+" is not an int.",e))},assertInt$0(){return this.assertInt$1(null)},valueInRange$3(e,r,n){var i=this,a=s.fuzzyCheckRange0(i._number1$_value,e,r);if(a!=null)return a;throw s.wrapException(i._number1$_exception$2("Expected "+i.toString$0(0)+" to be within "+s.S(e)+i.get$unitString()+" and "+s.S(r)+i.get$unitString()+".",n))},valueInRangeWithUnit$4(e,r,n,i){var a=s.fuzzyCheckRange0(this._number1$_value,e,r);if(a!=null)return a;throw s.wrapException(this._number1$_exception$2("Expected "+this.toString$0(0)+" to be within "+e+i+" and "+r+i+".",n))},hasCompatibleUnits$1(e){var r=this;if(r.get$numeratorUnits(r).length!==e.get$numeratorUnits(e).length)return false;if(r.get$denominatorUnits(r).length!==e.get$denominatorUnits(e).length)return false;return r.isComparableTo$1(e)},assertUnit$2(e,r){if(this.hasUnit$1(e))return;throw s.wrapException(this._number1$_exception$2("Expected "+this.toString$0(0)+' to have unit "'+e+'".',r))},assertNoUnits$1(e){if(!this.get$hasUnits())return;throw s.wrapException(this._number1$_exception$2("Expected "+this.toString$0(0)+" to have no units.",e))},convertToMatch$3(e,r,n){var i=this.convertValueToMatch$3(e,r,n),a=e.get$numeratorUnits(e);return s.SassNumber_SassNumber$withUnits0(i,e.get$denominatorUnits(e),a)},convertValueToMatch$3(e,r,n){return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e.get$numeratorUnits(e),e.get$denominatorUnits(e),false,r,e,n)},coerce$3(e,r,n){return s.SassNumber_SassNumber$withUnits0(this.coerceValue$3(e,r,n),r,e)},coerce$2(e,r){return this.coerce$3(e,r,null)},coerceValue$3(e,r,n){return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(e,r,true,n)},coerceValueToUnit$2(e,r){var n=$.JSArray_String;return this.coerceValue$3(s._setArrayType([e],n),s._setArrayType([],n),r)},coerceToMatch$3(e,r,n){var i=this.coerceValueToMatch$3(e,r,n),a=e.get$numeratorUnits(e);return s.SassNumber_SassNumber$withUnits0(i,e.get$denominatorUnits(e),a)},coerceValueToMatch$3(e,r,n){return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e.get$numeratorUnits(e),e.get$denominatorUnits(e),true,r,e,n)},coerceValueToMatch$1(e){return this.coerceValueToMatch$3(e,null,null)},_number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e,r,n,i,l,u){var _,c,$,p,h,d,m=this,g={};if(o.C_ListEquality.equals$2(0,m.get$numeratorUnits(m),e)&&o.C_ListEquality.equals$2(0,m.get$denominatorUnits(m),r))return m._number1$_value;_=a.getInterceptor$asx(e);c=_.get$isNotEmpty(e)||a.get$isNotEmpty$asx(r);if(n)$=!m.get$hasUnits()||!c;else $=false;if($)return m._number1$_value;p=new s.SassNumber__coerceOrConvertValue__compatibilityException0(m,l,u,c,i,e,r);g.value=m._number1$_value;$=m.get$numeratorUnits(m);h=s._setArrayType($.slice(0),s._arrayInstanceType($));for(_=_.get$iterator(e);_.moveNext$0();)s.removeFirstWhere0(h,new s.SassNumber__coerceOrConvertValue_closure3(g,_.get$current(_)),new s.SassNumber__coerceOrConvertValue_closure4(p));_=m.get$denominatorUnits(m);d=s._setArrayType(_.slice(0),s._arrayInstanceType(_));for(_=a.get$iterator$ax(r);_.moveNext$0();)s.removeFirstWhere0(d,new s.SassNumber__coerceOrConvertValue_closure5(g,_.get$current(_)),new s.SassNumber__coerceOrConvertValue_closure6(p));if(h.length!==0||d.length!==0)throw s.wrapException(p.call$0());return g.value},_number1$_coerceOrConvertValue$4$coerceUnitless$name(e,r,n,i){return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e,r,n,i,null,null)},isComparableTo$1(e){var r;if(!this.get$hasUnits()||!e.get$hasUnits())return true;try{this.greaterThan$1(e);return true}catch(r){if(s.unwrapException(r)instanceof s.SassScriptException0)return false;else throw r}},greaterThan$1(e){if(e instanceof s.SassNumber0)return this._number1$_coerceUnits$2(e,s.number2__fuzzyGreaterThan$closure())?o.SassBoolean_true0:o.SassBoolean_false0;throw s.wrapException(s.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" > "+e.toString$0(0)+'".'))},greaterThanOrEquals$1(e){if(e instanceof s.SassNumber0)return this._number1$_coerceUnits$2(e,s.number2__fuzzyGreaterThanOrEquals$closure())?o.SassBoolean_true0:o.SassBoolean_false0;throw s.wrapException(s.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" >= "+e.toString$0(0)+'".'))},lessThan$1(e){if(e instanceof s.SassNumber0)return this._number1$_coerceUnits$2(e,s.number2__fuzzyLessThan$closure())?o.SassBoolean_true0:o.SassBoolean_false0;throw s.wrapException(s.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" < "+e.toString$0(0)+'".'))},lessThanOrEquals$1(e){if(e instanceof s.SassNumber0)return this._number1$_coerceUnits$2(e,s.number2__fuzzyLessThanOrEquals$closure())?o.SassBoolean_true0:o.SassBoolean_false0;throw s.wrapException(s.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" <= "+e.toString$0(0)+'".'))},modulo$1(e){var r=this;if(e instanceof s.SassNumber0)return r.withValue$1(r._number1$_coerceUnits$2(e,r.get$moduloLikeSass()));throw s.wrapException(s.SassScriptException$0('Undefined operation "'+r.toString$0(0)+" % "+e.toString$0(0)+'".'))},moduloLikeSass$2(e,r){var n;if(r>0)return o.JSNumber_methods.$mod(e,r);if(r===0)return 0/0;n=o.JSNumber_methods.$mod(e,r);return n===0?0:n+r},plus$1(e){var r=this;if(e instanceof s.SassNumber0)return r.withValue$1(r._number1$_coerceUnits$2(e,new s.SassNumber_plus_closure0));if(!(e instanceof s.SassColor0))return r.super$Value$plus0(e);throw s.wrapException(s.SassScriptException$0('Undefined operation "'+r.toString$0(0)+" + "+e.toString$0(0)+'".'))},minus$1(e){var r=this;if(e instanceof s.SassNumber0)return r.withValue$1(r._number1$_coerceUnits$2(e,new s.SassNumber_minus_closure0));if(!(e instanceof s.SassColor0))return r.super$Value$minus0(e);throw s.wrapException(s.SassScriptException$0('Undefined operation "'+r.toString$0(0)+" - "+e.toString$0(0)+'".'))},times$1(e){var r=this;if(e instanceof s.SassNumber0){if(!e.get$hasUnits())return r.withValue$1(r._number1$_value*e._number1$_value);return r.multiplyUnits$3(r._number1$_value*e._number1$_value,e.get$numeratorUnits(e),e.get$denominatorUnits(e))}throw s.wrapException(s.SassScriptException$0('Undefined operation "'+r.toString$0(0)+" * "+e.toString$0(0)+'".'))},dividedBy$1(e){var r=this;if(e instanceof s.SassNumber0){if(!e.get$hasUnits())return r.withValue$1(r._number1$_value/e._number1$_value);return r.multiplyUnits$3(r._number1$_value/e._number1$_value,e.get$denominatorUnits(e),e.get$numeratorUnits(e))}return r.super$Value$dividedBy0(e)},unaryPlus$0(){return this},_number1$_coerceUnits$1$2(e,r){var n,i;try{n=r.call$2(this._number1$_value,e.coerceValueToMatch$1(this));return n}catch(i){if(s.unwrapException(i)instanceof s.SassScriptException0){this.coerceValueToMatch$1(e);throw i}else throw i}},_number1$_coerceUnits$2(e,r){return this._number1$_coerceUnits$1$2(e,r,$.dynamic)},multiplyUnits$3(e,r,n){var i,a,l,u,_,c,p,h=this,d={};d.value=e;if(h.get$numeratorUnits(h).length===0){if(n.length===0&&!h._number1$_areAnyConvertible$2(h.get$denominatorUnits(h),r))return s.SassNumber_SassNumber$withUnits0(e,h.get$denominatorUnits(h),r);else if(h.get$denominatorUnits(h).length===0)return s.SassNumber_SassNumber$withUnits0(e,n,r)}else if(r.length===0)if(n.length===0)return s.SassNumber_SassNumber$withUnits0(e,n,h.get$numeratorUnits(h));else if(h.get$denominatorUnits(h).length===0&&!h._number1$_areAnyConvertible$2(h.get$numeratorUnits(h),n))return s.SassNumber_SassNumber$withUnits0(e,n,h.get$numeratorUnits(h));i=s._setArrayType([],$.JSArray_String);a=s._setArrayType(n.slice(0),s._arrayInstanceType(n));for(l=h.get$numeratorUnits(h),u=l.length,_=0;_");n=s.List_List$of(new s.MappedListIterable(e,new s.SassNumber__canonicalizeUnitList_closure0,n),true,n._eval$1("ListIterable.E"));o.JSArray_methods.sort$0(n);return n},_number1$_canonicalMultiplier$1(e){return o.JSArray_methods.fold$2(e,1,new s.SassNumber__canonicalMultiplier_closure0(this))},canonicalMultiplierForUnit$1(e){var r,n=o.Map_K2BWj.$index(0,e);if(n==null)r=1;else{r=n.get$values(n);r=1/r.get$first(r)}return r},_number1$_exception$2(e,r){return new s.SassScriptException0(r==null?e:"$"+r+": "+e)}};s.SassNumber__coerceOrConvertValue__compatibilityException0.prototype={call$0(){var e,r,n,i,l,_,c=this,p=c.other;if(p!=null){e=c.$this;r=e.toString$0(0)+" and";n=new s.StringBuffer(r);i=c.otherName;if(i!=null)r=n._contents=r+(" $"+i+":");p=r+(" "+p.toString$0(0)+" have incompatible units");n._contents=p;if(!e.get$hasUnits()||!c.otherHasUnits)n._contents=p+" (one has units and the other doesn't)";p=n.toString$0(0)+".";e=c.name;return new s.SassScriptException0(e==null?p:"$"+e+": "+p)}else if(!c.otherHasUnits){p="Expected "+c.$this.toString$0(0)+" to have no units.";e=c.name;return new s.SassScriptException0(e==null?p:"$"+e+": "+p)}else{p=c.newNumerators;e=a.getInterceptor$asx(p);if(e.get$length(p)===1&&a.get$isEmpty$asx(c.newDenominators)){l=u.$get$_typesByUnit0().$index(0,e.get$first(p));if(l!=null){p=c.$this.toString$0(0);e=o.JSArray_methods.contains$1(s._setArrayType([97,101,105,111,117],$.JSArray_int),o.JSString_methods._codeUnitAt$1(l,0))?"an "+l:"a "+l;r=o.Map_U8AHF.$index(0,l);r.toString;r="Expected "+p+" to have "+e+" unit ("+o.JSArray_methods.join$1(r,", ")+").";e=c.name;return new s.SassScriptException0(e==null?r:"$"+e+": "+r)}}r=c.newDenominators;_=s.pluralize0("unit",e.get$length(p)+a.get$length$asx(r),null);e=c.$this;r="Expected "+e.toString$0(0)+" to have "+_+" "+e._number1$_unitString$2(p,r)+".";p=c.name;return new s.SassScriptException0(p==null?r:"$"+p+": "+r)}},$signature:489};s.SassNumber__coerceOrConvertValue_closure3.prototype={call$1(e){var r=s.conversionFactor0(this.newNumerator,e);if(r==null)return false;this._box_0.value*=r;return true},$signature:8};s.SassNumber__coerceOrConvertValue_closure4.prototype={call$0(){return s.throwExpression(this._compatibilityException.call$0())},$signature:0};s.SassNumber__coerceOrConvertValue_closure5.prototype={call$1(e){var r=s.conversionFactor0(this.newDenominator,e);if(r==null)return false;this._box_0.value/=r;return true},$signature:8};s.SassNumber__coerceOrConvertValue_closure6.prototype={call$0(){return s.throwExpression(this._compatibilityException.call$0())},$signature:0};s.SassNumber_plus_closure0.prototype={call$2(e,r){return e+r},$signature:56};s.SassNumber_minus_closure0.prototype={call$2(e,r){return e-r},$signature:56};s.SassNumber_multiplyUnits_closure3.prototype={call$1(e){var r=s.conversionFactor0(this.numerator,e);if(r==null)return false;this._box_0.value/=r;return true},$signature:8};s.SassNumber_multiplyUnits_closure4.prototype={call$0(){return this.newNumerators.push(this.numerator)},$signature:0};s.SassNumber_multiplyUnits_closure5.prototype={call$1(e){var r=s.conversionFactor0(this.numerator,e);if(r==null)return false;this._box_0.value/=r;return true},$signature:8};s.SassNumber_multiplyUnits_closure6.prototype={call$0(){return this.newNumerators.push(this.numerator)},$signature:0};s.SassNumber__areAnyConvertible_closure0.prototype={call$1(e){var r=o.Map_K2BWj.$index(0,e);if(r==null)return o.JSArray_methods.contains$1(this.units2,e);return o.JSArray_methods.any$1(this.units2,r.get$containsKey())},$signature:8};s.SassNumber__canonicalizeUnitList_closure0.prototype={call$1(e){var r,n=u.$get$_typesByUnit0().$index(0,e);if(n==null)r=e;else{r=o.Map_U8AHF.$index(0,n);r.toString;r=o.JSArray_methods.get$first(r)}return r},$signature:5};s.SassNumber__canonicalMultiplier_closure0.prototype={call$2(e,r){return e*this.$this.canonicalMultiplierForUnit$1(r)},$signature:164};s.SupportsOperation0.prototype={toString$0(e){var r=this;return r._operation0$_parenthesize$1(r.left)+" "+r.operator+" "+r._operation0$_parenthesize$1(r.right)},_operation0$_parenthesize$1(e){var r;if(!(e instanceof s.SupportsNegation0))r=e instanceof s.SupportsOperation0&&e.operator===this.operator;else r=true;return r?"("+e.toString$0(0)+")":e.toString$0(0)},$isAstNode0:1,get$span(e){return this.span}};s.ParentSelector0.prototype={accept$1$1(e){return e.visitParentSelector$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},unify$1(e){return s.throwExpression(s.UnsupportedError$("& doesn't support unification."))}};s.ParentStatement0.prototype={$isAstNode0:1,$isStatement0:1};s.ParentStatement_closure0.prototype={call$1(e){var r;if(!(e instanceof s.VariableDeclaration0))if(!(e instanceof s.FunctionRule0))if(!(e instanceof s.MixinRule0))r=e instanceof s.ImportRule0&&o.JSArray_methods.any$1(e.imports,new s.ParentStatement__closure0);else r=true;else r=true;else r=true;return r},$signature:230};s.ParentStatement__closure0.prototype={call$1(e){return e instanceof s.DynamicImport0},$signature:231};s.ParenthesizedExpression0.prototype={accept$1$1(e){return e.visitParenthesizedExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return"("+this.expression.toString$0(0)+")"},$isExpression0:1,$isAstNode0:1,get$span(e){return this.span}};s.Parser1.prototype={_parser0$_parseIdentifier$0(){return this.wrapSpanFormatException$1(new s.Parser__parseIdentifier_closure0(this))},whitespace$0(){do{this.whitespaceWithoutComments$0()}while(this.scanComment$0())},whitespaceWithoutComments$0(){var e,r=this.scanner,n=r.string.length;while(true){if(r._string_scanner$_position!==n){e=r.peekChar$0();e=e===32||e===9||e===10||e===13||e===12}else e=false;if(!e)break;r.readChar$0()}},spaces$0(){var e,r=this.scanner,n=r.string.length;while(true){if(r._string_scanner$_position!==n){e=r.peekChar$0();e=e===32||e===9}else e=false;if(!e)break;r.readChar$0()}},scanComment$0(){var e,r=this.scanner;if(r.peekChar$0()!==47)return false;e=r.peekChar$1(1);if(e===47){this.silentComment$0();return true}else if(e===42){this.loudComment$0();return true}else return false},expectWhitespace$0(){var e,r,n=this.scanner;if(n._string_scanner$_position!==n.string.length){e=n.peekChar$0();r=!(e===32||e===9||e===10||e===13||e===12||this.scanComment$0());e=r}else e=true;if(e)n.error$1(0,"Expected whitespace.");this.whitespace$0()},silentComment$0(){var e,r,n=this.scanner;n.expect$1("//");e=n.string.length;while(true){if(n._string_scanner$_position!==e){r=n.peekChar$0();r=!(r===10||r===13||r===12)}else r=false;if(!r)break;n.readChar$0()}},loudComment$0(){var e,r=this.scanner;r.expect$1("/*");for(;true;){if(r.readChar$0()!==42)continue;do{e=r.readChar$0()}while(e===42);if(e===47)break}},identifier$2$normalize$unit(e,r){var n,i,a=this,o="Expected identifier.",l=new s.StringBuffer(""),u=a.scanner;if(u.scanChar$1(45)){n=l._contents=""+s.Primitives_stringFromCharCode(45);if(u.scanChar$1(45)){l._contents=n+s.Primitives_stringFromCharCode(45);a._parser0$_identifierBody$3$normalize$unit(l,e,r);u=l._contents;return u.charCodeAt(0)==0?u:u}}else n="";i=u.peekChar$0();if(i==null)u.error$1(0,o);else if(e&&i===95){u.readChar$0();l._contents=n+s.Primitives_stringFromCharCode(45)}else if(i===95||s.isAlphabetic1(i)||i>=128)l._contents=n+s.Primitives_stringFromCharCode(u.readChar$0());else if(i===92)l._contents=n+s.S(a.escape$1$identifierStart(true));else u.error$1(0,o);a._parser0$_identifierBody$3$normalize$unit(l,e,r);u=l._contents;return u.charCodeAt(0)==0?u:u},identifier$0(){return this.identifier$2$normalize$unit(false,false)},identifier$1$normalize(e){return this.identifier$2$normalize$unit(e,false)},identifier$1$unit(e){return this.identifier$2$normalize$unit(false,e)},_parser0$_identifierBody$3$normalize$unit(e,r,n){var i,a,o,l;for(i=this.scanner;true;){a=i.peekChar$0();if(a==null)break;else if(n&&a===45){o=i.peekChar$1(1);if(o!=null)if(o!==46)l=o>=48&&o<=57;else l=true;else l=false;if(l)break;e._contents+=s.Primitives_stringFromCharCode(i.readChar$0())}else if(r&&a===95){i.readChar$0();e._contents+=s.Primitives_stringFromCharCode(45)}else{if(a!==95){if(!(a>=97&&a<=122))l=a>=65&&a<=90;else l=true;l=l||a>=128}else l=true;if(!l){l=a>=48&&a<=57;l=l||a===45}else l=true;if(l)e._contents+=s.Primitives_stringFromCharCode(i.readChar$0());else if(a===92)e._contents+=s.S(this.escape$0());else break}}},_parser0$_identifierBody$1(e){return this._parser0$_identifierBody$3$normalize$unit(e,false,false)},string$0(){var e,r,n,i=this.scanner,a=i.readChar$0();if(a!==39&&a!==34)i.error$2$position(0,"Expected string.",i._string_scanner$_position-1);e=new s.StringBuffer("");for(;true;){r=i.peekChar$0();if(r===a){i.readChar$0();break}else if(r==null||r===10||r===13||r===12)i.error$1(0,"Expected "+s.Primitives_stringFromCharCode(a)+".");else if(r===92){n=i.peekChar$1(1);if(n===10||n===13||n===12){i.readChar$0();i.readChar$0()}else e._contents+=s.Primitives_stringFromCharCode(s.consumeEscapedCharacter0(i))}else e._contents+=s.Primitives_stringFromCharCode(i.readChar$0())}i=e._contents;return i.charCodeAt(0)==0?i:i},naturalNumber$0(){var e,r,n=this.scanner,i=n.readChar$0();if(!s.isDigit0(i))n.error$2$position(0,"Expected digit.",n._string_scanner$_position-1);e=i-48;while(true){r=n.peekChar$0();if(!(r!=null&&r>=48&&r<=57))break;e=e*10+(n.readChar$0()-48)}return e},declarationValue$1$allowEmpty(e){var r,n,i,a,l,u,_,c,p=this,h=new s.StringBuffer(""),d=s._setArrayType([],$.JSArray_int);e:for(r=p.scanner,n=p.get$string(),i=false;true;){a=r.peekChar$0();switch(a){case 92:h._contents+=s.S(p.escape$1$identifierStart(true));i=false;break;case 34:case 39:l=r._string_scanner$_position;n.call$0();u=r._string_scanner$_position;h._contents+=o.JSString_methods.substring$2(r.string,l,u);i=false;break;case 47:if(r.peekChar$1(1)===42){_=p.get$loudComment();l=r._string_scanner$_position;_.call$0();u=r._string_scanner$_position;h._contents+=o.JSString_methods.substring$2(r.string,l,u)}else h._contents+=s.Primitives_stringFromCharCode(r.readChar$0());i=false;break;case 32:case 9:if(!i){_=r.peekChar$1(1);_=!(_===32||_===9||_===10||_===13||_===12)}else _=true;if(_)h._contents+=s.Primitives_stringFromCharCode(32);r.readChar$0();break;case 10:case 13:case 12:_=r.peekChar$1(-1);if(!(_===10||_===13||_===12))h._contents+="\n";r.readChar$0();i=true;break;case 40:case 123:case 91:a.toString;h._contents+=s.Primitives_stringFromCharCode(a);d.push(s.opposite0(r.readChar$0()));i=false;break;case 41:case 125:case 93:if(d.length===0)break e;a.toString;h._contents+=s.Primitives_stringFromCharCode(a);r.expectChar$1(d.pop());i=false;break;case 59:if(d.length===0)break e;h._contents+=s.Primitives_stringFromCharCode(r.readChar$0());break;case 117:case 85:c=p.tryUrl$0();if(c!=null)h._contents+=c;else h._contents+=s.Primitives_stringFromCharCode(r.readChar$0());i=false;break;default:if(a==null)break e;if(p.lookingAtIdentifier$0())h._contents+=p.identifier$0();else h._contents+=s.Primitives_stringFromCharCode(r.readChar$0());i=false;break}}if(d.length!==0)r.expectChar$1(o.JSArray_methods.get$last(d));if(!e&&h._contents.length===0)r.error$1(0,"Expected token.");r=h._contents;return r.charCodeAt(0)==0?r:r},declarationValue$0(){return this.declarationValue$1$allowEmpty(false)},tryUrl$0(){var e,r,n,i=this,a=i.scanner,o=new s._SpanScannerState(a,a._string_scanner$_position);if(!i.scanIdentifier$1("url"))return null;if(!a.scanChar$1(40)){a.set$state(o);return null}i.whitespace$0();e=new s.StringBuffer("");e._contents=""+"url(";for(;true;){r=a.peekChar$0();if(r==null)break;else if(r===92)e._contents+=s.S(i.escape$0());else{if(r!==37)if(r!==38)if(r!==35)n=r>=42&&r<=126||r>=128;else n=true;else n=true;else n=true;if(n)e._contents+=s.Primitives_stringFromCharCode(a.readChar$0());else if(r===32||r===9||r===10||r===13||r===12){i.whitespace$0();if(a.peekChar$0()!==41)break}else if(r===41){n=e._contents+=s.Primitives_stringFromCharCode(a.readChar$0());return n.charCodeAt(0)==0?n:n}else break}}a.set$state(o);return null},variableName$0(){this.scanner.expectChar$1(36);return this.identifier$1$normalize(true)},escape$1$identifierStart(e){var r,n,i,l,u,_,c="Expected escape sequence.",p=this.scanner,h=p._string_scanner$_position;p.expectChar$1(92);r=0;n=p.peekChar$0();if(n==null)p.error$1(0,c);else if(n===10||n===13||n===12)p.error$1(0,c);else if(s.isHex0(n)){for(i=0;i<6;++i){l=p.peekChar$0();if(l==null||!s.isHex0(l))break;r*=16;r+=s.asHex0(p.readChar$0())}this.scanCharIf$1(s.character0__isWhitespace$closure())}else r=p.readChar$0();if(e){u=r;u=u===95||s.isAlphabetic1(u)||u>=128}else{u=r;u=u===95||s.isAlphabetic1(u)||u>=128||s.isDigit0(u)||u===45}if(u)try{u=s.Primitives_stringFromCharCode(r);return u}catch(_){if($.RangeError._is(s.unwrapException(_)))p.error$3$length$position(0,"Invalid Unicode code point.",p._string_scanner$_position-h,h);else throw _}else{if(!(r<=31))if(!a.$eq$(r,127))p=e&&s.isDigit0(r);else p=true;else p=true;if(p){p=""+s.Primitives_stringFromCharCode(92);if(r>15)p+=s.Primitives_stringFromCharCode(s.hexCharFor0(o.JSNumber_methods._shrOtherPositive$1(r,4)));p=p+s.Primitives_stringFromCharCode(s.hexCharFor0(r&15))+s.Primitives_stringFromCharCode(32);return p.charCodeAt(0)==0?p:p}else return s.String_String$fromCharCodes(s._setArrayType([92,r],$.JSArray_int),0,null)}},escape$0(){return this.escape$1$identifierStart(false)},scanCharIf$1(e){var r=this.scanner;if(!e.call$1(r.peekChar$0()))return false;r.readChar$0();return true},scanIdentChar$2$caseSensitive(e,r){var n,i=new s.Parser_scanIdentChar_matches0(r,e),a=this.scanner,o=a.peekChar$0();if(o!=null&&i.call$1(o)){a.readChar$0();return true}else if(o===92){n=a._string_scanner$_position;if(i.call$1(s.consumeEscapedCharacter0(a)))return true;a.set$state(new s._SpanScannerState(a,n))}return false},scanIdentChar$1(e){return this.scanIdentChar$2$caseSensitive(e,false)},expectIdentChar$1(e){var r;if(this.scanIdentChar$2$caseSensitive(e,false))return;r=this.scanner;r.error$2$position(0,'Expected "'+s.Primitives_stringFromCharCode(e)+'".',r._string_scanner$_position)},lookingAtIdentifier$1(e){var r,n,i;if(e==null)e=0;r=this.scanner;n=r.peekChar$1(e);if(n==null)return false;if(n===95||s.isAlphabetic1(n)||n>=128||n===92)return true;if(n!==45)return false;i=r.peekChar$1(e+1);if(i==null)return false;return i===95||s.isAlphabetic1(i)||i>=128||i===92||i===45},lookingAtIdentifier$0(){return this.lookingAtIdentifier$1(null)},lookingAtIdentifierBody$0(){var e,r=this.scanner.peekChar$0();if(r!=null)e=r===95||s.isAlphabetic1(r)||r>=128||s.isDigit0(r)||r===45||r===92;else e=false;return e},scanIdentifier$2$caseSensitive(e,r){var n,i,a=this;if(!a.lookingAtIdentifier$0())return false;n=a.scanner;i=n._string_scanner$_position;if(a._parser0$_consumeIdentifier$2(e,r)&&!a.lookingAtIdentifierBody$0())return true;else{n.set$state(new s._SpanScannerState(n,i));return false}},scanIdentifier$1(e){return this.scanIdentifier$2$caseSensitive(e,false)},matchesIdentifier$1(e){var r,n,i,a=this;if(!a.lookingAtIdentifier$0())return false;r=a.scanner;n=r._string_scanner$_position;i=a._parser0$_consumeIdentifier$2(e,false)&&!a.lookingAtIdentifierBody$0();r.set$state(new s._SpanScannerState(r,n));return i},_parser0$_consumeIdentifier$2(e,r){var n,i,a;for(n=new s.CodeUnits(e),n=new s.ListIterator(n,n.get$length(n)),i=s._instanceType(n)._precomputed1;n.moveNext$0();){a=n.__internal$_current;if(!this.scanIdentChar$2$caseSensitive(a==null?i._as(a):a,r))return false}return true},expectIdentifier$2$name(e,r){var n,i,a,o,l,u,_;if(r==null)r='"'+e+'"';n=this.scanner;i=n._string_scanner$_position;for(a=new s.CodeUnits(e),a=new s.ListIterator(a,a.get$length(a)),o="Expected "+r,l=o+".",u=s._instanceType(a)._precomputed1;a.moveNext$0();){_=a.__internal$_current;if(this.scanIdentChar$2$caseSensitive(_==null?u._as(_):_,false))continue;n.error$2$position(0,l,i)}if(!this.lookingAtIdentifierBody$0())return;n.error$2$position(0,o,i)},expectIdentifier$1(e){return this.expectIdentifier$2$name(e,null)},rawText$1(e){var r=this.scanner,n=r._string_scanner$_position;e.call$0();return r.substring$1(0,n)},error$3(e,r,n,i){var a=new s.StringScannerException(this.scanner.string,r,n);if(i==null)throw s.wrapException(a);else s.throwWithTrace0(a,i)},error$2(e,r,n){return this.error$3(e,r,n,null)},withErrorMessage$1$2(e,r){var n,i,o,l;try{o=r.call$0();return o}catch(l){o=s.unwrapException(l);if($.SourceSpanFormatException._is(o)){n=o;i=s.getTraceFromException(l);o=a.get$span$z(n);s.throwWithTrace0(new s.SourceSpanFormatException(n.get$source(),e,o),i)}else throw l}},withErrorMessage$2(e,r){return this.withErrorMessage$1$2(e,r,$.dynamic)},wrapSpanFormatException$1$1(e){var r,n,i,o,l,u;try{l=e.call$0();return l}catch(u){l=s.unwrapException(u);if($.SourceSpanFormatException._is(l)){r=l;n=s.getTraceFromException(u);i=a.get$span$z(r);if(s.startsWithIgnoreCase0(r._span_exception$_message,"expected")&&a.get$length$asx(i)===0){o=this._parser0$_firstNewlineBefore$1(a.get$start$z(i).offset);if(!a.$eq$(o,a.get$start$z(i).offset))i=a.get$file$x(i).span$2(0,o,o)}s.throwWithTrace0(new s.SassFormatException0(r._span_exception$_message,i),n)}else throw u}},wrapSpanFormatException$1(e){return this.wrapSpanFormatException$1$1(e,$.dynamic)},_parser0$_firstNewlineBefore$1(e){var r,n,i,s=e-1;for(r=this.scanner.string,n=null;s>=0;){i=o.JSString_methods.codeUnitAt$1(r,s);if(!(i===32||i===9||i===10||i===13||i===12))return n==null?e:n;if(i===10||i===13||i===12)n=s;--s}return e}};s.Parser__parseIdentifier_closure0.prototype={call$0(){var e=this.$this,r=e.identifier$0();e.scanner.expectDone$0();return r},$signature:31};s.Parser_scanIdentChar_matches0.prototype={call$1(e){var r=this.char;return this.caseSensitive?e===r:s.characterEqualsIgnoreCase0(r,e)},$signature:57};s.PlaceholderSelector0.prototype={accept$1$1(e){return e.visitPlaceholderSelector$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},addSuffix$1(e){return new s.PlaceholderSelector0(this.name+e)},$eq(e,r){if(r==null)return false;return r instanceof s.PlaceholderSelector0&&r.name===this.name},get$hashCode(e){return o.JSString_methods.get$hashCode(this.name)}};s.PlainCssCallable0.prototype={$eq(e,r){if(r==null)return false;return r instanceof s.PlainCssCallable0&&this.name===r.name},get$hashCode(e){return o.JSString_methods.get$hashCode(this.name)},$isAsyncCallable0:1,$isCallable0:1,get$name(e){return this.name}};s.PrefixedMapView0.prototype={get$keys(e){return new s._PrefixedKeys0(this)},get$length(e){var r=this._prefixed_map_view0$_map;return r.get$length(r)},get$isEmpty(e){var r=this._prefixed_map_view0$_map;return r.get$isEmpty(r)},get$isNotEmpty(e){var r=this._prefixed_map_view0$_map;return r.get$isNotEmpty(r)},$index(e,r){return typeof r=="string"&&o.JSString_methods.startsWith$1(r,this._prefixed_map_view0$_prefix)?this._prefixed_map_view0$_map.$index(0,a.substring$1$s(r,this._prefixed_map_view0$_prefix.length)):null},containsKey$1(e){return typeof e=="string"&&o.JSString_methods.startsWith$1(e,this._prefixed_map_view0$_prefix)&&this._prefixed_map_view0$_map.containsKey$1(a.substring$1$s(e,this._prefixed_map_view0$_prefix.length))}};s._PrefixedKeys0.prototype={get$length(e){var r=this._prefixed_map_view0$_view._prefixed_map_view0$_map;return r.get$length(r)},get$iterator(e){var r=this._prefixed_map_view0$_view._prefixed_map_view0$_map;r=a.map$1$1$ax(r.get$keys(r),new s._PrefixedKeys_iterator_closure0(this),$.String);return r.get$iterator(r)},contains$1(e,r){return this._prefixed_map_view0$_view.containsKey$1(r)}};s._PrefixedKeys_iterator_closure0.prototype={call$1(e){return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix+e},$signature:5};s.PseudoSelector0.prototype={get$isHostContext(){return this.isClass&&this.name==="host-context"&&this.selector!=null},get$minSpecificity(){if(this._pseudo0$_minSpecificity==null)this._pseudo0$_computeSpecificity$0();var e=this._pseudo0$_minSpecificity;e.toString;return e},get$maxSpecificity(){if(this._pseudo0$_maxSpecificity==null)this._pseudo0$_computeSpecificity$0();var e=this._pseudo0$_maxSpecificity;e.toString;return e},addSuffix$1(e){var r=this;if(r.argument!=null||r.selector!=null)r.super$SimpleSelector$addSuffix0(e);return s.PseudoSelector$0(r.name+e,null,!r.isClass,null)},unify$1(e){var r,n,i,a,l,u,_=this,c=_.name;if(c==="host"||c==="host-context"){if(!o.JSArray_methods.every$1(e,new s.PseudoSelector_unify_closure0))return null}else if(e.length===1){r=o.JSArray_methods.get$first(e);if(!(r instanceof s.UniversalSelector0))if(r instanceof s.PseudoSelector0)c=r.isClass&&r.name==="host"||r.get$isHostContext();else c=false;else c=true;if(c)return r.unify$1(s._setArrayType([_],$.JSArray_SimpleSelector_2))}if(o.JSArray_methods.contains$1(e,_))return e;n=s._setArrayType([],$.JSArray_SimpleSelector_2);for(c=e.length,i=!_.isClass,a=false,l=0;l>>0}};s.PseudoSelector_unify_closure0.prototype={call$1(e){var r;if(e instanceof s.PseudoSelector0)r=e.isClass&&e.name==="host"||e.selector!=null;else r=false;return r},$signature:14};s.PublicMemberMapView0.prototype={get$keys(e){var r=this._public_member_map_view0$_inner;return a.where$1$ax(r.get$keys(r),s.utils0__isPublic$closure())},containsKey$1(e){return typeof e=="string"&&s.isPublic0(e)&&this._public_member_map_view0$_inner.containsKey$1(e)},$index(e,r){if(typeof r=="string"&&s.isPublic0(r))return this._public_member_map_view0$_inner.$index(0,r);return null}};s.QualifiedName0.prototype={$eq(e,r){if(r==null)return false;return r instanceof s.QualifiedName0&&r.name===this.name&&r.namespace==this.namespace},get$hashCode(e){return o.JSString_methods.get$hashCode(this.name)^a.get$hashCode$(this.namespace)},toString$0(e){var r=this.namespace,n=this.name;return r==null?n:r+"|"+n}};s.JSClass0.prototype={};s.JSClassExtension_setCustomInspect_closure.prototype={call$4(e,r,n,i){return this.inspect.call$1(e)},call$3(e,r,n){return this.call$4(e,r,n,null)},"call*":"call$4",$requiredArgCount:3,$defaultValues(){return[null]},$signature:490};s.JSClassExtension_get_defineMethod_closure.prototype={call$2(e,r){a.get$$prototype$x(this._this)[e]=s.allowInteropCaptureThisNamed(e,r);return null},$signature:243};s.JSClassExtension_get_defineGetter_closure.prototype={call$2(e,r){s.defineGetter(a.get$$prototype$x(this._this),e,r,null);return null},$signature:243};s.RenderContext0.prototype={};s.RenderContextOptions0.prototype={};s.RenderContextResult0.prototype={};s.RenderContextResultStats0.prototype={};s.RenderOptions.prototype={};s.RenderResult.prototype={};s.RenderResultStats.prototype={};s.ImporterResult0.prototype={get$sourceMapUrl(e){var r=this._result$_sourceMapUrl;return r==null?s.Uri_Uri$dataFromString(this.contents,o.C_Utf8Codec,null):r}};s.ReturnRule0.prototype={accept$1$1(e){return e.visitReturnRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return"@return "+this.expression.toString$0(0)+";"},$isAstNode0:1,$isStatement0:1,get$span(e){return this.span}};s.main_printError.prototype={call$2(e,r){var n=this._box_0;if(n.printedError)u.$get$stderr().writeln$0();n.printedError=true;n=u.$get$stderr();n.writeln$1(e);if(r!=null){n.writeln$0();n.writeln$1(o.JSString_methods.trimRight$0(s.Trace_Trace$from(r).get$terse().toString$0(0)))}},$signature:492};s.main_closure.prototype={call$0(){var e,r;try{e=this.destination;if(e!=null&&!this._box_0.options.get$emitErrorCss())s.deleteFile(e)}catch(r){if(!(s.unwrapException(r)instanceof s.FileSystemException))throw r}},$signature:1};s.SassParser0.prototype={get$currentIndentation(){return this._sass0$_currentIndentation},get$indented(){return true},styleRuleSelector$0(){var e,r=this.scanner,n=r._string_scanner$_position,i=new s.StringBuffer(""),a=new s.InterpolationBuffer0(i,s._setArrayType([],$.JSArray_Object));do{a.addInterpolation$1(this.almostAnyValue$1$omitComments(true));e=i._contents+=s.Primitives_stringFromCharCode(10)}while(o.JSString_methods.endsWith$1(o.JSString_methods.trimRight$0(e.charCodeAt(0)==0?e:e),",")&&this.scanCharIf$1(s.character0__isNewline$closure()));return a.interpolation$1(r.spanFrom$1(new s._SpanScannerState(r,n)))},expectStatementSeparator$1(e){var r,n=this;if(!n.atEndOfStatement$0())n._sass0$_expectNewline$0();if(n._sass0$_peekIndentation$0()<=n._sass0$_currentIndentation)return;r=e==null?"here":"beneath a "+e;n.scanner.error$2$position(0,"Nothing may be indented "+r+".",n._sass0$_nextIndentationEnd.position)},expectStatementSeparator$0(){return this.expectStatementSeparator$1(null)},atEndOfStatement$0(){var e=this.scanner.peekChar$0();return e==null||e===10||e===13||e===12},lookingAtChildren$0(){return this.atEndOfStatement$0()&&this._sass0$_peekIndentation$0()>this._sass0$_currentIndentation},importArgument$0(){var e,r,n,i,o,l,u,_,c=this,p=c.scanner;switch(p.peekChar$0()){case 117:case 85:o=new s._SpanScannerState(p,p._string_scanner$_position);if(c.scanIdentifier$1("url"))if(p.scanChar$1(40)){p.set$state(o);return c.super$StylesheetParser$importArgument0()}else p.set$state(o);break;case 39:case 34:return c.super$StylesheetParser$importArgument0()}o=new s._SpanScannerState(p,p._string_scanner$_position);l=p.peekChar$0();while(true){if(l!=null)if(l!==44)if(l!==59)u=!(l===10||l===13||l===12);else u=false;else u=false;else u=false;if(!u)break;p.readChar$0();l=p.peekChar$0()}e=p.substring$1(0,o.position);r=p.spanFrom$1(o);if(c.isPlainImportUrl$1(e))return new s.StaticImport0(s.Interpolation$0(s._setArrayType([s.serializeValue0(new s.SassString0(e,true),true,true)],$.JSArray_Object),r),null,r);else try{p=c.parseImportUrl$1(e);return new s.DynamicImport0(p,r)}catch(_){p=s.unwrapException(_);if($.FormatException._is(p)){n=p;i=s.getTraceFromException(_);c.error$3(0,"Invalid URL: "+a.get$message$x(n),r,i)}else throw _}},scanElse$1(e){var r,n,i,a,o,l=this;if(l._sass0$_peekIndentation$0()!==e)return false;r=l.scanner;n=r._string_scanner$_position;i=l._sass0$_currentIndentation;a=l._sass0$_nextIndentation;o=l._sass0$_nextIndentationEnd;l._sass0$_readIndentation$0();if(r.scanChar$1(64)&&l.scanIdentifier$1("else"))return true;r.set$state(new s._SpanScannerState(r,n));l._sass0$_currentIndentation=i;l._sass0$_nextIndentation=a;l._sass0$_nextIndentationEnd=o;return false},children$1(e,r){var n=s._setArrayType([],$.JSArray_Statement_2);this._sass0$_whileIndentedLower$1(new s.SassParser_children_closure0(this,r,n));return n},statements$1(e){var r,n,i,a=this.scanner,o=a.peekChar$0();if(o===9||o===32)a.error$3$length$position(0,c.Indent,a._string_scanner$_position,0);r=s._setArrayType([],$.JSArray_Statement_2);for(n=a.string.length;a._string_scanner$_position!==n;){i=this._sass0$_child$1(e);if(i!=null)r.push(i);this._sass0$_readIndentation$0()}return r},_sass0$_child$1(e){var r=this,n=r.scanner;switch(n.peekChar$0()){case 13:case 10:case 12:return null;case 36:return r.variableDeclarationWithoutNamespace$0();case 47:switch(n.peekChar$1(1)){case 47:return r._sass0$_silentComment$0();case 42:return r._sass0$_loudComment$0();default:return e.call$0()}default:return e.call$0()}},_sass0$_silentComment$0(){var e,r,n,i,a,o,l,u,_,c,$=this,p=$.scanner,h=p._string_scanner$_position;p.expect$1("//");e=new s.StringBuffer("");r=$._sass0$_currentIndentation;n=p.string.length;i=1+r;a=2+r;e:do{o=p.scanChar$1(47)?"///":"//";for(l=o.length;true;){u=e._contents+=o;for(_=l;_<$._sass0$_currentIndentation-r;++_){u+=s.Primitives_stringFromCharCode(32);e._contents=u}while(true){if(p._string_scanner$_position!==n){c=p.peekChar$0();c=!(c===10||c===13||c===12)}else c=false;if(!c)break;u+=s.Primitives_stringFromCharCode(p.readChar$0());e._contents=u}e._contents=u+"\n";if($._sass0$_peekIndentation$0()u;){s=l._sass0$_readIndentation$0();if(i==null)i=s;if(i!==s){a=r._string_scanner$_position;o=n.getColumn$1(a);r.error$3$length$position(0,"Inconsistent indentation, expected "+i+" spaces.",n.getColumn$1(r._string_scanner$_position),a-o)}e.call$0()}},_sass0$_readIndentation$0(){var e,r=this,n=r._sass0$_nextIndentation;if(n==null)n=r._sass0$_nextIndentation=r._sass0$_peekIndentation$0();r._sass0$_currentIndentation=n;e=r._sass0$_nextIndentationEnd;e.toString;r.scanner.set$state(e);r._sass0$_nextIndentationEnd=r._sass0$_nextIndentation=null;return n},_sass0$_peekIndentation$0(){var e,r,n,i,a,o,l,u,_,c=this,$=c._sass0$_nextIndentation;if($!=null)return $;e=c.scanner;r=e._string_scanner$_position;n=e.string.length;if(r===n){c._sass0$_nextIndentation=0;c._sass0$_nextIndentationEnd=new s._SpanScannerState(e,r);return 0}i=new s._SpanScannerState(e,r);if(!c.scanCharIf$1(s.character0__isNewline$closure()))e.error$2$position(0,"Expected newline.",e._string_scanner$_position);a=s._Cell$();o=s._Cell$();l=s._Cell$();r=l.__late_helper$_name;do{o._value=a._value=false;l._value=0;for(;true;){u=e.peekChar$0();if(u===32)o._value=true;else if(u===9)a._value=true;else break;_=l._value;if(_===l)s.throwExpression(s.LateError$localNI(r));l._value=_+1;e.readChar$0()}_=e._string_scanner$_position;if(_===n){c._sass0$_nextIndentation=0;c._sass0$_nextIndentationEnd=new s._SpanScannerState(e,_);e.set$state(i);return 0}}while(c.scanCharIf$1(s.character0__isNewline$closure()));r=a._readLocal$0();n=o._readLocal$0();if(r){if(n){r=e._string_scanner$_position;n=e._sourceFile;_=n.getColumn$1(r);e.error$3$length$position(0,"Tabs and spaces may not be mixed.",n.getColumn$1(e._string_scanner$_position),r-_)}else if(c._sass0$_spaces===true){r=e._string_scanner$_position;n=e._sourceFile;_=n.getColumn$1(r);e.error$3$length$position(0,"Expected spaces, was tabs.",n.getColumn$1(e._string_scanner$_position),r-_)}}else if(n&&c._sass0$_spaces===false){r=e._string_scanner$_position;n=e._sourceFile;_=n.getColumn$1(r);e.error$3$length$position(0,"Expected tabs, was spaces.",n.getColumn$1(e._string_scanner$_position),r-_)}c._sass0$_nextIndentation=l._readLocal$0();if(l._readLocal$0()>0)if(c._sass0$_spaces==null)c._sass0$_spaces=o._readLocal$0();c._sass0$_nextIndentationEnd=new s._SpanScannerState(e,e._string_scanner$_position);e.set$state(i);return l._readLocal$0()}};s.SassParser_children_closure0.prototype={call$0(){var e=this.$this._sass0$_child$1(this.child);if(e!=null)this.children.push(e)},$signature:0};s._Exports.prototype={};s._wrapMain_closure.prototype={call$1(e){return s._translateReturnValue(this.main.call$0())},$signature:80};s._wrapMain_closure0.prototype={call$1(e){return s._translateReturnValue(this.main.call$1(s.List_List$from($.List_dynamic._as(e),true,$.String)))},$signature:80};s.ScssParser0.prototype={get$indented(){return false},get$currentIndentation(){return 0},styleRuleSelector$0(){return this.almostAnyValue$0()},expectStatementSeparator$1(e){var r,n;this.whitespaceWithoutComments$0();r=this.scanner;if(r._string_scanner$_position===r.string.length)return;n=r.peekChar$0();if(n===59||n===125)return;r.expectChar$1(59)},expectStatementSeparator$0(){return this.expectStatementSeparator$1(null)},atEndOfStatement$0(){var e=this.scanner.peekChar$0();return e==null||e===59||e===125||e===123},lookingAtChildren$0(){return this.scanner.peekChar$0()===123},scanElse$1(e){var r,n=this,i=n.scanner,a=i._string_scanner$_position;n.whitespace$0();r=i._string_scanner$_position;if(i.scanChar$1(64)){if(n.scanIdentifier$2$caseSensitive("else",true))return true;if(n.scanIdentifier$2$caseSensitive("elseif",true)){n.logger.warn$3$deprecation$span(0,c.x40elsei,true,i.spanFrom$1(new s._SpanScannerState(i,r)));i.set$position(i._string_scanner$_position-2);return true}}i.set$state(new s._SpanScannerState(i,a));return false},children$1(e,r){var n,i=this,a=i.scanner;a.expectChar$1(123);i.whitespaceWithoutComments$0();n=s._setArrayType([],$.JSArray_Statement_2);for(;true;)switch(a.peekChar$0()){case 36:n.push(i.variableDeclarationWithoutNamespace$0());break;case 47:switch(a.peekChar$1(1)){case 47:n.push(i._scss0$_silentComment$0());i.whitespaceWithoutComments$0();break;case 42:n.push(i._scss0$_loudComment$0());i.whitespaceWithoutComments$0();break;default:n.push(r.call$0());break}break;case 59:a.readChar$0();i.whitespaceWithoutComments$0();break;case 125:a.expectChar$1(125);return n;default:n.push(r.call$0());break}},statements$1(e){var r,n,i,a=this,o=s._setArrayType([],$.JSArray_Statement_2);a.whitespaceWithoutComments$0();for(r=a.scanner,n=r.string.length;r._string_scanner$_position!==n;)switch(r.peekChar$0()){case 36:o.push(a.variableDeclarationWithoutNamespace$0());break;case 47:switch(r.peekChar$1(1)){case 47:o.push(a._scss0$_silentComment$0());a.whitespaceWithoutComments$0();break;case 42:o.push(a._scss0$_loudComment$0());a.whitespaceWithoutComments$0();break;default:i=e.call$0();if(i!=null)o.push(i);break}break;case 59:r.readChar$0();a.whitespaceWithoutComments$0();break;default:i=e.call$0();if(i!=null)o.push(i);break}return o},_scss0$_silentComment$0(){var e,r,n=this,i=n.scanner,a=new s._SpanScannerState(i,i._string_scanner$_position);i.expect$1("//");e=i.string.length;do{while(true){if(i._string_scanner$_position!==e){r=i.readChar$0();r=!(r===10||r===13||r===12)}else r=false;if(!r)break}if(i._string_scanner$_position===e)break;n.whitespaceWithoutComments$0()}while(i.scan$1("//"));if(n.get$plainCss())n.error$2(0,c.Silent,i.spanFrom$1(a));return n.lastSilentComment=new s.SilentComment0(i.substring$1(0,a.position),i.spanFrom$1(a))},_scss0$_loudComment$0(){var e,r,n,i,a,o,l,u=this.scanner,_=u._string_scanner$_position;u.expect$1("/*");e=new s.StringBuffer("");r=s._setArrayType([],$.JSArray_Object);n=new s.InterpolationBuffer0(e,r);e._contents=""+"/*";for(;true;)switch(u.peekChar$0()){case 35:if(u.peekChar$1(1)===123){i=this.singleInterpolation$0();n._interpolation_buffer0$_flushText$0();r.push(i)}else e._contents+=s.Primitives_stringFromCharCode(u.readChar$0());break;case 42:e._contents+=s.Primitives_stringFromCharCode(u.readChar$0());if(u.peekChar$0()!==47)break;e._contents+=s.Primitives_stringFromCharCode(u.readChar$0());a=u._string_scanner$_position;i=u._sourceFile;o=new s._SpanScannerState(u,_).position;u=new s._FileSpan(i,o,a);u._FileSpan$3(i,o,a);o=$.Object;i=s.List_List$of(r,true,o);_=e._contents;if(_.length!==0)i.push(_.charCodeAt(0)==0?_:_);l=s.List_List$from(i,false,o);l.fixed$length=Array;l.immutable$list=Array;_=new s.Interpolation0(l,u);_.Interpolation$20(i,u);return new s.LoudComment0(_);case 13:u.readChar$0();if(u.peekChar$0()!==10)e._contents+=s.Primitives_stringFromCharCode(10);break;case 12:u.readChar$0();e._contents+=s.Primitives_stringFromCharCode(10);break;default:e._contents+=s.Primitives_stringFromCharCode(u.readChar$0());break}}};s.Selector0.prototype={assertNotBogus$1$name(e){var r;if(!this.accept$1(o._IsBogusVisitor_true0))return;r=this.toString$0(0);s.EvaluationContext_current0().warn$2$deprecation(0,"$"+e+": "+(r+c.x20is_nov),true)},toString$0(e){var r=s._SerializeVisitor$0(null,true,null,true,false,null,true);this.accept$1(r);return r._serialize0$_buffer.toString$0(0)}};s._IsInvisibleVisitor2.prototype={visitSelectorList$1(e){return o.JSArray_methods.every$1(e.components,this.get$visitComplexSelector())},visitComplexSelector$1(e){var r;if(!this.super$AnySelectorVisitor$visitComplexSelector0(e))r=this.includeBogus&&e.accept$1(o._IsBogusVisitor_false0);else r=true;return r},visitPlaceholderSelector$1(e){return true},visitPseudoSelector$1(e){var r,n=e.selector;if(n==null)return false;if(e.name==="not")r=this.includeBogus&&n.accept$1(o._IsBogusVisitor_true0);else r=this.visitSelectorList$1(n);return r}};s._IsBogusVisitor0.prototype={visitComplexSelector$1(e){var r,n,i=e.components;if(i.length===0)return e.leadingCombinators.length!==0;else{r=e.leadingCombinators;n=this.includeLeadingCombinator?0:1;return r.length>n||o.JSArray_methods.get$last(i).combinators.length!==0||o.JSArray_methods.any$1(i,new s._IsBogusVisitor_visitComplexSelector_closure0(this))}},visitPseudoSelector$1(e){var r=e.selector;if(r==null)return false;return e.name==="has"?r.accept$1(o._IsBogusVisitor_false0):r.accept$1(o._IsBogusVisitor_true0)}};s._IsBogusVisitor_visitComplexSelector_closure0.prototype={call$1(e){return e.combinators.length>1||this.$this.visitCompoundSelector$1(e.selector)},$signature:52};s._IsUselessVisitor0.prototype={visitComplexSelector$1(e){return e.leadingCombinators.length>1||o.JSArray_methods.any$1(e.components,new s._IsUselessVisitor_visitComplexSelector_closure0(this))},visitPseudoSelector$1(e){return e.accept$1(o._IsBogusVisitor_true0)}};s._IsUselessVisitor_visitComplexSelector_closure0.prototype={call$1(e){return e.combinators.length>1||this.$this.visitCompoundSelector$1(e.selector)},$signature:52};s.SelectorExpression0.prototype={accept$1$1(e){return e.visitSelectorExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return"&"},$isExpression0:1,$isAstNode0:1,get$span(e){return this.span}};s._nest_closure0.prototype={call$1(e){var r={},n=a.$index$asx(e,0).get$asList();if(n.length===0)throw s.wrapException(s.SassScriptException$0(c.x24selec));r.first=true;return new s.MappedListIterable(n,new s._nest__closure1(r),s._arrayInstanceType(n)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0,new s._nest__closure2).get$asSassList()},$signature:21};s._nest__closure1.prototype={call$1(e){var r=this._box_0,n=s.SassApiValue_assertSelector0(e,!r.first,null);r.first=false;return n},$signature:244};s._nest__closure2.prototype={call$2(e,r){return r.resolveParentSelectors$1(e)},$signature:245};s._append_closure1.prototype={call$1(e){var r=a.$index$asx(e,0).get$asList();if(r.length===0)throw s.wrapException(s.SassScriptException$0(c.x24selec));return new s.MappedListIterable(r,new s._append__closure1,s._arrayInstanceType(r)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0,new s._append__closure2).get$asSassList()},$signature:21};s._append__closure1.prototype={call$1(e){return s.SassApiValue_assertSelector0(e,false,null)},$signature:244};s._append__closure2.prototype={call$2(e,r){var n=r.components;return s.SelectorList$0(new s.MappedListIterable(n,new s._append___closure0(e),s._arrayInstanceType(n)._eval$1("MappedListIterable<1,ComplexSelector0>"))).resolveParentSelectors$1(e)},$signature:245};s._append___closure0.prototype={call$1(e){var r,n,i,a;if(e.leadingCombinators.length!==0)throw s.wrapException(s.SassScriptException$0("Can't append "+e.toString$0(0)+" to "+this.parent.toString$0(0)+"."));r=e.components;n=o.JSArray_methods.get$first(r);i=s._prependParent0(n.selector);if(i==null)throw s.wrapException(s.SassScriptException$0("Can't append "+e.toString$0(0)+" to "+this.parent.toString$0(0)+"."));a=s._setArrayType([new s.ComplexSelectorComponent0(i,s.List_List$unmodifiable(n.combinators,$.Combinator_2))],$.JSArray_ComplexSelectorComponent_2);o.JSArray_methods.addAll$1(a,s.SubListIterable$(r,1,null,s._arrayInstanceType(r)._precomputed1));return s.ComplexSelector$0(o.List_empty13,a,false)},$signature:74};s._extend_closure0.prototype={call$1(e){var r,n,i="selector",l="extendee",u="extender",_=a.getInterceptor$asx(e),c=s.SassApiValue_assertSelector0(_.$index(e,0),false,i);c.assertNotBogus$1$name(i);r=s.SassApiValue_assertSelector0(_.$index(e,1),false,l);r.assertNotBogus$1$name(l);n=s.SassApiValue_assertSelector0(_.$index(e,2),false,u);n.assertNotBogus$1$name(u);return s.ExtensionStore__extendOrReplace0(c,n,r,o.ExtendMode_allTargets0,s.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList()},$signature:21};s._replace_closure0.prototype={call$1(e){var r,n,i="selector",l="original",u="replacement",_=a.getInterceptor$asx(e),c=s.SassApiValue_assertSelector0(_.$index(e,0),false,i);c.assertNotBogus$1$name(i);r=s.SassApiValue_assertSelector0(_.$index(e,1),false,l);r.assertNotBogus$1$name(l);n=s.SassApiValue_assertSelector0(_.$index(e,2),false,u);n.assertNotBogus$1$name(u);return s.ExtensionStore__extendOrReplace0(c,n,r,o.ExtendMode_replace0,s.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList()},$signature:21};s._unify_closure0.prototype={call$1(e){var r,n,i="selector1",l="selector2",u=a.getInterceptor$asx(e),_=s.SassApiValue_assertSelector0(u.$index(e,0),false,i);_.assertNotBogus$1$name(i);r=s.SassApiValue_assertSelector0(u.$index(e,1),false,l);r.assertNotBogus$1$name(l);n=_.unify$1(r);return n==null?o.C__SassNull0:n.get$asSassList()},$signature:3};s._isSuperselector_closure0.prototype={call$1(e){var r,n=a.getInterceptor$asx(e),i=s.SassApiValue_assertSelector0(n.$index(e,0),false,"super");i.assertNotBogus$1$name("super");r=s.SassApiValue_assertSelector0(n.$index(e,1),false,"sub");r.assertNotBogus$1$name("sub");return s.listIsSuperselector0(i.components,r.components)?o.SassBoolean_true0:o.SassBoolean_false0},$signature:19};s._simpleSelectors_closure0.prototype={call$1(e){var r=s.SassApiValue_assertCompoundSelector0(a.$index$asx(e,0),"selector").components;return s.SassList$0(new s.MappedListIterable(r,new s._simpleSelectors__closure0,s._arrayInstanceType(r)._eval$1("MappedListIterable<1,Value0>")),o.ListSeparator_kWM0,false)},$signature:21};s._simpleSelectors__closure0.prototype={call$1(e){return new s.SassString0(s.serializeSelector0(e,true),false)},$signature:495};s._parse_closure0.prototype={call$1(e){return s.SassApiValue_assertSelector0(a.$index$asx(e,0),false,"selector").get$asSassList()},$signature:21};s.SelectorParser0.prototype={parse$0(){return this.wrapSpanFormatException$1(new s.SelectorParser_parse_closure0(this))},parseCompoundSelector$0(){return this.wrapSpanFormatException$1(new s.SelectorParser_parseCompoundSelector_closure0(this))},_selector$_selectorList$0(){var e,r,n,i=this,a=i.scanner,o=a._sourceFile,l=o.getLine$1(a._string_scanner$_position),u=s._setArrayType([i._selector$_complexSelector$0()],$.JSArray_ComplexSelector_2);i.whitespace$0();for(e=a.string.length;a.scanChar$1(44);){i.whitespace$0();if(a.peekChar$0()===44)continue;r=a._string_scanner$_position;if(r===e)break;n=o.getLine$1(r)!==l;if(n)l=o.getLine$1(a._string_scanner$_position);u.push(i._selector$_complexSelector$1$lineBreak(n))}return s.SelectorList$0(u)},_selector$_complexSelector$1$lineBreak(e){var r,n,i,a,l,u,_,p,h=this,d=$.JSArray_Combinator_2,m=s._setArrayType([],d),g=s._setArrayType([],$.JSArray_ComplexSelectorComponent_2);e:for(r=h.scanner,n=o.Set_2Vk2._map,i=$.Combinator_2,a=null,l=null;true;){h.whitespace$0();u=r.peekChar$0();switch(u){case 43:r.readChar$0();m.push(o.Combinator_uzg0);break;case 62:r.readChar$0();m.push(o.Combinator_sgq0);break;case 126:r.readChar$0();m.push(o.Combinator_CzM0);break;default:if(u!=null)_=!n.containsKey$1(u)&&!h.lookingAtIdentifier$0();else _=true;if(_)break e;if(a!=null){p=s.List_List$from(m,false,i);p.fixed$length=Array;p.immutable$list=Array;g.push(new s.ComplexSelectorComponent0(a,p))}else if(m.length!==0)l=m;a=h._selector$_compoundSelector$0();m=s._setArrayType([],d);if(r.peekChar$0()===38)r.error$1(0,c.x22x26__ma);break}}if(a!=null)g.push(new s.ComplexSelectorComponent0(a,s.List_List$unmodifiable(m,i)));else if(m.length!==0)l=m;else r.error$1(0,"expected selector.");return s.ComplexSelector$0(l==null?o.List_empty13:l,g,e)},_selector$_complexSelector$0(){return this._selector$_complexSelector$1$lineBreak(false)},_selector$_compoundSelector$0(){var e,r=s._setArrayType([this._selector$_simpleSelector$0()],$.JSArray_SimpleSelector_2),n=this.scanner;while(true){e=n.peekChar$0();if(!(e===42||e===91||e===46||e===35||e===37||e===58))break;r.push(this._selector$_simpleSelector$1$allowParent(false))}return s.CompoundSelector$0(r)},_selector$_simpleSelector$1$allowParent(e){var r,n,i,a,o=this,l=o.scanner,u=new s._SpanScannerState(l,l._string_scanner$_position);if(e==null)e=o._selector$_allowParent;switch(l.peekChar$0()){case 91:return o._selector$_attributeSelector$0();case 46:l.expectChar$1(46);return new s.ClassSelector0(o.identifier$0());case 35:l.expectChar$1(35);return new s.IDSelector0(o.identifier$0());case 37:l.expectChar$1(37);r=o.identifier$0();if(!o._selector$_allowPlaceholder)o.error$2(0,c.Placeh,l.spanFrom$1(u));return new s.PlaceholderSelector0(r);case 58:return o._selector$_pseudoSelector$0();case 38:l.expectChar$1(38);if(o.lookingAtIdentifierBody$0()){n=new s.StringBuffer("");o._parser0$_identifierBody$1(n);if(n._contents.length===0)l.error$1(0,"Expected identifier body.");i=n._contents;a=i.charCodeAt(0)==0?i:i}else a=null;if(!e)o.error$2(0,"Parent selectors aren't allowed here.",l.spanFrom$1(u));return new s.ParentSelector0(a);default:return o._selector$_typeOrUniversalSelector$0()}},_selector$_simpleSelector$0(){return this._selector$_simpleSelector$1$allowParent(null)},_selector$_attributeSelector$0(){var e,r,n,i,a,o=this,l=null,u=o.scanner;u.expectChar$1(91);o.whitespace$0();e=o._selector$_attributeName$0();o.whitespace$0();if(u.scanChar$1(93))return new s.AttributeSelector0(e,l,l,l);r=o._selector$_attributeOperator$0();o.whitespace$0();n=u.peekChar$0();i=n===39||n===34?o.string$0():o.identifier$0();o.whitespace$0();n=u.peekChar$0();a=n!=null&&s.isAlphabetic1(n)?s.Primitives_stringFromCharCode(u.readChar$0()):l;u.expectChar$1(93);return new s.AttributeSelector0(e,r,i,a)},_selector$_attributeName$0(){var e,r=this,n=r.scanner;if(n.scanChar$1(42)){n.expectChar$1(124);return new s.QualifiedName0(r.identifier$0(),"*")}if(n.scanChar$1(124))return new s.QualifiedName0(r.identifier$0(),"");e=r.identifier$0();if(n.peekChar$0()!==124||n.peekChar$1(1)===61)return new s.QualifiedName0(e,null);n.readChar$0();return new s.QualifiedName0(r.identifier$0(),e)},_selector$_attributeOperator$0(){var e=this.scanner,r=e._string_scanner$_position;switch(e.readChar$0()){case 61:return o.AttributeOperator_sEs0;case 126:e.expectChar$1(61);return o.AttributeOperator_fz10;case 124:e.expectChar$1(61);return o.AttributeOperator_AuK0;case 94:e.expectChar$1(61);return o.AttributeOperator_4L50;case 36:e.expectChar$1(61);return o.AttributeOperator_mOX0;case 42:e.expectChar$1(61);return o.AttributeOperator_gqZ0;default:e.error$2$position(0,'Expected "]".',r)}},_selector$_pseudoSelector$0(){var e,r,n,i,a,l,_=this,c=null,$=_.scanner;$.expectChar$1(58);e=$.scanChar$1(58);r=_.identifier$0();if(!$.scanChar$1(40))return s.PseudoSelector$0(r,c,e,c);_.whitespace$0();n=s.unvendor0(r);if(e)if(u._selectorPseudoElements0.contains$1(0,n)){i=_._selector$_selectorList$0();a=c}else{a=_.declarationValue$1$allowEmpty(true);i=c}else if(u._selectorPseudoClasses0.contains$1(0,n)){i=_._selector$_selectorList$0();a=c}else if(n==="nth-child"||n==="nth-last-child"){a=_._selector$_aNPlusB$0();_.whitespace$0();l=$.peekChar$1(-1);if((l===32||l===9||l===10||l===13||l===12)&&$.peekChar$0()!==41){_.expectIdentifier$1("of");a+=" of";_.whitespace$0();i=_._selector$_selectorList$0()}else i=c}else{a=o.JSString_methods.trimRight$0(_.declarationValue$1$allowEmpty(true));i=c}$.expectChar$1(41);return s.PseudoSelector$0(r,a,e,i)},_selector$_aNPlusB$0(){var e,r,n,i,a,o=this,l=o.scanner;switch(l.peekChar$0()){case 101:case 69:o.expectIdentifier$1("even");return"even";case 111:case 79:o.expectIdentifier$1("odd");return"odd";case 43:case 45:e=""+s.Primitives_stringFromCharCode(l.readChar$0());break;default:e=""}r=l.peekChar$0();if(r!=null&&s.isDigit0(r)){while(true){n=l.peekChar$0();if(!(n!=null&&n>=48&&n<=57))break;e+=s.Primitives_stringFromCharCode(l.readChar$0())}o.whitespace$0();if(!o.scanIdentChar$1(110))return e.charCodeAt(0)==0?e:e}else o.expectIdentChar$1(110);e+=s.Primitives_stringFromCharCode(110);o.whitespace$0();i=l.peekChar$0();if(i!==43&&i!==45)return e.charCodeAt(0)==0?e:e;e+=s.Primitives_stringFromCharCode(l.readChar$0());o.whitespace$0();a=l.peekChar$0();if(a==null||!s.isDigit0(a))l.error$1(0,"Expected a number.");while(true){n=l.peekChar$0();if(!(n!=null&&n>=48&&n<=57))break;e+=s.Primitives_stringFromCharCode(l.readChar$0())}return e.charCodeAt(0)==0?e:e},_selector$_typeOrUniversalSelector$0(){var e,r=this,n=r.scanner,i=n.peekChar$0();if(i===42){n.readChar$0();if(!n.scanChar$1(124))return new s.UniversalSelector0(null);if(n.scanChar$1(42))return new s.UniversalSelector0("*");else return new s.TypeSelector0(new s.QualifiedName0(r.identifier$0(),"*"))}else if(i===124){n.readChar$0();if(n.scanChar$1(42))return new s.UniversalSelector0("");else return new s.TypeSelector0(new s.QualifiedName0(r.identifier$0(),""))}e=r.identifier$0();if(!n.scanChar$1(124))return new s.TypeSelector0(new s.QualifiedName0(e,null));else if(n.scanChar$1(42))return new s.UniversalSelector0(e);else return new s.TypeSelector0(new s.QualifiedName0(r.identifier$0(),e))}};s.SelectorParser_parse_closure0.prototype={call$0(){var e=this.$this,r=e._selector$_selectorList$0();e=e.scanner;if(e._string_scanner$_position!==e.string.length)e.error$1(0,"expected selector.");return r},$signature:48};s.SelectorParser_parseCompoundSelector_closure0.prototype={call$0(){var e=this.$this,r=e._selector$_compoundSelector$0();e=e.scanner;if(e._string_scanner$_position!==e.string.length)e.error$1(0,"expected selector.");return r},$signature:496};s.serialize_closure0.prototype={call$1(e){return e>127},$signature:57};s._SerializeVisitor0.prototype={visitCssStylesheet$1(e){var r,n,i,s,l,u,_,c,p,h,d,m=this;for(r=a.get$iterator$ax(e.get$children(e)),n=!m._serialize0$_inspect,i=m._serialize0$_style===o.OutputStyle_compressed0,s=!i,l=$.CssComment_2,u=$.CssParentNode_2,_=m._serialize0$_buffer,c=m._lineFeed.text,p=null;r.moveNext$0();){h=r.get$current(r);if(n)d=i?h.accept$1(o._IsInvisibleVisitor_true_true0):h.accept$1(o._IsInvisibleVisitor_true_false0);else d=false;if(d)continue;if(p!=null){if(u._is(p)?p.get$isChildless():!l._is(p))_.writeCharCode$1(59);if(m._serialize0$_isTrailingComment$2(h,p)){if(s)_.writeCharCode$1(32)}else{if(s)_.write$1(0,c);if(p.get$isGroupEnd())if(s)_.write$1(0,c)}}h.accept$1(m);p=h}if(p!=null)r=(u._is(p)?p.get$isChildless():!l._is(p))&&s;else r=false;if(r)_.writeCharCode$1(59)},visitCssComment$1(e){this._serialize0$_buffer.forSpan$2(e.span,new s._SerializeVisitor_visitCssComment_closure0(this,e))},visitCssAtRule$1(e){var r,n=this;n._serialize0$_writeIndentation$0();r=n._serialize0$_buffer;r.forSpan$2(e.span,new s._SerializeVisitor_visitCssAtRule_closure0(n,e));if(!e.isChildless){if(n._serialize0$_style!==o.OutputStyle_compressed0)r.writeCharCode$1(32);n._serialize0$_visitChildren$1(e)}},visitCssMediaRule$1(e){var r,n=this;n._serialize0$_writeIndentation$0();r=n._serialize0$_buffer;r.forSpan$2(e.span,new s._SerializeVisitor_visitCssMediaRule_closure0(n,e));if(n._serialize0$_style!==o.OutputStyle_compressed0)r.writeCharCode$1(32);n._serialize0$_visitChildren$1(e)},visitCssImport$1(e){this._serialize0$_writeIndentation$0();this._serialize0$_buffer.forSpan$2(e.span,new s._SerializeVisitor_visitCssImport_closure0(this,e))},_serialize0$_writeImportUrl$1(e){var r,n,i=this;if(i._serialize0$_style!==o.OutputStyle_compressed0||o.JSString_methods._codeUnitAt$1(e,0)!==117){i._serialize0$_buffer.write$1(0,e);return}r=o.JSString_methods.substring$2(e,4,e.length-1);n=o.JSString_methods._codeUnitAt$1(r,0);if(n===39||n===34)i._serialize0$_buffer.write$1(0,r);else i._serialize0$_visitQuotedString$1(r)},visitCssKeyframeBlock$1(e){var r,n=this;n._serialize0$_writeIndentation$0();r=n._serialize0$_buffer;r.forSpan$2(e.selector.span,new s._SerializeVisitor_visitCssKeyframeBlock_closure0(n,e));if(n._serialize0$_style!==o.OutputStyle_compressed0)r.writeCharCode$1(32);n._serialize0$_visitChildren$1(e)},_serialize0$_visitMediaQuery$1(e){var r,n,i,s,l=this,u=e.modifier;if(u!=null){r=l._serialize0$_buffer;r.write$1(0,u);r.writeCharCode$1(32)}u=e.type;if(u!=null){r=l._serialize0$_buffer;r.write$1(0,u);if(e.conditions.length!==0)r.write$1(0," and ")}u=e.conditions;if(u.length===1&&a.startsWith$1$s(o.JSArray_methods.get$first(u),"(not ")){r=l._serialize0$_buffer;r.write$1(0,"not ");n=o.JSArray_methods.get$first(u);r.write$1(0,o.JSString_methods.substring$2(n,5,n.length-1))}else{i=e.conjunction?"and":"or";r=l._serialize0$_style===o.OutputStyle_compressed0?i+" ":" "+i+" ";s=l._serialize0$_buffer;l._serialize0$_writeBetween$3(u,r,s.get$write(s))}},visitCssStyleRule$1(e){var r,n=this;n._serialize0$_writeIndentation$0();r=n._serialize0$_buffer;r.forSpan$2(e.selector.span,new s._SerializeVisitor_visitCssStyleRule_closure0(n,e));if(n._serialize0$_style!==o.OutputStyle_compressed0)r.writeCharCode$1(32);n._serialize0$_visitChildren$1(e)},visitCssSupportsRule$1(e){var r,n=this;n._serialize0$_writeIndentation$0();r=n._serialize0$_buffer;r.forSpan$2(e.span,new s._SerializeVisitor_visitCssSupportsRule_closure0(n,e));if(n._serialize0$_style!==o.OutputStyle_compressed0)r.writeCharCode$1(32);n._serialize0$_visitChildren$1(e)},visitCssDeclaration$1(e){var r,n,i,l,u,_,c,p=this;p._serialize0$_writeIndentation$0();u=e.name;p._serialize0$_write$1(u);_=p._serialize0$_buffer;_.writeCharCode$1(58);if(a.startsWith$1$s(u.get$value(u),"--")&&e.parsedAsCustomProperty){u=e.value;_.forSpan$2(u.get$span(u),new s._SerializeVisitor_visitCssDeclaration_closure1(p,e))}else{if(p._serialize0$_style!==o.OutputStyle_compressed0)_.writeCharCode$1(32);try{_.forSpan$2(e.valueSpanForMap,new s._SerializeVisitor_visitCssDeclaration_closure2(p,e))}catch(c){u=s.unwrapException(c);if(u instanceof s.MultiSpanSassScriptException0){r=u;n=s.getTraceFromException(c);u=r.message;_=e.value;_=_.get$span(_);s.throwWithTrace0(new s.MultiSpanSassException0(r.primaryLabel,s.ConstantMap_ConstantMap$from(r.secondarySpans,$.FileSpan,$.String),u,_),n)}else if(u instanceof s.SassScriptException0){i=u;l=s.getTraceFromException(c);u=e.value;s.throwWithTrace0(new s.SassException0(i.message,u.get$span(u)),l)}else throw c}}},_serialize0$_writeFoldedValue$1(e){var r,n,i,a=e.value,o=s.StringScanner$($.SassString_2._as(a.get$value(a))._string0$_text,null,null);for(a=o.string.length,r=this._serialize0$_buffer;o._string_scanner$_position!==a;){n=o.readChar$0();if(n!==10){r.writeCharCode$1(n);continue}r.writeCharCode$1(32);while(true){i=o.peekChar$0();if(!(i===32||i===9||i===10||i===13||i===12))break;o.readChar$0()}}},_serialize0$_writeReindentedValue$1(e){var r=this,n=e.value,i=$.SassString_2._as(n.get$value(n))._string0$_text,a=r._serialize0$_minimumIndentation$1(i);if(a==null){r._serialize0$_buffer.write$1(0,i);return}else if(a===-1){n=r._serialize0$_buffer;n.write$1(0,s.trimAsciiRight0(i,true));n.writeCharCode$1(32);return}n=e.name;n=n.get$span(n);n=n.get$start(n);r._serialize0$_writeWithIndent$2(i,Math.min(a,n.file.getColumn$1(n.offset)))},_serialize0$_minimumIndentation$1(e){var r,n,i,a,o,l=s.LineScanner$(e),u=l.string.length;while(true){if(l._string_scanner$_position!==u){r=l.super$StringScanner$readChar();l._adjustLineAndColumn$1(r);n=r!==10}else n=false;if(!n)break}if(l._string_scanner$_position===u)return l.peekChar$1(-1)===10?-1:null;for(i=null;l._string_scanner$_position!==u;){for(;l._string_scanner$_position!==u;){a=l.peekChar$0();if(a!==32&&a!==9)break;l._adjustLineAndColumn$1(l.super$StringScanner$readChar())}if(l._string_scanner$_position===u||l.scanChar$1(10))continue;o=l._line_scanner$_column;i=i==null?o:Math.min(i,o);while(true){if(l._string_scanner$_position!==u){r=l.super$StringScanner$readChar();l._adjustLineAndColumn$1(r);n=r!==10}else n=false;if(!n)break}}return i==null?-1:i},_serialize0$_writeWithIndent$2(e,r){var n,i,a,l,u,_,c,$=s.LineScanner$(e);for(n=$.string,i=n.length,a=this._serialize0$_buffer;$._string_scanner$_position!==i;){l=$.super$StringScanner$readChar();$._adjustLineAndColumn$1(l);if(l===10)break;a.writeCharCode$1(l)}for(;true;){u=$._string_scanner$_position;for(_=1;true;){if($._string_scanner$_position===i){a.writeCharCode$1(32);return}l=$.super$StringScanner$readChar();$._adjustLineAndColumn$1(l);if(l===32||l===9)continue;if(l!==10)break;u=$._string_scanner$_position;++_}this._serialize0$_writeTimes$2(10,_);this._serialize0$_writeIndentation$0();c=$._string_scanner$_position;a.write$1(0,o.JSString_methods.substring$2(n,u+r,c));for(;true;){if($._string_scanner$_position===i)return;l=$.super$StringScanner$readChar();$._adjustLineAndColumn$1(l);if(l===10)break;a.writeCharCode$1(l)}}},_serialize0$_writeCalculationValue$1(e){var r,n,i,a,l,u,_,c=this;if(e instanceof s.Value0)e.accept$1(c);else if(e instanceof s.CalculationInterpolation0)c._serialize0$_buffer.write$1(0,e.value);else if(e instanceof s.CalculationOperation0){r=e.left;if(!(r instanceof s.CalculationInterpolation0))n=r instanceof s.CalculationOperation0&&r.operator.precedence"));a=e._list1$_separator;l=u._serialize0$_separatorString$1(a);u._serialize0$_writeBetween$3(n,l,r?new s._SerializeVisitor_visitList_closure3(u,e):new s._SerializeVisitor_visitList_closure4(u));if(i){r=u._serialize0$_buffer;r.write$1(0,a.separator);if(!_)r.writeCharCode$1(41)}if(_)u._serialize0$_buffer.writeCharCode$1(93)},_serialize0$_separatorString$1(e){switch(e){case o.ListSeparator_kWM0:return this._serialize0$_style===o.OutputStyle_compressed0?",":", ";case o.ListSeparator_1gm0:return this._serialize0$_style===o.OutputStyle_compressed0?"/":" / ";case o.ListSeparator_woc0:return" ";default:return""}},_serialize0$_elementNeedsParens$2(e,r){var n;if(r instanceof s.SassList0){if(r._list1$_contents.length<2)return false;if(r._list1$_hasBrackets)return false;switch(e){case o.ListSeparator_kWM0:return r._list1$_separator===o.ListSeparator_kWM0;case o.ListSeparator_1gm0:n=r._list1$_separator;return n===o.ListSeparator_kWM0||n===o.ListSeparator_1gm0;default:return r._list1$_separator!==o.ListSeparator_undecided_null0}}return false},visitMap$1(e){var r,n,i=this;if(!i._serialize0$_inspect)throw s.wrapException(s.SassScriptException$0(e.toString$0(0)+" isn't a valid CSS value."));r=i._serialize0$_buffer;r.writeCharCode$1(40);n=e._map0$_contents;i._serialize0$_writeBetween$3(n.get$entries(n),", ",new s._SerializeVisitor_visitMap_closure0(i));r.writeCharCode$1(41)},_serialize0$_writeMapElement$1(e){var r=e instanceof s.SassList0&&e._list1$_separator===o.ListSeparator_kWM0&&!e._list1$_hasBrackets;if(r)this._serialize0$_buffer.writeCharCode$1(40);e.accept$1(this);if(r)this._serialize0$_buffer.writeCharCode$1(41)},visitNumber$1(e){var r=this,n=e.asSlash;if(n!=null){r.visitNumber$1(n.item1);r._serialize0$_buffer.writeCharCode$1(47);r.visitNumber$1(n.item2);return}r._serialize0$_writeNumber$1(e._number1$_value);if(!r._serialize0$_inspect){if(e.get$numeratorUnits(e).length>1||e.get$denominatorUnits(e).length!==0)throw s.wrapException(s.SassScriptException$0(e.toString$0(0)+" isn't a valid CSS value."));if(e.get$numeratorUnits(e).length!==0)r._serialize0$_buffer.write$1(0,o.JSArray_methods.get$first(e.get$numeratorUnits(e)))}else r._serialize0$_buffer.write$1(0,e.get$unitString())},_serialize0$_writeNumber$1(e){var r,n=this,i=s.fuzzyIsInt0(e)?o.JSNumber_methods.round$0(e):null;if(i!=null){n._serialize0$_buffer.write$1(0,n._serialize0$_removeExponent$1(o.JSInt_methods.toString$0(i)));return}r=n._serialize0$_removeExponent$1(o.JSNumber_methods.toString$0(e));if(r.length<12){if(n._serialize0$_style===o.OutputStyle_compressed0&&o.JSString_methods._codeUnitAt$1(r,0)===48)r=o.JSString_methods.substring$1(r,1);n._serialize0$_buffer.write$1(0,r);return}n._serialize0$_writeRounded$1(r)},_serialize0$_removeExponent$1(e){var r,n,i,a=o.JSString_methods._codeUnitAt$1(e,0),l=a===45,u=s._Cell$(),_=e.length,c=0;while(true){if(!(c<_)){r=null;break}e:{if(o.JSString_methods._codeUnitAt$1(e,c)!==101)break e;r=new s.StringBuffer("");a=r._contents=""+s.Primitives_stringFromCharCode(a);if(l){a+=s.Primitives_stringFromCharCode(o.JSString_methods._codeUnitAt$1(e,1));r._contents=a;if(c>3)r._contents=a+o.JSString_methods.substring$2(e,3,c)}else if(c>2)r._contents=a+o.JSString_methods.substring$2(e,2,c);u._value=s.int_parse(o.JSString_methods.substring$2(e,c+1,_),null);break}++c}if(r==null)return e;if(u._readLocal$0()>0){a=u._readLocal$0();_=r._contents;n=l?1:0;i=a-(_.length-1-n);for(a=_,c=0;cn))break;a+=s.Primitives_stringFromCharCode(48);--c}if(l){_=r._contents;_=o.JSString_methods.substring$1(_.charCodeAt(0)==0?_:_,1)}else _=r;_=a+s.S(_);return _.charCodeAt(0)==0?_:_}},_serialize0$_writeRounded$1(e){var r,n,i,s,a,l,u,_,c,$,p,h,d,m=this;if(o.JSString_methods.endsWith$1(e,".0")){m._serialize0$_buffer.write$1(0,o.JSString_methods.substring$2(e,0,e.length-2));return}r=e.length;n=new Uint8Array(r+1);i=o.JSString_methods._codeUnitAt$1(e,0)===45;s=i?1:0;for(a=1;true;s=l,a=_){if(s===r){m._serialize0$_buffer.write$1(0,e);return}l=s+1;u=o.JSString_methods._codeUnitAt$1(e,s);if(u===46){s=l;break}_=a+1;n[a]=u-48}c=s+10;if(c>=r){m._serialize0$_buffer.write$1(0,e);return}for(_=a;s=5)for(;true;_=$){$=_-1;p=n[$]+1;n[$]=p;if(p!==10)break}for(;_a;if(!(r&&n[_-1]===0))break;--_}if(_===2&&n[0]===0&&n[1]===0){m._serialize0$_buffer.writeCharCode$1(48);return}if(i)m._serialize0$_buffer.writeCharCode$1(45);if(n[0]===0)h=m._serialize0$_style===o.OutputStyle_compressed0&&n[1]===0?2:1;else h=0;for(d=m._serialize0$_buffer;h=57344&&r<=63743){this._serialize0$_writeEscape$4(e,r,n,i);return i}if(r>>>7===439&&n.length>i+1){s=i+1;this._serialize0$_writeEscape$4(e,65536+((r&1023)<<10)+(o.JSString_methods._codeUnitAt$1(n,s)&1023),n,s);return s}return null},_serialize0$_writeEscape$4(e,r,n,i){var a,l;e.writeCharCode$1(92);e.write$1(0,o.JSInt_methods.toRadixString$1(r,16));a=i+1;if(n.length===a)return;l=o.JSString_methods._codeUnitAt$1(n,a);if(s.isHex0(l)||l===32||l===9)e.writeCharCode$1(32)},visitAttributeSelector$1(e){var r,n,i=this._serialize0$_buffer;i.writeCharCode$1(91);i.write$1(0,e.name);r=e.value;if(r!=null){i.write$1(0,e.op);if(s.Parser_isIdentifier0(r)&&!o.JSString_methods.startsWith$1(r,"--")){i.write$1(0,r);n=e.modifier;if(n!=null)i.writeCharCode$1(32)}else{this._serialize0$_visitQuotedString$1(r);n=e.modifier;if(n!=null)if(this._serialize0$_style!==o.OutputStyle_compressed0)i.writeCharCode$1(32)}if(n!=null)i.write$1(0,n)}i.writeCharCode$1(93)},visitClassSelector$1(e){var r=this._serialize0$_buffer;r.writeCharCode$1(46);r.write$1(0,e.name)},visitComplexSelector$1(e){var r,n,i,s,a,l,u,_,c,$,p=this,h=e.leadingCombinators;p._serialize0$_writeCombinators$1(h);if(h.length!==0&&e.components.length!==0)if(p._serialize0$_style!==o.OutputStyle_compressed0)p._serialize0$_buffer.writeCharCode$1(32);for(h=e.components,r=h.length,n=r-1,i=p._serialize0$_buffer,s=p._serialize0$_style===o.OutputStyle_compressed0,a=!s,l=0;l"))),n=c._serialize0$_style!==o.OutputStyle_compressed0,i=c._serialize0$_buffer,l=c._lineFeed.text,u=true;r.moveNext$0();){_=r.get$current(r);if(u)u=false;else{i.writeCharCode$1(44);if(_.lineBreak){if(n)i.write$1(0,l)}else if(n)i.writeCharCode$1(32)}c.visitComplexSelector$1(_)}},visitParentSelector$1(e){var r,n=this._serialize0$_buffer;n.writeCharCode$1(38);r=e.suffix;if(r!=null)n.write$1(0,r)},visitPlaceholderSelector$1(e){var r=this._serialize0$_buffer;r.writeCharCode$1(37);r.write$1(0,e.name)},visitPseudoSelector$1(e){var r,n,i,s=e.selector,a=s==null,l=!a;if(l&&e.name==="not"&&s.accept$1(o._IsInvisibleVisitor_true0))return;r=this._serialize0$_buffer;r.writeCharCode$1(58);if(!e.isSyntacticClass)r.writeCharCode$1(58);r.write$1(0,e.name);n=e.argument;i=n==null;if(i&&a)return;r.writeCharCode$1(40);if(!i){r.write$1(0,n);if(l)r.writeCharCode$1(32)}if(l)this.visitSelectorList$1(s);r.writeCharCode$1(41)},visitTypeSelector$1(e){this._serialize0$_buffer.write$1(0,e.name)},visitUniversalSelector$1(e){var r,n=e.namespace;if(n!=null){r=this._serialize0$_buffer;r.write$1(0,n);r.writeCharCode$1(124)}this._serialize0$_buffer.writeCharCode$1(42)},_serialize0$_write$1(e){return this._serialize0$_buffer.forSpan$2(e.get$span(e),new s._SerializeVisitor__write_closure0(this,e))},_serialize0$_visitChildren$1(e){var r,n,i,a,l,u,_,c,p,h,d,m,g,f,y=this,S=y._serialize0$_buffer;S.writeCharCode$1(123);for(r=e.children,r=new s.ListIterator(r,r.get$length(r)),n=y._serialize0$_style===o.OutputStyle_compressed0,i=!n,a=!y._serialize0$_inspect,l=s._instanceType(r)._precomputed1,u=$.CssComment_2,_=$.CssParentNode_2,c=y._lineFeed.text,p=null,h=null;r.moveNext$0();){d=r.__internal$_current;m=d==null?l._as(d):d;if(a)d=n?m.accept$1(o._IsInvisibleVisitor_true_true0):m.accept$1(o._IsInvisibleVisitor_true_false0);else d=false;if(d)continue;d=h==null;if(!d)g=_._is(h)?h.get$isChildless():!u._is(h);else g=false;if(g)S.writeCharCode$1(59);if(y._serialize0$_isTrailingComment$2(m,d?e:h)){if(i)S.writeCharCode$1(32);f=y._serialize0$_indentation;y._serialize0$_indentation=0;new s._SerializeVisitor__visitChildren_closure1(y,m).call$0();y._serialize0$_indentation=f}else{if(i)S.write$1(0,c);++y._serialize0$_indentation;new s._SerializeVisitor__visitChildren_closure2(y,m).call$0();--y._serialize0$_indentation}p=h;h=m}if(h!=null){if((_._is(h)?h.get$isChildless():!u._is(h))&&i)S.writeCharCode$1(59);if(p==null&&y._serialize0$_isTrailingComment$2(h,e)){if(i)S.writeCharCode$1(32)}else{y._serialize0$_writeLineFeed$0();y._serialize0$_writeIndentation$0()}}S.writeCharCode$1(125)},_serialize0$_isTrailingComment$2(e,r){var n,i,l,u,_,c,p;if(this._serialize0$_style===o.OutputStyle_compressed0)return false;if(!$.CssComment_2._is(e))return false;n=r.get$span(r);i=e.span;if(!(a.$eq$(n.get$file(n).url,i.get$file(i).url)&&n.get$start(n).offset<=i.get$start(i).offset&&n.get$end(n).offset>=i.get$end(i).offset)){n=i.get$start(i);n=n.file.getLine$1(n.offset);i=r.get$span(r);i=i.get$end(i);return n===i.file.getLine$1(i.offset)}n=i.get$start(i);l=r.get$span(r);u=n.offset-l.get$start(l).offset-1;if(u<0)return false;_=Math.max(0,o.JSString_methods.lastIndexOf$2(r.get$span(r).get$text(),"{",u));n=r.get$span(r);n=n.get$file(n);l=r.get$span(r);l=l.get$start(l);c=r.get$span(r);p=n.span$2(0,l.offset,c.get$start(c).offset+_);i=i.get$start(i);i=i.file.getLine$1(i.offset);c=s.FileLocation$_(p.file,p._end);return i===c.file.getLine$1(c.offset)},_serialize0$_writeLineFeed$0(){if(this._serialize0$_style!==o.OutputStyle_compressed0)this._serialize0$_buffer.write$1(0,this._lineFeed.text)},_serialize0$_writeIndentation$0(){var e=this;if(e._serialize0$_style===o.OutputStyle_compressed0)return;e._serialize0$_writeTimes$2(e._serialize0$_indentCharacter,e._serialize0$_indentation*e._serialize0$_indentWidth)},_serialize0$_writeTimes$2(e,r){var n,i;for(n=this._serialize0$_buffer,i=0;i")))}};s.SourceMapBuffer_buildSourceMap_closure0.prototype={call$1(e){var r=e.source,n=e.target,i=n.line,a=this._box_0,o=a.prefixLines;a=i===0?a.prefixColumn:0;return new s.Entry(r,s.SourceLocation$(n.offset+this.prefixLength,n.column+a,i+o,null),e.identifierName)},$signature:162};s.updateSourceSpanPrototype_closure.prototype={call$1(e){return e.get$start(e)},$signature:246};s.updateSourceSpanPrototype_closure0.prototype={call$1(e){return e.get$end(e)},$signature:246};s.updateSourceSpanPrototype_closure1.prototype={call$1(e){return s.NullableExtension_andThen0(e.get$sourceUrl(e),s.utils1__dartToJSUrl$closure())},$signature:501};s.updateSourceSpanPrototype_closure2.prototype={call$1(e){return e.get$text()},$signature:247};s.updateSourceSpanPrototype_closure3.prototype={call$1(e){return e.get$context(e)},$signature:247};s.updateSourceSpanPrototype_closure4.prototype={call$1(e){return e.get$line()},$signature:248};s.updateSourceSpanPrototype_closure5.prototype={call$1(e){return e.get$column()},$signature:248};s.StatementSearchVisitor0.prototype={visitAtRootRule$1(e){return this.visitChildren$1(e.children)},visitAtRule$1(e){return s.NullableExtension_andThen0(e.children,this.get$visitChildren())},visitContentBlock$1(e){return this.visitChildren$1(e.children)},visitDebugRule$1(e){return null},visitDeclaration$1(e){return s.NullableExtension_andThen0(e.children,this.get$visitChildren())},visitEachRule$1(e){return this.visitChildren$1(e.children)},visitErrorRule$1(e){return null},visitExtendRule$1(e){return null},visitForRule$1(e){return this.visitChildren$1(e.children)},visitForwardRule$1(e){return null},visitFunctionRule$1(e){return this.visitChildren$1(e.children)},visitIfRule$1(e){var r=s._IterableExtension__search0(e.clauses,new s.StatementSearchVisitor_visitIfRule_closure1(this));return r==null?s.NullableExtension_andThen0(e.lastClause,new s.StatementSearchVisitor_visitIfRule_closure2(this)):r},visitImportRule$1(e){return null},visitIncludeRule$1(e){return s.NullableExtension_andThen0(e.content,this.get$visitContentBlock())},visitLoudComment$1(e){return null},visitMediaRule$1(e){return this.visitChildren$1(e.children)},visitMixinRule$1(e){return this.visitChildren$1(e.children)},visitReturnRule$1(e){return null},visitSilentComment$1(e){return null},visitStyleRule$1(e){return this.visitChildren$1(e.children)},visitStylesheet$1(e){return this.visitChildren$1(e.children)},visitSupportsRule$1(e){return this.visitChildren$1(e.children)},visitUseRule$1(e){return null},visitVariableDeclaration$1(e){return null},visitWarnRule$1(e){return null},visitWhileRule$1(e){return this.visitChildren$1(e.children)},visitChildren$1(e){return s._IterableExtension__search0(e,new s.StatementSearchVisitor_visitChildren_closure0(this))}};s.StatementSearchVisitor_visitIfRule_closure1.prototype={call$1(e){return s._IterableExtension__search0(e.children,new s.StatementSearchVisitor_visitIfRule__closure2(this.$this))},$signature(){return s._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)")}};s.StatementSearchVisitor_visitIfRule__closure2.prototype={call$1(e){return e.accept$1(this.$this)},$signature(){return s._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)")}};s.StatementSearchVisitor_visitIfRule_closure2.prototype={call$1(e){return s._IterableExtension__search0(e.children,new s.StatementSearchVisitor_visitIfRule__closure1(this.$this))},$signature(){return s._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)")}};s.StatementSearchVisitor_visitIfRule__closure1.prototype={call$1(e){return e.accept$1(this.$this)},$signature(){return s._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)")}};s.StatementSearchVisitor_visitChildren_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature(){return s._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)")}};s.StaticImport0.prototype={toString$0(e){var r=this.url.toString$0(0),n=this.modifiers;return r+(n==null?"":" "+n.toString$0(0))},$isImport0:1,$isAstNode0:1,get$span(e){return this.span}};s.StderrLogger0.prototype={warn$4$deprecation$span$trace(e,r,n,i,l){var _,c,$,p=this.color;if(p){_=u.$get$stderr0();c=_._node$_stderr;$=a.getInterceptor$x(c);$.write$1(c,"");if(n)$.write$1(c,"Deprecation ");$.write$1(c,"Warning")}else{if(n)a.write$1$x(u.$get$stderr0()._node$_stderr,"DEPRECATION ");_=u.$get$stderr0();a.write$1$x(_._node$_stderr,"WARNING")}if(i==null)_.writeln$1(": "+r);else if(l!=null)_.writeln$1(": "+r+"\n\n"+i.highlight$1$color(p));else _.writeln$1(" on "+i.message$2$color(0,"\n"+r,p));if(l!=null)_.writeln$1(s.indent0(o.JSString_methods.trimRight$0(l.toString$0(0)),4));_.writeln$0()},warn$1(e,r){return this.warn$4$deprecation$span$trace(e,r,false,null,null)},warn$2$deprecation(e,r,n){return this.warn$4$deprecation$span$trace(e,r,n,null,null)},warn$2$span(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,n,null)},warn$3$deprecation$span(e,r,n,i){return this.warn$4$deprecation$span$trace(e,r,n,i,null)},warn$2$trace(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,null,n)},debug$2(e,r,n){var i,o,l,_=n.file,c=n._file$_start;if(s.FileLocation$_(_,c).file.url==null)i="-";else{o=s.FileLocation$_(_,c);i=u.$get$context().prettyUri$1(o.file.url)}o=u.$get$stderr0();c=s.FileLocation$_(_,c);c=c.file.getLine$1(c.offset);_=o._node$_stderr;l=a.getInterceptor$x(_);l.write$1(_,i+":"+(c+1)+" ");l.write$1(_,this.color?"Debug":"DEBUG");o.writeln$1(": "+r)}};s.StringExpression0.prototype={get$span(e){return this.text.span},accept$1$1(e){return e.visitStringExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},asInterpolation$1$static(e){var r,n,i,a,o,l,u,_,c,p;if(!this.hasQuotes)return this.text;r=this.text;n=r.contents;i=s.StringExpression__bestQuote0(new s.WhereTypeIterable(n,$.WhereTypeIterable_String));a=new s.StringBuffer("");o=s._setArrayType([],$.JSArray_Object);l=new s.InterpolationBuffer0(a,o);a._contents=""+s.Primitives_stringFromCharCode(i);for(u=n.length,_=$.Expression_2,c=0;c=97&&u<=122?u&4294967263:u)}return new s.SassString0(l.charCodeAt(0)==0?l:l,_._string0$_hasQuotes)},$signature:17};s._toLowerCase_closure0.prototype={call$1(e){var r,n,i,l,u,_=a.$index$asx(e,0).assertString$1("string");for(r=_._string0$_text,n=r.length,i=0,l="";i=65&&u<=90?u|32:u)}return new s.SassString0(l.charCodeAt(0)==0?l:l,_._string0$_hasQuotes)},$signature:17};s._uniqueId_closure0.prototype={call$1(e){var r=u.$get$_previousUniqueId0()+(u.$get$_random1().nextInt$1(36)+1);u._previousUniqueId0=r;if(r>Math.pow(36,6))u._previousUniqueId0=o.JSInt_methods.$mod(u.$get$_previousUniqueId0(),s._asInt(Math.pow(36,6)));return new s.SassString0("u"+o.JSString_methods.padLeft$2(a.toRadixString$1$n(u.$get$_previousUniqueId0(),36),6,"0"),false)},$signature:17};s._NodeSassString.prototype={};s.legacyStringClass_closure.prototype={call$3(e,r,n){var i;if(n==null){r.toString;i=new s.SassString0(r,false)}else i=n;a.set$dartValue$x(e,i)},call$2(e,r){return this.call$3(e,r,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues(){return[null]},$signature:504};s.legacyStringClass_closure0.prototype={call$1(e){return a.get$dartValue$x(e)._string0$_text},$signature:505};s.legacyStringClass_closure1.prototype={call$2(e,r){a.set$dartValue$x(e,new s.SassString0(r,false))},$signature:506};s.stringClass_closure.prototype={call$0(){var e,r=$.JSClass,n=r._as(s.allowInteropCaptureThisNamed("sass.SassString",new s.stringClass__closure));s.LinkedHashMap_LinkedHashMap$_literal(["text",new s.stringClass__closure0,"hasQuotes",new s.stringClass__closure1,"sassLength",new s.stringClass__closure2],$.String,$.Function).forEach$1(0,s.JSClassExtension_get_defineGetter(n));a.get$$prototype$x(n).sassIndexToStringIndex=s.allowInteropCaptureThisNamed("sassIndexToStringIndex",new s.stringClass__closure3);e=u.$get$_emptyQuoted0();s.JSClassExtension_injectSuperclass(r._as(e.constructor),n);return n},$signature:23};s.stringClass__closure.prototype={call$3(e,r,n){var i;if(typeof r=="string"){i=n==null?null:a.get$quotes$x(n);i=new s.SassString0(r,i==null?true:i)}else{$.nullable__ConstructorOptions_3._as(r);i=r==null?null:a.get$quotes$x(r);i=(i==null?true:i)?u.$get$_emptyQuoted0():u.$get$_emptyUnquoted0()}return i},call$1(e){return this.call$3(e,null,null)},call$2(e,r){return this.call$3(e,r,null)},"call*":"call$3",$requiredArgCount:1,$defaultValues(){return[null,null]},$signature:507};s.stringClass__closure0.prototype={call$1(e){return e._string0$_text},$signature:508};s.stringClass__closure1.prototype={call$1(e){return e._string0$_hasQuotes},$signature:509};s.stringClass__closure2.prototype={call$1(e){return e.get$_string0$_sassLength()},$signature:510};s.stringClass__closure3.prototype={call$3(e,r,n){var i=e._string0$_text,a=r.assertNumber$1(n).assertInt$1(n);if(a===0)s.throwExpression(e._string0$_exception$2("String index may not be 0.",n));if(Math.abs(a)>e.get$_string0$_sassLength())s.throwExpression(e._string0$_exception$2("Invalid index "+r.toString$0(0)+" for a string with "+e.get$_string0$_sassLength()+" characters.",n));return s.codepointIndexToCodeUnitIndex0(i,a<0?e.get$_string0$_sassLength()+a:a-1)},call$2(e,r){return this.call$3(e,r,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues(){return[null]},$signature:511};s._ConstructorOptions1.prototype={};s.SassString0.prototype={get$_string0$_sassLength(){var e,r,n=this,i=n._string0$__SassString__sassLength;if(i===u){e=new s.Runes(n._string0$_text);r=e.get$length(e);s._lateInitializeOnceCheck(n._string0$__SassString__sassLength,"_sassLength");n._string0$__SassString__sassLength=r;i=r}return i},get$isSpecialNumber(){var e,r;if(this._string0$_hasQuotes)return false;e=this._string0$_text;if(e.length<6)return false;r=o.JSString_methods._codeUnitAt$1(e,0)|32;if(r===99){r=o.JSString_methods._codeUnitAt$1(e,1)|32;if(r===108){if((o.JSString_methods._codeUnitAt$1(e,2)|32)!==97)return false;if((o.JSString_methods._codeUnitAt$1(e,3)|32)!==109)return false;if((o.JSString_methods._codeUnitAt$1(e,4)|32)!==112)return false;return o.JSString_methods._codeUnitAt$1(e,5)===40}else if(r===97){if((o.JSString_methods._codeUnitAt$1(e,2)|32)!==108)return false;if((o.JSString_methods._codeUnitAt$1(e,3)|32)!==99)return false;return o.JSString_methods._codeUnitAt$1(e,4)===40}else return false}else if(r===118){if((o.JSString_methods._codeUnitAt$1(e,1)|32)!==97)return false;if((o.JSString_methods._codeUnitAt$1(e,2)|32)!==114)return false;return o.JSString_methods._codeUnitAt$1(e,3)===40}else if(r===101){if((o.JSString_methods._codeUnitAt$1(e,1)|32)!==110)return false;if((o.JSString_methods._codeUnitAt$1(e,2)|32)!==118)return false;return o.JSString_methods._codeUnitAt$1(e,3)===40}else if(r===109){r=o.JSString_methods._codeUnitAt$1(e,1)|32;if(r===97){if((o.JSString_methods._codeUnitAt$1(e,2)|32)!==120)return false;return o.JSString_methods._codeUnitAt$1(e,3)===40}else if(r===105){if((o.JSString_methods._codeUnitAt$1(e,2)|32)!==110)return false;return o.JSString_methods._codeUnitAt$1(e,3)===40}else return false}else return false},get$isVar(){if(this._string0$_hasQuotes)return false;var e=this._string0$_text;if(e.length<8)return false;return(o.JSString_methods._codeUnitAt$1(e,0)|32)===118&&(o.JSString_methods._codeUnitAt$1(e,1)|32)===97&&(o.JSString_methods._codeUnitAt$1(e,2)|32)===114&&o.JSString_methods._codeUnitAt$1(e,3)===40},get$isBlank(){return!this._string0$_hasQuotes&&this._string0$_text.length===0},accept$1$1(e){var r=e._serialize0$_quote&&this._string0$_hasQuotes,n=this._string0$_text;if(r)e._serialize0$_visitQuotedString$1(n);else e._serialize0$_visitUnquotedString$1(n);return null},accept$1(e){return this.accept$1$1(e,$.dynamic)},assertString$1(e){return this},plus$1(e){var r=this._string0$_text,n=this._string0$_hasQuotes;if(e instanceof s.SassString0)return new s.SassString0(r+e._string0$_text,n);else return new s.SassString0(r+s.serializeValue0(e,false,true),n)},$eq(e,r){if(r==null)return false;return r instanceof s.SassString0&&this._string0$_text===r._string0$_text},get$hashCode(e){var r=this._string0$_hashCache;return r==null?this._string0$_hashCache=o.JSString_methods.get$hashCode(this._string0$_text):r},_string0$_exception$2(e,r){return new s.SassScriptException0(r==null?e:"$"+r+": "+e)}};s.ModifiableCssStyleRule0.prototype={accept$1$1(e){return e.visitCssStyleRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},copyWithoutChildren$0(){return s.ModifiableCssStyleRule$0(this.selector,this.span,this.originalSelector)},$isCssStyleRule0:1,get$span(e){return this.span}};s.StyleRule0.prototype={accept$1$1(e){return e.visitStyleRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.children;return this.selector.toString$0(0)+" {"+(r&&o.JSArray_methods).join$1(r," ")+"}"},get$span(e){return this.span}};s.CssStylesheet0.prototype={get$isGroupEnd(){return false},get$isChildless(){return false},accept$1$1(e){return e.visitCssStylesheet$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},get$children(e){return this.children},get$span(e){return this.span}};s.ModifiableCssStylesheet0.prototype={accept$1$1(e){return e.visitCssStylesheet$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},copyWithoutChildren$0(){return s.ModifiableCssStylesheet$0(this.span)},$isCssStylesheet0:1,get$span(e){return this.span}};s.StylesheetParser0.prototype={parse$0(){return this.wrapSpanFormatException$1(new s.StylesheetParser_parse_closure0(this))},parseArgumentDeclaration$0(){return this._stylesheet0$_parseSingleProduction$1$1(new s.StylesheetParser_parseArgumentDeclaration_closure0(this),$.ArgumentDeclaration_2)},_stylesheet0$_parseSingleProduction$1$1(e,r){return this.wrapSpanFormatException$1(new s.StylesheetParser__parseSingleProduction_closure0(this,e,r))},parseSignature$1$requireParens(e){return this.wrapSpanFormatException$1(new s.StylesheetParser_parseSignature_closure(this,e))},parseSignature$0(){return this.parseSignature$1$requireParens(true)},_stylesheet0$_statement$1$root(e){var r,n=this,i=n.scanner;switch(i.peekChar$0()){case 64:return n.atRule$2$root(new s.StylesheetParser__statement_closure0(n),e);case 43:if(!n.get$indented()||!n.lookingAtIdentifier$1(1))return n._stylesheet0$_styleRule$0();n._stylesheet0$_isUseAllowed=false;r=i._string_scanner$_position;i.readChar$0();return n._stylesheet0$_includeRule$1(new s._SpanScannerState(i,r));case 61:if(!n.get$indented())return n._stylesheet0$_styleRule$0();n._stylesheet0$_isUseAllowed=false;r=i._string_scanner$_position;i.readChar$0();n.whitespace$0();return n._stylesheet0$_mixinRule$1(new s._SpanScannerState(i,r));case 125:i.error$2$length(0,'unmatched "}".',1);break;default:return n._stylesheet0$_inStyleRule||n._stylesheet0$_inUnknownAtRule||n._stylesheet0$_inMixin||n._stylesheet0$_inContentBlock?n._stylesheet0$_declarationOrStyleRule$0():n._stylesheet0$_variableDeclarationOrStyleRule$0()}},_stylesheet0$_statement$0(){return this._stylesheet0$_statement$1$root(false)},variableDeclarationWithoutNamespace$2(e,r){var n,i,a,o,l,u,_,$,p,h,d,m,g,f,y,S=this,v=S.lastSilentComment;S.lastSilentComment=null;if(r==null){n=S.scanner;i=new s._SpanScannerState(n,n._string_scanner$_position)}else i=r;a=S.variableName$0();n=e!=null;if(n)S._stylesheet0$_assertPublic$2(a,new s.StylesheetParser_variableDeclarationWithoutNamespace_closure1(S,i));if(S.get$plainCss())S.error$2(0,c.Sass_v,S.scanner.spanFrom$1(i));S.whitespace$0();o=S.scanner;o.expectChar$1(58);S.whitespace$0();l=S._stylesheet0$_expression$0();u=new s._SpanScannerState(o,o._string_scanner$_position);for(_=o.string,$=false,p=false;o.scanChar$1(33);){h=S.identifier$0();if(h==="default")$=true;else if(h==="global"){if(n){d=o._string_scanner$_position;m=o._sourceFile;g=u.position;f=new s._FileSpan(m,g,d);f._FileSpan$3(m,g,d);s.throwExpression(new s.StringScannerException(_,c.x21globa,f))}p=true}else{d=o._string_scanner$_position;m=o._sourceFile;g=u.position;f=new s._FileSpan(m,g,d);f._FileSpan$3(m,g,d);s.throwExpression(new s.StringScannerException(_,"Invalid flag name.",f))}S.whitespace$0();u=new s._SpanScannerState(o,o._string_scanner$_position)}S.expectStatementSeparator$1("variable declaration");y=s.VariableDeclaration$0(a,l,o.spanFrom$1(i),v,p,$,e);if(p)S._stylesheet0$_globalVariables.putIfAbsent$2(a,new s.StylesheetParser_variableDeclarationWithoutNamespace_closure2(y));return y},variableDeclarationWithoutNamespace$0(){return this.variableDeclarationWithoutNamespace$2(null,null)},_stylesheet0$_variableDeclarationOrStyleRule$0(){var e,r,n,i,a=this;if(a.get$plainCss())return a._stylesheet0$_styleRule$0();if(a.get$indented()&&a.scanner.scanChar$1(92))return a._stylesheet0$_styleRule$0();if(!a.lookingAtIdentifier$0())return a._stylesheet0$_styleRule$0();e=a.scanner;r=e._string_scanner$_position;n=a._stylesheet0$_variableDeclarationOrInterpolation$0();if(n instanceof s.VariableDeclaration0)return n;else{i=new s.InterpolationBuffer0(new s.StringBuffer(""),s._setArrayType([],$.JSArray_Object));i.addInterpolation$1($.Interpolation_2._as(n));return a._stylesheet0$_styleRule$2(i,new s._SpanScannerState(e,r))}},_stylesheet0$_declarationOrStyleRule$0(){var e,r,n,i=this;if(i.get$plainCss()&&i._stylesheet0$_inStyleRule&&!i._stylesheet0$_inUnknownAtRule)return i._stylesheet0$_propertyOrVariableDeclaration$0();if(i.get$indented()&&i.scanner.scanChar$1(92))return i._stylesheet0$_styleRule$0();e=i.scanner;r=e._string_scanner$_position;n=i._stylesheet0$_declarationOrBuffer$0();return $.Statement_2._is(n)?n:i._stylesheet0$_styleRule$2($.InterpolationBuffer_2._as(n),new s._SpanScannerState(e,r))},_stylesheet0$_declarationOrBuffer$0(){var e,r,n,i,a,l,u,_,c,p,h,d=this,m={},g=d.scanner,f=new s._SpanScannerState(g,g._string_scanner$_position),y=new s.InterpolationBuffer0(new s.StringBuffer(""),s._setArrayType([],$.JSArray_Object)),S=g.peekChar$0();if(S!==58)if(S!==42)if(S!==46)a=S===35&&g.peekChar$1(1)!==123;else a=true;else a=true;else a=true;if(a){a=g.readChar$0();y._interpolation_buffer0$_text._contents+=s.Primitives_stringFromCharCode(a);a=d.rawText$1(d.get$whitespace());y._interpolation_buffer0$_text._contents+=a;l=true}else l=false;if(!d._stylesheet0$_lookingAtInterpolatedIdentifier$0())return y;u=l?d.interpolatedIdentifier$0():d._stylesheet0$_variableDeclarationOrInterpolation$0();if(u instanceof s.VariableDeclaration0)return u;else y.addInterpolation$1($.Interpolation_2._as(u));d._stylesheet0$_isUseAllowed=false;if(g.matches$1("/*")){a=d.rawText$1(d.get$loudComment());y._interpolation_buffer0$_text._contents+=a}e=new s.StringBuffer("");a=d.get$whitespace();e._contents+=d.rawText$1(a);_=g._string_scanner$_position;if(!g.scanChar$1(58)){if(e._contents.length!==0)y._interpolation_buffer0$_text._contents+=s.Primitives_stringFromCharCode(32);return y}e._contents+=s.Primitives_stringFromCharCode(58);c=y.interpolation$1(g.spanFrom$2(f,new s._SpanScannerState(g,_)));if(o.JSString_methods.startsWith$1(c.get$initialPlain(),"--")){m=d._stylesheet0$_interpolatedDeclarationValue$0();d.expectStatementSeparator$1("custom property");return s.Declaration$0(c,new s.StringExpression0(m,false),g.spanFrom$1(f))}if(g.scanChar$1(58)){m=y;g=m._interpolation_buffer0$_text;a=g._contents+=s.S(e);g._contents=a+s.Primitives_stringFromCharCode(58);return m}else if(d.get$indented()&&d._stylesheet0$_lookingAtInterpolatedIdentifier$0()){m=y;m._interpolation_buffer0$_text._contents+=s.S(e);return m}p=d.rawText$1(a);if(d.lookingAtChildren$0())return d._stylesheet0$_withChildren$3(d.get$_stylesheet0$_declarationChild(),f,new s.StylesheetParser__declarationOrBuffer_closure1(c));e._contents+=p;r=p.length===0&&d._stylesheet0$_lookingAtInterpolatedIdentifier$0();n=new s._SpanScannerState(g,g._string_scanner$_position);a=m.value=null;try{a=m.value=d._stylesheet0$_expression$0();if(d.lookingAtChildren$0()){if(r)d.expectStatementSeparator$0()}else if(!d.atEndOfStatement$0())d.expectStatementSeparator$0()}catch(h){if($.FormatException._is(s.unwrapException(h))){if(!r)throw h;g.set$state(n);i=d.almostAnyValue$0();if(!d.get$indented()&&g.peekChar$0()===59)throw h;y._interpolation_buffer0$_text._contents+=s.S(e);y.addInterpolation$1(i);return y}else throw h}if(d.lookingAtChildren$0())return d._stylesheet0$_withChildren$3(d.get$_stylesheet0$_declarationChild(),f,new s.StylesheetParser__declarationOrBuffer_closure2(m,c));else{d.expectStatementSeparator$0();return s.Declaration$0(c,a,g.spanFrom$1(f))}},_stylesheet0$_variableDeclarationOrInterpolation$0(){var e,r,n,i,a,o=this;if(!o.lookingAtIdentifier$0())return o.interpolatedIdentifier$0();e=o.scanner;r=new s._SpanScannerState(e,e._string_scanner$_position);n=o.identifier$0();if(e.matches$1(".$")){e.readChar$0();return o.variableDeclarationWithoutNamespace$2(n,r)}else{i=new s.StringBuffer("");a=new s.InterpolationBuffer0(i,s._setArrayType([],$.JSArray_Object));i._contents=""+n;if(o._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())a.addInterpolation$1(o.interpolatedIdentifier$0());return a.interpolation$1(e.spanFrom$1(r))}},_stylesheet0$_styleRule$2(e,r){var n,i,a,o,l=this,u={};l._stylesheet0$_isUseAllowed=false;if(r==null){n=l.scanner;i=new s._SpanScannerState(n,n._string_scanner$_position)}else i=r;a=u.interpolation=l.styleRuleSelector$0();if(e!=null){e.addInterpolation$1(a);n=u.interpolation=e.interpolation$1(l.scanner.spanFrom$1(i))}else n=a;if(n.contents.length===0)l.scanner.error$1(0,'expected "}".');o=l._stylesheet0$_inStyleRule;l._stylesheet0$_inStyleRule=true;return l._stylesheet0$_withChildren$3(l.get$_stylesheet0$_statement(),i,new s.StylesheetParser__styleRule_closure0(u,l,o,i))},_stylesheet0$_styleRule$0(){return this._stylesheet0$_styleRule$2(null,null)},_stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(e){var r,n,i,a,l,u,_=this,p=c.Nested,h={},d=_.scanner,m=new s._SpanScannerState(d,d._string_scanner$_position);h.name=null;r=d.peekChar$0();if(r!==58)if(r!==42)if(r!==46)n=r===35&&d.peekChar$1(1)!==123;else n=true;else n=true;else n=true;if(n){n=new s.StringBuffer("");i=new s.InterpolationBuffer0(n,s._setArrayType([],$.JSArray_Object));n._contents+=s.Primitives_stringFromCharCode(d.readChar$0());n._contents+=_.rawText$1(_.get$whitespace());i.addInterpolation$1(_.interpolatedIdentifier$0());n=h.name=i.interpolation$1(d.spanFrom$1(m))}else if(!_.get$plainCss()){a=_._stylesheet0$_variableDeclarationOrInterpolation$0();if(a instanceof s.VariableDeclaration0)return a;else{$.Interpolation_2._as(a);h.name=a}n=a}else{l=_.interpolatedIdentifier$0();h.name=l;n=l}_.whitespace$0();d.expectChar$1(58);if(e&&o.JSString_methods.startsWith$1(n.get$initialPlain(),"--")){h=_._stylesheet0$_interpolatedDeclarationValue$0();_.expectStatementSeparator$1("custom property");return s.Declaration$0(n,new s.StringExpression0(h,false),d.spanFrom$1(m))}_.whitespace$0();if(_.lookingAtChildren$0()){if(_.get$plainCss())d.error$1(0,p);return _._stylesheet0$_withChildren$3(_.get$_stylesheet0$_declarationChild(),m,new s.StylesheetParser__propertyOrVariableDeclaration_closure1(h))}u=_._stylesheet0$_expression$0();if(_.lookingAtChildren$0()){if(_.get$plainCss())d.error$1(0,p);return _._stylesheet0$_withChildren$3(_.get$_stylesheet0$_declarationChild(),m,new s.StylesheetParser__propertyOrVariableDeclaration_closure2(h,u))}else{_.expectStatementSeparator$0();return s.Declaration$0(n,u,d.spanFrom$1(m))}},_stylesheet0$_propertyOrVariableDeclaration$0(){return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(true)},_stylesheet0$_declarationChild$0(){if(this.scanner.peekChar$0()===64)return this._stylesheet0$_declarationAtRule$0();return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false)},atRule$2$root(e,r){var n,i,a,l,u,_,p,h,d=this,m="@use rule",g=d.scanner,f=new s._SpanScannerState(g,g._string_scanner$_position);g.expectChar$2$name(64,"@-rule");n=d.interpolatedIdentifier$0();d.whitespace$0();i=d._stylesheet0$_isUseAllowed;d._stylesheet0$_isUseAllowed=false;switch(n.get$asPlain()){case"at-root":return d._stylesheet0$_atRootRule$1(f);case"content":return d._stylesheet0$_contentRule$1(f);case"debug":return d._stylesheet0$_debugRule$1(f);case"each":return d._stylesheet0$_eachRule$2(f,e);case"else":return d._stylesheet0$_disallowedAtRule$1(f);case"error":return d._stylesheet0$_errorRule$1(f);case"extend":if(!d._stylesheet0$_inStyleRule&&!d._stylesheet0$_inMixin&&!d._stylesheet0$_inContentBlock)d.error$2(0,c.x40exten,g.spanFrom$1(f));a=d.almostAnyValue$0();l=g.scanChar$1(33);if(l)d.expectIdentifier$1("optional");d.expectStatementSeparator$1("@extend rule");return new s.ExtendRule0(a,l,g.spanFrom$1(f));case"for":return d._stylesheet0$_forRule$2(f,e);case"forward":d._stylesheet0$_isUseAllowed=i;if(!r)d._stylesheet0$_disallowedAtRule$1(f);return d._stylesheet0$_forwardRule$1(f);case"function":return d._stylesheet0$_functionRule$1(f);case"if":return d._stylesheet0$_ifRule$2(f,e);case"import":return d._stylesheet0$_importRule$1(f);case"include":return d._stylesheet0$_includeRule$1(f);case"media":return d.mediaRule$1(f);case"mixin":return d._stylesheet0$_mixinRule$1(f);case"-moz-document":return d.mozDocumentRule$2(f,n);case"return":return d._stylesheet0$_disallowedAtRule$1(f);case"supports":return d.supportsRule$1(f);case"use":d._stylesheet0$_isUseAllowed=i;if(!r)d._stylesheet0$_disallowedAtRule$1(f);u=d._stylesheet0$_urlString$0();d.whitespace$0();_=d._stylesheet0$_useNamespace$2(u,f);d.whitespace$0();p=d._stylesheet0$_configuration$0();d.expectStatementSeparator$1(m);h=g.spanFrom$1(f);if(!d._stylesheet0$_isUseAllowed)d.error$2(0,c.x40use_r,h);d.expectStatementSeparator$1(m);g=new s.UseRule0(u,_,p==null?o.List_empty20:s.List_List$unmodifiable(p,$.ConfiguredVariable_2),h);g.UseRule$4$configuration0(u,_,h,p);return g;case"warn":return d._stylesheet0$_warnRule$1(f);case"while":return d._stylesheet0$_whileRule$2(f,e);default:return d.unknownAtRule$2(f,n)}},_stylesheet0$_declarationAtRule$0(){var e=this,r=e.scanner,n=new s._SpanScannerState(r,r._string_scanner$_position);switch(e._stylesheet0$_plainAtRuleName$0()){case"content":return e._stylesheet0$_contentRule$1(n);case"debug":return e._stylesheet0$_debugRule$1(n);case"each":return e._stylesheet0$_eachRule$2(n,e.get$_stylesheet0$_declarationChild());case"else":return e._stylesheet0$_disallowedAtRule$1(n);case"error":return e._stylesheet0$_errorRule$1(n);case"for":return e._stylesheet0$_forRule$2(n,e.get$_stylesheet0$_declarationChild());case"if":return e._stylesheet0$_ifRule$2(n,e.get$_stylesheet0$_declarationChild());case"include":return e._stylesheet0$_includeRule$1(n);case"warn":return e._stylesheet0$_warnRule$1(n);case"while":return e._stylesheet0$_whileRule$2(n,e.get$_stylesheet0$_declarationChild());default:return e._stylesheet0$_disallowedAtRule$1(n)}},_stylesheet0$_functionChild$0(){var e,r,n,i,o,l,u,_,c,p,h=this,d=h.scanner;if(d.peekChar$0()!==64){o=d._string_scanner$_position;e=new s._SpanScannerState(d,o);try{l=h.identifier$0();d.expectChar$1(46);o=h.variableDeclarationWithoutNamespace$2(l,new s._SpanScannerState(d,o));return o}catch(u){o=s.unwrapException(u);_=$.SourceSpanFormatException;if(_._is(o)){r=o;n=s.getTraceFromException(u);d.set$state(e);i=null;try{i=h._stylesheet0$_declarationOrStyleRule$0()}catch(u){if(_._is(s.unwrapException(u)))throw s.wrapException(r);else throw u}o=i instanceof s.StyleRule0?"style rules":"declarations";h.error$3(0,"@function rules may not contain "+o+".",a.get$span$z(i),n)}else throw u}}c=new s._SpanScannerState(d,d._string_scanner$_position);switch(h._stylesheet0$_plainAtRuleName$0()){case"debug":return h._stylesheet0$_debugRule$1(c);case"each":return h._stylesheet0$_eachRule$2(c,h.get$_stylesheet0$_functionChild());case"else":return h._stylesheet0$_disallowedAtRule$1(c);case"error":return h._stylesheet0$_errorRule$1(c);case"for":return h._stylesheet0$_forRule$2(c,h.get$_stylesheet0$_functionChild());case"if":return h._stylesheet0$_ifRule$2(c,h.get$_stylesheet0$_functionChild());case"return":p=h._stylesheet0$_expression$0();h.expectStatementSeparator$1("@return rule");return new s.ReturnRule0(p,d.spanFrom$1(c));case"warn":return h._stylesheet0$_warnRule$1(c);case"while":return h._stylesheet0$_whileRule$2(c,h.get$_stylesheet0$_functionChild());default:return h._stylesheet0$_disallowedAtRule$1(c)}},_stylesheet0$_plainAtRuleName$0(){this.scanner.expectChar$2$name(64,"@-rule");var e=this.identifier$0();this.whitespace$0();return e},_stylesheet0$_atRootRule$1(e){var r,n=this,i=n.scanner;if(i.peekChar$0()===40){r=n._stylesheet0$_atRootQuery$0();n.whitespace$0();return n._stylesheet0$_withChildren$3(n.get$_stylesheet0$_statement(),e,new s.StylesheetParser__atRootRule_closure1(r))}else if(n.lookingAtChildren$0())return n._stylesheet0$_withChildren$3(n.get$_stylesheet0$_statement(),e,new s.StylesheetParser__atRootRule_closure2);else return s.AtRootRule$0(s._setArrayType([n._stylesheet0$_styleRule$0()],$.JSArray_Statement_2),i.spanFrom$1(e),null)},_stylesheet0$_atRootQuery$0(){var e,r,n,i,a,o,l=this,u=l.scanner;if(u.peekChar$0()===35){e=l.singleInterpolation$0();return s.Interpolation$0(s._setArrayType([e],$.JSArray_Object),e.get$span(e))}r=u._string_scanner$_position;n=new s.StringBuffer("");i=s._setArrayType([],$.JSArray_Object);a=new s.InterpolationBuffer0(n,i);u.expectChar$1(40);n._contents+=s.Primitives_stringFromCharCode(40);l.whitespace$0();o=l._stylesheet0$_expression$0();a._interpolation_buffer0$_flushText$0();i.push(o);if(u.scanChar$1(58)){l.whitespace$0();o=n._contents+=s.Primitives_stringFromCharCode(58);n._contents=o+s.Primitives_stringFromCharCode(32);o=l._stylesheet0$_expression$0();a._interpolation_buffer0$_flushText$0();i.push(o)}u.expectChar$1(41);l.whitespace$0();n._contents+=s.Primitives_stringFromCharCode(41);return a.interpolation$1(u.spanFrom$1(new s._SpanScannerState(u,r)))},_stylesheet0$_contentRule$1(e){var r,n,i,a,o=this;if(!o._stylesheet0$_inMixin)o.error$2(0,c.x40conte,o.scanner.spanFrom$1(e));o.whitespace$0();r=o.scanner;if(r.peekChar$0()===40)n=o._stylesheet0$_argumentInvocation$1$mixin(true);else{i=s.FileLocation$_(r._sourceFile,r._string_scanner$_position);a=i.offset;n=s.ArgumentInvocation$empty0(s._FileSpan$(i.file,a,a))}o.expectStatementSeparator$1("@content rule");return new s.ContentRule0(n,r.spanFrom$1(e))},_stylesheet0$_debugRule$1(e){var r=this._stylesheet0$_expression$0();this.expectStatementSeparator$1("@debug rule");return new s.DebugRule0(r,this.scanner.spanFrom$1(e))},_stylesheet0$_eachRule$2(e,r){var n,i,a=this,o=a._stylesheet0$_inControlDirective;a._stylesheet0$_inControlDirective=true;n=s._setArrayType([a.variableName$0()],$.JSArray_String);a.whitespace$0();for(i=a.scanner;i.scanChar$1(44);){a.whitespace$0();i.expectChar$1(36);n.push(a.identifier$1$normalize(true));a.whitespace$0()}a.expectIdentifier$1("in");a.whitespace$0();return a._stylesheet0$_withChildren$3(r,e,new s.StylesheetParser__eachRule_closure0(a,o,n,a._stylesheet0$_expression$0()))},_stylesheet0$_errorRule$1(e){var r=this._stylesheet0$_expression$0();this.expectStatementSeparator$1("@error rule");return new s.ErrorRule0(r,this.scanner.spanFrom$1(e))},_stylesheet0$_functionRule$1(e){var r,n,i=this,a=i.lastSilentComment;i.lastSilentComment=null;r=i.identifier$1$normalize(true);i.whitespace$0();n=i._stylesheet0$_argumentDeclaration$0();if(i._stylesheet0$_inMixin||i._stylesheet0$_inContentBlock)i.error$2(0,c.Mixinscf,i.scanner.spanFrom$1(e));else if(i._stylesheet0$_inControlDirective)i.error$2(0,c.Functi,i.scanner.spanFrom$1(e));switch(s.unvendor0(r)){case"calc":case"element":case"expression":case"url":case"and":case"or":case"not":case"clamp":i.error$2(0,"Invalid function name.",i.scanner.spanFrom$1(e));break}i.whitespace$0();return i._stylesheet0$_withChildren$3(i.get$_stylesheet0$_functionChild(),e,new s.StylesheetParser__functionRule_closure0(r,n,a))},_stylesheet0$_forRule$2(e,r){var n,i,a=this,o={},l=a._stylesheet0$_inControlDirective;a._stylesheet0$_inControlDirective=true;n=a.variableName$0();a.whitespace$0();a.expectIdentifier$1("from");a.whitespace$0();o.exclusive=null;i=a._stylesheet0$_expression$1$until(new s.StylesheetParser__forRule_closure1(o,a));if(o.exclusive==null)a.scanner.error$1(0,'Expected "to" or "through".');a.whitespace$0();return a._stylesheet0$_withChildren$3(r,e,new s.StylesheetParser__forRule_closure2(o,a,l,n,i,a._stylesheet0$_expression$0()))},_stylesheet0$_forwardRule$1(e){var r,n,i,a,l,u,_,p,h,d,m,g,f=this,y=null,S=f._stylesheet0$_urlString$0();f.whitespace$0();if(f.scanIdentifier$1("as")){f.whitespace$0();r=f.identifier$1$normalize(true);f.scanner.expectChar$1(42);f.whitespace$0()}else r=y;if(f.scanIdentifier$1("show")){n=f._stylesheet0$_memberList$0();i=n.item1;a=n.item2;l=y;u=l}else{if(f.scanIdentifier$1("hide")){n=f._stylesheet0$_memberList$0();u=n.item1;l=n.item2}else{l=y;u=l}a=y;i=a}_=f._stylesheet0$_configuration$1$allowGuarded(true);f.expectStatementSeparator$1("@forward rule");p=f.scanner.spanFrom$1(e);if(!f._stylesheet0$_isUseAllowed)f.error$2(0,c.x40forwa,p);if(i!=null){a.toString;h=$.String;d=s.LinkedHashSet_LinkedHashSet$of(i,h);m=$.UnmodifiableSetView_String;h=s.LinkedHashSet_LinkedHashSet$of(a,h);g=_==null?o.List_empty20:s.List_List$unmodifiable(_,$.ConfiguredVariable_2);return new s.ForwardRule0(S,new s.UnmodifiableSetView(d,m),new s.UnmodifiableSetView(h,m),y,y,r,g,p)}else if(u!=null){l.toString;h=$.String;d=s.LinkedHashSet_LinkedHashSet$of(u,h);m=$.UnmodifiableSetView_String;h=s.LinkedHashSet_LinkedHashSet$of(l,h);g=_==null?o.List_empty20:s.List_List$unmodifiable(_,$.ConfiguredVariable_2);return new s.ForwardRule0(S,y,y,new s.UnmodifiableSetView(d,m),new s.UnmodifiableSetView(h,m),r,g,p)}else return new s.ForwardRule0(S,y,y,y,y,r,_==null?o.List_empty20:s.List_List$unmodifiable(_,$.ConfiguredVariable_2),p)},_stylesheet0$_memberList$0(){var e=this,r=$.String,n=s.LinkedHashSet_LinkedHashSet$_empty(r),i=s.LinkedHashSet_LinkedHashSet$_empty(r);r=e.scanner;do{e.whitespace$0();e.withErrorMessage$2(c.Expectv,new s.StylesheetParser__memberList_closure0(e,i,n));e.whitespace$0()}while(r.scanChar$1(44));return new s.Tuple2(n,i,$.Tuple2_of_Set_String_and_Set_String)},_stylesheet0$_ifRule$2(e,r){var n,i,a,o,l,u=this,_=u.get$currentIndentation(),c=u._stylesheet0$_inControlDirective;u._stylesheet0$_inControlDirective=true;n=u._stylesheet0$_expression$0();i=u.children$1(0,r);u.whitespaceWithoutComments$0();a=s._setArrayType([s.IfClause$0(n,i)],$.JSArray_IfClause_2);while(true){if(!u.scanElse$1(_)){o=null;break}u.whitespace$0();if(u.scanIdentifier$1("if")){u.whitespace$0();a.push(s.IfClause$0(u._stylesheet0$_expression$0(),u.children$1(0,r)))}else{o=s.ElseClause$0(u.children$1(0,r));break}}u._stylesheet0$_inControlDirective=c;l=u.scanner.spanFrom$1(e);u.whitespaceWithoutComments$0();return new s.IfRule0(s.List_List$unmodifiable(a,$.IfClause_2),o,l)},_stylesheet0$_importRule$1(e){var r,n=this,i=s._setArrayType([],$.JSArray_Import_2),a=n.scanner;do{n.whitespace$0();r=n.importArgument$0();if((n._stylesheet0$_inControlDirective||n._stylesheet0$_inMixin)&&r instanceof s.DynamicImport0)n._stylesheet0$_disallowedAtRule$1(e);i.push(r);n.whitespace$0()}while(a.scanChar$1(44));n.expectStatementSeparator$1("@import rule");a=a.spanFrom$1(e);return new s.ImportRule0(s.List_List$unmodifiable(i,$.Import_2),a)},importArgument$0(){var e,r,n,i,l,u,_,c=this,p=c.scanner,h=new s._SpanScannerState(p,p._string_scanner$_position),d=p.peekChar$0();if(d===117||d===85){e=c.dynamicUrl$0();c.whitespace$0();l=c.tryImportModifiers$0();return new s.StaticImport0(s.Interpolation$0(s._setArrayType([e],$.JSArray_Object),p.spanFrom$1(h)),l,p.spanFrom$1(h))}e=c.string$0();r=p.spanFrom$1(h);c.whitespace$0();l=c.tryImportModifiers$0();if(c.isPlainImportUrl$1(e)||l!=null){u=r;return new s.StaticImport0(s.Interpolation$0(s._setArrayType([s.String_String$fromCharCodes(o.NativeUint32List_methods.sublist$2(u.file._decodedChars,u._file$_start,u._end),0,null)],$.JSArray_Object),r),l,p.spanFrom$1(h))}else try{p=c.parseImportUrl$1(e);return new s.DynamicImport0(p,r)}catch(_){p=s.unwrapException(_);if($.FormatException._is(p)){n=p;i=s.getTraceFromException(_);c.error$3(0,"Invalid URL: "+a.get$message$x(n),r,i)}else throw _}},parseImportUrl$1(e){var r=u.$get$windows();if(r.style.rootLength$1(e)>0&&!u.$get$url().style.isRootRelative$1(e))return r.toUri$1(e).toString$0(0);s.Uri_parse(e);return e},isPlainImportUrl$1(e){var r;if(e.length<5)return false;if(o.JSString_methods.endsWith$1(e,".css"))return true;r=o.JSString_methods._codeUnitAt$1(e,0);if(r===47)return o.JSString_methods._codeUnitAt$1(e,1)===47;if(r!==104)return false;return o.JSString_methods.startsWith$1(e,"http://")||o.JSString_methods.startsWith$1(e,"https://")},tryImportModifiers$0(){var e,r,n,i,a,o,l,u,_,c,p,h,d=this;if(!d._stylesheet0$_lookingAtInterpolatedIdentifier$0()&&d.scanner.peekChar$0()!==40)return null;e=d.scanner;r=new s._SpanScannerState(e,e._string_scanner$_position);n=new s.StringBuffer("");i=s._setArrayType([],$.JSArray_Object);a=new s.InterpolationBuffer0(n,i);for(;true;)if(d._stylesheet0$_lookingAtInterpolatedIdentifier$0()){if(!(i.length===0&&n._contents.length===0))n._contents+=s.Primitives_stringFromCharCode(32);o=d.interpolatedIdentifier$0();a.addInterpolation$1(o);l=o.get$asPlain();u=l==null?null:l.toLowerCase();if(u!=="and"&&e.scanChar$1(40)){if(u==="supports"){_=d._stylesheet0$_importSupportsQuery$0();l=!(_ instanceof s.SupportsDeclaration0);if(l)n._contents+=s.Primitives_stringFromCharCode(40);a._interpolation_buffer0$_flushText$0();i.push(new s.SupportsExpression0(_));if(l)n._contents+=s.Primitives_stringFromCharCode(41)}else{n._contents+=s.Primitives_stringFromCharCode(40);a.addInterpolation$1(d._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true,true));n._contents+=s.Primitives_stringFromCharCode(41)}e.expectChar$1(41);d.whitespace$0()}else{d.whitespace$0();if(e.scanChar$1(44)){n._contents+=", ";a.addInterpolation$1(d._stylesheet0$_mediaQueryList$0());c=e._string_scanner$_position;l=e._sourceFile;p=r.position;e=new s._FileSpan(l,p,c);e._FileSpan$3(l,p,c);p=$.Object;l=s.List_List$of(i,true,p);i=n._contents;if(i.length!==0)l.push(i.charCodeAt(0)==0?i:i);h=s.List_List$from(l,false,p);h.fixed$length=Array;h.immutable$list=Array;n=new s.Interpolation0(h,e);n.Interpolation$20(l,e);return n}}}else if(e.peekChar$0()===40){if(!(i.length===0&&n._contents.length===0))n._contents+=s.Primitives_stringFromCharCode(32);a.addInterpolation$1(d._stylesheet0$_mediaQueryList$0());c=e._string_scanner$_position;e=e._sourceFile;l=r.position;p=new s._FileSpan(e,l,c);p._FileSpan$3(e,l,c);l=$.Object;i=s.List_List$of(i,true,l);e=n._contents;if(e.length!==0)i.push(e.charCodeAt(0)==0?e:e);h=s.List_List$from(i,false,l);h.fixed$length=Array;h.immutable$list=Array;e=new s.Interpolation0(h,p);e.Interpolation$20(i,p);return e}else{c=e._string_scanner$_position;e=e._sourceFile;l=r.position;p=new s._FileSpan(e,l,c);p._FileSpan$3(e,l,c);l=$.Object;i=s.List_List$of(i,true,l);e=n._contents;if(e.length!==0)i.push(e.charCodeAt(0)==0?e:e);h=s.List_List$from(i,false,l);h.fixed$length=Array;h.immutable$list=Array;e=new s.Interpolation0(h,p);e.Interpolation$20(i,p);return e}},_stylesheet0$_importSupportsQuery$0(){var e,r,n,i,a=this;if(a.scanIdentifier$1("not")){a.whitespace$0();e=a.scanner;r=e._string_scanner$_position;return new s.SupportsNegation0(a._stylesheet0$_supportsConditionInParens$0(),e.spanFrom$1(new s._SpanScannerState(e,r)))}else{e=a.scanner;if(e.peekChar$0()===40)return a._stylesheet0$_supportsCondition$0();else{n=a._stylesheet0$_tryImportSupportsFunction$0();if(n!=null)return n;r=e._string_scanner$_position;i=a._stylesheet0$_expression$0();e.expectChar$1(58);return a._stylesheet0$_supportsDeclarationValue$2(i,new s._SpanScannerState(e,r))}}},_stylesheet0$_tryImportSupportsFunction$0(){var e,r,n,i,a=this;if(!a._stylesheet0$_lookingAtInterpolatedIdentifier$0())return null;e=a.scanner;r=new s._SpanScannerState(e,e._string_scanner$_position);n=a.interpolatedIdentifier$0();if(!e.scanChar$1(40)){e.set$state(r);return null}i=a._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true,true);e.expectChar$1(41);return new s.SupportsFunction0(n,i,e.spanFrom$1(r))},_stylesheet0$_includeRule$1(e){var r,n,i,a,l,u,_,c,$,p=this,h=null,d=p.identifier$0(),m=p.scanner;if(m.scanChar$1(46)){r=p._stylesheet0$_publicIdentifier$0();n=d;d=r}else{d=s.stringReplaceAllUnchecked(d,"_","-");n=h}p.whitespace$0();if(m.peekChar$0()===40)i=p._stylesheet0$_argumentInvocation$1$mixin(true);else{a=s.FileLocation$_(m._sourceFile,m._string_scanner$_position);l=a.offset;i=s.ArgumentInvocation$empty0(s._FileSpan$(a.file,l,l))}p.whitespace$0();if(p.scanIdentifier$1("using")){p.whitespace$0();u=p._stylesheet0$_argumentDeclaration$0();p.whitespace$0()}else u=h;a=u==null;if(!a||p.lookingAtChildren$0()){if(a){a=s.FileLocation$_(m._sourceFile,m._string_scanner$_position);l=a.offset;_=new s.ArgumentDeclaration0(o.List_empty22,h,s._FileSpan$(a.file,l,l))}else _=u;c=p._stylesheet0$_inContentBlock;p._stylesheet0$_inContentBlock=true;$=p._stylesheet0$_withChildren$3(p.get$_stylesheet0$_statement(),e,new s.StylesheetParser__includeRule_closure0(_));p._stylesheet0$_inContentBlock=c}else{p.expectStatementSeparator$0();$=h}m=m.spanFrom$2(e,e);a=$==null?i:$;return new s.IncludeRule0(n,d,i,$,m.expand$1(0,a.get$span(a)))},mediaRule$1(e){return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(),e,new s.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()))},_stylesheet0$_mixinRule$1(e){var r,n,i,a,l,u=this,_=u.lastSilentComment;u.lastSilentComment=null;r=u.identifier$1$normalize(true);u.whitespace$0();n=u.scanner;if(n.peekChar$0()===40)i=u._stylesheet0$_argumentDeclaration$0();else{a=s.FileLocation$_(n._sourceFile,n._string_scanner$_position);l=a.offset;i=new s.ArgumentDeclaration0(o.List_empty22,null,s._FileSpan$(a.file,l,l))}if(u._stylesheet0$_inMixin||u._stylesheet0$_inContentBlock)u.error$2(0,c.Mixinscm,n.spanFrom$1(e));else if(u._stylesheet0$_inControlDirective)u.error$2(0,c.Mixinsb,n.spanFrom$1(e));u.whitespace$0();u._stylesheet0$_inMixin=true;return u._stylesheet0$_withChildren$3(u.get$_stylesheet0$_statement(),e,new s.StylesheetParser__mixinRule_closure0(u,r,i,_))},mozDocumentRule$2(e,r){var n,i,a,l,u,_,c,p,h,d,m,g,f=this,y={},S=f.scanner,v=S._string_scanner$_position,b=new s.StringBuffer(""),x=s._setArrayType([],$.JSArray_Object),w=new s.InterpolationBuffer0(b,x);y.needsDeprecationWarning=false;for(n=f.get$whitespace(),i=S.string;true;){if(S.peekChar$0()===35){a=f.singleInterpolation$0();w._interpolation_buffer0$_flushText$0();x.push(a);y.needsDeprecationWarning=true}else{a=S._string_scanner$_position;l=f.identifier$0();switch(l){case"url":case"url-prefix":case"domain":u=f._stylesheet0$_tryUrlContents$2$name(new s._SpanScannerState(S,a),l);if(u!=null)w.addInterpolation$1(u);else{S.expectChar$1(40);f.whitespace$0();_=f.interpolatedString$0();S.expectChar$1(41);a=b._contents+=l;b._contents=a+s.Primitives_stringFromCharCode(40);w.addInterpolation$1(_.asInterpolation$0());b._contents+=s.Primitives_stringFromCharCode(41)}a=b._contents;c=a.charCodeAt(0)==0?a:a;if(!o.JSString_methods.endsWith$1(c,"url-prefix()")&&!o.JSString_methods.endsWith$1(c,"url-prefix('')")&&!o.JSString_methods.endsWith$1(c,'url-prefix("")'))y.needsDeprecationWarning=true;break;case"regexp":b._contents+="regexp(";S.expectChar$1(40);w.addInterpolation$1(f.interpolatedString$0().asInterpolation$0());S.expectChar$1(41);b._contents+=s.Primitives_stringFromCharCode(41);y.needsDeprecationWarning=true;break;default:p=S._string_scanner$_position;h=S._sourceFile;d=new s._FileSpan(h,a,p);d._FileSpan$3(h,a,p);s.throwExpression(new s.StringScannerException(i,"Invalid function name.",d))}}f.whitespace$0();if(!S.scanChar$1(44))break;b._contents+=s.Primitives_stringFromCharCode(44);m=S._string_scanner$_position;n.call$0();g=S._string_scanner$_position;b._contents+=o.JSString_methods.substring$2(i,m,g)}return f._stylesheet0$_withChildren$3(f.get$_stylesheet0$_statement(),e,new s.StylesheetParser_mozDocumentRule_closure0(y,f,r,w.interpolation$1(S.spanFrom$1(new s._SpanScannerState(S,v)))))},supportsRule$1(e){var r=this,n=r._stylesheet0$_supportsCondition$0();r.whitespace$0();return r._stylesheet0$_withChildren$3(r.get$_stylesheet0$_statement(),e,new s.StylesheetParser_supportsRule_closure0(n))},_stylesheet0$_useNamespace$2(e,r){var n,i,a,l,u,_=this;if(_.scanIdentifier$1("as")){_.whitespace$0();return _.scanner.scanChar$1(42)?null:_.identifier$0()}i=e.get$pathSegments().length===0?"":o.JSArray_methods.get$last(e.get$pathSegments());a=o.JSString_methods.indexOf$1(i,".");l=o.JSString_methods.startsWith$1(i,"_")?1:0;n=o.JSString_methods.substring$2(i,l,a===-1?i.length:a);try{l=s.SpanScanner$(n,null);l=new s.Parser1(l,_.logger)._parser0$_parseIdentifier$0();return l}catch(u){if(s.unwrapException(u)instanceof s.SassFormatException0)_.error$2(0,'The default namespace "'+s.S(n)+c.x22x20is_n,_.scanner.spanFrom$1(r));else throw u}},_stylesheet0$_configuration$1$allowGuarded(e){var r,n,i,a,o,l,u,_,p,h,d,m,g,f=this;if(!f.scanIdentifier$1("with"))return null;r=s.LinkedHashSet_LinkedHashSet$_empty($.String);n=s._setArrayType([],$.JSArray_ConfiguredVariable_2);f.whitespace$0();i=f.scanner;i.expectChar$1(40);for(a=i.string;true;){f.whitespace$0();o=i._string_scanner$_position;i.expectChar$1(36);l=f.identifier$1$normalize(true);f.whitespace$0();i.expectChar$1(58);f.whitespace$0();u=f.expressionUntilComma$0();_=i._string_scanner$_position;if(e&&i.scanChar$1(33))if(f.identifier$0()==="default"){f.whitespace$0();p=true}else{h=i._string_scanner$_position;d=i._sourceFile;m=new s._FileSpan(d,_,h);m._FileSpan$3(d,_,h);s.throwExpression(new s.StringScannerException(a,"Invalid flag name.",m));p=false}else p=false;h=i._string_scanner$_position;_=i._sourceFile;g=new s._FileSpan(_,o,h);g._FileSpan$3(_,o,h);if(r.contains$1(0,l))s.throwExpression(new s.StringScannerException(a,c.The_sa,g));r.add$1(0,l);n.push(new s.ConfiguredVariable0(l,u,p,g));if(!i.scanChar$1(44))break;f.whitespace$0();if(!f._stylesheet0$_lookingAtExpression$0())break}i.expectChar$1(41);return n},_stylesheet0$_configuration$0(){return this._stylesheet0$_configuration$1$allowGuarded(false)},_stylesheet0$_warnRule$1(e){var r=this._stylesheet0$_expression$0();this.expectStatementSeparator$1("@warn rule");return new s.WarnRule0(r,this.scanner.spanFrom$1(e))},_stylesheet0$_whileRule$2(e,r){var n=this,i=n._stylesheet0$_inControlDirective;n._stylesheet0$_inControlDirective=true;return n._stylesheet0$_withChildren$3(r,e,new s.StylesheetParser__whileRule_closure0(n,i,n._stylesheet0$_expression$0()))},unknownAtRule$2(e,r){var n,i,a,o=this,l={},u=o._stylesheet0$_inUnknownAtRule;o._stylesheet0$_inUnknownAtRule=true;l.value=null;n=o.scanner;i=n.peekChar$0()!==33&&!o.atEndOfStatement$0()?l.value=o.almostAnyValue$0():null;if(o.lookingAtChildren$0())a=o._stylesheet0$_withChildren$3(o.get$_stylesheet0$_statement(),e,new s.StylesheetParser_unknownAtRule_closure0(l,r));else{o.expectStatementSeparator$0();a=s.AtRule$0(r,n.spanFrom$1(e),null,i)}o._stylesheet0$_inUnknownAtRule=u;return a},_stylesheet0$_disallowedAtRule$1(e){this.almostAnyValue$0();this.error$2(0,"This at-rule is not allowed here.",this.scanner.spanFrom$1(e))},_stylesheet0$_argumentDeclaration$0(){var e,r,n,i,a,l,u,_,c,p,h=this,d=h.scanner,m=d._string_scanner$_position;d.expectChar$1(40);h.whitespace$0();e=s._setArrayType([],$.JSArray_Argument_2);r=s.LinkedHashSet_LinkedHashSet$_empty($.String);i=d.string;while(true){if(!(d.peekChar$0()===36)){n=null;break}a=d._string_scanner$_position;d.expectChar$1(36);l=h.identifier$1$normalize(true);h.whitespace$0();if(d.scanChar$1(58)){h.whitespace$0();u=h.expressionUntilComma$0()}else{if(d.scanChar$1(46)){d.expectChar$1(46);d.expectChar$1(46);h.whitespace$0();n=l;break}u=null}_=d._string_scanner$_position;c=d._sourceFile;p=new s._FileSpan(c,a,_);p._FileSpan$3(c,a,_);e.push(new s.Argument0(l,u,p));if(!r.add$1(0,l))s.throwExpression(new s.StringScannerException(i,"Duplicate argument.",o.JSArray_methods.get$last(e).span));if(!d.scanChar$1(44)){n=null;break}h.whitespace$0()}d.expectChar$1(41);d=d.spanFrom$1(new s._SpanScannerState(d,m));return new s.ArgumentDeclaration0(s.List_List$unmodifiable(e,$.Argument_2),n,d)},_stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(e,r){var n,i,a,o,l,u,_,p,h,d,m,g=this,f=null,y=g.scanner,S=y._string_scanner$_position;y.expectChar$1(40);g.whitespace$0();n=s._setArrayType([],$.JSArray_Expression_2);i=$.String;a=$.Expression_2;o=s.LinkedHashMap_LinkedHashMap$_empty(i,a);u=!r;_=y.string;p=f;while(true){if(!g._stylesheet0$_lookingAtExpression$0()){l=f;break}h=g.expressionUntilComma$1$singleEquals(u);g.whitespace$0();if(h instanceof s.VariableExpression0&&y.scanChar$1(58)){g.whitespace$0();d=h.name;if(o.containsKey$1(d))s.throwExpression(new s.StringScannerException(_,"Duplicate argument.",h.span));o.$indexSet(0,d,g.expressionUntilComma$1$singleEquals(u))}else if(y.scanChar$1(46)){y.expectChar$1(46);y.expectChar$1(46);if(p!=null){g.whitespace$0();l=h;break}p=h}else if(o.__js_helper$_length!==0)s.throwExpression(new s.StringScannerException(_,c.Positi,h.get$span(h)));else n.push(h);g.whitespace$0();if(!y.scanChar$1(44)){l=f;break}g.whitespace$0();if(e&&n.length===1&&o.__js_helper$_length===0&&p==null&&y.peekChar$0()===41){u=y._sourceFile;_=y._string_scanner$_position;new s.FileLocation(u,_).FileLocation$_$2(u,_);d=new s._FileSpan(u,_,_);d._FileSpan$3(u,_,_);_=s._setArrayType([""],$.JSArray_Object);m=s.List_List$from(_,false,$.Object);m.fixed$length=Array;m.immutable$list=Array;u=new s.Interpolation0(m,d);u.Interpolation$20(_,d);n.push(new s.StringExpression0(u,false));l=f;break}}y.expectChar$1(41);y=y.spanFrom$1(new s._SpanScannerState(y,S));return new s.ArgumentInvocation0(s.List_List$unmodifiable(n,a),s.ConstantMap_ConstantMap$from(o,i,a),p,l,y)},_stylesheet0$_argumentInvocation$0(){return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false,false)},_stylesheet0$_argumentInvocation$1$allowEmptySecondArg(e){return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(e,false)},_stylesheet0$_argumentInvocation$1$mixin(e){return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false,e)},_stylesheet0$_expression$3$bracketList$singleEquals$until(e,r,n){var i,a,l,u,_,c,p,h,d,m,g,f,y,S,v,b,x,w=this,C="Expected expression.",E={},A=n!=null;if(A&&n.call$0())w.scanner.error$1(0,C);if(e){i=w.scanner;a=new s._SpanScannerState(i,i._string_scanner$_position);i.expectChar$1(91);w.whitespace$0();if(i.scanChar$1(93)){A=s._setArrayType([],$.JSArray_Expression_2);i=i.spanFrom$1(a);return new s.ListExpression0(s.List_List$unmodifiable(A,$.Expression_2),o.ListSeparator_undecided_null0,true,i)}}else a=null;i=w.scanner;l=new s._SpanScannerState(i,i._string_scanner$_position);u=w._stylesheet0$_inParentheses;E.operands_=E.operators_=E.spaceExpressions_=E.commaExpressions_=null;E.allowSlash=true;E.singleExpression_=w._stylesheet0$_singleExpression$0();_=new s.StylesheetParser__expression_resetState0(E,w,l);c=new s.StylesheetParser__expression_resolveOneOperation0(E,w);p=new s.StylesheetParser__expression_resolveOperations0(E,c);h=new s.StylesheetParser__expression_addSingleExpression0(E,w,_,p);d=new s.StylesheetParser__expression_addOperator0(E,w,c);m=new s.StylesheetParser__expression_resolveSpaceExpressions0(E,w,p);e:for(g=$.JSArray_Expression_2;true;){w.whitespace$0();if(A&&n.call$0())break e;f=i.peekChar$0();switch(f){case 40:h.call$1(w._stylesheet0$_parentheses$0());break;case 91:h.call$1(w._stylesheet0$_expression$1$bracketList(true));break;case 36:h.call$1(w._stylesheet0$_variable$0());break;case 38:h.call$1(w._stylesheet0$_selector$0());break;case 39:case 34:h.call$1(w.interpolatedString$0());break;case 35:h.call$1(w._stylesheet0$_hashExpression$0());break;case 61:i.readChar$0();if(r&&i.peekChar$0()!==61)d.call$1(o.BinaryOperator_kjl0);else{i.expectChar$1(61);d.call$1(o.BinaryOperator_YlX0)}break;case 33:y=i.peekChar$1(1);if(y===61){i.readChar$0();i.readChar$0();d.call$1(o.BinaryOperator_i5H0)}else{if(y!=null)if((y|32)>>>0!==105)S=y===32||y===9||y===10||y===13||y===12;else S=true;else S=true;if(S)h.call$1(w._stylesheet0$_importantExpression$0());else break e}break;case 60:i.readChar$0();d.call$1(i.scanChar$1(61)?o.BinaryOperator_33h0:o.BinaryOperator_8qt0);break;case 62:i.readChar$0();d.call$1(i.scanChar$1(61)?o.BinaryOperator_1da0:o.BinaryOperator_AcR1);break;case 42:i.readChar$0();d.call$1(o.BinaryOperator_O1M0);break;case 43:if(E.singleExpression_==null)h.call$1(w._stylesheet0$_unaryOperation$0());else{i.readChar$0();d.call$1(o.BinaryOperator_AcR2)}break;case 45:y=i.peekChar$1(1);if(y!=null&&y>=48&&y<=57||y===46)if(E.singleExpression_!=null){S=i.peekChar$1(-1);S=S===32||S===9||S===10||S===13||S===12}else S=true;else S=false;if(S)h.call$1(w._stylesheet0$_number$0());else if(w._stylesheet0$_lookingAtInterpolatedIdentifier$0())h.call$1(w.identifierLike$0());else if(E.singleExpression_==null)h.call$1(w._stylesheet0$_unaryOperation$0());else{i.readChar$0();d.call$1(o.BinaryOperator_iyO0)}break;case 47:if(E.singleExpression_==null)h.call$1(w._stylesheet0$_unaryOperation$0());else{i.readChar$0();d.call$1(o.BinaryOperator_RTB0)}break;case 37:i.readChar$0();d.call$1(o.BinaryOperator_2ad0);break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:h.call$1(w._stylesheet0$_number$0());break;case 46:if(i.peekChar$1(1)===46)break e;h.call$1(w._stylesheet0$_number$0());break;case 97:if(!w.get$plainCss()&&w.scanIdentifier$1("and"))d.call$1(o.BinaryOperator_and_and_20);else h.call$1(w.identifierLike$0());break;case 111:if(!w.get$plainCss()&&w.scanIdentifier$1("or"))d.call$1(o.BinaryOperator_or_or_10);else h.call$1(w.identifierLike$0());break;case 117:case 85:if(i.peekChar$1(1)===43)h.call$1(w._stylesheet0$_unicodeRange$0());else h.call$1(w.identifierLike$0());break;case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 112:case 113:case 114:case 115:case 116:case 118:case 119:case 120:case 121:case 122:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 86:case 87:case 88:case 89:case 90:case 95:case 92:h.call$1(w.identifierLike$0());break;case 44:if(w._stylesheet0$_inParentheses){w._stylesheet0$_inParentheses=false;if(E.allowSlash){_.call$0();break}}v=E.commaExpressions_;if(v==null)v=E.commaExpressions_=s._setArrayType([],g);if(E.singleExpression_==null)i.error$1(0,C);m.call$0();S=E.singleExpression_;S.toString;v.push(S);i.readChar$0();E.allowSlash=true;E.singleExpression_=null;break;default:if(f!=null&&f>=128){h.call$1(w.identifierLike$0());break}else break e}}if(e)i.expectChar$1(93);v=E.commaExpressions_;b=E.spaceExpressions_;if(v!=null){m.call$0();w._stylesheet0$_inParentheses=u;x=E.singleExpression_;if(x!=null)v.push(x);A=i.spanFrom$1(a==null?l:a);return new s.ListExpression0(s.List_List$unmodifiable(v,$.Expression_2),o.ListSeparator_kWM0,e,A)}else if(e&&b!=null){p.call$0();A=E.singleExpression_;A.toString;b.push(A);a.toString;i=i.spanFrom$1(a);return new s.ListExpression0(s.List_List$unmodifiable(b,$.Expression_2),o.ListSeparator_woc0,true,i)}else{m.call$0();if(e){A=E.singleExpression_;A.toString;g=s._setArrayType([A],g);a.toString;i=i.spanFrom$1(a);E.singleExpression_=new s.ListExpression0(s.List_List$unmodifiable(g,$.Expression_2),o.ListSeparator_undecided_null0,true,i)}A=E.singleExpression_;A.toString;return A}},_stylesheet0$_expression$2$singleEquals$until(e,r){return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false,e,r)},_stylesheet0$_expression$1$bracketList(e){return this._stylesheet0$_expression$3$bracketList$singleEquals$until(e,false,null)},_stylesheet0$_expression$0(){return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false,false,null)},_stylesheet0$_expression$1$until(e){return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false,false,e)},expressionUntilComma$1$singleEquals(e){return this._stylesheet0$_expression$2$singleEquals$until(e,new s.StylesheetParser_expressionUntilComma_closure0(this))},expressionUntilComma$0(){return this.expressionUntilComma$1$singleEquals(false)},_stylesheet0$_isSlashOperand$1(e){var r;if(!(e instanceof s.NumberExpression0))if(!(e instanceof s.CalculationExpression0))r=e instanceof s.BinaryOperationExpression0&&e.allowsSlash;else r=true;else r=true;return r},_stylesheet0$_singleExpression$0(){var e,r=this,n=r.scanner,i=n.peekChar$0();switch(i){case 40:return r._stylesheet0$_parentheses$0();case 47:return r._stylesheet0$_unaryOperation$0();case 46:return r._stylesheet0$_number$0();case 91:return r._stylesheet0$_expression$1$bracketList(true);case 36:return r._stylesheet0$_variable$0();case 38:return r._stylesheet0$_selector$0();case 39:case 34:return r.interpolatedString$0();case 35:return r._stylesheet0$_hashExpression$0();case 43:e=n.peekChar$1(1);return s.isDigit0(e)||e===46?r._stylesheet0$_number$0():r._stylesheet0$_unaryOperation$0();case 45:return r._stylesheet0$_minusExpression$0();case 33:return r._stylesheet0$_importantExpression$0();case 117:case 85:if(n.peekChar$1(1)===43)return r._stylesheet0$_unicodeRange$0();else return r.identifierLike$0();case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return r._stylesheet0$_number$0();case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 118:case 119:case 120:case 121:case 122:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 86:case 87:case 88:case 89:case 90:case 95:case 92:return r.identifierLike$0();default:if(i!=null&&i>=128)return r.identifierLike$0();n.error$1(0,"Expected expression.")}},_stylesheet0$_parentheses$0(){var e,r,n,i,l,u,_=this;if(_.get$plainCss())_.scanner.error$2$length(0,"Parentheses aren't allowed in plain CSS.",1);e=_._stylesheet0$_inParentheses;_._stylesheet0$_inParentheses=true;try{l=_.scanner;r=new s._SpanScannerState(l,l._string_scanner$_position);l.expectChar$1(40);_.whitespace$0();if(!_._stylesheet0$_lookingAtExpression$0()){l.expectChar$1(41);u=s._setArrayType([],$.JSArray_Expression_2);l=l.spanFrom$1(r);u=s.List_List$unmodifiable(u,$.Expression_2);return new s.ListExpression0(u,o.ListSeparator_undecided_null0,false,l)}n=_.expressionUntilComma$0();if(l.scanChar$1(58)){_.whitespace$0();l=_._stylesheet0$_map$2(n,r);return l}if(!l.scanChar$1(44)){l.expectChar$1(41);l=l.spanFrom$1(r);return new s.ParenthesizedExpression0(n,l)}_.whitespace$0();i=s._setArrayType([n],$.JSArray_Expression_2);for(;true;){if(!_._stylesheet0$_lookingAtExpression$0())break;a.add$1$ax(i,_.expressionUntilComma$0());if(!l.scanChar$1(44))break;_.whitespace$0()}l.expectChar$1(41);l=l.spanFrom$1(r);u=s.List_List$unmodifiable(i,$.Expression_2);return new s.ListExpression0(u,o.ListSeparator_kWM0,false,l)}finally{_._stylesheet0$_inParentheses=e}},_stylesheet0$_map$2(e,r){var n,i,a=this,o=$.Tuple2_Expression_Expression_2,l=s._setArrayType([new s.Tuple2(e,a.expressionUntilComma$0(),o)],$.JSArray_Tuple2_Expression_Expression_2);for(n=a.scanner;n.scanChar$1(44);){a.whitespace$0();if(!a._stylesheet0$_lookingAtExpression$0())break;i=a.expressionUntilComma$0();n.expectChar$1(58);a.whitespace$0();l.push(new s.Tuple2(i,a.expressionUntilComma$0(),o))}n.expectChar$1(41);n=n.spanFrom$1(r);return new s.MapExpression0(s.List_List$unmodifiable(l,o),n)},_stylesheet0$_hashExpression$0(){var e,r,n,i,a,o=this,l=o.scanner;if(l.peekChar$1(1)===123)return o.identifierLike$0();e=new s._SpanScannerState(l,l._string_scanner$_position);l.expectChar$1(35);r=l.peekChar$0();if(r!=null&&s.isDigit0(r))return new s.ColorExpression0(o._stylesheet0$_hexColorContents$1(e),l.spanFrom$1(e));n=l._string_scanner$_position;i=o.interpolatedIdentifier$0();if(o._stylesheet0$_isHexColor$1(i)){l.set$state(new s._SpanScannerState(l,n));return new s.ColorExpression0(o._stylesheet0$_hexColorContents$1(e),l.spanFrom$1(e))}n=new s.StringBuffer("");a=new s.InterpolationBuffer0(n,s._setArrayType([],$.JSArray_Object));n._contents=""+s.Primitives_stringFromCharCode(35);a.addInterpolation$1(i);return new s.StringExpression0(a.interpolation$1(l.spanFrom$1(e)),false)},_stylesheet0$_hexColorContents$1(e){var r,n,i,a,o,l,u,_=this,c=_._stylesheet0$_hexDigit$0(),$=_._stylesheet0$_hexDigit$0(),p=_._stylesheet0$_hexDigit$0(),h=_.scanner;if(!s.isHex0(h.peekChar$0())){r=(c<<4>>>0)+c;n=($<<4>>>0)+$;i=(p<<4>>>0)+p;a=null}else{o=_._stylesheet0$_hexDigit$0();l=c<<4>>>0;u=p<<4>>>0;if(!s.isHex0(h.peekChar$0())){r=l+c;n=($<<4>>>0)+$;i=u+p;a=((o<<4>>>0)+o)/255}else{r=l+$;n=u+o;i=(_._stylesheet0$_hexDigit$0()<<4>>>0)+_._stylesheet0$_hexDigit$0();a=s.isHex0(h.peekChar$0())?((_._stylesheet0$_hexDigit$0()<<4>>>0)+_._stylesheet0$_hexDigit$0())/255:null}}return s.SassColor$rgbInternal0(r,n,i,a,a==null?new s.SpanColorFormat0(h.spanFrom$1(e)):null)},_stylesheet0$_isHexColor$1(e){var r,n=e.get$asPlain();if(n==null)return false;r=n.length;if(r!==3&&r!==4&&r!==6&&r!==8)return false;r=new s.CodeUnits(n);return r.every$1(r,s.character0__isHex$closure())},_stylesheet0$_hexDigit$0(){var e=this.scanner,r=e.peekChar$0();if(r==null||!s.isHex0(r))e.error$1(0,"Expected hex digit.");return s.asHex0(e.readChar$0())},_stylesheet0$_minusExpression$0(){var e=this,r=e.scanner.peekChar$1(1);if(s.isDigit0(r)||r===46)return e._stylesheet0$_number$0();if(e._stylesheet0$_lookingAtInterpolatedIdentifier$0())return e.identifierLike$0();return e._stylesheet0$_unaryOperation$0()},_stylesheet0$_importantExpression$0(){var e=this.scanner,r=e._string_scanner$_position;e.readChar$0();this.whitespace$0();this.expectIdentifier$1("important");r=e.spanFrom$1(new s._SpanScannerState(e,r));return new s.StringExpression0(s.Interpolation$0(s._setArrayType(["!important"],$.JSArray_Object),r),false)},_stylesheet0$_unaryOperation$0(){var e=this,r=e.scanner,n=r._string_scanner$_position,i=e._stylesheet0$_unaryOperatorFor$1(r.readChar$0());if(i==null)r.error$2$position(0,"Expected unary operator.",r._string_scanner$_position-1);else if(e.get$plainCss()&&i!==o.UnaryOperator_zDx0)r.error$3$length$position(0,"Operators aren't allowed in plain CSS.",1,r._string_scanner$_position-1);e.whitespace$0();return new s.UnaryOperationExpression0(i,e._stylesheet0$_singleExpression$0(),r.spanFrom$1(new s._SpanScannerState(r,n)))},_stylesheet0$_unaryOperatorFor$1(e){switch(e){case 43:return o.UnaryOperator_j2w0;case 45:return o.UnaryOperator_U4G0;case 47:return o.UnaryOperator_zDx0;default:return null}},_stylesheet0$_number$0(){var e,r,n,i,a=this,o=a.scanner,l=o._string_scanner$_position,u=o.peekChar$0(),_=u===45,c=_?-1:1;if(u===43||_)o.readChar$0();e=o.peekChar$0()===46?0:a.naturalNumber$0();_=a._stylesheet0$_tryDecimal$1$allowTrailingDot(o._string_scanner$_position!==l);r=a._stylesheet0$_tryExponent$0();if(o.scanChar$1(37))n="%";else{if(a.lookingAtIdentifier$0())i=o.peekChar$0()!==45||o.peekChar$1(1)!==45;else i=false;n=i?a.identifier$1$unit(true):null}return new s.NumberExpression0(c*((e+_)*r),n,o.spanFrom$1(new s._SpanScannerState(o,l)))},_stylesheet0$_tryDecimal$1$allowTrailingDot(e){var r,n=this.scanner,i=n._string_scanner$_position;if(n.peekChar$0()!==46)return 0;if(!s.isDigit0(n.peekChar$1(1))){if(e)return 0;n.error$2$position(0,"Expected digit.",n._string_scanner$_position+1)}n.readChar$0();while(true){r=n.peekChar$0();if(!(r!=null&&r>=48&&r<=57))break;n.readChar$0()}return s.double_parse(n.substring$1(0,i))},_stylesheet0$_tryExponent$0(){var e,r,n,i,a=this.scanner,o=a.peekChar$0();if(o!==101&&o!==69)return 1;e=a.peekChar$1(1);if(!s.isDigit0(e)&&e!==45&&e!==43)return 1;a.readChar$0();r=e===45;n=r?-1:1;if(e===43||r)a.readChar$0();if(!s.isDigit0(a.peekChar$0()))a.error$1(0,"Expected digit.");i=0;while(true){r=a.peekChar$0();if(!(r!=null&&r>=48&&r<=57))break;i=i*10+(a.readChar$0()-48)}return Math.pow(10,n*i)},_stylesheet0$_unicodeRange$0(){var e,r,n,i,a=this,o="Expected at most 6 digits.",l=a.scanner,u=new s._SpanScannerState(l,l._string_scanner$_position);a.expectIdentChar$1(117);l.expectChar$1(43);for(e=0;a.scanCharIf$1(new s.StylesheetParser__unicodeRange_closure1);)++e;for(r=false;l.scanChar$1(63);r=true)++e;if(e===0)l.error$1(0,'Expected hex digit or "?".');else if(e>6)a.error$2(0,o,l.spanFrom$1(u));else if(r){n=l.substring$1(0,u.position);l=l.spanFrom$1(u);return new s.StringExpression0(s.Interpolation$0(s._setArrayType([n],$.JSArray_Object),l),false)}if(l.scanChar$1(45)){n=l._string_scanner$_position;for(i=0;a.scanCharIf$1(new s.StylesheetParser__unicodeRange_closure2);)++i;if(i===0)l.error$1(0,"Expected hex digit.");else if(i>6)a.error$2(0,o,l.spanFrom$1(new s._SpanScannerState(l,n)))}if(a._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())l.error$1(0,"Expected end of identifier.");n=l.substring$1(0,u.position);l=l.spanFrom$1(u);return new s.StringExpression0(s.Interpolation$0(s._setArrayType([n],$.JSArray_Object),l),false)},_stylesheet0$_variable$0(){var e=this,r=e.scanner,n=new s._SpanScannerState(r,r._string_scanner$_position),i=e.variableName$0();if(e.get$plainCss())e.error$2(0,c.Sass_v,r.spanFrom$1(n));return new s.VariableExpression0(null,i,r.spanFrom$1(n))},_stylesheet0$_selector$0(){var e,r,n=this;if(n.get$plainCss())n.scanner.error$2$length(0,c.The_pa,1);e=n.scanner;r=new s._SpanScannerState(e,e._string_scanner$_position);e.expectChar$1(38);if(e.scanChar$1(38)){n.logger.warn$2$span(0,c.In_Sas,e.spanFrom$1(r));e.set$position(e._string_scanner$_position-1)}return new s.SelectorExpression0(e.spanFrom$1(r))},interpolatedString$0(){var e,r,n,i,a,o,l=this.scanner,u=l._string_scanner$_position,_=l.readChar$0();if(_!==39&&_!==34)l.error$2$position(0,"Expected string.",u);e=new s.StringBuffer("");r=s._setArrayType([],$.JSArray_Object);n=new s.InterpolationBuffer0(e,r);for(;true;){i=l.peekChar$0();if(i===_){l.readChar$0();break}else if(i==null||i===10||i===13||i===12)l.error$1(0,"Expected "+s.Primitives_stringFromCharCode(_)+".");else if(i===92){a=l.peekChar$1(1);if(a===10||a===13||a===12){l.readChar$0();l.readChar$0();if(a===13)l.scanChar$1(10)}else e._contents+=s.Primitives_stringFromCharCode(s.consumeEscapedCharacter0(l))}else if(i===35)if(l.peekChar$1(1)===123){o=this.singleInterpolation$0();n._interpolation_buffer0$_flushText$0();r.push(o)}else e._contents+=s.Primitives_stringFromCharCode(l.readChar$0());else e._contents+=s.Primitives_stringFromCharCode(l.readChar$0())}return new s.StringExpression0(n.interpolation$1(l.spanFrom$1(new s._SpanScannerState(l,u))),true)},identifierLike$0(){var e,r,n,i=this,l=i.scanner,_=new s._SpanScannerState(l,l._string_scanner$_position),$=i.interpolatedIdentifier$0(),p=$.get$asPlain(),h=s._Cell$(),d=p==null,m=!d;if(m){if(p==="if"&&l.peekChar$0()===40){e=i._stylesheet0$_argumentInvocation$0();return new s.IfExpression0(e,$.span.expand$1(0,e.span))}else if(p==="not"){i.whitespace$0();return new s.UnaryOperationExpression0(o.UnaryOperator_not_not0,i._stylesheet0$_singleExpression$0(),$.span)}h._value=p.toLowerCase();if(l.peekChar$0()!==40){switch(p){case"false":return new s.BooleanExpression0(false,$.span);case"null":return new s.NullExpression0($.span);case"true":return new s.BooleanExpression0(true,$.span)}r=u.$get$colorsByName0().$index(0,h._readLocal$0());if(r!=null){l=$.span;return new s.ColorExpression0(s.SassColor$rgbInternal0(r.get$red(r),r.get$green(r),r.get$blue(r),r._color1$_alpha,new s.SpanColorFormat0(l)),l)}}n=i.trySpecialFunction$2(h._readLocal$0(),_);if(n!=null)return n}switch(l.peekChar$0()){case 46:if(l.peekChar$1(1)===46)return new s.StringExpression0($,false);l.readChar$0();if(m)return i.namespacedExpression$2(p,_);i.error$2(0,c.Interpn,$.span);break;case 40:if(d)return new s.InterpolatedFunctionExpression0($,i._stylesheet0$_argumentInvocation$0(),l.spanFrom$1(_));else return new s.FunctionExpression0(null,p,i._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(a.$eq$(h._readLocal$0(),"var")),l.spanFrom$1(_));default:return new s.StringExpression0($,false)}},namespacedExpression$2(e,r){var n,i=this,a=i.scanner;if(a.peekChar$0()===36){n=i.variableName$0();i._stylesheet0$_assertPublic$2(n,new s.StylesheetParser_namespacedExpression_closure0(i,r));return new s.VariableExpression0(e,n,a.spanFrom$1(r))}return new s.FunctionExpression0(e,i._stylesheet0$_publicIdentifier$0(),i._stylesheet0$_argumentInvocation$0(),a.spanFrom$1(r))},trySpecialFunction$2(e,r){var n,i,a,o,l=this,u=null,_=l.scanner,c=_.peekChar$0()===40?l._stylesheet0$_tryCalculation$2(e,r):u;if(c!=null)return c;switch(s.unvendor0(e)){case"calc":case"element":case"expression":if(!_.scanChar$1(40))return u;n=new s.StringBuffer("");i=new s.InterpolationBuffer0(n,s._setArrayType([],$.JSArray_Object));a=""+e;n._contents=a;n._contents=a+s.Primitives_stringFromCharCode(40);break;case"progid":if(!_.scanChar$1(58))return u;n=new s.StringBuffer("");i=new s.InterpolationBuffer0(n,s._setArrayType([],$.JSArray_Object));a=""+e;n._contents=a;n._contents=a+s.Primitives_stringFromCharCode(58);o=_.peekChar$0();while(true){if(o!=null){if(!(o>=97&&o<=122))a=o>=65&&o<=90;else a=true;a=a||o===46}else a=false;if(!a)break;n._contents+=s.Primitives_stringFromCharCode(_.readChar$0());o=_.peekChar$0()}_.expectChar$1(40);n._contents+=s.Primitives_stringFromCharCode(40);break;case"url":return s.NullableExtension_andThen0(l._stylesheet0$_tryUrlContents$1(r),new s.StylesheetParser_trySpecialFunction_closure0);default:return u}i.addInterpolation$1(l._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));_.expectChar$1(41);i._interpolation_buffer0$_text._contents+=s.Primitives_stringFromCharCode(41);return new s.StringExpression0(i.interpolation$1(_.spanFrom$1(r)),false)},_stylesheet0$_tryCalculation$2(e,r){var n,i,a,o,l,u=this;switch(e){case"calc":i=u._stylesheet0$_calculationArguments$1(1);a=u.scanner.spanFrom$1(r);return new s.CalculationExpression0(e,s.CalculationExpression__verifyArguments0(i),a);case"min":case"max":a=u.scanner;n=new s._SpanScannerState(a,a._string_scanner$_position);i=null;try{i=u._stylesheet0$_calculationArguments$0()}catch(o){if($.FormatException._is(s.unwrapException(o))){a.set$state(n);return null}else throw o}l=i;a=a.spanFrom$1(r);return new s.CalculationExpression0(e,s.CalculationExpression__verifyArguments0(l),a);case"clamp":i=u._stylesheet0$_calculationArguments$1(3);a=u.scanner.spanFrom$1(r);return new s.CalculationExpression0(e,s.CalculationExpression__verifyArguments0(i),a);default:return null}},_stylesheet0$_calculationArguments$1(e){var r,n,i,a=this,o=a.scanner;o.expectChar$1(40);r=a._stylesheet0$_containsCalculationInterpolation$0()?new s.StringExpression0(a._stylesheet0$_interpolatedDeclarationValue$0(),false):null;if(r!=null){o.expectChar$1(41);return s._setArrayType([r],$.JSArray_Expression_2)}a.whitespace$0();n=s._setArrayType([a._stylesheet0$_calculationSum$0()],$.JSArray_Expression_2);i=e!=null;while(true){if(!((!i||n.lengthe)s.throwExpression(s.ArgumentError$(u+a,o));p._string_scanner$_position=a;p._lastMatch=null;return true}p.readChar$0();break e;case 5:++r;i=6;continue e;case 6:n.toString;_.push(s.opposite0(n));p.readChar$0();break e;case 7:--r;i=8;continue e;case 8:if(_.length===0||_.pop()!==n){if(h._scanner!==p)s.throwExpression(s.ArgumentError$(l,o));a=h.position;if((a===0?1/a<0:a<0)||a>e)s.throwExpression(s.ArgumentError$(u+a,o));p._string_scanner$_position=a;p._lastMatch=null;return false}p.readChar$0();break e;case 9:p.readChar$0();break e}}p.set$state(h);return false},_stylesheet0$_tryUrlContents$2$name(e,r){var n,i,a,o,l,u,_,c=this,p=c.scanner,h=p._string_scanner$_position;if(!p.scanChar$1(40))return null;c.whitespaceWithoutComments$0();n=new s.StringBuffer("");i=s._setArrayType([],$.JSArray_Object);a=new s.InterpolationBuffer0(n,i);o=""+(r==null?"url":r);n._contents=o;n._contents=o+s.Primitives_stringFromCharCode(40);for(;true;){l=p.peekChar$0();if(l==null)break;else if(l===92)n._contents+=s.S(c.escape$0());else{if(l!==33)if(l!==37)if(l!==38)o=l>=42&&l<=126||l>=128;else o=true;else o=true;else o=true;if(o)n._contents+=s.Primitives_stringFromCharCode(p.readChar$0());else if(l===35)if(p.peekChar$1(1)===123){o=c.singleInterpolation$0();a._interpolation_buffer0$_flushText$0();i.push(o)}else n._contents+=s.Primitives_stringFromCharCode(p.readChar$0());else if(l===32||l===9||l===10||l===13||l===12){c.whitespaceWithoutComments$0();if(p.peekChar$0()!==41)break}else if(l===41){n._contents+=s.Primitives_stringFromCharCode(p.readChar$0());u=p._string_scanner$_position;h=p._sourceFile;o=e.position;p=new s._FileSpan(h,o,u);p._FileSpan$3(h,o,u);o=$.Object;h=s.List_List$of(i,true,o);i=n._contents;if(i.length!==0)h.push(i.charCodeAt(0)==0?i:i);_=s.List_List$from(h,false,o);_.fixed$length=Array;_.immutable$list=Array;n=new s.Interpolation0(_,p);n.Interpolation$20(h,p);return n}else break}}p.set$state(new s._SpanScannerState(p,h));return null},_stylesheet0$_tryUrlContents$1(e){return this._stylesheet0$_tryUrlContents$2$name(e,null)},dynamicUrl$0(){var e,r=this,n=r.scanner,i=new s._SpanScannerState(n,n._string_scanner$_position);r.expectIdentifier$1("url");e=r._stylesheet0$_tryUrlContents$1(i);if(e!=null)return new s.StringExpression0(e,false);return new s.InterpolatedFunctionExpression0(s.Interpolation$0(s._setArrayType(["url"],$.JSArray_Object),n.spanFrom$1(i)),r._stylesheet0$_argumentInvocation$0(),n.spanFrom$1(i))},almostAnyValue$1$omitComments(e){var r,n,i,a,l,u,_,c,p=this,h=p.scanner,d=h._string_scanner$_position,m=new s.StringBuffer(""),g=new s.InterpolationBuffer0(m,s._setArrayType([],$.JSArray_Object));e:for(r=h.string,n=r.length,i=!e;true;){a=h.peekChar$0();switch(a){case 92:m._contents+=s.Primitives_stringFromCharCode(h.readChar$0());m._contents+=s.Primitives_stringFromCharCode(h.readChar$0());break;case 34:case 39:g.addInterpolation$1(p.interpolatedString$0().asInterpolation$0());break;case 47:l=h._string_scanner$_position;if(p.scanComment$0()){if(i){u=h._string_scanner$_position;m._contents+=o.JSString_methods.substring$2(r,l,u)}}else m._contents+=s.Primitives_stringFromCharCode(h.readChar$0());break;case 35:if(h.peekChar$1(1)===123)g.addInterpolation$1(p.interpolatedIdentifier$0());else m._contents+=s.Primitives_stringFromCharCode(h.readChar$0());break;case 13:case 10:case 12:if(p.get$indented())break e;m._contents+=s.Primitives_stringFromCharCode(h.readChar$0());break;case 33:case 59:case 123:case 125:break e;case 117:case 85:_=h._string_scanner$_position;if(!p.scanIdentifier$1("url")){m._contents+=s.Primitives_stringFromCharCode(h.readChar$0());break}c=p._stylesheet0$_tryUrlContents$1(new s._SpanScannerState(h,_));if(c==null){if((_===0?1/_<0:_<0)||_>n)s.throwExpression(s.ArgumentError$("Invalid position "+_,null));h._string_scanner$_position=_;h._lastMatch=null;m._contents+=s.Primitives_stringFromCharCode(h.readChar$0())}else g.addInterpolation$1(c);break;default:if(a==null)break e;if(p.lookingAtIdentifier$0())m._contents+=p.identifier$0();else m._contents+=s.Primitives_stringFromCharCode(h.readChar$0());break}}return g.interpolation$1(h.spanFrom$1(new s._SpanScannerState(h,d)))},almostAnyValue$0(){return this.almostAnyValue$1$omitComments(false)},_stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(e,r,n){var i,a,l,u,_,c,p,h,d,m,g=this,f=g.scanner,y=f._string_scanner$_position,S=new s.StringBuffer(""),v=new s.InterpolationBuffer0(S,s._setArrayType([],$.JSArray_Object)),b=s._setArrayType([],$.JSArray_int);e:for(i=f.string,a=i.length,l=!e,u=!n,_=false;true;){c=f.peekChar$0();switch(c){case 92:S._contents+=s.S(g.escape$1$identifierStart(true));_=false;break;case 34:case 39:v.addInterpolation$1(g.interpolatedString$0().asInterpolation$0());_=false;break;case 47:if(f.peekChar$1(1)===42){p=g.get$loudComment();h=f._string_scanner$_position;p.call$0();d=f._string_scanner$_position;S._contents+=o.JSString_methods.substring$2(i,h,d)}else S._contents+=s.Primitives_stringFromCharCode(f.readChar$0());_=false;break;case 35:if(f.peekChar$1(1)===123)v.addInterpolation$1(g.interpolatedIdentifier$0());else S._contents+=s.Primitives_stringFromCharCode(f.readChar$0());_=false;break;case 32:case 9:if(!_){p=f.peekChar$1(1);p=!(p===32||p===9||p===10||p===13||p===12)}else p=true;if(p)S._contents+=s.Primitives_stringFromCharCode(f.readChar$0());else f.readChar$0();break;case 10:case 13:case 12:if(g.get$indented())break e;p=f.peekChar$1(-1);if(!(p===10||p===13||p===12))S._contents+="\n";f.readChar$0();_=true;break;case 40:case 123:case 91:c.toString;S._contents+=s.Primitives_stringFromCharCode(c);b.push(s.opposite0(f.readChar$0()));_=false;break;case 41:case 125:case 93:if(b.length===0)break e;c.toString;S._contents+=s.Primitives_stringFromCharCode(c);f.expectChar$1(b.pop());_=false;break;case 59:if(u&&b.length===0)break e;S._contents+=s.Primitives_stringFromCharCode(f.readChar$0());_=false;break;case 58:if(l&&b.length===0)break e;S._contents+=s.Primitives_stringFromCharCode(f.readChar$0());_=false;break;case 117:case 85:p=f._string_scanner$_position;if(!g.scanIdentifier$1("url")){S._contents+=s.Primitives_stringFromCharCode(f.readChar$0());_=false;break}m=g._stylesheet0$_tryUrlContents$1(new s._SpanScannerState(f,p));if(m==null){if((p===0?1/p<0:p<0)||p>a)s.throwExpression(s.ArgumentError$("Invalid position "+p,null));f._string_scanner$_position=p;f._lastMatch=null;S._contents+=s.Primitives_stringFromCharCode(f.readChar$0())}else v.addInterpolation$1(m);_=false;break;default:if(c==null)break e;if(g.lookingAtIdentifier$0())S._contents+=g.identifier$0();else S._contents+=s.Primitives_stringFromCharCode(f.readChar$0());_=false;break}}if(b.length!==0)f.expectChar$1(o.JSArray_methods.get$last(b));if(!r&&v._interpolation_buffer0$_contents.length===0&&S._contents.length===0)f.error$1(0,"Expected token.");return v.interpolation$1(f.spanFrom$1(new s._SpanScannerState(f,y)))},_stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(e){return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true,e,false)},_stylesheet0$_interpolatedDeclarationValue$0(){return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true,false,false)},_stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(e,r){return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true,e,r)},interpolatedIdentifier$0(){var e,r=this,n="Expected identifier.",i=r.scanner,a=new s._SpanScannerState(i,i._string_scanner$_position),o=new s.StringBuffer(""),l=s._setArrayType([],$.JSArray_Object),u=new s.InterpolationBuffer0(o,l);if(i.scanChar$1(45)){o._contents+=s.Primitives_stringFromCharCode(45);if(i.scanChar$1(45)){o._contents+=s.Primitives_stringFromCharCode(45);r._stylesheet0$_interpolatedIdentifierBody$1(u);return u.interpolation$1(i.spanFrom$1(a))}}e=i.peekChar$0();if(e==null)i.error$1(0,n);else if(e===95||s.isAlphabetic1(e)||e>=128)o._contents+=s.Primitives_stringFromCharCode(i.readChar$0());else if(e===92)o._contents+=s.S(r.escape$1$identifierStart(true));else if(e===35&&i.peekChar$1(1)===123){o=r.singleInterpolation$0();u._interpolation_buffer0$_flushText$0();l.push(o)}else i.error$1(0,n);r._stylesheet0$_interpolatedIdentifierBody$1(u);return u.interpolation$1(i.spanFrom$1(a))},_stylesheet0$_interpolatedIdentifierBody$1(e){var r,n,i,a,o;for(r=e._interpolation_buffer0$_contents,n=this.scanner,i=e._interpolation_buffer0$_text;true;){a=n.peekChar$0();if(a==null)break;else{if(a!==95)if(a!==45){if(!(a>=97&&a<=122))o=a>=65&&a<=90;else o=true;if(!o)o=a>=48&&a<=57;else o=true;o=o||a>=128}else o=true;else o=true;if(o)i._contents+=s.Primitives_stringFromCharCode(n.readChar$0());else if(a===92)i._contents+=s.S(this.escape$0());else if(a===35&&n.peekChar$1(1)===123){o=this.singleInterpolation$0();e._interpolation_buffer0$_flushText$0();r.push(o)}else break}}},singleInterpolation$0(){var e,r=this,n=r.scanner,i=n._string_scanner$_position;n.expect$1("#{");r.whitespace$0();e=r._stylesheet0$_expression$0();n.expectChar$1(125);if(r.get$plainCss())r.error$2(0,c.Interpp,n.spanFrom$1(new s._SpanScannerState(n,i)));return e},_stylesheet0$_mediaQueryList$0(){var e,r=this,n=r.scanner,i=n._string_scanner$_position,a=new s.StringBuffer(""),o=new s.InterpolationBuffer0(a,s._setArrayType([],$.JSArray_Object));for(;true;){r.whitespace$0();r._stylesheet0$_mediaQuery$1(o);r.whitespace$0();if(!n.scanChar$1(44))break;e=a._contents+=s.Primitives_stringFromCharCode(44);a._contents=e+s.Primitives_stringFromCharCode(32)}return o.interpolation$1(n.spanFrom$1(new s._SpanScannerState(n,i)))},_stylesheet0$_mediaQuery$1(e){var r,n,i,a=this,o="and";if(a.scanner.peekChar$0()===40){a._stylesheet0$_mediaInParens$1(e);a.whitespace$0();if(a.scanIdentifier$1(o)){e._interpolation_buffer0$_text._contents+=" and ";a.expectWhitespace$0();a._stylesheet0$_mediaLogicSequence$2(e,o)}else if(a.scanIdentifier$1("or")){e._interpolation_buffer0$_text._contents+=" or ";a.expectWhitespace$0();a._stylesheet0$_mediaLogicSequence$2(e,"or")}return}r=a.interpolatedIdentifier$0();if(s.equalsIgnoreCase0(r.get$asPlain(),"not")){a.expectWhitespace$0();if(!a._stylesheet0$_lookingAtInterpolatedIdentifier$0()){e._interpolation_buffer0$_text._contents+="not ";a._stylesheet0$_mediaOrInterp$1(e);return}}a.whitespace$0();e.addInterpolation$1(r);if(!a._stylesheet0$_lookingAtInterpolatedIdentifier$0())return;n=e._interpolation_buffer0$_text;n._contents+=s.Primitives_stringFromCharCode(32);i=a.interpolatedIdentifier$0();if(s.equalsIgnoreCase0(i.get$asPlain(),o)){a.expectWhitespace$0();n._contents+=" and "}else{a.whitespace$0();e.addInterpolation$1(i);if(a.scanIdentifier$1(o)){a.expectWhitespace$0();n._contents+=" and "}else return}if(a.scanIdentifier$1("not")){a.expectWhitespace$0();n._contents+="not ";a._stylesheet0$_mediaOrInterp$1(e);return}a._stylesheet0$_mediaLogicSequence$2(e,o);return},_stylesheet0$_mediaLogicSequence$2(e,r){var n,i,a=this;for(n=e._interpolation_buffer0$_text;true;){a._stylesheet0$_mediaOrInterp$1(e);a.whitespace$0();if(!a.scanIdentifier$1(r))return;a.expectWhitespace$0();i=n._contents+=s.Primitives_stringFromCharCode(32);i+=r;n._contents=i;n._contents=i+s.Primitives_stringFromCharCode(32)}},_stylesheet0$_mediaOrInterp$1(e){var r;if(this.scanner.peekChar$0()===35){r=this.singleInterpolation$0();e.addInterpolation$1(s.Interpolation$0(s._setArrayType([r],$.JSArray_Object),r.get$span(r)))}else this._stylesheet0$_mediaInParens$1(e)},_stylesheet0$_mediaInParens$1(e){var r,n,i,a,o,l,u,_,$=this,p=$.scanner;p.expectChar$2$name(40,"media condition in parentheses");r=e._interpolation_buffer0$_text;r._contents+=s.Primitives_stringFromCharCode(40);$.whitespace$0();n=p.peekChar$0()===40;i=$.matchesIdentifier$1("not");a=$._stylesheet0$_expressionUntilComparison$0();if(n||i){o=n?"(":"not";$.logger.warn$3$deprecation$span(0,'Starting a @media query with "'+o+c.x22x20is_d+a.toString$0(0)+'}\nTo migrate to new behavior: #{"'+a.toString$0(0)+c.x22x7d__Fo,true,a.get$span(a))}e._interpolation_buffer0$_flushText$0();o=e._interpolation_buffer0$_contents;o.push(a);if(p.scanChar$1(58)){$.whitespace$0();l=r._contents+=s.Primitives_stringFromCharCode(58);r._contents=l+s.Primitives_stringFromCharCode(32);l=$._stylesheet0$_expression$0();e._interpolation_buffer0$_flushText$0();o.push(l)}else{u=p.peekChar$0();l=u!==60;if(!l||u===62||u===61){r._contents+=s.Primitives_stringFromCharCode(32);r._contents+=s.Primitives_stringFromCharCode(p.readChar$0());if((!l||u===62)&&p.scanChar$1(61))r._contents+=s.Primitives_stringFromCharCode(61);r._contents+=s.Primitives_stringFromCharCode(32);$.whitespace$0();_=$._stylesheet0$_expressionUntilComparison$0();e._interpolation_buffer0$_flushText$0();o.push(_);if(!l||u===62){u.toString;l=p.scanChar$1(u)}else l=false;if(l){l=r._contents+=s.Primitives_stringFromCharCode(32);r._contents=l+s.Primitives_stringFromCharCode(u);if(p.scanChar$1(61))r._contents+=s.Primitives_stringFromCharCode(61);r._contents+=s.Primitives_stringFromCharCode(32);$.whitespace$0();l=$._stylesheet0$_expressionUntilComparison$0();e._interpolation_buffer0$_flushText$0();o.push(l)}}}p.expectChar$1(41);$.whitespace$0();r._contents+=s.Primitives_stringFromCharCode(41)},_stylesheet0$_expressionUntilComparison$0(){return this._stylesheet0$_expression$1$until(new s.StylesheetParser__expressionUntilComparison_closure0(this))},_stylesheet0$_supportsCondition$0(){var e,r,n,i,a,o,l,u=this,_=u.scanner,c=_._string_scanner$_position;if(u.scanIdentifier$1("not")){u.whitespace$0();return new s.SupportsNegation0(u._stylesheet0$_supportsConditionInParens$0(),_.spanFrom$1(new s._SpanScannerState(_,c)))}e=u._stylesheet0$_supportsConditionInParens$0();u.whitespace$0();for(r=null;u.lookingAtIdentifier$0();){if(r!=null)u.expectIdentifier$1(r);else if(u.scanIdentifier$1("or"))r="or";else{u.expectIdentifier$1("and");r="and"}u.whitespace$0();n=u._stylesheet0$_supportsConditionInParens$0();i=_._string_scanner$_position;a=_._sourceFile;o=new s._FileSpan(a,c,i);o._FileSpan$3(a,c,i);e=new s.SupportsOperation0(e,n,r,o);l=r.toLowerCase();if(l!=="and"&&l!=="or")s.throwExpression(s.ArgumentError$value(r,"operator",'may only be "and" or "or".'));u.whitespace$0()}return e},_stylesheet0$_supportsConditionInParens$0(){var e,r,n,i,a,l,u,_,c,p,h,d,m=this,g=m.scanner,f=new s._SpanScannerState(g,g._string_scanner$_position);if(m._stylesheet0$_lookingAtInterpolatedIdentifier$0()){u=m.interpolatedIdentifier$0();_=u.get$asPlain();if((_==null?null:_.toLowerCase())==="not")m.error$2(0,'"not" is not a valid identifier here.',u.span);if(g.scanChar$1(40)){c=m._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true,true);g.expectChar$1(41);return new s.SupportsFunction0(u,c,g.spanFrom$1(f))}else{_=u.contents;if(_.length!==1||!$.Expression_2._is(o.JSArray_methods.get$first(_)))m.error$2(0,"Expected @supports condition.",u.span);else return new s.SupportsInterpolation0($.Expression_2._as(o.JSArray_methods.get$first(_)),g.spanFrom$1(f))}}g.expectChar$1(40);m.whitespace$0();if(m.scanIdentifier$1("not")){m.whitespace$0();p=m._stylesheet0$_supportsConditionInParens$0();g.expectChar$1(41);return new s.SupportsNegation0(p,g.spanFrom$1(f))}else if(g.peekChar$0()===40){p=m._stylesheet0$_supportsCondition$0();g.expectChar$1(41);return p}e=null;r=new s._SpanScannerState(g,g._string_scanner$_position);n=m._stylesheet0$_inParentheses;try{e=m._stylesheet0$_expression$0();g.expectChar$1(58)}catch(h){if($.FormatException._is(s.unwrapException(h))){g.set$state(r);m._stylesheet0$_inParentheses=n;i=m.interpolatedIdentifier$0();a=m._stylesheet0$_trySupportsOperation$2(i,r);if(a!=null){g.expectChar$1(41);return a}_=new s.InterpolationBuffer0(new s.StringBuffer(""),s._setArrayType([],$.JSArray_Object));_.addInterpolation$1(i);_.addInterpolation$1(m._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false,true,true));l=_.interpolation$1(g.spanFrom$1(r));if(g.peekChar$0()===58)throw h;g.expectChar$1(41);return new s.SupportsAnything0(l,g.spanFrom$1(f))}else throw h}d=m._stylesheet0$_supportsDeclarationValue$2(e,f);g.expectChar$1(41);return d},_stylesheet0$_supportsDeclarationValue$2(e,r){var n,i=this;if(e instanceof s.StringExpression0&&!e.hasQuotes&&o.JSString_methods.startsWith$1(e.text.get$initialPlain(),"--"))n=new s.StringExpression0(i._stylesheet0$_interpolatedDeclarationValue$0(),false);else{i.whitespace$0();n=i._stylesheet0$_expression$0()}return new s.SupportsDeclaration0(e,n,i.scanner.spanFrom$1(r))},_stylesheet0$_trySupportsOperation$2(e,r){var n,i,a,l,u,_,p,h,d,m,g,f,y=this,S=null,v=e.contents;if(v.length!==1)return S;n=o.JSArray_methods.get$first(v);if(!$.Expression_2._is(n))return S;v=y.scanner;i=new s._SpanScannerState(v,v._string_scanner$_position);y.whitespace$0();for(a=r.position,l=e.span,u=S,_=u;y.lookingAtIdentifier$0();){if(u!=null)y.expectIdentifier$1(u);else if(y.scanIdentifier$1("and"))u="and";else{if(!y.scanIdentifier$1("or")){if(i._scanner!==v)s.throwExpression(s.ArgumentError$(c.The_gi,S));a=i.position;if((a===0?1/a<0:a<0)||a>v.string.length)s.throwExpression(s.ArgumentError$("Invalid position "+a,S));v._string_scanner$_position=a;return v._lastMatch=null}u="or"}y.whitespace$0();p=y._stylesheet0$_supportsConditionInParens$0();h=_==null?new s.SupportsInterpolation0(n,l):_;d=v._string_scanner$_position;m=v._sourceFile;g=new s._FileSpan(m,a,d);g._FileSpan$3(m,a,d);_=new s.SupportsOperation0(h,p,u,g);f=u.toLowerCase();if(f!=="and"&&f!=="or")s.throwExpression(s.ArgumentError$value(u,"operator",'may only be "and" or "or".'));y.whitespace$0()}return _},_stylesheet0$_lookingAtInterpolatedIdentifier$0(){var e,r=this.scanner,n=r.peekChar$0();if(n==null)return false;if(n===95||s.isAlphabetic1(n)||n>=128||n===92)return true;if(n===35)return r.peekChar$1(1)===123;if(n!==45)return false;e=r.peekChar$1(1);if(e==null)return false;if(e===35)return r.peekChar$1(2)===123;return e===95||s.isAlphabetic1(e)||e>=128||e===92||e===45},_stylesheet0$_lookingAtInterpolatedIdentifierBody$0(){var e=this.scanner,r=e.peekChar$0();if(r==null)return false;if(r===95||s.isAlphabetic1(r)||r>=128||s.isDigit0(r)||r===45||r===92)return true;return r===35&&e.peekChar$1(1)===123},_stylesheet0$_lookingAtExpression$0(){var e,r=this.scanner,n=r.peekChar$0();if(n==null)return false;if(n===46)return r.peekChar$1(1)!==46;if(n===33){e=r.peekChar$1(1);if(e!=null)if((e|32)>>>0!==105)r=e===32||e===9||e===10||e===13||e===12;else r=true;else r=true;return r}if(n!==40)if(n!==47)if(n!==91)if(n!==39)if(n!==34)if(n!==35)if(n!==43)if(n!==45)if(n!==92)if(n!==36)if(n!==38)r=n===95||s.isAlphabetic1(n)||n>=128||s.isDigit0(n);else r=true;else r=true;else r=true;else r=true;else r=true;else r=true;else r=true;else r=true;else r=true;else r=true;else r=true;return r},_stylesheet0$_withChildren$1$3(e,r,n){var i=n.call$2(this.children$1(0,e),this.scanner.spanFrom$1(r));this.whitespaceWithoutComments$0();return i},_stylesheet0$_withChildren$3(e,r,n){return this._stylesheet0$_withChildren$1$3(e,r,n,$.dynamic)},_stylesheet0$_urlString$0(){var e,r,n,i,o=this.scanner,l=new s._SpanScannerState(o,o._string_scanner$_position),u=this.string$0();try{n=s.Uri_parse(u);return n}catch(i){n=s.unwrapException(i);if($.FormatException._is(n)){e=n;r=s.getTraceFromException(i);this.error$3(0,"Invalid URL: "+a.get$message$x(e),o.spanFrom$1(l),r)}else throw i}},_stylesheet0$_publicIdentifier$0(){var e=this,r=e.scanner,n=r._string_scanner$_position,i=e.identifier$1$normalize(true);e._stylesheet0$_assertPublic$2(i,new s.StylesheetParser__publicIdentifier_closure0(e,new s._SpanScannerState(r,n)));return i},_stylesheet0$_assertPublic$2(e,r){var n=o.JSString_methods._codeUnitAt$1(e,0);if(!(n===45||n===95))return;this.error$2(0,c.Privat,r.call$0())},get$plainCss(){return false}};s.StylesheetParser_parse_closure0.prototype={call$0(){var e,r,n=this.$this,i=n.scanner,a=i._string_scanner$_position;i.scanChar$1(65279);e=n.statements$1(new s.StylesheetParser_parse__closure1(n));i.expectDone$0();r=n._stylesheet0$_globalVariables;r=r.get$values(r);o.JSArray_methods.addAll$1(e,s.MappedIterable_MappedIterable(r,new s.StylesheetParser_parse__closure2,s._instanceType(r)._eval$1("Iterable.E"),$.Statement_2));return s.Stylesheet$internal0(e,i.spanFrom$1(new s._SpanScannerState(i,a)),n.get$plainCss())},$signature:514};s.StylesheetParser_parse__closure1.prototype={call$0(){var e=this.$this;if(e.scanner.scan$1("@charset")){e.whitespace$0();e.string$0();return null}return e._stylesheet0$_statement$1$root(true)},$signature:515};s.StylesheetParser_parse__closure2.prototype={call$1(e){var r=e.name,n=e.expression;return s.VariableDeclaration$0(r,new s.NullExpression0(n.get$span(n)),e.span,null,false,true,null)},$signature:516};s.StylesheetParser_parseArgumentDeclaration_closure0.prototype={call$0(){var e,r=this.$this,n=r.scanner;n.expectChar$2$name(64,"@-rule");r.identifier$0();r.whitespace$0();r.identifier$0();e=r._stylesheet0$_argumentDeclaration$0();r.whitespace$0();n.expectChar$1(123);return e},$signature:517};s.StylesheetParser__parseSingleProduction_closure0.prototype={call$0(){var e=this.production.call$0();this.$this.scanner.expectDone$0();return e},$signature(){return this.T._eval$1("0()")}};s.StylesheetParser_parseSignature_closure.prototype={call$0(){var e,r,n,i=this.$this,a=i.identifier$0();i.whitespace$0();if(this.requireParens||i.scanner.peekChar$0()===40)e=i._stylesheet0$_argumentDeclaration$0();else{r=i.scanner;r=s.FileLocation$_(r._sourceFile,r._string_scanner$_position);n=r.offset;e=new s.ArgumentDeclaration0(o.List_empty22,null,s._FileSpan$(r.file,n,n))}i.scanner.expectDone$0();return new s.Tuple2(a,e,$.Tuple2_String_ArgumentDeclaration)},$signature:518};s.StylesheetParser__statement_closure0.prototype={call$0(){return this.$this._stylesheet0$_statement$0()},$signature:138};s.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype={call$0(){return this.$this.scanner.spanFrom$1(this.start)},$signature:32};s.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype={call$0(){return this.declaration},$signature:519};s.StylesheetParser__declarationOrBuffer_closure1.prototype={call$2(e,r){return s.Declaration$nested0(this.name,e,r,null)},$signature:93};s.StylesheetParser__declarationOrBuffer_closure2.prototype={call$2(e,r){return s.Declaration$nested0(this.name,e,r,this._box_0.value)},$signature:93};s.StylesheetParser__styleRule_closure0.prototype={call$2(e,r){var n=this,i=n.$this;if(i.get$indented()&&e.length===0)i.logger.warn$2$span(0,c.This_s,n._box_0.interpolation.span);i._stylesheet0$_inStyleRule=n.wasInStyleRule;return s.StyleRule$0(n._box_0.interpolation,e,i.scanner.spanFrom$1(n.start))},$signature:521};s.StylesheetParser__propertyOrVariableDeclaration_closure1.prototype={call$2(e,r){return s.Declaration$nested0(this._box_0.name,e,r,null)},$signature:93};s.StylesheetParser__propertyOrVariableDeclaration_closure2.prototype={call$2(e,r){return s.Declaration$nested0(this._box_0.name,e,r,this.value)},$signature:93};s.StylesheetParser__atRootRule_closure1.prototype={call$2(e,r){return s.AtRootRule$0(e,r,this.query)},$signature:250};s.StylesheetParser__atRootRule_closure2.prototype={call$2(e,r){return s.AtRootRule$0(e,r,null)},$signature:250};s.StylesheetParser__eachRule_closure0.prototype={call$2(e,r){var n=this;n.$this._stylesheet0$_inControlDirective=n.wasInControlDirective;return s.EachRule$0(n.variables,n.list,e,r)},$signature:523};s.StylesheetParser__functionRule_closure0.prototype={call$2(e,r){return s.FunctionRule$0(this.name,this.$arguments,e,r,this.precedingComment)},$signature:524};s.StylesheetParser__forRule_closure1.prototype={call$0(){var e=this.$this;if(!e.lookingAtIdentifier$0())return false;if(e.scanIdentifier$1("to"))return this._box_0.exclusive=true;else if(e.scanIdentifier$1("through")){this._box_0.exclusive=false;return true}else return false},$signature:28};s.StylesheetParser__forRule_closure2.prototype={call$2(e,r){var n,i=this;i.$this._stylesheet0$_inControlDirective=i.wasInControlDirective;n=i._box_0.exclusive;n.toString;return s.ForRule$0(i.variable,i.from,i.to,e,r,n)},$signature:525};s.StylesheetParser__memberList_closure0.prototype={call$0(){var e=this.$this;if(e.scanner.peekChar$0()===36)this.variables.add$1(0,e.variableName$0());else this.identifiers.add$1(0,e.identifier$1$normalize(true))},$signature:1};s.StylesheetParser__includeRule_closure0.prototype={call$2(e,r){return s.ContentBlock$0(this.contentArguments_,e,r)},$signature:526};s.StylesheetParser_mediaRule_closure0.prototype={call$2(e,r){return s.MediaRule$0(this.query,e,r)},$signature:527};s.StylesheetParser__mixinRule_closure0.prototype={call$2(e,r){var n=this;n.$this._stylesheet0$_inMixin=false;return s.MixinRule$0(n.name,n.$arguments,e,r,n.precedingComment)},$signature:528};s.StylesheetParser_mozDocumentRule_closure0.prototype={call$2(e,r){var n=this;if(n._box_0.needsDeprecationWarning)n.$this.logger.warn$3$deprecation$span(0,c.x40_moz_,true,r);return s.AtRule$0(n.name,r,e,n.value)},$signature:251};s.StylesheetParser_supportsRule_closure0.prototype={call$2(e,r){return s.SupportsRule$0(this.condition,e,r)},$signature:530};s.StylesheetParser__whileRule_closure0.prototype={call$2(e,r){this.$this._stylesheet0$_inControlDirective=this.wasInControlDirective;return s.WhileRule$0(this.condition,e,r)},$signature:531};s.StylesheetParser_unknownAtRule_closure0.prototype={call$2(e,r){return s.AtRule$0(this.name,r,e,this._box_0.value)},$signature:251};s.StylesheetParser__expression_resetState0.prototype={call$0(){var e,r=this._box_0;r.operands_=r.operators_=r.spaceExpressions_=r.commaExpressions_=null;e=this.$this;e.scanner.set$state(this.start);r.allowSlash=true;r.singleExpression_=e._stylesheet0$_singleExpression$0()},$signature:0};s.StylesheetParser__expression_resolveOneOperation0.prototype={call$0(){var e,r,n=this._box_0,i=n.operators_.pop(),a=n.operands_.pop(),l=n.singleExpression_;if(l==null){e=this.$this.scanner;r=i.operator.length;e.error$3$length$position(0,"Expected expression.",r,e._string_scanner$_position-r)}if(n.allowSlash){e=this.$this;e=!e._stylesheet0$_inParentheses&&i===o.BinaryOperator_RTB0&&e._stylesheet0$_isSlashOperand$1(a)&&e._stylesheet0$_isSlashOperand$1(l)}else e=false;if(e)n.singleExpression_=new s.BinaryOperationExpression0(o.BinaryOperator_RTB0,a,l,true);else{n.singleExpression_=new s.BinaryOperationExpression0(i,a,l,false);n.allowSlash=false}},$signature:0};s.StylesheetParser__expression_resolveOperations0.prototype={call$0(){var e,r=this._box_0.operators_;if(r==null)return;for(e=this.resolveOneOperation;r.length!==0;)e.call$0()},$signature:0};s.StylesheetParser__expression_addSingleExpression0.prototype={call$1(e){var r,n,i=this,a=i._box_0;if(a.singleExpression_!=null){r=i.$this;if(r._stylesheet0$_inParentheses){r._stylesheet0$_inParentheses=false;if(a.allowSlash){i.resetState.call$0();return}}n=a.spaceExpressions_;if(n==null)n=a.spaceExpressions_=s._setArrayType([],$.JSArray_Expression_2);i.resolveOperations.call$0();r=a.singleExpression_;r.toString;n.push(r);a.allowSlash=true}a.singleExpression_=e},$signature:532};s.StylesheetParser__expression_addOperator0.prototype={call$1(e){var r,n,i,a,l,u,_=this.$this;if(_.get$plainCss()&&e!==o.BinaryOperator_RTB0&&e!==o.BinaryOperator_kjl0){r=_.scanner;n=e.operator.length;r.error$3$length$position(0,"Operators aren't allowed in plain CSS.",n,r._string_scanner$_position-n)}r=this._box_0;r.allowSlash=r.allowSlash&&e===o.BinaryOperator_RTB0;i=r.operators_;if(i==null)i=r.operators_=s._setArrayType([],$.JSArray_BinaryOperator_2);a=r.operands_;if(a==null)a=r.operands_=s._setArrayType([],$.JSArray_Expression_2);n=this.resolveOneOperation;l=e.precedence;while(true){if(!(i.length!==0&&o.JSArray_methods.get$last(i).precedence>=l))break;n.call$0()}i.push(e);u=r.singleExpression_;if(u==null){n=_.scanner;l=e.operator.length;n.error$3$length$position(0,"Expected expression.",l,n._string_scanner$_position-l)}a.push(u);_.whitespace$0();r.singleExpression_=_._stylesheet0$_singleExpression$0()},$signature:533};s.StylesheetParser__expression_resolveSpaceExpressions0.prototype={call$0(){var e,r,n,i;this.resolveOperations.call$0();e=this._box_0;r=e.spaceExpressions_;if(r!=null){n=e.singleExpression_;if(n==null)this.$this.scanner.error$1(0,"Expected expression.");r.push(n);i=o.JSArray_methods.get$first(r);i=i.get$span(i).expand$1(0,n.get$span(n));e.singleExpression_=new s.ListExpression0(s.List_List$unmodifiable(r,$.Expression_2),o.ListSeparator_woc0,false,i);e.spaceExpressions_=null}},$signature:0};s.StylesheetParser_expressionUntilComma_closure0.prototype={call$0(){return this.$this.scanner.peekChar$0()===44},$signature:28};s.StylesheetParser__unicodeRange_closure1.prototype={call$1(e){return e!=null&&s.isHex0(e)},$signature:30};s.StylesheetParser__unicodeRange_closure2.prototype={call$1(e){return e!=null&&s.isHex0(e)},$signature:30};s.StylesheetParser_namespacedExpression_closure0.prototype={call$0(){return this.$this.scanner.spanFrom$1(this.start)},$signature:32};s.StylesheetParser_trySpecialFunction_closure0.prototype={call$1(e){return new s.StringExpression0(e,false)},$signature:534};s.StylesheetParser__expressionUntilComparison_closure0.prototype={call$0(){var e=this.$this.scanner,r=e.peekChar$0();if(r===61)return e.peekChar$1(1)!==61;return r===60||r===62},$signature:28};s.StylesheetParser__publicIdentifier_closure0.prototype={call$0(){return this.$this.scanner.spanFrom$1(this.start)},$signature:32};s.Stylesheet0.prototype={Stylesheet$internal$3$plainCss0(e,r,n){var i,a,o,l,u,_;for(i=this.children,a=i.length,o=this._stylesheet1$_forwards,l=this._stylesheet1$_uses,u=0;u5)return}this._terse$_inner.warn$4$deprecation$span$trace(0,r,n,i,s)},warn$2$deprecation(e,r,n){return this.warn$4$deprecation$span$trace(e,r,n,null,null)},warn$2$span(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,n,null)},warn$3$deprecation$span(e,r,n,i){return this.warn$4$deprecation$span$trace(e,r,n,i,null)},warn$2$trace(e,r,n){return this.warn$4$deprecation$span$trace(e,r,false,null,n)},debug$2(e,r,n){return this._terse$_inner.debug$2(0,r,n)},summarize$1$node(e){var r,n,i=this._terse$_warningCounts;i=i.get$values(i);r=s._instanceType(i);n=s.IterableIntegerExtension_get_sum(new s.MappedIterable(new s.WhereIterable(i,new s.TerseLogger_summarize_closure1,r._eval$1("WhereIterable")),new s.TerseLogger_summarize_closure2,r._eval$1("MappedIterable")));if(n>0){i=e?"":c.x0aRun_i;this._terse$_inner.warn$1(0,""+n+c.x20repet+i)}}};s.TerseLogger_summarize_closure1.prototype={call$1(e){return e>5},$signature:57};s.TerseLogger_summarize_closure2.prototype={call$1(e){return e-5},$signature:156};s.TypeSelector0.prototype={get$minSpecificity(){return 1},accept$1$1(e){return e.visitTypeSelector$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},addSuffix$1(e){var r=this.name;return new s.TypeSelector0(new s.QualifiedName0(r.name+e,r.namespace))},unify$1(e){var r,n;if(o.JSArray_methods.get$first(e)instanceof s.UniversalSelector0||o.JSArray_methods.get$first(e)instanceof s.TypeSelector0){r=s.unifyUniversalAndElement0(this,o.JSArray_methods.get$first(e));if(r==null)return null;n=s._setArrayType([r],$.JSArray_SimpleSelector_2);o.JSArray_methods.addAll$1(n,s.SubListIterable$(e,1,null,s._arrayInstanceType(e)._precomputed1));return n}else{n=s._setArrayType([this],$.JSArray_SimpleSelector_2);o.JSArray_methods.addAll$1(n,e);return n}},isSuperselector$1(e){var r,n;if(!this.super$SimpleSelector$isSuperselector0(e))if(e instanceof s.TypeSelector0){r=this.name;n=e.name;if(r.name===n.name){r=r.namespace;r=r==="*"||r==n.namespace}else r=false}else r=false;else r=true;return r},$eq(e,r){if(r==null)return false;return r instanceof s.TypeSelector0&&r.name.$eq(0,this.name)},get$hashCode(e){var r=this.name;return o.JSString_methods.get$hashCode(r.name)^a.get$hashCode$(r.namespace)}};s.Types.prototype={};s.UnaryOperationExpression0.prototype={accept$1$1(e){return e.visitUnaryOperationExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.operator,n=r.operator;r=r===o.UnaryOperator_not_not0?n+s.Primitives_stringFromCharCode(32):n;r+=this.operand.toString$0(0);return r.charCodeAt(0)==0?r:r},$isExpression0:1,$isAstNode0:1,get$span(e){return this.span}};s.UnaryOperator0.prototype={toString$0(e){return this.name}};s.UnitlessSassNumber0.prototype={get$numeratorUnits(e){return o.List_empty},get$denominatorUnits(e){return o.List_empty},get$hasUnits(){return false},withValue$1(e){return new s.UnitlessSassNumber0(e,null)},withSlash$2(e,r){return new s.UnitlessSassNumber0(this._number1$_value,new s.Tuple2(e,r,$.Tuple2_SassNumber_SassNumber_2))},hasUnit$1(e){return false},hasCompatibleUnits$1(e){return e instanceof s.UnitlessSassNumber0},hasPossiblyCompatibleUnits$1(e){return e instanceof s.UnitlessSassNumber0},compatibleWithUnit$1(e){return true},coerceToMatch$3(e,r,n){return e.withValue$1(this._number1$_value)},coerceValueToMatch$3(e,r,n){return this._number1$_value},coerceValueToMatch$1(e){return this.coerceValueToMatch$3(e,null,null)},convertToMatch$3(e,r,n){return e.get$hasUnits()?this.super$SassNumber$convertToMatch(e,r,n):this},convertValueToMatch$3(e,r,n){return e.get$hasUnits()?this.super$SassNumber$convertValueToMatch0(e,r,n):this._number1$_value},coerce$3(e,r,n){return s.SassNumber_SassNumber$withUnits0(this._number1$_value,r,e)},coerce$2(e,r){return this.coerce$3(e,r,null)},coerceValue$3(e,r,n){return this._number1$_value},coerceValueToUnit$2(e,r){return this._number1$_value},greaterThan$1(e){var r,n;if(e instanceof s.SassNumber0){r=this._number1$_value;n=e._number1$_value;return r>n&&!(Math.abs(r-n)n||Math.abs(r-n)(Iterable<0>)")}};s.flattenVertically_closure2.prototype={call$1(e){this.result.push(e.removeFirst$0());return e.get$length(e)===0},$signature(){return this.T._eval$1("bool(QueueList<0>)")}};s.longestCommonSubsequence_backtrack0.prototype={call$2(e,r){var n,i,o=this;if(e===-1||r===-1)return s._setArrayType([],o.T._eval$1("JSArray<0>"));n=o.selections[e][r];if(n!=null){i=o.call$2(e-1,r-1);a.add$1$ax(i,n);return i}i=o.lengths;return i[e+1][r]>i[e][r+1]?o.call$2(e,r-1):o.call$2(e-1,r)},$signature(){return this.T._eval$1("List<0>(int,int)")}};s.mapAddAll2_closure0.prototype={call$2(e,r){var n=this.destination,i=n.$index(0,e);if(i!=null)i.addAll$1(0,r);else n.$indexSet(0,e,r)},$signature(){return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)")}};s.CssValue0.prototype={toString$0(e){return a.toString$0$(this.value)},$isAstNode0:1,get$value(e){return this.value},get$span(e){return this.span}};s.ValueExpression0.prototype={accept$1$1(e){return e.visitValueExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return s.serializeValue0(this.value,true,true)},$isExpression0:1,$isAstNode0:1,get$span(e){return this.span}};s.ModifiableCssValue0.prototype={toString$0(e){return s.serializeSelector0(this.value,true)},$isAstNode0:1,$isCssValue0:1,get$value(e){return this.value},get$span(e){return this.span}};s.valueClass_closure.prototype={call$0(){var e,r=$.JSClass,n=r._as(self.Object.getPrototypeOf(a.get$$prototype$x(r._as(o.C__SassNull0.constructor))).constructor);s.JSClassExtension_setCustomInspect(n,new s.valueClass__closure);r=$.String;e=$.Function;s.LinkedHashMap_LinkedHashMap$_literal(["asList",new s.valueClass__closure0,"hasBrackets",new s.valueClass__closure1,"isTruthy",new s.valueClass__closure2,"realNull",new s.valueClass__closure3,"separator",new s.valueClass__closure4],r,e).forEach$1(0,s.JSClassExtension_get_defineGetter(n));s.LinkedHashMap_LinkedHashMap$_literal(["sassIndexToListIndex",new s.valueClass__closure5,"get",new s.valueClass__closure6,"assertBoolean",new s.valueClass__closure7,"assertColor",new s.valueClass__closure8,"assertFunction",new s.valueClass__closure9,"assertMap",new s.valueClass__closure10,"assertNumber",new s.valueClass__closure11,"assertString",new s.valueClass__closure12,"tryMap",new s.valueClass__closure13,"equals",new s.valueClass__closure14,"hashCode",new s.valueClass__closure15,"toString",new s.valueClass__closure16],r,e).forEach$1(0,s.JSClassExtension_get_defineMethod(n));return n},$signature:23};s.valueClass__closure.prototype={call$1(e){return a.toString$0$(e)},$signature:47};s.valueClass__closure0.prototype={call$1(e){return new self.immutable.List(e.get$asList())},$signature:536};s.valueClass__closure1.prototype={call$1(e){return e.get$hasBrackets()},$signature:46};s.valueClass__closure2.prototype={call$1(e){return e.get$isTruthy()},$signature:46};s.valueClass__closure3.prototype={call$1(e){return e.get$realNull()},$signature:225};s.valueClass__closure4.prototype={call$1(e){return e.get$separator(e).separator},$signature:537};s.valueClass__closure5.prototype={call$3(e,r,n){return e.sassIndexToListIndex$2(r,n)},call$2(e,r){return this.call$3(e,r,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues(){return[null]},$signature:538};s.valueClass__closure6.prototype={call$2(e,r){return r<1&&r>=-1?e:self.undefined},$signature:234};s.valueClass__closure7.prototype={call$2(e,r){return e.assertBoolean$1(r)},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues(){return[null]},$signature:539};s.valueClass__closure8.prototype={call$2(e,r){return e.assertColor$1(r)},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues(){return[null]},$signature:540};s.valueClass__closure9.prototype={call$2(e,r){return e.assertFunction$1(r)},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues(){return[null]},$signature:541};s.valueClass__closure10.prototype={call$2(e,r){return e.assertMap$1(r)},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues(){return[null]},$signature:542};s.valueClass__closure11.prototype={call$2(e,r){return e.assertNumber$1(r)},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues(){return[null]},$signature:543};s.valueClass__closure12.prototype={call$2(e,r){return e.assertString$1(r)},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues(){return[null]},$signature:544};s.valueClass__closure13.prototype={call$1(e){return e.tryMap$0()},$signature:545};s.valueClass__closure14.prototype={call$2(e,r){return e.$eq(0,r)},$signature:546};s.valueClass__closure15.prototype={call$2(e,r){return e.get$hashCode(e)},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues(){return[null]},$signature:547};s.valueClass__closure16.prototype={call$1(e){return s.serializeValue0(e,true,true)},$signature:213};s.Value0.prototype={get$isTruthy(){return true},get$separator(e){return o.ListSeparator_undecided_null0},get$hasBrackets(){return false},get$asList(){return s._setArrayType([this],$.JSArray_Value_2)},get$lengthAsList(){return 1},get$isBlank(){return false},get$isSpecialNumber(){return false},get$isVar(){return false},get$realNull(){return this},sassIndexToListIndex$2(e,r){var n=this,i=e.assertNumber$1(r).assertInt$1(r);if(i===0)throw s.wrapException(n._value0$_exception$2("List index may not be 0.",r));if(Math.abs(i)>n.get$lengthAsList())throw s.wrapException(n._value0$_exception$2("Invalid index "+e.toString$0(0)+" for a list with "+n.get$lengthAsList()+" elements.",r));return i<0?n.get$lengthAsList()+i:i-1},assertBoolean$1(e){return s.throwExpression(this._value0$_exception$2(this.toString$0(0)+" is not a boolean.",e))},assertCalculation$1(e){return s.throwExpression(this._value0$_exception$2(this.toString$0(0)+" is not a calculation.",e))},assertColor$1(e){return s.throwExpression(this._value0$_exception$2(this.toString$0(0)+" is not a color.",e))},assertFunction$1(e){return s.throwExpression(this._value0$_exception$2(this.toString$0(0)+" is not a function reference.",e))},assertMap$1(e){return s.throwExpression(this._value0$_exception$2(this.toString$0(0)+" is not a map.",e))},tryMap$0(){return null},assertNumber$1(e){return s.throwExpression(this._value0$_exception$2(this.toString$0(0)+" is not a number.",e))},assertNumber$0(){return this.assertNumber$1(null)},assertString$1(e){return s.throwExpression(this._value0$_exception$2(this.toString$0(0)+" is not a string.",e))},_value0$_selectorString$1(e){var r=this._value0$_selectorStringOrNull$0();if(r!=null)return r;throw s.wrapException(this._value0$_exception$2(this.toString$0(0)+c.x20is_noa,e))},_value0$_selectorStringOrNull$0(){var e,r,n,i,a,l,u,_,c=this,p=null;if(c instanceof s.SassString0)return c._string0$_text;if(!(c instanceof s.SassList0))return p;e=c._list1$_contents;r=e.length;if(r===0)return p;n=s._setArrayType([],$.JSArray_String);i=c._list1$_separator;switch(i){case o.ListSeparator_kWM0:for(a=0;a "+e.toString$0(0)+'".'))},greaterThanOrEquals$1(e){return s.throwExpression(s.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" >= "+e.toString$0(0)+'".'))},lessThan$1(e){return s.throwExpression(s.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" < "+e.toString$0(0)+'".'))},lessThanOrEquals$1(e){return s.throwExpression(s.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" <= "+e.toString$0(0)+'".'))},times$1(e){return s.throwExpression(s.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" * "+e.toString$0(0)+'".'))},modulo$1(e){return s.throwExpression(s.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" % "+e.toString$0(0)+'".'))},plus$1(e){if(e instanceof s.SassString0)return new s.SassString0(s.serializeValue0(this,false,true)+e._string0$_text,e._string0$_hasQuotes);else if(e instanceof s.SassCalculation0)throw s.wrapException(s.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" + "+e.toString$0(0)+'".'));else return new s.SassString0(s.serializeValue0(this,false,true)+s.serializeValue0(e,false,true),false)},minus$1(e){if(e instanceof s.SassCalculation0)throw s.wrapException(s.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" - "+e.toString$0(0)+'".'));else return new s.SassString0(s.serializeValue0(this,false,true)+"-"+s.serializeValue0(e,false,true),false)},dividedBy$1(e){return new s.SassString0(s.serializeValue0(this,false,true)+"/"+s.serializeValue0(e,false,true),false)},unaryPlus$0(){return new s.SassString0("+"+s.serializeValue0(this,false,true),false)},unaryMinus$0(){return new s.SassString0("-"+s.serializeValue0(this,false,true),false)},unaryNot$0(){return o.SassBoolean_false0},withoutSlash$0(){return this},toString$0(e){return s.serializeValue0(this,true,true)},_value0$_exception$2(e,r){return new s.SassScriptException0(r==null?e:"$"+r+": "+e)}};s.VariableExpression0.prototype={accept$1$1(e){return e.visitVariableExpression$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.namespace,n=this.name;return r==null?"$"+n:r+".$"+n},$isExpression0:1,$isAstNode0:1,get$span(e){return this.span}};s.VariableDeclaration0.prototype={accept$1$1(e){return e.visitVariableDeclaration$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.namespace;r=r!=null?""+(r+"."):"";r+="$"+this.name+": "+this.expression.toString$0(0)+";";return r.charCodeAt(0)==0?r:r},$isAstNode0:1,$isStatement0:1,get$span(e){return this.span}};s.WarnRule0.prototype={accept$1$1(e){return e.visitWarnRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){return"@warn "+this.expression.toString$0(0)+";"},$isAstNode0:1,$isStatement0:1,get$span(e){return this.span}};s.WhileRule0.prototype={accept$1$1(e){return e.visitWhileRule$1(this)},accept$1(e){return this.accept$1$1(e,$.dynamic)},toString$0(e){var r=this.children;return"@while "+this.condition.toString$0(0)+" {"+(r&&o.JSArray_methods).join$1(r," ")+"}"},get$span(e){return this.span}};(function aliases(){var e=a.LegacyJavaScriptObject.prototype;e.super$LegacyJavaScriptObject$toString=e.toString$0;e=s.JsLinkedHashMap.prototype;e.super$JsLinkedHashMap$internalContainsKey=e.internalContainsKey$1;e.super$JsLinkedHashMap$internalGet=e.internalGet$1;e.super$JsLinkedHashMap$internalSet=e.internalSet$2;e.super$JsLinkedHashMap$internalRemove=e.internalRemove$1;e=s._BufferingStreamSubscription.prototype;e.super$_BufferingStreamSubscription$_add=e._async$_add$1;e.super$_BufferingStreamSubscription$_addError=e._addError$2;e=s.ListMixin.prototype;e.super$ListMixin$setRange=e.setRange$4;e=s.Iterable.prototype;e.super$Iterable$where=e.where$1;e.super$Iterable$skipWhile=e.skipWhile$1;e=s.ModifiableCssParentNode.prototype;e.super$ModifiableCssParentNode$addChild=e.addChild$1;e=s.SimpleSelector.prototype;e.super$SimpleSelector$addSuffix=e.addSuffix$1;e.super$SimpleSelector$unify=e.unify$1;e.super$SimpleSelector$isSuperselector=e.isSuperselector$1;e=s.Parser.prototype;e.super$Parser$silentComment=e.silentComment$0;e=s.StylesheetParser.prototype;e.super$StylesheetParser$importArgument=e.importArgument$0;e.super$StylesheetParser$namespacedExpression=e.namespacedExpression$2;e=s.Value.prototype;e.super$Value$assertMap=e.assertMap$1;e.super$Value$plus=e.plus$1;e.super$Value$minus=e.minus$1;e.super$Value$dividedBy=e.dividedBy$1;e=s.SassNumber.prototype;e.super$SassNumber$convertValueToMatch=e.convertValueToMatch$3;e.super$SassNumber$coerce=e.coerce$3;e.super$SassNumber$coerceValue=e.coerceValue$3;e.super$SassNumber$coerceValueToUnit=e.coerceValueToUnit$2;e.super$SassNumber$coerceValueToMatch=e.coerceValueToMatch$3;e.super$SassNumber$greaterThan=e.greaterThan$1;e.super$SassNumber$greaterThanOrEquals=e.greaterThanOrEquals$1;e.super$SassNumber$lessThan=e.lessThan$1;e.super$SassNumber$lessThanOrEquals=e.lessThanOrEquals$1;e.super$SassNumber$modulo=e.modulo$1;e.super$SassNumber$plus=e.plus$1;e.super$SassNumber$minus=e.minus$1;e.super$SassNumber$times=e.times$1;e.super$SassNumber$dividedBy=e.dividedBy$1;e=s.AnySelectorVisitor.prototype;e.super$AnySelectorVisitor$visitComplexSelector=e.visitComplexSelector$1;e=s.EveryCssVisitor.prototype;e.super$EveryCssVisitor$visitCssStyleRule=e.visitCssStyleRule$1;e=s.SourceSpanMixin.prototype;e.super$SourceSpanMixin$compareTo=e.compareTo$1;e.super$SourceSpanMixin$$eq=e.$eq;e=s.StringScanner.prototype;e.super$StringScanner$readChar=e.readChar$0;e.super$StringScanner$scanChar=e.scanChar$1;e.super$StringScanner$scan=e.scan$1;e.super$StringScanner$matches=e.matches$1;e=s.AnySelectorVisitor0.prototype;e.super$AnySelectorVisitor$visitComplexSelector0=e.visitComplexSelector$1;e=s.EveryCssVisitor0.prototype;e.super$EveryCssVisitor$visitCssStyleRule0=e.visitCssStyleRule$1;e=s.ModifiableCssParentNode0.prototype;e.super$ModifiableCssParentNode$addChild0=e.addChild$1;e=s.SassNumber0.prototype;e.super$SassNumber$convertToMatch=e.convertToMatch$3;e.super$SassNumber$convertValueToMatch0=e.convertValueToMatch$3;e.super$SassNumber$coerce0=e.coerce$3;e.super$SassNumber$coerceValue0=e.coerceValue$3;e.super$SassNumber$coerceValueToUnit0=e.coerceValueToUnit$2;e.super$SassNumber$coerceToMatch=e.coerceToMatch$3;e.super$SassNumber$coerceValueToMatch0=e.coerceValueToMatch$3;e.super$SassNumber$greaterThan0=e.greaterThan$1;e.super$SassNumber$greaterThanOrEquals0=e.greaterThanOrEquals$1;e.super$SassNumber$lessThan0=e.lessThan$1;e.super$SassNumber$lessThanOrEquals0=e.lessThanOrEquals$1;e.super$SassNumber$modulo0=e.modulo$1;e.super$SassNumber$plus0=e.plus$1;e.super$SassNumber$minus0=e.minus$1;e.super$SassNumber$times0=e.times$1;e.super$SassNumber$dividedBy0=e.dividedBy$1;e=s.Parser1.prototype;e.super$Parser$silentComment0=e.silentComment$0;e=s.SimpleSelector0.prototype;e.super$SimpleSelector$addSuffix0=e.addSuffix$1;e.super$SimpleSelector$unify0=e.unify$1;e.super$SimpleSelector$isSuperselector0=e.isSuperselector$1;e=s.StylesheetParser0.prototype;e.super$StylesheetParser$importArgument0=e.importArgument$0;e.super$StylesheetParser$namespacedExpression0=e.namespacedExpression$2;e=s.Value0.prototype;e.super$Value$assertMap0=e.assertMap$1;e.super$Value$plus0=e.plus$1;e.super$Value$minus0=e.minus$1;e.super$Value$dividedBy0=e.dividedBy$1})();(function installTearOffs(){var e=i._static_2,r=i._instance_1i,n=i._instance_1u,o=i._static_1,l=i._static_0,u=i.installStaticTearOff,_=i.installInstanceTearOff,c=i._instance_2u,p=i._instance_0i,h=i._instance_0u;e(a,"_interceptors_JSArray__compareAny$closure","JSArray__compareAny",252);r(a.JSArray.prototype,"get$contains","contains$1",9);r(s._CastIterableBase.prototype,"get$contains","contains$1",9);n(s.CastMap.prototype,"get$containsKey","containsKey$1",9);o(s,"_js_helper_GeneralConstantMap__constantMapHashCode$closure","GeneralConstantMap__constantMapHashCode",140);n(s.ConstantStringMap.prototype,"get$containsKey","containsKey$1",9);n(s.GeneralConstantMap.prototype,"get$containsKey","containsKey$1",9);n(s.JsLinkedHashMap.prototype,"get$containsKey","containsKey$1",9);o(s,"async__AsyncRun__scheduleImmediateJsOverride$closure","_AsyncRun__scheduleImmediateJsOverride",113);o(s,"async__AsyncRun__scheduleImmediateWithSetImmediate$closure","_AsyncRun__scheduleImmediateWithSetImmediate",113);o(s,"async__AsyncRun__scheduleImmediateWithTimer$closure","_AsyncRun__scheduleImmediateWithTimer",113);l(s,"async___startMicrotaskLoop$closure","_startMicrotaskLoop",0);o(s,"async___nullDataHandler$closure","_nullDataHandler",123);e(s,"async___nullErrorHandler$closure","_nullErrorHandler",75);l(s,"async___nullDoneHandler$closure","_nullDoneHandler",0);u(s,"async___rootHandleUncaughtError$closure",5,null,["call$5"],["_rootHandleUncaughtError"],551,0);u(s,"async___rootRun$closure",4,null,["call$1$4","call$4"],["_rootRun",function(e,r,n,i){return s._rootRun(e,r,n,i,$.dynamic)}],552,1);u(s,"async___rootRunUnary$closure",5,null,["call$2$5","call$5"],["_rootRunUnary",function(e,r,n,i,a){return s._rootRunUnary(e,r,n,i,a,$.dynamic,$.dynamic)}],553,1);u(s,"async___rootRunBinary$closure",6,null,["call$3$6","call$6"],["_rootRunBinary",function(e,r,n,i,a,o){return s._rootRunBinary(e,r,n,i,a,o,$.dynamic,$.dynamic,$.dynamic)}],554,1);u(s,"async___rootRegisterCallback$closure",4,null,["call$1$4","call$4"],["_rootRegisterCallback",function(e,r,n,i){return s._rootRegisterCallback(e,r,n,i,$.dynamic)}],555,0);u(s,"async___rootRegisterUnaryCallback$closure",4,null,["call$2$4","call$4"],["_rootRegisterUnaryCallback",function(e,r,n,i){return s._rootRegisterUnaryCallback(e,r,n,i,$.dynamic,$.dynamic)}],556,0);u(s,"async___rootRegisterBinaryCallback$closure",4,null,["call$3$4","call$4"],["_rootRegisterBinaryCallback",function(e,r,n,i){return s._rootRegisterBinaryCallback(e,r,n,i,$.dynamic,$.dynamic,$.dynamic)}],557,0);u(s,"async___rootErrorCallback$closure",5,null,["call$5"],["_rootErrorCallback"],558,0);u(s,"async___rootScheduleMicrotask$closure",4,null,["call$4"],["_rootScheduleMicrotask"],559,0);u(s,"async___rootCreateTimer$closure",5,null,["call$5"],["_rootCreateTimer"],560,0);u(s,"async___rootCreatePeriodicTimer$closure",5,null,["call$5"],["_rootCreatePeriodicTimer"],561,0);u(s,"async___rootPrint$closure",4,null,["call$4"],["_rootPrint"],562,0);o(s,"async___printToZone$closure","_printToZone",126);u(s,"async___rootFork$closure",5,null,["call$5"],["_rootFork"],563,0);_(s._AsyncCompleter.prototype,"get$complete",0,0,(function(){return[null]}),["call$1","call$0"],["complete$1","complete$0"],212,0,0);c(s._Future.prototype,"get$_completeError","_completeError$2",75);var d;r(d=s._StreamController.prototype,"get$add","add$1",26);_(d,"get$addError",0,1,(function(){return[null]}),["call$2","call$1"],["addError$2","addError$1"],148,0,0);p(d,"get$close","close$0",491);n(d,"get$_async$_add","_async$_add$1",26);c(d,"get$_addError","_addError$2",75);h(d,"get$_close","_close$0",0);h(d=s._ControllerSubscription.prototype,"get$_async$_onPause","_async$_onPause$0",0);h(d,"get$_async$_onResume","_async$_onResume$0",0);_(d=s._BufferingStreamSubscription.prototype,"get$pause",1,0,null,["call$1","call$0"],["pause$1","pause$0"],367,0,0);p(d,"get$resume","resume$0",0);h(d,"get$_async$_onPause","_async$_onPause$0",0);h(d,"get$_async$_onResume","_async$_onResume$0",0);n(d=s._StreamIterator.prototype,"get$_onData","_onData$1",26);c(d,"get$_onError","_onError$2",75);h(d,"get$_onDone","_onDone$0",0);h(d=s._ForwardingStreamSubscription.prototype,"get$_async$_onPause","_async$_onPause$0",0);h(d,"get$_async$_onResume","_async$_onResume$0",0);n(d,"get$_handleData","_handleData$1",26);c(d,"get$_handleError","_handleError$2",369);h(d,"get$_handleDone","_handleDone$0",0);e(s,"collection___defaultEquals$closure","_defaultEquals",216);o(s,"collection___defaultHashCode$closure","_defaultHashCode",140);e(s,"collection_ListMixin__compareAny$closure","ListMixin__compareAny",252);n(s._HashMap.prototype,"get$containsKey","containsKey$1",9);n(s._LinkedCustomHashMap.prototype,"get$containsKey","containsKey$1",9);_(d=s._LinkedHashSet.prototype,"get$_newSimilarSet",0,0,null,["call$1$0","call$0"],["_newSimilarSet$1$0","_newSimilarSet$0"],158,0,0);r(d,"get$contains","contains$1",9);r(d,"get$add","add$1",9);_(s._LinkedIdentityHashSet.prototype,"get$_newSimilarSet",0,0,null,["call$1$0","call$0"],["_newSimilarSet$1$0","_newSimilarSet$0"],158,0,0);n(s.MapMixin.prototype,"get$containsKey","containsKey$1",9);n(s.MapView.prototype,"get$containsKey","containsKey$1",9);r(s._UnmodifiableSet.prototype,"get$contains","contains$1",9);o(s,"convert___defaultToEncodable$closure","_defaultToEncodable",80);o(s,"core__identityHashCode$closure","identityHashCode",140);e(s,"core__identical$closure","identical",216);o(s,"core_Uri_decodeComponent$closure","Uri_decodeComponent",5);r(s.Iterable.prototype,"get$contains","contains$1",9);r(s.StringBuffer.prototype,"get$write","write$1",26);u(s,"math0__max$closure",2,null,["call$1$2","call$2"],["max",function(e,r){return s.max(e,r,$.num)}],565,1);n(d=s.StreamCompleter.prototype,"get$setSourceStream","setSourceStream$1",26);_(d,"get$setError",0,1,(function(){return[null]}),["call$2","call$1"],["setError$2","setError$1"],148,0,0);h(d=s.StreamGroup.prototype,"get$_onListen","_onListen$0",0);h(d,"get$_onPause","_onPause$0",0);h(d,"get$_onResume","_onResume$0",0);h(d,"get$_onCancel","_onCancel$0",226);p(s.ReplAdapter.prototype,"get$exit","exit$0",0);r(s.EmptyUnmodifiableSet.prototype,"get$contains","contains$1",9);r(s._DelegatingIterableBase.prototype,"get$contains","contains$1",9);r(s.MapKeySet.prototype,"get$contains","contains$1",9);n(s._IsInvisibleVisitor0.prototype,"get$visitComplexSelector","visitComplexSelector$1",15);n(s._IsBogusVisitor.prototype,"get$visitComplexSelector","visitComplexSelector$1",15);n(s._IsUselessVisitor.prototype,"get$visitComplexSelector","visitComplexSelector$1",15);n(d=s.SelectorList.prototype,"get$_complexContainsParentSelector","_complexContainsParentSelector$1",15);n(d,"get$isSuperselector","isSuperselector$1",68);n(s.PseudoSelector.prototype,"get$isSuperselector","isSuperselector$1",13);n(s.SimpleSelector.prototype,"get$isSuperselector","isSuperselector$1",13);n(s.TypeSelector.prototype,"get$isSuperselector","isSuperselector$1",13);n(s.UniversalSelector.prototype,"get$isSuperselector","isSuperselector$1",13);n(s.EmptyExtensionStore.prototype,"get$addExtensions","addExtensions$1",198);n(s.ExtensionStore.prototype,"get$addExtensions","addExtensions$1",198);o(s,"functions___isUnique$closure","_isUnique",13);o(s,"color0___opacify$closure","_opacify",25);o(s,"color0___transparentize$closure","_transparentize",25);h(d=s.Parser.prototype,"get$whitespace","whitespace$0",0);h(d,"get$loudComment","loudComment$0",0);h(d,"get$string","string$0",31);h(s.SassParser.prototype,"get$loudComment","loudComment$0",0);_(d=s.StylesheetParser.prototype,"get$_statement",0,0,null,["call$1$root","call$0"],["_statement$1$root","_statement$0"],397,0,0);h(d,"get$_declarationChild","_declarationChild$0",114);h(d,"get$_functionChild","_functionChild$0",114);_(d,"get$_expression",0,0,null,["call$3$bracketList$singleEquals$until","call$0","call$2$singleEquals$until","call$1$bracketList","call$1$until"],["_expression$3$bracketList$singleEquals$until","_expression$0","_expression$2$singleEquals$until","_expression$1$bracketList","_expression$1$until"],405,0,0);n(s.LimitedMapView.prototype,"get$containsKey","containsKey$1",9);n(s.MergedMapView.prototype,"get$containsKey","containsKey$1",9);_(s.MultiSpan.prototype,"get$message",1,1,(function(){return{color:null}}),["call$2$color","call$1"],["message$2$color","message$1"],136,0,0);r(s.NoSourceMapBuffer.prototype,"get$write","write$1",26);n(s.PrefixedMapView.prototype,"get$containsKey","containsKey$1",9);n(s.PublicMemberMapView.prototype,"get$containsKey","containsKey$1",9);r(s.SourceMapBuffer.prototype,"get$write","write$1",26);n(s.UnprefixedMapView.prototype,"get$containsKey","containsKey$1",9);o(s,"utils__isPublic$closure","isPublic",8);o(s,"calculation_SassCalculation__simplify$closure","SassCalculation__simplify",180);c(s.SassNumber.prototype,"get$moduloLikeSass","moduloLikeSass$2",56);n(s.AnySelectorVisitor.prototype,"get$visitComplexSelector","visitComplexSelector$1",15);_(d=s._EvaluateVisitor0.prototype,"get$_async_evaluate$_interpolationToValue",0,1,null,["call$3$trim$warnForColor","call$1","call$2$warnForColor"],["_async_evaluate$_interpolationToValue$3$trim$warnForColor","_async_evaluate$_interpolationToValue$1","_async_evaluate$_interpolationToValue$2$warnForColor"],344,0,0);n(d,"get$_async_evaluate$_expressionNode","_async_evaluate$_expressionNode$1",165);_(d=s._EvaluateVisitor.prototype,"get$_interpolationToValue",0,1,null,["call$3$trim$warnForColor","call$1","call$2$warnForColor"],["_interpolationToValue$3$trim$warnForColor","_interpolationToValue$1","_interpolationToValue$2$warnForColor"],494,0,0);n(d,"get$_expressionNode","_expressionNode$1",165);n(d=s.RecursiveStatementVisitor.prototype,"get$visitContentBlock","visitContentBlock$1",259);n(d,"get$visitChildren","visitChildren$1",260);n(d=s._SerializeVisitor.prototype,"get$_visitMediaQuery","_visitMediaQuery$1",261);n(d,"get$_writeCalculationValue","_writeCalculationValue$1",133);n(d=s.StatementSearchVisitor.prototype,"get$visitContentBlock","visitContentBlock$1","StatementSearchVisitor.T?(ContentBlock)");n(d,"get$visitChildren","visitChildren$1","StatementSearchVisitor.T?(List)");_(s.SourceSpanMixin.prototype,"get$message",1,1,(function(){return{color:null}}),["call$2$color","call$1"],["message$2$color","message$1"],136,0,0);u(s,"from_handlers__TransformByHandlers__defaultHandleError$closure",3,null,["call$1$3","call$3"],["TransformByHandlers__defaultHandleError",function(e,r,n){return s.TransformByHandlers__defaultHandleError(e,r,n,$.dynamic)}],567,0);u(s,"rate_limit___collect$closure",2,null,["call$1$2","call$2"],["_collect",function(e,r){return s._collect(e,r,$.dynamic)}],568,0);n(s.AnySelectorVisitor0.prototype,"get$visitComplexSelector","visitComplexSelector$1",16);_(d=s._EvaluateVisitor2.prototype,"get$_async_evaluate0$_interpolationToValue",0,1,null,["call$3$trim$warnForColor","call$1","call$2$warnForColor"],["_async_evaluate0$_interpolationToValue$3$trim$warnForColor","_async_evaluate0$_interpolationToValue$1","_async_evaluate0$_interpolationToValue$2$warnForColor"],303,0,0);n(d,"get$_async_evaluate0$_expressionNode","_async_evaluate0$_expressionNode$1",195);o(s,"calculation0_SassCalculation__simplify$closure","SassCalculation__simplify0",180);o(s,"color2___opacify$closure","_opacify0",24);o(s,"color2___transparentize$closure","_transparentize0",24);u(s,"compile__compile$closure",1,(function(){return[null]}),["call$2","call$1"],["compile0",function(e){return s.compile0(e,null)}],569,0);u(s,"compile__compileString$closure",1,(function(){return[null]}),["call$2","call$1"],["compileString0",function(e){return s.compileString0(e,null)}],570,0);u(s,"compile__compileAsync$closure",1,(function(){return[null]}),["call$2","call$1"],["compileAsync1",function(e){return s.compileAsync1(e,null)}],571,0);u(s,"compile__compileStringAsync$closure",1,(function(){return[null]}),["call$2","call$1"],["compileStringAsync1",function(e){return s.compileStringAsync1(e,null)}],572,0);o(s,"compile___parseImporter$closure","_parseImporter0",573);n(s.EmptyExtensionStore0.prototype,"get$addExtensions","addExtensions$1",220);_(d=s._EvaluateVisitor1.prototype,"get$_evaluate0$_interpolationToValue",0,1,null,["call$3$trim$warnForColor","call$1","call$2$warnForColor"],["_evaluate0$_interpolationToValue$3$trim$warnForColor","_evaluate0$_interpolationToValue$1","_evaluate0$_interpolationToValue$2$warnForColor"],387,0,0);n(d,"get$_evaluate0$_expressionNode","_evaluate0$_expressionNode$1",195);n(s.ExtensionStore0.prototype,"get$addExtensions","addExtensions$1",220);o(s,"functions0___isUnique$closure","_isUnique0",14);o(s,"immutable__jsToDartList$closure","jsToDartList",574);e(s,"legacy__render$closure","render",575);o(s,"legacy__renderSync$closure","renderSync",576);n(s.LimitedMapView0.prototype,"get$containsKey","containsKey$1",9);n(d=s.SelectorList0.prototype,"get$_list2$_complexContainsParentSelector","_list2$_complexContainsParentSelector$1",16);n(d,"get$isSuperselector","isSuperselector$1",76);n(s.MergedMapView0.prototype,"get$containsKey","containsKey$1",9);_(s.MultiSpan0.prototype,"get$message",1,1,(function(){return{color:null}}),["call$2$color","call$1"],["message$2$color","message$1"],136,0,0);r(s.NoSourceMapBuffer0.prototype,"get$write","write$1",26);c(s.SassNumber0.prototype,"get$moduloLikeSass","moduloLikeSass$2",56);h(d=s.Parser1.prototype,"get$whitespace","whitespace$0",0);h(d,"get$loudComment","loudComment$0",0);h(d,"get$string","string$0",31);n(s.PrefixedMapView0.prototype,"get$containsKey","containsKey$1",9);n(s.PseudoSelector0.prototype,"get$isSuperselector","isSuperselector$1",14);n(s.PublicMemberMapView0.prototype,"get$containsKey","containsKey$1",9);o(s,"sass__main$closure","main0",577);h(s.SassParser0.prototype,"get$loudComment","loudComment$0",0);n(s._IsInvisibleVisitor2.prototype,"get$visitComplexSelector","visitComplexSelector$1",16);n(s._IsBogusVisitor0.prototype,"get$visitComplexSelector","visitComplexSelector$1",16);n(s._IsUselessVisitor0.prototype,"get$visitComplexSelector","visitComplexSelector$1",16);n(d=s._SerializeVisitor0.prototype,"get$_serialize0$_visitMediaQuery","_serialize0$_visitMediaQuery$1",497);n(d,"get$_serialize0$_writeCalculationValue","_serialize0$_writeCalculationValue$1",133);n(s.SimpleSelector0.prototype,"get$isSuperselector","isSuperselector$1",14);r(s.SourceMapBuffer0.prototype,"get$write","write$1",26);n(d=s.StatementSearchVisitor0.prototype,"get$visitContentBlock","visitContentBlock$1","StatementSearchVisitor0.T?(ContentBlock0)");n(d,"get$visitChildren","visitChildren$1","StatementSearchVisitor0.T?(List)");_(d=s.StylesheetParser0.prototype,"get$_stylesheet0$_statement",0,0,null,["call$1$root","call$0"],["_stylesheet0$_statement$1$root","_stylesheet0$_statement$0"],512,0,0);h(d,"get$_stylesheet0$_declarationChild","_stylesheet0$_declarationChild$0",138);h(d,"get$_stylesheet0$_functionChild","_stylesheet0$_functionChild$0",138);n(s.TypeSelector0.prototype,"get$isSuperselector","isSuperselector$1",14);n(s.UniversalSelector0.prototype,"get$isSuperselector","isSuperselector$1",14);n(s.UnprefixedMapView0.prototype,"get$containsKey","containsKey$1",9);o(s,"utils1__jsToDartUrl$closure","jsToDartUrl",578);o(s,"utils1__dartToJSUrl$closure","dartToJSUrl",579);o(s,"utils0__isPublic$closure","isPublic0",8);u(s,"path__absolute$closure",1,(function(){return[null,null,null,null,null,null]}),["call$7","call$1","call$2","call$3","call$4","call$6","call$5"],["absolute",function(e){return s.absolute(e,null,null,null,null,null,null)},function(e,r){return s.absolute(e,r,null,null,null,null,null)},function(e,r,n){return s.absolute(e,r,n,null,null,null,null)},function(e,r,n,i){return s.absolute(e,r,n,i,null,null,null)},function(e,r,n,i,a,o){return s.absolute(e,r,n,i,a,o,null)},function(e,r,n,i,a){return s.absolute(e,r,n,i,a,null,null)}],580,0);o(s,"path__prettyUri$closure","prettyUri",92);o(s,"character__isWhitespace$closure","isWhitespace",30);o(s,"character__isNewline$closure","isNewline",30);o(s,"character__isHex$closure","isHex",30);e(s,"number0__fuzzyLessThan$closure","fuzzyLessThan",43);e(s,"number0__fuzzyLessThanOrEquals$closure","fuzzyLessThanOrEquals",43);e(s,"number0__fuzzyGreaterThan$closure","fuzzyGreaterThan",43);e(s,"number0__fuzzyGreaterThanOrEquals$closure","fuzzyGreaterThanOrEquals",43);o(s,"number0__fuzzyRound$closure","fuzzyRound",41);o(s,"character0__isWhitespace$closure","isWhitespace0",30);o(s,"character0__isNewline$closure","isNewline0",30);o(s,"character0__isHex$closure","isHex0",30);e(s,"number2__fuzzyLessThan$closure","fuzzyLessThan0",43);e(s,"number2__fuzzyLessThanOrEquals$closure","fuzzyLessThanOrEquals0",43);e(s,"number2__fuzzyGreaterThan$closure","fuzzyGreaterThan0",43);e(s,"number2__fuzzyGreaterThanOrEquals$closure","fuzzyGreaterThanOrEquals0",43);o(s,"number2__fuzzyRound$closure","fuzzyRound0",41);o(s,"value1__wrapValue$closure","wrapValue",388)})();(function inheritance(){var e=i.mixin,r=i.inherit,n=i.inheritMany;r(s.Object,null);n(s.Object,[s.JS_CONST,a.Interceptor,a.ArrayIterator,s.Iterable,s.CastIterator,s.Closure,s.MapMixin,s.Error,s._ListBase_Object_ListMixin,s.SentinelValue,s.ListIterator,s.Iterator,s.ExpandIterator,s.EmptyIterator,s.FollowedByIterator,s.WhereTypeIterator,s.FixedLengthListMixin,s.UnmodifiableListMixin,s.Symbol,s.MapView,s.ConstantMap,s.JSInvocationMirror,s.TypeErrorDecoder,s.NullThrownFromJavaScriptException,s.ExceptionAndStackTrace,s._StackTrace,s._Required,s.LinkedHashMapCell,s.LinkedHashMapKeyIterator,s.JSSyntaxRegExp,s._MatchImplementation,s._AllMatchesIterator,s.StringMatch,s._StringAllMatchesIterator,s._Cell,s.Rti,s._FunctionParameters,s._Type,s._TimerImpl,s._AsyncAwaitCompleter,s._IterationMarker,s._SyncStarIterator,s.AsyncError,s._Completer,s._FutureListener,s._Future,s._AsyncCallbackEntry,s.Stream,s.StreamTransformerBase,s._StreamController,s._SyncStreamControllerDispatch,s._AsyncStreamControllerDispatch,s._BufferingStreamSubscription,s._AddStreamState,s._DelayedEvent,s._DelayedDone,s._PendingEvents,s._StreamIterator,s._ZoneFunction,s._RunNullaryZoneFunction,s._RunUnaryZoneFunction,s._RunBinaryZoneFunction,s._RegisterNullaryZoneFunction,s._RegisterUnaryZoneFunction,s._RegisterBinaryZoneFunction,s._ZoneSpecification,s._ZoneDelegate,s._Zone,s._HashMapKeyIterator,s.__SetBase_Object_SetMixin,s._LinkedHashSetCell,s._LinkedHashSetIterator,s.ListMixin,s._MapBaseValueIterator,s._UnmodifiableMapMixin,s._ListQueueIterator,s.SetMixin,s._UnmodifiableSetMixin,s.Codec,s._Base64Encoder,s.ChunkedConversionSink,s._JsonStringifier,s.StringConversionSinkMixin,s._Utf8Encoder,s._Utf8Decoder,s.DateTime,s.Duration,s.OutOfMemoryError,s.StackOverflowError,s._Exception,s.FormatException,s.MapEntry,s.Null,s._StringStackTrace,s.RuneIterator,s.StringBuffer,s._Uri,s.UriData,s._SimpleUri,s.Expando,s._JSRandom,s.ArgParser,s.ArgResults,s.Option,s.OptionType,s.Parser0,s._Usage,s.ErrorResult,s.ValueResult,s.StreamCompleter,s.StreamGroup,s._StreamGroupState,s.StreamQueue,s._NextRequest,s.Repl,s.ReplAdapter,s.DefaultEquality,s.IterableEquality,s.ListEquality,s._MapEntry,s.MapEquality,s._QueueList_Object_ListMixin,s._DelegatingIterableBase,s.UnmodifiableSetMixin,s.Context,s._PathDirection,s._PathRelation,s.Style,s.ParsedPath,s.PathException,s.CssMediaQuery,s._SingletonCssMediaQueryMergeResult,s.MediaQuerySuccessfulMergeResult,s.AstNode,s.ModifiableCssValue,s.EveryCssVisitor,s.CssValue,s._FakeAstNode,s.Argument,s.ArgumentDeclaration,s.ArgumentInvocation,s.AtRootQuery,s.ConfiguredVariable,s.BinaryOperationExpression,s.BinaryOperator,s.BooleanExpression,s.CalculationExpression,s.ColorExpression,s.FunctionExpression,s.IfExpression,s.InterpolatedFunctionExpression,s.ListExpression,s.MapExpression,s.NullExpression,s.NumberExpression,s.ParenthesizedExpression,s.SelectorExpression,s.StringExpression,s.SupportsExpression,s.UnaryOperationExpression,s.UnaryOperator,s.ValueExpression,s.VariableExpression,s.DynamicImport,s.StaticImport,s.Interpolation,s.ParentStatement,s.ContentRule,s.DebugRule,s.ErrorRule,s.ExtendRule,s.ForwardRule,s.IfRule,s.IfRuleClause,s.ImportRule,s.IncludeRule,s.LoudComment,s.StatementSearchVisitor,s.ReturnRule,s.SilentComment,s.UseRule,s.VariableDeclaration,s.WarnRule,s.SupportsAnything,s.SupportsDeclaration,s.SupportsFunction,s.SupportsInterpolation,s.SupportsNegation,s.SupportsOperation,s.Selector,s.AnySelectorVisitor,s.AttributeOperator,s.Combinator,s.ComplexSelectorComponent,s.QualifiedName,s.AsyncEnvironment,s._EnvironmentModule0,s.AsyncImportCache,s.AsyncBuiltInCallable,s.BuiltInCallable,s.PlainCssCallable,s.UserDefinedCallable,s.CompileResult,s.Configuration,s.ConfiguredValue,s.Environment,s._EnvironmentModule,s.SourceSpanException,s.SassScriptException,s.ExecutableOptions,s.UsageException,s._Watcher,s.EmptyExtensionStore,s.Extension,s.Extender,s.ExtensionStore,s.ExtendMode,s.ImportCache,s.AsyncImporter,s.ImporterResult,s.InterpolationBuffer,s.FileSystemException,s.Stderr,s._QuietLogger,s.StderrLogger,s.TerseLogger,s.TrackingLogger,s.BuiltInModule,s.ForwardedModuleView,s.ShadowedModuleView,s.Parser,s.StylesheetGraph,s.StylesheetNode,s.Syntax,s.MultiDirWatcher,s.MultiSpan,s.NoSourceMapBuffer,s.SourceMapBuffer,s.Value,s.CalculationOperation,s.CalculationOperator,s.CalculationInterpolation,s._ColorFormatEnum,s.SpanColorFormat,s.ListSeparator,s._EvaluateVisitor0,s._ImportedCssVisitor0,s.EvaluateResult,s._EvaluationContext0,s._ArgumentResults0,s._LoadedStylesheet0,s._CloneCssVisitor,s.Evaluator,s._EvaluateVisitor,s._ImportedCssVisitor,s._EvaluationContext,s._ArgumentResults,s._LoadedStylesheet,s.RecursiveStatementVisitor,s._SerializeVisitor,s.OutputStyle,s.LineFeed,s.SerializeResult,s.Entry,s.Mapping,s.TargetLineEntry,s.TargetEntry,s.SourceFile,s.SourceLocationMixin,s.SourceSpanMixin,s.Highlighter,s._Highlight,s._Line,s.SourceLocation,s.Chain,s.Frame,s.LazyTrace,s.Trace,s.UnparsedFrame,s.StringScanner,s._SpanScannerState,s.AsciiGlyphSet,s.UnicodeGlyphSet,s.Tuple2,s.Tuple3,s.Tuple4,s.WatchEvent,s.ChangeType,s.AnySelectorVisitor0,s.SupportsAnything0,s.Argument0,s.ArgumentDeclaration0,s.ArgumentInvocation0,s.Value0,s.AsyncImporter0,s.AsyncBuiltInCallable0,s.AsyncEnvironment0,s._EnvironmentModule2,s._EvaluateVisitor2,s._ImportedCssVisitor2,s.EvaluateResult0,s._EvaluationContext2,s._ArgumentResults2,s._LoadedStylesheet2,s.AsyncImportCache0,s.Parser1,s.AtRootQuery0,s.ParentStatement0,s.AstNode0,s.Selector0,s.AttributeOperator0,s.BinaryOperationExpression0,s.BinaryOperator0,s.BooleanExpression0,s.BuiltInCallable0,s.BuiltInModule0,s.CalculationExpression0,s.CalculationOperation0,s.CalculationOperator0,s.CalculationInterpolation0,s._CloneCssVisitor0,s.ColorExpression0,s._ColorFormatEnum0,s.SpanColorFormat0,s.Combinator0,s.CompileResult0,s.ComplexSelectorComponent0,s.Configuration0,s.ConfiguredValue0,s.ConfiguredVariable0,s.ContentRule0,s.DebugRule0,s.SupportsDeclaration0,s.DynamicImport0,s.EmptyExtensionStore0,s.Environment0,s._EnvironmentModule1,s.ErrorRule0,s._EvaluateVisitor1,s._ImportedCssVisitor1,s._EvaluationContext1,s._ArgumentResults1,s._LoadedStylesheet1,s.EveryCssVisitor0,s.SassScriptException0,s.ExtendRule0,s.Extension0,s.Extender0,s.ExtensionStore0,s.ForwardRule0,s.ForwardedModuleView0,s.FunctionExpression0,s.SupportsFunction0,s.IfExpression0,s.IfRule0,s.IfRuleClause0,s.NodeImporter,s.ImportCache0,s.ImportRule0,s.IncludeRule0,s.InterpolatedFunctionExpression0,s.Interpolation0,s.SupportsInterpolation0,s.InterpolationBuffer0,s.ListExpression0,s.ListSeparator0,s._QuietLogger0,s.LoudComment0,s.MapExpression0,s.CssMediaQuery0,s._SingletonCssMediaQueryMergeResult0,s.MediaQuerySuccessfulMergeResult0,s.StatementSearchVisitor0,s.ExtendMode0,s.MultiSpan0,s.SupportsNegation0,s.NoSourceMapBuffer0,s._FakeAstNode0,s.FileSystemException0,s.Stderr0,s.NodeToDartLogger,s.NullExpression0,s.NumberExpression0,s.SupportsOperation0,s.ParenthesizedExpression0,s.PlainCssCallable0,s.QualifiedName0,s.ImporterResult0,s.ReturnRule0,s.SelectorExpression0,s._SerializeVisitor0,s.OutputStyle0,s.LineFeed0,s.SerializeResult0,s.ShadowedModuleView0,s.SilentComment0,s.SourceMapBuffer0,s.StaticImport0,s.StderrLogger0,s.StringExpression0,s.SupportsExpression0,s.Syntax0,s.TerseLogger0,s.UnaryOperationExpression0,s.UnaryOperator0,s.UseRule0,s.UserDefinedCallable0,s.CssValue0,s.ValueExpression0,s.ModifiableCssValue0,s.VariableExpression0,s.VariableDeclaration0,s.WarnRule0]);n(a.Interceptor,[a.JSBool,a.JSNull,a.JavaScriptObject,a.JSArray,a.JSNumber,a.JSString,s.NativeTypedData]);r(a.LegacyJavaScriptObject,a.JavaScriptObject);n(a.LegacyJavaScriptObject,[a.PlainJavaScriptObject,a.UnknownJavaScriptObject,a.JavaScriptFunction,s.Stdin,s.Stdout,s.ReadlineModule,s.ReadlineOptions,s.ReadlineInterface,s.BufferModule,s.BufferConstants,s.Buffer,s.ConsoleModule,s.Console,s.EventEmitter,s.FS,s.FSConstants,s.FSWatcher,s.ReadStream,s.ReadStreamOptions,s.WriteStream,s.WriteStreamOptions,s.FileOptions,s.StatOptions,s.MkdirOptions,s.RmdirOptions,s.WatchOptions,s.WatchFileOptions,s.Stats,s.Promise,s.Date,s.JsError,s.Atomics,s.Modules,s.Module1,s.Net,s.Socket,s.NetAddress,s.NetServer,s.NodeJsError,s.Process,s.CPUUsage,s.Release,s.StreamModule,s.Readable,s.Writable,s.Duplex,s.Transform,s.WritableOptions,s.ReadableOptions,s.Immediate,s.Timeout,s.TTY,s.Util,s.JSArray0,s.Chokidar,s.ChokidarOptions,s.ChokidarWatcher,s.JSFunction,s.NodeImporterResult,s.RenderContext,s.RenderContextOptions,s.RenderContextResult,s.RenderContextResultStats,s.JSClass,s.JSUrl,s._PropertyDescriptor,s.JSArray1,s.Chokidar0,s.ChokidarOptions0,s.ChokidarWatcher0,s._NodeSassColor,s._Channels,s.CompileOptions,s.NodeCompileResult,s.Exports,s.LoggerNamespace,s.FiberClass,s.Fiber,s.JSFunction0,s.ImmutableList,s.ImmutableMap,s.NodeImporter0,s.CanonicalizeOptions,s.NodeImporterResult0,s.NodeImporterResult1,s._NodeSassList,s._ConstructorOptions,s.NodeLogger,s.WarnOptions,s.DebugOptions,s._NodeSassMap,s._NodeSassNumber,s._ConstructorOptions0,s.JSClass0,s.RenderContext0,s.RenderContextOptions0,s.RenderContextResult0,s.RenderContextResultStats0,s.RenderOptions,s.RenderResult,s.RenderResultStats,s._Exports,s._NodeSassString,s._ConstructorOptions1,s.Types,s.JSUrl0,s._PropertyDescriptor0]);r(a.JSUnmodifiableArray,a.JSArray);n(a.JSNumber,[a.JSInt,a.JSNumNotInt]);n(s.Iterable,[s._CastIterableBase,s.EfficientLengthIterable,s.MappedIterable,s.WhereIterable,s.ExpandIterable,s.TakeIterable,s.SkipIterable,s.SkipWhileIterable,s.FollowedByIterable,s.WhereTypeIterable,s._ConstantMapKeyIterable,s.IterableBase,s._StringAllMatchesIterable,s.Runes]);n(s._CastIterableBase,[s.CastIterable,s.__CastListBase__CastIterableBase_ListMixin,s.CastSet]);r(s._EfficientLengthCastIterable,s.CastIterable);r(s._CastListBase,s.__CastListBase__CastIterableBase_ListMixin);n(s.Closure,[s.Closure2Args,s.CastMap_entries_closure,s.Closure0Args,s.ConstantStringMap_values_closure,s.GeneralConstantMap__typeTest_closure,s.Instantiation,s.TearOffClosure,s.JsLinkedHashMap_values_closure,s.initHooks_closure,s.initHooks_closure1,s._AsyncRun__initializeScheduleImmediate_internalCallback,s._AsyncRun__initializeScheduleImmediate_closure,s._awaitOnObject_closure,s.Future_wait_closure,s._Future__chainForeignFuture_closure,s._Future__propagateToListeners_handleWhenCompleteCallback_closure,s.Stream_Stream$fromFuture_closure,s.Stream_length_closure,s._CustomZone_bindUnaryCallback_closure,s._RootZone_bindUnaryCallback_closure,s._HashMap_values_closure,s._LinkedCustomHashMap_closure,s.MapMixin_entries_closure,s._Uri__makePath_closure,s._createTables_setChars,s._createTables_setRange,s._convertDataTree__convert,s.ArgParser__addOption_closure,s._Usage__writeOption_closure,s._Usage__buildAllowedList_closure,s.StreamGroup__onListen_closure,s.StreamGroup__onCancel_closure,s.StreamQueue__ensureListening_closure,s.alwaysValid_closure,s.ReplAdapter_runAsync__closure,s.MapKeySet_difference_closure,s.promiseToFuture_closure,s.promiseToFuture_closure0,s.futureToPromise__closure,s.Context_joinAll_closure,s.Context_split_closure,s._validateArgList_closure,s.ParsedPath__splitExtension_closure,s.PathMap__create_closure0,s.PathMap__create_closure1,s.WindowsStyle_absolutePathToUri_closure,s.ModifiableCssNode_hasFollowingSibling_closure,s.ArgumentDeclaration_verify_closure,s.ArgumentDeclaration_verify_closure0,s.CalculationExpression__verifyArguments_closure,s.ListExpression_toString_closure,s.MapExpression_toString_closure,s.Interpolation_toString_closure,s.EachRule_toString_closure,s.IfRuleClause$__closure,s.IfRuleClause$___closure,s.ParentStatement_closure,s.ParentStatement__closure,s._IsBogusVisitor_visitComplexSelector_closure,s._IsUselessVisitor_visitComplexSelector_closure,s.ComplexSelectorComponent_toString_closure,s.IDSelector_unify_closure,s.SelectorList_asSassList_closure,s.SelectorList_resolveParentSelectors_closure,s.SelectorList_resolveParentSelectors__closure,s.SelectorList__complexContainsParentSelector_closure,s.SelectorList__complexContainsParentSelector__closure,s.SelectorList__resolveParentSelectorsCompound_closure,s.SelectorList__resolveParentSelectorsCompound_closure0,s.SelectorList__resolveParentSelectorsCompound_closure1,s.SelectorList_withAdditionalCombinators_closure,s.PseudoSelector_unify_closure,s.SimpleSelector_isSuperselector_closure,s.SimpleSelector_isSuperselector__closure,s._compileStylesheet_closure0,s.AsyncEnvironment_importForwards_closure,s.AsyncEnvironment_importForwards_closure0,s.AsyncEnvironment_importForwards_closure1,s.AsyncEnvironment__getVariableFromGlobalModule_closure,s.AsyncEnvironment_setVariable_closure0,s.AsyncEnvironment__getFunctionFromGlobalModule_closure,s.AsyncEnvironment__getMixinFromGlobalModule_closure,s.AsyncEnvironment_toModule_closure,s.AsyncEnvironment_toDummyModule_closure,s.AsyncEnvironment__fromOneModule_closure,s.AsyncEnvironment__fromOneModule__closure,s._EnvironmentModule__EnvironmentModule_closure5,s._EnvironmentModule__EnvironmentModule_closure6,s._EnvironmentModule__EnvironmentModule_closure7,s._EnvironmentModule__EnvironmentModule_closure8,s._EnvironmentModule__EnvironmentModule_closure9,s._EnvironmentModule__EnvironmentModule_closure10,s.AsyncImportCache_humanize_closure,s.AsyncImportCache_humanize_closure0,s.AsyncImportCache_humanize_closure1,s.AsyncBuiltInCallable$mixin_closure,s.BuiltInCallable$mixin_closure,s._compileStylesheet_closure,s.Configuration_toString_closure,s.Environment_importForwards_closure,s.Environment_importForwards_closure0,s.Environment_importForwards_closure1,s.Environment__getVariableFromGlobalModule_closure,s.Environment_setVariable_closure0,s.Environment__getFunctionFromGlobalModule_closure,s.Environment__getMixinFromGlobalModule_closure,s.Environment_toModule_closure,s.Environment_toDummyModule_closure,s.Environment__fromOneModule_closure,s.Environment__fromOneModule__closure,s._EnvironmentModule__EnvironmentModule_closure,s._EnvironmentModule__EnvironmentModule_closure0,s._EnvironmentModule__EnvironmentModule_closure1,s._EnvironmentModule__EnvironmentModule_closure2,s._EnvironmentModule__EnvironmentModule_closure3,s._EnvironmentModule__EnvironmentModule_closure4,s._writeSourceMap_closure,s.ExecutableOptions_emitErrorCss_closure,s.watch_closure,s._Watcher__debounceEvents_closure,s.ExtensionStore_extensionsWhereTarget_closure,s.ExtensionStore_addExtensions_closure0,s.ExtensionStore_addExtensions__closure,s.ExtensionStore_addExtensions__closure0,s.ExtensionStore__extendComplex_closure,s.ExtensionStore__extendComplex__closure,s.ExtensionStore__extendCompound_closure,s.ExtensionStore__extendCompound_closure0,s.ExtensionStore__extendCompound_closure1,s.ExtensionStore__extendSimple_withoutPseudo,s.ExtensionStore__extendSimple_closure,s.ExtensionStore__extendSimple_closure0,s.ExtensionStore__extendPseudo_closure,s.ExtensionStore__extendPseudo_closure0,s.ExtensionStore__extendPseudo_closure1,s.ExtensionStore__extendPseudo_closure2,s.ExtensionStore__extendPseudo_closure3,s.ExtensionStore__trim_closure,s.ExtensionStore__trim_closure0,s.unifyComplex_closure,s._weaveParents_closure0,s._weaveParents_closure1,s._weaveParents_closure2,s._mustUnify_closure,s._mustUnify__closure,s.paths__closure,s.paths___closure,s.listIsSuperselector_closure,s.listIsSuperselector__closure,s.complexIsSuperselector_closure,s._selectorPseudoIsSuperselector_closure,s._selectorPseudoIsSuperselector_closure0,s._selectorPseudoIsSuperselector_closure1,s._selectorPseudoIsSuperselector_closure2,s._selectorPseudoIsSuperselector_closure3,s._selectorPseudoIsSuperselector__closure,s._selectorPseudoIsSuperselector___closure,s._selectorPseudoIsSuperselector___closure0,s._selectorPseudoIsSuperselector_closure4,s._selectorPseudoIsSuperselector_closure5,s._selectorPseudoArgs_closure,s._selectorPseudoArgs_closure0,s.globalFunctions_closure,s.global_closure,s.global_closure0,s.global_closure1,s.global_closure2,s.global_closure3,s.global_closure4,s.global_closure5,s.global_closure6,s.global_closure7,s.global_closure8,s.global_closure9,s.global_closure10,s.global_closure11,s.global_closure12,s.global_closure13,s.global_closure14,s.global_closure15,s.global_closure16,s.global_closure17,s.global_closure18,s.global_closure19,s.global_closure20,s.global_closure21,s.global_closure22,s.global_closure23,s.global_closure24,s.global__closure,s.global_closure25,s.module_closure,s.module_closure0,s.module_closure1,s.module_closure2,s.module_closure3,s.module_closure4,s.module_closure5,s.module_closure6,s.module__closure,s.module_closure7,s._red_closure,s._green_closure,s._blue_closure,s._mix_closure,s._hue_closure,s._saturation_closure,s._lightness_closure,s._complement_closure,s._adjust_closure,s._scale_closure,s._change_closure,s._ieHexStr_closure,s._ieHexStr_closure_hexString,s._updateComponents_getParam,s._updateComponents_closure,s._updateComponents_updateValue,s._functionString_closure,s._removedColorFunction_closure,s._rgb_closure,s._hsl_closure,s._removeUnits_closure,s._removeUnits_closure0,s._hwb_closure,s._parseChannels_closure,s._length_closure0,s._nth_closure,s._setNth_closure,s._join_closure,s._append_closure0,s._zip_closure,s._zip__closure,s._zip__closure0,s._zip__closure1,s._index_closure0,s._separator_closure,s._isBracketed_closure,s._slash_closure,s._get_closure,s._set_closure,s._set__closure0,s._set_closure0,s._set__closure,s._merge_closure,s._merge_closure0,s._merge__closure,s._deepMerge_closure,s._deepRemove_closure,s._deepRemove__closure,s._remove_closure,s._remove_closure0,s._keys_closure,s._values_closure,s._hasKey_closure,s._modify__modifyNestedMap,s._ceil_closure,s._clamp_closure,s._floor_closure,s._max_closure,s._min_closure,s._abs_closure,s._hypot_closure,s._hypot__closure,s._log_closure,s._pow_closure,s._sqrt_closure,s._acos_closure,s._asin_closure,s._atan_closure,s._atan2_closure,s._cos_closure,s._sin_closure,s._tan_closure,s._compatible_closure,s._isUnitless_closure,s._unit_closure,s._percentage_closure,s._randomFunction_closure,s._div_closure,s._numberFunction_closure,s.global_closure26,s.global_closure27,s.global_closure28,s.global_closure29,s.local_closure,s.local_closure0,s.local__closure,s._nest_closure,s._nest__closure,s._append_closure,s._append__closure,s._append___closure,s._extend_closure,s._replace_closure,s._unify_closure,s._isSuperselector_closure,s._simpleSelectors_closure,s._simpleSelectors__closure,s._parse_closure,s._unquote_closure,s._quote_closure,s._length_closure,s._insert_closure,s._index_closure,s._slice_closure,s._toUpperCase_closure,s._toLowerCase_closure,s._uniqueId_closure,s.ImportCache_humanize_closure,s.ImportCache_humanize_closure0,s.ImportCache_humanize_closure1,s.FilesystemImporter_canonicalize_closure,s._exactlyOne_closure,s._realCasePath_helper,s._realCasePath_helper__closure,s.readStdin_closure,s.readStdin_closure0,s.readStdin_closure1,s.readStdin_closure2,s.listDir__closure,s.listDir__closure0,s.listDir_closure_list,s.listDir__list_closure,s.watchDir_closure,s.watchDir_closure0,s.watchDir_closure1,s.watchDir_closure2,s.TerseLogger_summarize_closure,s.TerseLogger_summarize_closure0,s._disallowedFunctionNames_closure,s.Parser_scanIdentChar_matches,s.StylesheetParser_parse__closure0,s.StylesheetParser__expression_addSingleExpression,s.StylesheetParser__expression_addOperator,s.StylesheetParser__unicodeRange_closure,s.StylesheetParser__unicodeRange_closure0,s.StylesheetParser_trySpecialFunction_closure,s.StylesheetGraph_modifiedSince_transitiveModificationTime,s._PrefixedKeys_iterator_closure,s.SourceMapBuffer_buildSourceMap_closure,s._UnprefixedKeys_iterator_closure,s._UnprefixedKeys_iterator_closure0,s.indent_closure,s.flattenVertically_closure,s.flattenVertically_closure0,s.SassCalculation__verifyLength_closure,s.SassColor_SassColor$hwb_toRgb,s.SassList_isBlank_closure,s.SassNumber__coerceOrConvertValue_closure,s.SassNumber__coerceOrConvertValue_closure1,s.SassNumber_multiplyUnits_closure,s.SassNumber_multiplyUnits_closure1,s.SassNumber__areAnyConvertible_closure,s.SassNumber__canonicalizeUnitList_closure,s.SingleUnitSassNumber__coerceToUnit_closure,s.SingleUnitSassNumber__coerceValueToUnit_closure,s.SingleUnitSassNumber_multiplyUnits_closure,s.AnySelectorVisitor_visitComplexSelector_closure,s.AnySelectorVisitor_visitCompoundSelector_closure,s._EvaluateVisitor_closure9,s._EvaluateVisitor_closure10,s._EvaluateVisitor_closure11,s._EvaluateVisitor_closure12,s._EvaluateVisitor_closure13,s._EvaluateVisitor_closure14,s._EvaluateVisitor_closure15,s._EvaluateVisitor_closure16,s._EvaluateVisitor_closure17,s._EvaluateVisitor_closure18,s._EvaluateVisitor__closure3,s._EvaluateVisitor__loadModule__closure0,s._EvaluateVisitor__combineCss_closure2,s._EvaluateVisitor__combineCss_closure3,s._EvaluateVisitor__combineCss_closure4,s._EvaluateVisitor__extendModules_closure1,s._EvaluateVisitor__topologicalModules_visitModule0,s._EvaluateVisitor__scopeForAtRoot_closure5,s._EvaluateVisitor__scopeForAtRoot_closure6,s._EvaluateVisitor__scopeForAtRoot_closure7,s._EvaluateVisitor__scopeForAtRoot_closure8,s._EvaluateVisitor__scopeForAtRoot_closure9,s._EvaluateVisitor__scopeForAtRoot_closure10,s._EvaluateVisitor_visitDeclaration_closure1,s._EvaluateVisitor_visitEachRule_closure2,s._EvaluateVisitor_visitEachRule_closure3,s._EvaluateVisitor_visitEachRule__closure0,s._EvaluateVisitor_visitEachRule___closure0,s._EvaluateVisitor_visitAtRule_closure2,s._EvaluateVisitor_visitAtRule_closure4,s._EvaluateVisitor_visitForRule__closure0,s._EvaluateVisitor_visitForwardRule_closure1,s._EvaluateVisitor_visitForwardRule_closure2,s._EvaluateVisitor_visitIfRule__closure0,s._EvaluateVisitor__visitDynamicImport__closure3,s._EvaluateVisitor__visitDynamicImport__closure4,s._EvaluateVisitor__visitDynamicImport__closure5,s._EvaluateVisitor_visitIncludeRule_closure6,s._EvaluateVisitor_visitMediaRule_closure2,s._EvaluateVisitor_visitMediaRule_closure4,s._EvaluateVisitor_visitStyleRule_closure9,s._EvaluateVisitor_visitStyleRule_closure13,s._EvaluateVisitor_visitStyleRule_closure14,s._EvaluateVisitor_visitSupportsRule_closure2,s._EvaluateVisitor_visitUseRule_closure0,s._EvaluateVisitor_visitWhileRule__closure0,s._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0,s._EvaluateVisitor_visitListExpression_closure0,s._EvaluateVisitor__runUserDefinedCallable____closure0,s._EvaluateVisitor__runBuiltInCallable_closure2,s._EvaluateVisitor__evaluateArguments_closure3,s._EvaluateVisitor__evaluateArguments_closure4,s._EvaluateVisitor__evaluateArguments_closure6,s._EvaluateVisitor__evaluateMacroArguments_closure3,s._EvaluateVisitor__evaluateMacroArguments_closure4,s._EvaluateVisitor__evaluateMacroArguments_closure6,s._EvaluateVisitor_visitStringExpression_closure0,s._EvaluateVisitor_visitCssAtRule_closure2,s._EvaluateVisitor_visitCssKeyframeBlock_closure2,s._EvaluateVisitor_visitCssMediaRule_closure2,s._EvaluateVisitor_visitCssMediaRule_closure4,s._EvaluateVisitor_visitCssStyleRule_closure2,s._EvaluateVisitor_visitCssSupportsRule_closure2,s._EvaluateVisitor__performInterpolation_closure0,s._EvaluateVisitor__withoutSlash_recommendation0,s._EvaluateVisitor__stackFrame_closure0,s._EvaluateVisitor__stackTrace_closure0,s._ImportedCssVisitor_visitCssAtRule_closure0,s._ImportedCssVisitor_visitCssMediaRule_closure0,s._ImportedCssVisitor_visitCssStyleRule_closure0,s._ImportedCssVisitor_visitCssSupportsRule_closure0,s._EvaluateVisitor_closure,s._EvaluateVisitor_closure0,s._EvaluateVisitor_closure1,s._EvaluateVisitor_closure2,s._EvaluateVisitor_closure3,s._EvaluateVisitor_closure4,s._EvaluateVisitor_closure5,s._EvaluateVisitor_closure6,s._EvaluateVisitor_closure7,s._EvaluateVisitor_closure8,s._EvaluateVisitor__closure0,s._EvaluateVisitor__loadModule__closure,s._EvaluateVisitor__combineCss_closure,s._EvaluateVisitor__combineCss_closure0,s._EvaluateVisitor__combineCss_closure1,s._EvaluateVisitor__extendModules_closure,s._EvaluateVisitor__topologicalModules_visitModule,s._EvaluateVisitor__scopeForAtRoot_closure,s._EvaluateVisitor__scopeForAtRoot_closure0,s._EvaluateVisitor__scopeForAtRoot_closure1,s._EvaluateVisitor__scopeForAtRoot_closure2,s._EvaluateVisitor__scopeForAtRoot_closure3,s._EvaluateVisitor__scopeForAtRoot_closure4,s._EvaluateVisitor_visitDeclaration_closure,s._EvaluateVisitor_visitEachRule_closure,s._EvaluateVisitor_visitEachRule_closure0,s._EvaluateVisitor_visitEachRule__closure,s._EvaluateVisitor_visitEachRule___closure,s._EvaluateVisitor_visitAtRule_closure,s._EvaluateVisitor_visitAtRule_closure1,s._EvaluateVisitor_visitForRule__closure,s._EvaluateVisitor_visitForwardRule_closure,s._EvaluateVisitor_visitForwardRule_closure0,s._EvaluateVisitor_visitIfRule__closure,s._EvaluateVisitor__visitDynamicImport__closure,s._EvaluateVisitor__visitDynamicImport__closure0,s._EvaluateVisitor__visitDynamicImport__closure1,s._EvaluateVisitor_visitIncludeRule_closure2,s._EvaluateVisitor_visitMediaRule_closure,s._EvaluateVisitor_visitMediaRule_closure1,s._EvaluateVisitor_visitStyleRule_closure1,s._EvaluateVisitor_visitStyleRule_closure5,s._EvaluateVisitor_visitStyleRule_closure6,s._EvaluateVisitor_visitSupportsRule_closure0,s._EvaluateVisitor_visitUseRule_closure,s._EvaluateVisitor_visitWhileRule__closure,s._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation,s._EvaluateVisitor_visitListExpression_closure,s._EvaluateVisitor__runUserDefinedCallable____closure,s._EvaluateVisitor__runBuiltInCallable_closure0,s._EvaluateVisitor__evaluateArguments_closure,s._EvaluateVisitor__evaluateArguments_closure0,s._EvaluateVisitor__evaluateArguments_closure2,s._EvaluateVisitor__evaluateMacroArguments_closure,s._EvaluateVisitor__evaluateMacroArguments_closure0,s._EvaluateVisitor__evaluateMacroArguments_closure2,s._EvaluateVisitor_visitStringExpression_closure,s._EvaluateVisitor_visitCssAtRule_closure0,s._EvaluateVisitor_visitCssKeyframeBlock_closure0,s._EvaluateVisitor_visitCssMediaRule_closure,s._EvaluateVisitor_visitCssMediaRule_closure1,s._EvaluateVisitor_visitCssStyleRule_closure0,s._EvaluateVisitor_visitCssSupportsRule_closure0,s._EvaluateVisitor__performInterpolation_closure,s._EvaluateVisitor__withoutSlash_recommendation,s._EvaluateVisitor__stackFrame_closure,s._EvaluateVisitor__stackTrace_closure,s._ImportedCssVisitor_visitCssAtRule_closure,s._ImportedCssVisitor_visitCssMediaRule_closure,s._ImportedCssVisitor_visitCssStyleRule_closure,s._ImportedCssVisitor_visitCssSupportsRule_closure,s.EveryCssVisitor_visitCssAtRule_closure,s.EveryCssVisitor_visitCssKeyframeBlock_closure,s.EveryCssVisitor_visitCssMediaRule_closure,s.EveryCssVisitor_visitCssStyleRule_closure,s.EveryCssVisitor_visitCssStylesheet_closure,s.EveryCssVisitor_visitCssSupportsRule_closure,s.serialize_closure,s._SerializeVisitor_visitList_closure,s._SerializeVisitor_visitList_closure0,s._SerializeVisitor_visitList_closure1,s._SerializeVisitor_visitMap_closure,s._SerializeVisitor_visitSelectorList_closure,s.StatementSearchVisitor_visitIfRule_closure,s.StatementSearchVisitor_visitIfRule__closure0,s.StatementSearchVisitor_visitIfRule_closure0,s.StatementSearchVisitor_visitIfRule__closure,s.StatementSearchVisitor_visitChildren_closure,s.SingleMapping_SingleMapping$fromEntries_closure1,s.SingleMapping_toJson_closure,s.Highlighter$__closure,s.Highlighter$___closure,s.Highlighter$__closure0,s.Highlighter__collateLines_closure,s.Highlighter__collateLines_closure1,s.Highlighter__collateLines__closure,s.Highlighter_highlight_closure,s.Chain_Chain$parse_closure,s.Chain_Chain$parse_closure0,s.Chain_Chain$parse_closure1,s.Chain_toTrace_closure,s.Chain_toString_closure0,s.Chain_toString__closure0,s.Chain_toString_closure,s.Chain_toString__closure,s.Trace__parseVM_closure,s.Trace__parseVM_closure0,s.Trace$parseV8_closure,s.Trace$parseV8_closure0,s.Trace$parseJSCore_closure,s.Trace$parseJSCore_closure0,s.Trace$parseFirefox_closure,s.Trace$parseFirefox_closure0,s.Trace$parseFriendly_closure,s.Trace$parseFriendly_closure0,s.Trace_terse_closure,s.Trace_foldFrames_closure,s.Trace_foldFrames_closure0,s.Trace_toString_closure0,s.Trace_toString_closure,s.TransformByHandlers_transformByHandlers__closure,s.RateLimit__debounceAggregate_closure0,s.AnySelectorVisitor_visitComplexSelector_closure0,s.AnySelectorVisitor_visitCompoundSelector_closure0,s.ArgumentDeclaration_verify_closure1,s.ArgumentDeclaration_verify_closure2,s.argumentListClass__closure,s.argumentListClass__closure0,s.AsyncBuiltInCallable$mixin_closure0,s._compileStylesheet_closure2,s.AsyncEnvironment_importForwards_closure2,s.AsyncEnvironment_importForwards_closure3,s.AsyncEnvironment_importForwards_closure4,s.AsyncEnvironment__getVariableFromGlobalModule_closure0,s.AsyncEnvironment_setVariable_closure3,s.AsyncEnvironment__getFunctionFromGlobalModule_closure0,s.AsyncEnvironment__getMixinFromGlobalModule_closure0,s.AsyncEnvironment_toModule_closure0,s.AsyncEnvironment_toDummyModule_closure0,s.AsyncEnvironment__fromOneModule_closure0,s.AsyncEnvironment__fromOneModule__closure0,s._EnvironmentModule__EnvironmentModule_closure17,s._EnvironmentModule__EnvironmentModule_closure18,s._EnvironmentModule__EnvironmentModule_closure19,s._EnvironmentModule__EnvironmentModule_closure20,s._EnvironmentModule__EnvironmentModule_closure21,s._EnvironmentModule__EnvironmentModule_closure22,s._EvaluateVisitor_closure29,s._EvaluateVisitor_closure30,s._EvaluateVisitor_closure31,s._EvaluateVisitor_closure32,s._EvaluateVisitor_closure33,s._EvaluateVisitor_closure34,s._EvaluateVisitor_closure35,s._EvaluateVisitor_closure36,s._EvaluateVisitor_closure37,s._EvaluateVisitor_closure38,s._EvaluateVisitor__closure9,s._EvaluateVisitor__loadModule__closure2,s._EvaluateVisitor__combineCss_closure8,s._EvaluateVisitor__combineCss_closure9,s._EvaluateVisitor__combineCss_closure10,s._EvaluateVisitor__extendModules_closure5,s._EvaluateVisitor__topologicalModules_visitModule2,s._EvaluateVisitor__scopeForAtRoot_closure17,s._EvaluateVisitor__scopeForAtRoot_closure18,s._EvaluateVisitor__scopeForAtRoot_closure19,s._EvaluateVisitor__scopeForAtRoot_closure20,s._EvaluateVisitor__scopeForAtRoot_closure21,s._EvaluateVisitor__scopeForAtRoot_closure22,s._EvaluateVisitor_visitDeclaration_closure5,s._EvaluateVisitor_visitEachRule_closure8,s._EvaluateVisitor_visitEachRule_closure9,s._EvaluateVisitor_visitEachRule__closure2,s._EvaluateVisitor_visitEachRule___closure2,s._EvaluateVisitor_visitAtRule_closure8,s._EvaluateVisitor_visitAtRule_closure10,s._EvaluateVisitor_visitForRule__closure2,s._EvaluateVisitor_visitForwardRule_closure5,s._EvaluateVisitor_visitForwardRule_closure6,s._EvaluateVisitor_visitIfRule__closure2,s._EvaluateVisitor__visitDynamicImport__closure11,s._EvaluateVisitor__visitDynamicImport__closure12,s._EvaluateVisitor__visitDynamicImport__closure13,s._EvaluateVisitor_visitIncludeRule_closure14,s._EvaluateVisitor_visitMediaRule_closure8,s._EvaluateVisitor_visitMediaRule_closure10,s._EvaluateVisitor_visitStyleRule_closure25,s._EvaluateVisitor_visitStyleRule_closure29,s._EvaluateVisitor_visitStyleRule_closure30,s._EvaluateVisitor_visitSupportsRule_closure6,s._EvaluateVisitor_visitUseRule_closure2,s._EvaluateVisitor_visitWhileRule__closure2,s._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2,s._EvaluateVisitor_visitListExpression_closure2,s._EvaluateVisitor__runUserDefinedCallable____closure2,s._EvaluateVisitor__runBuiltInCallable_closure6,s._EvaluateVisitor__evaluateArguments_closure11,s._EvaluateVisitor__evaluateArguments_closure12,s._EvaluateVisitor__evaluateArguments_closure14,s._EvaluateVisitor__evaluateMacroArguments_closure11,s._EvaluateVisitor__evaluateMacroArguments_closure12,s._EvaluateVisitor__evaluateMacroArguments_closure14,s._EvaluateVisitor_visitStringExpression_closure2,s._EvaluateVisitor_visitCssAtRule_closure6,s._EvaluateVisitor_visitCssKeyframeBlock_closure6,s._EvaluateVisitor_visitCssMediaRule_closure8,s._EvaluateVisitor_visitCssMediaRule_closure10,s._EvaluateVisitor_visitCssStyleRule_closure6,s._EvaluateVisitor_visitCssSupportsRule_closure6,s._EvaluateVisitor__performInterpolation_closure2,s._EvaluateVisitor__withoutSlash_recommendation2,s._EvaluateVisitor__stackFrame_closure2,s._EvaluateVisitor__stackTrace_closure2,s._ImportedCssVisitor_visitCssAtRule_closure2,s._ImportedCssVisitor_visitCssMediaRule_closure2,s._ImportedCssVisitor_visitCssStyleRule_closure2,s._ImportedCssVisitor_visitCssSupportsRule_closure2,s.AsyncImportCache_humanize_closure2,s.AsyncImportCache_humanize_closure3,s.AsyncImportCache_humanize_closure4,s.legacyBooleanClass__closure,s.legacyBooleanClass__closure0,s.booleanClass__closure,s.BuiltInCallable$mixin_closure0,s.CalculationExpression__verifyArguments_closure0,s.SassCalculation__verifyLength_closure0,s.global_closure30,s.global_closure31,s.global_closure32,s.global_closure33,s.global_closure34,s.global_closure35,s.global_closure36,s.global_closure37,s.global_closure38,s.global_closure39,s.global_closure40,s.global_closure41,s.global_closure42,s.global_closure43,s.global_closure44,s.global_closure45,s.global_closure46,s.global_closure47,s.global_closure48,s.global_closure49,s.global_closure50,s.global_closure51,s.global_closure52,s.global_closure53,s.global_closure54,s.global_closure55,s.global__closure0,s.global_closure56,s.module_closure8,s.module_closure9,s.module_closure10,s.module_closure11,s.module_closure12,s.module_closure13,s.module_closure14,s.module_closure15,s.module__closure0,s.module_closure16,s._red_closure0,s._green_closure0,s._blue_closure0,s._mix_closure0,s._hue_closure0,s._saturation_closure0,s._lightness_closure0,s._complement_closure0,s._adjust_closure0,s._scale_closure0,s._change_closure0,s._ieHexStr_closure0,s._ieHexStr_closure_hexString0,s._updateComponents_getParam0,s._updateComponents_closure0,s._updateComponents_updateValue0,s._functionString_closure0,s._removedColorFunction_closure0,s._rgb_closure0,s._hsl_closure0,s._removeUnits_closure1,s._removeUnits_closure2,s._hwb_closure0,s._parseChannels_closure0,s.legacyColorClass_closure,s.legacyColorClass_closure0,s.legacyColorClass_closure1,s.legacyColorClass_closure2,s.legacyColorClass_closure3,s.colorClass__closure1,s.colorClass__closure2,s.colorClass__closure3,s.colorClass__closure4,s.colorClass__closure5,s.colorClass__closure6,s.colorClass__closure7,s.colorClass__closure8,s.colorClass__closure9,s.SassColor_SassColor$hwb_toRgb0,s.compileAsync__closure,s.compileStringAsync__closure,s.compileStringAsync__closure0,s._wrapAsyncSassExceptions_closure,s._parseFunctions__closure2,s._parseFunctions__closure3,s._compileStylesheet_closure1,s.ComplexSelectorComponent_toString_closure0,s.Configuration_toString_closure0,s._disallowedFunctionNames_closure0,s.EachRule_toString_closure0,s.Environment_importForwards_closure2,s.Environment_importForwards_closure3,s.Environment_importForwards_closure4,s.Environment__getVariableFromGlobalModule_closure0,s.Environment_setVariable_closure3,s.Environment__getFunctionFromGlobalModule_closure0,s.Environment__getMixinFromGlobalModule_closure0,s.Environment_toModule_closure0,s.Environment_toDummyModule_closure0,s.Environment__fromOneModule_closure0,s.Environment__fromOneModule__closure0,s._EnvironmentModule__EnvironmentModule_closure11,s._EnvironmentModule__EnvironmentModule_closure12,s._EnvironmentModule__EnvironmentModule_closure13,s._EnvironmentModule__EnvironmentModule_closure14,s._EnvironmentModule__EnvironmentModule_closure15,s._EnvironmentModule__EnvironmentModule_closure16,s._EvaluateVisitor_closure19,s._EvaluateVisitor_closure20,s._EvaluateVisitor_closure21,s._EvaluateVisitor_closure22,s._EvaluateVisitor_closure23,s._EvaluateVisitor_closure24,s._EvaluateVisitor_closure25,s._EvaluateVisitor_closure26,s._EvaluateVisitor_closure27,s._EvaluateVisitor_closure28,s._EvaluateVisitor__closure6,s._EvaluateVisitor__loadModule__closure1,s._EvaluateVisitor__combineCss_closure5,s._EvaluateVisitor__combineCss_closure6,s._EvaluateVisitor__combineCss_closure7,s._EvaluateVisitor__extendModules_closure3,s._EvaluateVisitor__topologicalModules_visitModule1,s._EvaluateVisitor__scopeForAtRoot_closure11,s._EvaluateVisitor__scopeForAtRoot_closure12,s._EvaluateVisitor__scopeForAtRoot_closure13,s._EvaluateVisitor__scopeForAtRoot_closure14,s._EvaluateVisitor__scopeForAtRoot_closure15,s._EvaluateVisitor__scopeForAtRoot_closure16,s._EvaluateVisitor_visitDeclaration_closure3,s._EvaluateVisitor_visitEachRule_closure5,s._EvaluateVisitor_visitEachRule_closure6,s._EvaluateVisitor_visitEachRule__closure1,s._EvaluateVisitor_visitEachRule___closure1,s._EvaluateVisitor_visitAtRule_closure5,s._EvaluateVisitor_visitAtRule_closure7,s._EvaluateVisitor_visitForRule__closure1,s._EvaluateVisitor_visitForwardRule_closure3,s._EvaluateVisitor_visitForwardRule_closure4,s._EvaluateVisitor_visitIfRule__closure1,s._EvaluateVisitor__visitDynamicImport__closure7,s._EvaluateVisitor__visitDynamicImport__closure8,s._EvaluateVisitor__visitDynamicImport__closure9,s._EvaluateVisitor_visitIncludeRule_closure10,s._EvaluateVisitor_visitMediaRule_closure5,s._EvaluateVisitor_visitMediaRule_closure7,s._EvaluateVisitor_visitStyleRule_closure17,s._EvaluateVisitor_visitStyleRule_closure21,s._EvaluateVisitor_visitStyleRule_closure22,s._EvaluateVisitor_visitSupportsRule_closure4,s._EvaluateVisitor_visitUseRule_closure1,s._EvaluateVisitor_visitWhileRule__closure1,s._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1,s._EvaluateVisitor_visitListExpression_closure1,s._EvaluateVisitor__runUserDefinedCallable____closure1,s._EvaluateVisitor__runBuiltInCallable_closure4,s._EvaluateVisitor__evaluateArguments_closure7,s._EvaluateVisitor__evaluateArguments_closure8,s._EvaluateVisitor__evaluateArguments_closure10,s._EvaluateVisitor__evaluateMacroArguments_closure7,s._EvaluateVisitor__evaluateMacroArguments_closure8,s._EvaluateVisitor__evaluateMacroArguments_closure10,s._EvaluateVisitor_visitStringExpression_closure1,s._EvaluateVisitor_visitCssAtRule_closure4,s._EvaluateVisitor_visitCssKeyframeBlock_closure4,s._EvaluateVisitor_visitCssMediaRule_closure5,s._EvaluateVisitor_visitCssMediaRule_closure7,s._EvaluateVisitor_visitCssStyleRule_closure4,s._EvaluateVisitor_visitCssSupportsRule_closure4,s._EvaluateVisitor__performInterpolation_closure1,s._EvaluateVisitor__withoutSlash_recommendation1,s._EvaluateVisitor__stackFrame_closure1,s._EvaluateVisitor__stackTrace_closure1,s._ImportedCssVisitor_visitCssAtRule_closure1,s._ImportedCssVisitor_visitCssMediaRule_closure1,s._ImportedCssVisitor_visitCssStyleRule_closure1,s._ImportedCssVisitor_visitCssSupportsRule_closure1,s.EveryCssVisitor_visitCssAtRule_closure0,s.EveryCssVisitor_visitCssKeyframeBlock_closure0,s.EveryCssVisitor_visitCssMediaRule_closure0,s.EveryCssVisitor_visitCssStyleRule_closure0,s.EveryCssVisitor_visitCssStylesheet_closure0,s.EveryCssVisitor_visitCssSupportsRule_closure0,s.exceptionClass__closure,s.exceptionClass__closure0,s.exceptionClass__closure1,s.ExtensionStore_extensionsWhereTarget_closure0,s.ExtensionStore_addExtensions_closure2,s.ExtensionStore_addExtensions__closure2,s.ExtensionStore_addExtensions__closure3,s.ExtensionStore__extendComplex_closure0,s.ExtensionStore__extendComplex__closure0,s.ExtensionStore__extendCompound_closure2,s.ExtensionStore__extendCompound_closure3,s.ExtensionStore__extendCompound_closure4,s.ExtensionStore__extendSimple_withoutPseudo0,s.ExtensionStore__extendSimple_closure1,s.ExtensionStore__extendSimple_closure2,s.ExtensionStore__extendPseudo_closure4,s.ExtensionStore__extendPseudo_closure5,s.ExtensionStore__extendPseudo_closure6,s.ExtensionStore__extendPseudo_closure7,s.ExtensionStore__extendPseudo_closure8,s.ExtensionStore__trim_closure1,s.ExtensionStore__trim_closure2,s.FilesystemImporter_canonicalize_closure0,s.functionClass__closure,s.functionClass__closure0,s.unifyComplex_closure0,s._weaveParents_closure4,s._weaveParents_closure5,s._weaveParents_closure6,s._mustUnify_closure0,s._mustUnify__closure0,s.paths__closure0,s.paths___closure0,s.listIsSuperselector_closure0,s.listIsSuperselector__closure0,s.complexIsSuperselector_closure0,s._selectorPseudoIsSuperselector_closure6,s._selectorPseudoIsSuperselector_closure7,s._selectorPseudoIsSuperselector_closure8,s._selectorPseudoIsSuperselector_closure9,s._selectorPseudoIsSuperselector_closure10,s._selectorPseudoIsSuperselector__closure0,s._selectorPseudoIsSuperselector___closure1,s._selectorPseudoIsSuperselector___closure2,s._selectorPseudoIsSuperselector_closure11,s._selectorPseudoIsSuperselector_closure12,s._selectorPseudoArgs_closure1,s._selectorPseudoArgs_closure2,s.globalFunctions_closure0,s.IDSelector_unify_closure0,s.IfRuleClause$__closure0,s.IfRuleClause$___closure0,s.immutableMapToDartMap_closure,s.NodeImporter__tryPath_closure0,s.ImportCache_humanize_closure2,s.ImportCache_humanize_closure3,s.ImportCache_humanize_closure4,s.Interpolation_toString_closure0,s._realCasePath_helper0,s._realCasePath_helper__closure0,s.render_closure0,s._parseFunctions__closure,s._parseFunctions___closure0,s._parseFunctions__closure0,s._parseFunctions__closure1,s._parseFunctions___closure,s._parseImporter_closure,s._parseImporter__closure,s._parseImporter___closure,s.ListExpression_toString_closure0,s._length_closure2,s._nth_closure0,s._setNth_closure0,s._join_closure0,s._append_closure2,s._zip_closure0,s._zip__closure2,s._zip__closure3,s._zip__closure4,s._index_closure2,s._separator_closure0,s._isBracketed_closure0,s._slash_closure0,s.SelectorList_asSassList_closure0,s.SelectorList_resolveParentSelectors_closure0,s.SelectorList_resolveParentSelectors__closure0,s.SelectorList__complexContainsParentSelector_closure0,s.SelectorList__complexContainsParentSelector__closure0,s.SelectorList__resolveParentSelectorsCompound_closure2,s.SelectorList__resolveParentSelectorsCompound_closure3,s.SelectorList__resolveParentSelectorsCompound_closure4,s.SelectorList_withAdditionalCombinators_closure0,s.legacyListClass_closure,s.legacyListClass__closure,s.legacyListClass_closure1,s.legacyListClass_closure2,s.legacyListClass_closure4,s.listClass__closure,s.SassList_isBlank_closure0,s.MapExpression_toString_closure0,s._get_closure0,s._set_closure1,s._set__closure2,s._set_closure2,s._set__closure1,s._merge_closure1,s._merge_closure2,s._merge__closure0,s._deepMerge_closure0,s._deepRemove_closure0,s._deepRemove__closure0,s._remove_closure1,s._remove_closure2,s._keys_closure0,s._values_closure0,s._hasKey_closure0,s._modify__modifyNestedMap0,s.legacyMapClass_closure,s.legacyMapClass__closure,s.legacyMapClass__closure0,s.legacyMapClass_closure2,s.legacyMapClass_closure3,s.legacyMapClass_closure4,s.mapClass__closure,s.mapClass__closure0,s._ceil_closure0,s._clamp_closure0,s._floor_closure0,s._max_closure0,s._min_closure0,s._abs_closure0,s._hypot_closure0,s._hypot__closure0,s._log_closure0,s._pow_closure0,s._sqrt_closure0,s._acos_closure0,s._asin_closure0,s._atan_closure0,s._atan2_closure0,s._cos_closure0,s._sin_closure0,s._tan_closure0,s._compatible_closure0,s._isUnitless_closure0,s._unit_closure0,s._percentage_closure0,s._randomFunction_closure0,s._div_closure0,s._numberFunction_closure0,s.global_closure57,s.global_closure58,s.global_closure59,s.global_closure60,s.local_closure1,s.local_closure2,s.local__closure0,s.listDir__closure1,s.listDir__closure2,s.listDir_closure_list0,s.listDir__list_closure0,s.ModifiableCssNode_hasFollowingSibling_closure0,s.legacyNullClass__closure,s.legacyNumberClass_closure,s.legacyNumberClass_closure0,s.legacyNumberClass_closure2,s._parseNumber_closure,s._parseNumber_closure0,s.numberClass__closure,s.numberClass__closure0,s.numberClass__closure1,s.numberClass__closure2,s.numberClass__closure3,s.numberClass__closure4,s.numberClass__closure5,s.numberClass__closure6,s.numberClass__closure7,s.numberClass__closure8,s.numberClass__closure9,s.numberClass__closure12,s.numberClass__closure13,s.numberClass__closure14,s.numberClass__closure15,s.numberClass__closure16,s.numberClass__closure17,s.numberClass__closure18,s.numberClass__closure19,s.SassNumber__coerceOrConvertValue_closure3,s.SassNumber__coerceOrConvertValue_closure5,s.SassNumber_multiplyUnits_closure3,s.SassNumber_multiplyUnits_closure5,s.SassNumber__areAnyConvertible_closure0,s.SassNumber__canonicalizeUnitList_closure0,s.ParentStatement_closure0,s.ParentStatement__closure0,s.Parser_scanIdentChar_matches0,s._PrefixedKeys_iterator_closure0,s.PseudoSelector_unify_closure0,s.JSClassExtension_setCustomInspect_closure,s._wrapMain_closure,s._wrapMain_closure0,s._IsBogusVisitor_visitComplexSelector_closure0,s._IsUselessVisitor_visitComplexSelector_closure0,s._nest_closure0,s._nest__closure1,s._append_closure1,s._append__closure1,s._append___closure0,s._extend_closure0,s._replace_closure0,s._unify_closure0,s._isSuperselector_closure0,s._simpleSelectors_closure0,s._simpleSelectors__closure0,s._parse_closure0,s.serialize_closure0,s._SerializeVisitor_visitList_closure2,s._SerializeVisitor_visitList_closure3,s._SerializeVisitor_visitList_closure4,s._SerializeVisitor_visitMap_closure0,s._SerializeVisitor_visitSelectorList_closure0,s.SimpleSelector_isSuperselector_closure0,s.SimpleSelector_isSuperselector__closure0,s.SingleUnitSassNumber__coerceToUnit_closure0,s.SingleUnitSassNumber__coerceValueToUnit_closure0,s.SingleUnitSassNumber_multiplyUnits_closure1,s.SourceMapBuffer_buildSourceMap_closure0,s.updateSourceSpanPrototype_closure,s.updateSourceSpanPrototype_closure0,s.updateSourceSpanPrototype_closure1,s.updateSourceSpanPrototype_closure2,s.updateSourceSpanPrototype_closure3,s.updateSourceSpanPrototype_closure4,s.updateSourceSpanPrototype_closure5,s.StatementSearchVisitor_visitIfRule_closure1,s.StatementSearchVisitor_visitIfRule__closure2,s.StatementSearchVisitor_visitIfRule_closure2,s.StatementSearchVisitor_visitIfRule__closure1,s.StatementSearchVisitor_visitChildren_closure0,s._unquote_closure0,s._quote_closure0,s._length_closure1,s._insert_closure0,s._index_closure1,s._slice_closure0,s._toUpperCase_closure0,s._toLowerCase_closure0,s._uniqueId_closure0,s.legacyStringClass_closure,s.legacyStringClass_closure0,s.stringClass__closure,s.stringClass__closure0,s.stringClass__closure1,s.stringClass__closure2,s.stringClass__closure3,s.StylesheetParser_parse__closure2,s.StylesheetParser__expression_addSingleExpression0,s.StylesheetParser__expression_addOperator0,s.StylesheetParser__unicodeRange_closure1,s.StylesheetParser__unicodeRange_closure2,s.StylesheetParser_trySpecialFunction_closure0,s.TerseLogger_summarize_closure1,s.TerseLogger_summarize_closure2,s._UnprefixedKeys_iterator_closure1,s._UnprefixedKeys_iterator_closure2,s._exactlyOne_closure0,s.futureToPromise__closure0,s.indent_closure0,s.flattenVertically_closure1,s.flattenVertically_closure2,s.valueClass__closure,s.valueClass__closure0,s.valueClass__closure1,s.valueClass__closure2,s.valueClass__closure3,s.valueClass__closure4,s.valueClass__closure5,s.valueClass__closure7,s.valueClass__closure8,s.valueClass__closure9,s.valueClass__closure10,s.valueClass__closure11,s.valueClass__closure12,s.valueClass__closure13,s.valueClass__closure15,s.valueClass__closure16]);n(s.Closure2Args,[s._CastListBase_sort_closure,s.CastMap_forEach_closure,s.Primitives_functionNoSuchMethod_closure,s.JsLinkedHashMap_addAll_closure,s.initHooks_closure0,s._awaitOnObject_closure0,s._wrapJsFunctionForAsync_closure,s.Future_wait_handleError,s._Future__chainForeignFuture_closure0,s.Stream_Stream$fromFuture_closure0,s._HashMap_addAll_closure,s.HashMap_HashMap$from_closure,s.LinkedHashMap_LinkedHashMap$from_closure,s.MapBase_mapToString_closure,s.MapMixin_addAll_closure,s._JsonStringifier_writeMap_closure,s.NoSuchMethodError_toString_closure,s.Uri__parseIPv4Address_error,s.Uri_parseIPv6Address_error,s.Uri_parseIPv6Address_parseHex,s._createTables_build,s.Parser_parse_closure,s.StreamQueue__ensureListening_closure1,s.futureToPromise_closure,s.PathMap__create_closure,s.IfRule_toString_closure,s.ExtensionStore_addExtensions_closure,s.ExtensionStore_addExtensions__closure1,s.ExtensionStore_clone_closure,s._weaveParents_closure,s.paths_closure,s._updateComponents_updateRgb,s._deepMergeImpl_closure,s._nest__closure0,s._append__closure0,s.StylesheetParser__declarationOrBuffer_closure,s.StylesheetParser__declarationOrBuffer_closure0,s.StylesheetParser__styleRule_closure,s.StylesheetParser__propertyOrVariableDeclaration_closure,s.StylesheetParser__propertyOrVariableDeclaration_closure0,s.StylesheetParser__atRootRule_closure,s.StylesheetParser__atRootRule_closure0,s.StylesheetParser__eachRule_closure,s.StylesheetParser__functionRule_closure,s.StylesheetParser__forRule_closure0,s.StylesheetParser__includeRule_closure,s.StylesheetParser_mediaRule_closure,s.StylesheetParser__mixinRule_closure,s.StylesheetParser_mozDocumentRule_closure,s.StylesheetParser_supportsRule_closure,s.StylesheetParser__whileRule_closure,s.StylesheetParser_unknownAtRule_closure,s.StylesheetGraph__recanonicalizeImportsForNode_closure,s.longestCommonSubsequence_backtrack,s.mapAddAll2_closure,s.SassMap_asList_closure,s.SassNumber_plus_closure,s.SassNumber_minus_closure,s.SassNumber__canonicalMultiplier_closure,s._EvaluateVisitor__closure2,s._EvaluateVisitor__evaluateArguments_closure5,s._EvaluateVisitor__evaluateMacroArguments_closure5,s._EvaluateVisitor__addRestMap_closure0,s._EvaluateVisitor__closure,s._EvaluateVisitor__evaluateArguments_closure1,s._EvaluateVisitor__evaluateMacroArguments_closure1,s._EvaluateVisitor__addRestMap_closure,s.SingleMapping_toJson_closure0,s.Highlighter__collateLines_closure0,s.Frame_Frame$parseV8_closure_parseLocation,s.TransformByHandlers_transformByHandlers__closure1,s.RateLimit__debounceAggregate_closure,s._EvaluateVisitor__closure8,s._EvaluateVisitor__evaluateArguments_closure13,s._EvaluateVisitor__evaluateMacroArguments_closure13,s._EvaluateVisitor__addRestMap_closure2,s._updateComponents_updateRgb0,s.legacyColorClass_closure4,s.legacyColorClass_closure5,s.legacyColorClass_closure6,s.legacyColorClass_closure7,s.colorClass__closure,s.colorClass__closure0,s._parseFunctions_closure0,s._EvaluateVisitor__closure5,s._EvaluateVisitor__evaluateArguments_closure9,s._EvaluateVisitor__evaluateMacroArguments_closure9,s._EvaluateVisitor__addRestMap_closure1,s.ExtensionStore_addExtensions_closure1,s.ExtensionStore_addExtensions__closure4,s.ExtensionStore_clone_closure0,s._weaveParents_closure3,s.paths_closure0,s.IfRule_toString_closure0,s.render_closure1,s._parseFunctions_closure,s.legacyListClass_closure0,s.legacyListClass_closure3,s.listClass__closure0,s._deepMergeImpl_closure0,s.legacyMapClass_closure0,s.legacyMapClass_closure1,s.mapClass__closure1,s.SassMap_asList_closure0,s.main_closure0,s.main_closure1,s.legacyNumberClass_closure1,s.legacyNumberClass_closure3,s.numberClass__closure10,s.numberClass__closure11,s.SassNumber_plus_closure0,s.SassNumber_minus_closure0,s.SassNumber__canonicalMultiplier_closure0,s.JSClassExtension_get_defineMethod_closure,s.JSClassExtension_get_defineGetter_closure,s.main_printError,s._nest__closure2,s._append__closure2,s.legacyStringClass_closure1,s.StylesheetParser__declarationOrBuffer_closure1,s.StylesheetParser__declarationOrBuffer_closure2,s.StylesheetParser__styleRule_closure0,s.StylesheetParser__propertyOrVariableDeclaration_closure1,s.StylesheetParser__propertyOrVariableDeclaration_closure2,s.StylesheetParser__atRootRule_closure1,s.StylesheetParser__atRootRule_closure2,s.StylesheetParser__eachRule_closure0,s.StylesheetParser__functionRule_closure0,s.StylesheetParser__forRule_closure2,s.StylesheetParser__includeRule_closure0,s.StylesheetParser_mediaRule_closure0,s.StylesheetParser__mixinRule_closure0,s.StylesheetParser_mozDocumentRule_closure0,s.StylesheetParser_supportsRule_closure0,s.StylesheetParser__whileRule_closure0,s.StylesheetParser_unknownAtRule_closure0,s.futureToPromise_closure0,s.futureToPromise__closure1,s.objectToMap_closure,s.longestCommonSubsequence_backtrack0,s.mapAddAll2_closure0,s.valueClass__closure6,s.valueClass__closure14]);r(s.CastList,s._CastListBase);r(s.MapBase,s.MapMixin);n(s.MapBase,[s.CastMap,s.JsLinkedHashMap,s._HashMap,s.UnmodifiableMapBase,s.MergedMapView,s.MergedMapView0]);n(s.Error,[s.LateError,s.TypeError,s.JsNoSuchMethodError,s.UnknownJsTypeError,s.RuntimeError,s._Error,s.JsonUnsupportedObjectError,s.AssertionError,s.NullThrownError,s.ArgumentError,s.NoSuchMethodError,s.UnsupportedError,s.UnimplementedError,s.StateError,s.ConcurrentModificationError,s.CyclicInitializationError]);r(s.ListBase,s._ListBase_Object_ListMixin);r(s.UnmodifiableListBase,s.ListBase);n(s.UnmodifiableListBase,[s.CodeUnits,s.UnmodifiableListView]);n(s.Closure0Args,[s.nullFuture_closure,s._AsyncRun__scheduleImmediateJsOverride_internalCallback,s._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback,s._TimerImpl_internalCallback,s._TimerImpl$periodic_closure,s._Future__addListener_closure,s._Future__prependListeners_closure,s._Future__chainForeignFuture_closure1,s._Future__asyncCompleteWithValue_closure,s._Future__chainFuture_closure,s._Future__asyncCompleteError_closure,s._Future__propagateToListeners_handleWhenCompleteCallback,s._Future__propagateToListeners_handleValueCallback,s._Future__propagateToListeners_handleError,s.Stream_length_closure0,s._StreamController__subscribe_closure,s._StreamController__recordCancel_complete,s._AddStreamState_cancel_closure,s._BufferingStreamSubscription__sendError_sendError,s._BufferingStreamSubscription__sendDone_sendDone,s._PendingEvents_schedule_closure,s._CustomZone_bindCallback_closure,s._CustomZone_bindCallbackGuarded_closure,s._rootHandleError_closure,s._RootZone_bindCallback_closure,s._RootZone_bindCallbackGuarded_closure,s.Utf8Decoder__decoder_closure,s.Utf8Decoder__decoderNonfatal_closure,s.Parser__setOption_closure,s.StreamGroup_add_closure,s.StreamGroup_add_closure0,s.StreamGroup__listenToStream_closure,s.StreamQueue__ensureListening_closure0,s.ReplAdapter_runAsync_closure,s.ParsedPath__splitExtension_closure0,s.AsyncEnvironment_setVariable_closure,s.AsyncEnvironment_setVariable_closure1,s.AsyncImportCache_canonicalize_closure,s.AsyncImportCache_canonicalize_closure0,s.AsyncImportCache__canonicalize_closure,s.AsyncImportCache_importCanonical_closure,s.Environment_setVariable_closure,s.Environment_setVariable_closure1,s.ExecutableOptions__parser_closure,s.ExecutableOptions_interactive_closure,s.ExtensionStore__registerSelector_closure,s.ExtensionStore_addExtension_closure,s.ExtensionStore_addExtension_closure0,s.ExtensionStore_addExtension_closure1,s.ExtensionStore__extendExistingExtensions_closure,s.ExtensionStore__extendExistingExtensions_closure0,s.ExtensionStore_addExtensions___closure,s.ImportCache_canonicalize_closure,s.ImportCache_canonicalize_closure0,s.ImportCache__canonicalize_closure,s.ImportCache_importCanonical_closure,s.resolveImportPath_closure,s.resolveImportPath_closure0,s._tryPathAsDirectory_closure,s._realCasePath_helper_closure,s._readFile_closure,s.writeFile_closure,s.deleteFile_closure,s.fileExists_closure,s.dirExists_closure,s.ensureDir_closure,s.listDir_closure,s.modificationTime_closure,s.watchDir_closure3,s.watchDir__closure,s.AtRootQueryParser_parse_closure,s.KeyframeSelectorParser_parse_closure,s.MediaQueryParser_parse_closure,s.Parser__parseIdentifier_closure,s.SassParser_children_closure,s.SelectorParser_parse_closure,s.SelectorParser_parseCompoundSelector_closure,s.StylesheetParser_parse_closure,s.StylesheetParser_parse__closure,s.StylesheetParser_parseArgumentDeclaration_closure,s.StylesheetParser_parseVariableDeclaration_closure,s.StylesheetParser_parseUseRule_closure,s.StylesheetParser__parseSingleProduction_closure,s.StylesheetParser__statement_closure,s.StylesheetParser_variableDeclarationWithoutNamespace_closure,s.StylesheetParser_variableDeclarationWithoutNamespace_closure0,s.StylesheetParser__forRule_closure,s.StylesheetParser__memberList_closure,s.StylesheetParser__expression_resetState,s.StylesheetParser__expression_resolveOneOperation,s.StylesheetParser__expression_resolveOperations,s.StylesheetParser__expression_resolveSpaceExpressions,s.StylesheetParser_expressionUntilComma_closure,s.StylesheetParser_namespacedExpression_closure,s.StylesheetParser__expressionUntilComparison_closure,s.StylesheetParser__publicIdentifier_closure,s.StylesheetGraph_modifiedSince_transitiveModificationTime_closure,s.StylesheetGraph__add_closure,s.StylesheetGraph_addCanonical_closure,s.StylesheetGraph_reload_closure,s.StylesheetGraph__nodeFor_closure,s.StylesheetGraph__nodeFor_closure0,s.SassNumber__coerceOrConvertValue__compatibilityException,s.SassNumber__coerceOrConvertValue_closure0,s.SassNumber__coerceOrConvertValue_closure2,s.SassNumber_multiplyUnits_closure0,s.SassNumber_multiplyUnits_closure2,s.SingleUnitSassNumber_multiplyUnits_closure0,s._EvaluateVisitor__closure4,s._EvaluateVisitor_run_closure0,s._EvaluateVisitor__loadModule_closure1,s._EvaluateVisitor__loadModule_closure2,s._EvaluateVisitor__execute_closure0,s._EvaluateVisitor__extendModules_closure2,s._EvaluateVisitor_visitAtRootRule_closure2,s._EvaluateVisitor_visitAtRootRule_closure3,s._EvaluateVisitor_visitAtRootRule_closure4,s._EvaluateVisitor__scopeForAtRoot__closure0,s._EvaluateVisitor_visitContentRule_closure0,s._EvaluateVisitor_visitDeclaration_closure2,s._EvaluateVisitor_visitEachRule_closure4,s._EvaluateVisitor_visitExtendRule_closure0,s._EvaluateVisitor_visitAtRule_closure3,s._EvaluateVisitor_visitAtRule__closure0,s._EvaluateVisitor_visitForRule_closure4,s._EvaluateVisitor_visitForRule_closure5,s._EvaluateVisitor_visitForRule_closure6,s._EvaluateVisitor_visitForRule_closure7,s._EvaluateVisitor_visitForRule_closure8,s._EvaluateVisitor_visitIfRule_closure0,s._EvaluateVisitor__visitDynamicImport_closure0,s._EvaluateVisitor__visitDynamicImport__closure6,s._EvaluateVisitor_visitIncludeRule_closure3,s._EvaluateVisitor_visitIncludeRule_closure4,s._EvaluateVisitor_visitIncludeRule_closure5,s._EvaluateVisitor_visitIncludeRule__closure0,s._EvaluateVisitor_visitIncludeRule___closure0,s._EvaluateVisitor_visitIncludeRule____closure0,s._EvaluateVisitor_visitMediaRule_closure3,s._EvaluateVisitor_visitMediaRule__closure0,s._EvaluateVisitor_visitMediaRule___closure0,s._EvaluateVisitor__visitMediaQueries_closure0,s._EvaluateVisitor_visitStyleRule_closure7,s._EvaluateVisitor_visitStyleRule_closure8,s._EvaluateVisitor_visitStyleRule_closure10,s._EvaluateVisitor_visitStyleRule_closure11,s._EvaluateVisitor_visitStyleRule_closure12,s._EvaluateVisitor_visitStyleRule__closure0,s._EvaluateVisitor_visitSupportsRule_closure1,s._EvaluateVisitor_visitSupportsRule__closure0,s._EvaluateVisitor_visitVariableDeclaration_closure2,s._EvaluateVisitor_visitVariableDeclaration_closure3,s._EvaluateVisitor_visitVariableDeclaration_closure4,s._EvaluateVisitor_visitWarnRule_closure0,s._EvaluateVisitor_visitWhileRule_closure0,s._EvaluateVisitor_visitBinaryOperationExpression_closure0,s._EvaluateVisitor_visitVariableExpression_closure0,s._EvaluateVisitor_visitUnaryOperationExpression_closure0,s._EvaluateVisitor__visitCalculationValue_closure0,s._EvaluateVisitor_visitFunctionExpression_closure1,s._EvaluateVisitor_visitFunctionExpression_closure2,s._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0,s._EvaluateVisitor__runUserDefinedCallable_closure0,s._EvaluateVisitor__runUserDefinedCallable__closure0,s._EvaluateVisitor__runUserDefinedCallable___closure0,s._EvaluateVisitor__runFunctionCallable_closure0,s._EvaluateVisitor__runBuiltInCallable_closure1,s._EvaluateVisitor__verifyArguments_closure0,s._EvaluateVisitor_visitCssAtRule_closure1,s._EvaluateVisitor_visitCssKeyframeBlock_closure1,s._EvaluateVisitor_visitCssMediaRule_closure3,s._EvaluateVisitor_visitCssMediaRule__closure0,s._EvaluateVisitor_visitCssMediaRule___closure0,s._EvaluateVisitor_visitCssStyleRule_closure1,s._EvaluateVisitor_visitCssStyleRule__closure0,s._EvaluateVisitor_visitCssSupportsRule_closure1,s._EvaluateVisitor_visitCssSupportsRule__closure0,s._EvaluateVisitor__serialize_closure0,s._EvaluateVisitor__expressionNode_closure0,s._EvaluateVisitor__closure1,s._EvaluateVisitor_run_closure,s._EvaluateVisitor_runExpression_closure,s._EvaluateVisitor_runExpression__closure,s._EvaluateVisitor_runStatement_closure,s._EvaluateVisitor_runStatement__closure,s._EvaluateVisitor__loadModule_closure,s._EvaluateVisitor__loadModule_closure0,s._EvaluateVisitor__execute_closure,s._EvaluateVisitor__extendModules_closure0,s._EvaluateVisitor_visitAtRootRule_closure,s._EvaluateVisitor_visitAtRootRule_closure0,s._EvaluateVisitor_visitAtRootRule_closure1,s._EvaluateVisitor__scopeForAtRoot__closure,s._EvaluateVisitor_visitContentRule_closure,s._EvaluateVisitor_visitDeclaration_closure0,s._EvaluateVisitor_visitEachRule_closure1,s._EvaluateVisitor_visitExtendRule_closure,s._EvaluateVisitor_visitAtRule_closure0,s._EvaluateVisitor_visitAtRule__closure,s._EvaluateVisitor_visitForRule_closure,s._EvaluateVisitor_visitForRule_closure0,s._EvaluateVisitor_visitForRule_closure1,s._EvaluateVisitor_visitForRule_closure2,s._EvaluateVisitor_visitForRule_closure3,s._EvaluateVisitor_visitIfRule_closure,s._EvaluateVisitor__visitDynamicImport_closure,s._EvaluateVisitor__visitDynamicImport__closure2,s._EvaluateVisitor_visitIncludeRule_closure,s._EvaluateVisitor_visitIncludeRule_closure0,s._EvaluateVisitor_visitIncludeRule_closure1,s._EvaluateVisitor_visitIncludeRule__closure,s._EvaluateVisitor_visitIncludeRule___closure,s._EvaluateVisitor_visitIncludeRule____closure,s._EvaluateVisitor_visitMediaRule_closure0,s._EvaluateVisitor_visitMediaRule__closure,s._EvaluateVisitor_visitMediaRule___closure,s._EvaluateVisitor__visitMediaQueries_closure,s._EvaluateVisitor_visitStyleRule_closure,s._EvaluateVisitor_visitStyleRule_closure0,s._EvaluateVisitor_visitStyleRule_closure2,s._EvaluateVisitor_visitStyleRule_closure3,s._EvaluateVisitor_visitStyleRule_closure4,s._EvaluateVisitor_visitStyleRule__closure,s._EvaluateVisitor_visitSupportsRule_closure,s._EvaluateVisitor_visitSupportsRule__closure,s._EvaluateVisitor_visitVariableDeclaration_closure,s._EvaluateVisitor_visitVariableDeclaration_closure0,s._EvaluateVisitor_visitVariableDeclaration_closure1,s._EvaluateVisitor_visitWarnRule_closure,s._EvaluateVisitor_visitWhileRule_closure,s._EvaluateVisitor_visitBinaryOperationExpression_closure,s._EvaluateVisitor_visitVariableExpression_closure,s._EvaluateVisitor_visitUnaryOperationExpression_closure,s._EvaluateVisitor__visitCalculationValue_closure,s._EvaluateVisitor_visitFunctionExpression_closure,s._EvaluateVisitor_visitFunctionExpression_closure0,s._EvaluateVisitor_visitInterpolatedFunctionExpression_closure,s._EvaluateVisitor__runUserDefinedCallable_closure,s._EvaluateVisitor__runUserDefinedCallable__closure,s._EvaluateVisitor__runUserDefinedCallable___closure,s._EvaluateVisitor__runFunctionCallable_closure,s._EvaluateVisitor__runBuiltInCallable_closure,s._EvaluateVisitor__verifyArguments_closure,s._EvaluateVisitor_visitCssAtRule_closure,s._EvaluateVisitor_visitCssKeyframeBlock_closure,s._EvaluateVisitor_visitCssMediaRule_closure0,s._EvaluateVisitor_visitCssMediaRule__closure,s._EvaluateVisitor_visitCssMediaRule___closure,s._EvaluateVisitor_visitCssStyleRule_closure,s._EvaluateVisitor_visitCssStyleRule__closure,s._EvaluateVisitor_visitCssSupportsRule_closure,s._EvaluateVisitor_visitCssSupportsRule__closure,s._EvaluateVisitor__serialize_closure,s._EvaluateVisitor__expressionNode_closure,s._SerializeVisitor_visitCssComment_closure,s._SerializeVisitor_visitCssAtRule_closure,s._SerializeVisitor_visitCssMediaRule_closure,s._SerializeVisitor_visitCssImport_closure,s._SerializeVisitor_visitCssImport__closure,s._SerializeVisitor_visitCssKeyframeBlock_closure,s._SerializeVisitor_visitCssStyleRule_closure,s._SerializeVisitor_visitCssSupportsRule_closure,s._SerializeVisitor_visitCssDeclaration_closure,s._SerializeVisitor_visitCssDeclaration_closure0,s._SerializeVisitor__write_closure,s._SerializeVisitor__visitChildren_closure,s._SerializeVisitor__visitChildren_closure0,s.SingleMapping_SingleMapping$fromEntries_closure,s.SingleMapping_SingleMapping$fromEntries_closure0,s.Highlighter_closure,s.Highlighter__writeFileStart_closure,s.Highlighter__writeMultilineHighlights_closure,s.Highlighter__writeMultilineHighlights_closure0,s.Highlighter__writeMultilineHighlights_closure1,s.Highlighter__writeMultilineHighlights_closure2,s.Highlighter__writeMultilineHighlights__closure,s.Highlighter__writeMultilineHighlights__closure0,s.Highlighter__writeHighlightedText_closure,s.Highlighter__writeIndicator_closure,s.Highlighter__writeIndicator_closure0,s.Highlighter__writeIndicator_closure1,s.Highlighter__writeLabel_closure,s.Highlighter__writeLabel_closure0,s.Highlighter__writeSidebar_closure,s._Highlight_closure,s.Frame_Frame$parseVM_closure,s.Frame_Frame$parseV8_closure,s.Frame_Frame$_parseFirefoxEval_closure,s.Frame_Frame$parseFirefox_closure,s.Frame_Frame$parseFriendly_closure,s.LazyTrace_terse_closure,s.Trace_Trace$from_closure,s.TransformByHandlers_transformByHandlers_closure,s.TransformByHandlers_transformByHandlers__closure0,s.TransformByHandlers_transformByHandlers__closure2,s.RateLimit__debounceAggregate_closure_emit,s.RateLimit__debounceAggregate__closure,s.argumentListClass_closure,s.AsyncEnvironment_setVariable_closure2,s.AsyncEnvironment_setVariable_closure4,s._EvaluateVisitor__closure10,s._EvaluateVisitor_run_closure2,s._EvaluateVisitor__loadModule_closure5,s._EvaluateVisitor__loadModule_closure6,s._EvaluateVisitor__execute_closure2,s._EvaluateVisitor__extendModules_closure6,s._EvaluateVisitor_visitAtRootRule_closure8,s._EvaluateVisitor_visitAtRootRule_closure9,s._EvaluateVisitor_visitAtRootRule_closure10,s._EvaluateVisitor__scopeForAtRoot__closure2,s._EvaluateVisitor_visitContentRule_closure2,s._EvaluateVisitor_visitDeclaration_closure6,s._EvaluateVisitor_visitEachRule_closure10,s._EvaluateVisitor_visitExtendRule_closure2,s._EvaluateVisitor_visitAtRule_closure9,s._EvaluateVisitor_visitAtRule__closure2,s._EvaluateVisitor_visitForRule_closure14,s._EvaluateVisitor_visitForRule_closure15,s._EvaluateVisitor_visitForRule_closure16,s._EvaluateVisitor_visitForRule_closure17,s._EvaluateVisitor_visitForRule_closure18,s._EvaluateVisitor_visitIfRule_closure2,s._EvaluateVisitor__visitDynamicImport_closure2,s._EvaluateVisitor__visitDynamicImport__closure14,s._EvaluateVisitor_visitIncludeRule_closure11,s._EvaluateVisitor_visitIncludeRule_closure12,s._EvaluateVisitor_visitIncludeRule_closure13,s._EvaluateVisitor_visitIncludeRule__closure2,s._EvaluateVisitor_visitIncludeRule___closure2,s._EvaluateVisitor_visitIncludeRule____closure2,s._EvaluateVisitor_visitMediaRule_closure9,s._EvaluateVisitor_visitMediaRule__closure2,s._EvaluateVisitor_visitMediaRule___closure2,s._EvaluateVisitor__visitMediaQueries_closure2,s._EvaluateVisitor_visitStyleRule_closure23,s._EvaluateVisitor_visitStyleRule_closure24,s._EvaluateVisitor_visitStyleRule_closure26,s._EvaluateVisitor_visitStyleRule_closure27,s._EvaluateVisitor_visitStyleRule_closure28,s._EvaluateVisitor_visitStyleRule__closure2,s._EvaluateVisitor_visitSupportsRule_closure5,s._EvaluateVisitor_visitSupportsRule__closure2,s._EvaluateVisitor_visitVariableDeclaration_closure8,s._EvaluateVisitor_visitVariableDeclaration_closure9,s._EvaluateVisitor_visitVariableDeclaration_closure10,s._EvaluateVisitor_visitWarnRule_closure2,s._EvaluateVisitor_visitWhileRule_closure2,s._EvaluateVisitor_visitBinaryOperationExpression_closure2,s._EvaluateVisitor_visitVariableExpression_closure2,s._EvaluateVisitor_visitUnaryOperationExpression_closure2,s._EvaluateVisitor__visitCalculationValue_closure2,s._EvaluateVisitor_visitFunctionExpression_closure5,s._EvaluateVisitor_visitFunctionExpression_closure6,s._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2,s._EvaluateVisitor__runUserDefinedCallable_closure2,s._EvaluateVisitor__runUserDefinedCallable__closure2,s._EvaluateVisitor__runUserDefinedCallable___closure2,s._EvaluateVisitor__runFunctionCallable_closure2,s._EvaluateVisitor__runBuiltInCallable_closure5,s._EvaluateVisitor__verifyArguments_closure2,s._EvaluateVisitor_visitCssAtRule_closure5,s._EvaluateVisitor_visitCssKeyframeBlock_closure5,s._EvaluateVisitor_visitCssMediaRule_closure9,s._EvaluateVisitor_visitCssMediaRule__closure2,s._EvaluateVisitor_visitCssMediaRule___closure2,s._EvaluateVisitor_visitCssStyleRule_closure5,s._EvaluateVisitor_visitCssStyleRule__closure2,s._EvaluateVisitor_visitCssSupportsRule_closure5,s._EvaluateVisitor_visitCssSupportsRule__closure2,s._EvaluateVisitor__serialize_closure2,s._EvaluateVisitor__expressionNode_closure2,s.AsyncImportCache_canonicalize_closure1,s.AsyncImportCache_canonicalize_closure2,s.AsyncImportCache__canonicalize_closure0,s.AsyncImportCache_importCanonical_closure0,s.AtRootQueryParser_parse_closure0,s.legacyBooleanClass_closure,s.booleanClass_closure,s.colorClass_closure,s.compileAsync_closure,s.compileStringAsync_closure,s.Environment_setVariable_closure2,s.Environment_setVariable_closure4,s._EvaluateVisitor__closure7,s._EvaluateVisitor_run_closure1,s._EvaluateVisitor__loadModule_closure3,s._EvaluateVisitor__loadModule_closure4,s._EvaluateVisitor__execute_closure1,s._EvaluateVisitor__extendModules_closure4,s._EvaluateVisitor_visitAtRootRule_closure5,s._EvaluateVisitor_visitAtRootRule_closure6,s._EvaluateVisitor_visitAtRootRule_closure7,s._EvaluateVisitor__scopeForAtRoot__closure1,s._EvaluateVisitor_visitContentRule_closure1,s._EvaluateVisitor_visitDeclaration_closure4,s._EvaluateVisitor_visitEachRule_closure7,s._EvaluateVisitor_visitExtendRule_closure1,s._EvaluateVisitor_visitAtRule_closure6,s._EvaluateVisitor_visitAtRule__closure1,s._EvaluateVisitor_visitForRule_closure9,s._EvaluateVisitor_visitForRule_closure10,s._EvaluateVisitor_visitForRule_closure11,s._EvaluateVisitor_visitForRule_closure12,s._EvaluateVisitor_visitForRule_closure13,s._EvaluateVisitor_visitIfRule_closure1,s._EvaluateVisitor__visitDynamicImport_closure1,s._EvaluateVisitor__visitDynamicImport__closure10,s._EvaluateVisitor_visitIncludeRule_closure7,s._EvaluateVisitor_visitIncludeRule_closure8,s._EvaluateVisitor_visitIncludeRule_closure9,s._EvaluateVisitor_visitIncludeRule__closure1,s._EvaluateVisitor_visitIncludeRule___closure1,s._EvaluateVisitor_visitIncludeRule____closure1,s._EvaluateVisitor_visitMediaRule_closure6,s._EvaluateVisitor_visitMediaRule__closure1,s._EvaluateVisitor_visitMediaRule___closure1,s._EvaluateVisitor__visitMediaQueries_closure1,s._EvaluateVisitor_visitStyleRule_closure15,s._EvaluateVisitor_visitStyleRule_closure16,s._EvaluateVisitor_visitStyleRule_closure18,s._EvaluateVisitor_visitStyleRule_closure19,s._EvaluateVisitor_visitStyleRule_closure20,s._EvaluateVisitor_visitStyleRule__closure1,s._EvaluateVisitor_visitSupportsRule_closure3,s._EvaluateVisitor_visitSupportsRule__closure1,s._EvaluateVisitor_visitVariableDeclaration_closure5,s._EvaluateVisitor_visitVariableDeclaration_closure6,s._EvaluateVisitor_visitVariableDeclaration_closure7,s._EvaluateVisitor_visitWarnRule_closure1,s._EvaluateVisitor_visitWhileRule_closure1,s._EvaluateVisitor_visitBinaryOperationExpression_closure1,s._EvaluateVisitor_visitVariableExpression_closure1,s._EvaluateVisitor_visitUnaryOperationExpression_closure1,s._EvaluateVisitor__visitCalculationValue_closure1,s._EvaluateVisitor_visitFunctionExpression_closure3,s._EvaluateVisitor_visitFunctionExpression_closure4,s._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1,s._EvaluateVisitor__runUserDefinedCallable_closure1,s._EvaluateVisitor__runUserDefinedCallable__closure1,s._EvaluateVisitor__runUserDefinedCallable___closure1,s._EvaluateVisitor__runFunctionCallable_closure1,s._EvaluateVisitor__runBuiltInCallable_closure3,s._EvaluateVisitor__verifyArguments_closure1,s._EvaluateVisitor_visitCssAtRule_closure3,s._EvaluateVisitor_visitCssKeyframeBlock_closure3,s._EvaluateVisitor_visitCssMediaRule_closure6,s._EvaluateVisitor_visitCssMediaRule__closure1,s._EvaluateVisitor_visitCssMediaRule___closure1,s._EvaluateVisitor_visitCssStyleRule_closure3,s._EvaluateVisitor_visitCssStyleRule__closure1,s._EvaluateVisitor_visitCssSupportsRule_closure3,s._EvaluateVisitor_visitCssSupportsRule__closure1,s._EvaluateVisitor__serialize_closure1,s._EvaluateVisitor__expressionNode_closure1,s.exceptionClass_closure,s.ExtensionStore__registerSelector_closure0,s.ExtensionStore_addExtension_closure2,s.ExtensionStore_addExtension_closure3,s.ExtensionStore_addExtension_closure4,s.ExtensionStore__extendExistingExtensions_closure1,s.ExtensionStore__extendExistingExtensions_closure2,s.ExtensionStore_addExtensions___closure0,s.functionClass_closure,s.NodeImporter__tryPath_closure,s.ImportCache_canonicalize_closure1,s.ImportCache_canonicalize_closure2,s.ImportCache__canonicalize_closure0,s.ImportCache_importCanonical_closure0,s._realCasePath_helper_closure0,s.KeyframeSelectorParser_parse_closure0,s.render_closure,s._parseFunctions____closure,s._parseFunctions___closure1,s._parseImporter____closure,s._parseImporter___closure0,s.listClass_closure,s.mapClass_closure,s.MediaQueryParser_parse_closure0,s._readFile_closure0,s.fileExists_closure0,s.dirExists_closure0,s.listDir_closure0,s.NodeToDartLogger_warn_closure,s.NodeToDartLogger_debug_closure,s.legacyNullClass_closure,s.numberClass_closure,s.SassNumber__coerceOrConvertValue__compatibilityException0,s.SassNumber__coerceOrConvertValue_closure4,s.SassNumber__coerceOrConvertValue_closure6,s.SassNumber_multiplyUnits_closure4,s.SassNumber_multiplyUnits_closure6,s.Parser__parseIdentifier_closure0,s.main_closure,s.SassParser_children_closure0,s.SelectorParser_parse_closure0,s.SelectorParser_parseCompoundSelector_closure0,s._SerializeVisitor_visitCssComment_closure0,s._SerializeVisitor_visitCssAtRule_closure0,s._SerializeVisitor_visitCssMediaRule_closure0,s._SerializeVisitor_visitCssImport_closure0,s._SerializeVisitor_visitCssImport__closure0,s._SerializeVisitor_visitCssKeyframeBlock_closure0,s._SerializeVisitor_visitCssStyleRule_closure0,s._SerializeVisitor_visitCssSupportsRule_closure0,s._SerializeVisitor_visitCssDeclaration_closure1,s._SerializeVisitor_visitCssDeclaration_closure2,s._SerializeVisitor__write_closure0,s._SerializeVisitor__visitChildren_closure1,s._SerializeVisitor__visitChildren_closure2,s.SingleUnitSassNumber_multiplyUnits_closure2,s.stringClass_closure,s.StylesheetParser_parse_closure0,s.StylesheetParser_parse__closure1,s.StylesheetParser_parseArgumentDeclaration_closure0,s.StylesheetParser__parseSingleProduction_closure0,s.StylesheetParser_parseSignature_closure,s.StylesheetParser__statement_closure0,s.StylesheetParser_variableDeclarationWithoutNamespace_closure1,s.StylesheetParser_variableDeclarationWithoutNamespace_closure2,s.StylesheetParser__forRule_closure1,s.StylesheetParser__memberList_closure0,s.StylesheetParser__expression_resetState0,s.StylesheetParser__expression_resolveOneOperation0,s.StylesheetParser__expression_resolveOperations0,s.StylesheetParser__expression_resolveSpaceExpressions0,s.StylesheetParser_expressionUntilComma_closure0,s.StylesheetParser_namespacedExpression_closure0,s.StylesheetParser__expressionUntilComparison_closure0,s.StylesheetParser__publicIdentifier_closure0,s.resolveImportPath_closure1,s.resolveImportPath_closure2,s._tryPathAsDirectory_closure0,s.valueClass_closure]);n(s.EfficientLengthIterable,[s.ListIterable,s.EmptyIterable,s.LinkedHashMapKeyIterable,s._HashMapKeyIterable,s._MapBaseValueIterable]);n(s.ListIterable,[s.SubListIterable,s.MappedListIterable,s.ReversedListIterable,s.ListQueue,s._GeneratorIterable]);r(s.EfficientLengthMappedIterable,s.MappedIterable);n(s.Iterator,[s.MappedIterator,s.WhereIterator,s.TakeIterator,s.SkipIterator,s.SkipWhileIterator]);r(s.EfficientLengthTakeIterable,s.TakeIterable);r(s.EfficientLengthSkipIterable,s.SkipIterable);r(s.EfficientLengthFollowedByIterable,s.FollowedByIterable);n(s.MapView,[s._UnmodifiableMapView_MapView__UnmodifiableMapMixin,s.PathMap]);r(s.UnmodifiableMapView,s._UnmodifiableMapView_MapView__UnmodifiableMapMixin);r(s.ConstantMapView,s.UnmodifiableMapView);n(s.ConstantMap,[s.ConstantStringMap,s.GeneralConstantMap]);r(s.Instantiation1,s.Instantiation);r(s.NullError,s.TypeError);n(s.TearOffClosure,[s.StaticClosure,s.BoundClosure]);n(s.IterableBase,[s._AllMatchesIterable,s._SyncStarIterable,s._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin,s._PrefixedKeys,s._UnprefixedKeys,s._PrefixedKeys0,s._UnprefixedKeys0]);r(s.NativeTypedArray,s.NativeTypedData);n(s.NativeTypedArray,[s._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin,s._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);r(s._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin,s._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);r(s.NativeTypedArrayOfDouble,s._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);r(s._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin,s._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);r(s.NativeTypedArrayOfInt,s._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);n(s.NativeTypedArrayOfInt,[s.NativeInt16List,s.NativeInt32List,s.NativeInt8List,s.NativeUint16List,s.NativeUint32List,s.NativeUint8ClampedList,s.NativeUint8List]);r(s._TypeError,s._Error);n(s._Completer,[s._AsyncCompleter,s._SyncCompleter]);n(s._StreamController,[s._AsyncStreamController,s._SyncStreamController]);n(s.Stream,[s._StreamImpl,s._ForwardingStream,s._CompleterStream]);r(s._ControllerStream,s._StreamImpl);n(s._BufferingStreamSubscription,[s._ControllerSubscription,s._ForwardingStreamSubscription]);r(s._StreamControllerAddStreamState,s._AddStreamState);n(s._DelayedEvent,[s._DelayedData,s._DelayedError]);r(s._StreamImplEvents,s._PendingEvents);r(s._ExpandStream,s._ForwardingStream);n(s._Zone,[s._CustomZone,s._RootZone]);r(s._IdentityHashMap,s._HashMap);n(s.JsLinkedHashMap,[s._LinkedIdentityHashMap,s._LinkedCustomHashMap]);r(s._SetBase,s.__SetBase_Object_SetMixin);n(s._SetBase,[s._LinkedHashSet,s.__UnmodifiableSet__SetBase__UnmodifiableSetMixin]);r(s._LinkedIdentityHashSet,s._LinkedHashSet);r(s._UnmodifiableSet,s.__UnmodifiableSet__SetBase__UnmodifiableSetMixin);n(s.Codec,[s.Encoding,s.Base64Codec,s.JsonCodec]);n(s.Encoding,[s.AsciiCodec,s.Utf8Codec]);r(s.Converter,s.StreamTransformerBase);n(s.Converter,[s._UnicodeSubsetEncoder,s.Base64Encoder,s.JsonEncoder,s.Utf8Encoder,s.Utf8Decoder]);r(s.AsciiEncoder,s._UnicodeSubsetEncoder);r(s.ByteConversionSink,s.ChunkedConversionSink);n(s.ByteConversionSink,[s.ByteConversionSinkBase,s._Utf8StringSinkAdapter]);r(s._Base64EncoderSink,s.ByteConversionSinkBase);r(s._Utf8Base64EncoderSink,s._Base64EncoderSink);r(s.JsonCyclicError,s.JsonUnsupportedObjectError);r(s._JsonStringStringifier,s._JsonStringifier);r(s.StringConversionSinkBase,s.StringConversionSinkMixin);r(s._StringSinkConversionSink,s.StringConversionSinkBase);r(s._StringCallbackSink,s._StringSinkConversionSink);n(s.ArgumentError,[s.RangeError,s.IndexError]);r(s._DataUri,s._Uri);r(s.ArgParserException,s.FormatException);r(s.EmptyUnmodifiableSet,s._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);r(s.QueueList,s._QueueList_Object_ListMixin);r(s._CastQueueList,s.QueueList);n(s._DelegatingIterableBase,[s.DelegatingSet,s._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);r(s._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin,s.DelegatingSet);r(s.UnmodifiableSetView,s._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);r(s.MapKeySet,s._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);n(s.NodeJsError,[s.JsAssertionError,s.JsRangeError,s.JsReferenceError,s.JsSyntaxError,s.JsTypeError,s.JsSystemError]);n(s.Socket,[s.TTYReadStream,s.TTYWriteStream]);r(s.InternalStyle,s.Style);n(s.InternalStyle,[s.PosixStyle,s.UrlStyle,s.WindowsStyle]);r(s.CssNode,s.AstNode);n(s.CssNode,[s.ModifiableCssNode,s.CssParentNode]);n(s.ModifiableCssNode,[s.ModifiableCssParentNode,s.ModifiableCssComment,s.ModifiableCssDeclaration,s.ModifiableCssImport]);n(s.ModifiableCssParentNode,[s.ModifiableCssAtRule,s.ModifiableCssKeyframeBlock,s.ModifiableCssMediaRule,s.ModifiableCssStyleRule,s.ModifiableCssStylesheet,s.ModifiableCssSupportsRule]);r(s._IsInvisibleVisitor,s.EveryCssVisitor);r(s.CssStylesheet,s.CssParentNode);n(s.ParentStatement,[s.AtRootRule,s.AtRule,s.CallableDeclaration,s.Declaration,s.EachRule,s.ForRule,s.MediaRule,s.StyleRule,s.Stylesheet,s.SupportsRule,s.WhileRule]);n(s.CallableDeclaration,[s.ContentBlock,s.FunctionRule,s.MixinRule]);n(s.IfRuleClause,[s.IfClause,s.ElseClause]);r(s._HasContentVisitor,s.StatementSearchVisitor);n(s.AnySelectorVisitor,[s._IsInvisibleVisitor0,s._IsBogusVisitor,s._IsUselessVisitor]);n(s.Selector,[s.SimpleSelector,s.ComplexSelector,s.CompoundSelector,s.SelectorList]);n(s.SimpleSelector,[s.AttributeSelector,s.ClassSelector,s.IDSelector,s.ParentSelector,s.PlaceholderSelector,s.PseudoSelector,s.TypeSelector,s.UniversalSelector]);r(s.ExplicitConfiguration,s.Configuration);n(s.SourceSpanException,[s.SassException,s.SourceSpanFormatException,s.SassException0]);n(s.SassException,[s.MultiSpanSassException,s.SassRuntimeException,s.SassFormatException]);r(s.MultiSpanSassRuntimeException,s.MultiSpanSassException);r(s.MultiSpanSassScriptException,s.SassScriptException);r(s.MergedExtension,s.Extension);r(s.Importer,s.AsyncImporter);r(s.FilesystemImporter,s.Importer);n(s.Parser,[s.AtRootQueryParser,s.StylesheetParser,s.KeyframeSelectorParser,s.MediaQueryParser,s.SelectorParser]);n(s.StylesheetParser,[s.ScssParser,s.SassParser]);r(s.CssParser,s.ScssParser);n(s.UnmodifiableMapBase,[s.LimitedMapView,s.PrefixedMapView,s.PublicMemberMapView,s.UnprefixedMapView,s.LimitedMapView0,s.PrefixedMapView0,s.PublicMemberMapView0,s.UnprefixedMapView0]);n(s.Value,[s.SassList,s.SassBoolean,s.SassCalculation,s.SassColor,s.SassFunction,s.SassMap,s._SassNull,s.SassNumber,s.SassString]);r(s.SassArgumentList,s.SassList);n(s.SassNumber,[s.ComplexSassNumber,s.SingleUnitSassNumber,s.UnitlessSassNumber]);r(s._FindDependenciesVisitor,s.RecursiveStatementVisitor);r(s.SingleMapping,s.Mapping);r(s.FileLocation,s.SourceLocationMixin);n(s.SourceSpanMixin,[s._FileSpan,s.SourceSpanBase]);r(s.SourceSpanWithContext,s.SourceSpanBase);r(s.StringScannerException,s.SourceSpanFormatException);n(s.StringScanner,[s.LineScanner,s.SpanScanner]);n(s.Value0,[s.SassList0,s.SassBoolean0,s.SassCalculation0,s.SassColor0,s.SassNumber0,s.SassFunction0,s.SassMap0,s._SassNull0,s.SassString0]);r(s.SassArgumentList0,s.SassList0);n(s.AsyncImporter0,[s.NodeToDartAsyncImporter,s.NodeToDartAsyncFileImporter,s.Importer0]);n(s.Parser1,[s.AtRootQueryParser0,s.StylesheetParser0,s.KeyframeSelectorParser0,s.MediaQueryParser0,s.SelectorParser0]);n(s.ParentStatement0,[s.AtRootRule0,s.AtRule0,s.CallableDeclaration0,s.Declaration0,s.EachRule0,s.ForRule0,s.MediaRule0,s.StyleRule0,s.Stylesheet0,s.SupportsRule0,s.WhileRule0]);r(s.CssNode0,s.AstNode0);n(s.CssNode0,[s.ModifiableCssNode0,s.CssParentNode0]);n(s.ModifiableCssNode0,[s.ModifiableCssParentNode0,s.ModifiableCssComment0,s.ModifiableCssDeclaration0,s.ModifiableCssImport0]);n(s.ModifiableCssParentNode0,[s.ModifiableCssAtRule0,s.ModifiableCssKeyframeBlock0,s.ModifiableCssMediaRule0,s.ModifiableCssStyleRule0,s.ModifiableCssStylesheet0,s.ModifiableCssSupportsRule0]);n(s.Selector0,[s.SimpleSelector0,s.ComplexSelector0,s.CompoundSelector0,s.SelectorList0]);n(s.SimpleSelector0,[s.AttributeSelector0,s.ClassSelector0,s.IDSelector0,s.ParentSelector0,s.PlaceholderSelector0,s.PseudoSelector0,s.TypeSelector0,s.UniversalSelector0]);r(s.CompileStringOptions,s.CompileOptions);n(s.SassNumber0,[s.ComplexSassNumber0,s.SingleUnitSassNumber0,s.UnitlessSassNumber0]);r(s.ExplicitConfiguration0,s.Configuration0);n(s.CallableDeclaration0,[s.ContentBlock0,s.FunctionRule0,s.MixinRule0]);n(s.StylesheetParser0,[s.ScssParser0,s.SassParser0]);r(s.CssParser0,s.ScssParser0);r(s._NodeException,s.JsError);n(s.SassException0,[s.MultiSpanSassException0,s.SassRuntimeException0,s.SassFormatException0]);r(s.MultiSpanSassRuntimeException0,s.MultiSpanSassException0);r(s.MultiSpanSassScriptException0,s.SassScriptException0);n(s.Importer0,[s.NodeToDartFileImporter,s.FilesystemImporter0,s.NoOpImporter,s.NodeToDartImporter]);n(s.IfRuleClause0,[s.IfClause0,s.ElseClause0]);r(s.MergedExtension0,s.Extension0);r(s._HasContentVisitor0,s.StatementSearchVisitor0);r(s._IsInvisibleVisitor1,s.EveryCssVisitor0);n(s.AnySelectorVisitor0,[s._IsInvisibleVisitor2,s._IsBogusVisitor0,s._IsUselessVisitor0]);r(s.CssStylesheet0,s.CssParentNode0);e(s.UnmodifiableListBase,s.UnmodifiableListMixin);e(s.__CastListBase__CastIterableBase_ListMixin,s.ListMixin);e(s._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin,s.ListMixin);e(s._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin,s.FixedLengthListMixin);e(s._NativeTypedArrayOfInt_NativeTypedArray_ListMixin,s.ListMixin);e(s._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin,s.FixedLengthListMixin);e(s._AsyncStreamController,s._AsyncStreamControllerDispatch);e(s._SyncStreamController,s._SyncStreamControllerDispatch);e(s.UnmodifiableMapBase,s._UnmodifiableMapMixin);e(s._ListBase_Object_ListMixin,s.ListMixin);e(s._UnmodifiableMapView_MapView__UnmodifiableMapMixin,s._UnmodifiableMapMixin);e(s.__SetBase_Object_SetMixin,s.SetMixin);e(s.__UnmodifiableSet__SetBase__UnmodifiableSetMixin,s._UnmodifiableSetMixin);e(s._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin,s.UnmodifiableSetMixin);e(s._QueueList_Object_ListMixin,s.ListMixin);e(s._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin,s.UnmodifiableSetMixin);e(s._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin,s.UnmodifiableSetMixin)})();var _={typeUniverse:{eC:new Map,tR:{},eT:{},tPV:{},sEA:[]},mangledGlobalNames:{int:"int",double:"double",num:"num",String:"String",bool:"bool",Null:"Null",List:"List"},mangledNames:{},types:["~()","Null()","Future()","Value0(List)","Value(List)","String(String)","bool(CssNode0)","bool(CssNode)","bool(String)","bool(Object?)","SassNumber0(List)","SassNumber(List)","int()","bool(SimpleSelector)","bool(SimpleSelector0)","bool(ComplexSelector)","bool(ComplexSelector0)","SassString0(List)","SassString(List)","SassBoolean0(List)","SassBoolean(List)","SassList0(List)","SassList(List)","JSClass0()","SassColor0(List)","SassColor(List)","~(Object?)","Null(~())","bool()","Future(Future<~>())","bool(int?)","String()","FileSpan()","Value?()","Value0(Value0)","SassMap(List)","Value(Value)","Value0?()","Value()","Future<~>()","SassMap0(List)","int(num)","String?()","bool(num,num)","Value0()","List()","bool(Value0)","String(Object)","SelectorList0()","SelectorList()","~(Value,Value)","num(SassColor0)","bool(ComplexSelectorComponent0)","bool(ComplexSelectorComponent)","~(Value0,Value0)","~(Value)","num(num,num)","bool(int)","~(Value0)","ValueExpression(Value)","ValueExpression0(Value0)","Null(@)","Future()","Frame()","Future()","bool(Value)","~(Module)","Frame(String)","bool(SelectorList)","~(Module0)","ComplexSelector(ComplexSelector)","Future()","Null(Object,StackTrace)","Future()","ComplexSelector0(ComplexSelector0)","~(Object,StackTrace)","bool(SelectorList0)","Tuple3?()","List?(List)","SassRuntimeException(AstNode)","@(@)","Future(Object?)","Uri(Uri)","Future(Statement)","Value0?(Statement0)","Value?(Statement)","Object()","@()","Declaration(List,FileSpan)","SassRuntimeException0(AstNode0)","num(num)","~(String,Value0)","String(@)","Declaration0(List,FileSpan)","Future(List)","List?(List)","~(String,Value)","Null(_NodeSassColor,num)","int(Uri)","Future(Statement0)","Null([Object?])","Stylesheet?()","AtRootQuery0()","Iterable(Module)","bool(Module)","AsyncCallable0?()","Iterable(Module)","bool(Module0)","Null(Module0)","Iterable(Module0)","List()","bool(ModifiableCssNode0)","String(Expression)","~(~())","Statement()","bool(ModifiableCssNode)","bool(Module)","Callable0?()","Map()","bool(_Highlight)","bool(@)","Callable?()","num(Value)","~(@)","num(Value0)","int(_NodeSassColor)","~(String)","int(SassColor0)","String(Expression0)","~(String,Object?)","Iterable(Module0)","bool(Module0)","AsyncCallable?()","~(Object)","Map()","bool(Object)","String(String{color:@})","AtRootQuery()","Statement0()","List()","int(Object?)","Null(Module)","SassNumber0(SassNumber0,Object,Object[String?])","AstNode?()","SelectorList(Value)","SelectorList(SelectorList,SelectorList)","Uri?()","Uri(String)","~(Object[StackTrace?])","Iterable()","Iterable(String)","Iterable(@)","DateTime()","~(String[~])","bool(Statement)","bool(Import)","int(int)","VariableDeclaration()","Set<0^>()","AtRootRule(List,FileSpan)","AtRule(List,FileSpan)","~(@,@)","Entry(Entry)","~(Object?,Object?)","num(num,String)","AstNode(AstNode)","SassFunction(List)","~(Module)","Map(Module)","List()","AsyncCallable?(Module)","bool(ModifiableCssParentNode)","MapKeySet>(Map,AstNode>)","Future()","Map(Module)","bool(UseRule)","bool(ForwardRule)","Future?>()","Uri?/()","Future()","Object(Object)","String(SassNumber)","Future(List)","Frame(Tuple2)","SassNumber()","Trace(String)","int(Frame)","String(Frame)","Callable?(Module)","Trace()","MapKeySet>(Map,AstNode>)","bool(Frame)","AsyncCallable0?(Module0)","MapKeySet>(Map,AstNode0>)","Map(Module0)","AstNode0(AstNode0)","~(Uint8List,String,int)","SassFunction0(List)","~(Iterable)","~(Module0)","List()","bool(ModifiableCssParentNode0)","List()","Future()","bool(UseRule0)","bool(ForwardRule0)","AstNode0?()","String(SassNumber0)","Frame(Tuple2)","Future?>()","0&(@[@])","bool(Queue)","~([Object?])","String(Value0)","~(String,@)","String(int)","bool(Object?,Object?)","Future()","AsyncImporter0(Object?)","num(num,num?,num)","~(Iterable)","int(int,num?)","Callable0?(Module0)","MapKeySet>(Map,AstNode0>)","Map(Module0)","Value0?(Value0)","Future<~>?()","SassNumber0()","String(_NodeException)","List()","bool(Statement0)","bool(Import0)","Tuple3?()","Value0(int)","@(Value0,num)","Object(_NodeSassMap,int)","Null(_NodeSassMap,int,Object)","bool(SassNumber0)","ImmutableList(SassNumber0)","bool(SassNumber0,String)","SassNumber0(SassNumber0,SassNumber0[String?,String?])","num(SassNumber0,Object,Object[String?])","num(SassNumber0,SassNumber0[String?,String?])","~(String,Function)","SelectorList0(Value0)","SelectorList0(SelectorList0,SelectorList0)","FileLocation(FileSpan)","String(FileSpan)","int(SourceLocation)","bool(String?)","AtRootRule0(List,FileSpan)","AtRule0(List,FileSpan)","int(@,@)","num?(String,num{assertPercent:bool,checkPercent:bool})","Module(Module)","StyleRule(List,FileSpan)","UserDefinedCallable(ContentBlock)","Value?(Module)","Value(Expression)","~(ContentBlock)","~(List)","~(CssMediaQuery)","~(MapEntry)","SourceFile()","SourceFile?(int)","String?(SourceFile?)","int(_Line)","Module?(Module)","Object(_Line)","Object(_Highlight)","int(_Highlight,_Highlight)","List<_Line>(MapEntry>)","SourceSpanWithContext()","String(int,IfClause)","List(Trace)","int(Trace)","EachRule(List,FileSpan)","String(Trace)","FunctionRule(List,FileSpan)","ForRule(List,FileSpan)","Frame(String,String)","ContentBlock(List,FileSpan)","MediaRule(List,FileSpan)","MixinRule(List,FileSpan)","Frame(Frame)","FileSpan?(MapEntry,AstNode>)","Map(Module)","Map(Module)","String(Argument0)","int(String?)","SassArgumentList0(Object,Object,Object[String?])","ImmutableMap(SassArgumentList0)","@(String)","ArgParser()","Value0?(Module0)","Module0?(Module0)","SassString(SimpleSelector)","SupportsRule(List,FileSpan)","FileSpan?(MapEntry,AstNode0>)","Map(Module0)","Map(Module0)","Iterable(ComplexSelector)","Uint8List(@,@)","Future>(Interpolation0{trim:bool,warnForColor:bool})","~(Expression)","~(BinaryOperator)","List(List)","String(Argument)","StringExpression(Interpolation)","Future<~>(List)","bool(Extension)","DateTime(StylesheetNode)","Future()","Set>()","Module0(Module0)","~(Uri,StylesheetNode?)","Object?(Object?)","SimpleSelector(SimpleSelector)","Future>(Expression0)","Value(Object)","~(SimpleSelector,Map)","Future(Value0)","~(ComplexSelector,Extension)","Null(Map>)","Future>(Interpolation0)","Map>?(List)","Expression(Expression)","~(Set>)","Value?(Module)","SassScriptException()","UserDefinedCallable0(ContentBlock0)","Iterable(List)","List(Extender)","List?(SimpleSelector)","List(PseudoSelector)","List>(List)","List(ComplexSelector)","PseudoSelector(ComplexSelector)","Future(Expression0)","~(SimpleSelector,Set>)","List?(List,List)","bool(Queue>)","bool(Tuple3)","SingleUnitSassNumber(num)","Future>(Interpolation{trim:bool,warnForColor:bool})","Uri(Tuple3)","Future()","bool(Tuple3)","Uri(Tuple3)","@(@,String)","0&(Object[Object?])","~(int,@)","Expression0(Expression0)","bool(List>)","bool(PseudoSelector)","SelectorList?(PseudoSelector)","Future<~>(List)","SassNumber(Value)","0&(List)","~(String,Option)","Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])","Future()","num(_NodeSassColor)","_Future<@>(@)","SassColor0(Object,_Channels)","SassColor0(SassColor0,_Channels)","Module?(Module)","~([Future<~>?])","String(BuiltInCallable)","~(@,StackTrace)","AsyncImporter0(NodeImporter0)","0&(@)","String(Combinator)","String(Combinator0)","String(MapEntry)","String(BuiltInCallable0)","Future>(Expression)","CompoundSelector()","Value0?(Module0)","Module0?(Module0)","FileSpan?(MapEntry,AstNode>)","Future(Value)","FileSpan?(MapEntry,AstNode0>)","Map(Module0)","Map(Module0)","Map(Module)","String(Value)","CssValue0(Interpolation0{trim:bool,warnForColor:bool})","Object(Value0)","~(List)","0&(List)","EvaluateResult0()","Module0(Module0)","CssValue0(Expression0)","Future>(Interpolation)","Map(Module)","CssValue0(Interpolation0)","Statement({root:bool})","UserDefinedCallable0(ContentBlock0)","Value0(Expression0)","Null(@,StackTrace)","FileSpan(_NodeException)","bool(Extension0)","Set>()","Null(@,@)","Expression({bracketList:bool,singleEquals:bool,until:bool()?})","~(SimpleSelector0,Map)","~(ComplexSelector0,Extension0)","Null(Map>)","Map>?(List)","~(Set>)","Iterable(List)","List(Value)","List(Extender0)","List?(SimpleSelector0)","List(PseudoSelector0)","List>(List)","List(ComplexSelector0)","PseudoSelector0(ComplexSelector0)","~(SimpleSelector0,Set>)","SassFunction0(Object,String,Value0(List))","List?(List,List)","bool(Queue>)","bool(List>)","bool(List)","bool(PseudoSelector0)","SelectorList0?(PseudoSelector0)","String(int,IfClause0)","Stylesheet()","UserDefinedCallable(ContentBlock)","~(Object?,Object,Object?)","Tuple2(String)","~(Symbol0,@)","Stylesheet0?()","bool(Tuple3)","bool(String?,String?)","Null(RenderResult)","JSFunction0(JSFunction0)","Object?(Object,String,String[Object?])","Null(Object)","Null(Function,Function)","List(Value0)","bool(List)","SassList0(ComplexSelector0)","Iterable(ComplexSelector0)","SimpleSelector0(SimpleSelector0)","Null(_NodeSassList,int?[bool?,SassList0?])","Statement?()","Object(_NodeSassList,int)","Null(_NodeSassList,int,Object)","bool(_NodeSassList)","Null(_NodeSassList,bool)","int(_NodeSassList)","SassList0(Object[Object?,_ConstructorOptions?])","VariableDeclaration(VariableDeclaration)","String(Tuple2)","SassMap0(Value0)","SassMap0(SassMap0)","Null(_NodeSassMap,int?[SassMap0?])","SassNumber0(int)","Future()","int(_NodeSassMap)","ArgumentDeclaration()","SassMap0(Object[ImmutableMap?])","ImmutableMap(SassMap0)","@(SassMap0,Object)","SassNumber0(Value0)","Value0(Object)","~(String,WarnOptions)","~(String,DebugOptions)","Null(_NodeSassNumber,num?[String?,SassNumber0?])","num(_NodeSassNumber)","Null(_NodeSassNumber,num)","String(_NodeSassNumber)","Null(_NodeSassNumber,String)","SassNumber0(Object,num[Object?])","num(SassNumber0)","Future(Expression)","int?(SassNumber0)","bool(Tuple3)","int(SassNumber0[String?])","num(SassNumber0,num,num[String?])","SassNumber0(SassNumber0[String?])","SassNumber0(SassNumber0,String[String?])","Uri(Tuple3)","WhileRule(List,FileSpan)","~(String,int)","String(Tuple2)","UseRule()","SassScriptException0()","String(Object,@,@[@])","Future<@>()","~(String,StackTrace?)","SassList(ComplexSelector)","CssValue(Interpolation{trim:bool,warnForColor:bool})","SassString0(SimpleSelector0)","CompoundSelector0()","~(CssMediaQuery0)","~(MapEntry)","SingleUnitSassNumber0(num)","~(String,int?)","JSUrl0?(FileSpan)","~(List)","String(MapEntry)","Null(_NodeSassString,String?[SassString0?])","String(_NodeSassString)","Null(_NodeSassString,String)","SassString0(Object[Object?,_ConstructorOptions1?])","String(SassString0)","bool(SassString0)","int(SassString0)","int(SassString0,Value0[String?])","Statement0({root:bool})","String(String?)","Stylesheet0()","Statement0?()","VariableDeclaration0(VariableDeclaration0)","ArgumentDeclaration0()","Tuple2()","VariableDeclaration0()","EvaluateResult()","StyleRule0(List,FileSpan)","Module(Module)","EachRule0(List,FileSpan)","FunctionRule0(List,FileSpan)","ForRule0(List,FileSpan)","ContentBlock0(List,FileSpan)","MediaRule0(List,FileSpan)","MixinRule0(List,FileSpan)","CssValue(Expression)","SupportsRule0(List,FileSpan)","WhileRule0(List,FileSpan)","~(Expression0)","~(BinaryOperator0)","StringExpression0(Interpolation0)","Null(~(Object?),~(Object?))","ImmutableList(Value0)","String?(Value0)","int(Value0,Value0[String?])","SassBoolean0(Value0[String?])","SassColor0(Value0[String?])","SassFunction0(Value0[String?])","SassMap0(Value0[String?])","SassNumber0(Value0[String?])","SassString0(Value0[String?])","SassMap0?(Value0)","bool(Value0,Object?)","int(Value0[Object?])","Value?(Value)","SassMap(Value)","SassMap(SassMap)","~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)","0^(Zone?,ZoneDelegate?,Zone,0^())","0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)","0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)","0^()(Zone,ZoneDelegate,Zone,0^())","0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))","0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))","AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)","~(Zone?,ZoneDelegate?,Zone,~())","Timer(Zone,ZoneDelegate,Zone,Duration,~())","Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))","~(Zone,ZoneDelegate,Zone,String)","Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map?)","int(int,int)","0^(0^,0^)","CssValue(Interpolation)","~(Object,StackTrace,EventSink<0^>)","List<0^>(0^,List<0^>?)","NodeCompileResult(String[CompileOptions?])","NodeCompileResult(String[CompileStringOptions?])","Promise(String[CompileOptions?])","Promise(String[CompileStringOptions?])","Importer0(Object?)","List(Object?)","~(RenderOptions,~(Object?,RenderResult?))","RenderResult(RenderOptions)","Future<~>(List)","Uri(JSUrl0)","JSUrl0(Uri)","String(String[String?,String?,String?,String?,String?,String?])","Uri(Tuple3)","Future<~>(String)"],interceptorsByTag:null,leafTags:null,arrayRti:Symbol("$ti")};s._Universe_addRules(_.typeUniverse,JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Stdin":"LegacyJavaScriptObject","Stdout":"LegacyJavaScriptObject","ReadlineModule":"LegacyJavaScriptObject","ReadlineOptions":"LegacyJavaScriptObject","ReadlineInterface":"LegacyJavaScriptObject","BufferModule":"LegacyJavaScriptObject","BufferConstants":"LegacyJavaScriptObject","Buffer":"LegacyJavaScriptObject","ConsoleModule":"LegacyJavaScriptObject","Console":"LegacyJavaScriptObject","EventEmitter":"LegacyJavaScriptObject","FS":"LegacyJavaScriptObject","FSConstants":"LegacyJavaScriptObject","FSWatcher":"LegacyJavaScriptObject","ReadStream":"LegacyJavaScriptObject","ReadStreamOptions":"LegacyJavaScriptObject","WriteStream":"LegacyJavaScriptObject","WriteStreamOptions":"LegacyJavaScriptObject","FileOptions":"LegacyJavaScriptObject","StatOptions":"LegacyJavaScriptObject","MkdirOptions":"LegacyJavaScriptObject","RmdirOptions":"LegacyJavaScriptObject","WatchOptions":"LegacyJavaScriptObject","WatchFileOptions":"LegacyJavaScriptObject","Stats":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","Date":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","Atomics":"LegacyJavaScriptObject","Modules":"LegacyJavaScriptObject","Module1":"LegacyJavaScriptObject","Net":"LegacyJavaScriptObject","Socket":"LegacyJavaScriptObject","NetAddress":"LegacyJavaScriptObject","NetServer":"LegacyJavaScriptObject","NodeJsError":"LegacyJavaScriptObject","JsAssertionError":"LegacyJavaScriptObject","JsRangeError":"LegacyJavaScriptObject","JsReferenceError":"LegacyJavaScriptObject","JsSyntaxError":"LegacyJavaScriptObject","JsTypeError":"LegacyJavaScriptObject","JsSystemError":"LegacyJavaScriptObject","Process":"LegacyJavaScriptObject","CPUUsage":"LegacyJavaScriptObject","Release":"LegacyJavaScriptObject","StreamModule":"LegacyJavaScriptObject","Readable":"LegacyJavaScriptObject","Writable":"LegacyJavaScriptObject","Duplex":"LegacyJavaScriptObject","Transform":"LegacyJavaScriptObject","WritableOptions":"LegacyJavaScriptObject","ReadableOptions":"LegacyJavaScriptObject","Immediate":"LegacyJavaScriptObject","Timeout":"LegacyJavaScriptObject","TTY":"LegacyJavaScriptObject","TTYReadStream":"LegacyJavaScriptObject","TTYWriteStream":"LegacyJavaScriptObject","Util":"LegacyJavaScriptObject","JSArray0":"LegacyJavaScriptObject","Chokidar":"LegacyJavaScriptObject","ChokidarOptions":"LegacyJavaScriptObject","ChokidarWatcher":"LegacyJavaScriptObject","JSFunction":"LegacyJavaScriptObject","NodeImporterResult":"LegacyJavaScriptObject","RenderContext":"LegacyJavaScriptObject","RenderContextOptions":"LegacyJavaScriptObject","RenderContextResult":"LegacyJavaScriptObject","RenderContextResultStats":"LegacyJavaScriptObject","JSClass":"LegacyJavaScriptObject","JSUrl":"LegacyJavaScriptObject","_PropertyDescriptor":"LegacyJavaScriptObject","JSArray1":"LegacyJavaScriptObject","Chokidar0":"LegacyJavaScriptObject","ChokidarOptions0":"LegacyJavaScriptObject","ChokidarWatcher0":"LegacyJavaScriptObject","_NodeSassColor":"LegacyJavaScriptObject","_Channels":"LegacyJavaScriptObject","CompileOptions":"LegacyJavaScriptObject","CompileStringOptions":"LegacyJavaScriptObject","NodeCompileResult":"LegacyJavaScriptObject","_NodeException":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","LoggerNamespace":"LegacyJavaScriptObject","Fiber":"LegacyJavaScriptObject","FiberClass":"LegacyJavaScriptObject","JSFunction0":"LegacyJavaScriptObject","ImmutableList":"LegacyJavaScriptObject","ImmutableMap":"LegacyJavaScriptObject","NodeImporter0":"LegacyJavaScriptObject","CanonicalizeOptions":"LegacyJavaScriptObject","NodeImporterResult0":"LegacyJavaScriptObject","NodeImporterResult1":"LegacyJavaScriptObject","_NodeSassList":"LegacyJavaScriptObject","_ConstructorOptions":"LegacyJavaScriptObject","WarnOptions":"LegacyJavaScriptObject","DebugOptions":"LegacyJavaScriptObject","NodeLogger":"LegacyJavaScriptObject","_NodeSassMap":"LegacyJavaScriptObject","_NodeSassNumber":"LegacyJavaScriptObject","_ConstructorOptions0":"LegacyJavaScriptObject","JSClass0":"LegacyJavaScriptObject","RenderContext0":"LegacyJavaScriptObject","RenderContextOptions0":"LegacyJavaScriptObject","RenderContextResult0":"LegacyJavaScriptObject","RenderContextResultStats0":"LegacyJavaScriptObject","RenderOptions":"LegacyJavaScriptObject","RenderResult":"LegacyJavaScriptObject","RenderResultStats":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","_NodeSassString":"LegacyJavaScriptObject","_ConstructorOptions1":"LegacyJavaScriptObject","Types":"LegacyJavaScriptObject","JSUrl0":"LegacyJavaScriptObject","_PropertyDescriptor0":"LegacyJavaScriptObject","NativeFloat32List":"NativeTypedArrayOfDouble","JSBool":{"bool":[]},"JSNull":{"Null":[]},"LegacyJavaScriptObject":{"Promise":[],"JsSystemError":[],"_NodeSassColor":[],"_Channels":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"_NodeException":[],"Fiber":[],"JSFunction0":[],"ImmutableList":[],"ImmutableMap":[],"NodeImporter0":[],"NodeImporterResult0":[],"NodeImporterResult1":[],"_NodeSassList":[],"_ConstructorOptions":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_NodeSassNumber":[],"_ConstructorOptions0":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"_NodeSassString":[],"_ConstructorOptions1":[],"JSUrl0":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"]},"_CastIterableBase":{"Iterable":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListMixin.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.K":"3","MapMixin.V":"4"},"LateError":{"Error":[]},"CodeUnits":{"ListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListIterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"FollowedByIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthFollowedByIterable":{"FollowedByIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"UnmodifiableListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"GeneralConstantMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"Instantiation":{"Function":[]},"Instantiation1":{"Function":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"]},"NativeTypedArrayOfDouble":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"ListMixin.E":"double"},"NativeTypedArrayOfInt":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"NativeInt16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"_Type":{"Type":[]},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"_AsyncCompleter":{"_Completer":["1"]},"_SyncCompleter":{"_Completer":["1"]},"_StreamController":{"EventSink":["1"]},"_AsyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_SyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_BufferingStreamSubscription.T":"2"},"_ExpandStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"Zone":[]},"_RootZone":{"Zone":[]},"Queue":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"_HashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedIdentityHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedIdentityHashSet":{"_LinkedHashSet":["1"],"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"UnmodifiableMapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_UnmodifiableSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"AsciiCodec":{"Codec":["String","List"]},"_UnicodeSubsetEncoder":{"Converter":["String","List"]},"AsciiEncoder":{"Converter":["String","List"]},"Base64Codec":{"Codec":["List","String"]},"Base64Encoder":{"Converter":["List","String"]},"Encoding":{"Codec":["String","List"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"]},"JsonEncoder":{"Converter":["Object?","String"]},"Utf8Codec":{"Codec":["String","List"]},"Utf8Encoder":{"Converter":["String","List"]},"Utf8Decoder":{"Converter":["List","String"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"RangeError":[],"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_GeneratorIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_StringStackTrace":{"StackTrace":[]},"Runes":{"Iterable":["int"],"Iterable.E":"int"},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"ArgParserException":{"FormatException":[],"Exception":[]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_CompleterStream":{"Stream":["1"],"Stream.T":"1"},"_NextRequest":{"_EventRequest":["1"]},"EmptyUnmodifiableSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"QueueList":{"ListMixin":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListMixin":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","QueueList.E":"2"},"UnmodifiableSetView":{"DelegatingSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapKeySet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_DelegatingIterableBase":{"Iterable":["1"]},"DelegatingSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"PathException":{"Exception":[]},"PathMap":{"Map":["String?","1"]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"ModifiableCssAtRule":{"ModifiableCssParentNode":[],"CssAtRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssComment":{"ModifiableCssNode":[],"CssComment":[],"CssNode":[],"AstNode":[]},"ModifiableCssDeclaration":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssImport":{"ModifiableCssNode":[],"CssImport":[],"CssNode":[],"AstNode":[]},"ModifiableCssKeyframeBlock":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssMediaRule":{"ModifiableCssParentNode":[],"CssMediaRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssNode":{"CssNode":[],"AstNode":[]},"ModifiableCssParentNode":{"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStyleRule":{"ModifiableCssParentNode":[],"CssStyleRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStylesheet":{"ModifiableCssParentNode":[],"CssStylesheet":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssSupportsRule":{"ModifiableCssParentNode":[],"CssSupportsRule":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssValue":{"CssValue":["1"],"AstNode":[]},"CssNode":{"AstNode":[]},"CssParentNode":{"CssNode":[],"AstNode":[]},"CssStylesheet":{"CssParentNode":[],"CssNode":[],"AstNode":[]},"CssValue":{"AstNode":[]},"_FakeAstNode":{"AstNode":[]},"Argument":{"AstNode":[]},"ArgumentDeclaration":{"AstNode":[]},"ArgumentInvocation":{"AstNode":[]},"ConfiguredVariable":{"AstNode":[]},"BinaryOperationExpression":{"Expression":[],"AstNode":[]},"BooleanExpression":{"Expression":[],"AstNode":[]},"CalculationExpression":{"Expression":[],"AstNode":[]},"ColorExpression":{"Expression":[],"AstNode":[]},"FunctionExpression":{"Expression":[],"AstNode":[]},"IfExpression":{"Expression":[],"AstNode":[]},"InterpolatedFunctionExpression":{"Expression":[],"AstNode":[]},"ListExpression":{"Expression":[],"AstNode":[]},"MapExpression":{"Expression":[],"AstNode":[]},"NullExpression":{"Expression":[],"AstNode":[]},"NumberExpression":{"Expression":[],"AstNode":[]},"ParenthesizedExpression":{"Expression":[],"AstNode":[]},"SelectorExpression":{"Expression":[],"AstNode":[]},"StringExpression":{"Expression":[],"AstNode":[]},"SupportsExpression":{"Expression":[],"AstNode":[]},"UnaryOperationExpression":{"Expression":[],"AstNode":[]},"ValueExpression":{"Expression":[],"AstNode":[]},"VariableExpression":{"Expression":[],"AstNode":[]},"DynamicImport":{"Import":[],"AstNode":[]},"StaticImport":{"Import":[],"AstNode":[]},"Interpolation":{"AstNode":[]},"AtRootRule":{"Statement":[],"AstNode":[]},"AtRule":{"Statement":[],"AstNode":[]},"CallableDeclaration":{"Statement":[],"AstNode":[]},"ContentBlock":{"Statement":[],"AstNode":[]},"ContentRule":{"Statement":[],"AstNode":[]},"DebugRule":{"Statement":[],"AstNode":[]},"Declaration":{"Statement":[],"AstNode":[]},"EachRule":{"Statement":[],"AstNode":[]},"ErrorRule":{"Statement":[],"AstNode":[]},"ExtendRule":{"Statement":[],"AstNode":[]},"ForRule":{"Statement":[],"AstNode":[]},"ForwardRule":{"Statement":[],"AstNode":[]},"FunctionRule":{"Statement":[],"AstNode":[]},"IfRule":{"Statement":[],"AstNode":[]},"ImportRule":{"Statement":[],"AstNode":[]},"IncludeRule":{"Statement":[],"AstNode":[]},"LoudComment":{"Statement":[],"AstNode":[]},"MediaRule":{"Statement":[],"AstNode":[]},"MixinRule":{"Statement":[],"AstNode":[]},"_HasContentVisitor":{"StatementSearchVisitor":["bool"],"StatementSearchVisitor.T":"bool"},"ParentStatement":{"Statement":[],"AstNode":[]},"ReturnRule":{"Statement":[],"AstNode":[]},"SilentComment":{"Statement":[],"AstNode":[]},"StyleRule":{"Statement":[],"AstNode":[]},"Stylesheet":{"Statement":[],"AstNode":[]},"SupportsRule":{"Statement":[],"AstNode":[]},"UseRule":{"Statement":[],"AstNode":[]},"VariableDeclaration":{"Statement":[],"AstNode":[]},"WarnRule":{"Statement":[],"AstNode":[]},"WhileRule":{"Statement":[],"AstNode":[]},"SupportsAnything":{"AstNode":[]},"SupportsDeclaration":{"AstNode":[]},"SupportsFunction":{"AstNode":[]},"SupportsInterpolation":{"AstNode":[]},"SupportsNegation":{"AstNode":[]},"SupportsOperation":{"AstNode":[]},"AttributeSelector":{"SimpleSelector":[]},"ClassSelector":{"SimpleSelector":[]},"IDSelector":{"SimpleSelector":[]},"ParentSelector":{"SimpleSelector":[]},"PlaceholderSelector":{"SimpleSelector":[]},"PseudoSelector":{"SimpleSelector":[]},"TypeSelector":{"SimpleSelector":[]},"UniversalSelector":{"SimpleSelector":[]},"_EnvironmentModule0":{"Module":["AsyncCallable"]},"AsyncBuiltInCallable":{"AsyncCallable":[]},"BuiltInCallable":{"Callable":[],"AsyncBuiltInCallable":[],"AsyncCallable":[]},"PlainCssCallable":{"Callable":[],"AsyncCallable":[]},"UserDefinedCallable":{"Callable":[],"AsyncCallable":[]},"ExplicitConfiguration":{"Configuration":[]},"_EnvironmentModule":{"Module":["Callable"]},"SassRuntimeException":{"Exception":[]},"SassException":{"Exception":[]},"MultiSpanSassException":{"Exception":[]},"MultiSpanSassRuntimeException":{"SassRuntimeException":[],"Exception":[]},"SassFormatException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"UsageException":{"Exception":[]},"EmptyExtensionStore":{"ExtensionStore":[]},"MergedExtension":{"Extension":[]},"Importer":{"AsyncImporter":[]},"FilesystemImporter":{"Importer":[],"AsyncImporter":[]},"BuiltInModule":{"Module":["1"]},"ForwardedModuleView":{"Module":["1"]},"ShadowedModuleView":{"Module":["1"]},"LimitedMapView":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MergedMapView":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MultiSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"PrefixedMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_PrefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"PublicMemberMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"UnprefixedMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_UnprefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"SassArgumentList":{"SassList":[],"Value":[]},"SassBoolean":{"Value":[]},"SassCalculation":{"Value":[]},"SassColor":{"Value":[]},"SassFunction":{"Value":[]},"SassList":{"Value":[]},"SassMap":{"Value":[]},"_SassNull":{"Value":[]},"SassNumber":{"Value":[]},"ComplexSassNumber":{"SassNumber":[],"Value":[]},"SingleUnitSassNumber":{"SassNumber":[],"Value":[]},"UnitlessSassNumber":{"SassNumber":[],"Value":[]},"SassString":{"Value":[]},"_EvaluationContext0":{"EvaluationContext":[]},"_EvaluationContext":{"EvaluationContext":[]},"Entry":{"Comparable":["Entry"]},"FileLocation":{"SourceLocation":[],"Comparable":["SourceLocation"]},"FileSpan":{"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"_FileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceLocation":{"Comparable":["SourceLocation"]},"SourceLocationMixin":{"SourceLocation":[],"Comparable":["SourceLocation"]},"SourceSpan":{"Comparable":["SourceSpan"]},"SourceSpanBase":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanException":{"Exception":[]},"SourceSpanFormatException":{"FormatException":[],"Exception":[]},"SourceSpanMixin":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanWithContext":{"SourceSpan":[],"Comparable":["SourceSpan"]},"Chain":{"StackTrace":[]},"LazyTrace":{"Trace":[],"StackTrace":[]},"Trace":{"StackTrace":[]},"UnparsedFrame":{"Frame":[]},"StringScannerException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"SupportsAnything0":{"AstNode0":[]},"Argument0":{"AstNode0":[]},"ArgumentDeclaration0":{"AstNode0":[]},"ArgumentInvocation0":{"AstNode0":[]},"SassArgumentList0":{"SassList0":[],"Value0":[]},"NodeToDartAsyncImporter":{"AsyncImporter0":[]},"AsyncBuiltInCallable0":{"AsyncCallable0":[]},"_EnvironmentModule2":{"Module0":["AsyncCallable0"]},"_EvaluationContext2":{"EvaluationContext0":[]},"NodeToDartAsyncFileImporter":{"AsyncImporter0":[]},"AtRootRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssAtRule0":{"ModifiableCssParentNode0":[],"CssAtRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"AtRule0":{"Statement0":[],"AstNode0":[]},"AttributeSelector0":{"SimpleSelector0":[]},"BinaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"BooleanExpression0":{"Expression0":[],"AstNode0":[]},"SassBoolean0":{"Value0":[]},"BuiltInCallable0":{"Callable0":[],"AsyncBuiltInCallable0":[],"AsyncCallable0":[]},"BuiltInModule0":{"Module0":["1"]},"CalculationExpression0":{"Expression0":[],"AstNode0":[]},"SassCalculation0":{"Value0":[]},"CallableDeclaration0":{"Statement0":[],"AstNode0":[]},"ClassSelector0":{"SimpleSelector0":[]},"ColorExpression0":{"Expression0":[],"AstNode0":[]},"SassColor0":{"Value0":[]},"ModifiableCssComment0":{"ModifiableCssNode0":[],"CssComment0":[],"CssNode0":[],"AstNode0":[]},"ComplexSassNumber0":{"SassNumber0":[],"Value0":[]},"ExplicitConfiguration0":{"Configuration0":[]},"ConfiguredVariable0":{"AstNode0":[]},"ContentBlock0":{"Statement0":[],"AstNode0":[]},"ContentRule0":{"Statement0":[],"AstNode0":[]},"DebugRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssDeclaration0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"Declaration0":{"Statement0":[],"AstNode0":[]},"SupportsDeclaration0":{"AstNode0":[]},"DynamicImport0":{"Import0":[],"AstNode0":[]},"EachRule0":{"Statement0":[],"AstNode0":[]},"EmptyExtensionStore0":{"ExtensionStore0":[]},"_EnvironmentModule1":{"Module0":["Callable0"]},"ErrorRule0":{"Statement0":[],"AstNode0":[]},"_EvaluationContext1":{"EvaluationContext0":[]},"SassRuntimeException0":{"Exception":[]},"SassException0":{"Exception":[]},"MultiSpanSassException0":{"Exception":[]},"MultiSpanSassRuntimeException0":{"SassRuntimeException0":[],"Exception":[]},"SassFormatException0":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"ExtendRule0":{"Statement0":[],"AstNode0":[]},"NodeToDartFileImporter":{"Importer0":[],"AsyncImporter0":[]},"FilesystemImporter0":{"Importer0":[],"AsyncImporter0":[]},"ForRule0":{"Statement0":[],"AstNode0":[]},"ForwardRule0":{"Statement0":[],"AstNode0":[]},"ForwardedModuleView0":{"Module0":["1"]},"FunctionExpression0":{"Expression0":[],"AstNode0":[]},"SupportsFunction0":{"AstNode0":[]},"SassFunction0":{"Value0":[]},"FunctionRule0":{"Statement0":[],"AstNode0":[]},"IDSelector0":{"SimpleSelector0":[]},"IfExpression0":{"Expression0":[],"AstNode0":[]},"IfRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssImport0":{"ModifiableCssNode0":[],"CssImport0":[],"CssNode0":[],"AstNode0":[]},"ImportRule0":{"Statement0":[],"AstNode0":[]},"Importer0":{"AsyncImporter0":[]},"IncludeRule0":{"Statement0":[],"AstNode0":[]},"InterpolatedFunctionExpression0":{"Expression0":[],"AstNode0":[]},"Interpolation0":{"AstNode0":[]},"SupportsInterpolation0":{"AstNode0":[]},"ModifiableCssKeyframeBlock0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"LimitedMapView0":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"ListExpression0":{"Expression0":[],"AstNode0":[]},"SassList0":{"Value0":[]},"LoudComment0":{"Statement0":[],"AstNode0":[]},"MapExpression0":{"Expression0":[],"AstNode0":[]},"SassMap0":{"Value0":[]},"ModifiableCssMediaRule0":{"ModifiableCssParentNode0":[],"CssMediaRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"MediaRule0":{"Statement0":[],"AstNode0":[]},"MergedExtension0":{"Extension0":[]},"MergedMapView0":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MixinRule0":{"Statement0":[],"AstNode0":[]},"_HasContentVisitor0":{"StatementSearchVisitor0":["bool"],"StatementSearchVisitor0.T":"bool"},"MultiSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SupportsNegation0":{"AstNode0":[]},"NoOpImporter":{"Importer0":[],"AsyncImporter0":[]},"_FakeAstNode0":{"AstNode0":[]},"CssNode0":{"AstNode0":[]},"CssParentNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssParentNode0":{"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"NullExpression0":{"Expression0":[],"AstNode0":[]},"_SassNull0":{"Value0":[]},"NumberExpression0":{"Expression0":[],"AstNode0":[]},"SassNumber0":{"Value0":[]},"SupportsOperation0":{"AstNode0":[]},"ParentSelector0":{"SimpleSelector0":[]},"ParentStatement0":{"Statement0":[],"AstNode0":[]},"ParenthesizedExpression0":{"Expression0":[],"AstNode0":[]},"PlaceholderSelector0":{"SimpleSelector0":[]},"PlainCssCallable0":{"Callable0":[],"AsyncCallable0":[]},"PrefixedMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_PrefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"PseudoSelector0":{"SimpleSelector0":[]},"PublicMemberMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"ReturnRule0":{"Statement0":[],"AstNode0":[]},"SelectorExpression0":{"Expression0":[],"AstNode0":[]},"ShadowedModuleView0":{"Module0":["1"]},"SilentComment0":{"Statement0":[],"AstNode0":[]},"SingleUnitSassNumber0":{"SassNumber0":[],"Value0":[]},"StaticImport0":{"Import0":[],"AstNode0":[]},"StringExpression0":{"Expression0":[],"AstNode0":[]},"SassString0":{"Value0":[]},"ModifiableCssStyleRule0":{"ModifiableCssParentNode0":[],"CssStyleRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"StyleRule0":{"Statement0":[],"AstNode0":[]},"CssStylesheet0":{"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"ModifiableCssStylesheet0":{"ModifiableCssParentNode0":[],"CssStylesheet0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"Stylesheet0":{"Statement0":[],"AstNode0":[]},"SupportsExpression0":{"Expression0":[],"AstNode0":[]},"ModifiableCssSupportsRule0":{"ModifiableCssParentNode0":[],"CssSupportsRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"SupportsRule0":{"Statement0":[],"AstNode0":[]},"NodeToDartImporter":{"Importer0":[],"AsyncImporter0":[]},"TypeSelector0":{"SimpleSelector0":[]},"UnaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"UnitlessSassNumber0":{"SassNumber0":[],"Value0":[]},"UniversalSelector0":{"SimpleSelector0":[]},"UnprefixedMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_UnprefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"UseRule0":{"Statement0":[],"AstNode0":[]},"UserDefinedCallable0":{"Callable0":[],"AsyncCallable0":[]},"CssValue0":{"AstNode0":[]},"ValueExpression0":{"Expression0":[],"AstNode0":[]},"ModifiableCssValue0":{"CssValue0":["1"],"AstNode0":[]},"VariableExpression0":{"Expression0":[],"AstNode0":[]},"VariableDeclaration0":{"Statement0":[],"AstNode0":[]},"WarnRule0":{"Statement0":[],"AstNode0":[]},"WhileRule0":{"Statement0":[],"AstNode0":[]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Expression":{"AstNode":[]},"Import":{"AstNode":[]},"Statement":{"AstNode":[]},"Callable":{"AsyncCallable":[]},"Callable0":{"AsyncCallable0":[]},"Expression0":{"AstNode0":[]},"Import0":{"AstNode0":[]},"Statement0":{"AstNode0":[]}}'));s._Universe_addErasedTypes(_.typeUniverse,JSON.parse('{"ArrayIterator":1,"ListIterator":1,"MappedIterator":2,"WhereIterator":1,"ExpandIterator":2,"TakeIterator":1,"SkipIterator":1,"SkipWhileIterator":1,"EmptyIterator":1,"FollowedByIterator":1,"FixedLengthListMixin":1,"UnmodifiableListMixin":1,"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"LinkedHashMapKeyIterator":1,"NativeTypedArray":1,"EventSink":1,"_SyncStarIterator":1,"StreamTransformerBase":2,"_SyncStreamControllerDispatch":1,"_AsyncStreamControllerDispatch":1,"_AddStreamState":1,"_StreamControllerAddStreamState":1,"_DelayedEvent":1,"_DelayedData":1,"_PendingEvents":1,"_StreamImplEvents":1,"_StreamIterator":1,"_ZoneFunction":1,"Queue":1,"_HashMapKeyIterator":1,"_LinkedHashSetIterator":1,"IterableBase":1,"ListBase":1,"MapBase":2,"UnmodifiableMapBase":2,"_MapBaseValueIterator":2,"_UnmodifiableMapMixin":2,"MapView":2,"_ListQueueIterator":1,"_UnmodifiableSetMixin":1,"_ListBase_Object_ListMixin":1,"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":2,"__SetBase_Object_SetMixin":1,"__UnmodifiableSet__SetBase__UnmodifiableSetMixin":1,"ChunkedConversionSink":1,"_StringSinkConversionSink":1,"Iterator":1,"Expando":1,"_EventRequest":1,"_EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin":1,"DefaultEquality":1,"IterableEquality":1,"ListEquality":1,"MapEquality":2,"_QueueList_Object_ListMixin":1,"UnmodifiableSetMixin":1,"_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin":1,"_DelegatingIterableBase":1,"_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin":1,"ParentStatement":1,"ParentStatement0":1}'));var c={x0a_BUG_:"\n\nBUG: This should include a source span!",x0a_More:"\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",x0aRun_i:"\nRun in verbose mode to see all warnings.",x0aThis_:"\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",x0aYou_m:"\nYou may not @extend the same selector from within different media queries.",x20It_wi:" It will be omitted from the generated CSS.",x20be_an:" be an extender.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",x20in_in:" in interpolation here.\nIt may end up represented as ",x20is_as:" is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",x20is_av:" is available from multiple global modules.",x20is_noa:" is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",x20is_nov:" is not valid CSS.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",x20must_:" must not be greater than the number of characters in the file, ",x20repet:" repetitive deprecation warnings omitted.",x20to_co:" to color.opacity() is deprecated.\n\nRecommendation: ",x20was_a:' was already loaded, so it can\'t be configured using "with".',x20was_n:" was not declared with !default in the @used module.",x20was_p:" was passed both by position and by name.",x21globa:"!global isn't allowed for variables in other modules.",x22x20is_d:'" is deprecated because it conflicts with official CSS syntax.\n\nTo preserve existing behavior: #{',x22x20is_ix0a:'" is invalid CSS.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators',x22x20is_ix20:'" is invalid CSS. It will be omitted from the generated CSS.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators',x22x20is_n:'" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',x22x20is_o:"\" is only valid for nesting and shouldn't\nhave children other than style rules.",x22x26__ma:'"&" may only used at the beginning of a compound selector.',x22x29__If:"\").\nIf you really want to use the color value here, use '",x22x2b__an:'"+" and "-" must be surrounded by whitespace in calculations.',x22packa:'"package:" URLs aren\'t supported on this platform.',x22x7d__Fo:'"}\n\nFor details, see https://sass-lang.com/d/media-logic',x24css_a:"$css and $module may not both be passed at once.",x24list1:"$list1, $list2, $separator: auto, $bracketed: auto",x24selec:"$selectors: At least one selector must be passed.",x24separ:'$separator: Must be "space", "comma", "slash", or "auto".',x28__isn:"() isn't in the sass:color module.\n\nRecommendation: color.adjust(",x29x0a_Morx20:")\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",x29x0a_Morx3a:")\n\nMore info: https://sass-lang.com/documentation/functions/color#",x29x20is_d:") is deprecated.\n\nTo preserve current behavior: $",x29x20to_cg:") to color.grayscale() is deprecated.\n\nRecommendation: ",x29x20to_ci:") to color.invert() is deprecated.\n\nRecommendation: ",x2c_whici:", which is currently (incorrectly) converted to ",x2c_whicw:', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',x2e_Rela:".\nRelative canonical URLs are deprecated and will eventually be disallowed.\n",x3d_____:"===== asynchronous gap ===========================\n",x40_moz_:"@-moz-document is deprecated and support will be removed in Dart Sass 2.0.0.\n\nFor details, see http://bit.ly/MozDocument.",x40conte:"@content is only allowed within mixin declarations.",x40elsei:"@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",x40exten:"@extend may only be used within style rules.",x40forwa:"@forward rules must be written before any other rules.",x40funct:"@function if($condition, $if-true, $if-false) {",x40use_r:"@use rules must be written before any other rules.",A_list:"A list with more than one element must have an explicit separator.",ABCDEF:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",An_impa:"An importer may not have a findFileUrl method as well as canonicalize and load methods.",An_impu:"An importer must have either canonicalize and load methods, or a findFileUrl method.",As_of_R:"As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",As_of_S:"As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nSince this assignment is at the root of the stylesheet, the !global flag is\nunnecessary and can safely be removed.",At_rul:"At-rules may not be used within nested declarations.",Cannotff:"Cannot extract a file path from a URI with a fragment component",Cannotfq:"Cannot extract a file path from a URI with a query component",Cannotn:"Cannot extract a non-Windows file path from a file URI with an authority",Comple:"ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",Could_:'Could not find an option with short name "-',CssNod:"CssNodes must have a CssStylesheet transitive parent node.",Declarm:"Declarations may only be used within style rules.",Declarwa:'Declarations whose names begin with "--" may not be nested.',Declarwu:'Declarations whose names begin with "--" must have StringExpression values (was `',Either:"Either options.data or options.file must be set.",Entrie:"Entries may not be removed from MergedMapView.",Error_:"Error handler must accept one Object or one Object and a StackTrace as arguments, and return a value of the returned future's type",Evalua:"Evaluation handles @include and its content block together.",Expand:"Expandos are not allowed on strings, numbers, booleans or null",Expectn:"Expected number, variable, function, or calculation.",Expectv:"Expected variable, mixin, or function name",Functi:"Functions may not be declared in control directives.",HSL_pa:"HSL parameters may not be passed along with HWB parameters.",If_con:"If conditions is longer than one element, conjunction may not be null.",If_par:"If parsedAsCustomProperty is true, value must contain a SassString (was `",In_Sas:'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',Indent:"Indenting at the beginning of the document is illegal.",Interpn:"Interpolation isn't allowed in namespaces.",Interpp:"Interpolation isn't allowed in plain CSS.",Invali:'Invalid return value for custom function "',It_s_n:"It's not clear which file to import. Found:\n",May_on:"May only contains Strings or Expressions.",Media_:"Media rules may not be used within nested declarations.",Mixinsb:"Mixins may not be declared in control directives.",Mixinscf:"Mixins may not contain function declarations.",Mixinscm:"Mixins may not contain mixin declarations.",Modulel:"Module loop: this module is already being loaded.",Modulen:"Module namespaces aren't allowed in plain CSS.",Nested:"Nested declarations aren't allowed in plain CSS.",New_en:"New entries may not be added to MergedMapView.",No_Sasc:"No Sass callable is currently being evaluated.",No_Sass:"No Sass stylesheet is currently being evaluated.",NoSour:"NoSourceMapBuffer.buildSourceMap() is not supported.",Only_2:"Only 2 slash-separated elements allowed, but ",Only_oa:"Only one argument may be passed to the plain-CSS invert() function.",Only_op:"Only one positional argument is allowed. All other arguments must be passed by name.",Other_:"Other modules' members can't be defined with !global.",Passin:"Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",Placeh:"Placeholder selectors aren't allowed here.",Plain_:"Plain CSS functions don't support keyword arguments.",Positi:"Positional arguments must come before keyword arguments.",Privat:"Private members can't be accessed from outside their modules.",RGB_pa:"RGB parameters may not be passed along with ",Sass_v:"Sass variables aren't allowed in plain CSS.",Silent:"Silent comments aren't allowed in plain CSS.",Soon__:"Soon, it will instead be correctly converted to ",Style_:"Style rules may not be used within nested declarations.",Suppor:"Supports rules may not be used within nested declarations.",The_Ex:"The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",The_ca:"The canonicalize() method must return a URL.",The_fie:"The findFileUrl() method must return a URL.",The_fiu:'The findFileUrl() must return a URL with scheme file://, was "',The_gi:"The given LineScannerState was not returned by this LineScanner.",The_lo:"The load() function must return an object with contents and syntax fields.",The_pa:"The parent selector isn't allowed in plain CSS.",The_sa:"The same variable may only be configured once.",The_ta:'The target selector was not found.\nUse "@extend ',There_:"There's already a module with namespace \"",This_d:'This declaration has no argument named "$',This_f:"This function isn't allowed in plain CSS.",This_ma:'This module and the new module both define a variable named "$',This_mw:'This module was already loaded, so it can\'t be configured using "with".',This_s:"This selector doesn't have any properties and won't be rendered.",This_v:"This variable was not declared with !default in the @used module.",Top_le:'Top-level selectors may not contain the parent selector "&".',Using__i:"Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",Using__o:"Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",Using_c:"Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",Variab_:"Variable keyword argument map must have string keys.\n",Variabs:"Variable keyword arguments must be a map (was ",You_ma:"You may not @extend selectors across media queries.",You_pr:"You probably don't mean to use the color value ",x60_inst:"` instead.\nSee http://bit.ly/ExtendCompound for details.\n",addExt_:"addExtension() can't be called for a const ExtensionStore.",addExts:"addExtensions() can't be called for a const ExtensionStore.",addSel:"addSelector() can't be called for a const ExtensionStore.",compou:"compound selectors may no longer be extended.\nConsider `@extend ",conten:"content-exists() may only be called within a mixin.",leadin:"leadingCombinators and components may not both be empty.",math_d:"math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",must_b:"must be a UniversalSelector or a TypeSelector",parsed:'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',semico:"semicolons aren't allowed in the indented syntax.",throug:"through() must return false for at least one parent of "};var $=function rtii(){var e=s.findType;return{$env_1_1_String:e("@"),ArgParser:e("ArgParser"),Argument:e("Argument"),ArgumentDeclaration:e("ArgumentDeclaration"),ArgumentDeclaration_2:e("ArgumentDeclaration0"),Argument_2:e("Argument0"),AstNode:e("AstNode"),AstNode_2:e("AstNode0"),AsyncBuiltInCallable:e("AsyncBuiltInCallable"),AsyncBuiltInCallable_2:e("AsyncBuiltInCallable0"),AsyncCallable:e("AsyncCallable"),AsyncCallable_2:e("AsyncCallable0"),AsyncImporter:e("AsyncImporter0"),BuiltInCallable:e("BuiltInCallable"),BuiltInCallable_2:e("BuiltInCallable0"),BuiltInModule_AsyncBuiltInCallable:e("BuiltInModule"),BuiltInModule_AsyncBuiltInCallable_2:e("BuiltInModule0"),BuiltInModule_BuiltInCallable:e("BuiltInModule"),BuiltInModule_BuiltInCallable_2:e("BuiltInModule0"),Callable:e("Callable"),Callable_2:e("Callable0"),ChangeType:e("ChangeType"),Combinator:e("Combinator"),Combinator_2:e("Combinator0"),Comparable_dynamic:e("Comparable<@>"),Comparable_nullable_Object:e("Comparable"),CompileResult:e("CompileResult"),CompileResult_2:e("CompileResult0"),ComplexSelector:e("ComplexSelector"),ComplexSelectorComponent:e("ComplexSelectorComponent"),ComplexSelectorComponent_2:e("ComplexSelectorComponent0"),ComplexSelector_2:e("ComplexSelector0"),Configuration:e("Configuration"),Configuration_2:e("Configuration0"),ConfiguredValue:e("ConfiguredValue"),ConfiguredValue_2:e("ConfiguredValue0"),ConfiguredVariable:e("ConfiguredVariable"),ConfiguredVariable_2:e("ConfiguredVariable0"),ConstantMapView_Symbol_dynamic:e("ConstantMapView"),ConstantStringMap_String_Null:e("ConstantStringMap"),ConstantStringMap_String_num:e("ConstantStringMap"),CssAtRule:e("CssAtRule"),CssAtRule_2:e("CssAtRule0"),CssComment:e("CssComment"),CssComment_2:e("CssComment0"),CssImport:e("CssImport"),CssImport_2:e("CssImport0"),CssMediaQuery:e("CssMediaQuery"),CssMediaQuery_2:e("CssMediaQuery0"),CssMediaRule:e("CssMediaRule"),CssMediaRule_2:e("CssMediaRule0"),CssParentNode:e("CssParentNode"),CssParentNode_2:e("CssParentNode0"),CssStyleRule:e("CssStyleRule"),CssStyleRule_2:e("CssStyleRule0"),CssStylesheet:e("CssStylesheet"),CssStylesheet_2:e("CssStylesheet0"),CssSupportsRule:e("CssSupportsRule"),CssSupportsRule_2:e("CssSupportsRule0"),CssValue_List_String:e("CssValue>"),CssValue_List_String_2:e("CssValue0>"),CssValue_SelectorList:e("CssValue"),CssValue_SelectorList_2:e("CssValue0"),CssValue_String:e("CssValue"),CssValue_String_2:e("CssValue0"),CssValue_Value:e("CssValue"),CssValue_Value_2:e("CssValue0"),DateTime:e("DateTime"),EfficientLengthIterable_dynamic:e("EfficientLengthIterable<@>"),Error:e("Error"),EvaluateResult:e("EvaluateResult"),EvaluateResult_2:e("EvaluateResult0"),EvaluationContext:e("EvaluationContext"),EvaluationContext_2:e("EvaluationContext0"),Exception:e("Exception"),Expression:e("Expression"),Expression_2:e("Expression0"),Extender:e("Extender"),Extender_2:e("Extender0"),Extension:e("Extension"),Extension_2:e("Extension0"),FileSpan:e("FileSpan"),FormatException:e("FormatException"),Frame:e("Frame"),Function:e("Function"),FutureOr_EvaluateResult:e("EvaluateResult/"),FutureOr_EvaluateResult_2:e("EvaluateResult0/"),FutureOr_nullable_Uri:e("Uri?/"),Future_dynamic:e("Future<@>"),Future_void:e("Future<~>"),IfClause:e("IfClause"),IfClause_2:e("IfClause0"),ImmutableList:e("ImmutableList"),ImmutableMap:e("ImmutableMap"),Import:e("Import"),Import_2:e("Import0"),Importer:e("Importer0"),ImporterResult:e("ImporterResult"),ImporterResult_2:e("ImporterResult0"),InternalStyle:e("InternalStyle"),Interpolation:e("Interpolation"),InterpolationBuffer:e("InterpolationBuffer"),InterpolationBuffer_2:e("InterpolationBuffer0"),Interpolation_2:e("Interpolation0"),Iterable_ComplexSelectorComponent:e("Iterable"),Iterable_ComplexSelectorComponent_2:e("Iterable"),Iterable_dynamic:e("Iterable<@>"),JSArray_Argument:e("JSArray"),JSArray_Argument_2:e("JSArray"),JSArray_AstNode:e("JSArray"),JSArray_AstNode_2:e("JSArray"),JSArray_AsyncBuiltInCallable:e("JSArray"),JSArray_AsyncBuiltInCallable_2:e("JSArray"),JSArray_AsyncCallable:e("JSArray"),JSArray_AsyncCallable_2:e("JSArray"),JSArray_AsyncImporter:e("JSArray"),JSArray_AsyncImporter_2:e("JSArray"),JSArray_BinaryOperator:e("JSArray"),JSArray_BinaryOperator_2:e("JSArray"),JSArray_BuiltInCallable:e("JSArray"),JSArray_BuiltInCallable_2:e("JSArray"),JSArray_Callable:e("JSArray"),JSArray_Callable_2:e("JSArray"),JSArray_Combinator:e("JSArray"),JSArray_Combinator_2:e("JSArray"),JSArray_ComplexSelector:e("JSArray"),JSArray_ComplexSelectorComponent:e("JSArray"),JSArray_ComplexSelectorComponent_2:e("JSArray"),JSArray_ComplexSelector_2:e("JSArray"),JSArray_ConfiguredVariable:e("JSArray"),JSArray_ConfiguredVariable_2:e("JSArray"),JSArray_CssMediaQuery:e("JSArray"),JSArray_CssMediaQuery_2:e("JSArray"),JSArray_CssNode:e("JSArray"),JSArray_CssNode_2:e("JSArray"),JSArray_Entry:e("JSArray"),JSArray_Expression:e("JSArray"),JSArray_Expression_2:e("JSArray"),JSArray_Extender:e("JSArray"),JSArray_Extender_2:e("JSArray"),JSArray_Extension:e("JSArray"),JSArray_ExtensionStore:e("JSArray"),JSArray_ExtensionStore_2:e("JSArray"),JSArray_Extension_2:e("JSArray"),JSArray_ForwardRule:e("JSArray"),JSArray_ForwardRule_2:e("JSArray"),JSArray_Frame:e("JSArray"),JSArray_IfClause:e("JSArray"),JSArray_IfClause_2:e("JSArray"),JSArray_Import:e("JSArray"),JSArray_Import_2:e("JSArray"),JSArray_Importer:e("JSArray"),JSArray_Importer_2:e("JSArray"),JSArray_Iterable_ComplexSelectorComponent:e("JSArray>"),JSArray_Iterable_ComplexSelectorComponent_2:e("JSArray>"),JSArray_JSFunction:e("JSArray"),JSArray_List_ComplexSelector:e("JSArray>"),JSArray_List_ComplexSelectorComponent:e("JSArray>"),JSArray_List_ComplexSelectorComponent_2:e("JSArray>"),JSArray_List_ComplexSelector_2:e("JSArray>"),JSArray_List_Extender:e("JSArray>"),JSArray_List_Extender_2:e("JSArray>"),JSArray_List_Iterable_ComplexSelectorComponent:e("JSArray>>"),JSArray_List_Iterable_ComplexSelectorComponent_2:e("JSArray>>"),JSArray_Map_String_AstNode:e("JSArray>"),JSArray_Map_String_AstNode_2:e("JSArray>"),JSArray_Map_String_AsyncCallable:e("JSArray>"),JSArray_Map_String_AsyncCallable_2:e("JSArray>"),JSArray_Map_String_Callable:e("JSArray>"),JSArray_Map_String_Callable_2:e("JSArray>"),JSArray_Map_String_Value:e("JSArray>"),JSArray_Map_String_Value_2:e("JSArray>"),JSArray_ModifiableCssImport:e("JSArray"),JSArray_ModifiableCssImport_2:e("JSArray"),JSArray_ModifiableCssNode:e("JSArray"),JSArray_ModifiableCssNode_2:e("JSArray"),JSArray_ModifiableCssParentNode:e("JSArray"),JSArray_ModifiableCssParentNode_2:e("JSArray"),JSArray_Module_AsyncCallable:e("JSArray>"),JSArray_Module_AsyncCallable_2:e("JSArray>"),JSArray_Module_Callable:e("JSArray>"),JSArray_Module_Callable_2:e("JSArray>"),JSArray_Object:e("JSArray"),JSArray_PseudoSelector:e("JSArray"),JSArray_PseudoSelector_2:e("JSArray"),JSArray_SassList:e("JSArray"),JSArray_SassList_2:e("JSArray"),JSArray_SimpleSelector:e("JSArray"),JSArray_SimpleSelector_2:e("JSArray"),JSArray_Statement:e("JSArray"),JSArray_Statement_2:e("JSArray"),JSArray_String:e("JSArray"),JSArray_StylesheetNode:e("JSArray"),JSArray_TargetEntry:e("JSArray"),JSArray_TargetLineEntry:e("JSArray"),JSArray_Trace:e("JSArray"),JSArray_Tuple2_Expression_Expression:e("JSArray>"),JSArray_Tuple2_Expression_Expression_2:e("JSArray>"),JSArray_Tuple2_String_AstNode:e("JSArray>"),JSArray_Tuple2_String_AstNode_2:e("JSArray>"),JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value:e("JSArray)>>"),JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2:e("JSArray)>>"),JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri:e("JSArray>"),JSArray_Uri:e("JSArray"),JSArray_UseRule:e("JSArray"),JSArray_UseRule_2:e("JSArray"),JSArray_Value:e("JSArray"),JSArray_Value_2:e("JSArray"),JSArray_WatchEvent:e("JSArray"),JSArray__Highlight:e("JSArray<_Highlight>"),JSArray__Line:e("JSArray<_Line>"),JSArray_dynamic:e("JSArray<@>"),JSArray_int:e("JSArray"),JSArray_nullable_String:e("JSArray"),JSClass:e("JSClass0"),JSFunction:e("JSFunction0"),JSNull:e("JSNull"),JSUrl:e("JSUrl0"),JavaScriptFunction:e("JavaScriptFunction"),JavaScriptIndexingBehavior_dynamic:e("JavaScriptIndexingBehavior<@>"),JsLinkedHashMap_Symbol_dynamic:e("JsLinkedHashMap"),JsSystemError:e("JsSystemError"),LimitedMapView_String_ConfiguredValue:e("LimitedMapView"),LimitedMapView_String_ConfiguredValue_2:e("LimitedMapView0"),List_ComplexSelectorComponent:e("List"),List_ComplexSelectorComponent_2:e("List"),List_CssMediaQuery:e("List"),List_CssMediaQuery_2:e("List"),List_Extension:e("List"),List_ExtensionStore:e("List"),List_ExtensionStore_2:e("List"),List_Extension_2:e("List"),List_List_ComplexSelectorComponent:e("List>"),List_List_ComplexSelectorComponent_2:e("List>"),List_Module_AsyncCallable:e("List>"),List_Module_AsyncCallable_2:e("List>"),List_Module_Callable:e("List>"),List_Module_Callable_2:e("List>"),List_String:e("List"),List_Value:e("List"),List_Value_2:e("List"),List_WatchEvent:e("List"),List_dynamic:e("List<@>"),List_int:e("List"),List_nullable_Object:e("List"),MapKeySet_Module_AsyncCallable:e("MapKeySet>"),MapKeySet_Module_AsyncCallable_2:e("MapKeySet>"),MapKeySet_Module_Callable:e("MapKeySet>"),MapKeySet_Module_Callable_2:e("MapKeySet>"),MapKeySet_SimpleSelector:e("MapKeySet"),MapKeySet_SimpleSelector_2:e("MapKeySet"),MapKeySet_String:e("MapKeySet"),MapKeySet_nullable_Object:e("MapKeySet"),Map_ComplexSelector_Extension:e("Map"),Map_ComplexSelector_Extension_2:e("Map"),Map_String_AstNode:e("Map"),Map_String_AstNode_2:e("Map"),Map_String_AsyncCallable:e("Map"),Map_String_AsyncCallable_2:e("Map"),Map_String_Callable:e("Map"),Map_String_Callable_2:e("Map"),Map_String_Value:e("Map"),Map_String_Value_2:e("Map"),Map_String_dynamic:e("Map"),Map_dynamic_dynamic:e("Map<@,@>"),MappedIterable_String_Frame:e("MappedIterable"),MappedListIterable_Frame_Frame:e("MappedListIterable"),MappedListIterable_String_String:e("MappedListIterable"),MappedListIterable_String_Trace:e("MappedListIterable"),MappedListIterable_String_dynamic:e("MappedListIterable"),MediaQuerySuccessfulMergeResult:e("MediaQuerySuccessfulMergeResult"),MediaQuerySuccessfulMergeResult_2:e("MediaQuerySuccessfulMergeResult0"),MixinRule:e("MixinRule"),MixinRule_2:e("MixinRule0"),ModifiableCssAtRule:e("ModifiableCssAtRule"),ModifiableCssAtRule_2:e("ModifiableCssAtRule0"),ModifiableCssKeyframeBlock:e("ModifiableCssKeyframeBlock"),ModifiableCssKeyframeBlock_2:e("ModifiableCssKeyframeBlock0"),ModifiableCssMediaRule:e("ModifiableCssMediaRule"),ModifiableCssMediaRule_2:e("ModifiableCssMediaRule0"),ModifiableCssNode:e("ModifiableCssNode"),ModifiableCssNode_2:e("ModifiableCssNode0"),ModifiableCssParentNode:e("ModifiableCssParentNode"),ModifiableCssParentNode_2:e("ModifiableCssParentNode0"),ModifiableCssStyleRule:e("ModifiableCssStyleRule"),ModifiableCssStyleRule_2:e("ModifiableCssStyleRule0"),ModifiableCssSupportsRule:e("ModifiableCssSupportsRule"),ModifiableCssSupportsRule_2:e("ModifiableCssSupportsRule0"),ModifiableCssValue_SelectorList:e("ModifiableCssValue"),ModifiableCssValue_SelectorList_2:e("ModifiableCssValue0"),Module_AsyncCallable:e("Module"),Module_AsyncCallable_2:e("Module0"),Module_Callable:e("Module"),Module_Callable_2:e("Module0"),NativeTypedArrayOfDouble:e("NativeTypedArrayOfDouble"),NativeTypedArrayOfInt:e("NativeTypedArrayOfInt"),NativeUint8List:e("NativeUint8List"),Never:e("0&"),NodeCompileResult:e("NodeCompileResult"),NodeImporter:e("NodeImporter0"),NodeImporterResult:e("NodeImporterResult0"),NodeImporterResult_2:e("NodeImporterResult1"),Null:e("Null"),Object:e("Object"),Option:e("Option"),PathMap_Stream_WatchEvent:e("PathMap>"),PathMap_String:e("PathMap"),PathMap_nullable_String:e("PathMap"),Promise:e("Promise"),PseudoSelector:e("PseudoSelector"),PseudoSelector_2:e("PseudoSelector0"),RangeError:e("RangeError"),RegExpMatch:e("RegExpMatch"),RenderContextOptions:e("RenderContextOptions0"),RenderResult:e("RenderResult"),Result_String:e("Result"),SassArgumentList:e("SassArgumentList"),SassArgumentList_2:e("SassArgumentList0"),SassBoolean:e("SassBoolean"),SassBoolean_2:e("SassBoolean0"),SassColor:e("SassColor"),SassColor_2:e("SassColor0"),SassList:e("SassList"),SassList_2:e("SassList0"),SassMap:e("SassMap"),SassMap_2:e("SassMap0"),SassNumber:e("SassNumber"),SassNumber_2:e("SassNumber0"),SassRuntimeException:e("SassRuntimeException"),SassRuntimeException_2:e("SassRuntimeException0"),SassString:e("SassString"),SassString_2:e("SassString0"),SelectorList:e("SelectorList"),SelectorList_2:e("SelectorList0"),Set_ModifiableCssValue_SelectorList:e("Set>"),Set_ModifiableCssValue_SelectorList_2:e("Set>"),SimpleSelector:e("SimpleSelector"),SimpleSelector_2:e("SimpleSelector0"),SourceFile:e("SourceFile"),SourceLocation:e("SourceLocation"),SourceSpan:e("SourceSpan"),SourceSpanFormatException:e("SourceSpanFormatException"),SourceSpanWithContext:e("SourceSpanWithContext"),SpanColorFormat:e("SpanColorFormat"),SpanColorFormat_2:e("SpanColorFormat0"),StackTrace:e("StackTrace"),Statement:e("Statement"),Statement_2:e("Statement0"),StaticImport:e("StaticImport"),StaticImport_2:e("StaticImport0"),StreamCompleter_WatchEvent:e("StreamCompleter"),StreamGroup_WatchEvent:e("StreamGroup"),StreamQueue_String:e("StreamQueue"),Stream_WatchEvent:e("Stream"),String:e("String"),StylesheetNode:e("StylesheetNode"),Symbol:e("Symbol0"),Timer:e("Timer"),Trace:e("Trace"),Tuple2_Expression_Expression:e("Tuple2"),Tuple2_Expression_Expression_2:e("Tuple2"),Tuple2_ModifiableCssStylesheet_ExtensionStore:e("Tuple2"),Tuple2_ModifiableCssStylesheet_ExtensionStore_2:e("Tuple2"),Tuple2_PseudoSelector_int:e("Tuple2"),Tuple2_PseudoSelector_int_2:e("Tuple2"),Tuple2_SassNumber_SassNumber:e("Tuple2"),Tuple2_SassNumber_SassNumber_2:e("Tuple2"),Tuple2_String_ArgumentDeclaration:e("Tuple2"),Tuple2_String_AstNode:e("Tuple2"),Tuple2_String_AstNode_2:e("Tuple2"),Tuple2_String_SourceSpan:e("Tuple2"),Tuple2_String_String:e("Tuple2"),Tuple2_Uri_bool:e("Tuple2"),Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value:e("Tuple2)>"),Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2:e("Tuple2)>"),Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value:e("Tuple2)>"),Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2:e("Tuple2)>"),Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList:e("Tuple2,ModifiableCssValue>>"),Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2:e("Tuple2,ModifiableCssValue0>>"),Tuple2_of_List_Expression_and_Map_String_Expression:e("Tuple2,Map>"),Tuple2_of_List_Expression_and_Map_String_Expression_2:e("Tuple2,Map>"),Tuple2_of_List_Uri_and_List_Uri:e("Tuple2,List>"),Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode:e("Tuple2,Map>"),Tuple2_of_Set_String_and_Set_String:e("Tuple2,Set>"),Tuple3_AsyncImporter_Uri_Uri:e("Tuple3"),Tuple3_AsyncImporter_Uri_Uri_2:e("Tuple3"),Tuple3_Importer_Uri_Uri:e("Tuple3"),Tuple3_Importer_Uri_Uri_2:e("Tuple3"),Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri:e("Tuple4"),Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2:e("Tuple4"),Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri:e("Tuple4"),Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2:e("Tuple4"),Type:e("Type"),TypeError:e("TypeError"),Uint8List:e("Uint8List"),UnknownJavaScriptObject:e("UnknownJavaScriptObject"),UnmodifiableListView_CssNode:e("UnmodifiableListView"),UnmodifiableListView_CssNode_2:e("UnmodifiableListView"),UnmodifiableListView_ForwardRule:e("UnmodifiableListView"),UnmodifiableListView_ForwardRule_2:e("UnmodifiableListView"),UnmodifiableListView_ModifiableCssNode:e("UnmodifiableListView"),UnmodifiableListView_ModifiableCssNode_2:e("UnmodifiableListView"),UnmodifiableListView_String:e("UnmodifiableListView"),UnmodifiableListView_UseRule:e("UnmodifiableListView"),UnmodifiableListView_UseRule_2:e("UnmodifiableListView"),UnmodifiableMapView_String_ArgParser:e("UnmodifiableMapView"),UnmodifiableMapView_String_ConfiguredValue:e("UnmodifiableMapView"),UnmodifiableMapView_String_ConfiguredValue_2:e("UnmodifiableMapView"),UnmodifiableMapView_String_Option:e("UnmodifiableMapView"),UnmodifiableMapView_String_Value:e("UnmodifiableMapView"),UnmodifiableMapView_String_Value_2:e("UnmodifiableMapView"),UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode:e("UnmodifiableMapView"),UnmodifiableMapView_of_nullable_String_and_String:e("UnmodifiableMapView"),UnmodifiableMapView_of_nullable_String_and_nullable_String:e("UnmodifiableMapView"),UnmodifiableSetView_String:e("UnmodifiableSetView"),UnmodifiableSetView_StylesheetNode:e("UnmodifiableSetView"),UnprefixedMapView_ConfiguredValue:e("UnprefixedMapView"),UnprefixedMapView_ConfiguredValue_2:e("UnprefixedMapView0"),Uri:e("Uri"),UseRule:e("UseRule"),UserDefinedCallable_AsyncEnvironment:e("UserDefinedCallable"),UserDefinedCallable_AsyncEnvironment_2:e("UserDefinedCallable0"),UserDefinedCallable_Environment:e("UserDefinedCallable"),UserDefinedCallable_Environment_2:e("UserDefinedCallable0"),Value:e("Value"),Value_2:e("Value0"),Value_Function_List_Value:e("Value(List)"),Value_Function_List_Value_2:e("Value0(List)"),VariableDeclaration:e("VariableDeclaration"),VariableDeclaration_2:e("VariableDeclaration0"),WatchEvent:e("WatchEvent"),WhereIterable_List_Iterable_ComplexSelectorComponent:e("WhereIterable>>"),WhereIterable_List_Iterable_ComplexSelectorComponent_2:e("WhereIterable>>"),WhereIterable_String:e("WhereIterable"),WhereTypeIterable_PseudoSelector:e("WhereTypeIterable"),WhereTypeIterable_PseudoSelector_2:e("WhereTypeIterable"),WhereTypeIterable_String:e("WhereTypeIterable"),_ArgumentResults:e("_ArgumentResults0"),_ArgumentResults_2:e("_ArgumentResults2"),_AsyncCompleter_Object:e("_AsyncCompleter"),_AsyncCompleter_Stream_WatchEvent:e("_AsyncCompleter>"),_AsyncCompleter_String:e("_AsyncCompleter"),_AsyncCompleter_nullable_Object:e("_AsyncCompleter"),_CompleterStream_WatchEvent:e("_CompleterStream"),_EventRequest_dynamic:e("_EventRequest<@>"),_Future_Object:e("_Future"),_Future_Stream_WatchEvent:e("_Future>"),_Future_String:e("_Future"),_Future_bool:e("_Future"),_Future_dynamic:e("_Future<@>"),_Future_int:e("_Future"),_Future_nullable_Object:e("_Future"),_Future_void:e("_Future<~>"),_Highlight:e("_Highlight"),_IdentityHashMap_dynamic_dynamic:e("_IdentityHashMap<@,@>"),_LinkedIdentityHashMap_SimpleSelector_int:e("_LinkedIdentityHashMap"),_LinkedIdentityHashMap_SimpleSelector_int_2:e("_LinkedIdentityHashMap"),_LinkedIdentityHashSet_ComplexSelector:e("_LinkedIdentityHashSet"),_LinkedIdentityHashSet_ComplexSelector_2:e("_LinkedIdentityHashSet"),_LinkedIdentityHashSet_Extension:e("_LinkedIdentityHashSet"),_LinkedIdentityHashSet_Extension_2:e("_LinkedIdentityHashSet"),_LoadedStylesheet:e("_LoadedStylesheet0"),_LoadedStylesheet_2:e("_LoadedStylesheet2"),_MapEntry:e("_MapEntry"),_NodeException:e("_NodeException"),_UnmodifiableSet_String:e("_UnmodifiableSet"),bool:e("bool"),double:e("double"),dynamic:e("@"),dynamic_Function:e("@()"),dynamic_Function_Object:e("@(Object)"),dynamic_Function_Object_StackTrace:e("@(Object,StackTrace)"),int:e("int"),legacy_Never:e("0&*"),legacy_Object:e("Object*"),nullable_AstNode:e("AstNode?"),nullable_AstNode_2:e("AstNode0?"),nullable_FileSpan:e("FileSpan?"),nullable_Future_Null:e("Future?"),nullable_Future_void:e("Future<~>?"),nullable_ImporterResult:e("ImporterResult0?"),nullable_Object:e("Object?"),nullable_SourceFile:e("SourceFile?"),nullable_SourceSpan:e("SourceSpan?"),nullable_StreamSubscription_WatchEvent:e("StreamSubscription?"),nullable_String:e("String?"),nullable_Stylesheet:e("Stylesheet?"),nullable_StylesheetNode:e("StylesheetNode?"),nullable_Stylesheet_2:e("Stylesheet0?"),nullable_Tuple2_String_String:e("Tuple2?"),nullable_Tuple3_AsyncImporter_Uri_Uri:e("Tuple3?"),nullable_Tuple3_AsyncImporter_Uri_Uri_2:e("Tuple3?"),nullable_Tuple3_Importer_Uri_Uri:e("Tuple3?"),nullable_Tuple3_Importer_Uri_Uri_2:e("Tuple3?"),nullable_Uri:e("Uri?"),nullable_Value:e("Value?"),nullable_Value_2:e("Value0?"),nullable__ConstructorOptions:e("_ConstructorOptions?"),nullable__ConstructorOptions_2:e("_ConstructorOptions0?"),nullable__ConstructorOptions_3:e("_ConstructorOptions1?"),nullable__Highlight:e("_Highlight?"),nullable__LoadedStylesheet:e("_LoadedStylesheet0?"),nullable__LoadedStylesheet_2:e("_LoadedStylesheet2?"),num:e("num"),void:e("~"),void_Function_Object:e("~(Object)"),void_Function_Object_StackTrace:e("~(Object,StackTrace)")}}();(function constants(){var e=i.makeConstList;o.Interceptor_methods=a.Interceptor.prototype;o.JSArray_methods=a.JSArray.prototype;o.JSBool_methods=a.JSBool.prototype;o.JSInt_methods=a.JSInt.prototype;o.JSNumber_methods=a.JSNumber.prototype;o.JSString_methods=a.JSString.prototype;o.JavaScriptFunction_methods=a.JavaScriptFunction.prototype;o.JavaScriptObject_methods=a.JavaScriptObject.prototype;o.NativeUint32List_methods=s.NativeUint32List.prototype;o.NativeUint8List_methods=s.NativeUint8List.prototype;o.PlainJavaScriptObject_methods=a.PlainJavaScriptObject.prototype;o.UnknownJavaScriptObject_methods=a.UnknownJavaScriptObject.prototype;o.AsciiEncoder_127=new s.AsciiEncoder(127);o.C_EmptyUnmodifiableSet1=new s.EmptyUnmodifiableSet(s.findType("EmptyUnmodifiableSet"));o.AtRootQuery_UsS=new s.AtRootQuery(false,o.C_EmptyUnmodifiableSet1,false,true);o.AtRootQuery_UsS0=new s.AtRootQuery0(false,o.C_EmptyUnmodifiableSet1,false,true);o.AttributeOperator_4L5=new s.AttributeOperator("^=");o.AttributeOperator_4L50=new s.AttributeOperator0("^=");o.AttributeOperator_AuK=new s.AttributeOperator("|=");o.AttributeOperator_AuK0=new s.AttributeOperator0("|=");o.AttributeOperator_fz1=new s.AttributeOperator("~=");o.AttributeOperator_fz10=new s.AttributeOperator0("~=");o.AttributeOperator_gqZ=new s.AttributeOperator("*=");o.AttributeOperator_gqZ0=new s.AttributeOperator0("*=");o.AttributeOperator_mOX=new s.AttributeOperator("$=");o.AttributeOperator_mOX0=new s.AttributeOperator0("$=");o.AttributeOperator_sEs=new s.AttributeOperator("=");o.AttributeOperator_sEs0=new s.AttributeOperator0("=");o.BinaryOperator_1da=new s.BinaryOperator("greater than or equals",">=",4);o.BinaryOperator_1da0=new s.BinaryOperator0("greater than or equals",">=",4);o.BinaryOperator_2ad=new s.BinaryOperator("modulo","%",6);o.BinaryOperator_2ad0=new s.BinaryOperator0("modulo","%",6);o.BinaryOperator_33h=new s.BinaryOperator("less than or equals","<=",4);o.BinaryOperator_33h0=new s.BinaryOperator0("less than or equals","<=",4);o.BinaryOperator_8qt=new s.BinaryOperator("less than","<",4);o.BinaryOperator_8qt0=new s.BinaryOperator0("less than","<",4);o.BinaryOperator_AcR=new s.BinaryOperator("greater than",">",4);o.BinaryOperator_AcR0=new s.BinaryOperator("plus","+",5);o.BinaryOperator_AcR1=new s.BinaryOperator0("greater than",">",4);o.BinaryOperator_AcR2=new s.BinaryOperator0("plus","+",5);o.BinaryOperator_O1M=new s.BinaryOperator("times","*",6);o.BinaryOperator_O1M0=new s.BinaryOperator0("times","*",6);o.BinaryOperator_RTB=new s.BinaryOperator("divided by","/",6);o.BinaryOperator_RTB0=new s.BinaryOperator0("divided by","/",6);o.BinaryOperator_YlX=new s.BinaryOperator("equals","==",3);o.BinaryOperator_YlX0=new s.BinaryOperator0("equals","==",3);o.BinaryOperator_and_and_2=new s.BinaryOperator("and","and",2);o.BinaryOperator_and_and_20=new s.BinaryOperator0("and","and",2);o.BinaryOperator_i5H=new s.BinaryOperator("not equals","!=",3);o.BinaryOperator_i5H0=new s.BinaryOperator0("not equals","!=",3);o.BinaryOperator_iyO=new s.BinaryOperator("minus","-",5);o.BinaryOperator_iyO0=new s.BinaryOperator0("minus","-",5);o.BinaryOperator_kjl=new s.BinaryOperator("single equals","=",0);o.BinaryOperator_kjl0=new s.BinaryOperator0("single equals","=",0);o.BinaryOperator_or_or_1=new s.BinaryOperator("or","or",1);o.BinaryOperator_or_or_10=new s.BinaryOperator0("or","or",1);o.CONSTANT=new s.Instantiation1(s.math0__max$closure(),s.findType("Instantiation1"));o.C_AsciiCodec=new s.AsciiCodec;o.C_AsciiGlyphSet=new s.AsciiGlyphSet;o.C_Base64Encoder=new s.Base64Encoder;o.C_Base64Codec=new s.Base64Codec;o.C_DefaultEquality=new s.DefaultEquality;o.C_EmptyExtensionStore=new s.EmptyExtensionStore;o.C_EmptyExtensionStore0=new s.EmptyExtensionStore0;o.C_EmptyIterator=new s.EmptyIterator;o.C_EmptyUnmodifiableSet=new s.EmptyUnmodifiableSet(s.findType("EmptyUnmodifiableSet"));o.C_EmptyUnmodifiableSet0=new s.EmptyUnmodifiableSet(s.findType("EmptyUnmodifiableSet"));o.C_IterableEquality=new s.IterableEquality;o.C_JS_CONST=function getTagFallback(e){var r=Object.prototype.toString.call(e);return r.substring(8,r.length-1)};o.C_JS_CONST0=function(){var e=Object.prototype.toString;function getTag(r){var n=e.call(r);return n.substring(8,n.length-1)}function getUnknownTag(r,n){if(/^HTML[A-Z].*Element$/.test(n)){var i=e.call(r);if(i=="[object Object]")return null;return"HTMLElement"}}function getUnknownTagGenericBrowser(e,r){if(self.HTMLElement&&e instanceof HTMLElement)return"HTMLElement";return getUnknownTag(e,r)}function prototypeForTag(e){if(typeof window=="undefined")return null;if(typeof window[e]=="undefined")return null;var r=window[e];if(typeof r!="function")return null;return r.prototype}function discriminator(e){return null}var r=typeof navigator=="object";return{getTag:getTag,getUnknownTag:r?getUnknownTagGenericBrowser:getUnknownTag,prototypeForTag:prototypeForTag,discriminator:discriminator}};o.C_JS_CONST6=function(e){return function(r){if(typeof navigator!="object")return r;var n=navigator.userAgent;if(n.indexOf("DumpRenderTree")>=0)return r;if(n.indexOf("Chrome")>=0){function confirm(e){return typeof window=="object"&&window[e]&&window[e].name==e}if(confirm("Window")&&confirm("HTMLElement"))return r}r.getTag=e}};o.C_JS_CONST1=function(e){if(typeof dartExperimentalFixupGetTag!="function")return e;e.getTag=dartExperimentalFixupGetTag(e.getTag)};o.C_JS_CONST2=function(e){var r=e.getTag;var n=e.prototypeForTag;function getTagFixed(e){var n=r(e);if(n=="Document"){if(!!e.xmlVersion)return"!Document";return"!HTMLDocument"}return n}function prototypeForTagFixed(e){if(e=="Document")return null;return n(e)}e.getTag=getTagFixed;e.prototypeForTag=prototypeForTagFixed};o.C_JS_CONST5=function(e){var r=typeof navigator=="object"?navigator.userAgent:"";if(r.indexOf("Firefox")==-1)return e;var n=e.getTag;var i={BeforeUnloadEvent:"Event",DataTransfer:"Clipboard",GeoGeolocation:"Geolocation",Location:"!Location",WorkerMessageEvent:"MessageEvent",XMLDocument:"!Document"};function getTagFirefox(e){var r=n(e);return i[r]||r}e.getTag=getTagFirefox};o.C_JS_CONST4=function(e){var r=typeof navigator=="object"?navigator.userAgent:"";if(r.indexOf("Trident/")==-1)return e;var n=e.getTag;var i={BeforeUnloadEvent:"Event",DataTransfer:"Clipboard",HTMLDDElement:"HTMLElement",HTMLDTElement:"HTMLElement",HTMLPhraseElement:"HTMLElement",Position:"Geoposition"};function getTagIE(e){var r=n(e);var s=i[r];if(s)return s;if(r=="Object"){if(window.DataView&&e instanceof window.DataView)return"DataView"}return r}function prototypeForTagIE(e){var r=window[e];if(r==null)return null;return r.prototype}e.getTag=getTagIE;e.prototypeForTag=prototypeForTagIE};o.C_JS_CONST3=function(e){return e};o.C_JsonCodec=new s.JsonCodec;o.C_LineFeed=new s.LineFeed;o.C_ListEquality0=new s.ListEquality;o.C_ListEquality=new s.ListEquality;o.C_MapEquality=new s.MapEquality;o.C_OutOfMemoryError=new s.OutOfMemoryError;o.C_SentinelValue=new s.SentinelValue;o.C_UnicodeGlyphSet=new s.UnicodeGlyphSet;o.C_Utf8Codec=new s.Utf8Codec;o.C_Utf8Encoder=new s.Utf8Encoder;o.C__DelayedDone=new s._DelayedDone;o.C__HasContentVisitor=new s._HasContentVisitor;o.C__HasContentVisitor0=new s._HasContentVisitor0;o.C__IsUselessVisitor=new s._IsUselessVisitor;o.C__IsUselessVisitor0=new s._IsUselessVisitor0;o.C__JSRandom=new s._JSRandom;o.C__Required=new s._Required;o.C__RootZone=new s._RootZone;o.C__SassNull=new s._SassNull;o.C__SassNull0=new s._SassNull0;o.CalculationOperator_Dih=new s.CalculationOperator("times","*",2);o.CalculationOperator_Dih0=new s.CalculationOperator0("times","*",2);o.CalculationOperator_Iem=new s.CalculationOperator("plus","+",1);o.CalculationOperator_Iem0=new s.CalculationOperator0("plus","+",1);o.CalculationOperator_jB6=new s.CalculationOperator("divided by","/",2);o.CalculationOperator_jB60=new s.CalculationOperator0("divided by","/",2);o.CalculationOperator_uti=new s.CalculationOperator("minus","-",1);o.CalculationOperator_uti0=new s.CalculationOperator0("minus","-",1);o.ChangeType_add=new s.ChangeType("add");o.ChangeType_modify=new s.ChangeType("modify");o.ChangeType_remove=new s.ChangeType("remove");o.Combinator_CzM=new s.Combinator("~");o.Combinator_CzM0=new s.Combinator0("~");o.Combinator_sgq=new s.Combinator(">");o.Combinator_sgq0=new s.Combinator0(">");o.Combinator_uzg=new s.Combinator("+");o.Combinator_uzg0=new s.Combinator0("+");o.List_empty=s._setArrayType(e([]),$.JSArray_String);o.Map_empty11=new s.ConstantStringMap(0,{},o.List_empty,s.findType("ConstantStringMap"));o.Configuration_Map_empty=new s.Configuration(o.Map_empty11);o.Map_empty12=new s.ConstantStringMap(0,{},o.List_empty,s.findType("ConstantStringMap"));o.Configuration_Map_empty0=new s.Configuration0(o.Map_empty12);o.Duration_0=new s.Duration(0);o.ExtendMode_allTargets=new s.ExtendMode("allTargets");o.ExtendMode_allTargets0=new s.ExtendMode0("allTargets");o.ExtendMode_normal=new s.ExtendMode("normal");o.ExtendMode_normal0=new s.ExtendMode0("normal");o.ExtendMode_replace=new s.ExtendMode("replace");o.ExtendMode_replace0=new s.ExtendMode0("replace");o.JsonEncoder_null=new s.JsonEncoder(null);o.LineFeed_D6m=new s.LineFeed0("lf","\n");o.LineFeed_Mss=new s.LineFeed0("crlf","\r\n");o.LineFeed_a1Y=new s.LineFeed0("lfcr","\n\r");o.LineFeed_kMT=new s.LineFeed0("cr","\r");o.ListSeparator_1gm=new s.ListSeparator("slash","/");o.ListSeparator_1gm0=new s.ListSeparator0("slash","/");o.ListSeparator_kWM=new s.ListSeparator("comma",",");o.ListSeparator_kWM0=new s.ListSeparator0("comma",",");o.ListSeparator_undecided_null=new s.ListSeparator("undecided",null);o.ListSeparator_undecided_null0=new s.ListSeparator0("undecided",null);o.ListSeparator_woc=new s.ListSeparator("space"," ");o.ListSeparator_woc0=new s.ListSeparator0("space"," ");o.List_2Vk=s._setArrayType(e([0,0,32776,33792,1,10240,0,0]),$.JSArray_int);o.List_Opy=s._setArrayType(e(["em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","q","in","pt","pc","px"]),$.JSArray_String);o.Map_Op0VJ=new s.ConstantStringMap(15,{em:null,ex:null,ch:null,rem:null,vw:null,vh:null,vmin:null,vmax:null,cm:null,mm:null,q:null,in:null,pt:null,pc:null,px:null},o.List_Opy,$.ConstantStringMap_String_Null);o.Set_Opyzl=new s._UnmodifiableSet(o.Map_Op0VJ,$._UnmodifiableSet_String);o.List_deg_grad_rad_turn=s._setArrayType(e(["deg","grad","rad","turn"]),$.JSArray_String);o.Map_EGso3=new s.ConstantStringMap(4,{deg:null,grad:null,rad:null,turn:null},o.List_deg_grad_rad_turn,$.ConstantStringMap_String_Null);o.Set_EGJh=new s._UnmodifiableSet(o.Map_EGso3,$._UnmodifiableSet_String);o.List_s_ms=s._setArrayType(e(["s","ms"]),$.JSArray_String);o.Map_maDht=new s.ConstantStringMap(2,{s:null,ms:null},o.List_s_ms,$.ConstantStringMap_String_Null);o.Set_maSD=new s._UnmodifiableSet(o.Map_maDht,$._UnmodifiableSet_String);o.List_hz_khz=s._setArrayType(e(["hz","khz"]),$.JSArray_String);o.Map_kfoGx=new s.ConstantStringMap(2,{hz:null,khz:null},o.List_hz_khz,$.ConstantStringMap_String_Null);o.Set_kfn1=new s._UnmodifiableSet(o.Map_kfoGx,$._UnmodifiableSet_String);o.List_dpi_dpcm_dppx=s._setArrayType(e(["dpi","dpcm","dppx"]),$.JSArray_String);o.Map_H20=new s.ConstantStringMap(3,{dpi:null,dpcm:null,dppx:null},o.List_dpi_dpcm_dppx,$.ConstantStringMap_String_Null);o.Set_H2nB4=new s._UnmodifiableSet(o.Map_H20,$._UnmodifiableSet_String);o.List_AqW=s._setArrayType(e([o.Set_Opyzl,o.Set_EGJh,o.Set_maSD,o.Set_kfn1,o.Set_H2nB4]),s.findType("JSArray>"));o.List_CVk=s._setArrayType(e([0,0,65490,45055,65535,34815,65534,18431]),$.JSArray_int);o.List_EyN=s._setArrayType(e([o.Combinator_CzM]),$.JSArray_Combinator);o.List_EyN0=s._setArrayType(e([o.Combinator_CzM0]),$.JSArray_Combinator_2);o.List_Gl7=s._setArrayType(e([o.Combinator_uzg]),$.JSArray_Combinator);o.List_Gl70=s._setArrayType(e([o.Combinator_uzg0]),$.JSArray_Combinator_2);o.List_JYB=s._setArrayType(e([0,0,26624,1023,65534,2047,65534,2047]),$.JSArray_int);o.List_empty10=s._setArrayType(e([]),$.JSArray_Argument);o.List_empty22=s._setArrayType(e([]),$.JSArray_Argument_2);o.List_empty24=s._setArrayType(e([]),$.JSArray_AsyncCallable_2);o.List_empty25=s._setArrayType(e([]),$.JSArray_AsyncImporter);o.List_empty0=s._setArrayType(e([]),$.JSArray_Combinator);o.List_empty13=s._setArrayType(e([]),$.JSArray_Combinator_2);o.List_empty1=s._setArrayType(e([]),$.JSArray_ComplexSelector);o.List_empty14=s._setArrayType(e([]),$.JSArray_ComplexSelector_2);o.List_empty2=s._setArrayType(e([]),$.JSArray_ComplexSelectorComponent);o.List_empty15=s._setArrayType(e([]),$.JSArray_ComplexSelectorComponent_2);o.List_empty8=s._setArrayType(e([]),$.JSArray_ConfiguredVariable);o.List_empty20=s._setArrayType(e([]),$.JSArray_ConfiguredVariable_2);o.List_empty3=s._setArrayType(e([]),$.JSArray_CssNode);o.List_empty16=s._setArrayType(e([]),$.JSArray_CssNode_2);o.List_empty9=s._setArrayType(e([]),$.JSArray_Expression);o.List_empty21=s._setArrayType(e([]),$.JSArray_Expression_2);o.List_empty5=s._setArrayType(e([]),$.JSArray_Extension);o.List_empty17=s._setArrayType(e([]),$.JSArray_Extension_2);o.List_empty23=s._setArrayType(e([]),$.JSArray_Importer);o.List_empty6=s._setArrayType(e([]),s.findType("JSArray>"));o.List_empty18=s._setArrayType(e([]),s.findType("JSArray>"));o.List_empty12=s._setArrayType(e([]),$.JSArray_Statement);o.List_empty7=s._setArrayType(e([]),$.JSArray_Value);o.List_empty19=s._setArrayType(e([]),$.JSArray_Value_2);o.List_empty4=s._setArrayType(e([]),$.JSArray_int);o.List_empty11=s._setArrayType(e([]),$.JSArray_dynamic);o.List_gRj=s._setArrayType(e([0,0,32722,12287,65534,34815,65534,18431]),$.JSArray_int);o.List_nxB=s._setArrayType(e([0,0,24576,1023,65534,34815,65534,18431]),$.JSArray_int);o.List_qFt=s._setArrayType(e([0,0,27858,1023,65534,51199,65535,32767]),$.JSArray_int);o.List_qNA=s._setArrayType(e([0,0,32754,11263,65534,34815,65534,18431]),$.JSArray_int);o.List_qg40=s._setArrayType(e([0,0,32722,12287,65535,34815,65534,18431]),$.JSArray_int);o.List_qg4=s._setArrayType(e([0,0,65490,12287,65535,34815,65534,18431]),$.JSArray_int);o.List_K2O=s._setArrayType(e(["in","cm","pc","mm","q","pt","px","deg","grad","rad","turn","s","ms","Hz","kHz","dpi","dpcm","dppx"]),$.JSArray_String);o.List_aha=s._setArrayType(e(["in","cm","pc","mm","q","pt","px"]),$.JSArray_String);o.Map_ahsJO=new s.ConstantStringMap(7,{in:1,cm:.39370078740157477,pc:.16666666666666666,mm:.03937007874015748,q:.00984251968503937,pt:.013888888888888888,px:.010416666666666666},o.List_aha,$.ConstantStringMap_String_num);o.Map_ahM6L=new s.ConstantStringMap(7,{in:2.54,cm:1,pc:.42333333333333334,mm:.1,q:.025,pt:.035277777777777776,px:.026458333333333334},o.List_aha,$.ConstantStringMap_String_num);o.Map_ahNsa=new s.ConstantStringMap(7,{in:6,cm:2.3622047244094486,pc:1,mm:.2362204724409449,q:.05905511811023623,pt:.08333333333333333,px:.0625},o.List_aha,$.ConstantStringMap_String_num);o.Map_ahPSt=new s.ConstantStringMap(7,{in:25.4,cm:10,pc:4.233333333333333,mm:1,q:.25,pt:.35277777777777775,px:.26458333333333334},o.List_aha,$.ConstantStringMap_String_num);o.Map_ahgya=new s.ConstantStringMap(7,{in:101.6,cm:40,pc:16.933333333333334,mm:4,q:1,pt:1.411111111111111,px:1.0583333333333333},o.List_aha,$.ConstantStringMap_String_num);o.Map_ahGvh=new s.ConstantStringMap(7,{in:72,cm:28.346456692913385,pc:12,mm:2.834645669291339,q:.7086614173228347,pt:1,px:.75},o.List_aha,$.ConstantStringMap_String_num);o.Map_ahkuc=new s.ConstantStringMap(7,{in:96,cm:37.79527559055118,pc:16,mm:3.7795275590551185,q:.9448818897637796,pt:1.3333333333333333,px:1},o.List_aha,$.ConstantStringMap_String_num);o.Map_EGyvr=new s.ConstantStringMap(4,{deg:1,grad:.9,rad:57.29577951308232,turn:360},o.List_deg_grad_rad_turn,$.ConstantStringMap_String_num);o.Map_EGfqB=new s.ConstantStringMap(4,{deg:1.1111111111111112,grad:1,rad:63.66197723675813,turn:400},o.List_deg_grad_rad_turn,$.ConstantStringMap_String_num);o.Map_EGswR=new s.ConstantStringMap(4,{deg:.017453292519943295,grad:.015707963267948967,rad:1,turn:6.283185307179586},o.List_deg_grad_rad_turn,$.ConstantStringMap_String_num);o.Map_EGY2F=new s.ConstantStringMap(4,{deg:.002777777777777778,grad:.0025,rad:.15915494309189535,turn:1},o.List_deg_grad_rad_turn,$.ConstantStringMap_String_num);o.Map_ma2bi=new s.ConstantStringMap(2,{s:1,ms:.001},o.List_s_ms,$.ConstantStringMap_String_num);o.Map_maDht0=new s.ConstantStringMap(2,{s:1e3,ms:1},o.List_s_ms,$.ConstantStringMap_String_num);o.List_Hz_kHz=s._setArrayType(e(["Hz","kHz"]),$.JSArray_String);o.Map_0IpUe=new s.ConstantStringMap(2,{Hz:1,kHz:1e3},o.List_Hz_kHz,$.ConstantStringMap_String_num);o.Map_0IVs0=new s.ConstantStringMap(2,{Hz:.001,kHz:1},o.List_Hz_kHz,$.ConstantStringMap_String_num);o.Map_H2OWd=new s.ConstantStringMap(3,{dpi:1,dpcm:2.54,dppx:96},o.List_dpi_dpcm_dppx,$.ConstantStringMap_String_num);o.Map_H24em=new s.ConstantStringMap(3,{dpi:.39370078740157477,dpcm:1,dppx:37.79527559055118},o.List_dpi_dpcm_dppx,$.ConstantStringMap_String_num);o.Map_H25Om=new s.ConstantStringMap(3,{dpi:.010416666666666666,dpcm:.026458333333333334,dppx:1},o.List_dpi_dpcm_dppx,$.ConstantStringMap_String_num);o.Map_K2BWj=new s.ConstantStringMap(18,{in:o.Map_ahsJO,cm:o.Map_ahM6L,pc:o.Map_ahNsa,mm:o.Map_ahPSt,q:o.Map_ahgya,pt:o.Map_ahGvh,px:o.Map_ahkuc,deg:o.Map_EGyvr,grad:o.Map_EGfqB,rad:o.Map_EGswR,turn:o.Map_EGY2F,s:o.Map_ma2bi,ms:o.Map_maDht0,Hz:o.Map_0IpUe,kHz:o.Map_0IVs0,dpi:o.Map_H2OWd,dpcm:o.Map_H24em,dppx:o.Map_H25Om},o.List_K2O,s.findType("ConstantStringMap>"));o.List_U8g=s._setArrayType(e(["length","angle","time","frequency","pixel density"]),$.JSArray_String);o.Map_U8AHF=new s.ConstantStringMap(5,{length:o.List_aha,angle:o.List_deg_grad_rad_turn,time:o.List_s_ms,frequency:o.List_Hz_kHz,"pixel density":o.List_dpi_dpcm_dppx},o.List_U8g,s.findType("ConstantStringMap>"));o.Map_empty0=new s.ConstantStringMap(0,{},o.List_empty,s.findType("ConstantStringMap"));o.Map_empty7=new s.ConstantStringMap(0,{},o.List_empty,s.findType("ConstantStringMap"));o.Map_empty2=new s.ConstantStringMap(0,{},o.List_empty,s.findType("ConstantStringMap"));o.Map_empty9=new s.ConstantStringMap(0,{},o.List_empty,s.findType("ConstantStringMap"));o.Map_empty3=new s.ConstantStringMap(0,{},o.List_empty,s.findType("ConstantStringMap>"));o.Map_empty=new s.ConstantStringMap(0,{},o.List_empty,s.findType("ConstantStringMap>"));o.Map_empty10=new s.ConstantStringMap(0,{},o.List_empty,s.findType("ConstantStringMap>"));o.Map_empty6=new s.ConstantStringMap(0,{},o.List_empty,s.findType("ConstantStringMap>"));o.Map_empty1=new s.ConstantStringMap(0,{},o.List_empty,s.findType("ConstantStringMap"));o.Map_empty8=new s.ConstantStringMap(0,{},o.List_empty,s.findType("ConstantStringMap"));o.List_empty26=s._setArrayType(e([]),s.findType("JSArray"));o.Map_empty4=new s.ConstantStringMap(0,{},o.List_empty26,s.findType("ConstantStringMap"));o.List_empty27=s._setArrayType(e([]),$.JSArray_nullable_String);o.Map_empty5=new s.ConstantStringMap(0,{},o.List_empty27,s.findType("ConstantStringMap"));o.OptionType_YwU=new s.OptionType("OptionType.single");o.OptionType_nMZ=new s.OptionType("OptionType.flag");o.OptionType_qyr=new s.OptionType("OptionType.multiple");o.OutputStyle_compressed=new s.OutputStyle("compressed");o.OutputStyle_compressed0=new s.OutputStyle0("compressed");o.OutputStyle_expanded=new s.OutputStyle("expanded");o.OutputStyle_expanded0=new s.OutputStyle0("expanded");o.SassBoolean_false=new s.SassBoolean(false);o.SassBoolean_false0=new s.SassBoolean0(false);o.SassBoolean_true=new s.SassBoolean(true);o.SassBoolean_true0=new s.SassBoolean0(true);o.SassList_0=new s.SassList0(o.List_empty19,o.ListSeparator_undecided_null0,false);o.SassList_yfz=new s.SassList(o.List_empty7,o.ListSeparator_kWM,false);o.SassList_yfz0=new s.SassList0(o.List_empty19,o.ListSeparator_kWM0,false);o.Map_empty13=new s.ConstantStringMap(0,{},o.List_empty7,s.findType("ConstantStringMap"));o.SassMap_Map_empty=new s.SassMap(o.Map_empty13);o.Map_empty14=new s.ConstantStringMap(0,{},o.List_empty19,s.findType("ConstantStringMap"));o.SassMap_Map_empty0=new s.SassMap0(o.Map_empty14);o.Map_2Vaha=new s.GeneralConstantMap([91,null,46,null,35,null,37,null,58,null,38,null,42,null,124,null],s.findType("GeneralConstantMap"));o.Set_2Vk2=new s._UnmodifiableSet(o.Map_2Vaha,s.findType("_UnmodifiableSet"));o.List_is_matches_where=s._setArrayType(e(["is","matches","where"]),$.JSArray_String);o.Map_YEyLX=new s.ConstantStringMap(3,{is:null,matches:null,where:null},o.List_is_matches_where,$.ConstantStringMap_String_Null);o.Set_YEQji=new s._UnmodifiableSet(o.Map_YEyLX,$._UnmodifiableSet_String);o.List_empty28=s._setArrayType(e([]),$.JSArray_Module_AsyncCallable);o.Map_empty15=new s.ConstantStringMap(0,{},o.List_empty28,s.findType("ConstantStringMap,Null>"));o.Set_empty0=new s._UnmodifiableSet(o.Map_empty15,s.findType("_UnmodifiableSet>"));o.List_empty29=s._setArrayType(e([]),$.JSArray_Module_Callable);o.Map_empty16=new s.ConstantStringMap(0,{},o.List_empty29,s.findType("ConstantStringMap,Null>"));o.Set_empty=new s._UnmodifiableSet(o.Map_empty16,s.findType("_UnmodifiableSet>"));o.List_empty30=s._setArrayType(e([]),$.JSArray_Module_AsyncCallable_2);o.Map_empty17=new s.ConstantStringMap(0,{},o.List_empty30,s.findType("ConstantStringMap,Null>"));o.Set_empty3=new s._UnmodifiableSet(o.Map_empty17,s.findType("_UnmodifiableSet>"));o.List_empty31=s._setArrayType(e([]),$.JSArray_Module_Callable_2);o.Map_empty18=new s.ConstantStringMap(0,{},o.List_empty31,s.findType("ConstantStringMap,Null>"));o.Set_empty2=new s._UnmodifiableSet(o.Map_empty18,s.findType("_UnmodifiableSet>"));o.List_empty32=s._setArrayType(e([]),$.JSArray_StylesheetNode);o.Map_empty19=new s.ConstantStringMap(0,{},o.List_empty32,s.findType("ConstantStringMap"));o.Set_empty1=new s._UnmodifiableSet(o.Map_empty19,s.findType("_UnmodifiableSet"));o.StderrLogger_false=new s.StderrLogger(false);o.StderrLogger_false0=new s.StderrLogger0(false);o.Symbol__evaluationContext=new s.Symbol("_evaluationContext");o.Symbol__inImportRule=new s.Symbol("_inImportRule");o.Symbol_call=new s.Symbol("call");o.Syntax_CSS=new s.Syntax("CSS");o.Syntax_CSS0=new s.Syntax0("CSS");o.Syntax_SCSS=new s.Syntax("SCSS");o.Syntax_SCSS0=new s.Syntax0("SCSS");o.Syntax_Sass=new s.Syntax("Sass");o.Syntax_Sass0=new s.Syntax0("Sass");o.List_empty33=s._setArrayType(e([]),s.findType("JSArray>"));o.Map_empty20=new s.ConstantStringMap(0,{},o.List_empty33,s.findType("ConstantStringMap,ModifiableCssValue>"));o.Tuple2_EmptyExtensionStore_Map_empty=new s.Tuple2(o.C_EmptyExtensionStore,o.Map_empty20,$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList);o.List_empty34=s._setArrayType(e([]),s.findType("JSArray>"));o.Map_empty21=new s.ConstantStringMap(0,{},o.List_empty34,s.findType("ConstantStringMap,ModifiableCssValue0>"));o.Tuple2_EmptyExtensionStore_Map_empty0=new s.Tuple2(o.C_EmptyExtensionStore0,o.Map_empty21,$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2);o.Type_Null_Yyn=s.typeLiteral("Null");o.Type_Object_xQ6=s.typeLiteral("Object");o.UnaryOperator_U4G=new s.UnaryOperator("minus","-");o.UnaryOperator_U4G0=new s.UnaryOperator0("minus","-");o.UnaryOperator_j2w=new s.UnaryOperator("plus","+");o.UnaryOperator_j2w0=new s.UnaryOperator0("plus","+");o.UnaryOperator_not_not=new s.UnaryOperator("not","not");o.UnaryOperator_not_not0=new s.UnaryOperator0("not","not");o.UnaryOperator_zDx=new s.UnaryOperator("divide","/");o.UnaryOperator_zDx0=new s.UnaryOperator0("divide","/");o.Utf8Decoder_false=new s.Utf8Decoder(false);o._ColorFormatEnum_hslFunction=new s._ColorFormatEnum("hslFunction");o._ColorFormatEnum_hslFunction0=new s._ColorFormatEnum0("hslFunction");o._ColorFormatEnum_rgbFunction=new s._ColorFormatEnum("rgbFunction");o._ColorFormatEnum_rgbFunction0=new s._ColorFormatEnum0("rgbFunction");o._IsBogusVisitor_false=new s._IsBogusVisitor(false);o._IsBogusVisitor_false0=new s._IsBogusVisitor0(false);o._IsBogusVisitor_true=new s._IsBogusVisitor(true);o._IsBogusVisitor_true0=new s._IsBogusVisitor0(true);o._IsInvisibleVisitor_false=new s._IsInvisibleVisitor0(false);o._IsInvisibleVisitor_false0=new s._IsInvisibleVisitor2(false);o._IsInvisibleVisitor_false_false=new s._IsInvisibleVisitor(false,false);o._IsInvisibleVisitor_false_false0=new s._IsInvisibleVisitor1(false,false);o._IsInvisibleVisitor_true=new s._IsInvisibleVisitor0(true);o._IsInvisibleVisitor_true0=new s._IsInvisibleVisitor2(true);o._IsInvisibleVisitor_true_false=new s._IsInvisibleVisitor(true,false);o._IsInvisibleVisitor_true_false0=new s._IsInvisibleVisitor1(true,false);o._IsInvisibleVisitor_true_true=new s._IsInvisibleVisitor(true,true);o._IsInvisibleVisitor_true_true0=new s._IsInvisibleVisitor1(true,true);o._IterationMarker_null_2=new s._IterationMarker(null,2);o._PathDirection_8Gl=new s._PathDirection("at root");o._PathDirection_988=new s._PathDirection("below root");o._PathDirection_FIw=new s._PathDirection("reaches root");o._PathDirection_ZGD=new s._PathDirection("above root");o._PathRelation_different=new s._PathRelation("different");o._PathRelation_equal=new s._PathRelation("equal");o._PathRelation_inconclusive=new s._PathRelation("inconclusive");o._PathRelation_within=new s._PathRelation("within");o._RegisterBinaryZoneFunction_kGu=new s._RegisterBinaryZoneFunction(o.C__RootZone,s.async___rootRegisterBinaryCallback$closure());o._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback=new s._RegisterNullaryZoneFunction(o.C__RootZone,s.async___rootRegisterCallback$closure());o._RegisterUnaryZoneFunction_Bqo=new s._RegisterUnaryZoneFunction(o.C__RootZone,s.async___rootRegisterUnaryCallback$closure());o._RunBinaryZoneFunction__RootZone__rootRunBinary=new s._RunBinaryZoneFunction(o.C__RootZone,s.async___rootRunBinary$closure());o._RunNullaryZoneFunction__RootZone__rootRun=new s._RunNullaryZoneFunction(o.C__RootZone,s.async___rootRun$closure());o._RunUnaryZoneFunction__RootZone__rootRunUnary=new s._RunUnaryZoneFunction(o.C__RootZone,s.async___rootRunUnary$closure());o._SingletonCssMediaQueryMergeResult_empty=new s._SingletonCssMediaQueryMergeResult("empty");o._SingletonCssMediaQueryMergeResult_empty0=new s._SingletonCssMediaQueryMergeResult0("empty");o._SingletonCssMediaQueryMergeResult_unrepresentable=new s._SingletonCssMediaQueryMergeResult("unrepresentable");o._SingletonCssMediaQueryMergeResult_unrepresentable0=new s._SingletonCssMediaQueryMergeResult0("unrepresentable");o._StreamGroupState_canceled=new s._StreamGroupState("canceled");o._StreamGroupState_dormant=new s._StreamGroupState("dormant");o._StreamGroupState_listening=new s._StreamGroupState("listening");o._StreamGroupState_paused=new s._StreamGroupState("paused");o._StringStackTrace_3uE=new s._StringStackTrace("");o._ZoneFunction_3bB=new s._ZoneFunction(o.C__RootZone,s.async___rootCreatePeriodicTimer$closure());o._ZoneFunction_NMc=new s._ZoneFunction(o.C__RootZone,s.async___rootHandleUncaughtError$closure());o._ZoneFunction__RootZone__rootCreateTimer=new s._ZoneFunction(o.C__RootZone,s.async___rootCreateTimer$closure());o._ZoneFunction__RootZone__rootErrorCallback=new s._ZoneFunction(o.C__RootZone,s.async___rootErrorCallback$closure());o._ZoneFunction__RootZone__rootFork=new s._ZoneFunction(o.C__RootZone,s.async___rootFork$closure());o._ZoneFunction__RootZone__rootPrint=new s._ZoneFunction(o.C__RootZone,s.async___rootPrint$closure());o._ZoneFunction__RootZone__rootScheduleMicrotask=new s._ZoneFunction(o.C__RootZone,s.async___rootScheduleMicrotask$closure());o._ZoneSpecification_ALf=new s._ZoneSpecification(null,null,null,null,null,null,null,null,null,null,null,null,null)})();(function staticFields(){u._JS_INTEROP_INTERCEPTOR_TAG=null;u.printToZone=null;u.Primitives__identityHashCodeProperty=null;u.BoundClosure__receiverFieldNameCache=null;u.BoundClosure__interceptorFieldNameCache=null;u.getTagFunction=null;u.alternateTagFunction=null;u.prototypeForTagFunction=null;u.dispatchRecordsForInstanceTags=null;u.interceptorsForUncacheableTags=null;u.initNativeDispatchFlag=null;u._nextCallback=null;u._lastCallback=null;u._lastPriorityCallback=null;u._isInCallbackLoop=false;u.Zone__current=o.C__RootZone;u._RootZone__rootDelegate=null;u._toStringVisiting=s._setArrayType([],$.JSArray_Object);u._fs=null;u._currentUriBase=null;u._current=null;u._subselectorPseudos=s.LinkedHashSet_LinkedHashSet$_literal(["is","matches","where","any","nth-child","nth-last-child"],$.String);u._rootishPseudoClasses=s.LinkedHashSet_LinkedHashSet$_literal(["root","scope","host","host-context"],$.String);u._features=s.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing","extend-selector-pseudoclass","units-level-3","at-error","custom-property"],$.String);u._realCaseCache=function(){var e=$.String;return s.LinkedHashMap_LinkedHashMap$_empty(e,e)}();u._selectorPseudoClasses=s.LinkedHashSet_LinkedHashSet$_literal(["not","is","matches","where","current","any","has","host","host-context"],$.String);u._selectorPseudoElements=s.LinkedHashSet_LinkedHashSet$_literal(["slotted"],$.String);u._glyphs=o.C_UnicodeGlyphSet;u._rootishPseudoClasses0=s.LinkedHashSet_LinkedHashSet$_literal(["root","scope","host","host-context"],$.String);u._realCaseCache0=function(){var e=$.String;return s.LinkedHashMap_LinkedHashMap$_empty(e,e)}();u._features0=s.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing","extend-selector-pseudoclass","units-level-3","at-error","custom-property"],$.String);u._selectorPseudoClasses0=s.LinkedHashSet_LinkedHashSet$_literal(["not","is","matches","where","current","any","has","host","host-context"],$.String);u._selectorPseudoElements0=s.LinkedHashSet_LinkedHashSet$_literal(["slotted"],$.String);u._subselectorPseudos0=s.LinkedHashSet_LinkedHashSet$_literal(["is","matches","where","any","nth-child","nth-last-child"],$.String)})();(function lazyInitializers(){var e=i.lazyFinal,r=i.lazy;e(u,"DART_CLOSURE_PROPERTY_NAME","$get$DART_CLOSURE_PROPERTY_NAME",(()=>s.getIsolateAffinityTag("_$dart_dartClosure")));e(u,"nullFuture","$get$nullFuture",(()=>o.C__RootZone.run$1$1(0,new s.nullFuture_closure,s.findType("Future"))));e(u,"TypeErrorDecoder_noSuchMethodPattern","$get$TypeErrorDecoder_noSuchMethodPattern",(()=>s.TypeErrorDecoder_extractPattern(s.TypeErrorDecoder_provokeCallErrorOn({toString:function(){return"$receiver$"}}))));e(u,"TypeErrorDecoder_notClosurePattern","$get$TypeErrorDecoder_notClosurePattern",(()=>s.TypeErrorDecoder_extractPattern(s.TypeErrorDecoder_provokeCallErrorOn({$method$:null,toString:function(){return"$receiver$"}}))));e(u,"TypeErrorDecoder_nullCallPattern","$get$TypeErrorDecoder_nullCallPattern",(()=>s.TypeErrorDecoder_extractPattern(s.TypeErrorDecoder_provokeCallErrorOn(null))));e(u,"TypeErrorDecoder_nullLiteralCallPattern","$get$TypeErrorDecoder_nullLiteralCallPattern",(()=>s.TypeErrorDecoder_extractPattern(function(){var e="$arguments$";try{null.$method$(e)}catch(e){return e.message}}())));e(u,"TypeErrorDecoder_undefinedCallPattern","$get$TypeErrorDecoder_undefinedCallPattern",(()=>s.TypeErrorDecoder_extractPattern(s.TypeErrorDecoder_provokeCallErrorOn(void 0))));e(u,"TypeErrorDecoder_undefinedLiteralCallPattern","$get$TypeErrorDecoder_undefinedLiteralCallPattern",(()=>s.TypeErrorDecoder_extractPattern(function(){var e="$arguments$";try{(void 0).$method$(e)}catch(e){return e.message}}())));e(u,"TypeErrorDecoder_nullPropertyPattern","$get$TypeErrorDecoder_nullPropertyPattern",(()=>s.TypeErrorDecoder_extractPattern(s.TypeErrorDecoder_provokePropertyErrorOn(null))));e(u,"TypeErrorDecoder_nullLiteralPropertyPattern","$get$TypeErrorDecoder_nullLiteralPropertyPattern",(()=>s.TypeErrorDecoder_extractPattern(function(){try{null.$method$}catch(e){return e.message}}())));e(u,"TypeErrorDecoder_undefinedPropertyPattern","$get$TypeErrorDecoder_undefinedPropertyPattern",(()=>s.TypeErrorDecoder_extractPattern(s.TypeErrorDecoder_provokePropertyErrorOn(void 0))));e(u,"TypeErrorDecoder_undefinedLiteralPropertyPattern","$get$TypeErrorDecoder_undefinedLiteralPropertyPattern",(()=>s.TypeErrorDecoder_extractPattern(function(){try{(void 0).$method$}catch(e){return e.message}}())));e(u,"_AsyncRun__scheduleImmediateClosure","$get$_AsyncRun__scheduleImmediateClosure",(()=>s._AsyncRun__initializeScheduleImmediate()));e(u,"Future__nullFuture","$get$Future__nullFuture",(()=>s.findType("_Future")._as(u.$get$nullFuture())));e(u,"Future__falseFuture","$get$Future__falseFuture",(()=>s._Future$zoneValue(false,o.C__RootZone,$.bool)));e(u,"_RootZone__rootMap","$get$_RootZone__rootMap",(()=>{var e=$.dynamic;return s.HashMap_HashMap(e,e)}));e(u,"Utf8Decoder__decoder","$get$Utf8Decoder__decoder",(()=>(new s.Utf8Decoder__decoder_closure).call$0()));e(u,"Utf8Decoder__decoderNonfatal","$get$Utf8Decoder__decoderNonfatal",(()=>(new s.Utf8Decoder__decoderNonfatal_closure).call$0()));e(u,"_Base64Decoder__inverseAlphabet","$get$_Base64Decoder__inverseAlphabet",(()=>s.NativeInt8List__create1(s._ensureNativeList(s._setArrayType([-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-2,-2,-2,-2,-2,62,-2,62,-2,63,52,53,54,55,56,57,58,59,60,61,-2,-2,-2,-1,-2,-2,-2,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-2,-2,-2,-2,63,-2,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-2,-2,-2,-2,-2],$.JSArray_int)))));e(u,"_Uri__isWindowsCached","$get$_Uri__isWindowsCached",(()=>typeof process!="undefined"&&Object.prototype.toString.call(process)=="[object process]"&&process.platform=="win32"));e(u,"_Uri__needsNoEncoding","$get$_Uri__needsNoEncoding",(()=>s.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$",false)));r(u,"_hasErrorStackProperty","$get$_hasErrorStackProperty",(()=>(new Error).stack!=void 0));e(u,"_hashSeed","$get$_hashSeed",(()=>s.objectHashCode(o.Type_Object_xQ6)));e(u,"_scannerTables","$get$_scannerTables",(()=>s._createTables()));e(u,"Option__invalidChars","$get$Option__invalidChars",(()=>s.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]",false)));e(u,"alwaysValid","$get$alwaysValid",(()=>new s.alwaysValid_closure));e(u,"readline","$get$readline",(()=>self.readline));e(u,"windows","$get$windows",(()=>s.Context_Context(u.$get$Style_windows())));e(u,"url","$get$url",(()=>s.Context_Context(u.$get$Style_url())));e(u,"context","$get$context",(()=>new s.Context($.InternalStyle._as(u.$get$Style_platform()),null)));e(u,"Style_posix","$get$Style_posix",(()=>new s.PosixStyle(s.RegExp_RegExp("/",false),s.RegExp_RegExp("[^/]$",false),s.RegExp_RegExp("^/",false))));e(u,"Style_windows","$get$Style_windows",(()=>new s.WindowsStyle(s.RegExp_RegExp("[/\\\\]",false),s.RegExp_RegExp("[^/\\\\]$",false),s.RegExp_RegExp("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])",false),s.RegExp_RegExp("^[/\\\\](?![/\\\\])",false))));e(u,"Style_url","$get$Style_url",(()=>new s.UrlStyle(s.RegExp_RegExp("/",false),s.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$",false),s.RegExp_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*",false),s.RegExp_RegExp("^/",false))));e(u,"Style_platform","$get$Style_platform",(()=>s.Style__getPlatformStyle()));e(u,"IfExpression_declaration","$get$IfExpression_declaration",(()=>s.ArgumentDeclaration_ArgumentDeclaration$parse(c.x40funct,null)));e(u,"colorsByName","$get$colorsByName",(()=>{var e=null;return s.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen",s.SassColor$rgb(154,205,50,e),"yellow",s.SassColor$rgb(255,255,0,e),"whitesmoke",s.SassColor$rgb(245,245,245,e),"white",s.SassColor$rgb(255,255,255,e),"wheat",s.SassColor$rgb(245,222,179,e),"violet",s.SassColor$rgb(238,130,238,e),"turquoise",s.SassColor$rgb(64,224,208,e),"transparent",s.SassColor$rgb(0,0,0,0),"tomato",s.SassColor$rgb(255,99,71,e),"thistle",s.SassColor$rgb(216,191,216,e),"teal",s.SassColor$rgb(0,128,128,e),"tan",s.SassColor$rgb(210,180,140,e),"steelblue",s.SassColor$rgb(70,130,180,e),"springgreen",s.SassColor$rgb(0,255,127,e),"snow",s.SassColor$rgb(255,250,250,e),"slategrey",s.SassColor$rgb(112,128,144,e),"slategray",s.SassColor$rgb(112,128,144,e),"slateblue",s.SassColor$rgb(106,90,205,e),"skyblue",s.SassColor$rgb(135,206,235,e),"silver",s.SassColor$rgb(192,192,192,e),"sienna",s.SassColor$rgb(160,82,45,e),"seashell",s.SassColor$rgb(255,245,238,e),"seagreen",s.SassColor$rgb(46,139,87,e),"sandybrown",s.SassColor$rgb(244,164,96,e),"salmon",s.SassColor$rgb(250,128,114,e),"saddlebrown",s.SassColor$rgb(139,69,19,e),"royalblue",s.SassColor$rgb(65,105,225,e),"rosybrown",s.SassColor$rgb(188,143,143,e),"red",s.SassColor$rgb(255,0,0,e),"rebeccapurple",s.SassColor$rgb(102,51,153,e),"purple",s.SassColor$rgb(128,0,128,e),"powderblue",s.SassColor$rgb(176,224,230,e),"plum",s.SassColor$rgb(221,160,221,e),"pink",s.SassColor$rgb(255,192,203,e),"peru",s.SassColor$rgb(205,133,63,e),"peachpuff",s.SassColor$rgb(255,218,185,e),"papayawhip",s.SassColor$rgb(255,239,213,e),"palevioletred",s.SassColor$rgb(219,112,147,e),"paleturquoise",s.SassColor$rgb(175,238,238,e),"palegreen",s.SassColor$rgb(152,251,152,e),"palegoldenrod",s.SassColor$rgb(238,232,170,e),"orchid",s.SassColor$rgb(218,112,214,e),"orangered",s.SassColor$rgb(255,69,0,e),"orange",s.SassColor$rgb(255,165,0,e),"olivedrab",s.SassColor$rgb(107,142,35,e),"olive",s.SassColor$rgb(128,128,0,e),"oldlace",s.SassColor$rgb(253,245,230,e),"navy",s.SassColor$rgb(0,0,128,e),"navajowhite",s.SassColor$rgb(255,222,173,e),"moccasin",s.SassColor$rgb(255,228,181,e),"mistyrose",s.SassColor$rgb(255,228,225,e),"mintcream",s.SassColor$rgb(245,255,250,e),"midnightblue",s.SassColor$rgb(25,25,112,e),"mediumvioletred",s.SassColor$rgb(199,21,133,e),"mediumturquoise",s.SassColor$rgb(72,209,204,e),"mediumspringgreen",s.SassColor$rgb(0,250,154,e),"mediumslateblue",s.SassColor$rgb(123,104,238,e),"mediumseagreen",s.SassColor$rgb(60,179,113,e),"mediumpurple",s.SassColor$rgb(147,112,219,e),"mediumorchid",s.SassColor$rgb(186,85,211,e),"mediumblue",s.SassColor$rgb(0,0,205,e),"mediumaquamarine",s.SassColor$rgb(102,205,170,e),"maroon",s.SassColor$rgb(128,0,0,e),"magenta",s.SassColor$rgb(255,0,255,e),"linen",s.SassColor$rgb(250,240,230,e),"limegreen",s.SassColor$rgb(50,205,50,e),"lime",s.SassColor$rgb(0,255,0,e),"lightyellow",s.SassColor$rgb(255,255,224,e),"lightsteelblue",s.SassColor$rgb(176,196,222,e),"lightslategrey",s.SassColor$rgb(119,136,153,e),"lightslategray",s.SassColor$rgb(119,136,153,e),"lightskyblue",s.SassColor$rgb(135,206,250,e),"lightseagreen",s.SassColor$rgb(32,178,170,e),"lightsalmon",s.SassColor$rgb(255,160,122,e),"lightpink",s.SassColor$rgb(255,182,193,e),"lightgrey",s.SassColor$rgb(211,211,211,e),"lightgreen",s.SassColor$rgb(144,238,144,e),"lightgray",s.SassColor$rgb(211,211,211,e),"lightgoldenrodyellow",s.SassColor$rgb(250,250,210,e),"lightcyan",s.SassColor$rgb(224,255,255,e),"lightcoral",s.SassColor$rgb(240,128,128,e),"lightblue",s.SassColor$rgb(173,216,230,e),"lemonchiffon",s.SassColor$rgb(255,250,205,e),"lawngreen",s.SassColor$rgb(124,252,0,e),"lavenderblush",s.SassColor$rgb(255,240,245,e),"lavender",s.SassColor$rgb(230,230,250,e),"khaki",s.SassColor$rgb(240,230,140,e),"ivory",s.SassColor$rgb(255,255,240,e),"indigo",s.SassColor$rgb(75,0,130,e),"indianred",s.SassColor$rgb(205,92,92,e),"hotpink",s.SassColor$rgb(255,105,180,e),"honeydew",s.SassColor$rgb(240,255,240,e),"grey",s.SassColor$rgb(128,128,128,e),"greenyellow",s.SassColor$rgb(173,255,47,e),"green",s.SassColor$rgb(0,128,0,e),"gray",s.SassColor$rgb(128,128,128,e),"goldenrod",s.SassColor$rgb(218,165,32,e),"gold",s.SassColor$rgb(255,215,0,e),"ghostwhite",s.SassColor$rgb(248,248,255,e),"gainsboro",s.SassColor$rgb(220,220,220,e),"fuchsia",s.SassColor$rgb(255,0,255,e),"forestgreen",s.SassColor$rgb(34,139,34,e),"floralwhite",s.SassColor$rgb(255,250,240,e),"firebrick",s.SassColor$rgb(178,34,34,e),"dodgerblue",s.SassColor$rgb(30,144,255,e),"dimgrey",s.SassColor$rgb(105,105,105,e),"dimgray",s.SassColor$rgb(105,105,105,e),"deepskyblue",s.SassColor$rgb(0,191,255,e),"deeppink",s.SassColor$rgb(255,20,147,e),"darkviolet",s.SassColor$rgb(148,0,211,e),"darkturquoise",s.SassColor$rgb(0,206,209,e),"darkslategrey",s.SassColor$rgb(47,79,79,e),"darkslategray",s.SassColor$rgb(47,79,79,e),"darkslateblue",s.SassColor$rgb(72,61,139,e),"darkseagreen",s.SassColor$rgb(143,188,143,e),"darksalmon",s.SassColor$rgb(233,150,122,e),"darkred",s.SassColor$rgb(139,0,0,e),"darkorchid",s.SassColor$rgb(153,50,204,e),"darkorange",s.SassColor$rgb(255,140,0,e),"darkolivegreen",s.SassColor$rgb(85,107,47,e),"darkmagenta",s.SassColor$rgb(139,0,139,e),"darkkhaki",s.SassColor$rgb(189,183,107,e),"darkgrey",s.SassColor$rgb(169,169,169,e),"darkgreen",s.SassColor$rgb(0,100,0,e),"darkgray",s.SassColor$rgb(169,169,169,e),"darkgoldenrod",s.SassColor$rgb(184,134,11,e),"darkcyan",s.SassColor$rgb(0,139,139,e),"darkblue",s.SassColor$rgb(0,0,139,e),"cyan",s.SassColor$rgb(0,255,255,e),"crimson",s.SassColor$rgb(220,20,60,e),"cornsilk",s.SassColor$rgb(255,248,220,e),"cornflowerblue",s.SassColor$rgb(100,149,237,e),"coral",s.SassColor$rgb(255,127,80,e),"chocolate",s.SassColor$rgb(210,105,30,e),"chartreuse",s.SassColor$rgb(127,255,0,e),"cadetblue",s.SassColor$rgb(95,158,160,e),"burlywood",s.SassColor$rgb(222,184,135,e),"brown",s.SassColor$rgb(165,42,42,e),"blueviolet",s.SassColor$rgb(138,43,226,e),"blue",s.SassColor$rgb(0,0,255,e),"blanchedalmond",s.SassColor$rgb(255,235,205,e),"black",s.SassColor$rgb(0,0,0,e),"bisque",s.SassColor$rgb(255,228,196,e),"beige",s.SassColor$rgb(245,245,220,e),"azure",s.SassColor$rgb(240,255,255,e),"aquamarine",s.SassColor$rgb(127,255,212,e),"aqua",s.SassColor$rgb(0,255,255,e),"antiquewhite",s.SassColor$rgb(250,235,215,e),"aliceblue",s.SassColor$rgb(240,248,255,e)],$.String,$.SassColor)}));e(u,"namesByColor","$get$namesByColor",(()=>{var e,r,n=s.LinkedHashMap_LinkedHashMap$_empty($.SassColor,$.String);for(e=u.$get$colorsByName(),e=e.get$entries(e),e=e.get$iterator(e);e.moveNext$0();){r=e.get$current(e);n.$indexSet(0,r.value,r.key)}return n}));e(u,"ExecutableOptions__separatorBar","$get$ExecutableOptions__separatorBar",(()=>s.isWindows()?"=":"━"));e(u,"ExecutableOptions__parser","$get$ExecutableOptions__parser",(()=>(new s.ExecutableOptions__parser_closure).call$0()));e(u,"globalFunctions","$get$globalFunctions",(()=>{var e=$.BuiltInCallable,r=s.List_List$of(u.$get$global0(),true,e);o.JSArray_methods.addAll$1(r,u.$get$global1());o.JSArray_methods.addAll$1(r,u.$get$global2());o.JSArray_methods.addAll$1(r,u.$get$global3());o.JSArray_methods.addAll$1(r,u.$get$global4());o.JSArray_methods.addAll$1(r,u.$get$global5());o.JSArray_methods.addAll$1(r,u.$get$global());r.push(s.BuiltInCallable$function("if","$condition, $if-true, $if-false",new s.globalFunctions_closure,null));return s.UnmodifiableListView$(r,e)}));e(u,"coreModules","$get$coreModules",(()=>s.UnmodifiableListView$(s._setArrayType([u.$get$module(),u.$get$module0(),u.$get$module1(),u.$get$module2(),u.$get$module3(),u.$get$module4()],s.findType("JSArray>")),$.BuiltInModule_BuiltInCallable)));e(u,"_microsoftFilterStart","$get$_microsoftFilterStart",(()=>s.RegExp_RegExp("^[a-zA-Z]+\\s*=",false)));e(u,"global","$get$global0",(()=>{var e="$red, $green, $blue, $alpha",r="$red, $green, $blue",n="$hue, $saturation, $lightness, $alpha",i="$hue, $saturation, $lightness",a="$hue, $saturation",o="$color, $amount",l=$.String,_=$.Value_Function_List_Value;return s.UnmodifiableListView$(s._setArrayType([u.$get$_red(),u.$get$_green(),u.$get$_blue(),u.$get$_mix(),s.BuiltInCallable$overloadedFunction("rgb",s.LinkedHashMap_LinkedHashMap$_literal([e,new s.global_closure,r,new s.global_closure0,"$color, $alpha",new s.global_closure1,"$channels",new s.global_closure2],l,_)),s.BuiltInCallable$overloadedFunction("rgba",s.LinkedHashMap_LinkedHashMap$_literal([e,new s.global_closure3,r,new s.global_closure4,"$color, $alpha",new s.global_closure5,"$channels",new s.global_closure6],l,_)),s._function4("invert","$color, $weight: 100%",new s.global_closure7),u.$get$_hue(),u.$get$_saturation(),u.$get$_lightness(),u.$get$_complement(),s.BuiltInCallable$overloadedFunction("hsl",s.LinkedHashMap_LinkedHashMap$_literal([n,new s.global_closure8,i,new s.global_closure9,a,new s.global_closure10,"$channels",new s.global_closure11],l,_)),s.BuiltInCallable$overloadedFunction("hsla",s.LinkedHashMap_LinkedHashMap$_literal([n,new s.global_closure12,i,new s.global_closure13,a,new s.global_closure14,"$channels",new s.global_closure15],l,_)),s._function4("grayscale","$color",new s.global_closure16),s._function4("adjust-hue","$color, $degrees",new s.global_closure17),s._function4("lighten",o,new s.global_closure18),s._function4("darken",o,new s.global_closure19),s.BuiltInCallable$overloadedFunction("saturate",s.LinkedHashMap_LinkedHashMap$_literal(["$amount",new s.global_closure20,"$color, $amount",new s.global_closure21],l,_)),s._function4("desaturate",o,new s.global_closure22),s._function4("opacify",o,s.color0___opacify$closure()),s._function4("fade-in",o,s.color0___opacify$closure()),s._function4("transparentize",o,s.color0___transparentize$closure()),s._function4("fade-out",o,s.color0___transparentize$closure()),s.BuiltInCallable$overloadedFunction("alpha",s.LinkedHashMap_LinkedHashMap$_literal(["$color",new s.global_closure23,"$args...",new s.global_closure24],l,_)),s._function4("opacity","$color",new s.global_closure25),u.$get$_ieHexStr(),u.$get$_adjust().withName$1("adjust-color"),u.$get$_scale().withName$1("scale-color"),u.$get$_change().withName$1("change-color")],$.JSArray_BuiltInCallable),$.BuiltInCallable)}));e(u,"module","$get$module",(()=>{var e="lightness",r="saturation",n="$color",i="alpha",a=$.String,o=$.Value_Function_List_Value;return s.BuiltInModule$("color",s._setArrayType([u.$get$_red(),u.$get$_green(),u.$get$_blue(),u.$get$_mix(),s._function4("invert","$color, $weight: 100%",new s.module_closure),u.$get$_hue(),u.$get$_saturation(),u.$get$_lightness(),u.$get$_complement(),s._removedColorFunction("adjust-hue","hue",false),s._removedColorFunction("lighten",e,false),s._removedColorFunction("darken",e,true),s._removedColorFunction("saturate",r,false),s._removedColorFunction("desaturate",r,true),s._function4("grayscale",n,new s.module_closure0),s.BuiltInCallable$overloadedFunction("hwb",s.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1",new s.module_closure1,"$channels",new s.module_closure2],a,o)),s._function4("whiteness",n,new s.module_closure3),s._function4("blackness",n,new s.module_closure4),s._removedColorFunction("opacify",i,false),s._removedColorFunction("fade-in",i,false),s._removedColorFunction("transparentize",i,true),s._removedColorFunction("fade-out",i,true),s.BuiltInCallable$overloadedFunction(i,s.LinkedHashMap_LinkedHashMap$_literal(["$color",new s.module_closure5,"$args...",new s.module_closure6],a,o)),s._function4("opacity",n,new s.module_closure7),u.$get$_adjust(),u.$get$_scale(),u.$get$_change(),u.$get$_ieHexStr()],$.JSArray_BuiltInCallable),null,null,$.BuiltInCallable)}));e(u,"_red","$get$_red",(()=>s._function4("red","$color",new s._red_closure)));e(u,"_green","$get$_green",(()=>s._function4("green","$color",new s._green_closure)));e(u,"_blue","$get$_blue",(()=>s._function4("blue","$color",new s._blue_closure)));e(u,"_mix","$get$_mix",(()=>s._function4("mix","$color1, $color2, $weight: 50%",new s._mix_closure)));e(u,"_hue","$get$_hue",(()=>s._function4("hue","$color",new s._hue_closure)));e(u,"_saturation","$get$_saturation",(()=>s._function4("saturation","$color",new s._saturation_closure)));e(u,"_lightness","$get$_lightness",(()=>s._function4("lightness","$color",new s._lightness_closure)));e(u,"_complement","$get$_complement",(()=>s._function4("complement","$color",new s._complement_closure)));e(u,"_adjust","$get$_adjust",(()=>s._function4("adjust","$color, $kwargs...",new s._adjust_closure)));e(u,"_scale","$get$_scale",(()=>s._function4("scale","$color, $kwargs...",new s._scale_closure)));e(u,"_change","$get$_change",(()=>s._function4("change","$color, $kwargs...",new s._change_closure)));e(u,"_ieHexStr","$get$_ieHexStr",(()=>s._function4("ie-hex-str","$color",new s._ieHexStr_closure)));e(u,"global0","$get$global1",(()=>s.UnmodifiableListView$(s._setArrayType([u.$get$_length0(),u.$get$_nth(),u.$get$_setNth(),u.$get$_join(),u.$get$_append0(),u.$get$_zip(),u.$get$_index0(),u.$get$_isBracketed(),u.$get$_separator().withName$1("list-separator")],$.JSArray_BuiltInCallable),$.BuiltInCallable)));e(u,"module0","$get$module0",(()=>s.BuiltInModule$("list",s._setArrayType([u.$get$_length0(),u.$get$_nth(),u.$get$_setNth(),u.$get$_join(),u.$get$_append0(),u.$get$_zip(),u.$get$_index0(),u.$get$_isBracketed(),u.$get$_separator(),u.$get$_slash()],$.JSArray_BuiltInCallable),null,null,$.BuiltInCallable)));e(u,"_length","$get$_length0",(()=>s._function3("length","$list",new s._length_closure0)));e(u,"_nth","$get$_nth",(()=>s._function3("nth","$list, $n",new s._nth_closure)));e(u,"_setNth","$get$_setNth",(()=>s._function3("set-nth","$list, $n, $value",new s._setNth_closure)));e(u,"_join","$get$_join",(()=>s._function3("join",c.x24list1,new s._join_closure)));e(u,"_append","$get$_append0",(()=>s._function3("append","$list, $val, $separator: auto",new s._append_closure0)));e(u,"_zip","$get$_zip",(()=>s._function3("zip","$lists...",new s._zip_closure)));e(u,"_index","$get$_index0",(()=>s._function3("index","$list, $value",new s._index_closure0)));e(u,"_separator","$get$_separator",(()=>s._function3("separator","$list",new s._separator_closure)));e(u,"_isBracketed","$get$_isBracketed",(()=>s._function3("is-bracketed","$list",new s._isBracketed_closure)));e(u,"_slash","$get$_slash",(()=>s._function3("slash","$elements...",new s._slash_closure)));e(u,"global1","$get$global2",(()=>s.UnmodifiableListView$(s._setArrayType([u.$get$_get().withName$1("map-get"),u.$get$_merge().withName$1("map-merge"),u.$get$_remove().withName$1("map-remove"),u.$get$_keys().withName$1("map-keys"),u.$get$_values().withName$1("map-values"),u.$get$_hasKey().withName$1("map-has-key")],$.JSArray_BuiltInCallable),$.BuiltInCallable)));e(u,"module1","$get$module1",(()=>s.BuiltInModule$("map",s._setArrayType([u.$get$_get(),u.$get$_set(),u.$get$_merge(),u.$get$_remove(),u.$get$_keys(),u.$get$_values(),u.$get$_hasKey(),u.$get$_deepMerge(),u.$get$_deepRemove()],$.JSArray_BuiltInCallable),null,null,$.BuiltInCallable)));e(u,"_get","$get$_get",(()=>s._function2("get","$map, $key, $keys...",new s._get_closure)));e(u,"_set","$get$_set",(()=>s.BuiltInCallable$overloadedFunction("set",s.LinkedHashMap_LinkedHashMap$_literal(["$map, $key, $value",new s._set_closure,"$map, $args...",new s._set_closure0],$.String,$.Value_Function_List_Value))));e(u,"_merge","$get$_merge",(()=>s.BuiltInCallable$overloadedFunction("merge",s.LinkedHashMap_LinkedHashMap$_literal(["$map1, $map2",new s._merge_closure,"$map1, $args...",new s._merge_closure0],$.String,$.Value_Function_List_Value))));e(u,"_deepMerge","$get$_deepMerge",(()=>s._function2("deep-merge","$map1, $map2",new s._deepMerge_closure)));e(u,"_deepRemove","$get$_deepRemove",(()=>s._function2("deep-remove","$map, $key, $keys...",new s._deepRemove_closure)));e(u,"_remove","$get$_remove",(()=>s.BuiltInCallable$overloadedFunction("remove",s.LinkedHashMap_LinkedHashMap$_literal(["$map",new s._remove_closure,"$map, $key, $keys...",new s._remove_closure0],$.String,$.Value_Function_List_Value))));e(u,"_keys","$get$_keys",(()=>s._function2("keys","$map",new s._keys_closure)));e(u,"_values","$get$_values",(()=>s._function2("values","$map",new s._values_closure)));e(u,"_hasKey","$get$_hasKey",(()=>s._function2("has-key","$map, $key, $keys...",new s._hasKey_closure)));e(u,"global2","$get$global3",(()=>s.UnmodifiableListView$(s._setArrayType([u.$get$_abs(),u.$get$_ceil(),u.$get$_floor(),u.$get$_max(),u.$get$_min(),u.$get$_percentage(),u.$get$_randomFunction(),u.$get$_round(),u.$get$_unit(),u.$get$_compatible().withName$1("comparable"),u.$get$_isUnitless().withName$1("unitless")],$.JSArray_BuiltInCallable),$.BuiltInCallable)));e(u,"module2","$get$module2",(()=>s.BuiltInModule$("math",s._setArrayType([u.$get$_abs(),u.$get$_acos(),u.$get$_asin(),u.$get$_atan(),u.$get$_atan2(),u.$get$_ceil(),u.$get$_clamp(),u.$get$_cos(),u.$get$_compatible(),u.$get$_floor(),u.$get$_hypot(),u.$get$_isUnitless(),u.$get$_log(),u.$get$_max(),u.$get$_min(),u.$get$_percentage(),u.$get$_pow(),u.$get$_randomFunction(),u.$get$_round(),u.$get$_sin(),u.$get$_sqrt(),u.$get$_tan(),u.$get$_unit(),u.$get$_div()],$.JSArray_BuiltInCallable),null,s.LinkedHashMap_LinkedHashMap$_literal(["e",s.SassNumber_SassNumber(2.718281828459045,null),"pi",s.SassNumber_SassNumber(3.141592653589793,null)],$.String,$.Value),$.BuiltInCallable)));e(u,"_ceil","$get$_ceil",(()=>s._numberFunction("ceil",new s._ceil_closure)));e(u,"_clamp","$get$_clamp",(()=>s._function1("clamp","$min, $number, $max",new s._clamp_closure)));e(u,"_floor","$get$_floor",(()=>s._numberFunction("floor",new s._floor_closure)));e(u,"_max","$get$_max",(()=>s._function1("max","$numbers...",new s._max_closure)));e(u,"_min","$get$_min",(()=>s._function1("min","$numbers...",new s._min_closure)));e(u,"_round","$get$_round",(()=>s._numberFunction("round",s.number0__fuzzyRound$closure())));e(u,"_abs","$get$_abs",(()=>s._numberFunction("abs",new s._abs_closure)));e(u,"_hypot","$get$_hypot",(()=>s._function1("hypot","$numbers...",new s._hypot_closure)));e(u,"_log","$get$_log",(()=>s._function1("log","$number, $base: null",new s._log_closure)));e(u,"_pow","$get$_pow",(()=>s._function1("pow","$base, $exponent",new s._pow_closure)));e(u,"_sqrt","$get$_sqrt",(()=>s._function1("sqrt","$number",new s._sqrt_closure)));e(u,"_acos","$get$_acos",(()=>s._function1("acos","$number",new s._acos_closure)));e(u,"_asin","$get$_asin",(()=>s._function1("asin","$number",new s._asin_closure)));e(u,"_atan","$get$_atan",(()=>s._function1("atan","$number",new s._atan_closure)));e(u,"_atan2","$get$_atan2",(()=>s._function1("atan2","$y, $x",new s._atan2_closure)));e(u,"_cos","$get$_cos",(()=>s._function1("cos","$number",new s._cos_closure)));e(u,"_sin","$get$_sin",(()=>s._function1("sin","$number",new s._sin_closure)));e(u,"_tan","$get$_tan",(()=>s._function1("tan","$number",new s._tan_closure)));e(u,"_compatible","$get$_compatible",(()=>s._function1("compatible","$number1, $number2",new s._compatible_closure)));e(u,"_isUnitless","$get$_isUnitless",(()=>s._function1("is-unitless","$number",new s._isUnitless_closure)));e(u,"_unit","$get$_unit",(()=>s._function1("unit","$number",new s._unit_closure)));e(u,"_percentage","$get$_percentage",(()=>s._function1("percentage","$number",new s._percentage_closure)));e(u,"_random","$get$_random0",(()=>s.Random_Random()));e(u,"_randomFunction","$get$_randomFunction",(()=>s._function1("random","$limit: null",new s._randomFunction_closure)));e(u,"_div","$get$_div",(()=>s._function1("div","$number1, $number2",new s._div_closure)));e(u,"global3","$get$global",(()=>s.UnmodifiableListView$(s._setArrayType([s._function5("feature-exists","$feature",new s.global_closure26),s._function5("inspect","$value",new s.global_closure27),s._function5("type-of","$value",new s.global_closure28),s._function5("keywords","$args",new s.global_closure29)],$.JSArray_BuiltInCallable),$.BuiltInCallable)));e(u,"local","$get$local",(()=>s.UnmodifiableListView$(s._setArrayType([s._function5("calc-name","$calc",new s.local_closure),s._function5("calc-args","$calc",new s.local_closure0)],$.JSArray_BuiltInCallable),$.BuiltInCallable)));e(u,"global4","$get$global4",(()=>s.UnmodifiableListView$(s._setArrayType([u.$get$_isSuperselector(),u.$get$_simpleSelectors(),u.$get$_parse().withName$1("selector-parse"),u.$get$_nest().withName$1("selector-nest"),u.$get$_append().withName$1("selector-append"),u.$get$_extend().withName$1("selector-extend"),u.$get$_replace().withName$1("selector-replace"),u.$get$_unify().withName$1("selector-unify")],$.JSArray_BuiltInCallable),$.BuiltInCallable)));e(u,"module3","$get$module3",(()=>s.BuiltInModule$("selector",s._setArrayType([u.$get$_isSuperselector(),u.$get$_simpleSelectors(),u.$get$_parse(),u.$get$_nest(),u.$get$_append(),u.$get$_extend(),u.$get$_replace(),u.$get$_unify()],$.JSArray_BuiltInCallable),null,null,$.BuiltInCallable)));e(u,"_nest","$get$_nest",(()=>s._function0("nest","$selectors...",new s._nest_closure)));e(u,"_append0","$get$_append",(()=>s._function0("append","$selectors...",new s._append_closure)));e(u,"_extend","$get$_extend",(()=>s._function0("extend","$selector, $extendee, $extender",new s._extend_closure)));e(u,"_replace","$get$_replace",(()=>s._function0("replace","$selector, $original, $replacement",new s._replace_closure)));e(u,"_unify","$get$_unify",(()=>s._function0("unify","$selector1, $selector2",new s._unify_closure)));e(u,"_isSuperselector","$get$_isSuperselector",(()=>s._function0("is-superselector","$super, $sub",new s._isSuperselector_closure)));e(u,"_simpleSelectors","$get$_simpleSelectors",(()=>s._function0("simple-selectors","$selector",new s._simpleSelectors_closure)));e(u,"_parse","$get$_parse",(()=>s._function0("parse","$selector",new s._parse_closure)));e(u,"_random0","$get$_random",(()=>s.Random_Random()));r(u,"_previousUniqueId","$get$_previousUniqueId",(()=>u.$get$_random().nextInt$1(s._asInt(s.pow(36,6)))));e(u,"global5","$get$global5",(()=>s.UnmodifiableListView$(s._setArrayType([u.$get$_unquote(),u.$get$_quote(),u.$get$_toUpperCase(),u.$get$_toLowerCase(),u.$get$_uniqueId(),u.$get$_length().withName$1("str-length"),u.$get$_insert().withName$1("str-insert"),u.$get$_index().withName$1("str-index"),u.$get$_slice().withName$1("str-slice")],$.JSArray_BuiltInCallable),$.BuiltInCallable)));e(u,"module4","$get$module4",(()=>s.BuiltInModule$("string",s._setArrayType([u.$get$_unquote(),u.$get$_quote(),u.$get$_toUpperCase(),u.$get$_toLowerCase(),u.$get$_length(),u.$get$_insert(),u.$get$_index(),u.$get$_slice(),u.$get$_uniqueId()],$.JSArray_BuiltInCallable),null,null,$.BuiltInCallable)));e(u,"_unquote","$get$_unquote",(()=>s._function("unquote","$string",new s._unquote_closure)));e(u,"_quote","$get$_quote",(()=>s._function("quote","$string",new s._quote_closure)));e(u,"_length0","$get$_length",(()=>s._function("length","$string",new s._length_closure)));e(u,"_insert","$get$_insert",(()=>s._function("insert","$string, $insert, $index",new s._insert_closure)));e(u,"_index0","$get$_index",(()=>s._function("index","$string, $substring",new s._index_closure)));e(u,"_slice","$get$_slice",(()=>s._function("slice","$string, $start-at, $end-at: -1",new s._slice_closure)));e(u,"_toUpperCase","$get$_toUpperCase",(()=>s._function("to-upper-case","$string",new s._toUpperCase_closure)));e(u,"_toLowerCase","$get$_toLowerCase",(()=>s._function("to-lower-case","$string",new s._toLowerCase_closure)));e(u,"_uniqueId","$get$_uniqueId",(()=>s._function("unique-id","",new s._uniqueId_closure)));e(u,"stderr","$get$stderr",(()=>new s.Stderr(a.get$stderr$x(self.process))));e(u,"Logger_quiet","$get$Logger_quiet",(()=>new s._QuietLogger));e(u,"_disallowedFunctionNames","$get$_disallowedFunctionNames",(()=>{var e=u.$get$globalFunctions();e=e.map$1$1(e,new s._disallowedFunctionNames_closure,$.String).toSet$0(0);e.add$1(0,"if");e.remove$1(0,"rgb");e.remove$1(0,"rgba");e.remove$1(0,"hsl");e.remove$1(0,"hsla");e.remove$1(0,"grayscale");e.remove$1(0,"invert");e.remove$1(0,"alpha");e.remove$1(0,"opacity");e.remove$1(0,"saturate");return e}));e(u,"epsilon","$get$epsilon",(()=>s.pow(10,-11)));e(u,"_inverseEpsilon","$get$_inverseEpsilon",(()=>1/u.$get$epsilon()));e(u,"_noSourceUrl","$get$_noSourceUrl",(()=>s.Uri_parse("-")));e(u,"_traces","$get$_traces",(()=>s.Expando$()));e(u,"_typesByUnit","$get$_typesByUnit",(()=>{var e,r,n,i=$.String;i=s.LinkedHashMap_LinkedHashMap$_empty(i,i);for(e=o.Map_U8AHF.get$entries(o.Map_U8AHF),e=e.get$iterator(e);e.moveNext$0();){r=e.get$current(e);for(n=a.get$iterator$ax(r.value),r=r.key;n.moveNext$0();)i.$indexSet(0,n.get$current(n),r)}return i}));e(u,"_knownCompatibilitiesByUnit","$get$_knownCompatibilitiesByUnit",(()=>{var e,r,n,i=s.LinkedHashMap_LinkedHashMap$_empty($.String,s.findType("Set"));for(e=0;e<5;++e){r=o.List_AqW[e];for(n=r.get$iterator(r);n.moveNext$0();)i.$indexSet(0,n.get$current(n),r)}return i}));e(u,"_emptyQuoted","$get$_emptyQuoted",(()=>s.SassString$("",true)));e(u,"_emptyUnquoted","$get$_emptyUnquoted",(()=>s.SassString$("",false)));e(u,"MAX_INT32","$get$MAX_INT32",(()=>s._asInt(s.pow(2,31))-1));e(u,"MIN_INT32","$get$MIN_INT32",(()=>-s._asInt(s.pow(2,31))));e(u,"_vmFrame","$get$_vmFrame",(()=>s.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$",false)));e(u,"_v8Frame","$get$_v8Frame",(()=>s.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$",false)));e(u,"_v8UrlLocation","$get$_v8UrlLocation",(()=>s.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$",false)));e(u,"_v8EvalLocation","$get$_v8EvalLocation",(()=>s.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",false)));e(u,"_firefoxEvalLocation","$get$_firefoxEvalLocation",(()=>s.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+",false)));e(u,"_firefoxSafariFrame","$get$_firefoxSafariFrame",(()=>s.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$",false)));e(u,"_friendlyFrame","$get$_friendlyFrame",(()=>s.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$",false)));e(u,"_asyncBody","$get$_asyncBody",(()=>s.RegExp_RegExp("<(|[^>]+)_async_body>",false)));e(u,"_initialDot","$get$_initialDot",(()=>s.RegExp_RegExp("^\\.",false)));e(u,"Frame__uriRegExp","$get$Frame__uriRegExp",(()=>s.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://",false)));e(u,"Frame__windowsRegExp","$get$Frame__windowsRegExp",(()=>s.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)",false)));e(u,"_terseRegExp","$get$_terseRegExp",(()=>s.RegExp_RegExp("(-patch)?([/\\\\].*)?$",false)));e(u,"_v8Trace","$get$_v8Trace",(()=>s.RegExp_RegExp("\\n ?at ",false)));e(u,"_v8TraceLine","$get$_v8TraceLine",(()=>s.RegExp_RegExp(" ?at ",false)));e(u,"_firefoxEvalTrace","$get$_firefoxEvalTrace",(()=>s.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+",false)));e(u,"_firefoxSafariTrace","$get$_firefoxSafariTrace",(()=>s.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$",true)));e(u,"_friendlyTrace","$get$_friendlyTrace",(()=>s.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$",true)));e(u,"vmChainGap","$get$vmChainGap",(()=>s.RegExp_RegExp("^\\n?$",true)));e(u,"_newlineRegExp","$get$_newlineRegExp",(()=>s.RegExp_RegExp("\\r\\n?|\\n",false)));e(u,"argumentListClass","$get$argumentListClass",(()=>(new s.argumentListClass_closure).call$0()));e(u,"_filesystemImporter","$get$_filesystemImporter",(()=>s.FilesystemImporter$(".")));e(u,"legacyBooleanClass","$get$legacyBooleanClass",(()=>(new s.legacyBooleanClass_closure).call$0()));e(u,"booleanClass","$get$booleanClass",(()=>(new s.booleanClass_closure).call$0()));e(u,"_microsoftFilterStart0","$get$_microsoftFilterStart0",(()=>s.RegExp_RegExp("^[a-zA-Z]+\\s*=",false)));e(u,"global6","$get$global7",(()=>{var e="$red, $green, $blue, $alpha",r="$red, $green, $blue",n="$hue, $saturation, $lightness, $alpha",i="$hue, $saturation, $lightness",a="$hue, $saturation",o="$color, $amount",l=$.String,_=$.Value_Function_List_Value_2;return s.UnmodifiableListView$(s._setArrayType([u.$get$_red0(),u.$get$_green0(),u.$get$_blue0(),u.$get$_mix0(),s.BuiltInCallable$overloadedFunction0("rgb",s.LinkedHashMap_LinkedHashMap$_literal([e,new s.global_closure30,r,new s.global_closure31,"$color, $alpha",new s.global_closure32,"$channels",new s.global_closure33],l,_)),s.BuiltInCallable$overloadedFunction0("rgba",s.LinkedHashMap_LinkedHashMap$_literal([e,new s.global_closure34,r,new s.global_closure35,"$color, $alpha",new s.global_closure36,"$channels",new s.global_closure37],l,_)),s._function11("invert","$color, $weight: 100%",new s.global_closure38),u.$get$_hue0(),u.$get$_saturation0(),u.$get$_lightness0(),u.$get$_complement0(),s.BuiltInCallable$overloadedFunction0("hsl",s.LinkedHashMap_LinkedHashMap$_literal([n,new s.global_closure39,i,new s.global_closure40,a,new s.global_closure41,"$channels",new s.global_closure42],l,_)),s.BuiltInCallable$overloadedFunction0("hsla",s.LinkedHashMap_LinkedHashMap$_literal([n,new s.global_closure43,i,new s.global_closure44,a,new s.global_closure45,"$channels",new s.global_closure46],l,_)),s._function11("grayscale","$color",new s.global_closure47),s._function11("adjust-hue","$color, $degrees",new s.global_closure48),s._function11("lighten",o,new s.global_closure49),s._function11("darken",o,new s.global_closure50),s.BuiltInCallable$overloadedFunction0("saturate",s.LinkedHashMap_LinkedHashMap$_literal(["$amount",new s.global_closure51,"$color, $amount",new s.global_closure52],l,_)),s._function11("desaturate",o,new s.global_closure53),s._function11("opacify",o,s.color2___opacify$closure()),s._function11("fade-in",o,s.color2___opacify$closure()),s._function11("transparentize",o,s.color2___transparentize$closure()),s._function11("fade-out",o,s.color2___transparentize$closure()),s.BuiltInCallable$overloadedFunction0("alpha",s.LinkedHashMap_LinkedHashMap$_literal(["$color",new s.global_closure54,"$args...",new s.global_closure55],l,_)),s._function11("opacity","$color",new s.global_closure56),u.$get$_ieHexStr0(),u.$get$_adjust0().withName$1("adjust-color"),u.$get$_scale0().withName$1("scale-color"),u.$get$_change0().withName$1("change-color")],$.JSArray_BuiltInCallable_2),$.BuiltInCallable_2)}));e(u,"module5","$get$module5",(()=>{var e="lightness",r="saturation",n="$color",i="alpha",a=$.String,o=$.Value_Function_List_Value_2;return s.BuiltInModule$0("color",s._setArrayType([u.$get$_red0(),u.$get$_green0(),u.$get$_blue0(),u.$get$_mix0(),s._function11("invert","$color, $weight: 100%",new s.module_closure8),u.$get$_hue0(),u.$get$_saturation0(),u.$get$_lightness0(),u.$get$_complement0(),s._removedColorFunction0("adjust-hue","hue",false),s._removedColorFunction0("lighten",e,false),s._removedColorFunction0("darken",e,true),s._removedColorFunction0("saturate",r,false),s._removedColorFunction0("desaturate",r,true),s._function11("grayscale",n,new s.module_closure9),s.BuiltInCallable$overloadedFunction0("hwb",s.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1",new s.module_closure10,"$channels",new s.module_closure11],a,o)),s._function11("whiteness",n,new s.module_closure12),s._function11("blackness",n,new s.module_closure13),s._removedColorFunction0("opacify",i,false),s._removedColorFunction0("fade-in",i,false),s._removedColorFunction0("transparentize",i,true),s._removedColorFunction0("fade-out",i,true),s.BuiltInCallable$overloadedFunction0(i,s.LinkedHashMap_LinkedHashMap$_literal(["$color",new s.module_closure14,"$args...",new s.module_closure15],a,o)),s._function11("opacity",n,new s.module_closure16),u.$get$_adjust0(),u.$get$_scale0(),u.$get$_change0(),u.$get$_ieHexStr0()],$.JSArray_BuiltInCallable_2),null,null,$.BuiltInCallable_2)}));e(u,"_red0","$get$_red0",(()=>s._function11("red","$color",new s._red_closure0)));e(u,"_green0","$get$_green0",(()=>s._function11("green","$color",new s._green_closure0)));e(u,"_blue0","$get$_blue0",(()=>s._function11("blue","$color",new s._blue_closure0)));e(u,"_mix0","$get$_mix0",(()=>s._function11("mix","$color1, $color2, $weight: 50%",new s._mix_closure0)));e(u,"_hue0","$get$_hue0",(()=>s._function11("hue","$color",new s._hue_closure0)));e(u,"_saturation0","$get$_saturation0",(()=>s._function11("saturation","$color",new s._saturation_closure0)));e(u,"_lightness0","$get$_lightness0",(()=>s._function11("lightness","$color",new s._lightness_closure0)));e(u,"_complement0","$get$_complement0",(()=>s._function11("complement","$color",new s._complement_closure0)));e(u,"_adjust0","$get$_adjust0",(()=>s._function11("adjust","$color, $kwargs...",new s._adjust_closure0)));e(u,"_scale0","$get$_scale0",(()=>s._function11("scale","$color, $kwargs...",new s._scale_closure0)));e(u,"_change0","$get$_change0",(()=>s._function11("change","$color, $kwargs...",new s._change_closure0)));e(u,"_ieHexStr0","$get$_ieHexStr0",(()=>s._function11("ie-hex-str","$color",new s._ieHexStr_closure0)));e(u,"legacyColorClass","$get$legacyColorClass",(()=>{var e=s.createJSClass("sass.types.Color",new s.legacyColorClass_closure);s.JSClassExtension_defineMethods(e,s.LinkedHashMap_LinkedHashMap$_literal(["getR",new s.legacyColorClass_closure0,"getG",new s.legacyColorClass_closure1,"getB",new s.legacyColorClass_closure2,"getA",new s.legacyColorClass_closure3,"setR",new s.legacyColorClass_closure4,"setG",new s.legacyColorClass_closure5,"setB",new s.legacyColorClass_closure6,"setA",new s.legacyColorClass_closure7],$.String,$.Function));return e}));e(u,"colorClass","$get$colorClass",(()=>(new s.colorClass_closure).call$0()));e(u,"colorsByName0","$get$colorsByName0",(()=>{var e=null;return s.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen",s.SassColor$rgb0(154,205,50,e),"yellow",s.SassColor$rgb0(255,255,0,e),"whitesmoke",s.SassColor$rgb0(245,245,245,e),"white",s.SassColor$rgb0(255,255,255,e),"wheat",s.SassColor$rgb0(245,222,179,e),"violet",s.SassColor$rgb0(238,130,238,e),"turquoise",s.SassColor$rgb0(64,224,208,e),"transparent",s.SassColor$rgb0(0,0,0,0),"tomato",s.SassColor$rgb0(255,99,71,e),"thistle",s.SassColor$rgb0(216,191,216,e),"teal",s.SassColor$rgb0(0,128,128,e),"tan",s.SassColor$rgb0(210,180,140,e),"steelblue",s.SassColor$rgb0(70,130,180,e),"springgreen",s.SassColor$rgb0(0,255,127,e),"snow",s.SassColor$rgb0(255,250,250,e),"slategrey",s.SassColor$rgb0(112,128,144,e),"slategray",s.SassColor$rgb0(112,128,144,e),"slateblue",s.SassColor$rgb0(106,90,205,e),"skyblue",s.SassColor$rgb0(135,206,235,e),"silver",s.SassColor$rgb0(192,192,192,e),"sienna",s.SassColor$rgb0(160,82,45,e),"seashell",s.SassColor$rgb0(255,245,238,e),"seagreen",s.SassColor$rgb0(46,139,87,e),"sandybrown",s.SassColor$rgb0(244,164,96,e),"salmon",s.SassColor$rgb0(250,128,114,e),"saddlebrown",s.SassColor$rgb0(139,69,19,e),"royalblue",s.SassColor$rgb0(65,105,225,e),"rosybrown",s.SassColor$rgb0(188,143,143,e),"red",s.SassColor$rgb0(255,0,0,e),"rebeccapurple",s.SassColor$rgb0(102,51,153,e),"purple",s.SassColor$rgb0(128,0,128,e),"powderblue",s.SassColor$rgb0(176,224,230,e),"plum",s.SassColor$rgb0(221,160,221,e),"pink",s.SassColor$rgb0(255,192,203,e),"peru",s.SassColor$rgb0(205,133,63,e),"peachpuff",s.SassColor$rgb0(255,218,185,e),"papayawhip",s.SassColor$rgb0(255,239,213,e),"palevioletred",s.SassColor$rgb0(219,112,147,e),"paleturquoise",s.SassColor$rgb0(175,238,238,e),"palegreen",s.SassColor$rgb0(152,251,152,e),"palegoldenrod",s.SassColor$rgb0(238,232,170,e),"orchid",s.SassColor$rgb0(218,112,214,e),"orangered",s.SassColor$rgb0(255,69,0,e),"orange",s.SassColor$rgb0(255,165,0,e),"olivedrab",s.SassColor$rgb0(107,142,35,e),"olive",s.SassColor$rgb0(128,128,0,e),"oldlace",s.SassColor$rgb0(253,245,230,e),"navy",s.SassColor$rgb0(0,0,128,e),"navajowhite",s.SassColor$rgb0(255,222,173,e),"moccasin",s.SassColor$rgb0(255,228,181,e),"mistyrose",s.SassColor$rgb0(255,228,225,e),"mintcream",s.SassColor$rgb0(245,255,250,e),"midnightblue",s.SassColor$rgb0(25,25,112,e),"mediumvioletred",s.SassColor$rgb0(199,21,133,e),"mediumturquoise",s.SassColor$rgb0(72,209,204,e),"mediumspringgreen",s.SassColor$rgb0(0,250,154,e),"mediumslateblue",s.SassColor$rgb0(123,104,238,e),"mediumseagreen",s.SassColor$rgb0(60,179,113,e),"mediumpurple",s.SassColor$rgb0(147,112,219,e),"mediumorchid",s.SassColor$rgb0(186,85,211,e),"mediumblue",s.SassColor$rgb0(0,0,205,e),"mediumaquamarine",s.SassColor$rgb0(102,205,170,e),"maroon",s.SassColor$rgb0(128,0,0,e),"magenta",s.SassColor$rgb0(255,0,255,e),"linen",s.SassColor$rgb0(250,240,230,e),"limegreen",s.SassColor$rgb0(50,205,50,e),"lime",s.SassColor$rgb0(0,255,0,e),"lightyellow",s.SassColor$rgb0(255,255,224,e),"lightsteelblue",s.SassColor$rgb0(176,196,222,e),"lightslategrey",s.SassColor$rgb0(119,136,153,e),"lightslategray",s.SassColor$rgb0(119,136,153,e),"lightskyblue",s.SassColor$rgb0(135,206,250,e),"lightseagreen",s.SassColor$rgb0(32,178,170,e),"lightsalmon",s.SassColor$rgb0(255,160,122,e),"lightpink",s.SassColor$rgb0(255,182,193,e),"lightgrey",s.SassColor$rgb0(211,211,211,e),"lightgreen",s.SassColor$rgb0(144,238,144,e),"lightgray",s.SassColor$rgb0(211,211,211,e),"lightgoldenrodyellow",s.SassColor$rgb0(250,250,210,e),"lightcyan",s.SassColor$rgb0(224,255,255,e),"lightcoral",s.SassColor$rgb0(240,128,128,e),"lightblue",s.SassColor$rgb0(173,216,230,e),"lemonchiffon",s.SassColor$rgb0(255,250,205,e),"lawngreen",s.SassColor$rgb0(124,252,0,e),"lavenderblush",s.SassColor$rgb0(255,240,245,e),"lavender",s.SassColor$rgb0(230,230,250,e),"khaki",s.SassColor$rgb0(240,230,140,e),"ivory",s.SassColor$rgb0(255,255,240,e),"indigo",s.SassColor$rgb0(75,0,130,e),"indianred",s.SassColor$rgb0(205,92,92,e),"hotpink",s.SassColor$rgb0(255,105,180,e),"honeydew",s.SassColor$rgb0(240,255,240,e),"grey",s.SassColor$rgb0(128,128,128,e),"greenyellow",s.SassColor$rgb0(173,255,47,e),"green",s.SassColor$rgb0(0,128,0,e),"gray",s.SassColor$rgb0(128,128,128,e),"goldenrod",s.SassColor$rgb0(218,165,32,e),"gold",s.SassColor$rgb0(255,215,0,e),"ghostwhite",s.SassColor$rgb0(248,248,255,e),"gainsboro",s.SassColor$rgb0(220,220,220,e),"fuchsia",s.SassColor$rgb0(255,0,255,e),"forestgreen",s.SassColor$rgb0(34,139,34,e),"floralwhite",s.SassColor$rgb0(255,250,240,e),"firebrick",s.SassColor$rgb0(178,34,34,e),"dodgerblue",s.SassColor$rgb0(30,144,255,e),"dimgrey",s.SassColor$rgb0(105,105,105,e),"dimgray",s.SassColor$rgb0(105,105,105,e),"deepskyblue",s.SassColor$rgb0(0,191,255,e),"deeppink",s.SassColor$rgb0(255,20,147,e),"darkviolet",s.SassColor$rgb0(148,0,211,e),"darkturquoise",s.SassColor$rgb0(0,206,209,e),"darkslategrey",s.SassColor$rgb0(47,79,79,e),"darkslategray",s.SassColor$rgb0(47,79,79,e),"darkslateblue",s.SassColor$rgb0(72,61,139,e),"darkseagreen",s.SassColor$rgb0(143,188,143,e),"darksalmon",s.SassColor$rgb0(233,150,122,e),"darkred",s.SassColor$rgb0(139,0,0,e),"darkorchid",s.SassColor$rgb0(153,50,204,e),"darkorange",s.SassColor$rgb0(255,140,0,e),"darkolivegreen",s.SassColor$rgb0(85,107,47,e),"darkmagenta",s.SassColor$rgb0(139,0,139,e),"darkkhaki",s.SassColor$rgb0(189,183,107,e),"darkgrey",s.SassColor$rgb0(169,169,169,e),"darkgreen",s.SassColor$rgb0(0,100,0,e),"darkgray",s.SassColor$rgb0(169,169,169,e),"darkgoldenrod",s.SassColor$rgb0(184,134,11,e),"darkcyan",s.SassColor$rgb0(0,139,139,e),"darkblue",s.SassColor$rgb0(0,0,139,e),"cyan",s.SassColor$rgb0(0,255,255,e),"crimson",s.SassColor$rgb0(220,20,60,e),"cornsilk",s.SassColor$rgb0(255,248,220,e),"cornflowerblue",s.SassColor$rgb0(100,149,237,e),"coral",s.SassColor$rgb0(255,127,80,e),"chocolate",s.SassColor$rgb0(210,105,30,e),"chartreuse",s.SassColor$rgb0(127,255,0,e),"cadetblue",s.SassColor$rgb0(95,158,160,e),"burlywood",s.SassColor$rgb0(222,184,135,e),"brown",s.SassColor$rgb0(165,42,42,e),"blueviolet",s.SassColor$rgb0(138,43,226,e),"blue",s.SassColor$rgb0(0,0,255,e),"blanchedalmond",s.SassColor$rgb0(255,235,205,e),"black",s.SassColor$rgb0(0,0,0,e),"bisque",s.SassColor$rgb0(255,228,196,e),"beige",s.SassColor$rgb0(245,245,220,e),"azure",s.SassColor$rgb0(240,255,255,e),"aquamarine",s.SassColor$rgb0(127,255,212,e),"aqua",s.SassColor$rgb0(0,255,255,e),"antiquewhite",s.SassColor$rgb0(250,235,215,e),"aliceblue",s.SassColor$rgb0(240,248,255,e)],$.String,$.SassColor_2)}));e(u,"namesByColor0","$get$namesByColor0",(()=>{var e,r,n=s.LinkedHashMap_LinkedHashMap$_empty($.SassColor_2,$.String);for(e=u.$get$colorsByName0(),e=e.get$entries(e),e=e.get$iterator(e);e.moveNext$0();){r=e.get$current(e);n.$indexSet(0,r.value,r.key)}return n}));e(u,"_disallowedFunctionNames0","$get$_disallowedFunctionNames0",(()=>{var e=u.$get$globalFunctions0();e=e.map$1$1(e,new s._disallowedFunctionNames_closure0,$.String).toSet$0(0);e.add$1(0,"if");e.remove$1(0,"rgb");e.remove$1(0,"rgba");e.remove$1(0,"hsl");e.remove$1(0,"hsla");e.remove$1(0,"grayscale");e.remove$1(0,"invert");e.remove$1(0,"alpha");e.remove$1(0,"opacity");e.remove$1(0,"saturate");return e}));e(u,"exceptionClass","$get$exceptionClass",(()=>(new s.exceptionClass_closure).call$0()));e(u,"_filesystemImporter0","$get$_filesystemImporter0",(()=>s.FilesystemImporter$(".")));e(u,"functionClass","$get$functionClass",(()=>(new s.functionClass_closure).call$0()));e(u,"globalFunctions0","$get$globalFunctions0",(()=>{var e=$.BuiltInCallable_2,r=s.List_List$of(u.$get$global7(),true,e);o.JSArray_methods.addAll$1(r,u.$get$global8());o.JSArray_methods.addAll$1(r,u.$get$global9());o.JSArray_methods.addAll$1(r,u.$get$global10());o.JSArray_methods.addAll$1(r,u.$get$global11());o.JSArray_methods.addAll$1(r,u.$get$global12());o.JSArray_methods.addAll$1(r,u.$get$global6());r.push(s.BuiltInCallable$function0("if","$condition, $if-true, $if-false",new s.globalFunctions_closure0,null));return s.UnmodifiableListView$(r,e)}));e(u,"coreModules0","$get$coreModules0",(()=>s.UnmodifiableListView$(s._setArrayType([u.$get$module5(),u.$get$module6(),u.$get$module7(),u.$get$module8(),u.$get$module9(),u.$get$module10()],s.findType("JSArray>")),$.BuiltInModule_BuiltInCallable_2)));e(u,"IfExpression_declaration0","$get$IfExpression_declaration0",(()=>s.ArgumentDeclaration_ArgumentDeclaration$parse0(c.x40funct,null)));e(u,"global7","$get$global8",(()=>s.UnmodifiableListView$(s._setArrayType([u.$get$_length2(),u.$get$_nth0(),u.$get$_setNth0(),u.$get$_join0(),u.$get$_append2(),u.$get$_zip0(),u.$get$_index2(),u.$get$_isBracketed0(),u.$get$_separator0().withName$1("list-separator")],$.JSArray_BuiltInCallable_2),$.BuiltInCallable_2)));e(u,"module6","$get$module6",(()=>s.BuiltInModule$0("list",s._setArrayType([u.$get$_length2(),u.$get$_nth0(),u.$get$_setNth0(),u.$get$_join0(),u.$get$_append2(),u.$get$_zip0(),u.$get$_index2(),u.$get$_isBracketed0(),u.$get$_separator0(),u.$get$_slash0()],$.JSArray_BuiltInCallable_2),null,null,$.BuiltInCallable_2)));e(u,"_length1","$get$_length2",(()=>s._function10("length","$list",new s._length_closure2)));e(u,"_nth0","$get$_nth0",(()=>s._function10("nth","$list, $n",new s._nth_closure0)));e(u,"_setNth0","$get$_setNth0",(()=>s._function10("set-nth","$list, $n, $value",new s._setNth_closure0)));e(u,"_join0","$get$_join0",(()=>s._function10("join",c.x24list1,new s._join_closure0)));e(u,"_append1","$get$_append2",(()=>s._function10("append","$list, $val, $separator: auto",new s._append_closure2)));e(u,"_zip0","$get$_zip0",(()=>s._function10("zip","$lists...",new s._zip_closure0)));e(u,"_index1","$get$_index2",(()=>s._function10("index","$list, $value",new s._index_closure2)));e(u,"_separator0","$get$_separator0",(()=>s._function10("separator","$list",new s._separator_closure0)));e(u,"_isBracketed0","$get$_isBracketed0",(()=>s._function10("is-bracketed","$list",new s._isBracketed_closure0)));e(u,"_slash0","$get$_slash0",(()=>s._function10("slash","$elements...",new s._slash_closure0)));e(u,"legacyListClass","$get$legacyListClass",(()=>{var e=s.createJSClass("sass.types.List",new s.legacyListClass_closure);s.JSClassExtension_defineMethods(e,s.LinkedHashMap_LinkedHashMap$_literal(["getValue",new s.legacyListClass_closure0,"setValue",new s.legacyListClass_closure1,"getSeparator",new s.legacyListClass_closure2,"setSeparator",new s.legacyListClass_closure3,"getLength",new s.legacyListClass_closure4],$.String,$.Function));return e}));e(u,"listClass","$get$listClass",(()=>(new s.listClass_closure).call$0()));e(u,"Logger_quiet0","$get$Logger_quiet0",(()=>new s._QuietLogger0));e(u,"global8","$get$global9",(()=>s.UnmodifiableListView$(s._setArrayType([u.$get$_get0().withName$1("map-get"),u.$get$_merge0().withName$1("map-merge"),u.$get$_remove0().withName$1("map-remove"),u.$get$_keys0().withName$1("map-keys"),u.$get$_values0().withName$1("map-values"),u.$get$_hasKey0().withName$1("map-has-key")],$.JSArray_BuiltInCallable_2),$.BuiltInCallable_2)));e(u,"module7","$get$module7",(()=>s.BuiltInModule$0("map",s._setArrayType([u.$get$_get0(),u.$get$_set0(),u.$get$_merge0(),u.$get$_remove0(),u.$get$_keys0(),u.$get$_values0(),u.$get$_hasKey0(),u.$get$_deepMerge0(),u.$get$_deepRemove0()],$.JSArray_BuiltInCallable_2),null,null,$.BuiltInCallable_2)));e(u,"_get0","$get$_get0",(()=>s._function9("get","$map, $key, $keys...",new s._get_closure0)));e(u,"_set0","$get$_set0",(()=>s.BuiltInCallable$overloadedFunction0("set",s.LinkedHashMap_LinkedHashMap$_literal(["$map, $key, $value",new s._set_closure1,"$map, $args...",new s._set_closure2],$.String,$.Value_Function_List_Value_2))));e(u,"_merge0","$get$_merge0",(()=>s.BuiltInCallable$overloadedFunction0("merge",s.LinkedHashMap_LinkedHashMap$_literal(["$map1, $map2",new s._merge_closure1,"$map1, $args...",new s._merge_closure2],$.String,$.Value_Function_List_Value_2))));e(u,"_deepMerge0","$get$_deepMerge0",(()=>s._function9("deep-merge","$map1, $map2",new s._deepMerge_closure0)));e(u,"_deepRemove0","$get$_deepRemove0",(()=>s._function9("deep-remove","$map, $key, $keys...",new s._deepRemove_closure0)));e(u,"_remove0","$get$_remove0",(()=>s.BuiltInCallable$overloadedFunction0("remove",s.LinkedHashMap_LinkedHashMap$_literal(["$map",new s._remove_closure1,"$map, $key, $keys...",new s._remove_closure2],$.String,$.Value_Function_List_Value_2))));e(u,"_keys0","$get$_keys0",(()=>s._function9("keys","$map",new s._keys_closure0)));e(u,"_values0","$get$_values0",(()=>s._function9("values","$map",new s._values_closure0)));e(u,"_hasKey0","$get$_hasKey0",(()=>s._function9("has-key","$map, $key, $keys...",new s._hasKey_closure0)));e(u,"legacyMapClass","$get$legacyMapClass",(()=>{var e=s.createJSClass("sass.types.Map",new s.legacyMapClass_closure);s.JSClassExtension_defineMethods(e,s.LinkedHashMap_LinkedHashMap$_literal(["getKey",new s.legacyMapClass_closure0,"getValue",new s.legacyMapClass_closure1,"getLength",new s.legacyMapClass_closure2,"setKey",new s.legacyMapClass_closure3,"setValue",new s.legacyMapClass_closure4],$.String,$.Function));return e}));e(u,"mapClass","$get$mapClass",(()=>(new s.mapClass_closure).call$0()));e(u,"global9","$get$global10",(()=>s.UnmodifiableListView$(s._setArrayType([u.$get$_abs0(),u.$get$_ceil0(),u.$get$_floor0(),u.$get$_max0(),u.$get$_min0(),u.$get$_percentage0(),u.$get$_randomFunction0(),u.$get$_round0(),u.$get$_unit0(),u.$get$_compatible0().withName$1("comparable"),u.$get$_isUnitless0().withName$1("unitless")],$.JSArray_BuiltInCallable_2),$.BuiltInCallable_2)));e(u,"module8","$get$module8",(()=>s.BuiltInModule$0("math",s._setArrayType([u.$get$_abs0(),u.$get$_acos0(),u.$get$_asin0(),u.$get$_atan0(),u.$get$_atan20(),u.$get$_ceil0(),u.$get$_clamp0(),u.$get$_cos0(),u.$get$_compatible0(),u.$get$_floor0(),u.$get$_hypot0(),u.$get$_isUnitless0(),u.$get$_log0(),u.$get$_max0(),u.$get$_min0(),u.$get$_percentage0(),u.$get$_pow0(),u.$get$_randomFunction0(),u.$get$_round0(),u.$get$_sin0(),u.$get$_sqrt0(),u.$get$_tan0(),u.$get$_unit0(),u.$get$_div0()],$.JSArray_BuiltInCallable_2),null,s.LinkedHashMap_LinkedHashMap$_literal(["e",s.SassNumber_SassNumber0(2.718281828459045,null),"pi",s.SassNumber_SassNumber0(3.141592653589793,null)],$.String,$.Value_2),$.BuiltInCallable_2)));e(u,"_ceil0","$get$_ceil0",(()=>s._numberFunction0("ceil",new s._ceil_closure0)));e(u,"_clamp0","$get$_clamp0",(()=>s._function8("clamp","$min, $number, $max",new s._clamp_closure0)));e(u,"_floor0","$get$_floor0",(()=>s._numberFunction0("floor",new s._floor_closure0)));e(u,"_max0","$get$_max0",(()=>s._function8("max","$numbers...",new s._max_closure0)));e(u,"_min0","$get$_min0",(()=>s._function8("min","$numbers...",new s._min_closure0)));e(u,"_round0","$get$_round0",(()=>s._numberFunction0("round",s.number2__fuzzyRound$closure())));e(u,"_abs0","$get$_abs0",(()=>s._numberFunction0("abs",new s._abs_closure0)));e(u,"_hypot0","$get$_hypot0",(()=>s._function8("hypot","$numbers...",new s._hypot_closure0)));e(u,"_log0","$get$_log0",(()=>s._function8("log","$number, $base: null",new s._log_closure0)));e(u,"_pow0","$get$_pow0",(()=>s._function8("pow","$base, $exponent",new s._pow_closure0)));e(u,"_sqrt0","$get$_sqrt0",(()=>s._function8("sqrt","$number",new s._sqrt_closure0)));e(u,"_acos0","$get$_acos0",(()=>s._function8("acos","$number",new s._acos_closure0)));e(u,"_asin0","$get$_asin0",(()=>s._function8("asin","$number",new s._asin_closure0)));e(u,"_atan0","$get$_atan0",(()=>s._function8("atan","$number",new s._atan_closure0)));e(u,"_atan20","$get$_atan20",(()=>s._function8("atan2","$y, $x",new s._atan2_closure0)));e(u,"_cos0","$get$_cos0",(()=>s._function8("cos","$number",new s._cos_closure0)));e(u,"_sin0","$get$_sin0",(()=>s._function8("sin","$number",new s._sin_closure0)));e(u,"_tan0","$get$_tan0",(()=>s._function8("tan","$number",new s._tan_closure0)));e(u,"_compatible0","$get$_compatible0",(()=>s._function8("compatible","$number1, $number2",new s._compatible_closure0)));e(u,"_isUnitless0","$get$_isUnitless0",(()=>s._function8("is-unitless","$number",new s._isUnitless_closure0)));e(u,"_unit0","$get$_unit0",(()=>s._function8("unit","$number",new s._unit_closure0)));e(u,"_percentage0","$get$_percentage0",(()=>s._function8("percentage","$number",new s._percentage_closure0)));e(u,"_random1","$get$_random2",(()=>s.Random_Random()));e(u,"_randomFunction0","$get$_randomFunction0",(()=>s._function8("random","$limit: null",new s._randomFunction_closure0)));e(u,"_div0","$get$_div0",(()=>s._function8("div","$number1, $number2",new s._div_closure0)));e(u,"global10","$get$global6",(()=>s.UnmodifiableListView$(s._setArrayType([s._function12("feature-exists","$feature",new s.global_closure57),s._function12("inspect","$value",new s.global_closure58),s._function12("type-of","$value",new s.global_closure59),s._function12("keywords","$args",new s.global_closure60)],$.JSArray_BuiltInCallable_2),$.BuiltInCallable_2)));e(u,"local0","$get$local0",(()=>s.UnmodifiableListView$(s._setArrayType([s._function12("calc-name","$calc",new s.local_closure1),s._function12("calc-args","$calc",new s.local_closure2)],$.JSArray_BuiltInCallable_2),$.BuiltInCallable_2)));e(u,"stderr0","$get$stderr0",(()=>new s.Stderr0(a.get$stderr$x(self.process))));e(u,"legacyNullClass","$get$legacyNullClass",(()=>(new s.legacyNullClass_closure).call$0()));e(u,"epsilon0","$get$epsilon0",(()=>s.pow(10,-11)));e(u,"_inverseEpsilon0","$get$_inverseEpsilon0",(()=>1/u.$get$epsilon0()));e(u,"legacyNumberClass","$get$legacyNumberClass",(()=>{var e=s.createJSClass("sass.types.Number",new s.legacyNumberClass_closure);s.JSClassExtension_defineMethods(e,s.LinkedHashMap_LinkedHashMap$_literal(["getValue",new s.legacyNumberClass_closure0,"setValue",new s.legacyNumberClass_closure1,"getUnit",new s.legacyNumberClass_closure2,"setUnit",new s.legacyNumberClass_closure3],$.String,$.Function));return e}));e(u,"numberClass","$get$numberClass",(()=>(new s.numberClass_closure).call$0()));e(u,"_typesByUnit0","$get$_typesByUnit0",(()=>{var e,r,n,i=$.String;i=s.LinkedHashMap_LinkedHashMap$_empty(i,i);for(e=o.Map_U8AHF.get$entries(o.Map_U8AHF),e=e.get$iterator(e);e.moveNext$0();){r=e.get$current(e);for(n=a.get$iterator$ax(r.value),r=r.key;n.moveNext$0();)i.$indexSet(0,n.get$current(n),r)}return i}));e(u,"global11","$get$global11",(()=>s.UnmodifiableListView$(s._setArrayType([u.$get$_isSuperselector0(),u.$get$_simpleSelectors0(),u.$get$_parse0().withName$1("selector-parse"),u.$get$_nest0().withName$1("selector-nest"),u.$get$_append1().withName$1("selector-append"),u.$get$_extend0().withName$1("selector-extend"),u.$get$_replace0().withName$1("selector-replace"),u.$get$_unify0().withName$1("selector-unify")],$.JSArray_BuiltInCallable_2),$.BuiltInCallable_2)));e(u,"module9","$get$module9",(()=>s.BuiltInModule$0("selector",s._setArrayType([u.$get$_isSuperselector0(),u.$get$_simpleSelectors0(),u.$get$_parse0(),u.$get$_nest0(),u.$get$_append1(),u.$get$_extend0(),u.$get$_replace0(),u.$get$_unify0()],$.JSArray_BuiltInCallable_2),null,null,$.BuiltInCallable_2)));e(u,"_nest0","$get$_nest0",(()=>s._function7("nest","$selectors...",new s._nest_closure0)));e(u,"_append2","$get$_append1",(()=>s._function7("append","$selectors...",new s._append_closure1)));e(u,"_extend0","$get$_extend0",(()=>s._function7("extend","$selector, $extendee, $extender",new s._extend_closure0)));e(u,"_replace0","$get$_replace0",(()=>s._function7("replace","$selector, $original, $replacement",new s._replace_closure0)));e(u,"_unify0","$get$_unify0",(()=>s._function7("unify","$selector1, $selector2",new s._unify_closure0)));e(u,"_isSuperselector0","$get$_isSuperselector0",(()=>s._function7("is-superselector","$super, $sub",new s._isSuperselector_closure0)));e(u,"_simpleSelectors0","$get$_simpleSelectors0",(()=>s._function7("simple-selectors","$selector",new s._simpleSelectors_closure0)));e(u,"_parse0","$get$_parse0",(()=>s._function7("parse","$selector",new s._parse_closure0)));e(u,"_knownCompatibilitiesByUnit0","$get$_knownCompatibilitiesByUnit0",(()=>{var e,r,n,i=s.LinkedHashMap_LinkedHashMap$_empty($.String,s.findType("Set"));for(e=0;e<5;++e){r=o.List_AqW[e];for(n=r.get$iterator(r);n.moveNext$0();)i.$indexSet(0,n.get$current(n),r)}return i}));e(u,"_random2","$get$_random1",(()=>s.Random_Random()));r(u,"_previousUniqueId0","$get$_previousUniqueId0",(()=>u.$get$_random1().nextInt$1(s._asInt(s.pow(36,6)))));e(u,"global12","$get$global12",(()=>s.UnmodifiableListView$(s._setArrayType([u.$get$_unquote0(),u.$get$_quote0(),u.$get$_toUpperCase0(),u.$get$_toLowerCase0(),u.$get$_uniqueId0(),u.$get$_length1().withName$1("str-length"),u.$get$_insert0().withName$1("str-insert"),u.$get$_index1().withName$1("str-index"),u.$get$_slice0().withName$1("str-slice")],$.JSArray_BuiltInCallable_2),$.BuiltInCallable_2)));e(u,"module10","$get$module10",(()=>s.BuiltInModule$0("string",s._setArrayType([u.$get$_unquote0(),u.$get$_quote0(),u.$get$_toUpperCase0(),u.$get$_toLowerCase0(),u.$get$_length1(),u.$get$_insert0(),u.$get$_index1(),u.$get$_slice0(),u.$get$_uniqueId0()],$.JSArray_BuiltInCallable_2),null,null,$.BuiltInCallable_2)));e(u,"_unquote0","$get$_unquote0",(()=>s._function6("unquote","$string",new s._unquote_closure0)));e(u,"_quote0","$get$_quote0",(()=>s._function6("quote","$string",new s._quote_closure0)));e(u,"_length2","$get$_length1",(()=>s._function6("length","$string",new s._length_closure1)));e(u,"_insert0","$get$_insert0",(()=>s._function6("insert","$string, $insert, $index",new s._insert_closure0)));e(u,"_index2","$get$_index1",(()=>s._function6("index","$string, $substring",new s._index_closure1)));e(u,"_slice0","$get$_slice0",(()=>s._function6("slice","$string, $start-at, $end-at: -1",new s._slice_closure0)));e(u,"_toUpperCase0","$get$_toUpperCase0",(()=>s._function6("to-upper-case","$string",new s._toUpperCase_closure0)));e(u,"_toLowerCase0","$get$_toLowerCase0",(()=>s._function6("to-lower-case","$string",new s._toLowerCase_closure0)));e(u,"_uniqueId0","$get$_uniqueId0",(()=>s._function6("unique-id","",new s._uniqueId_closure0)));e(u,"legacyStringClass","$get$legacyStringClass",(()=>{var e=s.createJSClass("sass.types.String",new s.legacyStringClass_closure);s.JSClassExtension_defineMethods(e,s.LinkedHashMap_LinkedHashMap$_literal(["getValue",new s.legacyStringClass_closure0,"setValue",new s.legacyStringClass_closure1],$.String,$.Function));return e}));e(u,"stringClass","$get$stringClass",(()=>(new s.stringClass_closure).call$0()));e(u,"_emptyQuoted0","$get$_emptyQuoted0",(()=>s.SassString$0("",true)));e(u,"_emptyUnquoted0","$get$_emptyUnquoted0",(()=>s.SassString$0("",false)));e(u,"_jsThrow","$get$_jsThrow",(()=>new self.Function("error","throw error;")));e(u,"_isUndefined","$get$_isUndefined",(()=>new self.Function("value","return value === undefined;")));e(u,"_noSourceUrl0","$get$_noSourceUrl0",(()=>s.Uri_parse("-")));e(u,"_traces0","$get$_traces0",(()=>s.Expando$()));e(u,"valueClass","$get$valueClass",(()=>(new s.valueClass_closure).call$0()))})();(function nativeSupport(){!function(){var intern=function(e){var r={};r[e]=1;return Object.keys(i.convertToFastObject(r))[0]};_.getIsolateTag=function(e){return intern("___dart_"+e+_.isolateTag)};var e="___dart_isolate_tags_";var r=Object[e]||(Object[e]=Object.create(null));var n="_ZxYxX";for(var s=0;;s++){var a=intern(n+"_"+s+"_");if(!(a in r)){r[a]=1;_.isolateTag=a;break}}_.dispatchPropertyName=_.getIsolateTag("dispatch_record")}();i.setOrUpdateInterceptorsByTag({ArrayBuffer:a.Interceptor,DataView:s.NativeTypedData,ArrayBufferView:s.NativeTypedData,Float32Array:s.NativeTypedArrayOfDouble,Float64Array:s.NativeTypedArrayOfDouble,Int16Array:s.NativeInt16List,Int32Array:s.NativeInt32List,Int8Array:s.NativeInt8List,Uint16Array:s.NativeUint16List,Uint32Array:s.NativeUint32List,Uint8ClampedArray:s.NativeUint8ClampedList,CanvasPixelArray:s.NativeUint8ClampedList,Uint8Array:s.NativeUint8List});i.setOrUpdateLeafTags({ArrayBuffer:true,DataView:true,ArrayBufferView:false,Float32Array:true,Float64Array:true,Int16Array:true,Int32Array:true,Int8Array:true,Uint16Array:true,Uint32Array:true,Uint8ClampedArray:true,CanvasPixelArray:true,Uint8Array:false});s.NativeTypedArray.$nativeSuperclassTag="ArrayBufferView";s._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag="ArrayBufferView";s._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag="ArrayBufferView";s.NativeTypedArrayOfDouble.$nativeSuperclassTag="ArrayBufferView";s._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag="ArrayBufferView";s._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag="ArrayBufferView";s.NativeTypedArrayOfInt.$nativeSuperclassTag="ArrayBufferView"})();Function.prototype.call$0=function(){return this()};Function.prototype.call$1=function(e){return this(e)};Function.prototype.call$2=function(e,r){return this(e,r)};Function.prototype.call$3$1=function(e){return this(e)};Function.prototype.call$2$1=function(e){return this(e)};Function.prototype.call$1$1=function(e){return this(e)};Function.prototype.call$3=function(e,r,n){return this(e,r,n)};Function.prototype.call$4=function(e,r,n,i){return this(e,r,n,i)};Function.prototype.call$3$3=function(e,r,n){return this(e,r,n)};Function.prototype.call$2$2=function(e,r){return this(e,r)};Function.prototype.call$6=function(e,r,n,i,s,a){return this(e,r,n,i,s,a)};Function.prototype.call$5=function(e,r,n,i,s){return this(e,r,n,i,s)};Function.prototype.call$1$0=function(){return this()};Function.prototype.call$2$0=function(){return this()};Function.prototype.call$2$3=function(e,r,n){return this(e,r,n)};Function.prototype.call$1$2=function(e,r){return this(e,r)};convertAllToFastObject(l);convertToFastObject(u);(function(e){if(typeof document==="undefined"){e(null);return}if(typeof document.currentScript!="undefined"){e(document.currentScript);return}var r=document.scripts;function onLoad(n){for(var i=0;i{var i=n(372);i.load({});e.exports=i},147:e=>{"use strict";e.exports=require("fs")},837:e=>{"use strict";e.exports=require("util")}};var __webpack_module_cache__={};function __nccwpck_require__(e){var r=__webpack_module_cache__[e];if(r!==undefined){return r.exports}var n=__webpack_module_cache__[e]={exports:{}};var i=true;try{__webpack_modules__[e].call(n.exports,n,n.exports,__nccwpck_require__);i=false}finally{if(i)delete __webpack_module_cache__[e]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__=__nccwpck_require__(525);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/packages/builder/builder-shared/compiled/sass/license b/packages/builder/builder-shared/compiled/sass/license deleted file mode 100644 index 504a4802d182..000000000000 --- a/packages/builder/builder-shared/compiled/sass/license +++ /dev/null @@ -1,1619 +0,0 @@ -Dart Sass license: - -Copyright (c) 2016, Google Inc. - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - --------------------------------------------------------------------------------- - -Dart SDK license: - -Copyright 2012, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -_fe_analyzer_shared license: - -Copyright 2019, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -analyzer license: - -Copyright 2013, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -archive license: - -The MIT License - -Copyright (c) 2013-2021 Brendan Duncan. -All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - --------------------------------------------------------------------------------- - -args, csslib and logging license: - -Copyright 2013, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -async, cli_util, collection, mime and typed_data license: - -Copyright 2015, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -boolean_selector and test_descriptor license: - -Copyright 2016, the Dart project authors. All rights reserved. -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -charcode, oauth2, source_maps and stack_trace license: - -Copyright 2014, the Dart project authors. All rights reserved. -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -checked_yaml license: - -Copyright 2019, the Dart project authors. All rights reserved. -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -cli_pkg license: - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - --------------------------------------------------------------------------------- - -cli_repl license: - -Copyright (c) 2018, Jennifer Thakar. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of the project nor the names of its contributors may be - used to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -convert, crypto, shelf_static and vm_service license: - -Copyright 2015, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -coverage and quiver license: - - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --------------------------------------------------------------------------------- - -dart_style, dartdoc, glob, http, http_parser, matcher, path, pool, pub_semver, -source_span, string_scanner, test and watcher license: - -Copyright 2014, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -file license: - -Copyright 2017, the Dart project authors. All rights reserved. -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - --------------------------------------------------------------------------------- - -freezed_annotation license: - -MIT License - -Copyright (c) 2020 Remi Rousselet - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - --------------------------------------------------------------------------------- - -frontend_server_client license: - -Copyright 2020, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -grinder and webkit_inspection_protocol license: - -Copyright 2013, Google Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -html license: - -Copyright (c) 2006-2012 The Authors - -Contributors: -James Graham - jg307@cam.ac.uk -Anne van Kesteren - annevankesteren@gmail.com -Lachlan Hunt - lachlan.hunt@lachy.id.au -Matt McDonald - kanashii@kanashii.ca -Sam Ruby - rubys@intertwingly.net -Ian Hickson (Google) - ian@hixie.ch -Thomas Broyer - t.broyer@ltgt.net -Jacques Distler - distler@golem.ph.utexas.edu -Henri Sivonen - hsivonen@iki.fi -Adam Barth - abarth@webkit.org -Eric Seidel - eric@webkit.org -The Mozilla Foundation (contributions from Henri Sivonen since 2008) -David Flanagan (Mozilla) - dflanagan@mozilla.com -Google Inc. (contributed the Dart port) - misc@dartlang.org - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - --------------------------------------------------------------------------------- - -http_multi_server, shelf and shelf_web_socket license: - -Copyright 2014, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -io and term_glyph license: - -Copyright 2017, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -js license: - -Copyright 2012, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -json_annotation and stream_transform license: - -Copyright 2017, the Dart project authors. All rights reserved. -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -lints license: - -Copyright 2021, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -markdown license: - -Copyright 2012, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -meta and shelf_packages_handler license: - -Copyright 2016, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -node_interop license: - -Copyright (c) 2017, Anatoly Pulyaevskiy. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of the nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -node_preamble license: - -The MIT License (MIT) - -Copyright (c) 2015 Michael Bullington - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -=== - -Copyright 2012, the Dart project authors. All rights reserved. -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -package_config license: - -Copyright 2019, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -petitparser and xml license: - -The MIT License - -Copyright (c) 2006-2022 Lukas Renggli. -All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - --------------------------------------------------------------------------------- - -pub_api_client license: - -MIT License - -Copyright (c) 2020 Leo Farias - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - --------------------------------------------------------------------------------- - -pubspec license: - -Copyright (c) 2015, Anders Holmgren. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of the nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -pubspec_parse, test_api and test_core license: - -Copyright 2018, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -source_map_stack_trace and stream_channel license: - -Copyright 2015, the Dart project authors. All rights reserved. -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -test_process license: - -Copyright 2017, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -tuple license: - -Copyright (c) 2014, the tuple project authors. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - --------------------------------------------------------------------------------- - -uri license: - -Copyright 2013, the Dart project authors. All rights reserved. -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -web_socket_channel license: - -Copyright 2016, the Dart project authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google LLC nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - --------------------------------------------------------------------------------- - -yaml license: - -Copyright (c) 2014, the Dart project authors. -Copyright (c) 2006, Kirill Simonov. - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/packages/builder/builder-shared/compiled/sass/package.json b/packages/builder/builder-shared/compiled/sass/package.json deleted file mode 100644 index 507054e8d9fd..000000000000 --- a/packages/builder/builder-shared/compiled/sass/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"sass","author":{"name":"Natalie Weizenbaum","email":"nweiz@google.com","url":"https://github.com/nex3"},"version":"1.54.4","license":"MIT","types":"types/index.d.ts"} diff --git a/packages/builder/builder-shared/compiled/sass/types/compile.d.ts b/packages/builder/builder-shared/compiled/sass/types/compile.d.ts deleted file mode 100644 index 32cc9b8c034e..000000000000 --- a/packages/builder/builder-shared/compiled/sass/types/compile.d.ts +++ /dev/null @@ -1,152 +0,0 @@ -import {RawSourceMap} from 'source-map-js'; - -import {Options, StringOptions} from './options'; - -/** - * The result of compiling Sass to CSS. Returned by [[compile]], - * [[compileAsync]], [[compileString]], and [[compileStringAsync]]. - * - * @category Compile - */ -export interface CompileResult { - /** - * The generated CSS. - * - * Note that this *never* includes a `sourceMapUrl` comment—it's up to the - * caller to determine where to save the source map and how to link to it from - * the stylesheet. - */ - css: string; - - /** - * The canonical URLs of all the stylesheets that were loaded during the - * Sass compilation. The order of these URLs is not guaranteed. - */ - loadedUrls: URL[]; - - /** - * The object representation of the source map that maps locations in the - * generated CSS back to locations in the Sass source code. - * - * This typically uses absolute `file:` URLs to refer to Sass files, although - * this can be controlled by having a custom [[Importer]] return - * [[ImporterResult.sourceMapUrl]]. - * - * This is set if and only if [[Options.sourceMap]] is `true`. - */ - sourceMap?: RawSourceMap; -} - -/** - * Synchronously compiles the Sass file at `path` to CSS. If it succeeds it - * returns a [[CompileResult]], and if it fails it throws an [[Exception]]. - * - * This only allows synchronous [[Importer]]s and [[CustomFunction]]s. - * - * @example - * - * ```js - * const sass = require('sass'); - * - * const result = sass.compile("style.scss"); - * console.log(result.css); - * ``` - * - * @category Compile - * @compatibility dart: "1.45.0", node: false - */ -export function compile(path: string, options?: Options<'sync'>): CompileResult; - -/** - * Asynchronously compiles the Sass file at `path` to CSS. Returns a promise - * that resolves with a [[CompileResult]] if it succeeds and rejects with an - * [[Exception]] if it fails. - * - * This only allows synchronous or asynchronous [[Importer]]s and - * [[CustomFunction]]s. - * - * **Heads up!** When using Dart Sass, **[[compile]] is almost twice as fast as - * [[compileAsync]]**, due to the overhead of making the entire evaluation - * process asynchronous. - * - * @example - * - * ```js - * const sass = require('sass'); - * - * const result = await sass.compileAsync("style.scss"); - * console.log(result.css); - * ``` - * - * @category Compile - * @compatibility dart: "1.45.0", node: false - */ -export function compileAsync( - path: string, - options?: Options<'async'> -): Promise; - -/** - * Synchronously compiles a stylesheet whose contents is `source` to CSS. If it - * succeeds it returns a [[CompileResult]], and if it fails it throws an - * [[Exception]]. - * - * This only allows synchronous [[Importer]]s and [[CustomFunction]]s. - * - * @example - * - * ```js - * const sass = require('sass'); - * - * const result = sass.compileString(` - * h1 { - * font-size: 40px; - * code { - * font-face: Roboto Mono; - * } - * }`); - * console.log(result.css); - * ``` - * - * @category Compile - * @compatibility dart: "1.45.0", node: false - */ -export function compileString( - source: string, - options?: StringOptions<'sync'> -): CompileResult; - -/** - * Asynchronously compiles a stylesheet whose contents is `source` to CSS. - * Returns a promise that resolves with a [[CompileResult]] if it succeeds and - * rejects with an [[Exception]] if it fails. - * - * This only allows synchronous or asynchronous [[Importer]]s and - * [[CustomFunction]]s. - * - * **Heads up!** When using Dart Sass, **[[compile]] is almost twice as fast as - * [[compileAsync]]**, due to the overhead of making the entire evaluation - * process asynchronous. - * - * @example - * - * ```js - * const sass = require('sass'); - * - * const result = await sass.compileStringAsync(` - * h1 { - * font-size: 40px; - * code { - * font-face: Roboto Mono; - * } - * }`); - * console.log(result.css); - * ``` - * - * @category Compile - * @compatibility dart: "1.45.0", node: false - */ -export function compileStringAsync( - source: string, - options?: StringOptions<'async'> -): Promise; diff --git a/packages/builder/builder-shared/compiled/sass/types/exception.d.ts b/packages/builder/builder-shared/compiled/sass/types/exception.d.ts deleted file mode 100644 index 07a627064b8c..000000000000 --- a/packages/builder/builder-shared/compiled/sass/types/exception.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import {SourceSpan} from './logger'; - -/** - * An exception thrown because a Sass compilation failed. - * - * @category Other - */ -export class Exception extends Error { - private constructor(); - - /** - * A human-friendly representation of the exception. - * - * Because many tools simply print `Error.message` directly, this includes not - * only the textual description of what went wrong (the [[sassMessage]]) but - * also an indication of where in the Sass stylesheet the error occurred (the - * [[span]]) and the Sass stack trace at the point of error (the - * [[sassStack]]). - */ - message: string; - - /** - * A textual description of what went wrong. - * - * Unlike [[message]], this does *not* include representations of [[span]] or - * [[sassStack]]. - */ - readonly sassMessage: string; - - /** - * A human-friendly representation of the Sass stack trace at the point of - * error. - */ - readonly sassStack: string; - - /** The location the error occurred in the Sass file that triggered it. */ - readonly span: SourceSpan; - - /** Returns the same string as [[message]]. */ - toString(): string; -} diff --git a/packages/builder/builder-shared/compiled/sass/types/importer.d.ts b/packages/builder/builder-shared/compiled/sass/types/importer.d.ts deleted file mode 100644 index 124425a0e777..000000000000 --- a/packages/builder/builder-shared/compiled/sass/types/importer.d.ts +++ /dev/null @@ -1,294 +0,0 @@ -import {Syntax} from './options'; -import {PromiseOr} from './util/promise_or'; - -/** - * A special type of importer that redirects all loads to existing files on - * disk. Although this is less powerful than a full [[Importer]], it - * automatically takes care of Sass features like resolving partials and file - * extensions and of loading the file from disk. - * - * Like all importers, this implements custom Sass loading logic for [`@use` - * rules](https://sass-lang.com/documentation/at-rules/use) and [`@import` - * rules](https://sass-lang.com/documentation/at-rules/import). It can be passed - * to [[Options.importers]] or [[StringOptionsWithImporter.importer]]. - * - * @typeParam sync - A `FileImporter<'sync'>`'s [[findFileUrl]] must return - * synchronously, but in return it can be passed to [[compile]] and - * [[compileString]] in addition to [[compileAsync]] and [[compileStringAsync]]. - * - * A `FileImporter<'async'>`'s [[findFileUrl]] may either return synchronously - * or asynchronously, but it can only be used with [[compileAsync]] and - * [[compileStringAsync]]. - * - * @example - * - * ```js - * const {pathToFileURL} = require('url'); - * - * sass.compile('style.scss', { - * importers: [{ - * // An importer that redirects relative URLs starting with "~" to - * // `node_modules`. - * findFileUrl(url) { - * if (!url.startsWith('~')) return null; - * return new URL(url.substring(1), pathToFileURL('node_modules')); - * } - * }] - * }); - * ``` - * - * @category Importer - */ -export interface FileImporter< - sync extends 'sync' | 'async' = 'sync' | 'async' -> { - /** - * A callback that's called to partially resolve a load (such as - * [`@use`](https://sass-lang.com/documentation/at-rules/use) or - * [`@import`](https://sass-lang.com/documentation/at-rules/import)) to a file - * on disk. - * - * Unlike an [[Importer]], the compiler will automatically handle relative - * loads for a [[FileImporter]]. See [[Options.importers]] for more details on - * the way loads are resolved. - * - * @param url - The loaded URL. Since this might be relative, it's represented - * as a string rather than a [[URL]] object. - * - * @param options.fromImport - Whether this is being invoked because of a Sass - * `@import` rule, as opposed to a `@use` or `@forward` rule. - * - * This should *only* be used for determining whether or not to load - * [import-only files](https://sass-lang.com/documentation/at-rules/import#import-only-files). - * - * @returns An absolute `file:` URL if this importer recognizes the `url`. - * This may be only partially resolved: the compiler will automatically look - * for [partials](https://sass-lang.com/documentation/at-rules/use#partials), - * [index files](https://sass-lang.com/documentation/at-rules/use#index-files), - * and file extensions based on the returned URL. An importer may also return - * a fully resolved URL if it so chooses. - * - * If this importer doesn't recognize the URL, it should return `null` instead - * to allow other importers or {@link Options.loadPaths | load paths} to - * handle it. - * - * This may also return a `Promise`, but if it does the importer may only be - * passed to [[compileAsync]] and [[compileStringAsync]], not [[compile]] or - * [[compileString]]. - * - * @throws any - If this importer recognizes `url` but determines that it's - * invalid, it may throw an exception that will be wrapped by Sass. If the - * exception object has a `message` property, it will be used as the wrapped - * exception's message; otherwise, the exception object's `toString()` will be - * used. This means it's safe for importers to throw plain strings. - */ - findFileUrl( - url: string, - options: {fromImport: boolean} - ): PromiseOr; - - /** @hidden */ - canonicalize?: never; -} - -/** - * An object that implements custom Sass loading logic for [`@use` - * rules](https://sass-lang.com/documentation/at-rules/use) and [`@import` - * rules](https://sass-lang.com/documentation/at-rules/import). It can be passed - * to [[Options.importers]] or [[StringOptionsWithImporter.importer]]. - * - * Importers that simply redirect to files on disk are encouraged to use the - * [[FileImporter]] interface instead. - * - * See [[Options.importers]] for more details on the way loads are resolved. - * - * @typeParam sync - An `Importer<'sync'>`'s [[canonicalize]] and [[load]] must - * return synchronously, but in return it can be passed to [[compile]] and - * [[compileString]] in addition to [[compileAsync]] and [[compileStringAsync]]. - * - * An `Importer<'async'>`'s [[canonicalize]] and [[load]] may either return - * synchronously or asynchronously, but it can only be used with - * [[compileAsync]] and [[compileStringAsync]]. - * - * @example Resolving a Load - * - * This is the process of resolving a load using a custom importer: - * - * - The compiler encounters `@use "db:foo/bar/baz"`. - * - It calls [[canonicalize]] with `"db:foo/bar/baz"`. - * - [[canonicalize]] returns `new URL("db:foo/bar/baz/_index.scss")`. - * - If the compiler has already loaded a stylesheet with this canonical URL, it - * re-uses the existing module. - * - Otherwise, it calls [[load]] with `new URL("db:foo/bar/baz/_index.scss")`. - * - [[load]] returns an [[ImporterResult]] that the compiler uses as the - * contents of the module. - * - * @example Code Sample - * - * ```js - * sass.compile('style.scss', { - * // An importer for URLs like `bgcolor:orange` that generates a - * // stylesheet with the given background color. - * importers: [{ - * canonicalize(url) { - * if (!url.startsWith('bgcolor:')) return null; - * return new URL(url); - * }, - * load(canonicalUrl) { - * return { - * contents: `body {background-color: ${canonicalUrl.pathname}}`, - * syntax: 'scss' - * }; - * } - * }] - * }); - * ``` - * - * @category Importer - */ -export interface Importer { - /** - * If `url` is recognized by this importer, returns its canonical format. - * - * If Sass has already loaded a stylesheet with the returned canonical URL, it - * re-uses the existing parse tree (and the loaded module for `@use`). This - * means that importers **must ensure** that the same canonical URL always - * refers to the same stylesheet, *even across different importers*. As such, - * importers are encouraged to use unique URL schemes to disambiguate between - * one another. - * - * As much as possible, custom importers should canonicalize URLs the same way - * as the built-in filesystem importer: - * - * - The importer should look for stylesheets by adding the prefix `_` to the - * URL's basename, and by adding the extensions `.sass` and `.scss` if the - * URL doesn't already have one of those extensions. For example, if the - * URL was `foo/bar/baz`, the importer would look for: - * - `foo/bar/baz.sass` - * - `foo/bar/baz.scss` - * - `foo/bar/_baz.sass` - * - `foo/bar/_baz.scss` - * - * If the URL was `foo/bar/baz.scss`, the importer would just look for: - * - `foo/bar/baz.scss` - * - `foo/bar/_baz.scss` - * - * If the importer finds a stylesheet at more than one of these URLs, it - * should throw an exception indicating that the URL is ambiguous. Note that - * if the extension is explicitly specified, a stylesheet with the opposite - * extension is allowed to exist. - * - * - If none of the possible paths is valid, the importer should perform the - * same resolution on the URL followed by `/index`. In the example above, - * it would look for: - * - `foo/bar/baz/index.sass` - * - `foo/bar/baz/index.scss` - * - `foo/bar/baz/_index.sass` - * - `foo/bar/baz/_index.scss` - * - * As above, if the importer finds a stylesheet at more than one of these - * URLs, it should throw an exception indicating that the import is - * ambiguous. - * - * If no stylesheets are found, the importer should return `null`. - * - * Calling [[canonicalize]] multiple times with the same URL must return the - * same result. Calling [[canonicalize]] with a URL returned by a previous - * call to [[canonicalize]] must return that URL. - * - * Relative loads in stylesheets loaded from an importer are handled by - * resolving the loaded URL relative to the canonical URL of the stylesheet - * that contains it, and passing that URL back to the importer's - * [[canonicalize]] method. For example, suppose the "Resolving a Load" - * example {@link Importer | above} returned a stylesheet that contained - * `@use "mixins"`: - * - * - The compiler resolves the URL `mixins` relative to the current - * stylesheet's canonical URL `db:foo/bar/baz/_index.scss` to get - * `db:foo/bar/baz/mixins`. - * - It calls [[canonicalize]] with `"db:foo/bar/baz/mixins"`. - * - [[canonicalize]] returns `new URL("db:foo/bar/baz/_mixins.scss")`. - * - * Because of this, [[canonicalize]] must return a meaningful result when - * called with a URL relative to one returned by an earlier call to - * [[canonicalize]]. - * - * @param url - The loaded URL. Since this might be relative, it's represented - * as a string rather than a [[URL]] object. - * - * @param options.fromImport - Whether this is being invoked because of a Sass - * `@import` rule, as opposed to a `@use` or `@forward` rule. - * - * This should *only* be used for determining whether or not to load - * [import-only files](https://sass-lang.com/documentation/at-rules/import#import-only-files). - * - * @returns An absolute URL if this importer recognizes the `url`, or `null` - * if it doesn't. If this returns `null`, other importers or {@link - * Options.loadPaths | load paths} may handle the load. - * - * This may also return a `Promise`, but if it does the importer may only be - * passed to [[compileAsync]] and [[compileStringAsync]], not [[compile]] or - * [[compileString]]. - * - * @throws any - If this importer recognizes `url` but determines that it's - * invalid, it may throw an exception that will be wrapped by Sass. If the - * exception object has a `message` property, it will be used as the wrapped - * exception's message; otherwise, the exception object's `toString()` will be - * used. This means it's safe for importers to throw plain strings. - */ - canonicalize( - url: string, - options: {fromImport: boolean} - ): PromiseOr; - - /** - * Loads the Sass text for the given `canonicalUrl`, or returns `null` if this - * importer can't find the stylesheet it refers to. - * - * @param canonicalUrl - The canonical URL of the stylesheet to load. This is - * guaranteed to come from a call to [[canonicalize]], although not every call - * to [[canonicalize]] will result in a call to [[load]]. - * - * @returns The contents of the stylesheet at `canonicalUrl` if it can be - * loaded, or `null` if it can't. - * - * This may also return a `Promise`, but if it does the importer may only be - * passed to [[compileAsync]] and [[compileStringAsync]], not [[compile]] or - * [[compileString]]. - * - * @throws any - If this importer finds a stylesheet at `url` but it fails to - * load for some reason, or if `url` is uniquely associated with this importer - * but doesn't refer to a real stylesheet, the importer may throw an exception - * that will be wrapped by Sass. If the exception object has a `message` - * property, it will be used as the wrapped exception's message; otherwise, - * the exception object's `toString()` will be used. This means it's safe for - * importers to throw plain strings. - */ - load(canonicalUrl: URL): PromiseOr; - - /** @hidden */ - findFileUrl?: never; -} - -/** - * The result of successfully loading a stylesheet with an [[Importer]]. - * - * @category Importer - */ -export interface ImporterResult { - /** The contents of the stylesheet. */ - contents: string; - - /** The syntax with which to parse [[contents]]. */ - syntax: Syntax; - - /** - * The URL to use to link to the loaded stylesheet's source code in source - * maps. A `file:` URL is ideal because it's accessible to both browsers and - * other build tools, but an `http:` URL is also acceptable. - * - * If this isn't set, it defaults to a `data:` URL that contains the contents - * of the loaded stylesheet. - */ - sourceMapUrl?: URL; -} diff --git a/packages/builder/builder-shared/compiled/sass/types/index.d.ts b/packages/builder/builder-shared/compiled/sass/types/index.d.ts deleted file mode 100644 index 3de4d37250b0..000000000000 --- a/packages/builder/builder-shared/compiled/sass/types/index.d.ts +++ /dev/null @@ -1,80 +0,0 @@ -// This is a mirror of the JS API definitions in `spec/js-api`, but with comments -// written to provide user-facing documentation rather than to specify behavior for -// implementations. - -export { - CompileResult, - compile, - compileAsync, - compileString, - compileStringAsync, -} from './compile'; -export {Exception} from './exception'; -export {FileImporter, Importer, ImporterResult} from './importer'; -export {Logger, SourceSpan, SourceLocation} from './logger'; -export { - CustomFunction, - Options, - OutputStyle, - StringOptions, - StringOptionsWithImporter, - StringOptionsWithoutImporter, - Syntax, -} from './options'; -export {PromiseOr} from './util/promise_or'; -export { - ListSeparator, - SassArgumentList, - SassBoolean, - SassColor, - SassFunction, - SassList, - SassMap, - SassNumber, - SassString, - Value, - sassFalse, - sassNull, - sassTrue, -} from './value'; - -// Legacy APIs -export {LegacyException} from './legacy/exception'; -export { - FALSE, - LegacyAsyncFunction, - LegacyAsyncFunctionDone, - LegacyFunction, - LegacySyncFunction, - LegacyValue, - NULL, - TRUE, - types, -} from './legacy/function'; -export { - LegacyAsyncImporter, - LegacyImporter, - LegacyImporterResult, - LegacyImporterThis, - LegacySyncImporter, -} from './legacy/importer'; -export { - LegacySharedOptions, - LegacyFileOptions, - LegacyStringOptions, - LegacyOptions, -} from './legacy/options'; -export {LegacyPluginThis} from './legacy/plugin_this'; -export {LegacyResult, render, renderSync} from './legacy/render'; - -/** - * Information about the Sass implementation. This always begins with a unique - * identifier for the Sass implementation, followed by U+0009 TAB, followed by - * its npm package version. Some implementations include additional information - * as well, but not in any standardized format. - * - * * For Dart Sass, the implementation name is `dart-sass`. - * * For Node Sass, the implementation name is `node-sass`. - * * For the embedded host, the implementation name is `sass-embedded`. - */ -export const info: string; diff --git a/packages/builder/builder-shared/compiled/sass/types/legacy/exception.d.ts b/packages/builder/builder-shared/compiled/sass/types/legacy/exception.d.ts deleted file mode 100644 index 30b54d5a8afe..000000000000 --- a/packages/builder/builder-shared/compiled/sass/types/legacy/exception.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * The exception type thrown by [[renderSync]] and passed as the error to - * [[render]]'s callback. - * - * @category Legacy - * @deprecated This is only thrown by the legacy [[render]] and [[renderSync]] - * APIs. Use [[compile]], [[compileString]], [[compileAsync]], and - * [[compileStringAsync]] instead. - */ -export interface LegacyException extends Error { - /** - * The error message. For Dart Sass, when possible this includes a highlighted - * indication of where in the source file the error occurred as well as the - * Sass stack trace. - */ - message: string; - - /** - * The error message. For Dart Sass, this is the same as the result of calling - * [[toString]], which is itself the same as [[message]] but with the prefix - * "Error:". - */ - formatted: string; - - /** - * The (1-based) line number on which the error occurred, if this exception is - * associated with a specific Sass file location. - */ - line?: number; - - /** - * The (1-based) column number within [[line]] at which the error occurred, if - * this exception is associated with a specific Sass file location. - */ - column?: number; - - /** - * Analogous to the exit code for an executable. `1` for an error caused by a - * Sass file, `3` for any other type of error. - */ - status: number; - - /** - * If this exception was caused by an error in a Sass file, this will - * represent the Sass file's location. It can be in one of three formats: - * - * * If the Sass file was loaded from disk, this is the path to that file. - * * If the Sass file was generated by an importer, this is its canonical URL. - * * If the Sass file was passed as [[LegacyStringOptions.data]] without a - * corresponding [[LegacyStringOptions.file]], this is the special string - * `"stdin"`. - */ - file?: string; -} diff --git a/packages/builder/builder-shared/compiled/sass/types/legacy/function.d.ts b/packages/builder/builder-shared/compiled/sass/types/legacy/function.d.ts deleted file mode 100644 index d52e14c414f7..000000000000 --- a/packages/builder/builder-shared/compiled/sass/types/legacy/function.d.ts +++ /dev/null @@ -1,756 +0,0 @@ -import {LegacyPluginThis} from './plugin_this'; - -/** - * A synchronous callback that implements a custom Sass function. This can be - * passed to [[LegacySharedOptions.functions]] for either [[render]] or - * [[renderSync]]. - * - * If this throws an error, Sass will treat that as the function failing with - * that error message. - * - * ```js - * const result = sass.renderSync({ - * file: 'style.scss', - * functions: { - * "sum($arg1, $arg2)": (arg1, arg2) => { - * if (!(arg1 instanceof sass.types.Number)) { - * throw new Error("$arg1: Expected a number"); - * } else if (!(arg2 instanceof sass.types.Number)) { - * throw new Error("$arg2: Expected a number"); - * } - * return new sass.types.Number(arg1.getValue() + arg2.getValue()); - * } - * } - * }); - * ``` - * - * @param args - One argument for each argument that's declared in the signature - * that's passed to [[LegacySharedOptions.functions]]. If the signature [takes - * arbitrary arguments](https://sass-lang.com/documentation/at-rules/function#taking-arbitrary-arguments), - * they're passed as a single argument list in the last argument. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[CustomFunction]] with [[compile]], [[compileString]], - * [[compileAsync]], and [[compileStringAsync]] instead. - */ -export type LegacySyncFunction = ( - this: LegacyPluginThis, - ...args: LegacyValue[] -) => LegacyValue; - -/** - * An asynchronous callback that implements a custom Sass function. This can be - * passed to [[LegacySharedOptions.functions]], but only for [[render]]. - * - * An asynchronous function must return `undefined`. Its final argument will - * always be a callback, which it should call with the result of the function - * once it's done running. - * - * If this throws an error, Sass will treat that as the function failing with - * that error message. - * - * ```js - * sass.render({ - * file: 'style.scss', - * functions: { - * "sum($arg1, $arg2)": (arg1, arg2, done) => { - * if (!(arg1 instanceof sass.types.Number)) { - * throw new Error("$arg1: Expected a number"); - * } else if (!(arg2 instanceof sass.types.Number)) { - * throw new Error("$arg2: Expected a number"); - * } - * done(new sass.types.Number(arg1.getValue() + arg2.getValue())); - * } - * } - * }, (result, error) => { - * // ... - * }); - * ``` - * - * This is passed one argument for each argument that's declared in the - * signature that's passed to [[LegacySharedOptions.functions]]. If the - * signature [takes arbitrary - * arguments](https://sass-lang.com/documentation/at-rules/function#taking-arbitrary-arguments), - * they're passed as a single argument list in the last argument before the - * callback. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[CustomFunction]] with [[compile]], [[compileString]], - * [[compileAsync]], and [[compileStringAsync]] instead. - */ -export type LegacyAsyncFunction = - | ((this: LegacyPluginThis, done: (result: LegacyValue) => void) => void) - | (( - this: LegacyPluginThis, - arg1: LegacyValue, - done: LegacyAsyncFunctionDone - ) => void) - | (( - this: LegacyPluginThis, - arg1: LegacyValue, - arg2: LegacyValue, - done: LegacyAsyncFunctionDone - ) => void) - | (( - this: LegacyPluginThis, - arg1: LegacyValue, - arg2: LegacyValue, - arg3: LegacyValue, - done: LegacyAsyncFunctionDone - ) => void) - | (( - this: LegacyPluginThis, - arg1: LegacyValue, - arg2: LegacyValue, - arg3: LegacyValue, - arg4: LegacyValue, - done: LegacyAsyncFunctionDone - ) => void) - | (( - this: LegacyPluginThis, - arg1: LegacyValue, - arg2: LegacyValue, - arg3: LegacyValue, - arg4: LegacyValue, - arg5: LegacyValue, - done: LegacyAsyncFunctionDone - ) => void) - | (( - this: LegacyPluginThis, - arg1: LegacyValue, - arg2: LegacyValue, - arg3: LegacyValue, - arg4: LegacyValue, - arg5: LegacyValue, - arg6: LegacyValue, - done: LegacyAsyncFunctionDone - ) => void) - | (( - this: LegacyPluginThis, - ...args: [...LegacyValue[], LegacyAsyncFunctionDone] - ) => void); - -/** - * The function called by a [[LegacyAsyncFunction]] to indicate that it's - * finished. - * - * @param result - If this is a [[LegacyValue]], that indicates that the - * function call completed successfully. If it's a [[types.Error]], that - * indicates that the function call failed. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[CustomFunction]] with [[compile]], [[compileString]], - * [[compileAsync]], and [[compileStringAsync]] instead. - */ -export type LegacyAsyncFunctionDone = ( - result: LegacyValue | types.Error -) => void; - -/** - * A callback that implements a custom Sass function. For [[renderSync]], this - * must be a [[LegacySyncFunction]] which returns its result directly; for - * [[render]], it may be either a [[LegacySyncFunction]] or a - * [[LegacyAsyncFunction]] which calls a callback with its result. - * - * See [[LegacySharedOptions.functions]] for more details. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[CustomFunction]] with [[compile]], [[compileString]], - * [[compileAsync]], and [[compileStringAsync]] instead. - */ -export type LegacyFunction = sync extends 'async' - ? LegacySyncFunction | LegacyAsyncFunction - : LegacySyncFunction; - -/** - * A type representing all the possible values that may be passed to or returned - * from a [[LegacyFunction]]. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[Value]] with [[compile]], [[compileString]], [[compileAsync]], - * and [[compileStringAsync]] instead. - */ -export type LegacyValue = - | types.Null - | types.Number - | types.String - | types.Boolean - | types.Color - | types.List - | types.Map; - -/** - * A shorthand for `sass.types.Boolean.TRUE`. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[sassTrue]] with [[compile]], [[compileString]], [[compileAsync]], - * and [[compileStringAsync]] instead. - */ -export const TRUE: types.Boolean; - -/** - * A shorthand for `sass.types.Boolean.FALSE`. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[sassFalse]] with [[compile]], [[compileString]], [[compileAsync]], - * and [[compileStringAsync]] instead. - */ -export const FALSE: types.Boolean; - -/** - * A shorthand for `sass.types.Null.NULL`. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[sassNull]] with [[compile]], [[compileString]], [[compileAsync]], - * and [[compileStringAsync]] instead. - */ -export const NULL: types.Null; - -/** - * The namespace for value types used in the legacy function API. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[Value]] with [[compile]], [[compileString]], [[compileAsync]], - * and [[compileStringAsync]] instead. - */ -export namespace types { - /** - * The class for Sass's singleton [`null` - * value](https://sass-lang.com/documentation/values/null). The value itself - * can be accessed through the [[NULL]] field. - */ - export class Null { - /** Sass's singleton `null` value. */ - static readonly NULL: Null; - } - - /** - * Sass's [number type](https://sass-lang.com/documentation/values/numbers). - */ - export class Number { - /** - * @param value - The numeric value of the number. - * - * @param unit - If passed, the number's unit. - * - * Complex units can be represented as - * `**.../**...`, with numerator units on the - * left-hand side of the `/` and denominator units on the right. A number - * with only numerator units may omit the `/` and the units after it, and a - * number with only denominator units may be represented - * with no units before the `/`. - * - * @example - * - * ```scss - * new sass.types.Number(0.5); // == 0.5 - * new sass.types.Number(10, "px"); // == 10px - * new sass.types.Number(10, "px*px"); // == 10px * 1px - * new sass.types.Number(10, "px/s"); // == math.div(10px, 1s) - * new sass.types.Number(10, "px*px/s*s"); // == 10px * math.div(math.div(1px, 1s), 1s) - * ``` - */ - constructor(value: number, unit?: string); - - /** - * Returns the value of the number, ignoring units. - * - * **Heads up!** This means that `96px` and `1in` will return different - * values, even though they represent the same length. - * - * @example - * - * ```js - * const number = new sass.types.Number(10, "px"); - * number.getValue(); // 10 - * ``` - */ - getValue(): number; - - /** - * Destructively modifies this number by setting its numeric value to - * `value`, independent of its units. - * - * @deprecated Use [[constructor]] instead. - */ - setValue(value: number): void; - - /** - * Returns a string representation of this number's units. Complex units are - * returned in the same format that [[constructor]] accepts them. - * - * @example - * - * ```js - * // number is `10px`. - * number.getUnit(); // "px" - * - * // number is `math.div(10px, 1s)`. - * number.getUnit(); // "px/s" - * ``` - */ - getUnit(): string; - - /** - * Destructively modifies this number by setting its units to `unit`, - * independent of its numeric value. Complex units are specified in the same - * format as [[constructor]]. - * - * @deprecated Use [[constructor]] instead. - */ - setUnit(unit: string): void; - } - - /** - * Sass's [string type](https://sass-lang.com/documentation/values/strings). - * - * **Heads up!** This API currently provides no way of distinguishing between - * a [quoted](https://sass-lang.com/documentation/values/strings#quoted) and - * [unquoted](https://sass-lang.com/documentation/values/strings#unquoted) - * string. - */ - export class String { - /** - * Creates an unquoted string with the given contents. - * - * **Heads up!** This API currently provides no way of creating a - * [quoted](https://sass-lang.com/documentation/values/strings#quoted) - * string. - */ - constructor(value: string); - - /** - * Returns the contents of the string. If the string contains escapes, - * those escapes are included literally if it’s - * [unquoted](https://sass-lang.com/documentation/values/strings#unquoted), - * while the values of the escapes are included if it’s - * [quoted](https://sass-lang.com/documentation/values/strings#quoted). - * - * @example - * - * ``` - * // string is `Arial`. - * string.getValue(); // "Arial" - * - * // string is `"Helvetica Neue"`. - * string.getValue(); // "Helvetica Neue" - * - * // string is `\1F46D`. - * string.getValue(); // "\\1F46D" - * - * // string is `"\1F46D"`. - * string.getValue(); // "👭" - * ``` - */ - getValue(): string; - - /** - * Destructively modifies this string by setting its numeric value to - * `value`. - * - * **Heads up!** Even if the string was originally quoted, this will cause - * it to become unquoted. - * - * @deprecated Use [[constructor]] instead. - */ - setValue(value: string): void; - } - - /** - * Sass's [boolean type](https://sass-lang.com/documentation/values/booleans). - * - * Custom functions should respect Sass’s notion of - * [truthiness](https://sass-lang.com/documentation/at-rules/control/if#truthiness-and-falsiness) - * by treating `false` and `null` as falsey and everything else as truthy. - * - * **Heads up!** Boolean values can't be constructed, they can only be - * accessed through the [[TRUE]] and [[FALSE]] constants. - */ - export class Boolean { - /** - * Returns `true` if this is Sass's `true` value and `false` if this is - * Sass's `false` value. - * - * @example - * - * ```js - * // boolean is `true`. - * boolean.getValue(); // true - * boolean === sass.types.Boolean.TRUE; // true - * - * // boolean is `false`. - * boolean.getValue(); // false - * boolean === sass.types.Boolean.FALSE; // true - * ``` - */ - getValue(): T; - - /** Sass's `true` value. */ - static readonly TRUE: Boolean; - - /** Sass's `false` value. */ - static readonly FALSE: Boolean; - } - - /** - * Sass's [color type](https://sass-lang.com/documentation/values/colors). - */ - export class Color { - /** - * Creates a new Sass color with the given red, green, blue, and alpha - * channels. The red, green, and blue channels must be integers between 0 - * and 255 (inclusive), and alpha must be between 0 and 1 (inclusive). - * - * @example - * - * ```js - * new sass.types.Color(107, 113, 127); // #6b717f - * new sass.types.Color(0, 0, 0, 0); // rgba(0, 0, 0, 0) - * ``` - */ - constructor(r: number, g: number, b: number, a?: number); - - /** - * Creates a new Sass color with alpha, red, green, and blue channels taken - * from respective two-byte chunks of a hexidecimal number. - * - * @example - * - * ```js - * new sass.types.Color(0xff6b717f); // #6b717f - * new sass.types.Color(0x00000000); // rgba(0, 0, 0, 0) - * ``` - */ - constructor(argb: number); - - /** - * Returns the red channel of the color as an integer from 0 to 255. - * - * @example - * - * ```js - * // color is `#6b717f`. - * color.getR(); // 107 - * - * // color is `#b37399`. - * color.getR(); // 179 - * ``` - */ - getR(): number; - - /** - * Sets the red channel of the color. The value must be an integer between 0 - * and 255 (inclusive). - * - * @deprecated Use [[constructor]] instead. - */ - setR(value: number): void; - - /** - * Returns the green channel of the color as an integer from 0 to 255. - * - * @example - * - * ```js - * // color is `#6b717f`. - * color.getG(); // 113 - * - * // color is `#b37399`. - * color.getG(); // 115 - * ``` - */ - getG(): number; - - /** - * Sets the green channel of the color. The value must be an integer between - * 0 and 255 (inclusive). - * - * @deprecated Use [[constructor]] instead. - */ - setG(value: number): void; - - /** - * Returns the blue channel of the color as an integer from 0 to 255. - * - * @example - * - * ```js - * // color is `#6b717f`. - * color.getB(); // 127 - * - * // color is `#b37399`. - * color.getB(); // 153 - * ``` - */ - getB(): number; - - /** - * Sets the blue channel of the color. The value must be an integer between - * 0 and 255 (inclusive). - * - * @deprecated Use [[constructor]] instead. - */ - setB(value: number): void; - - /** - * Returns the alpha channel of the color as a number from 0 to 1. - * - * @example - * - * ```js - * // color is `#6b717f`. - * color.getA(); // 1 - * - * // color is `transparent`. - * color.getA(); // 0 - * ``` - */ - getA(): number; - - /** - * Sets the alpha channel of the color. The value must be between 0 and 1 - * (inclusive). - * - * @deprecated Use [[constructor]] instead. - */ - setA(value: number): void; - } - - /** - * Sass's [list type](https://sass-lang.com/documentation/values/lists). - * - * **Heads up!** This list type’s methods use 0-based indexing, even though - * within Sass lists use 1-based indexing. These methods also don’t support - * using negative numbers to index backwards from the end of the list. - */ - export class List { - /** - * Creates a new Sass list. - * - * **Heads up!** The initial values of the list elements are undefined. - * These elements must be set using [[setValue]] before accessing them or - * passing the list back to Sass. - * - * @example - * - * ```js - * const list = new sass.types.List(3); - * list.setValue(0, new sass.types.Number(10, "px")); - * list.setValue(1, new sass.types.Number(15, "px")); - * list.setValue(2, new sass.types.Number(32, "px")); - * list; // 10px, 15px, 32px - * ``` - * - * @param length - The number of (initially undefined) elements in the list. - * @param commaSeparator - If `true`, the list is comma-separated; otherwise, - * it's space-separated. Defaults to `true`. - */ - constructor(length: number, commaSeparator?: boolean); - - /** - * Returns the element at `index`, or `undefined` if that value hasn't yet - * been set. - * - * @example - * - * ```js - * // list is `10px, 15px, 32px` - * list.getValue(0); // 10px - * list.getValue(2); // 32px - * ``` - * - * @param index - A (0-based) index into this list. - * @throws `Error` if `index` is less than 0 or greater than or equal to the - * number of elements in this list. - */ - getValue(index: number): LegacyValue | undefined; - - /** - * Sets the element at `index` to `value`. - * - * @example - * - * ```js - * // list is `10px, 15px, 32px` - * list.setValue(1, new sass.types.Number(18, "px")); - * list; // 10px, 18px, 32px - * ``` - * - * @param index - A (0-based) index into this list. - * @throws `Error` if `index` is less than 0 or greater than or equal to the - * number of elements in this list. - */ - setValue(index: number, value: LegacyValue): void; - - /** - * Returns `true` if this list is comma-separated and `false` otherwise. - * - * @example - * - * ```js - * // list is `10px, 15px, 32px` - * list.getSeparator(); // true - * - * // list is `1px solid` - * list.getSeparator(); // false - * ``` - */ - getSeparator(): boolean; - - /** - * Sets whether the list is comma-separated. - * - * @param isComma - `true` to make the list comma-separated, `false` otherwise. - */ - setSeparator(isComma: boolean): void; - - /** - * Returns the number of elements in the list. - * - * @example - * - * ```js - * // list is `10px, 15px, 32px` - * list.getLength(); // 3 - * - * // list is `1px solid` - * list.getLength(); // 2 - * ``` - */ - getLength(): number; - } - - /** - * Sass's [map type](https://sass-lang.com/documentation/values/maps). - * - * **Heads up!** This map type is represented as a list of key-value pairs - * rather than a mapping from keys to values. The only way to find the value - * associated with a given key is to iterate through the map checking for that - * key. Maps created through this API are still forbidden from having duplicate - * keys. - */ - export class Map { - /** - * Creates a new Sass map. - * - * **Heads up!** The initial keys and values of the map are undefined. They - * must be set using [[setKey]] and [[setValue]] before accessing them or - * passing the map back to Sass. - * - * @example - * - * ```js - * const map = new sass.types.Map(2); - * map.setKey(0, new sass.types.String("width")); - * map.setValue(0, new sass.types.Number(300, "px")); - * map.setKey(1, new sass.types.String("height")); - * map.setValue(1, new sass.types.Number(100, "px")); - * map; // (width: 300px, height: 100px) - * ``` - * - * @param length - The number of (initially undefined) key/value pairs in the map. - */ - constructor(length: number); - - /** - * Returns the value in the key/value pair at `index`. - * - * @example - * - * ```js - * // map is `(width: 300px, height: 100px)` - * map.getValue(0); // 300px - * map.getValue(1); // 100px - * ``` - * - * @param index - A (0-based) index of a key/value pair in this map. - * @throws `Error` if `index` is less than 0 or greater than or equal to the - * number of pairs in this map. - */ - getValue(index: number): LegacyValue; - - /** - * Sets the value in the key/value pair at `index` to `value`. - * - * @example - * - * ```js - * // map is `("light": 200, "medium": 400, "bold": 600)` - * map.setValue(1, new sass.types.Number(300)); - * map; // ("light": 200, "medium": 300, "bold": 600) - * ``` - * - * @param index - A (0-based) index of a key/value pair in this map. - * @throws `Error` if `index` is less than 0 or greater than or equal to the - * number of pairs in this map. - */ - setValue(index: number, value: LegacyValue): void; - - /** - * Returns the key in the key/value pair at `index`. - * - * @example - * - * ```js - * // map is `(width: 300px, height: 100px)` - * map.getKey(0); // width - * map.getKey(1); // height - * ``` - * - * @param index - A (0-based) index of a key/value pair in this map. - * @throws `Error` if `index` is less than 0 or greater than or equal to the - * number of pairs in this map. - */ - getKey(index: number): LegacyValue; - - /** - * Sets the value in the key/value pair at `index` to `value`. - * - * @example - * - * ```js - * // map is `("light": 200, "medium": 400, "bold": 600)` - * map.setValue(1, new sass.types.String("lighter")); - * map; // ("lighter": 200, "medium": 300, "bold": 600) - * ``` - * - * @param index - A (0-based) index of a key/value pair in this map. - * @throws `Error` if `index` is less than 0 or greater than or equal to the - * number of pairs in this map. - */ - setKey(index: number, key: LegacyValue): void; - - /** - * Returns the number of key/value pairs in this map. - * - * @example - * - * ```js - * // map is `("light": 200, "medium": 400, "bold": 600)` - * map.getLength(); // 3 - * - * // map is `(width: 300px, height: 100px)` - * map.getLength(); // 2 - * ``` - */ - getLength(): number; - } - - /** - * An error that can be returned from a Sass function to signal that it - * encountered an error. This is the only way to signal an error - * asynchronously from a [[LegacyAsyncFunction]]. - */ - export class Error { - constructor(message: string); - } -} diff --git a/packages/builder/builder-shared/compiled/sass/types/legacy/importer.d.ts b/packages/builder/builder-shared/compiled/sass/types/legacy/importer.d.ts deleted file mode 100644 index 70ef843bca46..000000000000 --- a/packages/builder/builder-shared/compiled/sass/types/legacy/importer.d.ts +++ /dev/null @@ -1,168 +0,0 @@ -import {LegacyPluginThis} from './plugin_this'; - -/** - * The value of `this` in the context of a [[LegacyImporter]] function. - * - * @category Legacy - * @deprecated This is only used by the legacy [[render]] and [[renderSync]] - * APIs. Use [[Importer]] with [[compile]], [[compileString]], [[compileAsync]], - * and [[compileStringAsync]] instead. - */ -interface LegacyImporterThis extends LegacyPluginThis { - /** - * Whether the importer is being invoked because of a Sass `@import` rule, as - * opposed to a `@use` or `@forward` rule. - * - * This should *only* be used for determining whether or not to load - * [import-only files](https://sass-lang.com/documentation/at-rules/import#import-only-files). - * - * @compatibility dart: "1.33.0", node: false - */ - fromImport: boolean; -} - -/** - * The result of running a [[LegacyImporter]]. It must be one of the following - * types: - * - * * An object with the key `contents` whose value is the contents of a stylesheet - * (in SCSS syntax). This causes Sass to load that stylesheet’s contents. - * - * * An object with the key `file` whose value is a path on disk. This causes Sass - * to load that file as though it had been imported directly. - * - * * `null`, which indicates that it doesn’t recognize the URL and another - * importer should be tried instead. - * - * * An [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) - * object, indicating that importing failed. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[ImporterResult]] with [[compile]], [[compileString]], - * [[compileAsync]], and [[compileStringAsync]] instead. - */ -export type LegacyImporterResult = - | {file: string} - | {contents: string} - | Error - | null; - -/** - * A synchronous callback that implements custom Sass loading logic for - * [`@import` rules](https://sass-lang.com/documentation/at-rules/import) and - * [`@use` rules](https://sass-lang.com/documentation/at-rules/use). This can be - * passed to [[LegacySharedOptions.importer]] for either [[render]] or - * [[renderSync]]. - * - * See [[LegacySharedOptions.importer]] for more detailed documentation. - * - * ```js - * sass.renderSync({ - * file: "style.scss", - * importer: [ - * function(url, prev) { - * if (url != "big-headers") return null; - * - * return { - * contents: 'h1 { font-size: 40px; }' - * }; - * } - * ] - * }); - * ``` - * - * @param url - The `@use` or `@import` rule’s URL as a string, exactly as it - * appears in the stylesheet. - * - * @param prev - A string identifying the stylesheet that contained the `@use` - * or `@import`. This string’s format depends on how that stylesheet was loaded: - * - * * If the stylesheet was loaded from the filesystem, it’s the absolute path of - * its file. - * * If the stylesheet was loaded from an importer that returned its contents, - * it’s the URL of the `@use` or `@import` rule that loaded it. - * * If the stylesheet came from the data option, it’s the string "stdin". - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[Importer]] with [[compile]], [[compileString]], [[compileAsync]], - * and [[compileStringAsync]] instead. - */ -type LegacySyncImporter = ( - this: LegacyImporterThis, - url: string, - prev: string -) => LegacyImporterResult; - -/** - * An asynchronous callback that implements custom Sass loading logic for - * [`@import` rules](https://sass-lang.com/documentation/at-rules/import) and - * [`@use` rules](https://sass-lang.com/documentation/at-rules/use). This can be - * passed to [[LegacySharedOptions.importer]] for either [[render]] or - * [[renderSync]]. - * - * An asynchronous importer must return `undefined`, and then call `done` with - * the result of its [[LegacyImporterResult]] once it's done running. - * - * See [[LegacySharedOptions.importer]] for more detailed documentation. - * - * ```js - * sass.render({ - * file: "style.scss", - * importer: [ - * function(url, prev, done) { - * if (url != "big-headers") done(null); - * - * done({ - * contents: 'h1 { font-size: 40px; }' - * }); - * } - * ] - * }); - * ``` - * - * @param url - The `@use` or `@import` rule’s URL as a string, exactly as it - * appears in the stylesheet. - * - * @param prev - A string identifying the stylesheet that contained the `@use` - * or `@import`. This string’s format depends on how that stylesheet was loaded: - * - * * If the stylesheet was loaded from the filesystem, it’s the absolute path of - * its file. - * * If the stylesheet was loaded from an importer that returned its contents, - * it’s the URL of the `@use` or `@import` rule that loaded it. - * * If the stylesheet came from the data option, it’s the string "stdin". - * - * @param done - The callback to call once the importer has finished running. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[Importer]] with [[compile]], [[compileString]], [[compileAsync]], - * and [[compileStringAsync]] instead. - */ -type LegacyAsyncImporter = ( - this: LegacyImporterThis, - url: string, - prev: string, - done: (result: LegacyImporterResult) => void -) => void; - -/** - * A callback that implements custom Sass loading logic for [`@import` - * rules](https://sass-lang.com/documentation/at-rules/import) and [`@use` - * rules](https://sass-lang.com/documentation/at-rules/use). For [[renderSync]], - * this must be a [[LegacySyncImporter]] which returns its result directly; for - * [[render]], it may be either a [[LegacySyncImporter]] or a - * [[LegacyAsyncImporter]] which calls a callback with its result. - * - * See [[LegacySharedOptions.importer]] for more details. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[Importer]] with [[compile]], [[compileString]], [[compileAsync]], - * and [[compileStringAsync]] instead. - */ -export type LegacyImporter = sync extends 'async' - ? LegacySyncImporter | LegacyAsyncImporter - : LegacySyncImporter; diff --git a/packages/builder/builder-shared/compiled/sass/types/legacy/options.d.ts b/packages/builder/builder-shared/compiled/sass/types/legacy/options.d.ts deleted file mode 100644 index a7a33eaa4808..000000000000 --- a/packages/builder/builder-shared/compiled/sass/types/legacy/options.d.ts +++ /dev/null @@ -1,642 +0,0 @@ -import {Logger} from '../logger'; -import {LegacyImporter} from './importer'; -import {LegacyFunction} from './function'; - -/** - * Options for [[render]] and [[renderSync]] that are shared between - * [[LegacyFileOptions]] and [[LegacyStringOptions]]. - * - * @typeParam sync - This lets the TypeScript checker verify that - * [[LegacyAsyncImporter]]s and [[LegacyAsyncFunction]]s aren't passed to - * [[renderSync]]. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[Options]] with [[compile]], [[compileString]], [[compileAsync]], - * and [[compileStringAsync]] instead. - */ -export interface LegacySharedOptions { - /** - * This array of strings option provides [load - * paths](https://sass-lang.com/documentation/at-rules/import#load-paths) for - * Sass to look for stylesheets. Earlier load paths will take precedence over - * later ones. - * - * ```js - * sass.renderSync({ - * file: "style.scss", - * includePaths: ["node_modules/bootstrap/dist/css"] - * }); - * ``` - * - * Load paths are also loaded from the `SASS_PATH` environment variable, if - * it’s set. This variable should be a list of paths separated by `;` (on - * Windows) or `:` (on other operating systems). Load paths from the - * `includePaths` option take precedence over load paths from `SASS_PATH`. - * - * ```sh - * $ SASS_PATH=node_modules/bootstrap/dist/css sass style.scss style.css - * ``` - * - * @category Input - * @compatibility feature: "SASS_PATH", dart: "1.15.0", node: "3.9.0" - * - * Earlier versions of Dart Sass and Node Sass didn’t support the `SASS_PATH` - * environment variable. - */ - includePaths?: string[]; - - /** - * Whether the generated CSS should use spaces or tabs for indentation. - * - * ```js - * const result = sass.renderSync({ - * file: "style.scss", - * indentType: "tab", - * indentWidth: 1 - * }); - * - * result.css.toString(); - * // "h1 {\n\tfont-size: 40px;\n}\n" - * ``` - * - * @defaultValue `'space'` - * @category Output - * @compatibility dart: true, node: "3.0.0" - */ - indentType?: 'space' | 'tab'; - - /** - * How many spaces or tabs (depending on [[indentType]]) should be used per - * indentation level in the generated CSS. It must be between 0 and 10 - * (inclusive). - * - * @defaultValue `2` - * @category Output - * @compatibility dart: true, node: "3.0.0" - */ - indentWidth?: number; - - /** - * Which character sequence to use at the end of each line in the generated - * CSS. It can have the following values: - * - * * `'lf'` uses U+000A LINE FEED. - * * `'lfcr'` uses U+000A LINE FEED followed by U+000D CARRIAGE RETURN. - * * `'cr'` uses U+000D CARRIAGE RETURN. - * * `'crlf'` uses U+000D CARRIAGE RETURN followed by U+000A LINE FEED. - * - * @defaultValue `'lf'` - * @category Output - * @compatibility dart: true, node: "3.0.0" - */ - linefeed?: 'cr' | 'crlf' | 'lf' | 'lfcr'; - - /** - * If `true`, Sass won't add a link from the generated CSS to the source map. - * - * ```js - * const result = sass.renderSync({ - * file: "style.scss", - * sourceMap: "out.map", - * omitSourceMapUrl: true - * }) - * console.log(result.css.toString()); - * // h1 { - * // font-size: 40px; - * // } - * ``` - * - * @defaultValue `false` - * @category Source Maps - */ - omitSourceMapUrl?: boolean; - - /** - * The location that Sass expects the generated CSS to be saved to. It’s used - * to determine the URL used to link from the generated CSS to the source map, - * and from the source map to the Sass source files. - * - * **Heads up!** Despite the name, Sass does *not* write the CSS output to - * this file. The caller must do that themselves. - * - * ```js - * result = sass.renderSync({ - * file: "style.scss", - * sourceMap: true, - * outFile: "out.css" - * }) - * console.log(result.css.toString()); - * // h1 { - * // font-size: 40px; - * // } - * // /*# sourceMappingURL=out.css.map * / - * ``` - * - * @category Source Maps - */ - outFile?: string; - - /** - * The output style of the compiled CSS. There are four possible output styles: - * - * * `"expanded"` (the default for Dart Sass) writes each selector and - * declaration on its own line. - * - * * `"compressed"` removes as many extra characters as possible, and writes - * the entire stylesheet on a single line. - * - * * `"nested"` (the default for Node Sass, not supported by Dart Sass) - * indents CSS rules to match the nesting of the Sass source. - * - * * `"compact"` (not supported by Dart Sass) puts each CSS rule on its own single line. - * - * @example - * - * ```js - * const source = ` - * h1 { - * font-size: 40px; - * code { - * font-face: Roboto Mono; - * } - * }`; - * - * let result = sass.renderSync({ - * data: source, - * outputStyle: "expanded" - * }); - * console.log(result.css.toString()); - * // h1 { - * // font-size: 40px; - * // } - * // h1 code { - * // font-face: Roboto Mono; - * // } - * - * result = sass.renderSync({ - * data: source, - * outputStyle: "compressed" - * }); - * console.log(result.css.toString()); - * // h1{font-size:40px}h1 code{font-face:Roboto Mono} - * - * result = sass.renderSync({ - * data: source, - * outputStyle: "nested" - * }); - * console.log(result.css.toString()); - * // h1 { - * // font-size: 40px; } - * // h1 code { - * // font-face: Roboto Mono; } - * - * result = sass.renderSync({ - * data: source, - * outputStyle: "compact" - * }); - * console.log(result.css.toString()); - * // h1 { font-size: 40px; } - * // h1 code { font-face: Roboto Mono; } - * ``` - * - * @category Output - */ - outputStyle?: 'compressed' | 'expanded' | 'nested' | 'compact'; - - /** - * Whether or not Sass should generate a source map. If it does, the source - * map will be available as [[LegacyResult.map]] (unless [[sourceMapEmbed]] is - * `true`). - * - * If this option is a string, it’s the path that the source map is expected - * to be written to, which is used to link to the source map from the - * generated CSS and to link *from* the source map to the Sass source files. - * Note that if `sourceMap` is a string and [[outFile]] isn’t passed, Sass - * assumes that the CSS will be written to the same directory as the file - * option if it’s passed. - * - * If this option is `true`, the path is assumed to be [[outFile]] with `.map` - * added to the end. If it’s `true` and [[outFile]] isn’t passed, it has no - * effect. - * - * @example - * - * ```js - * let result = sass.renderSync({ - * file: "style.scss", - * sourceMap: "out.map" - * }) - * console.log(result.css.toString()); - * // h1 { - * // font-size: 40px; - * // } - * // /*# sourceMappingURL=out.map * / - * - * result = sass.renderSync({ - * file: "style.scss", - * sourceMap: true, - * outFile: "out.css" - * }) - * console.log(result.css.toString()); - * // h1 { - * // font-size: 40px; - * // } - * // /*# sourceMappingURL=out.css.map * / - * ``` - * - * @defaultValue `false` - * @category Source Maps - */ - sourceMap?: boolean | string; - - /** - * Whether to embed the entire contents of the Sass files that contributed to - * the generated CSS in the source map. This may produce very large source - * maps, but it guarantees that the source will be available on any computer - * no matter how the CSS is served. - * - * @example - * - * ```js - * sass.renderSync({ - * file: "style.scss", - * sourceMap: "out.map", - * sourceMapContents: true - * }) - * ``` - * - * @defaultValue `false` - * @category Source Maps - */ - sourceMapContents?: boolean; - - /** - * Whether to embed the contents of the source map file in the generated CSS, - * rather than creating a separate file and linking to it from the CSS. - * - * @example - * - * ```js - * sass.renderSync({ - * file: "style.scss", - * sourceMap: "out.map", - * sourceMapEmbed: true - * }); - * ``` - * - * @defaultValue `false` - * @category Source Maps - */ - sourceMapEmbed?: boolean; - - /** - * If this is passed, it's prepended to all the links from the source map to - * the Sass source files. - * - * @category Source Maps - */ - sourceMapRoot?: string; - - /** - * Additional handler(s) for loading files when a [`@use` - * rule](https://sass-lang.com/documentation/at-rules/use) or an [`@import` - * rule](https://sass-lang.com/documentation/at-rules/import) is encountered. - * It can either be a single [[LegacyImporter]] function, or an array of - * [[LegacyImporter]]s. - * - * Importers take the URL of the `@import` or `@use` rule and return a - * [[LegacyImporterResult]] indicating how to handle that rule. For more - * details, see [[LegacySyncImporter]] and [[LegacyAsyncImporter]]. - * - * Loads are resolved by trying, in order: - * - * * Loading a file from disk relative to the file in which the `@use` or - * `@import` appeared. - * - * * Each custom importer. - * - * * Loading a file relative to the current working directory. - * - * * Each load path in [[includePaths]]. - * - * * Each load path specified in the `SASS_PATH` environment variable, which - * should be semicolon-separated on Windows and colon-separated elsewhere. - * - * @example - * - * ```js - * sass.render({ - * file: "style.scss", - * importer: [ - * // This importer uses the synchronous API, and can be passed to either - * // renderSync() or render(). - * function(url, prev) { - * // This generates a stylesheet from scratch for `@use "big-headers"`. - * if (url != "big-headers") return null; - * - * return { - * contents: ` - * h1 { - * font-size: 40px; - * }` - * }; - * }, - * - * // This importer uses the asynchronous API, and can only be passed to - * // render(). - * function(url, prev, done) { - * // Convert `@use "foo/bar"` to "node_modules/foo/sass/bar". - * const components = url.split('/'); - * const innerPath = components.slice(1).join('/'); - * done({ - * file: `node_modules/${components.first}/sass/${innerPath}` - * }); - * } - * ] - * }, function(err, result) { - * // ... - * }); - * ``` - * - * @category Plugins - * @compatibility dart: true, node: "3.0.0" - * - * Versions of Node Sass before 3.0.0 don’t support arrays of importers, nor - * do they support importers that return `Error` objects. - * - * Versions of Node Sass before 2.0.0 don’t support the `importer` option at - * all. - * - * @compatibility feature: "Import order", dart: "1.20.2", node: false - * - * Versions of Dart Sass before 1.20.2 preferred resolving imports using - * [[includePaths]] before resolving them using custom importers. - * - * All versions of Node Sass currently pass imports to importers before - * loading them relative to the file in which the `@import` appears. This - * behavior is considered incorrect and should not be relied on because it - * violates the principle of *locality*, which says that it should be possible - * to reason about a stylesheet without knowing everything about how the - * entire system is set up. If a user tries to import a stylesheet relative to - * another stylesheet, that import should *always* work. It shouldn’t be - * possible for some configuration somewhere else to break it. - */ - importer?: LegacyImporter | LegacyImporter[]; - - /** - * Additional built-in Sass functions that are available in all stylesheets. - * This option takes an object whose keys are Sass function signatures and - * whose values are [[LegacyFunction]]s. Each function should take the same - * arguments as its signature. - * - * Functions are passed JavaScript representations of [Sass value - * types](https://sass-lang.com/documentation/js-api#value-types), and must - * return the same. - * - * **Heads up!** When writing custom functions, it’s important to ensure that - * all the arguments are the types you expect. Otherwise, users’ stylesheets - * could crash in hard-to-debug ways or, worse, compile to meaningless CSS. - * - * @example - * - * ```js - * sass.render({ - * data: ` - * h1 { - * font-size: pow(2, 5) * 1px; - * }`, - * functions: { - * // This function uses the synchronous API, and can be passed to either - * // renderSync() or render(). - * 'pow($base, $exponent)': function(base, exponent) { - * if (!(base instanceof sass.types.Number)) { - * throw "$base: Expected a number."; - * } else if (base.getUnit()) { - * throw "$base: Expected a unitless number."; - * } - * - * if (!(exponent instanceof sass.types.Number)) { - * throw "$exponent: Expected a number."; - * } else if (exponent.getUnit()) { - * throw "$exponent: Expected a unitless number."; - * } - * - * return new sass.types.Number( - * Math.pow(base.getValue(), exponent.getValue())); - * }, - * - * // This function uses the asynchronous API, and can only be passed to - * // render(). - * 'sqrt($number)': function(number, done) { - * if (!(number instanceof sass.types.Number)) { - * throw "$number: Expected a number."; - * } else if (number.getUnit()) { - * throw "$number: Expected a unitless number."; - * } - * - * done(new sass.types.Number(Math.sqrt(number.getValue()))); - * } - * } - * }, function(err, result) { - * console.log(result.css.toString()); - * // h1 { - * // font-size: 32px; - * // } - * }); - * ``` - * - * @category Plugins - */ - functions?: {[key: string]: LegacyFunction}; - - /** - * By default, if the CSS document contains non-ASCII characters, Sass adds a - * `@charset` declaration (in expanded output mode) or a byte-order mark (in - * compressed mode) to indicate its encoding to browsers or other consumers. - * If `charset` is `false`, these annotations are omitted. - * - * @category Output - * @compatibility dart: "1.39.0", node: false - */ - charset?: boolean; - - /** - * If this option is set to `true`, Sass won’t print warnings that are caused - * by dependencies. A “dependency” is defined as any file that’s loaded - * through [[loadPaths]] or [[importer]]. Stylesheets that are imported - * relative to the entrypoint are not considered dependencies. - * - * This is useful for silencing deprecation warnings that you can’t fix on - * your own. However, please also notify your dependencies of the deprecations - * so that they can get fixed as soon as possible! - * - * **Heads up!** If [[render]] or [[renderSync]] is called without - * [[LegacyFileOptions.file]] or [[LegacyStringOptions.file]], all - * stylesheets it loads will be considered dependencies. Since it doesn’t have - * a path of its own, everything it loads is coming from a load path rather - * than a relative import. - * - * @defaultValue `false` - * @category Messages - * @compatibility dart: "1.35.0", node: false - */ - quietDeps?: boolean; - - /** - * By default, Dart Sass will print only five instances of the same - * deprecation warning per compilation to avoid deluging users in console - * noise. If you set `verbose` to `true`, it will instead print every - * deprecation warning it encounters. - * - * @defaultValue `false` - * @category Messages - * @compatibility dart: "1.35.0", node: false - */ - verbose?: boolean; - - /** - * An object to use to handle warnings and/or debug messages from Sass. - * - * By default, Sass emits warnings and debug messages to standard error, but - * if [[Logger.warn]] or [[Logger.debug]] is set, this will invoke them - * instead. - * - * The special value [[Logger.silent]] can be used to easily silence all - * messages. - * - * @category Messages - * @compatibility dart: "1.43.0", node: false - */ - logger?: Logger; -} - -/** - * If [[file]] is passed without [[data]], Sass will load the stylesheet at - * [[file]] and compile it to CSS. - * - * @typeParam sync - This lets the TypeScript checker verify that - * [[LegacyAsyncImporter]]s and [[LegacyAsyncFunction]]s aren't passed to - * [[renderSync]]. - */ -export interface LegacyFileOptions - extends LegacySharedOptions { - /** - * The path to the file for Sass to load and compile. If the file’s extension - * is `.scss`, it will be parsed as SCSS; if it’s `.sass`, it will be parsed - * as the indented syntax; and if it’s `.css`, it will be parsed as plain CSS. - * If it has no extension, it will be parsed as SCSS. - * - * @example - * - * ```js - * sass.renderSync({file: "style.scss"}); - * ``` - * - * @category Input - * @compatibility feature: "Plain CSS files", dart: "1.11.0", node: "partial" - * - * Node Sass and older versions of Dart Sass support loading files with the - * extension `.css`, but contrary to the specification they’re treated as SCSS - * files rather than being parsed as CSS. This behavior has been deprecated - * and should not be relied on. Any files that use Sass features should use - * the `.scss` extension. - * - * All versions of Node Sass and Dart Sass otherwise support the file option - * as described below. - */ - file: string; - - /** - * See [[LegacyStringOptions.file]] for documentation of passing [[file]] along - * with [[data]]. - * - * @category Input - */ - data?: never; -} - -/** - * If [[data]] is passed, Sass will use it as the contents of the stylesheet to - * compile. - * - * @typeParam sync - This lets the TypeScript checker verify that - * [[LegacyAsyncImporter]]s and [[LegacyAsyncFunction]]s aren't passed to - * [[renderSync]]. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[StringOptions]] with [[compile]], [[compileString]], - * [[compileAsync]], and [[compileStringAsync]] instead. - */ -export interface LegacyStringOptions - extends LegacySharedOptions { - /** - * The contents of the stylesheet to compile. Unless [[file]] is passed as - * well, the stylesheet’s URL is set to `"stdin"`. - * - * By default, this stylesheet is parsed as SCSS. This can be controlled using - * [[indentedSyntax]]. - * - * @example - * - * ```js - * sass.renderSync({ - * data: ` - * h1 { - * font-size: 40px; - * }` - * }); - * ``` - * - * @category Input - */ - data: string; - - /** - * If `file` and [[data]] are both passed, `file` is used as the path of the - * stylesheet for error reporting, but [[data]] is used as the contents of the - * stylesheet. In this case, `file`’s extension is not used to determine the - * syntax of the stylesheet. - * - * @category Input - */ - file?: string; - - /** - * This flag controls whether [[data]] is parsed as the indented syntax or - * not. - * - * @example - * - * ```js - * sass.renderSync({ - * data: ` - * h1 - * font-size: 40px`, - * indentedSyntax: true - * }); - * ``` - * - * @defaultValue `false` - * @category Input - */ - indentedSyntax?: boolean; -} - -/** - * Options for [[render]] and [[renderSync]]. This can either be - * [[LegacyFileOptions]] to load a file from disk, or [[LegacyStringOptions]] to - * compile a string of Sass code. - * - * See [[LegacySharedOptions]] for options that are shared across both file and - * string inputs. - * - * @category Legacy - * @deprecated This only works with the legacy [[render]] and [[renderSync]] - * APIs. Use [[Options]] with [[compile]], [[compileString]], [[compileAsync]], - * and [[compileStringAsync]] instead. - */ -export type LegacyOptions = - | LegacyFileOptions - | LegacyStringOptions; diff --git a/packages/builder/builder-shared/compiled/sass/types/legacy/plugin_this.d.ts b/packages/builder/builder-shared/compiled/sass/types/legacy/plugin_this.d.ts deleted file mode 100644 index 7a1a109aa346..000000000000 --- a/packages/builder/builder-shared/compiled/sass/types/legacy/plugin_this.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -/** - * The value of `this` in the context of a [[LegacyImporter]] or - * [[LegacyFunction]] callback. - * - * @category Legacy - * @deprecated This is only used by the legacy [[render]] and [[renderSync]] - * APIs. Use [[compile]], [[compileString]], [[compileAsync]], and - * [[compileStringAsync]] instead. - */ -export interface LegacyPluginThis { - /** - * A partial representation of the options passed to [[render]] or - * [[renderSync]]. - */ - options: { - /** The same [[LegacyPluginThis]] instance that contains this object. */ - context: LegacyPluginThis; - - /** - * The value passed to [[LegacyFileOptions.file]] or - * [[LegacyStringOptions.file]]. - */ - file?: string; - - /** The value passed to [[LegacyStringOptions.data]]. */ - data?: string; - - /** - * The value passed to [[LegacySharedOptions.includePaths]] separated by - * `";"` on Windows or `":"` on other operating systems. This always - * includes the current working directory as the first entry. - */ - includePaths: string; - - /** Always the number 10. */ - precision: 10; - - /** Always the number 1. */ - style: 1; - - /** 1 if [[LegacySharedOptions.indentType]] was `"tab"`, 0 otherwise. */ - indentType: 1 | 0; - - /** - * The value passed to [[LegacySharedOptions.indentWidth]], or `2` otherwise. - */ - indentWidth: number; - - /** - * The value passed to [[LegacySharedOptions.linefeed]], or `"\n"` - * otherwise. - */ - linefeed: '\r' | '\r\n' | '\n' | '\n\r'; - - /** A partially-constructed [[LegacyResult]] object. */ - result: { - /** Partial information about the compilation in progress. */ - stats: { - /** - * The number of milliseconds between 1 January 1970 at 00:00:00 UTC and - * the time at which Sass compilation began. - */ - start: number; - - /** - * [[LegacyFileOptions.file]] if it was passed, otherwise the string - * `"data"`. - */ - entry: string; - }; - }; - }; -} diff --git a/packages/builder/builder-shared/compiled/sass/types/legacy/render.d.ts b/packages/builder/builder-shared/compiled/sass/types/legacy/render.d.ts deleted file mode 100644 index 80028db13692..000000000000 --- a/packages/builder/builder-shared/compiled/sass/types/legacy/render.d.ts +++ /dev/null @@ -1,139 +0,0 @@ -import {LegacyException} from './exception'; -import {LegacyOptions} from './options'; - -/** - * The object returned by [[render]] and [[renderSync]] after a successful - * compilation. - * - * @category Legacy - * @deprecated This is only used by the legacy [[render]] and [[renderSync]] - * APIs. Use [[compile]], [[compileString]], [[compileAsync]], and - * [[compileStringAsync]] instead. - */ -export interface LegacyResult { - /** - * The compiled CSS. This can be converted to a string by calling - * [Buffer.toString](https://nodejs.org/api/buffer.html#buffer_buf_tostring_encoding_start_end). - * - * @example - * - * ```js - * const result = sass.renderSync({file: "style.scss"}); - * - * console.log(result.css.toString()); - * ``` - */ - css: Buffer; - - /** - * The source map that maps the compiled CSS to the source files from which it - * was generated. This can be converted to a string by calling - * [Buffer.toString](https://nodejs.org/api/buffer.html#buffer_buf_tostring_encoding_start_end). - * - * This is `undefined` unless either - * - * * [[LegacySharedOptions.sourceMap]] is a string; or - * * [[LegacySharedOptions.sourceMap]] is `true` and - * [[LegacySharedOptions.outFile]] is set. - * - * The source map uses absolute [`file:` - * URLs](https://en.wikipedia.org/wiki/File_URI_scheme) to link to the Sass - * source files, except if the source file comes from - * [[LegacyStringOptions.data]] in which case it lists its URL as `"stdin"`. - * - * @example - * - * ```js - * const result = sass.renderSync({ - * file: "style.scss", - * sourceMap: true, - * outFile: "style.css" - * }) - * - * console.log(result.map.toString()); - * ``` - */ - map?: Buffer; - - /** Additional information about the compilation. */ - stats: { - /** - * The absolute path of [[LegacyFileOptions.file]] or - * [[LegacyStringOptions.file]], or `"data"` if [[LegacyStringOptions.file]] - * wasn't set. - */ - entry: string; - - /** - * The number of milliseconds between 1 January 1970 at 00:00:00 UTC and the - * time at which Sass compilation began. - */ - start: number; - - /** - * The number of milliseconds between 1 January 1970 at 00:00:00 UTC and the - * time at which Sass compilation ended. - */ - end: number; - - /** - * The number of milliseconds it took to compile the Sass file. This is - * always equal to `start` minus `end`. - */ - duration: number; - - /** - * An array of the absolute paths of all Sass files loaded during - * compilation. If a stylesheet was loaded from a [[LegacyImporter]] that - * returned the stylesheet’s contents, the raw string of the `@use` or - * `@import` that loaded that stylesheet included in this array. - */ - includedFiles: string[]; - }; -} - -/** - * This function synchronously compiles a Sass file to CSS. If it succeeds, it - * returns the result, and if it fails it throws an error. - * - * @example - * - * ```js - * const sass = require('sass'); // or require('node-sass'); - * - * const result = sass.renderSync({file: "style.scss"}); - * // ... - * ``` - * - * @category Legacy - * @deprecated Use [[compile]] or [[compileString]] instead. - */ -export function renderSync(options: LegacyOptions<'sync'>): LegacyResult; - -/** - - * This function asynchronously compiles a Sass file to CSS, and calls - * `callback` with a [[LegacyResult]] if compilation succeeds or - * [[LegacyException]] if it fails. - * - * **Heads up!** When using Dart Sass, **[[renderSync]] is almost twice as fast - * as [[render]]** by default, due to the overhead of making the entire - * evaluation process asynchronous. - * - * ```js - * const sass = require('sass'); // or require('node-sass'); - * - * sass.render({ - * file: "style.scss" - * }, function(err, result) { - * // ... - * }); - * ``` - * - * @category Legacy - * @deprecated Use [[compileAsync]] or [[compileStringAsync]] instead. - */ -export function render( - options: LegacyOptions<'async'>, - callback: (exception?: LegacyException, result?: LegacyResult) => void -): void; diff --git a/packages/builder/builder-shared/compiled/sass/types/logger/index.d.ts b/packages/builder/builder-shared/compiled/sass/types/logger/index.d.ts deleted file mode 100644 index aa9bcd09d44b..000000000000 --- a/packages/builder/builder-shared/compiled/sass/types/logger/index.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import {SourceSpan} from './source_span'; - -export {SourceLocation} from './source_location'; -export {SourceSpan} from './source_span'; - -/** - * An object that can be passed to [[LegacySharedOptions.logger]] to control how - * Sass emits warnings and debug messages. - * - * @example - * - * ```js - * const fs = require('fs'); - * const sass = require('sass'); - * - * let log = ""; - * sass.renderSync({ - * file: 'input.scss', - * logger: { - * warn(message, options) { - * if (options.span) { - * log += `${span.url}:${span.start.line}:${span.start.column}: ` + - * `${message}\n`; - * } else { - * log += `::: ${message}\n`; - * } - * } - * } - * }); - * - * fs.writeFileSync('log.txt', log); - * ``` - * - * @category Logger - */ -export interface Logger { - /** - * This method is called when Sass emits a warning, whether due to a [`@warn` - * rule](https://sass-lang.com/documentation/at-rules/warn) or a warning - * generated by the Sass compiler. - * - * If this is `undefined`, Sass will print warnings to standard error. - * - * @param message - The warning message. - * @param options.deprecation - Whether this is a deprecation warning. - * @param options.span - The location in the Sass source code that generated this - * warning. - * @param options.stack - The Sass stack trace at the point the warning was issued. - */ - warn?( - message: string, - options: { - deprecation: boolean; - span?: SourceSpan; - stack?: string; - } - ): void; - - /** - * This method is called when Sass emits a debug message due to a [`@debug` - * rule](https://sass-lang.com/documentation/at-rules/debug). - * - * If this is `undefined`, Sass will print debug messages to standard error. - * - * @param message - The debug message. - * @param options.span - The location in the Sass source code that generated this - * debug message. - */ - debug?(message: string, options: {span: SourceSpan}): void; -} - -/** - * A namespace for built-in [[Logger]]s. - * - * @category Logger - * @compatibility dart: "1.43.0", node: false - */ -export namespace Logger { - /** - * A [[Logger]] that silently ignores all warnings and debug messages. - * - * @example - * - * ```js - * const sass = require('sass'); - * - * const result = sass.renderSync({ - * file: 'input.scss', - * logger: sass.Logger.silent, - * }); - * ``` - */ - export const silent: Logger; -} diff --git a/packages/builder/builder-shared/compiled/sass/types/logger/source_location.d.ts b/packages/builder/builder-shared/compiled/sass/types/logger/source_location.d.ts deleted file mode 100644 index 1cf538b6c432..000000000000 --- a/packages/builder/builder-shared/compiled/sass/types/logger/source_location.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * A specific location within a source file. - * - * This is always associated with a [[SourceSpan]] which indicates *which* file - * it refers to. - * - * @category Logger - */ -export interface SourceLocation { - /** - * The 0-based index of this location within its source file, in terms of - * UTF-16 code units. - */ - offset: number; - - /** The 0-based line number of this location. */ - line: number; - - /** The 0-based column number of this location. */ - column: number; -} diff --git a/packages/builder/builder-shared/compiled/sass/types/logger/source_span.d.ts b/packages/builder/builder-shared/compiled/sass/types/logger/source_span.d.ts deleted file mode 100644 index 4f84b3c835e6..000000000000 --- a/packages/builder/builder-shared/compiled/sass/types/logger/source_span.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import {SourceLocation} from './source_location'; - -/** - * A span of text within a source file. - * - * @category Logger - */ -export interface SourceSpan { - /** The beginning of this span, inclusive. */ - start: SourceLocation; - - /** - * The end of this span, exclusive. - * - * If [[start]] and [[end]] refer to the same location, the span has zero - * length and refers to the point immediately after [[start]] and before the - * next character. - */ - end: SourceLocation; - - /** The canonical URL of the file this span refers to. */ - url?: URL; - - /** The text covered by the span. */ - text: string; - - /** - * Text surrounding the span. - * - * If this is set, it must include only whole lines, and it must include at - * least all line(s) which are partially covered by this span. - */ - context?: string; -} diff --git a/packages/builder/builder-shared/compiled/sass/types/options.d.ts b/packages/builder/builder-shared/compiled/sass/types/options.d.ts deleted file mode 100644 index 4c9445d7f5ba..000000000000 --- a/packages/builder/builder-shared/compiled/sass/types/options.d.ts +++ /dev/null @@ -1,435 +0,0 @@ -import {FileImporter, Importer} from './importer'; -import {Logger} from './logger'; -import {Value} from './value'; -import {PromiseOr} from './util/promise_or'; - -/** - * Syntaxes supported by Sass: - * - * - `'scss'` is the [SCSS - * syntax](https://sass-lang.com/documentation/syntax#scss). - * - `'indented'` is the [indented - * syntax](https://sass-lang.com/documentation/syntax#the-indented-syntax) - * - `'css'` is plain CSS, which is parsed like SCSS but forbids the use of any - * special Sass features. - * - * @category Options - */ -export type Syntax = 'scss' | 'indented' | 'css'; - -/** - * Possible output styles for the compiled CSS: - * - * - `"expanded"` (the default for Dart Sass) writes each selector and - * declaration on its own line. - * - * - `"compressed"` removes as many extra characters as possible, and writes - * the entire stylesheet on a single line. - * - * @category Options - */ -export type OutputStyle = 'expanded' | 'compressed'; - -/** - * A callback that implements a custom Sass function. This can be passed to - * [[Options.functions]]. - * - * ```js - * const result = sass.compile('style.scss', { - * functions: { - * "sum($arg1, $arg2)": (args) => { - * const arg1 = args[0].assertNumber('arg1'); - * const value1 = arg1.value; - * const value2 = args[1].assertNumber('arg2') - * .convertValueToMatch(arg1, 'arg2', 'arg1'); - * return new sass.SassNumber(value1 + value2).coerceToMatch(arg1); - * } - * } - * }); - * ``` - * - * @typeParam sync - A `CustomFunction<'sync'>` must return synchronously, but - * in return it can be passed to [[compile]] and [[compileString]] in addition - * to [[compileAsync]] and [[compileStringAsync]]. - * - * A `CustomFunction<'async'>` may either return synchronously or - * asynchronously, but it can only be used with [[compileAsync]] and - * [[compileStringAsync]]. - * - * @param args - An array of arguments passed by the function's caller. If the - * function takes [arbitrary - * arguments](https://sass-lang.com/documentation/at-rules/function#taking-arbitrary-arguments), - * the last element will be a [[SassArgumentList]]. - * - * @returns The function's result. This may be in the form of a `Promise`, but - * if it is the function may only be passed to [[compileAsync]] and - * [[compileStringAsync]], not [[compile]] or [[compileString]]. - * - * @throws any - This function may throw an error, which the Sass compiler will - * treat as the function call failing. If the exception object has a `message` - * property, it will be used as the wrapped exception's message; otherwise, the - * exception object's `toString()` will be used. This means it's safe for custom - * functions to throw plain strings. - * - * @category Custom Function - */ -export type CustomFunction = ( - args: Value[] -) => PromiseOr; - -/** - * Options that can be passed to [[compile]], [[compileAsync]], - * [[compileString]], or [[compileStringAsync]]. - * - * @typeParam sync - This lets the TypeScript checker verify that asynchronous - * [[Importer]]s, [[FileImporter]]s, and [[CustomFunction]]s aren't passed to - * [[compile]] or [[compileString]]. - * - * @category Options - */ -export interface Options { - /** - * If this is `true`, the compiler will exclusively use ASCII characters in - * its error and warning messages. Otherwise, it may use non-ASCII Unicode - * characters as well. - * - * @defaultValue `false` - * @category Messages - */ - alertAscii?: boolean; - - /** - * If this is `true`, the compiler will use ANSI color escape codes in its - * error and warning messages. If it's `false`, it won't use these. If it's - * undefined, the compiler will determine whether or not to use colors - * depending on whether the user is using an interactive terminal. - * - * @category Messages - */ - alertColor?: boolean; - - /** - * If `true`, the compiler may prepend `@charset "UTF-8";` or U+FEFF - * (byte-order marker) if it outputs non-ASCII CSS. - * - * If `false`, the compiler never emits these byte sequences. This is ideal - * when concatenating or embedding in HTML ` - - - - test - - - - diff --git a/packages/builder/plugin-image-compress/tests/index.test.ts b/packages/builder/plugin-image-compress/tests/index.test.ts deleted file mode 100644 index c58e2a8d05a7..000000000000 --- a/packages/builder/plugin-image-compress/tests/index.test.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { it, expect, describe } from 'vitest'; -import { createStubBuilder } from '@modern-js/builder-webpack-provider/stub'; -import { builderAssetPlugin } from '@builder/plugins/asset'; -import { builderPluginImageCompress } from '../src'; - -process.env.NODE_ENV = 'production'; - -const ASSET_EXTS = [ - 'png', - 'jpg', - 'jpeg', - 'gif', - 'bmp', - 'webp', - 'ico', - 'apng', - 'avif', - 'tiff', -]; - -describe('plugin/image-compress', () => { - it('should generate correct options', async () => { - const builder = await createStubBuilder({ - plugins: [ - builderAssetPlugin('image', ASSET_EXTS), - builderPluginImageCompress(), - ], - }); - expect(await builder.unwrapWebpackConfig()).toMatchSnapshot(); - }); - - it('should accept `...options: Options[]` as parameter', async () => { - const builder = await createStubBuilder({ - plugins: [ - builderAssetPlugin('image', ASSET_EXTS), - builderPluginImageCompress('jpeg', { use: 'png' }), - ], - }); - const config = await builder.unwrapWebpackConfig(); - expect(config.optimization?.minimizer).toMatchInlineSnapshot(` - [ - ModernJsImageMinimizerPlugin { - "name": "@modern-js/builder-plugin-image-compress/minimizer", - "options": { - "test": /\\\\\\.\\(jpg\\|jpeg\\)\\$/, - "use": "jpeg", - }, - }, - ModernJsImageMinimizerPlugin { - "name": "@modern-js/builder-plugin-image-compress/minimizer", - "options": { - "test": /\\\\\\.png\\$/, - "use": "png", - }, - }, - ] - `); - }); - - it('should accept `options: Options[]` as parameter', async () => { - const builder = await createStubBuilder({ - plugins: [ - builderAssetPlugin('image', ASSET_EXTS), - builderPluginImageCompress(['jpeg', { use: 'png' }]), - ], - }); - const config = await builder.unwrapWebpackConfig(); - expect(config.optimization?.minimizer).toMatchInlineSnapshot(` - [ - ModernJsImageMinimizerPlugin { - "name": "@modern-js/builder-plugin-image-compress/minimizer", - "options": { - "test": /\\\\\\.\\(jpg\\|jpeg\\)\\$/, - "use": "jpeg", - }, - }, - ModernJsImageMinimizerPlugin { - "name": "@modern-js/builder-plugin-image-compress/minimizer", - "options": { - "test": /\\\\\\.png\\$/, - "use": "png", - }, - }, - ] - `); - }); -}); diff --git a/packages/builder/plugin-image-compress/tests/setup.ts b/packages/builder/plugin-image-compress/tests/setup.ts deleted file mode 100644 index d0253313c357..000000000000 --- a/packages/builder/plugin-image-compress/tests/setup.ts +++ /dev/null @@ -1,8 +0,0 @@ -// eslint-disable-next-line node/prefer-global/console -import { Console } from 'console'; -import { expect } from 'vitest'; -import { createSnapshotSerializer } from '@scripts/vitest-config'; - -global.console.Console = Console; - -expect.addSnapshotSerializer(createSnapshotSerializer()); diff --git a/packages/builder/plugin-image-compress/tests/shared/codecs.test.ts b/packages/builder/plugin-image-compress/tests/shared/codecs.test.ts deleted file mode 100644 index 3c8b6e59b63d..000000000000 --- a/packages/builder/plugin-image-compress/tests/shared/codecs.test.ts +++ /dev/null @@ -1,23 +0,0 @@ -import assert from 'assert'; -import path from 'path'; -import fs from '@modern-js/utils/fs-extra'; -import { describe, expect, it } from 'vitest'; -import codecs from '../../src/shared/codecs'; - -describe('codecs', () => { - it.each(Object.entries(codecs))( - 'should compress %s', - async (codecName, codec) => { - const ext = codecName.match(/[a-z]+/)?.[0]; - // TODO: fix lossy png error - if (ext === 'png') { - return; - } - assert(ext); - const filename = path.resolve(__dirname, '../assets', `image.${ext}`); - const oldBuf = await fs.readFile(filename); - const newBuf = await codec.handler(oldBuf, {}); - expect(newBuf.length).lessThan(oldBuf.length); - }, - ); -}); diff --git a/packages/builder/plugin-image-compress/tests/tsconfig.json b/packages/builder/plugin-image-compress/tests/tsconfig.json deleted file mode 100644 index 54b508816086..000000000000 --- a/packages/builder/plugin-image-compress/tests/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "@modern-js/tsconfig/base", - "compilerOptions": { - "noEmit": true, - "declaration": false, - "jsx": "preserve", - "baseUrl": "./", - "isolatedModules": true, - "paths": { - "@builder/*": ["../../builder/src/*"] - } - } -} diff --git a/packages/builder/plugin-image-compress/tsconfig.json b/packages/builder/plugin-image-compress/tsconfig.json deleted file mode 100644 index 8686019d7111..000000000000 --- a/packages/builder/plugin-image-compress/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "@modern-js/tsconfig/base", - "compilerOptions": { - "target": "ES2019", - "declaration": true, - "outDir": "./dist", - "jsx": "preserve", - "baseUrl": "./", - "isolatedModules": true, - "paths": {}, - "typeRoots": ["node_modules/@types", "src/typing"], - }, - "include": ["src"] -} diff --git a/packages/builder/plugin-image-compress/vitest.config.ts b/packages/builder/plugin-image-compress/vitest.config.ts deleted file mode 100644 index fb32daa039f6..000000000000 --- a/packages/builder/plugin-image-compress/vitest.config.ts +++ /dev/null @@ -1,20 +0,0 @@ -import path from 'path'; -import { defineConfig } from 'vitest/config'; -import { withTestPreset } from '@scripts/vitest-config'; - -const config = defineConfig({ - resolve: { - alias: { - '~': path.resolve(__dirname), - '@': path.resolve(__dirname, 'src'), - '@builder': path.resolve(__dirname, '../builder/src'), - } - }, - test: { - root: __dirname, - environment: 'node', - setupFiles: ['./tests/setup.ts'], - }, -}); - -export default withTestPreset(config); diff --git a/packages/builder/plugin-node-polyfill/.eslintrc.js b/packages/builder/plugin-node-polyfill/.eslintrc.js deleted file mode 100644 index e7bd11f5ac19..000000000000 --- a/packages/builder/plugin-node-polyfill/.eslintrc.js +++ /dev/null @@ -1,11 +0,0 @@ -/** @type {import('eslint').Linter.Config} */ -module.exports = { - extends: ['@modern-js'], - ignorePatterns: ['compiled/', 'vitest.config.ts'], - parserOptions: { - project: require.resolve('./tsconfig.json'), - }, - rules: { - 'import/order': 0, - }, -}; diff --git a/packages/builder/plugin-node-polyfill/.npmignore b/packages/builder/plugin-node-polyfill/.npmignore deleted file mode 100644 index f059fcfe5bc3..000000000000 --- a/packages/builder/plugin-node-polyfill/.npmignore +++ /dev/null @@ -1,30 +0,0 @@ -.DS_Store - -.pnp -.pnp.js -.env.local -.env.*.local -*.log* - -node_modules/ -*.tsbuildinfo -.eslintcache - -coverage/ -tests/ - -.vscode/**/* -!.vscode/settings.json -!.vscode/extensions.json -.idea/ - -src/ - -modern.config.* -jest.config.js -.eslintrc.js -.eslintrc -tsconfig.json -CHANGELOG.md - -scripts/ diff --git a/packages/builder/plugin-node-polyfill/CHANGELOG.md b/packages/builder/plugin-node-polyfill/CHANGELOG.md deleted file mode 100644 index 3469604d4a39..000000000000 --- a/packages/builder/plugin-node-polyfill/CHANGELOG.md +++ /dev/null @@ -1,565 +0,0 @@ -# @modern-js/builder-plugin-node-polyfill - -## 2.46.1 - -### Patch Changes - -- @modern-js/builder-shared@2.46.1 - -## 2.46.0 - -### Patch Changes - -- @modern-js/builder-shared@2.46.0 - -## 2.45.0 - -### Patch Changes - -- @modern-js/builder-shared@2.45.0 - -## 2.44.0 - -### Patch Changes - -- Updated dependencies [35a9961] - - @modern-js/builder-shared@2.44.0 - -## 2.43.0 - -### Patch Changes - -- @modern-js/builder-shared@2.43.0 - -## 2.42.2 - -### Patch Changes - -- @modern-js/builder-shared@2.42.2 - -## 2.42.1 - -### Patch Changes - -- @modern-js/builder-shared@2.42.1 - -## 2.42.0 - -### Patch Changes - -- Updated dependencies [d433c97] -- Updated dependencies [04d9522] -- Updated dependencies [ef60f58] - - @modern-js/builder-shared@2.42.0 - -## 2.41.0 - -### Patch Changes - -- c4d396a: chore(swc): bump swc and helpers - chore(swc): 升级 swc 以及 helpers -- Updated dependencies [969def1] -- Updated dependencies [c4d396a] - - @modern-js/builder-shared@2.41.0 - -## 2.40.0 - -### Patch Changes - -- @modern-js/builder-shared@2.40.0 - -## 2.39.2 - -### Patch Changes - -- @modern-js/builder-shared@2.39.2 - -## 2.39.1 - -### Patch Changes - -- @modern-js/builder-shared@2.39.1 - -## 2.39.0 - -### Patch Changes - -- @modern-js/builder-shared@2.39.0 - -## 2.38.0 - -### Patch Changes - -- Updated dependencies [3304d33] - - @modern-js/builder-shared@2.38.0 - -## 2.37.2 - -### Patch Changes - -- @modern-js/builder-shared@2.37.2 - -## 2.37.1 - -### Patch Changes - -- @modern-js/builder-shared@2.37.1 - -## 2.37.0 - -### Patch Changes - -- @modern-js/builder-shared@2.37.0 - -## 2.36.0 - -### Patch Changes - -- Updated dependencies [bc25bcb] -- Updated dependencies [c1b0d18] -- Updated dependencies [2675812] -- Updated dependencies [9d37401] -- Updated dependencies [eb602d2] - - @modern-js/builder-shared@2.36.0 - -## 2.35.1 - -### Patch Changes - -- Updated dependencies [ce24aad] -- Updated dependencies [de9cdee] -- Updated dependencies [0988b12] -- Updated dependencies [fe8caeb] - - @modern-js/builder-shared@2.35.1 - -## 2.35.0 - -### Patch Changes - -- Updated dependencies [225f065] -- Updated dependencies [0300daf] -- Updated dependencies [f509548] -- Updated dependencies [28128ca] -- Updated dependencies [4027a6a] -- Updated dependencies [3d93e81] - - @modern-js/builder-shared@2.35.0 - -## 2.34.0 - -### Patch Changes - -- Updated dependencies [09b176a] -- Updated dependencies [c8b448b] -- Updated dependencies [c9626e7] -- Updated dependencies [e538169] - - @modern-js/builder-shared@2.34.0 - -## 2.33.1 - -### Patch Changes - -- @modern-js/builder-shared@2.33.1 - -## 2.33.0 - -### Patch Changes - -- Updated dependencies [c9ffc4d] -- Updated dependencies [915636b] -- Updated dependencies [d55caa9] -- Updated dependencies [bc1f8da] -- Updated dependencies [64df945] - - @modern-js/builder-shared@2.33.0 - -## 2.32.1 - -### Patch Changes - -- @modern-js/builder-shared@2.32.1 - -## 2.32.0 - -### Patch Changes - -- Updated dependencies [6517032] -- Updated dependencies [0cc3981] -- Updated dependencies [ddcdef2] -- Updated dependencies [3c91100] - - @modern-js/builder-shared@2.32.0 - -## 2.31.2 - -### Patch Changes - -- @modern-js/builder-shared@2.31.2 - -## 2.31.1 - -### Patch Changes - -- @modern-js/builder-shared@2.31.1 - -## 2.31.0 - -### Patch Changes - -- Updated dependencies [bfdf7b4] -- Updated dependencies [8ab3e2a] -- Updated dependencies [fa8e948] -- Updated dependencies [1882366] - - @modern-js/builder-shared@2.31.0 - -## 2.30.0 - -### Patch Changes - -- Updated dependencies [cc5f49e] -- Updated dependencies [f74064c] -- Updated dependencies [e6ae836] -- Updated dependencies [7cb7b24] -- Updated dependencies [e94ad94] - - @modern-js/builder-shared@2.30.0 - -## 2.29.0 - -### Patch Changes - -- Updated dependencies [bd4c354] -- Updated dependencies [99052ea] -- Updated dependencies [d198779] - - @modern-js/builder-shared@2.29.0 - -## 2.28.0 - -### Patch Changes - -- Updated dependencies [6400d98] -- Updated dependencies [362416f] -- Updated dependencies [aa0c0c3] -- Updated dependencies [9301e46] -- Updated dependencies [00b58a7] -- Updated dependencies [820bfe9] - - @modern-js/builder-shared@2.28.0 - -## 2.27.0 - -### Patch Changes - -- 8322a51: chore: migrate packages from tsc to module-lib build - - chore: 将使用 tsc 的包迁移到 module-lib 构建 - -- Updated dependencies [645e111] -- Updated dependencies [8322a51] -- Updated dependencies [d9080ed] -- Updated dependencies [67d0b0c] -- Updated dependencies [3f79dd7] - - @modern-js/builder-shared@2.27.0 - -## 2.26.0 - -### Patch Changes - -- Updated dependencies [150ddb1] -- Updated dependencies [15ad760] -- Updated dependencies [786c195] - - @modern-js/builder-shared@2.26.0 - -## 2.25.2 - -### Patch Changes - -- Updated dependencies [15a8276] -- Updated dependencies [272646c] - - @modern-js/builder-shared@2.25.2 - -## 2.25.1 - -### Patch Changes - -- Updated dependencies [b10045f] - - @modern-js/builder-shared@2.25.1 - -## 2.25.0 - -### Patch Changes - -- @modern-js/builder-shared@2.25.0 - -## 2.24.0 - -### Patch Changes - -- Updated dependencies [ef041c0] - - @modern-js/builder-shared@2.24.0 - -## 2.23.1 - -### Patch Changes - -- Updated dependencies [5772927] -- Updated dependencies [811ccd4] -- Updated dependencies [5a3eeff] -- Updated dependencies [4d4dca0] - - @modern-js/builder-shared@2.23.1 - -## 2.23.0 - -### Patch Changes - -- 7e6fb5f: chore: publishConfig add provenance config - - chore: publishConfig 增加 provenance 配置 - -- Updated dependencies [15eac36] -- Updated dependencies [d4e85c1] -- Updated dependencies [7e6fb5f] -- Updated dependencies [f14f920] -- Updated dependencies [692cc0e] -- Updated dependencies [38eccef] -- Updated dependencies [f91c557] -- Updated dependencies [a82d6f7] - - @modern-js/builder-shared@2.23.0 - -## 2.22.1 - -### Patch Changes - -- Updated dependencies [a470c04] -- Updated dependencies [95ffa6b] -- Updated dependencies [12d54ae] -- Updated dependencies [bd4b150] -- Updated dependencies [dd36311] -- Updated dependencies [d4045ed] -- Updated dependencies [8bd9981] -- Updated dependencies [1f02cd2] -- Updated dependencies [cfcf003] -- Updated dependencies [15181be] - - @modern-js/builder-shared@2.22.1 - -## 2.22.0 - -### Patch Changes - -- 27618e4: chore(deps): remove unused wireit - - chore(deps): 移除未使用的 wireit - -- Updated dependencies [3d48836] -- Updated dependencies [850cde6] - - @modern-js/builder-shared@2.22.0 - -## 2.21.1 - -### Patch Changes - -- Updated dependencies [19b3b64] - - @modern-js/builder-shared@2.21.1 - -## 2.21.0 - -### Patch Changes - -- 26dcf3a: chore: bump typescript to v5 in devDependencies - - chore: 升级 devDependencies 中的 typescript 版本到 v5 - -- Updated dependencies [7d2972e] -- Updated dependencies [863f8df] -- Updated dependencies [26dcf3a] -- Updated dependencies [1ef03dc] -- Updated dependencies [4274510] -- Updated dependencies [43b4e83] -- Updated dependencies [ad78387] - - @modern-js/builder-shared@2.21.0 - -## 2.20.0 - -### Patch Changes - -- Updated dependencies [3c4e0a5] - - @modern-js/builder-shared@2.20.0 - -## 2.19.1 - -### Patch Changes - -- Updated dependencies [afb735f] - - @modern-js/builder-shared@2.19.1 - -## 2.19.0 - -### Patch Changes - -- Updated dependencies [1134fe2] - - @modern-js/builder-shared@2.19.0 - -## 2.18.1 - -### Patch Changes - -- Updated dependencies [9b0b7ef] - - @modern-js/builder-shared@2.18.1 - -## 2.18.0 - -### Patch Changes - -- ea60b58: refactor(node-polyfill): using Rspack builtins to provide global variables - - refactor(node-polyfill): 通过 Rspack 内置的 provide 注入全局变量 - - - @modern-js/builder-shared@2.18.0 - -## 2.17.1 - -### Patch Changes - -- @modern-js/builder-shared@2.17.1 - -## 2.17.0 - -### Patch Changes - -- @modern-js/builder-shared@2.17.0 - -## 2.16.0 - -### Patch Changes - -- 4e876ab: chore: package.json include the monorepo-relative directory - - chore: 在 package.json 中声明 monorepo 的子路径 - -- Updated dependencies [fe92de6] -- Updated dependencies [091986a] -- Updated dependencies [7596520] -- Updated dependencies [4e876ab] -- Updated dependencies [e4e0e01] - - @modern-js/builder-shared@2.16.0 - -## 2.15.0 - -### Patch Changes - -- Updated dependencies [3e5e790] - - @modern-js/builder-shared@2.15.0 - -## 2.14.0 - -### Patch Changes - -- Updated dependencies [b46fbcb] -- Updated dependencies [fefd1c5] -- Updated dependencies [8a3c693] -- Updated dependencies [9b45c58] -- Updated dependencies [864d55e] -- Updated dependencies [b965df2] - - @modern-js/builder-shared@2.14.0 - -## 2.13.4 - -### Patch Changes - -- @modern-js/builder-shared@2.13.4 - -## 2.13.3 - -### Patch Changes - -- Updated dependencies [18cd03f] -- Updated dependencies [28583e8] - - @modern-js/builder-shared@2.13.3 - -## 2.13.2 - -### Patch Changes - -- @modern-js/builder-shared@2.13.2 - -## 2.13.1 - -### Patch Changes - -- @modern-js/builder-shared@2.13.1 - -## 2.13.0 - -### Patch Changes - -- Updated dependencies [1feacdc] -- Updated dependencies [384406c] -- Updated dependencies [c89de05] -- Updated dependencies [348306d] -- Updated dependencies [384e393] -- Updated dependencies [9c0572e] - - @modern-js/builder-shared@2.13.0 - -## 2.12.0 - -### Patch Changes - -- Updated dependencies [6d86e34] -- Updated dependencies [fef3394] - - @modern-js/builder-shared@2.12.0 - -## 2.11.0 - -### Patch Changes - -- 3aa318d: fix(rspack-builder): support rspack global node-polyfill use workaround - - fix(rspack-builder): 采用临时方案在 rspack 中支持 global node-polyfill - -- Updated dependencies [adcedad] -- Updated dependencies [a9c6083] -- Updated dependencies [55b07fd] -- Updated dependencies [8b90c79] -- Updated dependencies [a8c08c3] -- Updated dependencies [3aa318d] -- Updated dependencies [53b0a63] -- Updated dependencies [381a3b9] -- Updated dependencies [cd1040f] -- Updated dependencies [e262a99] -- Updated dependencies [b71cef1] - - @modern-js/builder-shared@2.11.0 - -## 2.10.0 - -## 2.9.0 - -## 2.8.0 - -## 2.7.0 - -## 2.6.0 - -## 2.5.0 - -### Patch Changes - -- 30614fa: chore: modify package.json entry fields and build config - chore: 更改 package.json entry 字段以及构建配置 -- 11c053b: feat: ssr support deploy worker - - feat: ssr 支持边缘部署 - -## 2.4.0 - -## 2.3.0 - -## 2.2.0 - -### Patch Changes - -- 16bdc0a: chore: adjust builder plugin name - - chore: 调整 builder 插件命名格式 - -## 2.1.0 - -## 2.0.0 - -### Major Changes - -Initial Release diff --git a/packages/builder/plugin-node-polyfill/LICENSE b/packages/builder/plugin-node-polyfill/LICENSE deleted file mode 100644 index 39e3c5971226..000000000000 --- a/packages/builder/plugin-node-polyfill/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021-present Modern.js - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/packages/builder/plugin-node-polyfill/README.md b/packages/builder/plugin-node-polyfill/README.md deleted file mode 100644 index 2d08d53576c2..000000000000 --- a/packages/builder/plugin-node-polyfill/README.md +++ /dev/null @@ -1,27 +0,0 @@ -> DEPRECATED: use [Rsbuild](https://github.com/web-infra-dev/rsbuild) instead. - -

- Modern.js Logo -

-

- Modern.js Builder -
- - modernjs.dev/builder - -

-

- An Rspack-based build tool for web development. -

- -# @modern-js/builder-plugin-node-polyfill - -This package is the node polyfill plugin of Modern.js Builder. - -## Getting Started - -- [Documentation](https://modernjs.dev/builder/en/plugins/plugin-node-polyfill.html) - -## Contributing - -- [Contributing Guide](https://github.com/web-infra-dev/modern.js/blob/main/CONTRIBUTING.md) diff --git a/packages/builder/plugin-node-polyfill/modern.config.js b/packages/builder/plugin-node-polyfill/modern.config.js deleted file mode 100644 index c2bf3e85b393..000000000000 --- a/packages/builder/plugin-node-polyfill/modern.config.js +++ /dev/null @@ -1,5 +0,0 @@ -const { tscLikeBuildConfig } = require('@scripts/build'); - -module.exports = { - buildConfig: tscLikeBuildConfig, -}; diff --git a/packages/builder/plugin-node-polyfill/package.json b/packages/builder/plugin-node-polyfill/package.json deleted file mode 100644 index aeb1d090bb1b..000000000000 --- a/packages/builder/plugin-node-polyfill/package.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "name": "@modern-js/builder-plugin-node-polyfill", - "description": "Node polyfill plugin for builder in Modern.js", - "homepage": "https://modernjs.dev", - "bugs": "https://github.com/web-infra-dev/modern.js/issues", - "repository": { - "type": "git", - "url": "https://github.com/web-infra-dev/modern.js", - "directory": "packages/builder/plugin-node-polyfill" - }, - "license": "MIT", - "keywords": [ - "react", - "framework", - "modern", - "modern.js" - ], - "engines": { - "node": ">=14.0.0" - }, - "version": "2.46.1", - "jsnext:source": "./src/index.ts", - "types": "./src/index.ts", - "main": "./dist/index.js", - "module": "./dist/index.js", - "exports": { - ".": { - "jsnext:source": "./src/index.ts", - "default": "./dist/index.js" - } - }, - "scripts": { - "prepublishOnly": "only-allow-pnpm", - "new": "modern new", - "build": "modern-lib build", - "dev": "modern-lib build --watch", - "test": "vitest run", - "test:watch": "vitest dev" - }, - "dependencies": { - "@modern-js/builder-shared": "workspace:*", - "@swc/helpers": "0.5.3", - "node-libs-browser": "2.2.1" - }, - "devDependencies": { - "@modern-js/builder": "workspace:*", - "@modern-js/builder-rspack-provider": "workspace:*", - "@modern-js/builder-webpack-provider": "workspace:*", - "@modern-js/utils": "workspace:*", - "@scripts/build": "workspace:*", - "@scripts/vitest-config": "workspace:*", - "typescript": "^5" - }, - "sideEffects": false, - "publishConfig": { - "registry": "https://registry.npmjs.org/", - "access": "public", - "provenance": true, - "types": "./dist/index.d.ts" - } -} diff --git a/packages/builder/plugin-node-polyfill/src/index.ts b/packages/builder/plugin-node-polyfill/src/index.ts deleted file mode 100644 index 33d7fd5feb55..000000000000 --- a/packages/builder/plugin-node-polyfill/src/index.ts +++ /dev/null @@ -1,64 +0,0 @@ -import type { BuilderPlugin } from '@modern-js/builder'; -import type { BuilderPluginAPI as WebpackBuilderPluginAPI } from '@modern-js/builder-webpack-provider'; -import type { BuilderPluginAPI as RspackBuilderPluginAPI } from '@modern-js/builder-rspack-provider'; - -const getResolveFallback = (nodeLibs: Record) => - Object.keys(nodeLibs).reduce>( - (previous, name) => { - if (nodeLibs[name]) { - previous[name] = nodeLibs[name]; - } else { - previous[name] = false; - } - return previous; - }, - {}, - ); - -const getProvideLibs = async () => { - const { default: nodeLibs } = await import( - // @ts-expect-error - 'node-libs-browser' - ); - return { - Buffer: [nodeLibs.buffer, 'Buffer'], - process: [nodeLibs.process], - }; -}; - -/** - * @deprecated Using [@rsbuild/plugin-node-polyfill](https://rsbuild.dev/plugins/list/plugin-node-polyfill) instead. - * */ -export function builderPluginNodePolyfill(): BuilderPlugin< - WebpackBuilderPluginAPI | RspackBuilderPluginAPI -> { - return { - name: 'builder-plugin-node-polyfill', - - async setup(api) { - api.modifyBundlerChain(async (chain, { CHAIN_ID, isServer, bundler }) => { - // it had not need `node polyfill`, if the target is 'node'(server runtime). - if (isServer) { - return; - } - - const { default: nodeLibs } = await import( - // @ts-expect-error - 'node-libs-browser' - ); - - // module polyfill - chain.resolve.fallback.merge(getResolveFallback(nodeLibs)); - - chain - .plugin(CHAIN_ID.PLUGIN.NODE_POLYFILL_PROVIDE) - .use(bundler.ProvidePlugin, [await getProvideLibs()]); - }); - }, - }; -} - -/** - * @deprecated Using builderPluginNodePolyfill instead. - */ -export const PluginNodePolyfill = builderPluginNodePolyfill; diff --git a/packages/builder/plugin-node-polyfill/tests/.eslintrc.js b/packages/builder/plugin-node-polyfill/tests/.eslintrc.js deleted file mode 100644 index 8ad708bcff41..000000000000 --- a/packages/builder/plugin-node-polyfill/tests/.eslintrc.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - extends: ['@modern-js'], - parserOptions: { - project: require.resolve('./tsconfig.json'), - }, -}; diff --git a/packages/builder/plugin-node-polyfill/tests/__snapshots__/index.test.ts.snap b/packages/builder/plugin-node-polyfill/tests/__snapshots__/index.test.ts.snap deleted file mode 100644 index bf836835ce34..000000000000 --- a/packages/builder/plugin-node-polyfill/tests/__snapshots__/index.test.ts.snap +++ /dev/null @@ -1,61 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`plugins/node-polyfill > should add node-polyfill config 1`] = ` -{ - "plugins": [ - ProvidePlugin { - "definitions": { - "Buffer": [ - "/node_modules//buffer/index.js", - "Buffer", - ], - "process": [ - "/node_modules//process/browser.js", - ], - }, - }, - ], - "resolve": { - "fallback": { - "_stream_duplex": "/node_modules//readable-stream/duplex.js", - "_stream_passthrough": "/node_modules//readable-stream/passthrough.js", - "_stream_readable": "/node_modules//readable-stream/readable.js", - "_stream_transform": "/node_modules//readable-stream/transform.js", - "_stream_writable": "/node_modules//readable-stream/writable.js", - "assert": "/node_modules//assert/assert.js", - "buffer": "/node_modules//buffer/index.js", - "child_process": false, - "cluster": false, - "console": "/node_modules//console-browserify/index.js", - "constants": "/node_modules//constants-browserify/constants.json", - "crypto": "/node_modules//crypto-browserify/index.js", - "dgram": false, - "dns": false, - "domain": "/node_modules//domain-browser/source/index.js", - "events": "/node_modules//events/events.js", - "fs": false, - "http": "/node_modules//stream-http/index.js", - "https": "/node_modules//https-browserify/index.js", - "module": false, - "net": false, - "os": "/node_modules//os-browserify/browser.js", - "path": "/node_modules//path-browserify/index.js", - "process": "/node_modules//process/browser.js", - "punycode": "/node_modules//punycode/punycode.js", - "querystring": "/node_modules//querystring-es3/index.js", - "readline": false, - "repl": false, - "stream": "/node_modules//stream-browserify/index.js", - "string_decoder": "/node_modules//string_decoder/lib/string_decoder.js", - "sys": "/node_modules//util/util.js", - "timers": "/node_modules//timers-browserify/main.js", - "tls": false, - "tty": "/node_modules//tty-browserify/index.js", - "url": "/node_modules//url/url.js", - "util": "/node_modules//util/util.js", - "vm": "/node_modules//vm-browserify/index.js", - "zlib": "/node_modules//browserify-zlib/lib/index.js", - }, - }, -} -`; diff --git a/packages/builder/plugin-node-polyfill/tests/index.test.ts b/packages/builder/plugin-node-polyfill/tests/index.test.ts deleted file mode 100644 index c5e936682b45..000000000000 --- a/packages/builder/plugin-node-polyfill/tests/index.test.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { expect, describe, it } from 'vitest'; -import { createStubBuilder } from '@modern-js/builder-webpack-provider/stub'; -import { builderPluginNodePolyfill } from '../src'; - -describe('plugins/node-polyfill', () => { - it('should add node-polyfill config', async () => { - const builder = await createStubBuilder({ - plugins: [builderPluginNodePolyfill()], - }); - const config = await builder.unwrapWebpackConfig(); - - expect(config).toMatchSnapshot(); - }); -}); diff --git a/packages/builder/plugin-node-polyfill/tests/setup.ts b/packages/builder/plugin-node-polyfill/tests/setup.ts deleted file mode 100644 index f1f04eaf82fe..000000000000 --- a/packages/builder/plugin-node-polyfill/tests/setup.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { expect } from 'vitest'; -import { createSnapshotSerializer } from '@scripts/vitest-config'; - -expect.addSnapshotSerializer(createSnapshotSerializer()); diff --git a/packages/builder/plugin-node-polyfill/tests/tsconfig.json b/packages/builder/plugin-node-polyfill/tests/tsconfig.json deleted file mode 100644 index 87241fc2c8fb..000000000000 --- a/packages/builder/plugin-node-polyfill/tests/tsconfig.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "@modern-js/tsconfig/base", - "compilerOptions": { - "noEmit": true, - "declaration": false, - "jsx": "preserve", - "baseUrl": "./", - "isolatedModules": true, - "paths": {} - }, -} diff --git a/packages/builder/plugin-node-polyfill/tsconfig.json b/packages/builder/plugin-node-polyfill/tsconfig.json deleted file mode 100644 index 104083062e4b..000000000000 --- a/packages/builder/plugin-node-polyfill/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "@modern-js/tsconfig/base", - "compilerOptions": { - "target": "ES2019", - "declaration": true, - "outDir": "./dist", - "jsx": "preserve", - "baseUrl": "./", - "isolatedModules": true, - "paths": {}, - "skipLibCheck": true - }, - "include": ["src"] -} diff --git a/packages/builder/plugin-node-polyfill/vitest.config.ts b/packages/builder/plugin-node-polyfill/vitest.config.ts deleted file mode 100644 index 62b26b26b8e0..000000000000 --- a/packages/builder/plugin-node-polyfill/vitest.config.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { defineConfig } from 'vitest/config'; -import { withTestPreset } from '@scripts/vitest-config'; - -const config = defineConfig({ - test: { - root: __dirname, - environment: 'node', - setupFiles: ['./tests/setup.ts'], - }, -}); - -export default withTestPreset(config); diff --git a/packages/builder/plugin-stylus/.eslintrc.js b/packages/builder/plugin-stylus/.eslintrc.js deleted file mode 100644 index f9da2e208b89..000000000000 --- a/packages/builder/plugin-stylus/.eslintrc.js +++ /dev/null @@ -1,11 +0,0 @@ -/** @type {import('eslint').Linter.Config} */ -module.exports = { - extends: ['@modern-js'], - ignorePatterns: ['vitest.config.ts'], - parserOptions: { - project: require.resolve('./tsconfig.json'), - }, - rules: { - 'import/order': 0, - }, -}; diff --git a/packages/builder/plugin-stylus/.npmignore b/packages/builder/plugin-stylus/.npmignore deleted file mode 100644 index f059fcfe5bc3..000000000000 --- a/packages/builder/plugin-stylus/.npmignore +++ /dev/null @@ -1,30 +0,0 @@ -.DS_Store - -.pnp -.pnp.js -.env.local -.env.*.local -*.log* - -node_modules/ -*.tsbuildinfo -.eslintcache - -coverage/ -tests/ - -.vscode/**/* -!.vscode/settings.json -!.vscode/extensions.json -.idea/ - -src/ - -modern.config.* -jest.config.js -.eslintrc.js -.eslintrc -tsconfig.json -CHANGELOG.md - -scripts/ diff --git a/packages/builder/plugin-stylus/CHANGELOG.md b/packages/builder/plugin-stylus/CHANGELOG.md deleted file mode 100644 index 0205d8a2daf7..000000000000 --- a/packages/builder/plugin-stylus/CHANGELOG.md +++ /dev/null @@ -1,886 +0,0 @@ -# @modern-js/builder-plugin-stylus - -## 2.46.1 - -### Patch Changes - -- @modern-js/builder-rspack-provider@2.46.1 -- @modern-js/builder-shared@2.46.1 -- @modern-js/builder-webpack-provider@2.46.1 - -## 2.46.0 - -### Patch Changes - -- Updated dependencies [4699e22] - - @modern-js/builder-webpack-provider@2.46.0 - - @modern-js/builder-shared@2.46.0 - - @modern-js/builder-rspack-provider@2.46.0 - -## 2.45.0 - -### Patch Changes - -- @modern-js/builder-shared@2.45.0 -- @modern-js/builder-rspack-provider@2.45.0 -- @modern-js/builder-webpack-provider@2.45.0 - -## 2.44.0 - -### Patch Changes - -- Updated dependencies [b32f60a] -- Updated dependencies [35a9961] - - @modern-js/builder-webpack-provider@2.44.0 - - @modern-js/builder-rspack-provider@2.44.0 - - @modern-js/builder-shared@2.44.0 - -## 2.43.0 - -### Patch Changes - -- Updated dependencies [40678b1] -- Updated dependencies [2d2cf71] - - @modern-js/builder-rspack-provider@2.43.0 - - @modern-js/builder-shared@2.43.0 - - @modern-js/builder-webpack-provider@2.43.0 - -## 2.42.2 - -### Patch Changes - -- Updated dependencies [bb48362] -- Updated dependencies [07c56c0] - - @modern-js/builder-rspack-provider@2.42.2 - - @modern-js/builder-webpack-provider@2.42.2 - - @modern-js/builder-shared@2.42.2 - -## 2.42.1 - -### Patch Changes - -- @modern-js/builder-rspack-provider@2.42.1 -- @modern-js/builder-shared@2.42.1 -- @modern-js/builder-webpack-provider@2.42.1 - -## 2.42.0 - -### Patch Changes - -- Updated dependencies [d433c97] -- Updated dependencies [fc1f36f] -- Updated dependencies [04d9522] -- Updated dependencies [ef60f58] -- Updated dependencies [ba443b8] -- Updated dependencies [898f325] -- Updated dependencies [98bff14] -- Updated dependencies [f4eadb5] - - @modern-js/builder-rspack-provider@2.42.0 - - @modern-js/builder-shared@2.42.0 - - @modern-js/builder-webpack-provider@2.42.0 - -## 2.41.0 - -### Patch Changes - -- c4d396a: chore(swc): bump swc and helpers - chore(swc): 升级 swc 以及 helpers -- Updated dependencies [969def1] -- Updated dependencies [dc80bbc] -- Updated dependencies [4dffb01] -- Updated dependencies [88d5c57] -- Updated dependencies [c4d396a] -- Updated dependencies [7459705] - - @modern-js/builder-shared@2.41.0 - - @modern-js/builder-rspack-provider@2.41.0 - - @modern-js/builder-webpack-provider@2.41.0 - -## 2.40.0 - -### Patch Changes - -- Updated dependencies [f5f7526] - - @modern-js/builder-rspack-provider@2.40.0 - - @modern-js/builder-shared@2.40.0 - - @modern-js/builder-webpack-provider@2.40.0 - -## 2.39.2 - -### Patch Changes - -- @modern-js/builder-rspack-provider@2.39.2 -- @modern-js/builder-shared@2.39.2 -- @modern-js/builder-webpack-provider@2.39.2 - -## 2.39.1 - -### Patch Changes - -- Updated dependencies [0efe396] - - @modern-js/builder-webpack-provider@2.39.1 - - @modern-js/builder-shared@2.39.1 - - @modern-js/builder-rspack-provider@2.39.1 - -## 2.39.0 - -### Patch Changes - -- @modern-js/builder-rspack-provider@2.39.0 -- @modern-js/builder-shared@2.39.0 -- @modern-js/builder-webpack-provider@2.39.0 - -## 2.38.0 - -### Patch Changes - -- Updated dependencies [6e8cb66] -- Updated dependencies [3304d33] -- Updated dependencies [64da831] -- Updated dependencies [9b525dc] -- Updated dependencies [add9dfd] -- Updated dependencies [09fc285] - - @modern-js/builder-webpack-provider@2.38.0 - - @modern-js/builder-rspack-provider@2.38.0 - - @modern-js/builder-shared@2.38.0 - -## 2.37.2 - -### Patch Changes - -- Updated dependencies [d12c00f] - - @modern-js/builder-webpack-provider@2.37.2 - - @modern-js/builder-rspack-provider@2.37.2 - - @modern-js/builder-shared@2.37.2 - -## 2.37.1 - -### Patch Changes - -- @modern-js/builder-rspack-provider@2.37.1 -- @modern-js/builder-shared@2.37.1 -- @modern-js/builder-webpack-provider@2.37.1 - -## 2.37.0 - -### Patch Changes - -- Updated dependencies [7dc1512] -- Updated dependencies [383b636] -- Updated dependencies [b4725c8] - - @modern-js/builder-webpack-provider@2.37.0 - - @modern-js/builder-rspack-provider@2.37.0 - - @modern-js/builder-shared@2.37.0 - -## 2.36.0 - -### Patch Changes - -- Updated dependencies [3921cd4] -- Updated dependencies [bc25bcb] -- Updated dependencies [73dcace] -- Updated dependencies [c1b0d18] -- Updated dependencies [2675812] -- Updated dependencies [9d37401] -- Updated dependencies [4289ffd] -- Updated dependencies [eb602d2] -- Updated dependencies [5b4bf21] - - @modern-js/builder-rspack-provider@2.36.0 - - @modern-js/builder-webpack-provider@2.36.0 - - @modern-js/builder-shared@2.36.0 - -## 2.35.1 - -### Patch Changes - -- Updated dependencies [ce24aad] -- Updated dependencies [ea3fe18] -- Updated dependencies [de9cdee] -- Updated dependencies [bc1413d] -- Updated dependencies [0988b12] -- Updated dependencies [dc93952] -- Updated dependencies [6b03be8] -- Updated dependencies [578f94f] -- Updated dependencies [fe8caeb] - - @modern-js/builder-shared@2.35.1 - - @modern-js/builder-webpack-provider@2.35.1 - - @modern-js/builder-rspack-provider@2.35.1 - -## 2.35.0 - -### Patch Changes - -- Updated dependencies [3b25410] -- Updated dependencies [e2def6e] -- Updated dependencies [225f065] -- Updated dependencies [0300daf] -- Updated dependencies [f509548] -- Updated dependencies [28128ca] -- Updated dependencies [4027a6a] -- Updated dependencies [9f13314] -- Updated dependencies [3d93e81] - - @modern-js/builder-rspack-provider@2.35.0 - - @modern-js/builder-shared@2.35.0 - - @modern-js/builder-webpack-provider@2.35.0 - -## 2.34.0 - -### Patch Changes - -- Updated dependencies [09b176a] -- Updated dependencies [c8b448b] -- Updated dependencies [c9626e7] -- Updated dependencies [e538169] - - @modern-js/builder-shared@2.34.0 - - @modern-js/builder-rspack-provider@2.34.0 - - @modern-js/builder-webpack-provider@2.34.0 - -## 2.33.1 - -### Patch Changes - -- @modern-js/builder-rspack-provider@2.33.1 -- @modern-js/builder-shared@2.33.1 -- @modern-js/builder-webpack-provider@2.33.1 - -## 2.33.0 - -### Patch Changes - -- Updated dependencies [1c812c2] -- Updated dependencies [c9ffc4d] -- Updated dependencies [915636b] -- Updated dependencies [d55caa9] -- Updated dependencies [bc1f8da] -- Updated dependencies [64df945] - - @modern-js/builder-rspack-provider@2.33.0 - - @modern-js/builder-shared@2.33.0 - - @modern-js/builder-webpack-provider@2.33.0 - -## 2.32.1 - -### Patch Changes - -- @modern-js/builder-rspack-provider@2.32.1 -- @modern-js/builder-shared@2.32.1 -- @modern-js/builder-webpack-provider@2.32.1 - -## 2.32.0 - -### Patch Changes - -- Updated dependencies [6076166] -- Updated dependencies [6517032] -- Updated dependencies [83c1cf7] -- Updated dependencies [0cc3981] -- Updated dependencies [ddcdef2] -- Updated dependencies [3c91100] - - @modern-js/builder-webpack-provider@2.32.0 - - @modern-js/builder-rspack-provider@2.32.0 - - @modern-js/builder-shared@2.32.0 - -## 2.31.2 - -### Patch Changes - -- @modern-js/builder-rspack-provider@2.31.2 -- @modern-js/builder-shared@2.31.2 -- @modern-js/builder-webpack-provider@2.31.2 - -## 2.31.1 - -### Patch Changes - -- Updated dependencies [fe70fdf] - - @modern-js/builder-rspack-provider@2.31.1 - - @modern-js/builder-shared@2.31.1 - - @modern-js/builder-webpack-provider@2.31.1 - -## 2.31.0 - -### Patch Changes - -- Updated dependencies [0f09d7c] -- Updated dependencies [bfdf7b4] -- Updated dependencies [8ab3e2a] -- Updated dependencies [1eece3e] -- Updated dependencies [fa8e948] -- Updated dependencies [83bf560] -- Updated dependencies [1882366] - - @modern-js/builder-rspack-provider@2.31.0 - - @modern-js/builder-webpack-provider@2.31.0 - - @modern-js/builder-shared@2.31.0 - -## 2.30.0 - -### Patch Changes - -- Updated dependencies [cc5f49e] -- Updated dependencies [f74064c] -- Updated dependencies [0ea763e] -- Updated dependencies [e6ae836] -- Updated dependencies [7cb7b24] -- Updated dependencies [e94ad94] -- Updated dependencies [0e0b6e3] - - @modern-js/builder-webpack-provider@2.30.0 - - @modern-js/builder-shared@2.30.0 - - @modern-js/builder-rspack-provider@2.30.0 - -## 2.29.0 - -### Patch Changes - -- Updated dependencies [1d420ae] -- Updated dependencies [bd4c354] -- Updated dependencies [3e0e1b2] -- Updated dependencies [99052ea] -- Updated dependencies [d198779] -- Updated dependencies [2ad31da] - - @modern-js/builder-webpack-provider@2.29.0 - - @modern-js/builder-rspack-provider@2.29.0 - - @modern-js/builder-shared@2.29.0 - -## 2.28.0 - -### Patch Changes - -- Updated dependencies [213089e] -- Updated dependencies [d870acd] -- Updated dependencies [6400d98] -- Updated dependencies [362416f] -- Updated dependencies [aa0c0c3] -- Updated dependencies [9301e46] -- Updated dependencies [00b58a7] -- Updated dependencies [820bfe9] - - @modern-js/builder-rspack-provider@2.28.0 - - @modern-js/builder-webpack-provider@2.28.0 - - @modern-js/builder-shared@2.28.0 - -## 2.27.0 - -### Patch Changes - -- 8322a51: chore: migrate packages from tsc to module-lib build - - chore: 将使用 tsc 的包迁移到 module-lib 构建 - -- Updated dependencies [645e111] -- Updated dependencies [8322a51] -- Updated dependencies [5376a22] -- Updated dependencies [d9080ed] -- Updated dependencies [67d0b0c] -- Updated dependencies [3f79dd7] - - @modern-js/builder-webpack-provider@2.27.0 - - @modern-js/builder-rspack-provider@2.27.0 - - @modern-js/builder-shared@2.27.0 - -## 2.26.0 - -### Patch Changes - -- fac4ee0: fix(builder): enable preferRelative for CSS files by default - - fix(builder): 默认开启 CSS files 的 preferRelative 配置 - -- Updated dependencies [150ddb1] -- Updated dependencies [786c195] -- Updated dependencies [e26b05e] -- Updated dependencies [b36ece4] -- Updated dependencies [15ad760] -- Updated dependencies [fac4ee0] -- Updated dependencies [cdf5b6b] -- Updated dependencies [786c195] - - @modern-js/builder-webpack-provider@2.26.0 - - @modern-js/builder-rspack-provider@2.26.0 - - @modern-js/builder-shared@2.26.0 - -## 2.25.2 - -### Patch Changes - -- 272646c: feat(builder): bump webpack v5.88, support top level await - - feat(builder): 升级 webpack v5.88, 支持 top level await - -- Updated dependencies [f54bb68] -- Updated dependencies [15a8276] -- Updated dependencies [272646c] - - @modern-js/builder-rspack-provider@2.25.2 - - @modern-js/builder-webpack-provider@2.25.2 - - @modern-js/builder-shared@2.25.2 - -## 2.25.1 - -### Patch Changes - -- Updated dependencies [b10045f] - - @modern-js/builder-shared@2.25.1 - - @modern-js/builder-rspack-provider@2.25.1 - - @modern-js/builder-webpack-provider@2.25.1 - -## 2.25.0 - -### Patch Changes - -- Updated dependencies [bafd4aa] -- Updated dependencies [324cf45] - - @modern-js/builder-rspack-provider@2.25.0 - - @modern-js/builder-webpack-provider@2.25.0 - - @modern-js/builder-shared@2.25.0 - -## 2.24.0 - -### Patch Changes - -- Updated dependencies [ef041c0] -- Updated dependencies [4fdd868] -- Updated dependencies [36f5bdf] - - @modern-js/builder-webpack-provider@2.24.0 - - @modern-js/builder-rspack-provider@2.24.0 - - @modern-js/builder-shared@2.24.0 - -## 2.23.1 - -### Patch Changes - -- Updated dependencies [20c85bb] -- Updated dependencies [5772927] -- Updated dependencies [811ccd4] -- Updated dependencies [5a3eeff] -- Updated dependencies [4af25d9] -- Updated dependencies [4d4dca0] - - @modern-js/builder-webpack-provider@2.23.1 - - @modern-js/builder-rspack-provider@2.23.1 - - @modern-js/builder-shared@2.23.1 - -## 2.23.0 - -### Patch Changes - -- 7e6fb5f: chore: publishConfig add provenance config - - chore: publishConfig 增加 provenance 配置 - -- 5684381: fix(builder): incorrect importLoaders option for sass/less files - - fix(builder): 修正 importLoaders 对于 sass/less 文件的值 - -- Updated dependencies [15eac36] -- Updated dependencies [a912b66] -- Updated dependencies [d4e85c1] -- Updated dependencies [7e6fb5f] -- Updated dependencies [f212633] -- Updated dependencies [5684381] -- Updated dependencies [f14f920] -- Updated dependencies [692cc0e] -- Updated dependencies [38eccef] -- Updated dependencies [f91c557] -- Updated dependencies [a82d6f7] - - @modern-js/builder-webpack-provider@2.23.0 - - @modern-js/builder-rspack-provider@2.23.0 - - @modern-js/builder-shared@2.23.0 - -## 2.22.1 - -### Patch Changes - -- Updated dependencies [a470c04] -- Updated dependencies [95ffa6b] -- Updated dependencies [12d54ae] -- Updated dependencies [bd4b150] -- Updated dependencies [c739207] -- Updated dependencies [c465db6] -- Updated dependencies [dd36311] -- Updated dependencies [d4045ed] -- Updated dependencies [8bd9981] -- Updated dependencies [1f02cd2] -- Updated dependencies [cfcf003] -- Updated dependencies [15181be] - - @modern-js/builder-webpack-provider@2.22.1 - - @modern-js/builder-rspack-provider@2.22.1 - - @modern-js/builder-shared@2.22.1 - -## 2.22.0 - -### Patch Changes - -- 3d48836: chore(deps): fix all missing peer dependencies - - chore(deps): 修复缺少的 peer dependencies - -- 27618e4: chore(deps): remove unused wireit - - chore(deps): 移除未使用的 wireit - -- Updated dependencies [3d48836] -- Updated dependencies [4161b09] -- Updated dependencies [850cde6] -- Updated dependencies [ae3fcc2] -- Updated dependencies [becfd36] -- Updated dependencies [02238e6] - - @modern-js/builder-webpack-provider@2.22.0 - - @modern-js/builder-rspack-provider@2.22.0 - - @modern-js/builder-shared@2.22.0 - -## 2.21.1 - -### Patch Changes - -- Updated dependencies [19b3b64] - - @modern-js/builder-shared@2.21.1 - - @modern-js/builder-rspack-provider@2.21.1 - - @modern-js/builder-webpack-provider@2.21.1 - -## 2.21.0 - -### Patch Changes - -- 26dcf3a: chore: bump typescript to v5 in devDependencies - - chore: 升级 devDependencies 中的 typescript 版本到 v5 - -- Updated dependencies [7d2972e] -- Updated dependencies [7d2972e] -- Updated dependencies [863f8df] -- Updated dependencies [26dcf3a] -- Updated dependencies [8a7d4d2] -- Updated dependencies [1ef03dc] -- Updated dependencies [441a579] -- Updated dependencies [056627f] -- Updated dependencies [4274510] -- Updated dependencies [c90ea5a] -- Updated dependencies [43b4e83] -- Updated dependencies [ad78387] - - @modern-js/builder-rspack-provider@2.21.0 - - @modern-js/builder-shared@2.21.0 - - @modern-js/builder-webpack-provider@2.21.0 - -## 2.20.0 - -### Patch Changes - -- Updated dependencies [3c4e0a5] -- Updated dependencies [f0ef868] - - @modern-js/builder-shared@2.20.0 - - @modern-js/builder-rspack-provider@2.20.0 - - @modern-js/builder-webpack-provider@2.20.0 - -## 2.19.1 - -### Patch Changes - -- Updated dependencies [afb735f] - - @modern-js/builder-shared@2.19.1 - - @modern-js/builder-rspack-provider@2.19.1 - - @modern-js/builder-webpack-provider@2.19.1 - -## 2.19.0 - -### Patch Changes - -- Updated dependencies [1134fe2] - - @modern-js/builder-webpack-provider@2.19.0 - - @modern-js/builder-shared@2.19.0 - - @modern-js/builder-rspack-provider@2.19.0 - -## 2.18.1 - -### Patch Changes - -- Updated dependencies [9b0b7ef] -- Updated dependencies [e9ee8ba] -- Updated dependencies [abf8c6d] -- Updated dependencies [a6ac01a] -- Updated dependencies [010b67e] -- Updated dependencies [160a0b3] - - @modern-js/builder-webpack-provider@2.18.1 - - @modern-js/builder-rspack-provider@2.18.1 - - @modern-js/builder-shared@2.18.1 - -## 2.18.0 - -### Patch Changes - -- Updated dependencies [ea60b58] -- Updated dependencies [7de6599] - - @modern-js/builder-rspack-provider@2.18.0 - - @modern-js/builder-shared@2.18.0 - - @modern-js/builder-webpack-provider@2.18.0 - -## 2.17.1 - -### Patch Changes - -- @modern-js/builder-rspack-provider@2.17.1 -- @modern-js/builder-shared@2.17.1 -- @modern-js/builder-webpack-provider@2.17.1 - -## 2.17.0 - -### Patch Changes - -- @modern-js/builder-rspack-provider@2.17.0 -- @modern-js/builder-shared@2.17.0 -- @modern-js/builder-webpack-provider@2.17.0 - -## 2.16.0 - -### Patch Changes - -- 4e876ab: chore: package.json include the monorepo-relative directory - - chore: 在 package.json 中声明 monorepo 的子路径 - -- ed0d0d5: feat: support stylus plugin in Rspack build - - feat: stylus 插件支持在 Rspack 构建时使用 - -- Updated dependencies [fe92de6] -- Updated dependencies [091986a] -- Updated dependencies [50bc0db] -- Updated dependencies [fd4a8a6] -- Updated dependencies [7596520] -- Updated dependencies [4e876ab] -- Updated dependencies [e4e0e01] - - @modern-js/builder-shared@2.16.0 - - @modern-js/builder-webpack-provider@2.16.0 - - @modern-js/builder-rspack-provider@2.16.0 - -## 2.15.0 - -### Patch Changes - -- Updated dependencies [3e5e790] - - @modern-js/builder-webpack-provider@2.15.0 - - @modern-js/builder-shared@2.15.0 - -## 2.14.0 - -### Patch Changes - -- Updated dependencies [b46fbcb] -- Updated dependencies [bd52693] -- Updated dependencies [fefd1c5] -- Updated dependencies [8a3c693] -- Updated dependencies [4baf588] -- Updated dependencies [9b45c58] -- Updated dependencies [864d55e] -- Updated dependencies [b965df2] - - @modern-js/builder-shared@2.14.0 - - @modern-js/builder-webpack-provider@2.14.0 - -## 2.13.4 - -### Patch Changes - -- @modern-js/builder-shared@2.13.4 -- @modern-js/builder-webpack-provider@2.13.4 - -## 2.13.3 - -### Patch Changes - -- Updated dependencies [7b9dc49] -- Updated dependencies [18cd03f] -- Updated dependencies [28583e8] - - @modern-js/builder-webpack-provider@2.13.3 - - @modern-js/builder-shared@2.13.3 - -## 2.13.2 - -### Patch Changes - -- @modern-js/builder-shared@2.13.2 -- @modern-js/builder-webpack-provider@2.13.2 - -## 2.13.1 - -### Patch Changes - -- @modern-js/builder-shared@2.13.1 -- @modern-js/builder-webpack-provider@2.13.1 - -## 2.13.0 - -### Patch Changes - -- Updated dependencies [1feacdc] -- Updated dependencies [384406c] -- Updated dependencies [c89de05] -- Updated dependencies [5deb1fb] -- Updated dependencies [348306d] -- Updated dependencies [384e393] -- Updated dependencies [9c0572e] - - @modern-js/builder-shared@2.13.0 - - @modern-js/builder-webpack-provider@2.13.0 - -## 2.12.0 - -### Patch Changes - -- Updated dependencies [6d86e34] -- Updated dependencies [fef3394] -- Updated dependencies [591f53a] - - @modern-js/builder-shared@2.12.0 - - @modern-js/builder-webpack-provider@2.12.0 - -## 2.11.0 - -### Patch Changes - -- Updated dependencies [adcedad] -- Updated dependencies [cfb058f] -- Updated dependencies [a9c6083] -- Updated dependencies [55b07fd] -- Updated dependencies [8b90c79] -- Updated dependencies [a8c08c3] -- Updated dependencies [3aa318d] -- Updated dependencies [53b0a63] -- Updated dependencies [381a3b9] -- Updated dependencies [73cfc9b] -- Updated dependencies [cd1040f] -- Updated dependencies [e262a99] -- Updated dependencies [b71cef1] - - @modern-js/builder-shared@2.11.0 - - @modern-js/builder-webpack-provider@2.11.0 - -## 2.10.0 - -### Patch Changes - -- Updated dependencies [a8db932] -- Updated dependencies [92d247f] -- Updated dependencies [0d9962b] -- Updated dependencies [fbefa7e] -- Updated dependencies [82326ee] - - @modern-js/builder-webpack-provider@2.10.0 - - @modern-js/builder-shared@2.10.0 - -## 2.9.0 - -### Patch Changes - -- Updated dependencies [7035d5c22f] - - @modern-js/builder-webpack-provider@2.9.0 - - @modern-js/builder-shared@2.9.0 - -## 2.8.0 - -### Patch Changes - -- Updated dependencies [65c56f43b9] -- Updated dependencies [bd369a89a4] -- Updated dependencies [2c1151271d] -- Updated dependencies [481461a61d] - - @modern-js/builder-webpack-provider@2.8.0 - - @modern-js/builder-shared@2.8.0 - -## 2.7.0 - -### Patch Changes - -- Updated dependencies [206c806efa] -- Updated dependencies [a729b0d366] -- Updated dependencies [5f899af53a] -- Updated dependencies [ebe0d2dd6e] -- Updated dependencies [7fff9020e1] -- Updated dependencies [1eea234fdd] -- Updated dependencies [84bfb439b8] - - @modern-js/builder-shared@2.7.0 - - @modern-js/builder-webpack-provider@2.7.0 - -## 2.6.0 - -### Patch Changes - -- Updated dependencies [671477d] -- Updated dependencies [b92d6db] -- Updated dependencies [e1f799e] -- Updated dependencies [107f674] -- Updated dependencies [03d7f7d] -- Updated dependencies [1c76d0e] -- Updated dependencies [fae9d1b] -- Updated dependencies [0fe658a] -- Updated dependencies [62930b9] - - @modern-js/builder-webpack-provider@2.6.0 - - @modern-js/builder-shared@2.6.0 - -## 2.5.0 - -### Patch Changes - -- 30614fa: chore: modify package.json entry fields and build config - chore: 更改 package.json entry 字段以及构建配置 -- Updated dependencies [58a9918] -- Updated dependencies [30614fa] -- Updated dependencies [038a23b] -- Updated dependencies [c4c10e7] -- Updated dependencies [1b0ce87] -- Updated dependencies [11c053b] -- Updated dependencies [c5ea222] -- Updated dependencies [28e7dc6] -- Updated dependencies [40230b3] - - @modern-js/builder-shared@2.5.0 - - @modern-js/builder-webpack-provider@2.5.0 - -## 2.4.0 - -### Patch Changes - -- Updated dependencies [637f16b] -- Updated dependencies [6f83037] -- Updated dependencies [014d06b] -- Updated dependencies [b3f2a7e] -- Updated dependencies [a5572b8] -- Updated dependencies [a914be8] -- Updated dependencies [67b5a42] -- Updated dependencies [48b036e] - - @modern-js/builder-webpack-provider@2.4.0 - - @modern-js/builder-shared@2.4.0 - -## 2.3.0 - -### Patch Changes - -- Updated dependencies [7cd8185] -- Updated dependencies [362c9a8] -- Updated dependencies [67ba34a] -- Updated dependencies [2ad9fdf] -- Updated dependencies [1b0dd35] -- Updated dependencies [f9a26fe] -- Updated dependencies [01e4a27] -- Updated dependencies [b6c2eb8] -- Updated dependencies [3cdf48e] - - @modern-js/builder-webpack-provider@2.3.0 - - @modern-js/builder-shared@2.3.0 - -## 2.2.0 - -### Patch Changes - -- 16bdc0a: chore: adjust builder plugin name - - chore: 调整 builder 插件命名格式 - -- Updated dependencies [f2f8a83] -- Updated dependencies [cb12ee7] -- Updated dependencies [16bdc0a] - - @modern-js/builder-shared@2.2.0 - - @modern-js/builder-webpack-provider@2.2.0 - -## 2.1.0 - -### Patch Changes - -- Updated dependencies [3ad26c2] -- Updated dependencies [5b54418] -- Updated dependencies [ccbac43] -- Updated dependencies [8a9482c] -- Updated dependencies [679296d] - - @modern-js/builder-shared@2.1.0 - - @modern-js/builder-webpack-provider@2.1.0 - -## 2.0.0 - -### Major Changes - -Initial Release diff --git a/packages/builder/plugin-stylus/LICENSE b/packages/builder/plugin-stylus/LICENSE deleted file mode 100644 index 39e3c5971226..000000000000 --- a/packages/builder/plugin-stylus/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021-present Modern.js - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/packages/builder/plugin-stylus/README.md b/packages/builder/plugin-stylus/README.md deleted file mode 100644 index c6093d422997..000000000000 --- a/packages/builder/plugin-stylus/README.md +++ /dev/null @@ -1,27 +0,0 @@ -> DEPRECATED: use [Rsbuild](https://github.com/web-infra-dev/rsbuild) instead. - -

- Modern.js Logo -

-

- Modern.js Builder -
- - modernjs.dev/builder - -

-

- An Rspack-based build tool for web development. -

- -# @modern-js/builder-plugin-stylus - -This package is the stylus plugin of Modern.js Builder. - -## Getting Started - -- [Documentation](https://modernjs.dev/builder/en/plugins/plugin-stylus.html) - -## Contributing - -- [Contributing Guide](https://github.com/web-infra-dev/modern.js/blob/main/CONTRIBUTING.md) diff --git a/packages/builder/plugin-stylus/modern.config.js b/packages/builder/plugin-stylus/modern.config.js deleted file mode 100644 index c2bf3e85b393..000000000000 --- a/packages/builder/plugin-stylus/modern.config.js +++ /dev/null @@ -1,5 +0,0 @@ -const { tscLikeBuildConfig } = require('@scripts/build'); - -module.exports = { - buildConfig: tscLikeBuildConfig, -}; diff --git a/packages/builder/plugin-stylus/package.json b/packages/builder/plugin-stylus/package.json deleted file mode 100644 index e05de7609898..000000000000 --- a/packages/builder/plugin-stylus/package.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name": "@modern-js/builder-plugin-stylus", - "description": "Stylus plugin for builder in Modern.js", - "homepage": "https://modernjs.dev", - "bugs": "https://github.com/web-infra-dev/modern.js/issues", - "repository": { - "type": "git", - "url": "https://github.com/web-infra-dev/modern.js", - "directory": "packages/builder/plugin-stylus" - }, - "license": "MIT", - "keywords": [ - "react", - "framework", - "modern", - "modern.js" - ], - "engines": { - "node": ">=14.0.0" - }, - "version": "2.46.1", - "jsnext:source": "./src/index.ts", - "types": "./src/index.ts", - "main": "./dist/index.js", - "module": "./dist/index.js", - "exports": { - ".": { - "jsnext:source": "./src/index.ts", - "default": "./dist/index.js" - } - }, - "scripts": { - "prepublishOnly": "only-allow-pnpm", - "new": "modern new", - "build": "modern-lib build", - "dev": "modern-lib build --watch", - "test": "vitest run", - "test:watch": "vitest dev" - }, - "dependencies": { - "@modern-js/builder-shared": "workspace:*", - "@modern-js/builder-webpack-provider": "workspace:*", - "@swc/helpers": "0.5.3", - "stylus": "0.59.0", - "stylus-loader": "7.1.0" - }, - "devDependencies": { - "@modern-js/builder": "workspace:*", - "@modern-js/builder-webpack-provider": "workspace:*", - "@modern-js/builder-rspack-provider": "workspace:*", - "@modern-js/utils": "workspace:*", - "@scripts/build": "workspace:*", - "@scripts/vitest-config": "workspace:*", - "typescript": "^5", - "webpack": "^5.89.0" - }, - "peerDependencies": { - "@modern-js/builder-rspack-provider": "workspace:^2.46.1" - }, - "peerDependenciesMeta": { - "@modern-js/builder-rspack-provider": { - "optional": true - } - }, - "sideEffects": false, - "publishConfig": { - "registry": "https://registry.npmjs.org/", - "access": "public", - "provenance": true, - "types": "./dist/index.d.ts" - } -} diff --git a/packages/builder/plugin-stylus/src/index.ts b/packages/builder/plugin-stylus/src/index.ts deleted file mode 100644 index cd131200af4e..000000000000 --- a/packages/builder/plugin-stylus/src/index.ts +++ /dev/null @@ -1,89 +0,0 @@ -import type { BuilderPlugin } from '@modern-js/builder'; -import { isUseCssSourceMap } from '@modern-js/builder-shared'; -import type { BuilderPluginAPI } from '@modern-js/builder-webpack-provider'; - -type StylusOptions = { - use?: string[]; - include?: string; - import?: string; - resolveURL?: boolean; - lineNumbers?: boolean; - hoistAtrules?: boolean; -}; - -type StylusLoaderOptions = { - stylusOptions?: StylusOptions; - sourceMap?: boolean; -}; - -export type PluginStylusOptions = StylusLoaderOptions; - -/** - * @deprecated Using [@rsbuild/plugin-stylus](https://rsbuild.dev/plugins/list/plugin-stylus) instead. - * */ -export function builderPluginStylus( - options?: PluginStylusOptions, -): BuilderPlugin { - return { - name: 'builder-plugin-stylus', - - async setup(api) { - const { bundlerType } = api.context; - api.modifyBundlerChain(async (chain, utils) => { - const config = api.getNormalizedConfig(); - const { STYLUS_REGEX } = await import('@modern-js/builder-shared'); - const { applyOptionsChain } = await import('@modern-js/utils'); - - const { merge: deepMerge } = await import('@modern-js/utils/lodash'); - - const mergedOptions = applyOptionsChain( - { - sourceMap: isUseCssSourceMap(config), - }, - options, - undefined, - deepMerge, - ); - - const rule = chain.module - .rule(utils.CHAIN_ID.RULE.STYLUS) - .test(STYLUS_REGEX); - - const { applyBaseCSSRule } = await import( - `@modern-js/builder-${bundlerType}-provider/plugins/css` - ); - await applyBaseCSSRule({ - rule, - config: config as any, - context: api.context, - utils, - importLoaders: 2, - }); - - rule - .use(utils.CHAIN_ID.USE.STYLUS) - .loader(require.resolve('stylus-loader')) - .options(mergedOptions); - }); - - bundlerType === 'rspack' && - (api as any).modifyRspackConfig(async (rspackConfig: any) => { - const { applyCSSModuleRule } = await import( - '@modern-js/builder-rspack-provider/plugins/css' - ); - const { STYLUS_REGEX } = await import('@modern-js/builder-shared'); - - const config = api.getNormalizedConfig(); - - const rules = rspackConfig.module?.rules; - - applyCSSModuleRule(rules, STYLUS_REGEX, config as any); - }); - }, - }; -} - -/** - * @deprecated Using builderPluginStylus instead. - */ -export const PluginStylus = builderPluginStylus; diff --git a/packages/builder/plugin-stylus/tests/.eslintrc.js b/packages/builder/plugin-stylus/tests/.eslintrc.js deleted file mode 100644 index 8ad708bcff41..000000000000 --- a/packages/builder/plugin-stylus/tests/.eslintrc.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - extends: ['@modern-js'], - parserOptions: { - project: require.resolve('./tsconfig.json'), - }, -}; diff --git a/packages/builder/plugin-stylus/tests/__snapshots__/index.test.ts.snap b/packages/builder/plugin-stylus/tests/__snapshots__/index.test.ts.snap deleted file mode 100644 index 2f57d6976b95..000000000000 --- a/packages/builder/plugin-stylus/tests/__snapshots__/index.test.ts.snap +++ /dev/null @@ -1,152 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`plugins/stylus > should add stylus loader config correctly 1`] = ` -{ - "module": { - "rules": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.styl\\$/, - "use": [ - { - "loader": "/node_modules//mini-css-extract-plugin/dist/loader.js", - }, - { - "loader": "/packages/builder/builder-shared/compiled/css-loader", - "options": { - "importLoaders": 2, - "modules": { - "auto": true, - "exportLocalsConvention": "camelCase", - "localIdentName": "[path][name]__[local]-[hash:base64:6]", - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/node_modules//stylus-loader/dist/cjs.js", - "options": { - "sourceMap": true, - }, - }, - ], - }, - ], - }, -} -`; - -exports[`plugins/stylus > should allow to configure stylus options 1`] = ` -{ - "module": { - "rules": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.styl\\$/, - "use": [ - { - "loader": "/node_modules//mini-css-extract-plugin/dist/loader.js", - }, - { - "loader": "/packages/builder/builder-shared/compiled/css-loader", - "options": { - "importLoaders": 2, - "modules": { - "auto": true, - "exportLocalsConvention": "camelCase", - "localIdentName": "[path][name]__[local]-[hash:base64:6]", - }, - "sourceMap": true, - }, - }, - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/node_modules//stylus-loader/dist/cjs.js", - "options": { - "sourceMap": true, - "stylusOptions": { - "lineNumbers": false, - }, - }, - }, - ], - }, - ], - }, -} -`; diff --git a/packages/builder/plugin-stylus/tests/__snapshots__/rspack.test.ts.snap b/packages/builder/plugin-stylus/tests/__snapshots__/rspack.test.ts.snap deleted file mode 100644 index df12ca5015ea..000000000000 --- a/packages/builder/plugin-stylus/tests/__snapshots__/rspack.test.ts.snap +++ /dev/null @@ -1,237 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`plugins/stylus > should add stylus loader config correctly 1`] = ` -{ - "module": { - "rules": [ - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/node_modules//stylus-loader/dist/cjs.js", - "options": { - "sourceMap": true, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/node_modules//stylus-loader/dist/cjs.js", - "options": { - "sourceMap": true, - }, - }, - ], - }, - ], - "test": /\\\\\\.styl\\$/, - }, - ], - }, -} -`; - -exports[`plugins/stylus > should allow to configure stylus options 1`] = ` -{ - "module": { - "rules": [ - { - "oneOf": [ - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "test": /\\\\\\.module\\\\\\.\\\\w\\+\\$/i, - "type": "css/module", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/node_modules//stylus-loader/dist/cjs.js", - "options": { - "sourceMap": true, - "stylusOptions": { - "lineNumbers": false, - }, - }, - }, - ], - }, - { - "resolve": { - "preferRelative": true, - }, - "sideEffects": true, - "type": "css", - "use": [ - { - "loader": "/packages/builder/builder-shared/compiled/postcss-loader", - "options": { - "postcssOptions": { - "plugins": [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - { - "browsers": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - "info": [Function], - "options": { - "flexbox": "no-2009", - "overrideBrowserslist": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "postcssPlugin": "autoprefixer", - "prepare": [Function], - }, - ], - }, - "sourceMap": true, - }, - }, - { - "loader": "/node_modules//stylus-loader/dist/cjs.js", - "options": { - "sourceMap": true, - "stylusOptions": { - "lineNumbers": false, - }, - }, - }, - ], - }, - ], - "test": /\\\\\\.styl\\$/, - }, - ], - }, -} -`; diff --git a/packages/builder/plugin-stylus/tests/index.test.ts b/packages/builder/plugin-stylus/tests/index.test.ts deleted file mode 100644 index e9fb133d0615..000000000000 --- a/packages/builder/plugin-stylus/tests/index.test.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { expect, describe, it } from 'vitest'; -import { createStubBuilder } from '@modern-js/builder-webpack-provider/stub'; -import { builderPluginStylus } from '../src'; - -describe('plugins/stylus', () => { - it('should add stylus loader config correctly', async () => { - const builder = await createStubBuilder({ - plugins: [builderPluginStylus()], - }); - const config = await builder.unwrapWebpackConfig(); - - expect(config).toMatchSnapshot(); - }); - - it('should allow to configure stylus options', async () => { - const builder = await createStubBuilder({ - plugins: [ - builderPluginStylus({ - stylusOptions: { - lineNumbers: false, - }, - }), - ], - }); - const config = await builder.unwrapWebpackConfig(); - - expect(config).toMatchSnapshot(); - }); -}); diff --git a/packages/builder/plugin-stylus/tests/rspack.test.ts b/packages/builder/plugin-stylus/tests/rspack.test.ts deleted file mode 100644 index 9b105ac865e0..000000000000 --- a/packages/builder/plugin-stylus/tests/rspack.test.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { expect, describe, it } from 'vitest'; -import { createBuilder } from '@rspack-builder/tests/helper'; -import { builderPluginStylus } from '../src'; - -describe('plugins/stylus', () => { - it('should add stylus loader config correctly', async () => { - const builder = await createBuilder({ - plugins: [builderPluginStylus() as any], - }); - - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); - - it('should allow to configure stylus options', async () => { - const builder = await createBuilder({ - plugins: [ - builderPluginStylus({ - stylusOptions: { - lineNumbers: false, - }, - }) as any, - ], - }); - const { - origin: { bundlerConfigs }, - } = await builder.inspectConfig(); - expect(bundlerConfigs[0]).toMatchSnapshot(); - }); -}); diff --git a/packages/builder/plugin-stylus/tests/setup.ts b/packages/builder/plugin-stylus/tests/setup.ts deleted file mode 100644 index f1f04eaf82fe..000000000000 --- a/packages/builder/plugin-stylus/tests/setup.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { expect } from 'vitest'; -import { createSnapshotSerializer } from '@scripts/vitest-config'; - -expect.addSnapshotSerializer(createSnapshotSerializer()); diff --git a/packages/builder/plugin-stylus/tests/tsconfig.json b/packages/builder/plugin-stylus/tests/tsconfig.json deleted file mode 100644 index 787a882891b3..000000000000 --- a/packages/builder/plugin-stylus/tests/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "@modern-js/tsconfig/base", - "compilerOptions": { - "noEmit": true, - "declaration": false, - "jsx": "preserve", - "baseUrl": "./", - "isolatedModules": true, - "paths": { - "@rspack-builder/tests/*": ["../../builder-rspack-provider/tests/*"] - } - } -} diff --git a/packages/builder/plugin-stylus/tsconfig.json b/packages/builder/plugin-stylus/tsconfig.json deleted file mode 100644 index 104083062e4b..000000000000 --- a/packages/builder/plugin-stylus/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "@modern-js/tsconfig/base", - "compilerOptions": { - "target": "ES2019", - "declaration": true, - "outDir": "./dist", - "jsx": "preserve", - "baseUrl": "./", - "isolatedModules": true, - "paths": {}, - "skipLibCheck": true - }, - "include": ["src"] -} diff --git a/packages/builder/plugin-stylus/vitest.config.ts b/packages/builder/plugin-stylus/vitest.config.ts deleted file mode 100644 index 2b09d590b7ed..000000000000 --- a/packages/builder/plugin-stylus/vitest.config.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { defineConfig } from 'vitest/config'; -import { withTestPreset } from '@scripts/vitest-config'; -import path from 'path'; - -const config = defineConfig({ - test: { - root: __dirname, - environment: 'node', - setupFiles: ['./tests/setup.ts'], - }, - resolve: { - alias: { - '@rspack-builder/tests': path.resolve(__dirname, '../builder-rspack-provider/tests'), - } - }, -}); - -export default withTestPreset(config); diff --git a/packages/builder/plugin-swc/.eslintrc.js b/packages/builder/plugin-swc/.eslintrc.js deleted file mode 100644 index c9f48501e25a..000000000000 --- a/packages/builder/plugin-swc/.eslintrc.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - extends: ['@modern-js'], - ignorePatterns: ['compiled/', 'fixtures/**', 'tests/**', 'vitest.config.ts'], - parserOptions: { - project: require.resolve('./tsconfig.json'), - }, -}; diff --git a/packages/builder/plugin-swc/.npmignore b/packages/builder/plugin-swc/.npmignore deleted file mode 100644 index 0ebe779fb030..000000000000 --- a/packages/builder/plugin-swc/.npmignore +++ /dev/null @@ -1,31 +0,0 @@ -.DS_Store - -.pnp -.pnp.js -.env.local -.env.*.local -*.log* - -node_modules/ -*.tsbuildinfo -.eslintcache - -coverage/ -tests/ - -.vscode/**/* -!.vscode/settings.json -!.vscode/extensions.json -.idea/ - -src/ - -modern.config.* -jest.config.js -.eslintrc.js -.eslintrc -tsconfig.json -CHANGELOG.md -.swcrc - -scripts/ diff --git a/packages/builder/plugin-swc/CHANGELOG.md b/packages/builder/plugin-swc/CHANGELOG.md deleted file mode 100644 index a70c67001c20..000000000000 --- a/packages/builder/plugin-swc/CHANGELOG.md +++ /dev/null @@ -1,941 +0,0 @@ -# @modern-js/builder-plugin-swc - -## 2.46.1 - -### Patch Changes - -- @modern-js/builder-shared@2.46.1 -- @modern-js/utils@2.46.1 - -## 2.46.0 - -### Patch Changes - -- @modern-js/builder-shared@2.46.0 -- @modern-js/utils@2.46.0 - -## 2.45.0 - -### Patch Changes - -- @modern-js/builder-shared@2.45.0 -- @modern-js/utils@2.45.0 - -## 2.44.0 - -### Patch Changes - -- Updated dependencies [35a9961] - - @modern-js/builder-shared@2.44.0 - - @modern-js/utils@2.44.0 - -## 2.43.0 - -### Patch Changes - -- 96f2884: chore: bump swc - chore: 升级 swc -- 4b4d08a: chore: remove Rsbuild unsupported CHAIN_ID - - chore: 移除在 Rsbuild 中不支持的 CHAIN_ID - - - @modern-js/builder-shared@2.43.0 - - @modern-js/utils@2.43.0 - -## 2.42.2 - -### Patch Changes - -- @modern-js/builder-shared@2.42.2 -- @modern-js/utils@2.42.2 - -## 2.42.1 - -### Patch Changes - -- @modern-js/builder-shared@2.42.1 -- @modern-js/utils@2.42.1 - -## 2.42.0 - -### Patch Changes - -- Updated dependencies [d433c97] -- Updated dependencies [04d9522] -- Updated dependencies [ef60f58] - - @modern-js/builder-shared@2.42.0 - - @modern-js/utils@2.42.0 - -## 2.41.0 - -### Patch Changes - -- c4d396a: chore(swc): bump swc and helpers - chore(swc): 升级 swc 以及 helpers -- Updated dependencies [969def1] -- Updated dependencies [c4d396a] - - @modern-js/builder-shared@2.41.0 - - @modern-js/utils@2.41.0 - -## 2.40.0 - -### Patch Changes - -- Updated dependencies [95f15d2] - - @modern-js/utils@2.40.0 - - @modern-js/builder-shared@2.40.0 - -## 2.39.2 - -### Patch Changes - -- @modern-js/builder-shared@2.39.2 -- @modern-js/utils@2.39.2 - -## 2.39.1 - -### Patch Changes - -- @modern-js/builder-shared@2.39.1 -- @modern-js/utils@2.39.1 - -## 2.39.0 - -### Patch Changes - -- @modern-js/builder-shared@2.39.0 -- @modern-js/utils@2.39.0 - -## 2.38.0 - -### Patch Changes - -- 3304d33: chore(deps): bump @babel/core to v7.23.2 - - chore(deps): 升级 @babel/core 至 v7.23.2 - -- Updated dependencies [3304d33] - - @modern-js/builder-shared@2.38.0 - - @modern-js/utils@2.38.0 - -## 2.37.2 - -### Patch Changes - -- @modern-js/builder-shared@2.37.2 -- @modern-js/utils@2.37.2 - -## 2.37.1 - -### Patch Changes - -- @modern-js/builder-shared@2.37.1 -- @modern-js/utils@2.37.1 - -## 2.37.0 - -### Patch Changes - -- Updated dependencies [383b636] -- Updated dependencies [ce0a14e] -- Updated dependencies [708f248] - - @modern-js/utils@2.37.0 - - @modern-js/builder-shared@2.37.0 - -## 2.36.0 - -### Patch Changes - -- 9d37401: fix(builder): mismatched directory name containing node_modules - - fix(builder): 错误匹配了包含 node_modules 的目录 - -- Updated dependencies [3473bee] -- Updated dependencies [b98f8aa] -- Updated dependencies [bc25bcb] -- Updated dependencies [c1b0d18] -- Updated dependencies [2675812] -- Updated dependencies [9d37401] -- Updated dependencies [eb602d2] - - @modern-js/utils@2.36.0 - - @modern-js/builder-shared@2.36.0 - -## 2.35.1 - -### Patch Changes - -- a45cc5b: fix(swc): update binding to reduce package size -- 14b0906: fix(swc): fix transform core-js-pure incorrectly, allow using new decorator for js - fix(swc): 修复误转换 core-js-pure,对 js 允许使用新 decorator -- Updated dependencies [ce24aad] -- Updated dependencies [ea3fe18] -- Updated dependencies [de9cdee] -- Updated dependencies [9dd3151] -- Updated dependencies [0988b12] -- Updated dependencies [4980480] -- Updated dependencies [6a1d46e] -- Updated dependencies [fe8caeb] - - @modern-js/builder-shared@2.35.1 - - @modern-js/utils@2.35.1 - -## 2.35.0 - -### Patch Changes - -- Updated dependencies [225f065] -- Updated dependencies [0300daf] -- Updated dependencies [f509548] -- Updated dependencies [15b834f] -- Updated dependencies [28128ca] -- Updated dependencies [4027a6a] -- Updated dependencies [3d93e81] - - @modern-js/builder-shared@2.35.0 - - @modern-js/utils@2.35.0 - -## 2.34.0 - -### Patch Changes - -- Updated dependencies [a77b82a] -- Updated dependencies [09b176a] -- Updated dependencies [c8b448b] -- Updated dependencies [c9626e7] -- Updated dependencies [e538169] - - @modern-js/utils@2.34.0 - - @modern-js/builder-shared@2.34.0 - -## 2.33.1 - -### Patch Changes - -- fb1589a: fix(plugin-swc): update core-js - - fix(plugin-swc): 升级 core-js - - - @modern-js/builder-shared@2.33.1 - - @modern-js/utils@2.33.1 - -## 2.33.0 - -### Patch Changes - -- Updated dependencies [c9ffc4d] -- Updated dependencies [915636b] -- Updated dependencies [fd82137] -- Updated dependencies [d55caa9] -- Updated dependencies [bc1f8da] -- Updated dependencies [64df945] - - @modern-js/builder-shared@2.33.0 - - @modern-js/utils@2.33.0 - -## 2.32.1 - -### Patch Changes - -- 6fc113b: chore(plugin-swc): bump swc-plugins - - chore(plugin-swc): 升级 swc-plugins - - - @modern-js/builder-shared@2.32.1 - - @modern-js/utils@2.32.1 - -## 2.32.0 - -### Patch Changes - -- 6076166: fix: packaging errors found by publint - - fix: 修复 publint 检测到的 packaging 问题 - -- Updated dependencies [e5a3fb4] -- Updated dependencies [6076166] -- Updated dependencies [6517032] -- Updated dependencies [a030aff] -- Updated dependencies [0cc3981] -- Updated dependencies [ddcdef2] -- Updated dependencies [3c91100] -- Updated dependencies [5255eba] - - @modern-js/utils@2.32.0 - - @modern-js/builder-shared@2.32.0 - -## 2.31.2 - -### Patch Changes - -- Updated dependencies [15d30abdc66] - - @modern-js/utils@2.31.2 - - @modern-js/builder-shared@2.31.2 - -## 2.31.1 - -### Patch Changes - -- @modern-js/builder-shared@2.31.1 -- @modern-js/utils@2.31.1 - -## 2.31.0 - -### Patch Changes - -- 96feda3: refactor(builder-plugin-swc): move lockCorejsVersion to plugin option, no affecting binding - - refactor(builder-plugin-swc): 移动 lockCorejsVersion 配置到 plugin 配置中,不影响 binding - -- Updated dependencies [bfdf7b4] -- Updated dependencies [8ab3e2a] -- Updated dependencies [fa8e948] -- Updated dependencies [1882366] - - @modern-js/builder-shared@2.31.0 - - @modern-js/utils@2.31.0 - -## 2.30.0 - -### Patch Changes - -- 4320805: fix(swc): removeConsole not work when using SWC plugin - - fix(swc): 修复使用 SWC 插件时 removeConsole 不生效的问题 - -- cc5f49e: feat(builder): add performance.transformLodash config - - feat(builder): 新增 performance.transformLodash 配置 - -- Updated dependencies [cc5f49e] -- Updated dependencies [f74064c] -- Updated dependencies [e6ae836] -- Updated dependencies [7cb7b24] -- Updated dependencies [e94ad94] - - @modern-js/builder-shared@2.30.0 - - @modern-js/utils@2.30.0 - -## 2.29.0 - -### Patch Changes - -- 0f680ec: chore(deps): bump swc-plugins 0.5.5 and libuild 0.14.3 - - chore(deps): 升级 swc-plugins 0.5.5 和 libuild 0.14.3 - -- Updated dependencies [e6b5355] -- Updated dependencies [93db783] -- Updated dependencies [bd4c354] -- Updated dependencies [cba7675] -- Updated dependencies [99052ea] -- Updated dependencies [d198779] -- Updated dependencies [1d71d2e] - - @modern-js/utils@2.29.0 - - @modern-js/builder-shared@2.29.0 - -## 2.28.0 - -### Minor Changes - -- ac0e99c: feat(builder-plugin-swc): allow function type parameters, pass through raw swc options, add overrides feature - - feat(builder-plugin-swc): 允许传入函数形式的参数,允许透传配置给 swc,增加 overrides 功能 - -### Patch Changes - -- b7b4d84: chore(builder-plugin-swc): upgrade swc, enable wasm - - chore(builder-plugin-swc): 升级 swc, 启用 wasm - -- Updated dependencies [6400d98] -- Updated dependencies [362416f] -- Updated dependencies [aa0c0c3] -- Updated dependencies [9301e46] -- Updated dependencies [00b58a7] -- Updated dependencies [820bfe9] - - @modern-js/builder-shared@2.28.0 - - @modern-js/utils@2.28.0 - -## 2.27.0 - -### Patch Changes - -- 8322a51: chore: migrate packages from tsc to module-lib build - - chore: 将使用 tsc 的包迁移到 module-lib 构建 - -- Updated dependencies [645e111] -- Updated dependencies [91d14b8] -- Updated dependencies [8322a51] -- Updated dependencies [d9080ed] -- Updated dependencies [67d0b0c] -- Updated dependencies [3f79dd7] -- Updated dependencies [6d7104d] - - @modern-js/builder-shared@2.27.0 - - @modern-js/utils@2.27.0 - -## 2.26.0 - -### Patch Changes - -- 60ce599: fix(plugin-swc): skip SWC plugin when using Rspack - - fix(plugin-swc): 使用 Rspack 时跳过 SWC 插件 - -- Updated dependencies [150ddb1] -- Updated dependencies [15ad760] -- Updated dependencies [786c195] - - @modern-js/builder-shared@2.26.0 - - @modern-js/utils@2.26.0 - -## 2.25.2 - -### Patch Changes - -- 74449be: fix(builder-plugin-swc): allow disabling styled-components - - fix(builder-plugin-swc): 允许用户关闭 styled-components - -- 272646c: feat(builder): bump webpack v5.88, support top level await - - feat(builder): 升级 webpack v5.88, 支持 top level await - -- Updated dependencies [63d8247] -- Updated dependencies [6651684] -- Updated dependencies [15a8276] -- Updated dependencies [272646c] -- Updated dependencies [358ed24] - - @modern-js/utils@2.25.2 - - @modern-js/builder-shared@2.25.2 - -## 2.25.1 - -### Patch Changes - -- Updated dependencies [b10045f] -- Updated dependencies [9f78d0c] - - @modern-js/builder-shared@2.25.1 - - @modern-js/utils@2.25.1 - -## 2.25.0 - -### Patch Changes - -- Updated dependencies [5732c6a] - - @modern-js/utils@2.25.0 - - @modern-js/builder-shared@2.25.0 - -## 2.24.0 - -### Patch Changes - -- Updated dependencies [c882fbd] -- Updated dependencies [ef041c0] -- Updated dependencies [4a82c3b] - - @modern-js/utils@2.24.0 - - @modern-js/builder-shared@2.24.0 - -## 2.23.1 - -### Patch Changes - -- Updated dependencies [f08bbfc] -- Updated dependencies [a6b313a] -- Updated dependencies [5772927] -- Updated dependencies [811ccd4] -- Updated dependencies [5a3eeff] -- Updated dependencies [4d4dca0] -- Updated dependencies [8f2cab0] - - @modern-js/utils@2.23.1 - - @modern-js/builder-shared@2.23.1 - -## 2.23.0 - -### Minor Changes - -- b185fdf: refactor: merge the swc plugin - refactor: 合并 swc 插件 - -### Patch Changes - -- 7e6fb5f: chore: publishConfig add provenance config - - chore: publishConfig 增加 provenance 配置 - -- Updated dependencies [15eac36] -- Updated dependencies [d4e85c1] -- Updated dependencies [7e6fb5f] -- Updated dependencies [a7a7ad7] -- Updated dependencies [6dec7c2] -- Updated dependencies [c3216b5] -- Updated dependencies [f14f920] -- Updated dependencies [692cc0e] -- Updated dependencies [38eccef] -- Updated dependencies [f91c557] -- Updated dependencies [a82d6f7] - - @modern-js/builder-shared@2.23.0 - - @modern-js/utils@2.23.0 - -## 2.22.1 - -### Patch Changes - -- 1f02cd2: chore: fix some eslint issues - - chore: 修复一些 eslint issues - -- Updated dependencies [e2848a2] -- Updated dependencies [a470c04] -- Updated dependencies [95ffa6b] -- Updated dependencies [12d54ae] -- Updated dependencies [bd4b150] -- Updated dependencies [dd36311] -- Updated dependencies [d4045ed] -- Updated dependencies [8bd9981] -- Updated dependencies [1f02cd2] -- Updated dependencies [cfcf003] -- Updated dependencies [15181be] - - @modern-js/utils@2.22.1 - - @modern-js/builder-shared@2.22.1 - -## 2.22.0 - -### Patch Changes - -- 3d48836: chore(deps): fix all missing peer dependencies - - chore(deps): 修复缺少的 peer dependencies - -- e7a5f94: feat(plugin-swc): should reduce lodash bundle size by default - - feat(plugin-swc): 默认优化 lodash 包体积 - -- 4b7488c: chore(deps): bump libuild v0.12.4 and swc-plugins v0.3.5 - - chore(deps): 升级 libuild v0.12.4 和 swc-plugins v0.3.5 - -- Updated dependencies [3d48836] -- Updated dependencies [5050e8e] -- Updated dependencies [850cde6] -- Updated dependencies [e7a5f94] - - @modern-js/builder-shared@2.22.0 - - @modern-js/utils@2.22.0 - -## 2.21.1 - -### Patch Changes - -- Updated dependencies [19b3b64] - - @modern-js/builder-shared@2.21.1 - - @modern-js/utils@2.21.1 - -## 2.21.0 - -### Patch Changes - -- 26dcf3a: chore: bump typescript to v5 in devDependencies - - chore: 升级 devDependencies 中的 typescript 版本到 v5 - -- ad78387: chore(deps): bump babel-related dependencies to latest version - - chore(deps): 升级 babel 相关依赖到最新版本 - -- Updated dependencies [7d2972e] -- Updated dependencies [863f8df] -- Updated dependencies [e81eeaf] -- Updated dependencies [26dcf3a] -- Updated dependencies [1ef03dc] -- Updated dependencies [056627f] -- Updated dependencies [4274510] -- Updated dependencies [0fc15ca] -- Updated dependencies [43b4e83] -- Updated dependencies [ad78387] - - @modern-js/builder-shared@2.21.0 - - @modern-js/utils@2.21.0 - -## 2.20.0 - -### Patch Changes - -- Updated dependencies [3c4e0a5] -- Updated dependencies [6b9d90a] - - @modern-js/builder-shared@2.20.0 - - @modern-js/utils@2.20.0 - -## 2.19.1 - -### Patch Changes - -- Updated dependencies [afb735f] - - @modern-js/builder-shared@2.19.1 - - @modern-js/utils@2.19.1 - -## 2.19.0 - -### Patch Changes - -- 1134fe2: chore(deps): bump webpack from 5.76.2 to 5.82.1 - - chore(deps): 将 webpack 从 5.76.2 升级至 5.82.1 - -- Updated dependencies [1134fe2] - - @modern-js/builder-shared@2.19.0 - - @modern-js/utils@2.19.0 - -## 2.18.1 - -### Patch Changes - -- Updated dependencies [9b0b7ef] - - @modern-js/builder-shared@2.18.1 - - @modern-js/utils@2.18.1 - -## 2.18.0 - -### Patch Changes - -- @modern-js/builder-shared@2.18.0 -- @modern-js/utils@2.18.0 - -## 2.17.1 - -### Patch Changes - -- @modern-js/builder-shared@2.17.1 - -## 2.17.0 - -### Patch Changes - -- @modern-js/builder-shared@2.17.0 -- @modern-js/utils@2.17.0 - -## 2.16.0 - -### Patch Changes - -- 50bc0db: feat(builder): update swc-plugins, core-js, swc-helpers - feat(builder): 更新 swc-plugins, core-js, swc-helpers -- Updated dependencies [fe92de6] -- Updated dependencies [091986a] -- Updated dependencies [5954330] -- Updated dependencies [50bc0db] -- Updated dependencies [7596520] -- Updated dependencies [4e876ab] -- Updated dependencies [e4e0e01] - - @modern-js/builder-shared@2.16.0 - - @modern-js/utils@2.16.0 - -## 2.15.0 - -### Patch Changes - -- Updated dependencies [3e5e790] - - @modern-js/builder-shared@2.15.0 - - @modern-js/utils@2.15.0 - -## 2.14.0 - -### Patch Changes - -- 4baf588: fix(monorepo): ignore unnessary peer deps warning from antd - - fix(monorepo): 忽略由 antd 造成的不必要的 peer deps 警告 - -- Updated dependencies [b46fbcb] -- Updated dependencies [4779152] -- Updated dependencies [fefd1c5] -- Updated dependencies [8a3c693] -- Updated dependencies [9321bef] -- Updated dependencies [9b45c58] -- Updated dependencies [52d0cb1] -- Updated dependencies [60a81d0] -- Updated dependencies [864d55e] -- Updated dependencies [b965df2] -- Updated dependencies [dacef96] -- Updated dependencies [16399fd] - - @modern-js/builder-shared@2.14.0 - - @modern-js/utils@2.14.0 - -## 2.13.4 - -### Patch Changes - -- @modern-js/builder-shared@2.13.4 -- @modern-js/utils@2.13.4 - -## 2.13.3 - -### Patch Changes - -- Updated dependencies [18cd03f] -- Updated dependencies [28583e8] - - @modern-js/builder-shared@2.13.3 - - @modern-js/utils@2.13.3 - -## 2.13.2 - -### Patch Changes - -- @modern-js/builder-shared@2.13.2 -- @modern-js/utils@2.13.2 - -## 2.13.1 - -### Patch Changes - -- @modern-js/builder-shared@2.13.1 -- @modern-js/utils@2.13.1 - -## 2.13.0 - -### Patch Changes - -- 5deb1fb: chore: bump core-js and swc - - chore: 升级 core-js 和 swc - -- Updated dependencies [1feacdc] -- Updated dependencies [384406c] -- Updated dependencies [c89de05] -- Updated dependencies [d69c0b9] -- Updated dependencies [5deb1fb] -- Updated dependencies [348306d] -- Updated dependencies [384e393] -- Updated dependencies [9c0572e] -- Updated dependencies [67a235b] - - @modern-js/builder-shared@2.13.0 - - @modern-js/utils@2.13.0 - -## 2.12.0 - -### Patch Changes - -- Updated dependencies [c2ca6c8] -- Updated dependencies [98f8cb6] -- Updated dependencies [6d86e34] -- Updated dependencies [fef3394] - - @modern-js/utils@2.12.0 - - @modern-js/builder-shared@2.12.0 - -## 2.11.0 - -### Minor Changes - -- c6a94c7: feat: sink builder-plugin-swc abilities to `builder-plugin-swc-base`. - feat: 将 builder-plugin-swc 能力下沉到 builder-plugin-swc-base 里. - -### Patch Changes - -- a8c08c3: feat: 添加 `source.transformImoprt` - - feat: add `source.transformImoprt` - -- 99693f0: fix: the swc compiler can not create two different options instance && move default config to swc-base - fix: swc 转译器无法创建两个不同配置的实体 && 将默认配置移到 swc-base -- Updated dependencies [adcedad] -- Updated dependencies [cfb058f] -- Updated dependencies [a9c6083] -- Updated dependencies [55b07fd] -- Updated dependencies [0bd018b] -- Updated dependencies [c6a94c7] -- Updated dependencies [8b90c79] -- Updated dependencies [a8c08c3] -- Updated dependencies [3aa318d] -- Updated dependencies [5d624fd] -- Updated dependencies [e2466a1] -- Updated dependencies [53b0a63] -- Updated dependencies [02bb383] -- Updated dependencies [381a3b9] -- Updated dependencies [99693f0] -- Updated dependencies [7a60f10] -- Updated dependencies [cd1040f] -- Updated dependencies [e262a99] -- Updated dependencies [b71cef1] -- Updated dependencies [274b2e5] -- Updated dependencies [b9e1c54] - - @modern-js/builder-shared@2.11.0 - - @modern-js/utils@2.11.0 - -## 2.10.0 - -### Patch Changes - -- fbefa7e: chore(deps): bump webpack from 5.75.0 to 5.76.2 - - chore(deps): 将 webpack 从 5.75.0 升级至 5.76.2 - -- Updated dependencies [a8db932] -- Updated dependencies [92d247f] -- Updated dependencies [0da32d0] -- Updated dependencies [0d9962b] -- Updated dependencies [fbefa7e] -- Updated dependencies [4d54233] -- Updated dependencies [6db4864] - - @modern-js/builder-shared@2.10.0 - - @modern-js/utils@2.10.0 - -## 2.9.0 - -### Patch Changes - -- @modern-js/builder-shared@2.9.0 -- @modern-js/utils@2.9.0 - -## 2.8.0 - -### Minor Changes - -- 9736c6a43d: feat: enable swc css minify - - feat: 启用 swc css 压缩 - -### Patch Changes - -- 2c1151271d: fix(builder): fix incorrect browserslist config - - fix(builder): 修复错误的 browserslist 配置 - -- 6379f52a89: fix(builder-plugin-swc): should handle object type sourceMap correctly - - fix(builder-plugin-swc): 正确处理 loader 接收的对象类型 sourceMap - -- dd40c95411: fix(builder-plugin-swc): should not override user react runtime - - fix(builder-plugin-swc): 不应该覆盖用户 react runtime 配置 - -- 05d485286c: test(builder-plugin-swc): add test for builder-plugin-swc loader - - test(builder-plugin-swc): 添加 builder-plugin-swc 的 loader 测试 - -- 186e029330: fix(plugin-swc): missing @modern-js/builder-shared dependency - - fix(plugin-swc): 修复缺少 @modern-js/builder-shared 依赖的问题 - -- Updated dependencies [bd369a89a4] -- Updated dependencies [1104a9f18b] -- Updated dependencies [2c1151271d] -- Updated dependencies [481461a61d] -- Updated dependencies [1f6ca2c7fb] - - @modern-js/builder-shared@2.8.0 - - @modern-js/utils@2.8.0 - -## 2.7.0 - -### Patch Changes - -- bf5cd628f5: fix: should pass extensions option to loader - - fix: extensions 配置应该传给 loader - -- 43f1091819: fix(plugin-swc): webpack magic comment is removed after compilation - - fix(plugin-swc): 修复 webpack magic comment 被错误移除的问题 - -- 3a942a2472: feat: add Rspack provider swc options, add builder-plugin-swc overrideBrowserslist configuration, report warning when enable latestDecorator in builder-plugin-swc - - feat: 给 Rspack provider 增加 swc 相关配置项,增加 builder-plugin-swc overrideBrowserslist 配置,在 builder-plugin-swc 启用 latestDecorator 后增加 warning 报错 - -- 9d4da8687a: fix: disable swc react refresh when ssr mode. - fix: 当在 SSR 模式时,禁用 swc react refresh. -- 65c5ff6042: fix(plugin-swc): runtime error when set dev.hmr to false - - fix(plugin-swc): 修复 dev.hmr 设置为 false 时出现运行时错误的问题 - -- Updated dependencies [0f15fc597c] -- Updated dependencies [dcad887024] -- Updated dependencies [a4672f7c16] -- Updated dependencies [7fff9020e1] -- Updated dependencies [84bfb439b8] - - @modern-js/utils@2.7.0 - -## 2.6.0 - -### Patch Changes - -- Updated dependencies [b92d6db] -- Updated dependencies [e1f799e] -- Updated dependencies [107f674] -- Updated dependencies [7915ab3] -- Updated dependencies [03d7f7d] -- Updated dependencies [fae9d1b] -- Updated dependencies [0fe658a] -- Updated dependencies [62930b9] - - @modern-js/builder-shared@2.6.0 - - @modern-js/utils@2.6.0 - -## 2.5.0 - -### Patch Changes - -- b18a544: fix(builder-plugin-swc): properly handle transform error in loader - - fix(builder-plugin-swc): 处理 loader 中的编译异常 - -- Updated dependencies [58a9918] -- Updated dependencies [30614fa] -- Updated dependencies [c4c10e7] -- Updated dependencies [1b0ce87] -- Updated dependencies [11c053b] -- Updated dependencies [28e7dc6] -- Updated dependencies [40230b3] - - @modern-js/builder-shared@2.5.0 - - @modern-js/utils@2.5.0 - -## 2.4.0 - -### Patch Changes - -- e787a45: feat: Add config to enable legacy decorator and 2 css-in-js plugins, update swc version - - feat: 以及 2 个 css-in-js 插件,升级 swc 版本 - -- Updated dependencies [6f83037] -- Updated dependencies [014d06b] -- Updated dependencies [98a2733] -- Updated dependencies [a5572b8] -- Updated dependencies [a914be8] -- Updated dependencies [8c2db5f] - - @modern-js/builder-shared@2.4.0 - - @modern-js/utils@2.4.0 - -## 2.3.0 - -### Patch Changes - -- Updated dependencies [fd5a3ed] -- Updated dependencies [67ba34a] -- Updated dependencies [2ad9fdf] -- Updated dependencies [f9a26fe] -- Updated dependencies [6ca1c0b] -- Updated dependencies [89b6739] - - @modern-js/utils@2.3.0 - - @modern-js/builder-shared@2.3.0 - -## 2.2.0 - -### Patch Changes - -- 16bdc0a: chore: adjust builder plugin name - - chore: 调整 builder 插件命名格式 - -- Updated dependencies [f2f8a83] -- Updated dependencies [49eff0c] - - @modern-js/builder-shared@2.2.0 - - @modern-js/utils@2.2.0 - -## 2.1.0 - -### Patch Changes - -- 837620c: fix: Disable detect tsconfig.json - fix: 禁用探测 tsconfig.json -- Updated dependencies [837620c] -- Updated dependencies [3ad26c2] -- Updated dependencies [5b54418] -- Updated dependencies [ccbac43] -- Updated dependencies [8a9482c] -- Updated dependencies [679296d] - - @modern-js/utils@2.1.0 - - @modern-js/builder-shared@2.1.0 - -## 2.0.0 - -### Major Changes - -Initial Release diff --git a/packages/builder/plugin-swc/README.md b/packages/builder/plugin-swc/README.md deleted file mode 100644 index 06b9556149b3..000000000000 --- a/packages/builder/plugin-swc/README.md +++ /dev/null @@ -1,27 +0,0 @@ -> DEPRECATED: use [Rsbuild](https://github.com/web-infra-dev/rsbuild) instead. - -

- Modern.js Logo -

-

- Modern.js Builder -
- - modernjs.dev/builder - -

-

- An Rspack-based build tool for web development. -

- -# @modern-js/builder-plugin-swc - -This package is the swc plugin of Modern.js Builder. - -## Getting Started - -- [Documentation](https://modernjs.dev/builder/en/plugins/plugin-swc.html) - -## Contributing - -- [Contributing Guide](https://github.com/web-infra-dev/modern.js/blob/main/CONTRIBUTING.md) diff --git a/packages/builder/plugin-swc/modern.config.js b/packages/builder/plugin-swc/modern.config.js deleted file mode 100644 index c2bf3e85b393..000000000000 --- a/packages/builder/plugin-swc/modern.config.js +++ /dev/null @@ -1,5 +0,0 @@ -const { tscLikeBuildConfig } = require('@scripts/build'); - -module.exports = { - buildConfig: tscLikeBuildConfig, -}; diff --git a/packages/builder/plugin-swc/package.json b/packages/builder/plugin-swc/package.json deleted file mode 100644 index 9d1ae32b1841..000000000000 --- a/packages/builder/plugin-swc/package.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "name": "@modern-js/builder-plugin-swc", - "version": "2.46.1", - "description": "SWC plugin for builder in Modern.js", - "repository": { - "type": "git", - "url": "https://github.com/web-infra-dev/modern.js", - "directory": "packages/builder/plugin-swc" - }, - "jsnext:source": "./src/index.ts", - "main": "./dist/index.js", - "types": "./src/index.ts", - "scripts": { - "build": "modern-lib build", - "dev": "modern-lib build --watch", - "test": "vitest run", - "test:watch": "vitest dev", - "test:update": "SNAPSHOT_UPDATE=1 vitest watch", - "prepublishOnly": "only-allow-pnpm" - }, - "exports": { - ".": { - "jsnext:source": "./src/index.ts", - "default": "./dist/index.js" - }, - "./loader": { - "types": "./dist/loader.d.ts", - "jsnext:source": "./src/loader.ts", - "default": "./dist/loader.js" - }, - "./plugin": { - "types": "./dist/plugin.d.ts", - "jsnext:source": "./src/plugin.ts", - "default": "./dist/plugin.js" - }, - "./binding": { - "types": "./dist/binding.d.ts", - "jsnext:source": "./src/binding.ts", - "default": "./dist/binding.js" - } - }, - "typesVersions": { - "*": { - "loader": [ - "./dist/loader.d.ts" - ], - "plugin": [ - "./dist/plugin.d.ts" - ], - "binding": [ - "./dist/binding.d.ts" - ] - } - }, - "engines": { - "node": ">=12.0.0" - }, - "keywords": [], - "author": "", - "license": "MIT", - "dependencies": { - "@babel/core": "^7.23.2", - "@babel/preset-env": "^7.22.15", - "@babel/preset-react": "^7.22.15", - "@babel/preset-typescript": "^7.22.15", - "@modern-js/builder-shared": "workspace:*", - "@modern-js/swc-plugins": "0.6.6", - "@modern-js/utils": "workspace:*", - "@swc/helpers": "0.5.3", - "core-js": "~3.32.1" - }, - "devDependencies": { - "@modern-js/builder-webpack-provider": "workspace:*", - "@modern-js/utils": "workspace:*", - "@scripts/build": "workspace:*", - "@scripts/vitest-config": "workspace:*", - "@swc/core": "1.3.42", - "@types/babel__core": "^7.20.1", - "antd": "4", - "lodash": "^4.17.21", - "magic-string": "0.30.5", - "source-map": "0.7.4", - "typescript": "^5", - "webpack": "^5.89.0", - "react": "^18", - "react-dom": "^18" - }, - "publishConfig": { - "registry": "https://registry.npmjs.org/", - "access": "public", - "provenance": true, - "types": "./dist/index.d.ts" - } -} diff --git a/packages/builder/plugin-swc/src/binding.ts b/packages/builder/plugin-swc/src/binding.ts deleted file mode 100644 index 0df74ab4e4f8..000000000000 --- a/packages/builder/plugin-swc/src/binding.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Compiler as RawCompiler, Output } from '@modern-js/swc-plugins'; -import { TransformConfig } from './types'; - -export { - minify, - minifySync, - minifyCss, - minifyCssSync, -} from '@modern-js/swc-plugins'; - -export class Compiler extends RawCompiler { - config: TransformConfig; - - constructor(finalConfig: TransformConfig) { - super(finalConfig); - this.config = finalConfig; - } -} - -export function transformSync( - config: Required, - filename: string, - code: string, - map?: string, -): Output { - const compiler = new Compiler(config); - - return compiler.transformSync(filename, code, map); -} - -export function transform( - config: Required, - filename: string, - code: string, - map?: string, -): Promise { - let compiler; - try { - compiler = new Compiler(config); - } catch (e) { - throw new Error(`[builder-plugin-swc] Failed to initialize config: \n${e}`); - } - return compiler.transform(filename, code, map); -} diff --git a/packages/builder/plugin-swc/src/checkPolyfillPlugin.ts b/packages/builder/plugin-swc/src/checkPolyfillPlugin.ts deleted file mode 100644 index d8260bb4220d..000000000000 --- a/packages/builder/plugin-swc/src/checkPolyfillPlugin.ts +++ /dev/null @@ -1,215 +0,0 @@ -import type Buffer from 'buffer'; -import * as path from 'path'; -import { logger } from '@modern-js/builder-shared'; -import { chalk } from '@modern-js/utils'; -import type { Logger } from '@modern-js/utils'; -import type { Compiler, NormalModule } from 'webpack'; - -const JS_DATA_URI_PREFIX = `data:text/javascript`; -const JS_DATA_URI_PREFIX_RE = /data:text\/javascript.*,/; - -type Options = any; -export class CheckPolyfillPlugin { - options: Options; - - constructor(options: Options) { - this.options = options; - } - - apply(compiler: Compiler): void { - const polyfillsMap = new Map< - string, - { - extra: string[]; - missing: string[]; - } - >(); - - compiler.hooks.compilation.tap('CheckSwcPolyfill', compilation => { - compilation.hooks.seal.tap('Check Polyfill Seal', async () => { - const modules = [...compilation.modules].filter(module => - module.getSourceTypes().has('javascript'), - ); - - for (const module of modules) { - const source = module.originalSource()?.source(); - if (!source) { - continue; - } - - const { resource } = module as NormalModule; - try { - const input = resource.startsWith(JS_DATA_URI_PREFIX) - ? resource.replace(JS_DATA_URI_PREFIX_RE, '') - : await readFile(resource, compilation.inputFileSystem); - - comparePolyfill( - resource, - this.options, - input.toString(), - source.toString(), - polyfillsMap, - ); - } catch (_) {} - } - }); - }); - - compiler.hooks.done.tapPromise('CheckSwcPolyfill', async () => { - for (const [filename, { extra, missing }] of polyfillsMap) { - let msg = ''; - if (extra.length) { - msg += `SWC injected ${chalk.yellowBright.bold( - 'unne', - )} polyfills:\n${[...extra] - .map(s => `- ${chalk.yellow(s)}`) - .join('\n')}\n`; - } - - if (missing.length) { - msg += `There may have some ${chalk.red.bold( - 'necessary', - )} polyfills should be injected:\n${[...missing] - .map(s => `- ${chalk.red(s)}`) - .join('\n')}\n`; - } - - if (msg) { - msg = `[SwcPolyfillChecker] in ${chalk.yellowBright.bold( - filename, - )}\n${msg}`; - logger.warn(msg); - } - } - - const outPath = compiler.outputPath; - compiler.outputFileSystem.writeFile( - path.join(outPath, 'swc_polyfill_debug.json'), - JSON.stringify(Object.fromEntries(polyfillsMap.entries()), null, 2), - err => { - if (err) { - throw err; - } - }, - ); - }); - } -} - -async function comparePolyfill( - filename: string, - opt: Options, - input: string, - swcOutput: string, - polyfillsMap: Map< - string, - { - extra: string[]; - missing: string[]; - } - >, -) { - const swcPolyfills = extractCorejsImport(swcOutput); - // If there is no polyfills, it may be use `mode: 'entry'`, and file which is not entry - // won't inject polyfills - if (!swcPolyfills.size) { - return; - } - - tryWithError(async () => { - const { transformAsync } = await import('@babel/core'); - - const presetEnvOptions = { - targets: opt.env!.targets, - useBuiltIns: opt.env!.mode, - corejs: opt.env!.coreJs, - }; - const babelOptions: import('@babel/core').TransformOptions = { - sourceType: 'unambiguous', - filename, - presets: [ - [require.resolve('@babel/preset-env'), presetEnvOptions], - [ - require.resolve('@babel/preset-react'), - opt.jsc?.transform?.react || {}, - ], - [ - require.resolve('@babel/preset-typescript'), - { - optimizeConstEnums: true, - }, - ], - ], - }; - - const babelOutput = (await transformAsync(input, babelOptions))!.code!; - - const babelPolyfills = extractCorejsImport(babelOutput); - - const missingPolyfills: string[] = []; - const extraPolyfills: string[] = []; - - polyfillsMap.set(filename, { - extra: extraPolyfills, - missing: missingPolyfills, - }); - - for (const feature of babelPolyfills) { - if (!swcPolyfills.has(feature)) { - missingPolyfills.push(feature); - } - } - - for (const feature of swcPolyfills) { - if (!babelPolyfills.has(feature)) { - extraPolyfills.push(feature); - } - } - }, `[SWC polyfill checker]: Babel transform failed: ${filename}`); -} - -const COREJS_RE = /(?:require|import)\(?.*core-js\/(.*)['|"]\)?/; -function extractCorejsImport(code: string): Set { - return new Set( - code - .split('\n') - .filter(line => COREJS_RE.test(line)) - .map(line => { - const [, module] = line.match(COREJS_RE)!; - return module; - }), - ); -} - -async function tryWithError( - op: () => void | Promise, - msg: string, - logger?: Logger, -) { - try { - await op(); - } catch (e) { - if (logger) { - logger.warn(msg); - logger.warn(e); - } else { - console.warn(msg); - console.warn(e); - } - } -} - -async function readFile( - filePath: string, - inputFileSystem: any, -): Promise { - return new Promise((resolve, reject) => { - inputFileSystem.readFile(filePath, (err: Error, res: Buffer) => { - if (err) { - reject(err); - } else { - resolve(res); - } - }); - }); -} diff --git a/packages/builder/plugin-swc/src/constants.ts b/packages/builder/plugin-swc/src/constants.ts deleted file mode 100644 index 74266e474f3a..000000000000 --- a/packages/builder/plugin-swc/src/constants.ts +++ /dev/null @@ -1,10 +0,0 @@ -import * as path from 'path'; - -export const CORE_JS_PATH = require.resolve('core-js/package.json'); -export const SWC_HELPERS_PATH = require.resolve('@swc/helpers/package.json'); - -export const CORE_JS_DIR_PATH = path.dirname(CORE_JS_PATH); -export const SWC_HELPERS_DIR_PATH = path.dirname(SWC_HELPERS_PATH); - -export const JS_REGEX = /\.js$/; -export const CSS_REGEX = /\.css$/; diff --git a/packages/builder/plugin-swc/src/index.ts b/packages/builder/plugin-swc/src/index.ts deleted file mode 100644 index d33fedbb72d9..000000000000 --- a/packages/builder/plugin-swc/src/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -export { default as SwcLoader } from './loader'; -export { builderPluginSwc, PluginSwc } from './plugin'; -export * from './binding'; -export * from './types'; - -/// NOTE: -/// Polyfill async function or generator, should install regenerator-runtime manually diff --git a/packages/builder/plugin-swc/src/loader.ts b/packages/builder/plugin-swc/src/loader.ts deleted file mode 100644 index e266b31ab146..000000000000 --- a/packages/builder/plugin-swc/src/loader.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { getBrowserslist } from '@modern-js/utils'; -import type { LoaderContext, LoaderDefinitionFunction } from 'webpack'; -import { Options as SwcOptions } from '@modern-js/swc-plugins'; -import { Compiler } from './binding'; -import { TransformConfig } from './types'; - -function setReactDevMode( - swc: SwcOptions, - mode: 'development' | 'production' | 'none', -) { - if (!swc.jsc) { - swc.jsc = {}; - } - if (!swc.jsc.transform) { - swc.jsc.transform = {}; - } - if (!swc.jsc.transform.react) { - swc.jsc.transform.react = {}; - } - - const { react } = swc.jsc.transform; - react.development = react.development ?? mode === 'development'; - react.refresh = react.refresh ?? mode === 'development'; -} - -function normalizeLoaderOption( - options: TransformConfig, - ctx: LoaderContext, -) { - const enableSourceMap = ctx.sourceMap; - - if (enableSourceMap) { - options.sourceMaps = true; - } - - if (options.env && !options.env.targets) { - options.env.targets = getBrowserslist(options.cwd || process.cwd()); - } - - if ( - !options.jsc?.transform?.react || - options.jsc.transform.react.development === undefined - ) { - setReactDevMode(options, ctx.mode); - } - - // disable unnecessary config searching - // all config should be explicitly set - options.swcrc = false; -} - -export function createLoader(): LoaderDefinitionFunction { - const compilers = new Map, Compiler>(); - - function getCompiler(options: Required) { - if (compilers.has(options)) { - return compilers.get(options)!; - } - - const compiler = new Compiler(options); - compilers.set(options, compiler); - return compiler; - } - - return function SwcLoader(code, map) { - const resolve = this.async(); - const filename = this.resourcePath; - - const options = this.getOptions(); - normalizeLoaderOption(options, this); - const compiler = getCompiler(options as Required); - compiler - .transform( - filename, - code, - typeof map === 'object' ? JSON.stringify(map) : map, - ) - .then(result => { - resolve(null, result.code, result.map); - }) - .catch(err => { - resolve(err as Error); - }); - }; -} - -export default createLoader(); diff --git a/packages/builder/plugin-swc/src/minizer.ts b/packages/builder/plugin-swc/src/minizer.ts deleted file mode 100644 index ea8f635814c3..000000000000 --- a/packages/builder/plugin-swc/src/minizer.ts +++ /dev/null @@ -1,227 +0,0 @@ -import { BuilderConfig, webpack } from '@modern-js/builder-webpack-provider'; -import { merge } from '@modern-js/utils/lodash'; -import { chalk, logger } from '@modern-js/utils'; -import { - Output, - JsMinifyOptions, - CssMinifyOptions, - TerserCompressOptions, -} from './types'; -import { minify, minifyCss } from './binding'; -import { CSS_REGEX, JS_REGEX } from './constants'; - -export interface NormalizedSwcMinifyOption { - jsMinify?: JsMinifyOptions; - cssMinify?: CssMinifyOptions; -} - -const normalize = ( - v: T | boolean | undefined, - defaultValue: T, -): T | undefined => { - if (v === true || v === undefined) { - return defaultValue; - } else if (v === false) { - return undefined; - } else { - return v; - } -}; - -export class SwcMinimizerPlugin { - private readonly minifyOptions: NormalizedSwcMinifyOption; - - private name: string = 'swc-minimizer-plugin'; - - constructor( - options: { - jsMinify?: boolean | JsMinifyOptions; - cssMinify?: boolean | CssMinifyOptions; - builderConfig?: BuilderConfig; - } = {}, - ) { - this.minifyOptions = { - jsMinify: merge( - this.getDefaultJsMinifyOptions(options.builderConfig), - normalize(options.jsMinify, {}), - ), - cssMinify: normalize(options.cssMinify, {}), - }; - } - - getDefaultJsMinifyOptions(builderConfig?: BuilderConfig): JsMinifyOptions { - const compressOptions: TerserCompressOptions = {}; - const { removeConsole } = builderConfig?.performance || {}; - - if (removeConsole === true) { - compressOptions.drop_console = true; - } else if (Array.isArray(removeConsole)) { - const pureFuncs = removeConsole.map(method => `console.${method}`); - compressOptions.pure_funcs = pureFuncs; - } - - return { - compress: compressOptions, - mangle: true, - }; - } - - apply(compiler: webpack.Compiler): void { - const meta = JSON.stringify({ - name: 'swc-minify', - options: this.minifyOptions, - }); - - compiler.hooks.compilation.tap(this.name, async compilation => { - const { Compilation } = compiler.webpack; - const { devtool } = compilation.options; - const { jsMinify, cssMinify } = this.minifyOptions; - - const enableMinify = - typeof devtool === 'string' - ? devtool.includes('source-map') - : Boolean(devtool); - const inlineSourceContent = - typeof devtool === 'string' && devtool.includes('inline'); - - if (jsMinify) { - jsMinify.sourceMap = enableMinify; - jsMinify.inlineSourcesContent = inlineSourceContent; - } - - if (cssMinify) { - cssMinify.sourceMap = enableMinify; - cssMinify.inlineSourceContent = inlineSourceContent; - } - - compilation.hooks.chunkHash.tap(this.name, (_, hash) => - hash.update(meta), - ); - - compilation.hooks.processAssets.tapPromise( - { - name: this.name, - stage: Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE, - }, - async () => { - try { - await this.updateAssets(compilation); - } catch (e) { - compilation.errors.push( - new compiler.webpack.WebpackError(`[SWC Minify]: ${e}`), - ); - } - }, - ); - }); - } - - async updateAssets(compilation: webpack.Compilation): Promise { - const cache = compilation.getCache(this.name); - - const { SourceMapSource, RawSource } = compilation.compiler.webpack.sources; - const assets = compilation - .getAssets() - .filter( - asset => - !asset.info.minimized && - (JS_REGEX.test(asset.name) || CSS_REGEX.test(asset.name)), - ); - - const assetsWithCache = await Promise.all( - assets.map(async ({ name, info, source }) => { - const eTag = cache.getLazyHashedEtag(source); - const cacheItem = cache.getItemCache(name, eTag); - return { - name, - info, - source, - cacheItem, - }; - }), - ); - - const { cssMinify, jsMinify } = this.minifyOptions; - return Promise.all( - assetsWithCache.map(async asset => { - const cache = await asset.cacheItem.getPromise<{ - minifiedSource: InstanceType< - typeof SourceMapSource | typeof RawSource - >; - }>(); - - let minifiedSource = cache ? cache.minifiedSource : null; - - if (!minifiedSource) { - const { source, map } = asset.source.sourceAndMap(); - let minifyResult: Output | undefined; - let needSourceMap = false; - const filename = asset.name; - - if (jsMinify && filename.endsWith('.js')) { - needSourceMap = jsMinify.sourceMap!; - minifyResult = await minifyWithTimeout(filename, () => { - return minify(filename, source.toString(), jsMinify); - }); - } else if (cssMinify && filename.endsWith('.css')) { - needSourceMap = cssMinify.sourceMap!; - minifyResult = await minifyWithTimeout(filename, () => { - return minifyCss(filename, source.toString(), cssMinify); - }); - } - - if (minifyResult) { - minifiedSource = - needSourceMap && minifyResult.map - ? new SourceMapSource( - minifyResult.code, - asset.name, - minifyResult.map, - source.toString(), - map, - true, - ) - : new RawSource(minifyResult.code || ''); - } - } - - if (minifiedSource) { - await asset.cacheItem.storePromise({ - minifiedSource, - }); - - compilation.updateAsset(asset.name, minifiedSource, { - ...asset.info, - minimized: true, - }); - } - }), - ); - } -} - -/** - * Currently SWC minify is not stable as we expected, there is a - * change that it can never ends, so add a warning if it hangs too long. - */ -function minifyWithTimeout( - filename: string, - minify: () => Promise, -): Promise { - const timer = setTimeout(() => { - logger.warn( - `SWC minimize has running for over 180 seconds for a single file: ${filename}\n -It is likely that you've encountered a ${chalk.red( - 'SWC internal bug', - )}, please contact us at https://github.com/web-infra-dev/modern.js/issues`, - ); - }, 180_000); - - const outputPromise = minify(); - - outputPromise.finally(() => { - clearTimeout(timer); - }); - - return outputPromise; -} diff --git a/packages/builder/plugin-swc/src/plugin.ts b/packages/builder/plugin-swc/src/plugin.ts deleted file mode 100644 index 748ea5e89c9c..000000000000 --- a/packages/builder/plugin-swc/src/plugin.ts +++ /dev/null @@ -1,163 +0,0 @@ -import * as path from 'path'; -import type { - BuilderPluginAPI, - BuilderPlugin, -} from '@modern-js/builder-webpack-provider'; -import { JS_REGEX, TS_REGEX, mergeRegex } from '@modern-js/builder-shared'; -import type { PluginSwcOptions, TransformConfig } from './types'; -import { - applyPluginConfig, - checkUseMinify, - isDebugMode, - removeUselessOptions, -} from './utils'; -import { SwcMinimizerPlugin } from './minizer'; - -const PLUGIN_NAME = 'builder-plugin-swc'; - -/** - * @deprecated Using \@rsbuild/plugin-swc instead. - * - * In this plugin, we do: - * - Remove Babel loader if exists - * - Add our own swc loader - * - Remove JS minifier - * - Add swc minifier plugin - */ -export const builderPluginSwc = ( - options: PluginSwcOptions = {}, -): BuilderPlugin => ({ - name: PLUGIN_NAME, - - setup(api: BuilderPluginAPI) { - if (api.context.bundlerType === 'rspack') { - return; - } - - api.modifyWebpackChain(async (chain, utils) => { - const { CHAIN_ID, isProd } = utils; - const builderConfig = api.getNormalizedConfig(); - const { rootPath } = api.context; - - const swcConfigs = await applyPluginConfig( - options, - utils, - builderConfig, - rootPath, - ); - - chain.module.rule(CHAIN_ID.RULE.JS).uses.delete(CHAIN_ID.USE.BABEL); - chain.module.delete(CHAIN_ID.RULE.TS); - - const TJS_REGEX = mergeRegex(JS_REGEX, TS_REGEX); - for (let i = 0; i < swcConfigs.length; i++) { - const { test, include, exclude, swcConfig } = swcConfigs[i]; - - const ruleId = - i > 0 ? CHAIN_ID.RULE.JS + i.toString() : CHAIN_ID.RULE.JS; - const rule = chain.module.rule(ruleId); - - // Insert swc loader and plugin - rule - .test(test || TJS_REGEX) - .use(CHAIN_ID.USE.SWC) - .loader(path.resolve(__dirname, './loader')) - .options(removeUselessOptions(swcConfig) satisfies TransformConfig); - - if (include) { - for (const extra of include) { - rule.include.add(extra); - } - } - - if (exclude) { - for (const extra of exclude) { - rule.exclude.add(extra); - } - } - } - - // first config is the main config - const mainConfig = swcConfigs[0].swcConfig; - - if (chain.module.rules.get(CHAIN_ID.RULE.JS_DATA_URI)) { - chain.module - .rule(CHAIN_ID.RULE.JS_DATA_URI) - .uses.delete(CHAIN_ID.USE.BABEL) - .end() - .use(CHAIN_ID.USE.SWC) - .loader(path.resolve(__dirname, './loader')) - .options(removeUselessOptions(mainConfig) satisfies TransformConfig); - } - - if (isDebugMode()) { - const { CheckPolyfillPlugin } = await import('./checkPolyfillPlugin'); - - chain - .plugin('swc-polyfill-checker-plugin') - .use(new CheckPolyfillPlugin(mainConfig)); - } - - if (checkUseMinify(mainConfig, builderConfig, isProd)) { - // Insert swc minify plugin - // @ts-expect-error webpack-chain missing minimizers type - const minimizersChain = chain.optimization.minimizers; - - if (mainConfig.jsMinify !== false) { - minimizersChain.delete(CHAIN_ID.MINIMIZER.JS).end(); - } - - if (mainConfig.cssMinify !== false) { - minimizersChain.delete(CHAIN_ID.MINIMIZER.CSS).end(); - } - - minimizersChain - .end() - .minimizer(CHAIN_ID.MINIMIZER.SWC) - .use(SwcMinimizerPlugin, [ - { - jsMinify: mainConfig.jsMinify ?? mainConfig.jsc?.minify, - cssMinify: mainConfig.cssMinify, - builderConfig, - }, - ]); - } - }); - }, -}); - -/// default swc configuration -export function getDefaultSwcConfig(): TransformConfig { - const cwd = process.cwd(); - return { - cwd, - jsc: { - externalHelpers: true, - parser: { - tsx: true, - syntax: 'typescript', - decorators: true, - }, - transform: { - react: { - runtime: 'automatic', - }, - }, - // Avoid the webpack magic comment to be removed - // https://github.com/swc-project/swc/issues/6403 - preserveAllComments: true, - }, - minify: false, // for loader, we don't need to minify, we do minification using plugin - sourceMaps: true, - env: { - targets: '> 0.01%, not dead, not op_mini all', - }, - exclude: [], - inlineSourcesContent: true, - }; -} - -/** - * @deprecated Using builderPluginSwc instead. - */ -export const PluginSwc = builderPluginSwc; diff --git a/packages/builder/plugin-swc/src/types.ts b/packages/builder/plugin-swc/src/types.ts deleted file mode 100644 index 08559c6200b9..000000000000 --- a/packages/builder/plugin-swc/src/types.ts +++ /dev/null @@ -1,67 +0,0 @@ -import type { - EnvConfig, - Extensions, - JsMinifyOptions, - ReactConfig, - TransformConfig, -} from '@modern-js/swc-plugins'; -import type { lodash as _ } from '@modern-js/utils'; - -export type { - Output, - TransformConfig, - JsMinifyOptions, - TerserCompressOptions, -} from '@modern-js/swc-plugins'; - -export type OuterExtensions = Omit< - Extensions, - 'ssrLoaderId' | 'configRoutes' -> & { - /** - * @deprecated - */ - // for backwards compatibility - modernjsSsrLoaderId?: boolean; -}; - -export interface ObjPluginSwcOptions - extends TransformConfig { - presetReact?: ReactConfig; - presetEnv?: EnvConfig; - - jsMinify?: boolean | JsMinifyOptions; - cssMinify?: boolean | CssMinifyOptions; - - extensions?: T extends 'inner' ? Extensions : OuterExtensions; - - overrides?: Override[]; -} - -export type Override = Omit< - ObjPluginSwcOptions, - 'test' | 'include' | 'exclude' -> & { - test?: RegExp; - include?: RegExp[]; - exclude?: RegExp[]; -}; - -export type FnPluginSwcOptions = ( - config: TransformConfig, - utilities: Utilities, -) => void | TransformConfig; - -export type PluginSwcOptions = - | ObjPluginSwcOptions - | FnPluginSwcOptions; - -interface Utilities { - mergeConfig: typeof _.merge; - setConfig: typeof _.set; -} - -export interface CssMinifyOptions { - sourceMap?: boolean; - inlineSourceContent?: boolean; -} diff --git a/packages/builder/plugin-swc/src/utils.ts b/packages/builder/plugin-swc/src/utils.ts deleted file mode 100644 index cc60e3bf03e3..000000000000 --- a/packages/builder/plugin-swc/src/utils.ts +++ /dev/null @@ -1,232 +0,0 @@ -import { - applyOptionsChain, - getCoreJsVersion, - isBeyondReact17, - logger, - lodash as _, -} from '@modern-js/utils'; -import { NormalizedConfig } from '@modern-js/builder-webpack-provider'; -import { - ModifyChainUtils, - getBrowserslistWithDefault, - getDefaultStyledComponentsConfig, - isUsingHMR, -} from '@modern-js/builder-shared'; -import { Extensions } from '@modern-js/swc-plugins'; -import { getDefaultSwcConfig } from './plugin'; -import { - ObjPluginSwcOptions, - OuterExtensions, - PluginSwcOptions, - TransformConfig, -} from './types'; -import { CORE_JS_DIR_PATH, SWC_HELPERS_DIR_PATH } from './constants'; - -/** - * Determin react runtime mode based on react version - */ -export function determinePresetReact( - root: string, - pluginConfig: ObjPluginSwcOptions, -) { - const presetReact = - pluginConfig.presetReact || (pluginConfig.presetReact = {}); - - presetReact.runtime ??= isBeyondReact17(root) ? 'automatic' : 'classic'; -} - -const BUILDER_SWC_DEBUG_MODE = 'BUILDER_SWC_DEBUG_MODE'; -export function isDebugMode(): boolean { - return process.env[BUILDER_SWC_DEBUG_MODE] !== undefined; -} - -export function checkUseMinify( - options: ObjPluginSwcOptions, - config: NormalizedConfig, - isProd: boolean, -) { - return ( - isProd && - !config.output.disableMinimize && - (options.jsMinify !== false || options.cssMinify !== false) - ); -} - -const PLUGIN_ONLY_OPTIONS: (keyof ObjPluginSwcOptions)[] = [ - 'presetReact', - 'presetEnv', - 'jsMinify', - 'cssMinify', - 'overrides', - 'test', - 'exclude', - 'include' as unknown as keyof ObjPluginSwcOptions, // include is not in SWC config, but we need it as loader condition -]; - -export interface FinalizedConfig { - test?: RegExp; - include?: RegExp[]; - exclude?: RegExp[]; - swcConfig: ObjPluginSwcOptions; -} - -export function removeUselessOptions( - obj: ObjPluginSwcOptions, -): TransformConfig { - const output = { ...obj }; - - for (const key of PLUGIN_ONLY_OPTIONS) { - delete output[key]; - } - - return output; -} - -export async function finalizeConfig( - userConfig: PluginSwcOptions, - builderSetConfig: TransformConfig, -): Promise { - const isUsingFnOptions = typeof userConfig === 'function'; - - const objConfig = isUsingFnOptions ? {} : userConfig; - const defaultConfig = getDefaultSwcConfig(); - - // apply swc default config - let swcConfig: ObjPluginSwcOptions = _.merge( - {}, - defaultConfig, - builderSetConfig, - objConfig, - ); - - if (isUsingFnOptions) { - const { lodash: _ } = await import('@modern-js/utils'); - const ret = userConfig(swcConfig, { - mergeConfig: _.merge, - setConfig: _.set, - }); - - if (ret) { - swcConfig = ret; - } - } - - // apply overrides - const overrides = swcConfig.overrides || []; - - const finalized: FinalizedConfig[] = [{ swcConfig }]; - - for (const override of overrides) { - finalized.push({ - test: override.test, - include: override.include, - exclude: override.exclude, - swcConfig: _.merge({}, swcConfig, override), - }); - } - - return finalized; -} - -export async function applyPluginConfig( - rawOptions: PluginSwcOptions, - utils: ModifyChainUtils, - builderConfig: NormalizedConfig, - rootPath: string, -): Promise { - const isUsingFnOptions = typeof rawOptions === 'function'; - const { target, isProd } = utils; - - // if using function type config, create an empty config - // and then invoke function with this config - const pluginOptions = isUsingFnOptions ? {} : rawOptions; - - determinePresetReact(rootPath, pluginOptions); - - const swc = { - jsc: { - transform: { - react: { - refresh: isUsingHMR(builderConfig, utils), - }, - }, - }, - env: pluginOptions.presetEnv || {}, - extensions: { ...pluginOptions.extensions }, - cwd: rootPath, - } satisfies TransformConfig; - - if (pluginOptions.presetReact) { - swc.jsc.transform.react = { - ...swc.jsc.transform.react, - ...pluginOptions.presetReact, - }; - } - - const { polyfill } = builderConfig.output; - if (swc.env.mode === undefined && polyfill !== 'ua' && polyfill !== 'off') { - swc.env.mode = polyfill; - } - - if (!swc.env.coreJs) { - const CORE_JS_PATH = require.resolve('core-js/package.json'); - swc.env.coreJs = getCoreJsVersion(CORE_JS_PATH); - } - - // If `targets` is not specified manually, we get `browserslist` from project. - if (!swc.env.targets) { - swc.env.targets = await getBrowserslistWithDefault( - rootPath, - builderConfig, - target, - ); - } - - const isSSR = target === 'node'; - - if ( - builderConfig.tools.styledComponents !== false && - swc.extensions?.styledComponents !== false - ) { - const styledComponentsOptions = applyOptionsChain( - getDefaultStyledComponentsConfig(isProd, isSSR), - builderConfig.tools.styledComponents, - ); - swc.extensions.styledComponents = { - ...styledComponentsOptions, - ...(typeof swc.extensions.styledComponents === 'object' - ? swc.extensions?.styledComponents - : {}), - }; - } - - const extensions: Extensions | OuterExtensions = - // eslint-disable-next-line no-multi-assign - (swc.extensions ??= {}); - - if (builderConfig.source?.transformImport) { - extensions.pluginImport ??= []; - extensions.pluginImport.push(...builderConfig.source.transformImport); - } - - if (builderConfig.performance?.transformLodash) { - extensions.lodash = { - cwd: rootPath, - ids: ['lodash', 'lodash-es'], - }; - } - - extensions.lockCorejsVersion ??= { - corejs: CORE_JS_DIR_PATH, - swcHelpers: SWC_HELPERS_DIR_PATH, - }; - - /** - * SWC can't use latestDecorator in TypeScript file for now - */ - if (builderConfig.output.enableLatestDecorators) { - logger.warn('Cannot use latestDecorator in SWC compiler.'); - } - - return await finalizeConfig(rawOptions, swc); -} diff --git a/packages/builder/plugin-swc/tests/__snapshots__/index.test.ts.snap b/packages/builder/plugin-swc/tests/__snapshots__/index.test.ts.snap deleted file mode 100644 index bd3ca8427456..000000000000 --- a/packages/builder/plugin-swc/tests/__snapshots__/index.test.ts.snap +++ /dev/null @@ -1,11 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`fixtures > error reporter > transform parse error 1`] = ` -[Error: - x Expected ')', got 'const' - ,-[anonymous:1:1] - 1 | if ((1) const a = 1 - : ^^^^^ - \`---- -] -`; diff --git a/packages/builder/plugin-swc/tests/__snapshots__/plugin.test.ts.snap b/packages/builder/plugin-swc/tests/__snapshots__/plugin.test.ts.snap deleted file mode 100644 index 31f8040f2406..000000000000 --- a/packages/builder/plugin-swc/tests/__snapshots__/plugin.test.ts.snap +++ /dev/null @@ -1,910 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`plugins/swc > should apply source.include and source.exclude correctly 1`] = ` -{ - "module": { - "rules": [ - { - "exclude": [ - /bar/, - ], - "include": [ - { - "and": [ - "", - { - "not": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]/, - }, - ], - }, - /foo/, - ], - "test": /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$\\|\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - "use": [ - { - "loader": "/src/loader", - "options": { - "cwd": "", - "env": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "extensions": { - "lockCorejsVersion": { - "corejs": "/node_modules//core-js", - "swcHelpers": "/node_modules//@swc/helpers", - }, - "lodash": { - "cwd": "", - "ids": [ - "lodash", - "lodash-es", - ], - }, - "styledComponents": { - "displayName": true, - "pure": false, - "ssr": false, - "transpileTemplateLiterals": true, - }, - }, - "inlineSourcesContent": true, - "jsc": { - "externalHelpers": true, - "parser": { - "decorators": true, - "syntax": "typescript", - "tsx": true, - }, - "preserveAllComments": true, - "transform": { - "react": { - "refresh": true, - "runtime": "automatic", - }, - }, - }, - "minify": false, - "sourceMaps": true, - }, - }, - ], - }, - { - "mimetype": { - "or": [ - "text/javascript", - "application/javascript", - ], - }, - "use": [ - { - "loader": "/src/loader", - "options": { - "cwd": "", - "env": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "extensions": { - "lockCorejsVersion": { - "corejs": "/node_modules//core-js", - "swcHelpers": "/node_modules//@swc/helpers", - }, - "lodash": { - "cwd": "", - "ids": [ - "lodash", - "lodash-es", - ], - }, - "styledComponents": { - "displayName": true, - "pure": false, - "ssr": false, - "transpileTemplateLiterals": true, - }, - }, - "inlineSourcesContent": true, - "jsc": { - "externalHelpers": true, - "parser": { - "decorators": true, - "syntax": "typescript", - "tsx": true, - }, - "preserveAllComments": true, - "transform": { - "react": { - "refresh": true, - "runtime": "automatic", - }, - }, - }, - "minify": false, - "sourceMaps": true, - }, - }, - ], - }, - ], - }, -} -`; - -exports[`plugins/swc > should disable react refresh when dev.hmr is false 1`] = ` -{ - "rules": [ - { - "test": /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$\\|\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - "use": [ - { - "loader": "/src/loader", - "options": { - "cwd": "", - "env": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "extensions": { - "lockCorejsVersion": { - "corejs": "/node_modules//core-js", - "swcHelpers": "/node_modules//@swc/helpers", - }, - "lodash": { - "cwd": "", - "ids": [ - "lodash", - "lodash-es", - ], - }, - "styledComponents": { - "displayName": true, - "pure": false, - "ssr": false, - "transpileTemplateLiterals": true, - }, - }, - "inlineSourcesContent": true, - "jsc": { - "externalHelpers": true, - "parser": { - "decorators": true, - "syntax": "typescript", - "tsx": true, - }, - "preserveAllComments": true, - "transform": { - "react": { - "refresh": false, - "runtime": "automatic", - }, - }, - }, - "minify": false, - "sourceMaps": true, - }, - }, - ], - }, - ], -} -`; - -exports[`plugins/swc > should disable react refresh when target is not web 1`] = ` -{ - "rules": [ - { - "test": /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$\\|\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - "use": [ - { - "loader": "/src/loader", - "options": { - "cwd": "", - "env": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "chrome >= 61", - "edge >= 16", - "firefox >= 60", - "safari >= 11", - "ios_saf >= 11", - ], - }, - "extensions": { - "lockCorejsVersion": { - "corejs": "/node_modules//core-js", - "swcHelpers": "/node_modules//@swc/helpers", - }, - "lodash": { - "cwd": "", - "ids": [ - "lodash", - "lodash-es", - ], - }, - "styledComponents": { - "displayName": true, - "pure": false, - "ssr": false, - "transpileTemplateLiterals": true, - }, - }, - "inlineSourcesContent": true, - "jsc": { - "externalHelpers": true, - "parser": { - "decorators": true, - "syntax": "typescript", - "tsx": true, - }, - "preserveAllComments": true, - "transform": { - "react": { - "refresh": true, - "runtime": "automatic", - }, - }, - }, - "minify": false, - "sourceMaps": true, - }, - }, - ], - }, - ], -} -`; - -exports[`plugins/swc > should disable react refresh when target is not web 2`] = ` -{ - "rules": [ - { - "test": /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$\\|\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - "use": [ - { - "loader": "/src/loader", - "options": { - "cwd": "", - "env": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "node >= 14", - ], - }, - "extensions": { - "lockCorejsVersion": { - "corejs": "/node_modules//core-js", - "swcHelpers": "/node_modules//@swc/helpers", - }, - "lodash": { - "cwd": "", - "ids": [ - "lodash", - "lodash-es", - ], - }, - "styledComponents": { - "displayName": true, - "pure": false, - "ssr": true, - "transpileTemplateLiterals": true, - }, - }, - "inlineSourcesContent": true, - "jsc": { - "externalHelpers": true, - "parser": { - "decorators": true, - "syntax": "typescript", - "tsx": true, - }, - "preserveAllComments": true, - "transform": { - "react": { - "refresh": false, - "runtime": "automatic", - }, - }, - }, - "minify": false, - "sourceMaps": true, - }, - }, - ], - }, - ], -} -`; - -exports[`plugins/swc > should disable react refresh when target is not web 3`] = ` -{ - "rules": [ - { - "test": /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$\\|\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - "use": [ - { - "loader": "/src/loader", - "options": { - "cwd": "", - "env": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "extensions": { - "lockCorejsVersion": { - "corejs": "/node_modules//core-js", - "swcHelpers": "/node_modules//@swc/helpers", - }, - "lodash": { - "cwd": "", - "ids": [ - "lodash", - "lodash-es", - ], - }, - "styledComponents": { - "displayName": true, - "pure": false, - "ssr": false, - "transpileTemplateLiterals": true, - }, - }, - "inlineSourcesContent": true, - "jsc": { - "externalHelpers": true, - "parser": { - "decorators": true, - "syntax": "typescript", - "tsx": true, - }, - "preserveAllComments": true, - "transform": { - "react": { - "refresh": false, - "runtime": "automatic", - }, - }, - }, - "minify": false, - "sourceMaps": true, - }, - }, - ], - }, - ], -} -`; - -exports[`plugins/swc > should disable react refresh when target is not web 4`] = ` -{ - "rules": [ - { - "test": /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$\\|\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - "use": [ - { - "loader": "/src/loader", - "options": { - "cwd": "", - "env": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "extensions": { - "lockCorejsVersion": { - "corejs": "/node_modules//core-js", - "swcHelpers": "/node_modules//@swc/helpers", - }, - "lodash": { - "cwd": "", - "ids": [ - "lodash", - "lodash-es", - ], - }, - "styledComponents": { - "displayName": true, - "pure": false, - "ssr": false, - "transpileTemplateLiterals": true, - }, - }, - "inlineSourcesContent": true, - "jsc": { - "externalHelpers": true, - "parser": { - "decorators": true, - "syntax": "typescript", - "tsx": true, - }, - "preserveAllComments": true, - "transform": { - "react": { - "refresh": true, - "runtime": "automatic", - }, - }, - }, - "minify": false, - "sourceMaps": true, - }, - }, - ], - }, - ], -} -`; - -exports[`plugins/swc > should disable react refresh when target is not web 5`] = ` -{ - "rules": [ - { - "test": /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$\\|\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - "use": [ - { - "loader": "/src/loader", - "options": { - "cwd": "", - "env": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "extensions": { - "lockCorejsVersion": { - "corejs": "/node_modules//core-js", - "swcHelpers": "/node_modules//@swc/helpers", - }, - "lodash": { - "cwd": "", - "ids": [ - "lodash", - "lodash-es", - ], - }, - "styledComponents": { - "displayName": true, - "pure": false, - "ssr": false, - "transpileTemplateLiterals": true, - }, - }, - "inlineSourcesContent": true, - "jsc": { - "externalHelpers": true, - "parser": { - "decorators": true, - "syntax": "typescript", - "tsx": true, - }, - "preserveAllComments": true, - "transform": { - "react": { - "refresh": false, - "runtime": "automatic", - }, - }, - }, - "minify": false, - "sourceMaps": true, - }, - }, - ], - }, - ], -} -`; - -exports[`plugins/swc > should set correct swc minimizer options in production 1`] = ` -{ - "minimizer": [ - SwcMinimizerPlugin { - "minifyOptions": { - "cssMinify": {}, - "jsMinify": { - "compress": false, - "mangle": false, - }, - }, - "name": "swc-minimizer-plugin", - }, - ], -} -`; - -exports[`plugins/swc > should set correct swc minimizer options using raw swc config 1`] = ` -{ - "minimizer": [ - SwcMinimizerPlugin { - "minifyOptions": { - "cssMinify": {}, - "jsMinify": { - "compress": false, - "mangle": false, - }, - }, - "name": "swc-minimizer-plugin", - }, - ], -} -`; - -exports[`plugins/swc > should set multiple swc-loader 1`] = ` -[ - { - "include": [ - { - "and": [ - "", - { - "not": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]/, - }, - ], - }, - ], - "test": /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$\\|\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - "use": [ - { - "loader": "/src/loader", - "options": { - "cwd": "", - "env": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "extensions": { - "lockCorejsVersion": { - "corejs": "/node_modules//core-js", - "swcHelpers": "/node_modules//@swc/helpers", - }, - "lodash": { - "cwd": "", - "ids": [ - "lodash", - "lodash-es", - ], - }, - "styledComponents": { - "displayName": true, - "pure": false, - "ssr": false, - "transpileTemplateLiterals": true, - }, - }, - "inlineSourcesContent": true, - "jsc": { - "externalHelpers": true, - "parser": { - "decorators": true, - "syntax": "typescript", - "tsx": true, - }, - "preserveAllComments": true, - "transform": { - "react": { - "refresh": true, - "runtime": "automatic", - }, - "useDefineForClassFields": true, - }, - }, - "minify": false, - "sourceMaps": true, - }, - }, - ], - }, - { - "mimetype": { - "or": [ - "text/javascript", - "application/javascript", - ], - }, - "use": [ - { - "loader": "/src/loader", - "options": { - "cwd": "", - "env": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "extensions": { - "lockCorejsVersion": { - "corejs": "/node_modules//core-js", - "swcHelpers": "/node_modules//@swc/helpers", - }, - "lodash": { - "cwd": "", - "ids": [ - "lodash", - "lodash-es", - ], - }, - "styledComponents": { - "displayName": true, - "pure": false, - "ssr": false, - "transpileTemplateLiterals": true, - }, - }, - "inlineSourcesContent": true, - "jsc": { - "externalHelpers": true, - "parser": { - "decorators": true, - "syntax": "typescript", - "tsx": true, - }, - "preserveAllComments": true, - "transform": { - "react": { - "refresh": true, - "runtime": "automatic", - }, - "useDefineForClassFields": true, - }, - }, - "minify": false, - "sourceMaps": true, - }, - }, - ], - }, - { - "test": /override\\.ts/, - "use": [ - { - "loader": "/src/loader", - "options": { - "cwd": "", - "env": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "extensions": { - "lockCorejsVersion": { - "corejs": "/node_modules//core-js", - "swcHelpers": "/node_modules//@swc/helpers", - }, - "lodash": { - "cwd": "", - "ids": [ - "lodash", - "lodash-es", - ], - }, - "styledComponents": { - "displayName": true, - "pure": false, - "ssr": false, - "transpileTemplateLiterals": true, - }, - }, - "inlineSourcesContent": true, - "jsc": { - "externalHelpers": true, - "parser": { - "decorators": true, - "syntax": "typescript", - "tsx": true, - }, - "preserveAllComments": true, - "transform": { - "react": { - "refresh": true, - "runtime": "automatic", - }, - "useDefineForClassFields": false, - }, - }, - "minify": false, - "sourceMaps": true, - }, - }, - ], - }, -] -`; - -exports[`plugins/swc > should set swc minimizer in production 1`] = ` -{ - "minimizer": [ - SwcMinimizerPlugin { - "minifyOptions": { - "cssMinify": {}, - "jsMinify": { - "compress": {}, - "mangle": true, - }, - }, - "name": "swc-minimizer-plugin", - }, - ], -} -`; - -exports[`plugins/swc > should set swc-loader 1`] = ` -{ - "module": { - "rules": [ - { - "include": [ - { - "and": [ - "", - { - "not": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]/, - }, - ], - }, - ], - "test": /\\\\\\.\\(js\\|mjs\\|cjs\\|jsx\\)\\$\\|\\\\\\.\\(ts\\|mts\\|cts\\|tsx\\)\\$/, - "use": [ - { - "loader": "/src/loader", - "options": { - "cwd": "", - "env": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "extensions": { - "lockCorejsVersion": { - "corejs": "/node_modules//core-js", - "swcHelpers": "/node_modules//@swc/helpers", - }, - "lodash": { - "cwd": "", - "ids": [ - "lodash", - "lodash-es", - ], - }, - "styledComponents": { - "displayName": true, - "pure": false, - "ssr": false, - "transpileTemplateLiterals": true, - }, - }, - "inlineSourcesContent": true, - "jsc": { - "externalHelpers": true, - "parser": { - "decorators": true, - "syntax": "typescript", - "tsx": true, - }, - "preserveAllComments": true, - "transform": { - "react": { - "refresh": true, - "runtime": "automatic", - }, - }, - }, - "minify": false, - "sourceMaps": true, - }, - }, - ], - }, - { - "mimetype": { - "or": [ - "text/javascript", - "application/javascript", - ], - }, - "use": [ - { - "loader": "/src/loader", - "options": { - "cwd": "", - "env": { - "coreJs": "3.32", - "mode": "entry", - "targets": [ - "> 0.01%", - "not dead", - "not op_mini all", - ], - }, - "extensions": { - "lockCorejsVersion": { - "corejs": "/node_modules//core-js", - "swcHelpers": "/node_modules//@swc/helpers", - }, - "lodash": { - "cwd": "", - "ids": [ - "lodash", - "lodash-es", - ], - }, - "styledComponents": { - "displayName": true, - "pure": false, - "ssr": false, - "transpileTemplateLiterals": true, - }, - }, - "inlineSourcesContent": true, - "jsc": { - "externalHelpers": true, - "parser": { - "decorators": true, - "syntax": "typescript", - "tsx": true, - }, - "preserveAllComments": true, - "transform": { - "react": { - "refresh": true, - "runtime": "automatic", - }, - }, - }, - "minify": false, - "sourceMaps": true, - }, - }, - ], - }, - ], - }, -} -`; diff --git a/packages/builder/plugin-swc/tests/browserslist.ts b/packages/builder/plugin-swc/tests/browserslist.ts deleted file mode 100644 index 50007a976577..000000000000 --- a/packages/builder/plugin-swc/tests/browserslist.ts +++ /dev/null @@ -1,40 +0,0 @@ -import * as path from 'path'; -import * as fs from 'fs'; -import { getBrowserslist } from '@modern-js/utils'; -import { expect } from 'vitest'; -import { transformSync } from '../src/binding'; -import { - isInUpdate, - replaceCorejsAndSwcHelps, - walkLeafDir, - applyDefaultConfig, -} from './utils'; - -const testPath = path.resolve(__dirname, 'fixtures/browserslist'); - -export async function lookForBrowserslist() { - await walkLeafDir(testPath, async dir => { - const browserslist = getBrowserslist(dir); - - const { code } = transformSync( - applyDefaultConfig({ - env: { targets: browserslist, mode: 'entry' }, - }), - '', - fs.readFileSync(path.resolve(dir, 'actual.js')).toString(), - ); - - const expectedPath = path.resolve(dir, 'expected.js'); - const finalCode = replaceCorejsAndSwcHelps(code); - - if (!fs.existsSync(expectedPath) || isInUpdate()) { - // Initialize - fs.writeFileSync(expectedPath, finalCode); - } else { - const expected = fs.readFileSync(expectedPath).toString(); - expect(finalCode, `test base: ${dir}`).toEqual( - expected.replace(new RegExp('\r\n', 'g'), '\n'), - ); - } - }); -} diff --git a/packages/builder/plugin-swc/tests/concurrent.test.ts b/packages/builder/plugin-swc/tests/concurrent.test.ts deleted file mode 100644 index 3f885b0c2e8f..000000000000 --- a/packages/builder/plugin-swc/tests/concurrent.test.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { assert, describe, test } from 'vitest'; -import { Compiler } from '../src/binding'; -import type { TransformConfig } from '@modern-js/swc-plugins'; - -describe('concurrent compile', async () => { - test('transform and transformSync', async () => { - const COUNT = 1; - const exampleA = new Array(COUNT) - .fill('') - .map((_, i) => `import {Foo${i}} from "fooA";console.log(Foo${i})`) - .join('\n'); - const expectedA = new Array(COUNT) - .fill('') - .map((_, i) => `import Foo${i} from "fooA/foo${i}";`) - .join('\n'); - const exampleB = new Array(COUNT) - .fill('') - .map((_, i) => `import {Foo${i}} from "fooB";console.log(Foo${i})`) - .join('\n'); - const expectedB = new Array(COUNT) - .fill('') - .map((_, i) => `import Foo${i} from "fooB/foo${i}";`) - .join('\n'); - const exampleC = new Array(COUNT) - .fill('') - .map((_, i) => `import {Foo${i}} from "fooC";console.log(Foo${i})`) - .join('\n'); - const expectedC = new Array(COUNT) - .fill('') - .map((_, i) => `import Foo${i} from "fooC/foo${i}";`) - .join('\n'); - - const compiler = new Compiler({ - module: { - type: 'es6', - }, - extensions: { - pluginImport: [ - { - libraryName: 'fooA', - customName(member: string) { - return `fooA/${member.toLowerCase()}`; - }, - }, - { - libraryName: 'fooB', - customName(member: string) { - return `fooB/${member.toLowerCase()}`; - }, - }, - { - libraryName: 'fooC', - customName(member: string) { - return `fooC/${member.toLowerCase()}`; - }, - }, - ], - }, - } as Required); - - const [{ code: resA }, { code: resB }, { code: resC }] = await Promise.all([ - compiler.transform('', exampleA), - compiler.transform('', exampleB), - compiler.transformSync('', exampleC), - ]); - - assert(resA.includes(expectedA)); - assert(resB.includes(expectedB)); - assert(resC.includes(expectedC)); - assert(exampleA); - }); -}); diff --git a/packages/builder/plugin-swc/tests/core-js.ts b/packages/builder/plugin-swc/tests/core-js.ts deleted file mode 100644 index 7a7d3b9876d3..000000000000 --- a/packages/builder/plugin-swc/tests/core-js.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { transformSync } from '../src/binding'; -import { describe } from 'vitest'; - -describe('run code', () => { - const { code } = transformSync( - { - env: { - targets: 'ie 9', - mode: 'entry', - }, - }, - 'test.js', - 'import "core-js"', - ); - - try { - eval(code); - } catch (e) {} -}); diff --git a/packages/builder/plugin-swc/tests/fixtures/browserslist/chrome104/actual.js b/packages/builder/plugin-swc/tests/fixtures/browserslist/chrome104/actual.js deleted file mode 100644 index bb00c4c52043..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/browserslist/chrome104/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import 'core-js'; - -export async function f() {} diff --git a/packages/builder/plugin-swc/tests/fixtures/browserslist/chrome104/expected.js b/packages/builder/plugin-swc/tests/fixtures/browserslist/chrome104/expected.js deleted file mode 100644 index 87ac94a957f4..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/browserslist/chrome104/expected.js +++ /dev/null @@ -1,79 +0,0 @@ -import "/modules/es.regexp.flags.js"; -import "/modules/esnext.array.last-index.js"; -import "/modules/esnext.array.last-item.js"; -import "/modules/esnext.composite-key.js"; -import "/modules/esnext.composite-symbol.js"; -import "/modules/esnext.map.delete-all.js"; -import "/modules/esnext.map.every.js"; -import "/modules/esnext.map.filter.js"; -import "/modules/esnext.map.find.js"; -import "/modules/esnext.map.find-key.js"; -import "/modules/esnext.map.from.js"; -import "/modules/esnext.map.group-by.js"; -import "/modules/esnext.map.includes.js"; -import "/modules/esnext.map.key-by.js"; -import "/modules/esnext.map.key-of.js"; -import "/modules/esnext.map.map-keys.js"; -import "/modules/esnext.map.map-values.js"; -import "/modules/esnext.map.merge.js"; -import "/modules/esnext.map.of.js"; -import "/modules/esnext.map.reduce.js"; -import "/modules/esnext.map.some.js"; -import "/modules/esnext.map.update.js"; -import "/modules/esnext.math.clamp.js"; -import "/modules/esnext.math.deg-per-rad.js"; -import "/modules/esnext.math.degrees.js"; -import "/modules/esnext.math.fscale.js"; -import "/modules/esnext.math.iaddh.js"; -import "/modules/esnext.math.imulh.js"; -import "/modules/esnext.math.isubh.js"; -import "/modules/esnext.math.rad-per-deg.js"; -import "/modules/esnext.math.radians.js"; -import "/modules/esnext.math.scale.js"; -import "/modules/esnext.math.seeded-prng.js"; -import "/modules/esnext.math.signbit.js"; -import "/modules/esnext.math.umulh.js"; -import "/modules/esnext.number.from-string.js"; -import "/modules/esnext.observable.js"; -import "/modules/esnext.promise.try.js"; -import "/modules/esnext.reflect.define-metadata.js"; -import "/modules/esnext.reflect.delete-metadata.js"; -import "/modules/esnext.reflect.get-metadata.js"; -import "/modules/esnext.reflect.get-metadata-keys.js"; -import "/modules/esnext.reflect.get-own-metadata.js"; -import "/modules/esnext.reflect.get-own-metadata-keys.js"; -import "/modules/esnext.reflect.has-metadata.js"; -import "/modules/esnext.reflect.has-own-metadata.js"; -import "/modules/esnext.reflect.metadata.js"; -import "/modules/esnext.set.add-all.js"; -import "/modules/esnext.set.delete-all.js"; -import "/modules/esnext.set.difference.js"; -import "/modules/esnext.set.every.js"; -import "/modules/esnext.set.filter.js"; -import "/modules/esnext.set.find.js"; -import "/modules/esnext.set.from.js"; -import "/modules/esnext.set.intersection.js"; -import "/modules/esnext.set.is-disjoint-from.js"; -import "/modules/esnext.set.is-subset-of.js"; -import "/modules/esnext.set.is-superset-of.js"; -import "/modules/esnext.set.join.js"; -import "/modules/esnext.set.map.js"; -import "/modules/esnext.set.of.js"; -import "/modules/esnext.set.reduce.js"; -import "/modules/esnext.set.some.js"; -import "/modules/esnext.set.symmetric-difference.js"; -import "/modules/esnext.set.union.js"; -import "/modules/esnext.string.at.js"; -import "/modules/esnext.string.code-points.js"; -import "/modules/esnext.symbol.dispose.js"; -import "/modules/esnext.symbol.observable.js"; -import "/modules/esnext.symbol.pattern-match.js"; -import "/modules/esnext.weak-map.delete-all.js"; -import "/modules/esnext.weak-map.from.js"; -import "/modules/esnext.weak-map.of.js"; -import "/modules/esnext.weak-set.add-all.js"; -import "/modules/esnext.weak-set.delete-all.js"; -import "/modules/esnext.weak-set.from.js"; -import "/modules/esnext.weak-set.of.js"; -import "/modules/web.immediate.js"; -export async function f() {} diff --git a/packages/builder/plugin-swc/tests/fixtures/browserslist/chrome104/option.json b/packages/builder/plugin-swc/tests/fixtures/browserslist/chrome104/option.json deleted file mode 100644 index 0967ef424bce..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/browserslist/chrome104/option.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/builder/plugin-swc/tests/fixtures/browserslist/chrome104/package.json b/packages/builder/plugin-swc/tests/fixtures/browserslist/chrome104/package.json deleted file mode 100644 index a42f942440fb..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/browserslist/chrome104/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "browserslist": [ - "chrome 104.0" - ] -} diff --git a/packages/builder/plugin-swc/tests/fixtures/browserslist/ie11/actual.js b/packages/builder/plugin-swc/tests/fixtures/browserslist/ie11/actual.js deleted file mode 100644 index 655faa9b211e..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/browserslist/ie11/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import 'core-js'; - -export async function f() { } diff --git a/packages/builder/plugin-swc/tests/fixtures/browserslist/ie11/expected.js b/packages/builder/plugin-swc/tests/fixtures/browserslist/ie11/expected.js deleted file mode 100644 index b23b0e3b9a0c..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/browserslist/ie11/expected.js +++ /dev/null @@ -1,279 +0,0 @@ -import { _ as _async_to_generator } from "/_/_async_to_generator"; -import { _ as _ts_generator } from "/_/_ts_generator"; -import "/modules/es.symbol.js"; -import "/modules/es.symbol.description.js"; -import "/modules/es.symbol.async-iterator.js"; -import "/modules/es.symbol.has-instance.js"; -import "/modules/es.symbol.is-concat-spreadable.js"; -import "/modules/es.symbol.iterator.js"; -import "/modules/es.symbol.match.js"; -import "/modules/es.symbol.replace.js"; -import "/modules/es.symbol.search.js"; -import "/modules/es.symbol.species.js"; -import "/modules/es.symbol.split.js"; -import "/modules/es.symbol.to-primitive.js"; -import "/modules/es.symbol.to-string-tag.js"; -import "/modules/es.symbol.unscopables.js"; -import "/modules/es.array.concat.js"; -import "/modules/es.array.copy-within.js"; -import "/modules/es.array.fill.js"; -import "/modules/es.array.filter.js"; -import "/modules/es.array.find.js"; -import "/modules/es.array.find-index.js"; -import "/modules/es.array.flat.js"; -import "/modules/es.array.flat-map.js"; -import "/modules/es.array.from.js"; -import "/modules/es.array.includes.js"; -import "/modules/es.array.iterator.js"; -import "/modules/es.array.join.js"; -import "/modules/es.array.map.js"; -import "/modules/es.array.of.js"; -import "/modules/es.array.slice.js"; -import "/modules/es.array.sort.js"; -import "/modules/es.array.species.js"; -import "/modules/es.array.splice.js"; -import "/modules/es.array.unscopables.flat.js"; -import "/modules/es.array.unscopables.flat-map.js"; -import "/modules/es.array-buffer.constructor.js"; -import "/modules/es.date.to-primitive.js"; -import "/modules/es.function.has-instance.js"; -import "/modules/es.function.name.js"; -import "/modules/es.json.to-string-tag.js"; -import "/modules/es.map.js"; -import "/modules/es.math.acosh.js"; -import "/modules/es.math.asinh.js"; -import "/modules/es.math.atanh.js"; -import "/modules/es.math.cbrt.js"; -import "/modules/es.math.clz32.js"; -import "/modules/es.math.cosh.js"; -import "/modules/es.math.expm1.js"; -import "/modules/es.math.fround.js"; -import "/modules/es.math.hypot.js"; -import "/modules/es.math.imul.js"; -import "/modules/es.math.log10.js"; -import "/modules/es.math.log1p.js"; -import "/modules/es.math.log2.js"; -import "/modules/es.math.sign.js"; -import "/modules/es.math.sinh.js"; -import "/modules/es.math.tanh.js"; -import "/modules/es.math.to-string-tag.js"; -import "/modules/es.math.trunc.js"; -import "/modules/es.number.constructor.js"; -import "/modules/es.number.epsilon.js"; -import "/modules/es.number.is-finite.js"; -import "/modules/es.number.is-integer.js"; -import "/modules/es.number.is-nan.js"; -import "/modules/es.number.is-safe-integer.js"; -import "/modules/es.number.max-safe-integer.js"; -import "/modules/es.number.min-safe-integer.js"; -import "/modules/es.number.parse-float.js"; -import "/modules/es.number.parse-int.js"; -import "/modules/es.number.to-fixed.js"; -import "/modules/es.object.assign.js"; -import "/modules/es.object.define-getter.js"; -import "/modules/es.object.define-setter.js"; -import "/modules/es.object.entries.js"; -import "/modules/es.object.freeze.js"; -import "/modules/es.object.from-entries.js"; -import "/modules/es.object.get-own-property-descriptor.js"; -import "/modules/es.object.get-own-property-descriptors.js"; -import "/modules/es.object.get-own-property-names.js"; -import "/modules/es.object.get-prototype-of.js"; -import "/modules/es.object.is.js"; -import "/modules/es.object.is-extensible.js"; -import "/modules/es.object.is-frozen.js"; -import "/modules/es.object.is-sealed.js"; -import "/modules/es.object.keys.js"; -import "/modules/es.object.lookup-getter.js"; -import "/modules/es.object.lookup-setter.js"; -import "/modules/es.object.prevent-extensions.js"; -import "/modules/es.object.seal.js"; -import "/modules/es.object.to-string.js"; -import "/modules/es.object.values.js"; -import "/modules/es.promise.js"; -import "/modules/es.promise.finally.js"; -import "/modules/es.reflect.apply.js"; -import "/modules/es.reflect.construct.js"; -import "/modules/es.reflect.define-property.js"; -import "/modules/es.reflect.delete-property.js"; -import "/modules/es.reflect.get.js"; -import "/modules/es.reflect.get-own-property-descriptor.js"; -import "/modules/es.reflect.get-prototype-of.js"; -import "/modules/es.reflect.has.js"; -import "/modules/es.reflect.is-extensible.js"; -import "/modules/es.reflect.own-keys.js"; -import "/modules/es.reflect.prevent-extensions.js"; -import "/modules/es.reflect.set.js"; -import "/modules/es.reflect.set-prototype-of.js"; -import "/modules/es.regexp.constructor.js"; -import "/modules/es.regexp.exec.js"; -import "/modules/es.regexp.flags.js"; -import "/modules/es.regexp.to-string.js"; -import "/modules/es.set.js"; -import "/modules/es.string.code-point-at.js"; -import "/modules/es.string.ends-with.js"; -import "/modules/es.string.from-code-point.js"; -import "/modules/es.string.includes.js"; -import "/modules/es.string.iterator.js"; -import "/modules/es.string.match.js"; -import "/modules/es.string.pad-end.js"; -import "/modules/es.string.pad-start.js"; -import "/modules/es.string.raw.js"; -import "/modules/es.string.repeat.js"; -import "/modules/es.string.replace.js"; -import "/modules/es.string.search.js"; -import "/modules/es.string.split.js"; -import "/modules/es.string.starts-with.js"; -import "/modules/es.string.trim.js"; -import "/modules/es.string.trim-end.js"; -import "/modules/es.string.trim-start.js"; -import "/modules/es.string.anchor.js"; -import "/modules/es.string.big.js"; -import "/modules/es.string.blink.js"; -import "/modules/es.string.bold.js"; -import "/modules/es.string.fixed.js"; -import "/modules/es.string.fontcolor.js"; -import "/modules/es.string.fontsize.js"; -import "/modules/es.string.italics.js"; -import "/modules/es.string.link.js"; -import "/modules/es.string.small.js"; -import "/modules/es.string.strike.js"; -import "/modules/es.string.sub.js"; -import "/modules/es.string.sup.js"; -import "/modules/es.typed-array.float32-array.js"; -import "/modules/es.typed-array.float64-array.js"; -import "/modules/es.typed-array.int8-array.js"; -import "/modules/es.typed-array.int16-array.js"; -import "/modules/es.typed-array.int32-array.js"; -import "/modules/es.typed-array.uint8-array.js"; -import "/modules/es.typed-array.uint8-clamped-array.js"; -import "/modules/es.typed-array.uint16-array.js"; -import "/modules/es.typed-array.uint32-array.js"; -import "/modules/es.typed-array.copy-within.js"; -import "/modules/es.typed-array.every.js"; -import "/modules/es.typed-array.fill.js"; -import "/modules/es.typed-array.filter.js"; -import "/modules/es.typed-array.find.js"; -import "/modules/es.typed-array.find-index.js"; -import "/modules/es.typed-array.for-each.js"; -import "/modules/es.typed-array.from.js"; -import "/modules/es.typed-array.includes.js"; -import "/modules/es.typed-array.index-of.js"; -import "/modules/es.typed-array.iterator.js"; -import "/modules/es.typed-array.join.js"; -import "/modules/es.typed-array.last-index-of.js"; -import "/modules/es.typed-array.map.js"; -import "/modules/es.typed-array.of.js"; -import "/modules/es.typed-array.reduce.js"; -import "/modules/es.typed-array.reduce-right.js"; -import "/modules/es.typed-array.reverse.js"; -import "/modules/es.typed-array.set.js"; -import "/modules/es.typed-array.slice.js"; -import "/modules/es.typed-array.some.js"; -import "/modules/es.typed-array.sort.js"; -import "/modules/es.typed-array.subarray.js"; -import "/modules/es.typed-array.to-locale-string.js"; -import "/modules/es.typed-array.to-string.js"; -import "/modules/es.weak-map.js"; -import "/modules/es.weak-set.js"; -import "/modules/esnext.aggregate-error.js"; -import "/modules/esnext.array.last-index.js"; -import "/modules/esnext.array.last-item.js"; -import "/modules/esnext.composite-key.js"; -import "/modules/esnext.composite-symbol.js"; -import "/modules/esnext.global-this.js"; -import "/modules/esnext.map.delete-all.js"; -import "/modules/esnext.map.every.js"; -import "/modules/esnext.map.filter.js"; -import "/modules/esnext.map.find.js"; -import "/modules/esnext.map.find-key.js"; -import "/modules/esnext.map.from.js"; -import "/modules/esnext.map.group-by.js"; -import "/modules/esnext.map.includes.js"; -import "/modules/esnext.map.key-by.js"; -import "/modules/esnext.map.key-of.js"; -import "/modules/esnext.map.map-keys.js"; -import "/modules/esnext.map.map-values.js"; -import "/modules/esnext.map.merge.js"; -import "/modules/esnext.map.of.js"; -import "/modules/esnext.map.reduce.js"; -import "/modules/esnext.map.some.js"; -import "/modules/esnext.map.update.js"; -import "/modules/esnext.math.clamp.js"; -import "/modules/esnext.math.deg-per-rad.js"; -import "/modules/esnext.math.degrees.js"; -import "/modules/esnext.math.fscale.js"; -import "/modules/esnext.math.iaddh.js"; -import "/modules/esnext.math.imulh.js"; -import "/modules/esnext.math.isubh.js"; -import "/modules/esnext.math.rad-per-deg.js"; -import "/modules/esnext.math.radians.js"; -import "/modules/esnext.math.scale.js"; -import "/modules/esnext.math.seeded-prng.js"; -import "/modules/esnext.math.signbit.js"; -import "/modules/esnext.math.umulh.js"; -import "/modules/esnext.number.from-string.js"; -import "/modules/esnext.observable.js"; -import "/modules/esnext.promise.all-settled.js"; -import "/modules/esnext.promise.any.js"; -import "/modules/esnext.promise.try.js"; -import "/modules/esnext.reflect.define-metadata.js"; -import "/modules/esnext.reflect.delete-metadata.js"; -import "/modules/esnext.reflect.get-metadata.js"; -import "/modules/esnext.reflect.get-metadata-keys.js"; -import "/modules/esnext.reflect.get-own-metadata.js"; -import "/modules/esnext.reflect.get-own-metadata-keys.js"; -import "/modules/esnext.reflect.has-metadata.js"; -import "/modules/esnext.reflect.has-own-metadata.js"; -import "/modules/esnext.reflect.metadata.js"; -import "/modules/esnext.set.add-all.js"; -import "/modules/esnext.set.delete-all.js"; -import "/modules/esnext.set.difference.js"; -import "/modules/esnext.set.every.js"; -import "/modules/esnext.set.filter.js"; -import "/modules/esnext.set.find.js"; -import "/modules/esnext.set.from.js"; -import "/modules/esnext.set.intersection.js"; -import "/modules/esnext.set.is-disjoint-from.js"; -import "/modules/esnext.set.is-subset-of.js"; -import "/modules/esnext.set.is-superset-of.js"; -import "/modules/esnext.set.join.js"; -import "/modules/esnext.set.map.js"; -import "/modules/esnext.set.of.js"; -import "/modules/esnext.set.reduce.js"; -import "/modules/esnext.set.some.js"; -import "/modules/esnext.set.symmetric-difference.js"; -import "/modules/esnext.set.union.js"; -import "/modules/esnext.string.at.js"; -import "/modules/esnext.string.code-points.js"; -import "/modules/esnext.string.match-all.js"; -import "/modules/esnext.string.replace-all.js"; -import "/modules/esnext.symbol.dispose.js"; -import "/modules/esnext.symbol.observable.js"; -import "/modules/esnext.symbol.pattern-match.js"; -import "/modules/esnext.weak-map.delete-all.js"; -import "/modules/esnext.weak-map.from.js"; -import "/modules/esnext.weak-map.of.js"; -import "/modules/esnext.weak-set.add-all.js"; -import "/modules/esnext.weak-set.delete-all.js"; -import "/modules/esnext.weak-set.from.js"; -import "/modules/esnext.weak-set.of.js"; -import "/modules/web.dom-collections.for-each.js"; -import "/modules/web.dom-collections.iterator.js"; -import "/modules/web.queue-microtask.js"; -import "/modules/web.url.js"; -import "/modules/web.url.to-json.js"; -import "/modules/web.url-search-params.js"; -export function f() { - return _f.apply(this, arguments); -} -function _f() { - _f = _async_to_generator(function() { - return _ts_generator(this, function(_state) { - return [ - 2 - ]; - }); - }); - return _f.apply(this, arguments); -} diff --git a/packages/builder/plugin-swc/tests/fixtures/browserslist/ie11/option.json b/packages/builder/plugin-swc/tests/fixtures/browserslist/ie11/option.json deleted file mode 100644 index 0967ef424bce..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/browserslist/ie11/option.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/builder/plugin-swc/tests/fixtures/browserslist/ie11/package.json b/packages/builder/plugin-swc/tests/fixtures/browserslist/ie11/package.json deleted file mode 100644 index 6bc902d76144..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/browserslist/ie11/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "browserslist": [ - "ie 11" - ] -} diff --git a/packages/builder/plugin-swc/tests/fixtures/compat/cjs-preserve-dyn-import/actual.js b/packages/builder/plugin-swc/tests/fixtures/compat/cjs-preserve-dyn-import/actual.js deleted file mode 100644 index bb6a49f5cbc1..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/compat/cjs-preserve-dyn-import/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -const a = require('foo') -console.log(a) -import('other') diff --git a/packages/builder/plugin-swc/tests/fixtures/compat/cjs-preserve-dyn-import/expected.js b/packages/builder/plugin-swc/tests/fixtures/compat/cjs-preserve-dyn-import/expected.js deleted file mode 100644 index f1ca3e36bebe..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/compat/cjs-preserve-dyn-import/expected.js +++ /dev/null @@ -1,3 +0,0 @@ -var a = require("foo"); -console.log(a); -import("other"); diff --git a/packages/builder/plugin-swc/tests/fixtures/compat/cjs-preserve-dyn-import/option.json b/packages/builder/plugin-swc/tests/fixtures/compat/cjs-preserve-dyn-import/option.json deleted file mode 100644 index 0967ef424bce..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/compat/cjs-preserve-dyn-import/option.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/builder/plugin-swc/tests/fixtures/compat/commonjs-es-module-mark/actual.js b/packages/builder/plugin-swc/tests/fixtures/compat/commonjs-es-module-mark/actual.js deleted file mode 100644 index f6ecb5c60ae9..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/compat/commonjs-es-module-mark/actual.js +++ /dev/null @@ -1,2 +0,0 @@ -const a = {...{}} -module.exports = a diff --git a/packages/builder/plugin-swc/tests/fixtures/compat/commonjs-es-module-mark/expected.js b/packages/builder/plugin-swc/tests/fixtures/compat/commonjs-es-module-mark/expected.js deleted file mode 100644 index c951a5d59ce6..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/compat/commonjs-es-module-mark/expected.js +++ /dev/null @@ -1,3 +0,0 @@ -var _object_spread = require("/_/_object_spread"); -var a = _object_spread._({}, {}); -module.exports = a; diff --git a/packages/builder/plugin-swc/tests/fixtures/compat/commonjs-es-module-mark/option.json b/packages/builder/plugin-swc/tests/fixtures/compat/commonjs-es-module-mark/option.json deleted file mode 100644 index 0967ef424bce..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/compat/commonjs-es-module-mark/option.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require-resolve/actual.js b/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require-resolve/actual.js deleted file mode 100644 index f7a76ee401ed..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require-resolve/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import a from 'foo' -console.log(a) -require.resolve('foo2') diff --git a/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require-resolve/expected.js b/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require-resolve/expected.js deleted file mode 100644 index 7549235759fb..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require-resolve/expected.js +++ /dev/null @@ -1,3 +0,0 @@ -import a from "foo"; -console.log(a); -require.resolve("foo2"); diff --git a/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require-resolve/option.json b/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require-resolve/option.json deleted file mode 100644 index 0967ef424bce..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require-resolve/option.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require/actual.js b/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require/actual.js deleted file mode 100644 index dd314b45337f..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import a from 'foo' -console.log(a) -require('foo2') diff --git a/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require/expected.js b/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require/expected.js deleted file mode 100644 index 3c31dfc58d1c..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require/expected.js +++ /dev/null @@ -1,3 +0,0 @@ -import a from "foo"; -console.log(a); -require("foo2"); diff --git a/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require/option.json b/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require/option.json deleted file mode 100644 index 0967ef424bce..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/compat/esm-preserve-require/option.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/packages/builder/plugin-swc/tests/fixtures/corejs-version/actual.js b/packages/builder/plugin-swc/tests/fixtures/corejs-version/actual.js deleted file mode 100644 index d5a4a04fdce4..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/corejs-version/actual.js +++ /dev/null @@ -1 +0,0 @@ -import 'core-js' diff --git a/packages/builder/plugin-swc/tests/fixtures/corejs-version/expected.js b/packages/builder/plugin-swc/tests/fixtures/corejs-version/expected.js deleted file mode 100644 index 7aea93d5f969..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/corejs-version/expected.js +++ /dev/null @@ -1 +0,0 @@ -import ""; diff --git a/packages/builder/plugin-swc/tests/fixtures/corejs-version/option.js b/packages/builder/plugin-swc/tests/fixtures/corejs-version/option.js deleted file mode 100644 index 50668e2c78bd..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/corejs-version/option.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = { - extensions: { - lockCorejsVersion: { - corejs: 'demo/core-js', - swcHelpers: '@swc/helpers', - }, - }, -}; diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/lock-corejs-versions/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/lock-corejs-versions/actual.js deleted file mode 100644 index 9ed4dd5256f5..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/lock-corejs-versions/actual.js +++ /dev/null @@ -1,7 +0,0 @@ -/** should be transformed */ -import 'core-js/foo/bar' -import '@swc/helpers/foo/bar' - -/** should stay as is */ -import 'core-js-pure/foo/bar' -import '@swc/helpers-custom/foo/bar' diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/lock-corejs-versions/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/lock-corejs-versions/expected.js deleted file mode 100644 index 1e8b5715c856..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/lock-corejs-versions/expected.js +++ /dev/null @@ -1,4 +0,0 @@ -/** should be transformed */ import "/path/to/corejs/foo/bar"; -import "/path/to/helper/foo/bar"; -/** should stay as is */ import "-pure/foo/bar"; -import "-custom/foo/bar"; diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/lock-corejs-versions/option.json b/packages/builder/plugin-swc/tests/fixtures/extensions/lock-corejs-versions/option.json deleted file mode 100644 index 6ddb90b57ebb..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/lock-corejs-versions/option.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extensions": { - "lockCorejsVersion": { - "corejs": "/path/to/corejs", - "swcHelpers": "/path/to/helper" - } - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/modularize-imports/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/modularize-imports/actual.js deleted file mode 100644 index 016622707137..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/modularize-imports/actual.js +++ /dev/null @@ -1,5 +0,0 @@ -import { Foo } from 'foo' - -export function f() { - console.log(Foo) -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/modularize-imports/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/modularize-imports/expected.js deleted file mode 100644 index fafec47b3aaf..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/modularize-imports/expected.js +++ /dev/null @@ -1,4 +0,0 @@ -import Foo from "foo/__/Foo"; -export function f() { - console.log(Foo); -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/modularize-imports/option.json b/packages/builder/plugin-swc/tests/fixtures/extensions/modularize-imports/option.json deleted file mode 100644 index eede0693f662..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/modularize-imports/option.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extensions": { - "modularizeImports": { - "foo": { - "transform": "foo/__/{{member}}", - "preventFullImport": false, - "skipDefaultConversion": false - } - } - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/basic/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/basic/actual.js deleted file mode 100644 index 7ac9304bcb36..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/basic/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import { PascalCase } from 'foo' - -console.log(PascalCase) diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/basic/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/basic/expected.js deleted file mode 100644 index dd93438fcdac..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/basic/expected.js +++ /dev/null @@ -1,2 +0,0 @@ -import PascalCase from "foo/lib/pascal-case"; -console.log(PascalCase); diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/basic/option.json b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/basic/option.json deleted file mode 100644 index 33c4eb33ceb0..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/basic/option.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extensions": { - "pluginImport": [ - { - "libraryName": "foo", - "style": false - } - ] - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-fn/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-fn/actual.js deleted file mode 100644 index e9a396b7c453..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-fn/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import { PascalCase, KebabCase } from "foo"; - -console.log(PascalCase, KebabCase); diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-fn/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-fn/expected.js deleted file mode 100644 index 668a5470b52f..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-fn/expected.js +++ /dev/null @@ -1,3 +0,0 @@ -import KebabCase from "foo/__custom_es__/KebabCase"; -import { PascalCase } from "foo"; -console.log(PascalCase, KebabCase); diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-fn/option.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-fn/option.js deleted file mode 100644 index f81e395e77c6..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-fn/option.js +++ /dev/null @@ -1,16 +0,0 @@ -module.exports = { - "extensions": { - "pluginImport": [ - { - "libraryName": "foo", - "customName": (name) => { - if (name === 'PascalCase') { - return undefined - } else { - return `foo/__custom_es__/${name}` - } - } - } - ] - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-tpl/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-tpl/actual.js deleted file mode 100644 index 7ac9304bcb36..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-tpl/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import { PascalCase } from 'foo' - -console.log(PascalCase) diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-tpl/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-tpl/expected.js deleted file mode 100644 index 8128f4663fd4..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-tpl/expected.js +++ /dev/null @@ -1,2 +0,0 @@ -import PascalCase from "foo/__custom_es__/pascal-case"; -console.log(PascalCase); diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-tpl/option.json b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-tpl/option.json deleted file mode 100644 index 24bd8131b049..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-name-tpl/option.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extensions": { - "pluginImport": [ - { - "libraryName": "foo", - "customName": "foo/__custom_es__/{{kebabCase member }}" - } - ] - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-style-name/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-style-name/actual.js deleted file mode 100644 index 7ac9304bcb36..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-style-name/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import { PascalCase } from 'foo' - -console.log(PascalCase) diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-style-name/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-style-name/expected.js deleted file mode 100644 index 2485b8783bf9..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-style-name/expected.js +++ /dev/null @@ -1,3 +0,0 @@ -import "foo/__custom__/pascal-case"; -import PascalCase from "foo/lib/pascal-case"; -console.log(PascalCase); diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-style-name/option.json b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-style-name/option.json deleted file mode 100644 index f131763d4fac..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/custom-style-name/option.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extensions": { - "pluginImport": [ - { - "libraryName": "foo", - "customStyleName": "foo/__custom__/{{kebabCase member}}" - } - ] - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-es-component/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-es-component/actual.js deleted file mode 100644 index a78a4c438d76..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-es-component/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import { PascalCase, Button } from 'foo' - -console.log(PascalCase, Button) diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-es-component/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-es-component/expected.js deleted file mode 100644 index 4ef6b24121c5..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-es-component/expected.js +++ /dev/null @@ -1,4 +0,0 @@ -import "foo/lib/button/style"; -import Button from "foo/lib/button"; -import { PascalCase } from "foo"; -console.log(PascalCase, Button); diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-es-component/option.json b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-es-component/option.json deleted file mode 100644 index 51ff08b157f7..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-es-component/option.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extensions": { - "pluginImport": [ - { - "libraryName": "foo", - "style": true, - "ignoreEsComponent": ["PascalCase"] - } - ] - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-style-component/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-style-component/actual.js deleted file mode 100644 index a78a4c438d76..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-style-component/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import { PascalCase, Button } from 'foo' - -console.log(PascalCase, Button) diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-style-component/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-style-component/expected.js deleted file mode 100644 index ee95bb1749b3..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-style-component/expected.js +++ /dev/null @@ -1,4 +0,0 @@ -import "foo/lib/button/style"; -import Button from "foo/lib/button"; -import PascalCase from "foo/lib/pascal-case"; -console.log(PascalCase, Button); diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-style-component/option.json b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-style-component/option.json deleted file mode 100644 index deaf1d8274e9..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/ignore-style-component/option.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extensions": { - "pluginImport": [ - { - "libraryName": "foo", - "style": true, - "ignoreStyleComponent": ["PascalCase"] - } - ] - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/no-default/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/no-default/actual.js deleted file mode 100644 index 7ac9304bcb36..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/no-default/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import { PascalCase } from 'foo' - -console.log(PascalCase) diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/no-default/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/no-default/expected.js deleted file mode 100644 index b890bc5595f2..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/no-default/expected.js +++ /dev/null @@ -1,2 +0,0 @@ -import { PascalCase } from "foo/lib/pascal-case"; -console.log(PascalCase); diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/no-default/option.json b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/no-default/option.json deleted file mode 100644 index ecf34d897caf..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/no-default/option.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extensions": { - "pluginImport": [ - { - "libraryName": "foo", - "transformToDefaultImport": false - } - ] - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-css/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-css/actual.js deleted file mode 100644 index 7ac9304bcb36..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-css/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import { PascalCase } from 'foo' - -console.log(PascalCase) diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-css/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-css/expected.js deleted file mode 100644 index 6ffdf4f3b6ef..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-css/expected.js +++ /dev/null @@ -1,3 +0,0 @@ -import "foo/lib/pascal-case/style/css"; -import PascalCase from "foo/lib/pascal-case"; -console.log(PascalCase); diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-css/option.json b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-css/option.json deleted file mode 100644 index 670e5496b2b2..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-css/option.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extensions": { - "pluginImport": [ - { - "libraryName": "foo", - "style": "css" - } - ] - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-fn/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-fn/actual.js deleted file mode 100644 index 7ac9304bcb36..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-fn/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import { PascalCase } from 'foo' - -console.log(PascalCase) diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-fn/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-fn/expected.js deleted file mode 100644 index 16ddb03be3ed..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-fn/expected.js +++ /dev/null @@ -1,3 +0,0 @@ -import "foo/lib/pascal-case.css"; -import PascalCase from "foo/lib/pascal-case"; -console.log(PascalCase); diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-fn/option.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-fn/option.js deleted file mode 100644 index ed0cd8c9e808..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-fn/option.js +++ /dev/null @@ -1,10 +0,0 @@ -module.exports = { - "extensions": { - "pluginImport": [ - { - "libraryName": "foo", - "style": (dir) => `${dir}.css` - } - ] - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-library/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-library/actual.js deleted file mode 100644 index 7ac9304bcb36..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-library/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import { PascalCase } from 'foo' - -console.log(PascalCase) diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-library/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-library/expected.js deleted file mode 100644 index 43839ea56004..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-library/expected.js +++ /dev/null @@ -1,3 +0,0 @@ -import "foo/css/pascal-case"; -import PascalCase from "foo/lib/pascal-case"; -console.log(PascalCase); diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-library/option.json b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-library/option.json deleted file mode 100644 index ccc3fd0e0106..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-library/option.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extensions": { - "pluginImport": [ - { - "libraryName": "foo", - "styleLibraryDirectory": "css" - } - ] - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-tpl/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-tpl/actual.js deleted file mode 100644 index 7ac9304bcb36..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-tpl/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import { PascalCase } from 'foo' - -console.log(PascalCase) diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-tpl/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-tpl/expected.js deleted file mode 100644 index 16ddb03be3ed..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-tpl/expected.js +++ /dev/null @@ -1,3 +0,0 @@ -import "foo/lib/pascal-case.css"; -import PascalCase from "foo/lib/pascal-case"; -console.log(PascalCase); diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-tpl/option.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-tpl/option.js deleted file mode 100644 index 9d64e3813151..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-tpl/option.js +++ /dev/null @@ -1,10 +0,0 @@ -module.exports = { - "extensions": { - "pluginImport": [ - { - "libraryName": "foo", - "style": "{{member}}.css" - } - ] - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-true/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-true/actual.js deleted file mode 100644 index 7ac9304bcb36..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-true/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import { PascalCase } from 'foo' - -console.log(PascalCase) diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-true/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-true/expected.js deleted file mode 100644 index f74b45348261..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-true/expected.js +++ /dev/null @@ -1,3 +0,0 @@ -import "foo/lib/pascal-case/style"; -import PascalCase from "foo/lib/pascal-case"; -console.log(PascalCase); diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-true/option.json b/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-true/option.json deleted file mode 100644 index bdceccb6b682..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/plugin-import/style-true/option.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extensions": { - "pluginImport": [ - { - "libraryName": "foo", - "style": true - } - ] - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/auto_import_react/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/auto_import_react/actual.js deleted file mode 100644 index af949bf7026d..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/auto_import_react/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import {useState} from 'react' - -console.log(useState()) diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/auto_import_react/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/auto_import_react/expected.js deleted file mode 100644 index 61a2ec9d2716..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/auto_import_react/expected.js +++ /dev/null @@ -1,3 +0,0 @@ -import React from "react"; -import { useState } from "react"; -console.log(useState()); diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/auto_import_react/option.json b/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/auto_import_react/option.json deleted file mode 100644 index 2e6a92fe8e95..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/auto_import_react/option.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extensions": { - "reactUtils": { - "autoImportReact": true - } - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_effect/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_effect/actual.js deleted file mode 100644 index 84e906fea92c..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_effect/actual.js +++ /dev/null @@ -1,9 +0,0 @@ -import {useEffect} from 'react' - -export default () => { - useEffect(() => { - console.log('hello'); - }, []) - - return
Hello World
-} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_effect/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_effect/expected.js deleted file mode 100644 index 63003c6b3417..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_effect/expected.js +++ /dev/null @@ -1,7 +0,0 @@ -import { jsx as _jsx } from "react/jsx-runtime"; -import { useEffect } from "react"; -export default function() { - return /*#__PURE__*/ _jsx("div", { - children: "Hello World" - }); -}; diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_effect/option.json b/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_effect/option.json deleted file mode 100644 index 5be5302511cf..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_effect/option.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extensions": { - "reactUtils": { - "removeEffect": true - } - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_prop_types/actual.js b/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_prop_types/actual.js deleted file mode 100644 index 84e906fea92c..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_prop_types/actual.js +++ /dev/null @@ -1,9 +0,0 @@ -import {useEffect} from 'react' - -export default () => { - useEffect(() => { - console.log('hello'); - }, []) - - return
Hello World
-} diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_prop_types/expected.js b/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_prop_types/expected.js deleted file mode 100644 index 339c0b64e2e8..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_prop_types/expected.js +++ /dev/null @@ -1,10 +0,0 @@ -import { jsx as _jsx } from "react/jsx-runtime"; -import { useEffect } from "react"; -export default function() { - useEffect(function() { - console.log("hello"); - }, []); - return /*#__PURE__*/ _jsx("div", { - children: "Hello World" - }); -}; diff --git a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_prop_types/option.json b/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_prop_types/option.json deleted file mode 100644 index 906c1ab7bd8c..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/extensions/react_utils/rm_prop_types/option.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extensions": { - "reactUtils": { - "removePropTypes": { - "mode": "remove" - } - } - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/lodash/actual.js b/packages/builder/plugin-swc/tests/fixtures/lodash/actual.js deleted file mode 100644 index a9444e5cfd74..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/lodash/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -import { get, throttle } from 'lodash'; - -console.log(get, throttle); diff --git a/packages/builder/plugin-swc/tests/fixtures/lodash/expected.js b/packages/builder/plugin-swc/tests/fixtures/lodash/expected.js deleted file mode 100644 index 590e9b6c969c..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/lodash/expected.js +++ /dev/null @@ -1,3 +0,0 @@ -import throttle from "lodash/throttle"; -import get from "lodash/get"; -console.log(get, throttle); diff --git a/packages/builder/plugin-swc/tests/fixtures/lodash/option.json b/packages/builder/plugin-swc/tests/fixtures/lodash/option.json deleted file mode 100644 index 8fcf32acb548..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/lodash/option.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extensions": { - "lodash": { - "ids": ["lodash", "lodash-es"] - } - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry/actual.js b/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry/actual.js deleted file mode 100644 index 4dbb13c650c0..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry/actual.js +++ /dev/null @@ -1,2 +0,0 @@ -import 'core-js' -async function f(){} diff --git a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry/expected.js b/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry/expected.js deleted file mode 100644 index 6d59a20ba49c..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry/expected.js +++ /dev/null @@ -1,279 +0,0 @@ -import { _ as _async_to_generator } from "/_/_async_to_generator"; -import { _ as _ts_generator } from "/_/_ts_generator"; -import "/modules/es.symbol.js"; -import "/modules/es.symbol.description.js"; -import "/modules/es.symbol.async-iterator.js"; -import "/modules/es.symbol.has-instance.js"; -import "/modules/es.symbol.is-concat-spreadable.js"; -import "/modules/es.symbol.iterator.js"; -import "/modules/es.symbol.match.js"; -import "/modules/es.symbol.replace.js"; -import "/modules/es.symbol.search.js"; -import "/modules/es.symbol.species.js"; -import "/modules/es.symbol.split.js"; -import "/modules/es.symbol.to-primitive.js"; -import "/modules/es.symbol.to-string-tag.js"; -import "/modules/es.symbol.unscopables.js"; -import "/modules/es.array.concat.js"; -import "/modules/es.array.copy-within.js"; -import "/modules/es.array.fill.js"; -import "/modules/es.array.filter.js"; -import "/modules/es.array.find.js"; -import "/modules/es.array.find-index.js"; -import "/modules/es.array.flat.js"; -import "/modules/es.array.flat-map.js"; -import "/modules/es.array.from.js"; -import "/modules/es.array.includes.js"; -import "/modules/es.array.iterator.js"; -import "/modules/es.array.join.js"; -import "/modules/es.array.map.js"; -import "/modules/es.array.of.js"; -import "/modules/es.array.slice.js"; -import "/modules/es.array.sort.js"; -import "/modules/es.array.species.js"; -import "/modules/es.array.splice.js"; -import "/modules/es.array.unscopables.flat.js"; -import "/modules/es.array.unscopables.flat-map.js"; -import "/modules/es.array-buffer.constructor.js"; -import "/modules/es.date.to-primitive.js"; -import "/modules/es.function.has-instance.js"; -import "/modules/es.function.name.js"; -import "/modules/es.json.to-string-tag.js"; -import "/modules/es.map.js"; -import "/modules/es.math.acosh.js"; -import "/modules/es.math.asinh.js"; -import "/modules/es.math.atanh.js"; -import "/modules/es.math.cbrt.js"; -import "/modules/es.math.clz32.js"; -import "/modules/es.math.cosh.js"; -import "/modules/es.math.expm1.js"; -import "/modules/es.math.fround.js"; -import "/modules/es.math.hypot.js"; -import "/modules/es.math.imul.js"; -import "/modules/es.math.log10.js"; -import "/modules/es.math.log1p.js"; -import "/modules/es.math.log2.js"; -import "/modules/es.math.sign.js"; -import "/modules/es.math.sinh.js"; -import "/modules/es.math.tanh.js"; -import "/modules/es.math.to-string-tag.js"; -import "/modules/es.math.trunc.js"; -import "/modules/es.number.constructor.js"; -import "/modules/es.number.epsilon.js"; -import "/modules/es.number.is-finite.js"; -import "/modules/es.number.is-integer.js"; -import "/modules/es.number.is-nan.js"; -import "/modules/es.number.is-safe-integer.js"; -import "/modules/es.number.max-safe-integer.js"; -import "/modules/es.number.min-safe-integer.js"; -import "/modules/es.number.parse-float.js"; -import "/modules/es.number.parse-int.js"; -import "/modules/es.number.to-fixed.js"; -import "/modules/es.object.assign.js"; -import "/modules/es.object.define-getter.js"; -import "/modules/es.object.define-setter.js"; -import "/modules/es.object.entries.js"; -import "/modules/es.object.freeze.js"; -import "/modules/es.object.from-entries.js"; -import "/modules/es.object.get-own-property-descriptor.js"; -import "/modules/es.object.get-own-property-descriptors.js"; -import "/modules/es.object.get-own-property-names.js"; -import "/modules/es.object.get-prototype-of.js"; -import "/modules/es.object.is.js"; -import "/modules/es.object.is-extensible.js"; -import "/modules/es.object.is-frozen.js"; -import "/modules/es.object.is-sealed.js"; -import "/modules/es.object.keys.js"; -import "/modules/es.object.lookup-getter.js"; -import "/modules/es.object.lookup-setter.js"; -import "/modules/es.object.prevent-extensions.js"; -import "/modules/es.object.seal.js"; -import "/modules/es.object.to-string.js"; -import "/modules/es.object.values.js"; -import "/modules/es.promise.js"; -import "/modules/es.promise.finally.js"; -import "/modules/es.reflect.apply.js"; -import "/modules/es.reflect.construct.js"; -import "/modules/es.reflect.define-property.js"; -import "/modules/es.reflect.delete-property.js"; -import "/modules/es.reflect.get.js"; -import "/modules/es.reflect.get-own-property-descriptor.js"; -import "/modules/es.reflect.get-prototype-of.js"; -import "/modules/es.reflect.has.js"; -import "/modules/es.reflect.is-extensible.js"; -import "/modules/es.reflect.own-keys.js"; -import "/modules/es.reflect.prevent-extensions.js"; -import "/modules/es.reflect.set.js"; -import "/modules/es.reflect.set-prototype-of.js"; -import "/modules/es.regexp.constructor.js"; -import "/modules/es.regexp.exec.js"; -import "/modules/es.regexp.flags.js"; -import "/modules/es.regexp.to-string.js"; -import "/modules/es.set.js"; -import "/modules/es.string.code-point-at.js"; -import "/modules/es.string.ends-with.js"; -import "/modules/es.string.from-code-point.js"; -import "/modules/es.string.includes.js"; -import "/modules/es.string.iterator.js"; -import "/modules/es.string.match.js"; -import "/modules/es.string.pad-end.js"; -import "/modules/es.string.pad-start.js"; -import "/modules/es.string.raw.js"; -import "/modules/es.string.repeat.js"; -import "/modules/es.string.replace.js"; -import "/modules/es.string.search.js"; -import "/modules/es.string.split.js"; -import "/modules/es.string.starts-with.js"; -import "/modules/es.string.trim.js"; -import "/modules/es.string.trim-end.js"; -import "/modules/es.string.trim-start.js"; -import "/modules/es.string.anchor.js"; -import "/modules/es.string.big.js"; -import "/modules/es.string.blink.js"; -import "/modules/es.string.bold.js"; -import "/modules/es.string.fixed.js"; -import "/modules/es.string.fontcolor.js"; -import "/modules/es.string.fontsize.js"; -import "/modules/es.string.italics.js"; -import "/modules/es.string.link.js"; -import "/modules/es.string.small.js"; -import "/modules/es.string.strike.js"; -import "/modules/es.string.sub.js"; -import "/modules/es.string.sup.js"; -import "/modules/es.typed-array.float32-array.js"; -import "/modules/es.typed-array.float64-array.js"; -import "/modules/es.typed-array.int8-array.js"; -import "/modules/es.typed-array.int16-array.js"; -import "/modules/es.typed-array.int32-array.js"; -import "/modules/es.typed-array.uint8-array.js"; -import "/modules/es.typed-array.uint8-clamped-array.js"; -import "/modules/es.typed-array.uint16-array.js"; -import "/modules/es.typed-array.uint32-array.js"; -import "/modules/es.typed-array.copy-within.js"; -import "/modules/es.typed-array.every.js"; -import "/modules/es.typed-array.fill.js"; -import "/modules/es.typed-array.filter.js"; -import "/modules/es.typed-array.find.js"; -import "/modules/es.typed-array.find-index.js"; -import "/modules/es.typed-array.for-each.js"; -import "/modules/es.typed-array.from.js"; -import "/modules/es.typed-array.includes.js"; -import "/modules/es.typed-array.index-of.js"; -import "/modules/es.typed-array.iterator.js"; -import "/modules/es.typed-array.join.js"; -import "/modules/es.typed-array.last-index-of.js"; -import "/modules/es.typed-array.map.js"; -import "/modules/es.typed-array.of.js"; -import "/modules/es.typed-array.reduce.js"; -import "/modules/es.typed-array.reduce-right.js"; -import "/modules/es.typed-array.reverse.js"; -import "/modules/es.typed-array.set.js"; -import "/modules/es.typed-array.slice.js"; -import "/modules/es.typed-array.some.js"; -import "/modules/es.typed-array.sort.js"; -import "/modules/es.typed-array.subarray.js"; -import "/modules/es.typed-array.to-locale-string.js"; -import "/modules/es.typed-array.to-string.js"; -import "/modules/es.weak-map.js"; -import "/modules/es.weak-set.js"; -import "/modules/esnext.aggregate-error.js"; -import "/modules/esnext.array.last-index.js"; -import "/modules/esnext.array.last-item.js"; -import "/modules/esnext.composite-key.js"; -import "/modules/esnext.composite-symbol.js"; -import "/modules/esnext.global-this.js"; -import "/modules/esnext.map.delete-all.js"; -import "/modules/esnext.map.every.js"; -import "/modules/esnext.map.filter.js"; -import "/modules/esnext.map.find.js"; -import "/modules/esnext.map.find-key.js"; -import "/modules/esnext.map.from.js"; -import "/modules/esnext.map.group-by.js"; -import "/modules/esnext.map.includes.js"; -import "/modules/esnext.map.key-by.js"; -import "/modules/esnext.map.key-of.js"; -import "/modules/esnext.map.map-keys.js"; -import "/modules/esnext.map.map-values.js"; -import "/modules/esnext.map.merge.js"; -import "/modules/esnext.map.of.js"; -import "/modules/esnext.map.reduce.js"; -import "/modules/esnext.map.some.js"; -import "/modules/esnext.map.update.js"; -import "/modules/esnext.math.clamp.js"; -import "/modules/esnext.math.deg-per-rad.js"; -import "/modules/esnext.math.degrees.js"; -import "/modules/esnext.math.fscale.js"; -import "/modules/esnext.math.iaddh.js"; -import "/modules/esnext.math.imulh.js"; -import "/modules/esnext.math.isubh.js"; -import "/modules/esnext.math.rad-per-deg.js"; -import "/modules/esnext.math.radians.js"; -import "/modules/esnext.math.scale.js"; -import "/modules/esnext.math.seeded-prng.js"; -import "/modules/esnext.math.signbit.js"; -import "/modules/esnext.math.umulh.js"; -import "/modules/esnext.number.from-string.js"; -import "/modules/esnext.observable.js"; -import "/modules/esnext.promise.all-settled.js"; -import "/modules/esnext.promise.any.js"; -import "/modules/esnext.promise.try.js"; -import "/modules/esnext.reflect.define-metadata.js"; -import "/modules/esnext.reflect.delete-metadata.js"; -import "/modules/esnext.reflect.get-metadata.js"; -import "/modules/esnext.reflect.get-metadata-keys.js"; -import "/modules/esnext.reflect.get-own-metadata.js"; -import "/modules/esnext.reflect.get-own-metadata-keys.js"; -import "/modules/esnext.reflect.has-metadata.js"; -import "/modules/esnext.reflect.has-own-metadata.js"; -import "/modules/esnext.reflect.metadata.js"; -import "/modules/esnext.set.add-all.js"; -import "/modules/esnext.set.delete-all.js"; -import "/modules/esnext.set.difference.js"; -import "/modules/esnext.set.every.js"; -import "/modules/esnext.set.filter.js"; -import "/modules/esnext.set.find.js"; -import "/modules/esnext.set.from.js"; -import "/modules/esnext.set.intersection.js"; -import "/modules/esnext.set.is-disjoint-from.js"; -import "/modules/esnext.set.is-subset-of.js"; -import "/modules/esnext.set.is-superset-of.js"; -import "/modules/esnext.set.join.js"; -import "/modules/esnext.set.map.js"; -import "/modules/esnext.set.of.js"; -import "/modules/esnext.set.reduce.js"; -import "/modules/esnext.set.some.js"; -import "/modules/esnext.set.symmetric-difference.js"; -import "/modules/esnext.set.union.js"; -import "/modules/esnext.string.at.js"; -import "/modules/esnext.string.code-points.js"; -import "/modules/esnext.string.match-all.js"; -import "/modules/esnext.string.replace-all.js"; -import "/modules/esnext.symbol.dispose.js"; -import "/modules/esnext.symbol.observable.js"; -import "/modules/esnext.symbol.pattern-match.js"; -import "/modules/esnext.weak-map.delete-all.js"; -import "/modules/esnext.weak-map.from.js"; -import "/modules/esnext.weak-map.of.js"; -import "/modules/esnext.weak-set.add-all.js"; -import "/modules/esnext.weak-set.delete-all.js"; -import "/modules/esnext.weak-set.from.js"; -import "/modules/esnext.weak-set.of.js"; -import "/modules/web.dom-collections.for-each.js"; -import "/modules/web.dom-collections.iterator.js"; -import "/modules/web.queue-microtask.js"; -import "/modules/web.url.js"; -import "/modules/web.url.to-json.js"; -import "/modules/web.url-search-params.js"; -function f() { - return _f.apply(this, arguments); -} -function _f() { - _f = _async_to_generator(function() { - return _ts_generator(this, function(_state) { - return [ - 2 - ]; - }); - }); - return _f.apply(this, arguments); -} diff --git a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry/option.json b/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry/option.json deleted file mode 100644 index 3852c895a744..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry/option.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "env": { - "mode": "entry", - "targets": "ie 11" - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry_exclude/actual.js b/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry_exclude/actual.js deleted file mode 100644 index 4dbb13c650c0..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry_exclude/actual.js +++ /dev/null @@ -1,2 +0,0 @@ -import 'core-js' -async function f(){} diff --git a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry_exclude/expected.js b/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry_exclude/expected.js deleted file mode 100644 index 4fa6540871db..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry_exclude/expected.js +++ /dev/null @@ -1,265 +0,0 @@ -import "/modules/es.symbol.js"; -import "/modules/es.symbol.description.js"; -import "/modules/es.symbol.async-iterator.js"; -import "/modules/es.symbol.has-instance.js"; -import "/modules/es.symbol.is-concat-spreadable.js"; -import "/modules/es.symbol.iterator.js"; -import "/modules/es.symbol.match.js"; -import "/modules/es.symbol.replace.js"; -import "/modules/es.symbol.search.js"; -import "/modules/es.symbol.species.js"; -import "/modules/es.symbol.split.js"; -import "/modules/es.symbol.to-primitive.js"; -import "/modules/es.symbol.to-string-tag.js"; -import "/modules/es.symbol.unscopables.js"; -import "/modules/es.array.concat.js"; -import "/modules/es.array.copy-within.js"; -import "/modules/es.array.fill.js"; -import "/modules/es.array.filter.js"; -import "/modules/es.array.find.js"; -import "/modules/es.array.find-index.js"; -import "/modules/es.array.flat.js"; -import "/modules/es.array.flat-map.js"; -import "/modules/es.array.from.js"; -import "/modules/es.array.includes.js"; -import "/modules/es.array.iterator.js"; -import "/modules/es.array.join.js"; -import "/modules/es.array.map.js"; -import "/modules/es.array.of.js"; -import "/modules/es.array.slice.js"; -import "/modules/es.array.sort.js"; -import "/modules/es.array.species.js"; -import "/modules/es.array.splice.js"; -import "/modules/es.array.unscopables.flat.js"; -import "/modules/es.array.unscopables.flat-map.js"; -import "/modules/es.array-buffer.constructor.js"; -import "/modules/es.date.to-primitive.js"; -import "/modules/es.function.has-instance.js"; -import "/modules/es.function.name.js"; -import "/modules/es.json.to-string-tag.js"; -import "/modules/es.map.js"; -import "/modules/es.math.acosh.js"; -import "/modules/es.math.asinh.js"; -import "/modules/es.math.atanh.js"; -import "/modules/es.math.cbrt.js"; -import "/modules/es.math.clz32.js"; -import "/modules/es.math.cosh.js"; -import "/modules/es.math.expm1.js"; -import "/modules/es.math.fround.js"; -import "/modules/es.math.hypot.js"; -import "/modules/es.math.imul.js"; -import "/modules/es.math.log10.js"; -import "/modules/es.math.log1p.js"; -import "/modules/es.math.log2.js"; -import "/modules/es.math.sign.js"; -import "/modules/es.math.sinh.js"; -import "/modules/es.math.tanh.js"; -import "/modules/es.math.to-string-tag.js"; -import "/modules/es.math.trunc.js"; -import "/modules/es.number.constructor.js"; -import "/modules/es.number.epsilon.js"; -import "/modules/es.number.is-finite.js"; -import "/modules/es.number.is-integer.js"; -import "/modules/es.number.is-nan.js"; -import "/modules/es.number.is-safe-integer.js"; -import "/modules/es.number.max-safe-integer.js"; -import "/modules/es.number.min-safe-integer.js"; -import "/modules/es.number.parse-float.js"; -import "/modules/es.number.parse-int.js"; -import "/modules/es.number.to-fixed.js"; -import "/modules/es.object.assign.js"; -import "/modules/es.object.define-getter.js"; -import "/modules/es.object.define-setter.js"; -import "/modules/es.object.entries.js"; -import "/modules/es.object.freeze.js"; -import "/modules/es.object.from-entries.js"; -import "/modules/es.object.get-own-property-descriptor.js"; -import "/modules/es.object.get-own-property-descriptors.js"; -import "/modules/es.object.get-own-property-names.js"; -import "/modules/es.object.get-prototype-of.js"; -import "/modules/es.object.is.js"; -import "/modules/es.object.is-extensible.js"; -import "/modules/es.object.is-frozen.js"; -import "/modules/es.object.is-sealed.js"; -import "/modules/es.object.keys.js"; -import "/modules/es.object.lookup-getter.js"; -import "/modules/es.object.lookup-setter.js"; -import "/modules/es.object.prevent-extensions.js"; -import "/modules/es.object.seal.js"; -import "/modules/es.object.to-string.js"; -import "/modules/es.object.values.js"; -import "/modules/es.promise.js"; -import "/modules/es.promise.finally.js"; -import "/modules/es.reflect.apply.js"; -import "/modules/es.reflect.construct.js"; -import "/modules/es.reflect.define-property.js"; -import "/modules/es.reflect.delete-property.js"; -import "/modules/es.reflect.get.js"; -import "/modules/es.reflect.get-own-property-descriptor.js"; -import "/modules/es.reflect.get-prototype-of.js"; -import "/modules/es.reflect.has.js"; -import "/modules/es.reflect.is-extensible.js"; -import "/modules/es.reflect.own-keys.js"; -import "/modules/es.reflect.prevent-extensions.js"; -import "/modules/es.reflect.set.js"; -import "/modules/es.reflect.set-prototype-of.js"; -import "/modules/es.regexp.constructor.js"; -import "/modules/es.regexp.exec.js"; -import "/modules/es.regexp.flags.js"; -import "/modules/es.regexp.to-string.js"; -import "/modules/es.set.js"; -import "/modules/es.string.code-point-at.js"; -import "/modules/es.string.ends-with.js"; -import "/modules/es.string.from-code-point.js"; -import "/modules/es.string.includes.js"; -import "/modules/es.string.iterator.js"; -import "/modules/es.string.match.js"; -import "/modules/es.string.pad-end.js"; -import "/modules/es.string.pad-start.js"; -import "/modules/es.string.raw.js"; -import "/modules/es.string.repeat.js"; -import "/modules/es.string.replace.js"; -import "/modules/es.string.search.js"; -import "/modules/es.string.split.js"; -import "/modules/es.string.starts-with.js"; -import "/modules/es.string.trim.js"; -import "/modules/es.string.trim-end.js"; -import "/modules/es.string.trim-start.js"; -import "/modules/es.string.anchor.js"; -import "/modules/es.string.big.js"; -import "/modules/es.string.blink.js"; -import "/modules/es.string.bold.js"; -import "/modules/es.string.fixed.js"; -import "/modules/es.string.fontcolor.js"; -import "/modules/es.string.fontsize.js"; -import "/modules/es.string.italics.js"; -import "/modules/es.string.link.js"; -import "/modules/es.string.small.js"; -import "/modules/es.string.strike.js"; -import "/modules/es.string.sub.js"; -import "/modules/es.string.sup.js"; -import "/modules/es.typed-array.float32-array.js"; -import "/modules/es.typed-array.float64-array.js"; -import "/modules/es.typed-array.int8-array.js"; -import "/modules/es.typed-array.int16-array.js"; -import "/modules/es.typed-array.int32-array.js"; -import "/modules/es.typed-array.uint8-array.js"; -import "/modules/es.typed-array.uint8-clamped-array.js"; -import "/modules/es.typed-array.uint16-array.js"; -import "/modules/es.typed-array.uint32-array.js"; -import "/modules/es.typed-array.copy-within.js"; -import "/modules/es.typed-array.every.js"; -import "/modules/es.typed-array.fill.js"; -import "/modules/es.typed-array.filter.js"; -import "/modules/es.typed-array.find.js"; -import "/modules/es.typed-array.find-index.js"; -import "/modules/es.typed-array.for-each.js"; -import "/modules/es.typed-array.from.js"; -import "/modules/es.typed-array.includes.js"; -import "/modules/es.typed-array.index-of.js"; -import "/modules/es.typed-array.iterator.js"; -import "/modules/es.typed-array.join.js"; -import "/modules/es.typed-array.last-index-of.js"; -import "/modules/es.typed-array.map.js"; -import "/modules/es.typed-array.of.js"; -import "/modules/es.typed-array.reduce.js"; -import "/modules/es.typed-array.reduce-right.js"; -import "/modules/es.typed-array.reverse.js"; -import "/modules/es.typed-array.set.js"; -import "/modules/es.typed-array.slice.js"; -import "/modules/es.typed-array.some.js"; -import "/modules/es.typed-array.sort.js"; -import "/modules/es.typed-array.subarray.js"; -import "/modules/es.typed-array.to-locale-string.js"; -import "/modules/es.typed-array.to-string.js"; -import "/modules/es.weak-map.js"; -import "/modules/es.weak-set.js"; -import "/modules/esnext.aggregate-error.js"; -import "/modules/esnext.array.last-index.js"; -import "/modules/esnext.array.last-item.js"; -import "/modules/esnext.composite-key.js"; -import "/modules/esnext.composite-symbol.js"; -import "/modules/esnext.global-this.js"; -import "/modules/esnext.map.delete-all.js"; -import "/modules/esnext.map.every.js"; -import "/modules/esnext.map.filter.js"; -import "/modules/esnext.map.find.js"; -import "/modules/esnext.map.find-key.js"; -import "/modules/esnext.map.from.js"; -import "/modules/esnext.map.group-by.js"; -import "/modules/esnext.map.includes.js"; -import "/modules/esnext.map.key-by.js"; -import "/modules/esnext.map.key-of.js"; -import "/modules/esnext.map.map-keys.js"; -import "/modules/esnext.map.map-values.js"; -import "/modules/esnext.map.merge.js"; -import "/modules/esnext.map.of.js"; -import "/modules/esnext.map.reduce.js"; -import "/modules/esnext.map.some.js"; -import "/modules/esnext.map.update.js"; -import "/modules/esnext.math.clamp.js"; -import "/modules/esnext.math.deg-per-rad.js"; -import "/modules/esnext.math.degrees.js"; -import "/modules/esnext.math.fscale.js"; -import "/modules/esnext.math.iaddh.js"; -import "/modules/esnext.math.imulh.js"; -import "/modules/esnext.math.isubh.js"; -import "/modules/esnext.math.rad-per-deg.js"; -import "/modules/esnext.math.radians.js"; -import "/modules/esnext.math.scale.js"; -import "/modules/esnext.math.seeded-prng.js"; -import "/modules/esnext.math.signbit.js"; -import "/modules/esnext.math.umulh.js"; -import "/modules/esnext.number.from-string.js"; -import "/modules/esnext.observable.js"; -import "/modules/esnext.promise.all-settled.js"; -import "/modules/esnext.promise.any.js"; -import "/modules/esnext.promise.try.js"; -import "/modules/esnext.reflect.define-metadata.js"; -import "/modules/esnext.reflect.delete-metadata.js"; -import "/modules/esnext.reflect.get-metadata.js"; -import "/modules/esnext.reflect.get-metadata-keys.js"; -import "/modules/esnext.reflect.get-own-metadata.js"; -import "/modules/esnext.reflect.get-own-metadata-keys.js"; -import "/modules/esnext.reflect.has-metadata.js"; -import "/modules/esnext.reflect.has-own-metadata.js"; -import "/modules/esnext.reflect.metadata.js"; -import "/modules/esnext.set.add-all.js"; -import "/modules/esnext.set.delete-all.js"; -import "/modules/esnext.set.difference.js"; -import "/modules/esnext.set.every.js"; -import "/modules/esnext.set.filter.js"; -import "/modules/esnext.set.find.js"; -import "/modules/esnext.set.from.js"; -import "/modules/esnext.set.intersection.js"; -import "/modules/esnext.set.is-disjoint-from.js"; -import "/modules/esnext.set.is-subset-of.js"; -import "/modules/esnext.set.is-superset-of.js"; -import "/modules/esnext.set.join.js"; -import "/modules/esnext.set.map.js"; -import "/modules/esnext.set.of.js"; -import "/modules/esnext.set.reduce.js"; -import "/modules/esnext.set.some.js"; -import "/modules/esnext.set.symmetric-difference.js"; -import "/modules/esnext.set.union.js"; -import "/modules/esnext.string.at.js"; -import "/modules/esnext.string.code-points.js"; -import "/modules/esnext.string.match-all.js"; -import "/modules/esnext.string.replace-all.js"; -import "/modules/esnext.symbol.dispose.js"; -import "/modules/esnext.symbol.observable.js"; -import "/modules/esnext.symbol.pattern-match.js"; -import "/modules/esnext.weak-map.delete-all.js"; -import "/modules/esnext.weak-map.from.js"; -import "/modules/esnext.weak-map.of.js"; -import "/modules/esnext.weak-set.add-all.js"; -import "/modules/esnext.weak-set.delete-all.js"; -import "/modules/esnext.weak-set.from.js"; -import "/modules/esnext.weak-set.of.js"; -import "/modules/web.dom-collections.for-each.js"; -import "/modules/web.dom-collections.iterator.js"; -import "/modules/web.queue-microtask.js"; -import "/modules/web.url.js"; -import "/modules/web.url.to-json.js"; -import "/modules/web.url-search-params.js"; -async function f() {} diff --git a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry_exclude/option.json b/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry_exclude/option.json deleted file mode 100644 index 68371b3c9699..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_entry_exclude/option.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "env": { - "mode": "entry", - "targets": "ie 11", - "exclude": ["transform-async-to-generator", "transform-regenerator"] - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_usage/actual.js b/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_usage/actual.js deleted file mode 100644 index f31f2531c784..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_usage/actual.js +++ /dev/null @@ -1,3 +0,0 @@ -async function asyncFn() { - -} \ No newline at end of file diff --git a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_usage/expected.js b/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_usage/expected.js deleted file mode 100644 index dddae76a5576..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_usage/expected.js +++ /dev/null @@ -1,15 +0,0 @@ -var _async_to_generator = require("/_/_async_to_generator"); -var _ts_generator = require("/_/_ts_generator"); -function asyncFn() { - return _asyncFn.apply(this, arguments); -} -function _asyncFn() { - _asyncFn = _async_to_generator._(function() { - return _ts_generator._(this, function(_state) { - return [ - 2 - ]; - }); - }); - return _asyncFn.apply(this, arguments); -} diff --git a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_usage/option.json b/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_usage/option.json deleted file mode 100644 index d2e77fef89a3..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/polyfill/ie_11_usage/option.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "env": { - "mode": "usage", - "targets": "ie 11" - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/polyfill/no_importing_corejs/actual.js b/packages/builder/plugin-swc/tests/fixtures/polyfill/no_importing_corejs/actual.js deleted file mode 100644 index 36f8f85bf258..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/polyfill/no_importing_corejs/actual.js +++ /dev/null @@ -1,4 +0,0 @@ -async function asyncFn() { - const obj = { ...{ o: 1 } } - return 1 ** 2 -} diff --git a/packages/builder/plugin-swc/tests/fixtures/polyfill/no_importing_corejs/expected.js b/packages/builder/plugin-swc/tests/fixtures/polyfill/no_importing_corejs/expected.js deleted file mode 100644 index 5b761593b584..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/polyfill/no_importing_corejs/expected.js +++ /dev/null @@ -1,21 +0,0 @@ -var _async_to_generator = require("/_/_async_to_generator"); -var _object_spread = require("/_/_object_spread"); -var _ts_generator = require("/_/_ts_generator"); -function asyncFn() { - return _asyncFn.apply(this, arguments); -} -function _asyncFn() { - _asyncFn = _async_to_generator._(function() { - var obj; - return _ts_generator._(this, function(_state) { - obj = _object_spread._({}, { - o: 1 - }); - return [ - 2, - Math.pow(1, 2) - ]; - }); - }); - return _asyncFn.apply(this, arguments); -} diff --git a/packages/builder/plugin-swc/tests/fixtures/polyfill/no_importing_corejs/option.json b/packages/builder/plugin-swc/tests/fixtures/polyfill/no_importing_corejs/option.json deleted file mode 100644 index 3852c895a744..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/polyfill/no_importing_corejs/option.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "env": { - "mode": "entry", - "targets": "ie 11" - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/react/devlopment/false/actual.jsx b/packages/builder/plugin-swc/tests/fixtures/react/devlopment/false/actual.jsx deleted file mode 100644 index 39895440a241..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/react/devlopment/false/actual.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import React, { useState } from 'react'; - -export const App = () => { - const [count, setCount] = useState(0); - - return ( -
- Hello World. {count}{' '} - {' '} -
- ); -}; diff --git a/packages/builder/plugin-swc/tests/fixtures/react/devlopment/false/expected.js b/packages/builder/plugin-swc/tests/fixtures/react/devlopment/false/expected.js deleted file mode 100644 index 4f204d066fe0..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/react/devlopment/false/expected.js +++ /dev/null @@ -1,22 +0,0 @@ -import { _ as _sliced_to_array } from "/_/_sliced_to_array"; -import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; -import React, { useState } from "react"; -export var App = function() { - var _useState = _sliced_to_array(useState(0), 2), count = _useState[0], setCount = _useState[1]; - return /*#__PURE__*/ _jsxs("div", { - children: [ - "Hello World. ", - count, - " ", - /*#__PURE__*/ _jsx("button", { - onClick: function() { - return setCount(function(c) { - return c + 1; - }); - }, - children: "Count++" - }), - " " - ] - }); -}; diff --git a/packages/builder/plugin-swc/tests/fixtures/react/devlopment/false/option.json b/packages/builder/plugin-swc/tests/fixtures/react/devlopment/false/option.json deleted file mode 100644 index 143d40e6d335..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/react/devlopment/false/option.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "jsc": { - "transform": { - "react": { - "development": false, - "refresh": true - } - } - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/react/devlopment/true/actual.jsx b/packages/builder/plugin-swc/tests/fixtures/react/devlopment/true/actual.jsx deleted file mode 100644 index 39895440a241..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/react/devlopment/true/actual.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import React, { useState } from 'react'; - -export const App = () => { - const [count, setCount] = useState(0); - - return ( -
- Hello World. {count}{' '} - {' '} -
- ); -}; diff --git a/packages/builder/plugin-swc/tests/fixtures/react/devlopment/true/expected.js b/packages/builder/plugin-swc/tests/fixtures/react/devlopment/true/expected.js deleted file mode 100644 index 69743c0eabdc..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/react/devlopment/true/expected.js +++ /dev/null @@ -1,37 +0,0 @@ -import { _ as _sliced_to_array } from "/_/_sliced_to_array"; -var _this = this; -import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime"; -var _s = $RefreshSig$(); -import React, { useState } from "react"; -export var App = function() { - _s(); - var _useState = _sliced_to_array(useState(0), 2), count = _useState[0], setCount = _useState[1]; - return /*#__PURE__*/ _jsxDEV("div", { - children: [ - "Hello World. ", - count, - " ", - /*#__PURE__*/ _jsxDEV("button", { - onClick: function() { - return setCount(function(c) { - return c + 1; - }); - }, - children: "Count++" - }, void 0, false, { - fileName: "/react/devlopment/true/actual.jsx", - lineNumber: 9, - columnNumber: 7 - }, _this), - " " - ] - }, void 0, true, { - fileName: "/react/devlopment/true/actual.jsx", - lineNumber: 7, - columnNumber: 5 - }, _this); -}; -_s(App, "oDgYfYHkD9Wkv4hrAPCkI/ev3YU="); -_c = App; -var _c; -$RefreshReg$(_c, "App"); diff --git a/packages/builder/plugin-swc/tests/fixtures/react/devlopment/true/option.json b/packages/builder/plugin-swc/tests/fixtures/react/devlopment/true/option.json deleted file mode 100644 index bec739caace8..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/react/devlopment/true/option.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "jsc": { - "transform": { - "react": { - "development": true, - "refresh": true - } - } - }, - "filename": "demo" -} diff --git a/packages/builder/plugin-swc/tests/fixtures/react/fast-refresh/actual.jsx b/packages/builder/plugin-swc/tests/fixtures/react/fast-refresh/actual.jsx deleted file mode 100644 index 39895440a241..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/react/fast-refresh/actual.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import React, { useState } from 'react'; - -export const App = () => { - const [count, setCount] = useState(0); - - return ( -
- Hello World. {count}{' '} - {' '} -
- ); -}; diff --git a/packages/builder/plugin-swc/tests/fixtures/react/fast-refresh/expected.js b/packages/builder/plugin-swc/tests/fixtures/react/fast-refresh/expected.js deleted file mode 100644 index 6e1be55931c1..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/react/fast-refresh/expected.js +++ /dev/null @@ -1,37 +0,0 @@ -import { _ as _sliced_to_array } from "/_/_sliced_to_array"; -var _this = this; -import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime"; -var _s = $RefreshSig$(); -import React, { useState } from "react"; -export var App = function() { - _s(); - var _useState = _sliced_to_array(useState(0), 2), count = _useState[0], setCount = _useState[1]; - return /*#__PURE__*/ _jsxDEV("div", { - children: [ - "Hello World. ", - count, - " ", - /*#__PURE__*/ _jsxDEV("button", { - onClick: function() { - return setCount(function(c) { - return c + 1; - }); - }, - children: "Count++" - }, void 0, false, { - fileName: "/react/fast-refresh/actual.jsx", - lineNumber: 9, - columnNumber: 7 - }, _this), - " " - ] - }, void 0, true, { - fileName: "/react/fast-refresh/actual.jsx", - lineNumber: 7, - columnNumber: 5 - }, _this); -}; -_s(App, "oDgYfYHkD9Wkv4hrAPCkI/ev3YU="); -_c = App; -var _c; -$RefreshReg$(_c, "App"); diff --git a/packages/builder/plugin-swc/tests/fixtures/react/fast-refresh/option.json b/packages/builder/plugin-swc/tests/fixtures/react/fast-refresh/option.json deleted file mode 100644 index bec739caace8..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/react/fast-refresh/option.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "jsc": { - "transform": { - "react": { - "development": true, - "refresh": true - } - } - }, - "filename": "demo" -} diff --git a/packages/builder/plugin-swc/tests/fixtures/react/jsx-runtime/actual.jsx b/packages/builder/plugin-swc/tests/fixtures/react/jsx-runtime/actual.jsx deleted file mode 100644 index 08a2f644a5c4..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/react/jsx-runtime/actual.jsx +++ /dev/null @@ -1,14 +0,0 @@ -import { useState } from 'react'; - -const App = () => { - const [count, setCount] = useState(0); - - return ( -
- Hello World. {count}{' '} - {' '} -
- ); -}; - -export default App; diff --git a/packages/builder/plugin-swc/tests/fixtures/react/jsx-runtime/expected.js b/packages/builder/plugin-swc/tests/fixtures/react/jsx-runtime/expected.js deleted file mode 100644 index d8ff622cc779..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/react/jsx-runtime/expected.js +++ /dev/null @@ -1,32 +0,0 @@ -import { _ as _sliced_to_array } from "/_/_sliced_to_array"; -var _this = this; -import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime"; -import { useState } from "react"; -var App = function() { - var _useState = _sliced_to_array(useState(0), 2), count = _useState[0], setCount = _useState[1]; - return /*#__PURE__*/ _jsxDEV("div", { - children: [ - "Hello World. ", - count, - " ", - /*#__PURE__*/ _jsxDEV("button", { - onClick: function() { - return setCount(function(c) { - return c + 1; - }); - }, - children: "Count++" - }, void 0, false, { - fileName: "/react/jsx-runtime/actual.jsx", - lineNumber: 9, - columnNumber: 7 - }, _this), - " " - ] - }, void 0, true, { - fileName: "/react/jsx-runtime/actual.jsx", - lineNumber: 7, - columnNumber: 5 - }, _this); -}; -export default App; diff --git a/packages/builder/plugin-swc/tests/fixtures/react/jsx-runtime/option.json b/packages/builder/plugin-swc/tests/fixtures/react/jsx-runtime/option.json deleted file mode 100644 index a998638158eb..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/react/jsx-runtime/option.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "jsc": { - "transform": { - "react": { - "runtime": "automatic", - "development": true, - "refresh": false - } - } - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/typescript/tsx/actual.tsx b/packages/builder/plugin-swc/tests/fixtures/typescript/tsx/actual.tsx deleted file mode 100644 index 9d119e53c4a6..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/typescript/tsx/actual.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { useState, FC } from 'react'; - -const App: FC = () => { - const [count, setCount] = useState(0); - - return ( -
- Hello World. {count}{' '} - {' '} -
- ); -}; - -export default App; diff --git a/packages/builder/plugin-swc/tests/fixtures/typescript/tsx/expected.js b/packages/builder/plugin-swc/tests/fixtures/typescript/tsx/expected.js deleted file mode 100644 index f02d575ffa20..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/typescript/tsx/expected.js +++ /dev/null @@ -1,32 +0,0 @@ -import { _ as _sliced_to_array } from "/_/_sliced_to_array"; -var _this = this; -import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime"; -import { useState } from "react"; -var App = function() { - var _useState = _sliced_to_array(useState(0), 2), count = _useState[0], setCount = _useState[1]; - return /*#__PURE__*/ _jsxDEV("div", { - children: [ - "Hello World. ", - count, - " ", - /*#__PURE__*/ _jsxDEV("button", { - onClick: function() { - return setCount(function(c) { - return c + 1; - }); - }, - children: "Count++" - }, void 0, false, { - fileName: "/typescript/tsx/actual.tsx", - lineNumber: 9, - columnNumber: 7 - }, _this), - " " - ] - }, void 0, true, { - fileName: "/typescript/tsx/actual.tsx", - lineNumber: 7, - columnNumber: 5 - }, _this); -}; -export default App; diff --git a/packages/builder/plugin-swc/tests/fixtures/typescript/tsx/option.json b/packages/builder/plugin-swc/tests/fixtures/typescript/tsx/option.json deleted file mode 100644 index a998638158eb..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/typescript/tsx/option.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "jsc": { - "transform": { - "react": { - "runtime": "automatic", - "development": true, - "refresh": false - } - } - } -} diff --git a/packages/builder/plugin-swc/tests/fixtures/typescript/tsx/tsconfig.json b/packages/builder/plugin-swc/tests/fixtures/typescript/tsx/tsconfig.json deleted file mode 100644 index a224293f4e48..000000000000 --- a/packages/builder/plugin-swc/tests/fixtures/typescript/tsx/tsconfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx" - } -} diff --git a/packages/builder/plugin-swc/tests/index.test.ts b/packages/builder/plugin-swc/tests/index.test.ts deleted file mode 100644 index 838c76373390..000000000000 --- a/packages/builder/plugin-swc/tests/index.test.ts +++ /dev/null @@ -1,148 +0,0 @@ -import * as path from 'path'; -import { it, expect, describe } from 'vitest'; -import MagicString from 'magic-string'; -import { SourceMapConsumer } from 'source-map'; - -import { transform } from '../src/binding'; -import { fsSnapshot, walkLeafDir, applyDefaultConfig } from './utils'; -import { lookForBrowserslist } from './browserslist'; - -/* - * # Workflow - * If you want to add new test. - * - * ## Init: - * 1. First create a new folder, assuming you add fixtures/polyfill/ie11 folder. - * 2. Then create your input file, name it 'actual.js', create an option file, - * name it option.json, then that's all. write your test like following: - * - * ```typescript - * it('polyfill', async () => { - * // find every leaf folder under specific directory - * await walkLeafDir(path.resolve(__dirname, 'fixtures/polyfill'), async dir => { - * // for every folder, compare expected.js with compiled actual.js - * await fsSnapshot(dir, transform) - * }) - * }) - * ``` - * - * Then run ```npm run test```. You will find a new expected.js file in that ie11 folder. - * You can check if that file is correct. - * - * Every time you run test, expected.js will be compared to new generated output so you can - * treat it as file system snapshot test. - * - * ## Update test case: - * Simply delete old expected.js, then run ```npm run test``` to create a new one. - */ - -// Just need to test whether every single option actually works. -// For more detail polyfill test, swc already tested that. -describe('fixtures', () => { - it('polyfill', async () => { - await normalFsSnapshot('fixtures/polyfill'); - }); - - it('sourcemap', async () => { - const raw = 'console.log(b);\nconsole.log(a);\n'; - const code = new MagicString(raw, { - filename: 'begin.js', - }); - // reverse to 'console.log(a);\nconsole.log(b);\n' - code.move(0, 'console.log(b);\n'.length - 1, raw.length + 1); - code.prepend('import { a, b } from "x";\n'); - - const inputMap = code.generateMap({ - source: 'begin.js', - hires: true, - }); - - const { map } = await transform( - applyDefaultConfig({ - env: { - targets: 'ie 11', - }, - module: { - type: 'commonjs', - }, - sourceMaps: true, - }), - '', - code.toString(), - JSON.stringify(inputMap), - ); - /** - transformed code is: - "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - var _x = require("x"); - console.log(_x.a); - console.log(_x.b); ---- line 7 - */ - await SourceMapConsumer.with(map!.toString(), null, smc => { - // test location for `console.log` at line 7 - // original location is line 1 at `raw` - const locB = smc.originalPositionFor({ - line: 7, - column: 13, - }); // Code position for `_x.b` - expect(locB.line).equal(1); - expect(locB.column).equal(12); - - const locA = smc.originalPositionFor({ - line: 6, - column: 13, - }); - expect(locA.line).equal(2); - expect(locA.column).equal(12); - }); - }); - - it('error reporter', async () => { - try { - await transform( - applyDefaultConfig({}), - 'anonymous', - 'if ((1) const a = 1', - ); // syntax error - } catch (e) { - expect(e as Error).toMatchSnapshot('transform parse error'); - } - }); - - it('look for browserslist', async () => { - await lookForBrowserslist(); - }); - - it('react transform', async () => { - await normalFsSnapshot('fixtures/react'); - }); - - it('typescript', async () => { - await normalFsSnapshot('fixtures/typescript'); - }); - - it('internal_pass', async () => { - await normalFsSnapshot('fixtures/extensions'); - }); - - it('lock_corejs_version', async () => { - await normalFsSnapshot('fixtures/corejs-version'); - }); - - it('compat', async () => { - await normalFsSnapshot('fixtures/compat'); - }); - - it('lodash', async () => { - await normalFsSnapshot('fixtures/lodash'); - }); -}); - -async function normalFsSnapshot(name: string) { - await walkLeafDir(path.resolve(__dirname, name), async dir => { - await fsSnapshot(dir, transform); - }); -} diff --git a/packages/builder/plugin-swc/tests/loader.test.ts b/packages/builder/plugin-swc/tests/loader.test.ts deleted file mode 100644 index 118218e57197..000000000000 --- a/packages/builder/plugin-swc/tests/loader.test.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { describe, it } from 'vitest'; -import { LoaderContext, LoaderDefinitionFunction } from 'webpack'; -import { createLoader } from '../src/loader'; - -const mockSwcLoaderRunner = (): [ - Promise>, - LoaderContext<{}>, -] => { - let resolve; - const p = new Promise>( - r => (resolve = r), - ); - return [ - p, - { - getOptions() { - return {}; - }, - async() { - return resolve; - }, - resourcePath: '/test.js', - } as LoaderContext<{}>, - ]; -}; - -describe('loader test', () => { - it('should handle loader interface correctly', async () => { - const loader = createLoader(); - - const [finish, runner] = mockSwcLoaderRunner(); - - loader.call(runner, '', { - version: 3, - file: 'app.js', - sources: [], - sourceRoot: '', - names: [], - mappings: '', - }); - - await finish; - }); -}); diff --git a/packages/builder/plugin-swc/tests/plugin.test.ts b/packages/builder/plugin-swc/tests/plugin.test.ts deleted file mode 100644 index bdcf2ae44e79..000000000000 --- a/packages/builder/plugin-swc/tests/plugin.test.ts +++ /dev/null @@ -1,300 +0,0 @@ -import * as path from 'path'; -import { expect, describe, it } from 'vitest'; -import { createStubBuilder } from '@modern-js/builder-webpack-provider/stub'; -import { builderPluginSwc } from '../src'; -import { builderPluginBabel } from '@modern-js/builder-webpack-provider/plugins/babel'; -import { createSnapshotSerializer } from '@scripts/vitest-config'; -import { applyPluginConfig } from '../src/utils'; -import type { - ModifyWebpackChainUtils, - NormalizedConfig, -} from '@modern-js/builder-webpack-provider'; - -const TEST_BUILDER_CONFIG = { - output: {}, - tools: {}, -} as unknown as NormalizedConfig; - -const UTILS = { target: 'web', isProd: true } as ModifyWebpackChainUtils; - -expect.addSnapshotSerializer( - createSnapshotSerializer({ - replace: [{ mark: 'root', match: path.resolve(__dirname, '..') }], - }), -); - -describe('plugins/swc', () => { - it('should set swc-loader', async () => { - const builder = await createStubBuilder({ - plugins: [builderPluginBabel(), builderPluginSwc()], - builderConfig: {}, - }); - const config = await builder.unwrapWebpackConfig(); - - expect(config).toMatchSnapshot(); - }); - - it('should set swc minimizer in production', async () => { - process.env.NODE_ENV = 'production'; - const builder = await createStubBuilder({ - plugins: [builderPluginBabel(), builderPluginSwc()], - builderConfig: {}, - }); - const config = await builder.unwrapWebpackConfig(); - expect(config.optimization).toMatchSnapshot(); - - process.env.NODE_ENV = 'test'; - }); - - it('should set correct swc minimizer options in production', async () => { - process.env.NODE_ENV = 'production'; - const builder = await createStubBuilder({ - plugins: [ - builderPluginBabel(), - builderPluginSwc({ - jsMinify: { - compress: false, - mangle: false, - }, - }), - ], - }); - const config = await builder.unwrapWebpackConfig(); - expect(config.optimization).toMatchSnapshot(); - - process.env.NODE_ENV = 'test'; - }); - - it('should set correct swc minimizer options using raw swc config', async () => { - process.env.NODE_ENV = 'production'; - const builder = await createStubBuilder({ - plugins: [ - builderPluginBabel(), - builderPluginSwc({ - jsc: { - minify: { - compress: false, - mangle: false, - }, - }, - }), - ], - }); - const config = await builder.unwrapWebpackConfig(); - expect(config.optimization).toMatchSnapshot(); - - process.env.NODE_ENV = 'test'; - }); - - it('should disable swc minify', async () => { - process.env.NODE_ENV = 'production'; - const builder = await createStubBuilder({ - plugins: [ - builderPluginBabel(), - builderPluginSwc({ - jsMinify: false, - cssMinify: false, - }), - ], - }); - const config = await builder.unwrapWebpackConfig(); - expect(config.optimization).toBeFalsy(); - process.env.NODE_ENV = 'test'; - }); - - it('should disable swc minify when raw swc config', async () => { - process.env.NODE_ENV = 'production'; - const builder = await createStubBuilder({ - plugins: [ - builderPluginBabel(), - builderPluginSwc({ - jsMinify: false, - cssMinify: false, - jsc: { - minify: {}, - }, - minify: true, - }), - ], - }); - const config = await builder.unwrapWebpackConfig(); - expect(config.optimization).toBeFalsy(); - process.env.NODE_ENV = 'test'; - }); - - it('should apply source.include and source.exclude correctly', async () => { - process.env.NODE_ENV = 'development'; - - const builder = await createStubBuilder({ - plugins: [builderPluginBabel(), builderPluginSwc()], - builderConfig: { - source: { - include: [/foo/], - exclude: [/bar/], - }, - }, - }); - const config = await builder.unwrapWebpackConfig(); - - expect(config).toMatchSnapshot(); - }); - - it('should disable react refresh when dev.hmr is false', async () => { - process.env.NODE_ENV = 'development'; - const builder = await createStubBuilder({ - plugins: [builderPluginSwc()], - builderConfig: { - dev: { - hmr: false, - }, - }, - }); - const config = await builder.unwrapWebpackConfig(); - expect(config.module).toMatchSnapshot(); - - process.env.NODE_ENV = 'test'; - }); - - it('should disable react refresh when target is not web', async () => { - process.env.NODE_ENV = 'development'; - - const builder = await createStubBuilder({ - plugins: [builderPluginSwc()], - target: ['modern-web', 'node', 'service-worker', 'web', 'web-worker'], - }); - const configs = await builder.unwrapWebpackConfigs(); - - for (const config of configs) { - expect(config.module).toMatchSnapshot(); - } - - process.env.NODE_ENV = 'test'; - }); - - it('should not using minify in transform', async () => { - const config = ( - await applyPluginConfig( - { - jsMinify: true, - }, - UTILS, - TEST_BUILDER_CONFIG, - process.cwd(), - ) - )[0].swcConfig; - - expect(config.minify).toBeFalsy(); - }); - - it('should generate correct options in function form', async () => { - const config = ( - await applyPluginConfig( - (config, { setConfig }) => { - setConfig(config, 'jsc.transform.react.runtime', 'foo'); - }, - UTILS, - TEST_BUILDER_CONFIG, - process.cwd(), - ) - )[0].swcConfig; - - expect(config.jsc?.transform?.react?.runtime).toBe('foo'); - }); - - it('should generate correct options in function form using return', async () => { - const config = await applyPluginConfig( - _config => { - return {}; - }, - UTILS, - TEST_BUILDER_CONFIG, - process.cwd(), - ); - - expect(config[0].swcConfig).toStrictEqual({}); - }); - - it('should pass throng SWC config', async () => { - { - const config = ( - await applyPluginConfig( - { - jsc: { - transform: { - useDefineForClassFields: false, - }, - }, - }, - UTILS, - TEST_BUILDER_CONFIG, - process.cwd(), - ) - )[0].swcConfig; - - expect(config.jsc?.transform?.useDefineForClassFields).toBeFalsy(); - } - - { - const config = ( - await applyPluginConfig( - { - env: { - coreJs: '2', - }, - }, - UTILS, - TEST_BUILDER_CONFIG, - process.cwd(), - ) - )[0].swcConfig; - - expect(config.env?.coreJs).toBe('2'); - expect(config.env?.targets).toBeDefined(); - } - - { - const config = ( - await applyPluginConfig( - config => { - config.env!.coreJs = '2'; - }, - UTILS, - TEST_BUILDER_CONFIG, - process.cwd(), - ) - )[0].swcConfig; - - expect(config.env?.coreJs).toBe('2'); - expect(config.env?.targets).toBeDefined(); - } - }); - - it('should set multiple swc-loader', async () => { - const builder = await createStubBuilder({ - plugins: [ - builderPluginBabel(), - builderPluginSwc({ - overrides: [ - { - test: /override.ts/, - jsc: { - transform: { - useDefineForClassFields: false, - }, - }, - }, - ], - jsc: { - transform: { - useDefineForClassFields: true, - }, - }, - }), - ], - builderConfig: {}, - }); - const config = await builder.unwrapWebpackConfig(); - - expect(config.module!.rules).toMatchSnapshot(); - }); -}); diff --git a/packages/builder/plugin-swc/tests/setup.ts b/packages/builder/plugin-swc/tests/setup.ts deleted file mode 100644 index f1f04eaf82fe..000000000000 --- a/packages/builder/plugin-swc/tests/setup.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { expect } from 'vitest'; -import { createSnapshotSerializer } from '@scripts/vitest-config'; - -expect.addSnapshotSerializer(createSnapshotSerializer()); diff --git a/packages/builder/plugin-swc/tests/utils.ts b/packages/builder/plugin-swc/tests/utils.ts deleted file mode 100644 index c9ac766702cd..000000000000 --- a/packages/builder/plugin-swc/tests/utils.ts +++ /dev/null @@ -1,169 +0,0 @@ -import * as path from 'path'; -import * as fs from 'fs'; -import { Script } from 'node:vm'; -import * as swc from '@swc/core'; -import { expect } from 'vitest'; -import { Output, TransformConfig } from '@modern-js/swc-plugins'; -import { merge } from '@modern-js/utils/lodash'; -import { getDefaultSwcConfig } from '../src/plugin'; - -export function isInUpdate(): boolean { - return process.env.SNAPSHOT_UPDATE === '1'; -} - -export function replace( - origin: string, - replaces: Array<{ match: string | RegExp; mark: string }>, -) { - return replaces.reduce((pre, cur) => { - const match = new RegExp(cur.match, 'g'); - return pre.replace(match, cur.mark); - }, origin); -} - -export function replaceCorejsAndSwcHelps(source: string) { - return replace(source, [ - { - mark: '"', - match: /\".*helpers(?!@)/, - }, - { - mark: '"', - match: /\".*core-js(?!@)/, - }, - ]); -} - -/** - * @param base start directory - * @param cb when a leaf dir is found, call cb - * - * This function will walk through all dir under base directory, - * and if there is one dir that only contains files, does not contain - * any more sub dir, this dir is a leaf dir, and will invoke cb like cb(leaf) - */ -export async function walkLeafDir( - base: string, - cb: (dir: string) => Promise, -) { - const dirs = fs.readdirSync(base); - let isLeaf = true; - for (const dir of dirs) { - const next = path.resolve(base, dir); - if (fs.statSync(next).isDirectory()) { - isLeaf = false; - await walkLeafDir(next, cb); - } - } - - // leaf node - if (isLeaf) { - await cb(base); - } -} - -/** - * @param ext array of extensions - * @param base base dir to look up for - * @param name name of the file - * @returns file absolute path - * - * findPath(['js', 'ts'], '/app/src', index); - * will try resolve: - * - /app/src/index.js - * - /app/src/index.ts - * return first found path - */ -export function findPath( - ext: string[], - base: string, - name: string, -): string | null { - const file = ext - .map(ext => { - const filePath = path.resolve(base, `${name}.${ext}`); - if (fs.existsSync(filePath)) { - return filePath; - } else { - return null; - } - }) - .filter(Boolean)[0]; - - return file; -} - -/** - * @param base base dir - * @param compileFn fn to invoke compilation - * 1. compile actual.js, using options in base/option.(json | js) - * 2. compare compiled file content to expected.js file content, if - * expected.js is not found, create new one with compiled content. - */ -export async function fsSnapshot( - base: string, - compileFn: ( - option: Required, - filename: string, - code: string, - map?: string, - ) => Promise | Output, -) { - const actualFile = findPath(['js', 'jsx', 'ts', 'tsx'], base, 'actual')!; - const actual = fs.readFileSync(actualFile); - - const optionsPath = findPath(['js', 'json'], base, 'option')!; - let option: TransformConfig; - if (optionsPath.endsWith('ts')) { - const { code } = swc.transformFileSync(optionsPath, { - jsc: { - externalHelpers: false, - }, - module: { - type: 'commonjs', - }, - }); - const script = new Script(code); - const module = { exports: {} }; - script.runInContext({ - global, - module, - }); - option = module.exports as TransformConfig; - } else { - option = require(optionsPath); - } - - const { code } = await compileFn( - applyDefaultConfig(option), - actualFile - .replace(path.join(__dirname, './fixtures'), '') - .replace( - new RegExp(path.sep === '/' ? path.sep : '\\\\', 'g'), - path.posix.sep, - ), - actual.toString(), - ); - - const expectedPath = path.resolve(base, 'expected.js'); - const finalCode = replaceCorejsAndSwcHelps(code); - - if (!fs.existsSync(expectedPath) || isInUpdate()) { - fs.writeFileSync(expectedPath, finalCode); - } else { - const expected = fs.readFileSync(expectedPath).toString(); - - expect(finalCode, `Test base: ${base}`).toEqual( - expected.replace(new RegExp('\r\n', 'g'), '\n'), - ); - } -} - -export function applyDefaultConfig( - config: TransformConfig, -): Required { - return merge( - getDefaultSwcConfig(), - config, - ) as unknown as Required; -} diff --git a/packages/builder/plugin-swc/tsconfig.json b/packages/builder/plugin-swc/tsconfig.json deleted file mode 100644 index bae394a0c2f0..000000000000 --- a/packages/builder/plugin-swc/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "@modern-js/tsconfig/base", - "compilerOptions": { - "target": "ES2019", - "declaration": true, - "outDir": "dist", - "isolatedModules": true, - "noImplicitAny": true, - "skipLibCheck": true, - "sourceMap": true, - }, - "include": ["./src"], - "exclude": ["./tests/fixtures"] -} diff --git a/packages/builder/plugin-swc/vitest.config.ts b/packages/builder/plugin-swc/vitest.config.ts deleted file mode 100644 index 62b26b26b8e0..000000000000 --- a/packages/builder/plugin-swc/vitest.config.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { defineConfig } from 'vitest/config'; -import { withTestPreset } from '@scripts/vitest-config'; - -const config = defineConfig({ - test: { - root: __dirname, - environment: 'node', - setupFiles: ['./tests/setup.ts'], - }, -}); - -export default withTestPreset(config); diff --git a/packages/builder/uni-builder/compiled/babel-plugin-lodash/index.d.ts b/packages/builder/uni-builder/compiled/babel-plugin-lodash/index.d.ts deleted file mode 100644 index a2ac5f9bc2ef..000000000000 --- a/packages/builder/uni-builder/compiled/babel-plugin-lodash/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export = any; diff --git a/packages/builder/uni-builder/compiled/babel-plugin-lodash/license b/packages/builder/uni-builder/compiled/babel-plugin-lodash/license deleted file mode 100644 index 4e4969672c55..000000000000 --- a/packages/builder/uni-builder/compiled/babel-plugin-lodash/license +++ /dev/null @@ -1,44 +0,0 @@ -Copyright JS Foundation and other contributors - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/lodash/lodash - -The following license applies to all parts of this software except as -documented below: - -==== - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -==== - -Copyright and related rights for sample code are waived via CC0. Sample -code is defined as all source code displayed within the prose of the -documentation. - -CC0: http://creativecommons.org/publicdomain/zero/1.0/ - -==== - -Files located in the node_modules and vendor directories are externally -maintained libraries used by this software which have their own -licenses; we recommend you read them, as their terms may differ from the -terms above. diff --git a/packages/builder/uni-builder/compiled/babel-plugin-lodash/package.json b/packages/builder/uni-builder/compiled/babel-plugin-lodash/package.json deleted file mode 100644 index aaa33fb33c0f..000000000000 --- a/packages/builder/uni-builder/compiled/babel-plugin-lodash/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"babel-plugin-lodash","author":"Graeme Yeates (https://github.com/megawac)","version":"3.3.4","license":"MIT","types":"index.d.ts"} diff --git a/packages/builder/uni-builder/src/shared/manifest.ts b/packages/builder/uni-builder/src/shared/manifest.ts deleted file mode 100644 index 89f61f087e28..000000000000 --- a/packages/builder/uni-builder/src/shared/manifest.ts +++ /dev/null @@ -1,29 +0,0 @@ -import type { Chunk } from 'webpack'; - -export const generateManifest = ( - seed: Record, - files: Array<{ - chunk?: Chunk; - name: string; - path: string; - }>, - entries: Record, -) => { - const manifestFiles = files.reduce((manifest, file) => { - manifest[file.name] = file.path; - return manifest; - }, seed); - - const entrypointFiles = Object.keys(entries).reduce( - (previous, name) => - previous.concat( - entries[name].filter(fileName => !fileName.endsWith('.map')), - ), - [], - ); - - return { - files: manifestFiles, - entrypoints: entrypointFiles, - }; -}; diff --git a/packages/builder/uni-builder/tests/.eslintrc.js b/packages/builder/uni-builder/tests/.eslintrc.js deleted file mode 100644 index 8ad708bcff41..000000000000 --- a/packages/builder/uni-builder/tests/.eslintrc.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - extends: ['@modern-js'], - parserOptions: { - project: require.resolve('./tsconfig.json'), - }, -}; diff --git a/packages/builder/uni-builder/tests/setup.ts b/packages/builder/uni-builder/tests/setup.ts deleted file mode 100644 index 73e4571877d3..000000000000 --- a/packages/builder/uni-builder/tests/setup.ts +++ /dev/null @@ -1,20 +0,0 @@ -// eslint-disable-next-line node/prefer-global/console -import { Console } from 'console'; -import { expect } from 'vitest'; -import { createSnapshotSerializer } from '@scripts/vitest-config'; - -global.console.Console = Console; - -// Disable chalk in test -process.env.FORCE_COLOR = '0'; - -expect.addSnapshotSerializer( - createSnapshotSerializer({ - replace: [ - { - mark: 'fragment', - match: /(?<=\/)modern-js\/stub-builder\/[^/]+\/[^/]+/, - }, - ], - }), -); diff --git a/packages/builder/uni-builder/vitest.config.ts b/packages/builder/uni-builder/vitest.config.ts deleted file mode 100644 index 62b26b26b8e0..000000000000 --- a/packages/builder/uni-builder/vitest.config.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { defineConfig } from 'vitest/config'; -import { withTestPreset } from '@scripts/vitest-config'; - -const config = defineConfig({ - test: { - root: __dirname, - environment: 'node', - setupFiles: ['./tests/setup.ts'], - }, -}); - -export default withTestPreset(config); diff --git a/packages/builder/uni-builder/.eslintrc.js b/packages/cli/uni-builder/.eslintrc.js similarity index 100% rename from packages/builder/uni-builder/.eslintrc.js rename to packages/cli/uni-builder/.eslintrc.js diff --git a/packages/builder/uni-builder/CHANGELOG.md b/packages/cli/uni-builder/CHANGELOG.md similarity index 100% rename from packages/builder/uni-builder/CHANGELOG.md rename to packages/cli/uni-builder/CHANGELOG.md diff --git a/packages/builder/uni-builder/LICENSE b/packages/cli/uni-builder/LICENSE similarity index 100% rename from packages/builder/uni-builder/LICENSE rename to packages/cli/uni-builder/LICENSE diff --git a/packages/builder/uni-builder/README.md b/packages/cli/uni-builder/README.md similarity index 100% rename from packages/builder/uni-builder/README.md rename to packages/cli/uni-builder/README.md diff --git a/packages/builder/builder-shared/compiled/autoprefixer/index.d.ts b/packages/cli/uni-builder/compiled/babel-plugin-lodash/index.d.ts similarity index 100% rename from packages/builder/builder-shared/compiled/autoprefixer/index.d.ts rename to packages/cli/uni-builder/compiled/babel-plugin-lodash/index.d.ts diff --git a/packages/builder/uni-builder/compiled/babel-plugin-lodash/index.js b/packages/cli/uni-builder/compiled/babel-plugin-lodash/index.js similarity index 100% rename from packages/builder/uni-builder/compiled/babel-plugin-lodash/index.js rename to packages/cli/uni-builder/compiled/babel-plugin-lodash/index.js diff --git a/packages/builder/builder-webpack-provider/compiled/babel-plugin-lodash/license b/packages/cli/uni-builder/compiled/babel-plugin-lodash/license similarity index 100% rename from packages/builder/builder-webpack-provider/compiled/babel-plugin-lodash/license rename to packages/cli/uni-builder/compiled/babel-plugin-lodash/license diff --git a/packages/builder/builder-webpack-provider/compiled/babel-plugin-lodash/package.json b/packages/cli/uni-builder/compiled/babel-plugin-lodash/package.json similarity index 100% rename from packages/builder/builder-webpack-provider/compiled/babel-plugin-lodash/package.json rename to packages/cli/uni-builder/compiled/babel-plugin-lodash/package.json diff --git a/packages/builder/uni-builder/modern.config.ts b/packages/cli/uni-builder/modern.config.ts similarity index 100% rename from packages/builder/uni-builder/modern.config.ts rename to packages/cli/uni-builder/modern.config.ts diff --git a/packages/builder/uni-builder/package.json b/packages/cli/uni-builder/package.json similarity index 97% rename from packages/builder/uni-builder/package.json rename to packages/cli/uni-builder/package.json index 91f968e5d9e4..15da1dfba509 100644 --- a/packages/builder/uni-builder/package.json +++ b/packages/cli/uni-builder/package.json @@ -76,7 +76,6 @@ "webpack-subresource-integrity": "5.1.0" }, "devDependencies": { - "@modern-js/builder-plugin-node-polyfill": "workspace:*", "@rsbuild/plugin-swc": "0.4.3", "@scripts/build": "workspace:*", "@scripts/vitest-config": "workspace:*", diff --git a/packages/builder/uni-builder/src/index.ts b/packages/cli/uni-builder/src/index.ts similarity index 100% rename from packages/builder/uni-builder/src/index.ts rename to packages/cli/uni-builder/src/index.ts diff --git a/packages/builder/uni-builder/src/rspack/index.ts b/packages/cli/uni-builder/src/rspack/index.ts similarity index 100% rename from packages/builder/uni-builder/src/rspack/index.ts rename to packages/cli/uni-builder/src/rspack/index.ts diff --git a/packages/builder/uni-builder/src/rspack/plugins/babel-post.ts b/packages/cli/uni-builder/src/rspack/plugins/babel-post.ts similarity index 100% rename from packages/builder/uni-builder/src/rspack/plugins/babel-post.ts rename to packages/cli/uni-builder/src/rspack/plugins/babel-post.ts diff --git a/packages/builder/uni-builder/src/rspack/plugins/manifest.ts b/packages/cli/uni-builder/src/rspack/plugins/manifest.ts similarity index 100% rename from packages/builder/uni-builder/src/rspack/plugins/manifest.ts rename to packages/cli/uni-builder/src/rspack/plugins/manifest.ts diff --git a/packages/builder/uni-builder/src/shared/compatLegacyPlugin.ts b/packages/cli/uni-builder/src/shared/compatLegacyPlugin.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/compatLegacyPlugin.ts rename to packages/cli/uni-builder/src/shared/compatLegacyPlugin.ts diff --git a/packages/builder/uni-builder/src/shared/constants.ts b/packages/cli/uni-builder/src/shared/constants.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/constants.ts rename to packages/cli/uni-builder/src/shared/constants.ts diff --git a/packages/builder/uni-builder/src/shared/devServer.ts b/packages/cli/uni-builder/src/shared/devServer.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/devServer.ts rename to packages/cli/uni-builder/src/shared/devServer.ts diff --git a/packages/builder/uni-builder/src/shared/getCssSupport.ts b/packages/cli/uni-builder/src/shared/getCssSupport.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/getCssSupport.ts rename to packages/cli/uni-builder/src/shared/getCssSupport.ts diff --git a/packages/builder/builder-shared/src/manifest.ts b/packages/cli/uni-builder/src/shared/manifest.ts similarity index 100% rename from packages/builder/builder-shared/src/manifest.ts rename to packages/cli/uni-builder/src/shared/manifest.ts diff --git a/packages/builder/uni-builder/src/shared/parseCommonConfig.ts b/packages/cli/uni-builder/src/shared/parseCommonConfig.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/parseCommonConfig.ts rename to packages/cli/uni-builder/src/shared/parseCommonConfig.ts diff --git a/packages/builder/uni-builder/src/shared/plugins/antd.ts b/packages/cli/uni-builder/src/shared/plugins/antd.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/plugins/antd.ts rename to packages/cli/uni-builder/src/shared/plugins/antd.ts diff --git a/packages/builder/uni-builder/src/shared/plugins/arco.ts b/packages/cli/uni-builder/src/shared/plugins/arco.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/plugins/arco.ts rename to packages/cli/uni-builder/src/shared/plugins/arco.ts diff --git a/packages/builder/uni-builder/src/shared/plugins/devtools.ts b/packages/cli/uni-builder/src/shared/plugins/devtools.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/plugins/devtools.ts rename to packages/cli/uni-builder/src/shared/plugins/devtools.ts diff --git a/packages/builder/uni-builder/src/shared/plugins/emitRouteFile.ts b/packages/cli/uni-builder/src/shared/plugins/emitRouteFile.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/plugins/emitRouteFile.ts rename to packages/cli/uni-builder/src/shared/plugins/emitRouteFile.ts diff --git a/packages/builder/uni-builder/src/shared/plugins/extensionPrefix.ts b/packages/cli/uni-builder/src/shared/plugins/extensionPrefix.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/plugins/extensionPrefix.ts rename to packages/cli/uni-builder/src/shared/plugins/extensionPrefix.ts diff --git a/packages/builder/uni-builder/src/shared/plugins/fallback.ts b/packages/cli/uni-builder/src/shared/plugins/fallback.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/plugins/fallback.ts rename to packages/cli/uni-builder/src/shared/plugins/fallback.ts diff --git a/packages/builder/uni-builder/src/shared/plugins/frameworkConfig.ts b/packages/cli/uni-builder/src/shared/plugins/frameworkConfig.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/plugins/frameworkConfig.ts rename to packages/cli/uni-builder/src/shared/plugins/frameworkConfig.ts diff --git a/packages/builder/uni-builder/src/shared/plugins/globalVars.ts b/packages/cli/uni-builder/src/shared/plugins/globalVars.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/plugins/globalVars.ts rename to packages/cli/uni-builder/src/shared/plugins/globalVars.ts diff --git a/packages/builder/uni-builder/src/shared/plugins/mainFields.ts b/packages/cli/uni-builder/src/shared/plugins/mainFields.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/plugins/mainFields.ts rename to packages/cli/uni-builder/src/shared/plugins/mainFields.ts diff --git a/packages/builder/uni-builder/src/shared/plugins/postcssLegacy.ts b/packages/cli/uni-builder/src/shared/plugins/postcssLegacy.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/plugins/postcssLegacy.ts rename to packages/cli/uni-builder/src/shared/plugins/postcssLegacy.ts diff --git a/packages/builder/uni-builder/src/shared/plugins/runtimeChunk.ts b/packages/cli/uni-builder/src/shared/plugins/runtimeChunk.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/plugins/runtimeChunk.ts rename to packages/cli/uni-builder/src/shared/plugins/runtimeChunk.ts diff --git a/packages/builder/uni-builder/src/shared/plugins/splitChunk.ts b/packages/cli/uni-builder/src/shared/plugins/splitChunk.ts similarity index 100% rename from packages/builder/uni-builder/src/shared/plugins/splitChunk.ts rename to packages/cli/uni-builder/src/shared/plugins/splitChunk.ts diff --git a/packages/builder/uni-builder/src/types.ts b/packages/cli/uni-builder/src/types.ts similarity index 100% rename from packages/builder/uni-builder/src/types.ts rename to packages/cli/uni-builder/src/types.ts diff --git a/packages/builder/uni-builder/src/webpack/ModuleScopePlugin.ts b/packages/cli/uni-builder/src/webpack/ModuleScopePlugin.ts similarity index 100% rename from packages/builder/uni-builder/src/webpack/ModuleScopePlugin.ts rename to packages/cli/uni-builder/src/webpack/ModuleScopePlugin.ts diff --git a/packages/builder/uni-builder/src/webpack/index.ts b/packages/cli/uni-builder/src/webpack/index.ts similarity index 100% rename from packages/builder/uni-builder/src/webpack/index.ts rename to packages/cli/uni-builder/src/webpack/index.ts diff --git a/packages/builder/uni-builder/src/webpack/plugins/babel.ts b/packages/cli/uni-builder/src/webpack/plugins/babel.ts similarity index 100% rename from packages/builder/uni-builder/src/webpack/plugins/babel.ts rename to packages/cli/uni-builder/src/webpack/plugins/babel.ts diff --git a/packages/builder/uni-builder/src/webpack/plugins/lazyCompilation.ts b/packages/cli/uni-builder/src/webpack/plugins/lazyCompilation.ts similarity index 100% rename from packages/builder/uni-builder/src/webpack/plugins/lazyCompilation.ts rename to packages/cli/uni-builder/src/webpack/plugins/lazyCompilation.ts diff --git a/packages/builder/uni-builder/src/webpack/plugins/manifest.ts b/packages/cli/uni-builder/src/webpack/plugins/manifest.ts similarity index 100% rename from packages/builder/uni-builder/src/webpack/plugins/manifest.ts rename to packages/cli/uni-builder/src/webpack/plugins/manifest.ts diff --git a/packages/builder/uni-builder/src/webpack/plugins/moduleScopes.ts b/packages/cli/uni-builder/src/webpack/plugins/moduleScopes.ts similarity index 100% rename from packages/builder/uni-builder/src/webpack/plugins/moduleScopes.ts rename to packages/cli/uni-builder/src/webpack/plugins/moduleScopes.ts diff --git a/packages/builder/uni-builder/src/webpack/plugins/react.ts b/packages/cli/uni-builder/src/webpack/plugins/react.ts similarity index 100% rename from packages/builder/uni-builder/src/webpack/plugins/react.ts rename to packages/cli/uni-builder/src/webpack/plugins/react.ts diff --git a/packages/builder/uni-builder/src/webpack/plugins/sri.ts b/packages/cli/uni-builder/src/webpack/plugins/sri.ts similarity index 100% rename from packages/builder/uni-builder/src/webpack/plugins/sri.ts rename to packages/cli/uni-builder/src/webpack/plugins/sri.ts diff --git a/packages/builder/uni-builder/src/webpack/plugins/styledComponents.ts b/packages/cli/uni-builder/src/webpack/plugins/styledComponents.ts similarity index 100% rename from packages/builder/uni-builder/src/webpack/plugins/styledComponents.ts rename to packages/cli/uni-builder/src/webpack/plugins/styledComponents.ts diff --git a/packages/builder/uni-builder/src/webpack/plugins/tsLoader.ts b/packages/cli/uni-builder/src/webpack/plugins/tsLoader.ts similarity index 100% rename from packages/builder/uni-builder/src/webpack/plugins/tsLoader.ts rename to packages/cli/uni-builder/src/webpack/plugins/tsLoader.ts diff --git a/packages/builder/builder-webpack-provider/tests/.eslintrc.js b/packages/cli/uni-builder/tests/.eslintrc.js similarity index 100% rename from packages/builder/builder-webpack-provider/tests/.eslintrc.js rename to packages/cli/uni-builder/tests/.eslintrc.js diff --git a/packages/builder/uni-builder/tests/__snapshots__/babel.test.ts.snap b/packages/cli/uni-builder/tests/__snapshots__/babel.test.ts.snap similarity index 100% rename from packages/builder/uni-builder/tests/__snapshots__/babel.test.ts.snap rename to packages/cli/uni-builder/tests/__snapshots__/babel.test.ts.snap diff --git a/packages/builder/uni-builder/tests/__snapshots__/default.test.ts.snap b/packages/cli/uni-builder/tests/__snapshots__/default.test.ts.snap similarity index 100% rename from packages/builder/uni-builder/tests/__snapshots__/default.test.ts.snap rename to packages/cli/uni-builder/tests/__snapshots__/default.test.ts.snap diff --git a/packages/builder/uni-builder/tests/__snapshots__/globalVars.test.ts.snap b/packages/cli/uni-builder/tests/__snapshots__/globalVars.test.ts.snap similarity index 100% rename from packages/builder/uni-builder/tests/__snapshots__/globalVars.test.ts.snap rename to packages/cli/uni-builder/tests/__snapshots__/globalVars.test.ts.snap diff --git a/packages/builder/uni-builder/tests/__snapshots__/moduleScopes.test.ts.snap b/packages/cli/uni-builder/tests/__snapshots__/moduleScopes.test.ts.snap similarity index 100% rename from packages/builder/uni-builder/tests/__snapshots__/moduleScopes.test.ts.snap rename to packages/cli/uni-builder/tests/__snapshots__/moduleScopes.test.ts.snap diff --git a/packages/builder/uni-builder/tests/__snapshots__/parseConfig.test.ts.snap b/packages/cli/uni-builder/tests/__snapshots__/parseConfig.test.ts.snap similarity index 100% rename from packages/builder/uni-builder/tests/__snapshots__/parseConfig.test.ts.snap rename to packages/cli/uni-builder/tests/__snapshots__/parseConfig.test.ts.snap diff --git a/packages/builder/uni-builder/tests/__snapshots__/postcssLegacy.test.ts.snap b/packages/cli/uni-builder/tests/__snapshots__/postcssLegacy.test.ts.snap similarity index 100% rename from packages/builder/uni-builder/tests/__snapshots__/postcssLegacy.test.ts.snap rename to packages/cli/uni-builder/tests/__snapshots__/postcssLegacy.test.ts.snap diff --git a/packages/builder/uni-builder/tests/__snapshots__/react.test.ts.snap b/packages/cli/uni-builder/tests/__snapshots__/react.test.ts.snap similarity index 100% rename from packages/builder/uni-builder/tests/__snapshots__/react.test.ts.snap rename to packages/cli/uni-builder/tests/__snapshots__/react.test.ts.snap diff --git a/packages/builder/uni-builder/tests/__snapshots__/styledComponents.test.ts.snap b/packages/cli/uni-builder/tests/__snapshots__/styledComponents.test.ts.snap similarity index 100% rename from packages/builder/uni-builder/tests/__snapshots__/styledComponents.test.ts.snap rename to packages/cli/uni-builder/tests/__snapshots__/styledComponents.test.ts.snap diff --git a/packages/builder/uni-builder/tests/__snapshots__/tsLoader.test.ts.snap b/packages/cli/uni-builder/tests/__snapshots__/tsLoader.test.ts.snap similarity index 100% rename from packages/builder/uni-builder/tests/__snapshots__/tsLoader.test.ts.snap rename to packages/cli/uni-builder/tests/__snapshots__/tsLoader.test.ts.snap diff --git a/packages/builder/uni-builder/tests/babel.test.ts b/packages/cli/uni-builder/tests/babel.test.ts similarity index 100% rename from packages/builder/uni-builder/tests/babel.test.ts rename to packages/cli/uni-builder/tests/babel.test.ts diff --git a/packages/builder/uni-builder/tests/default.test.ts b/packages/cli/uni-builder/tests/default.test.ts similarity index 100% rename from packages/builder/uni-builder/tests/default.test.ts rename to packages/cli/uni-builder/tests/default.test.ts diff --git a/packages/builder/uni-builder/tests/fallback.test.ts b/packages/cli/uni-builder/tests/fallback.test.ts similarity index 100% rename from packages/builder/uni-builder/tests/fallback.test.ts rename to packages/cli/uni-builder/tests/fallback.test.ts diff --git a/packages/builder/uni-builder/tests/globalVars.test.ts b/packages/cli/uni-builder/tests/globalVars.test.ts similarity index 100% rename from packages/builder/uni-builder/tests/globalVars.test.ts rename to packages/cli/uni-builder/tests/globalVars.test.ts diff --git a/packages/builder/uni-builder/tests/helper.ts b/packages/cli/uni-builder/tests/helper.ts similarity index 100% rename from packages/builder/uni-builder/tests/helper.ts rename to packages/cli/uni-builder/tests/helper.ts diff --git a/packages/builder/uni-builder/tests/lazyCompilation.test.ts b/packages/cli/uni-builder/tests/lazyCompilation.test.ts similarity index 100% rename from packages/builder/uni-builder/tests/lazyCompilation.test.ts rename to packages/cli/uni-builder/tests/lazyCompilation.test.ts diff --git a/packages/builder/uni-builder/tests/legacy.test.ts b/packages/cli/uni-builder/tests/legacy.test.ts similarity index 80% rename from packages/builder/uni-builder/tests/legacy.test.ts rename to packages/cli/uni-builder/tests/legacy.test.ts index 8423fddc6e9a..e8aa2b368463 100644 --- a/packages/builder/uni-builder/tests/legacy.test.ts +++ b/packages/cli/uni-builder/tests/legacy.test.ts @@ -1,5 +1,4 @@ import { describe, it, expect } from 'vitest'; -import { builderPluginNodePolyfill } from '@modern-js/builder-plugin-node-polyfill'; import { createUniBuilder } from '../src'; describe('uni-builder legacy plugins', () => { @@ -11,8 +10,6 @@ describe('uni-builder legacy plugins', () => { }); rsbuild.addPlugins([ - // plugin type check should passed - builderPluginNodePolyfill(), { name: 'builder-plugin-test', setup: api => { @@ -40,8 +37,5 @@ describe('uni-builder legacy plugins', () => { } = await rsbuild.inspectConfig(); expect(bundlerConfigs[0].devtool).toBeFalsy(); - expect( - Object.keys(bundlerConfigs[0].resolve!.fallback!).length, - ).toBeGreaterThan(1); }); }); diff --git a/packages/builder/uni-builder/tests/manifest.test.ts b/packages/cli/uni-builder/tests/manifest.test.ts similarity index 100% rename from packages/builder/uni-builder/tests/manifest.test.ts rename to packages/cli/uni-builder/tests/manifest.test.ts diff --git a/packages/builder/uni-builder/tests/moduleScopes.test.ts b/packages/cli/uni-builder/tests/moduleScopes.test.ts similarity index 100% rename from packages/builder/uni-builder/tests/moduleScopes.test.ts rename to packages/cli/uni-builder/tests/moduleScopes.test.ts diff --git a/packages/builder/uni-builder/tests/parseConfig.test.ts b/packages/cli/uni-builder/tests/parseConfig.test.ts similarity index 100% rename from packages/builder/uni-builder/tests/parseConfig.test.ts rename to packages/cli/uni-builder/tests/parseConfig.test.ts diff --git a/packages/builder/uni-builder/tests/postcssLegacy.test.ts b/packages/cli/uni-builder/tests/postcssLegacy.test.ts similarity index 100% rename from packages/builder/uni-builder/tests/postcssLegacy.test.ts rename to packages/cli/uni-builder/tests/postcssLegacy.test.ts diff --git a/packages/builder/uni-builder/tests/react.test.ts b/packages/cli/uni-builder/tests/react.test.ts similarity index 100% rename from packages/builder/uni-builder/tests/react.test.ts rename to packages/cli/uni-builder/tests/react.test.ts diff --git a/packages/builder/uni-builder/tests/resolve.test.ts b/packages/cli/uni-builder/tests/resolve.test.ts similarity index 100% rename from packages/builder/uni-builder/tests/resolve.test.ts rename to packages/cli/uni-builder/tests/resolve.test.ts diff --git a/packages/builder/builder-rspack-provider/tests/setup.ts b/packages/cli/uni-builder/tests/setup.ts similarity index 100% rename from packages/builder/builder-rspack-provider/tests/setup.ts rename to packages/cli/uni-builder/tests/setup.ts diff --git a/packages/builder/uni-builder/tests/sri.test.ts b/packages/cli/uni-builder/tests/sri.test.ts similarity index 100% rename from packages/builder/uni-builder/tests/sri.test.ts rename to packages/cli/uni-builder/tests/sri.test.ts diff --git a/packages/builder/uni-builder/tests/styledComponents.test.ts b/packages/cli/uni-builder/tests/styledComponents.test.ts similarity index 100% rename from packages/builder/uni-builder/tests/styledComponents.test.ts rename to packages/cli/uni-builder/tests/styledComponents.test.ts diff --git a/packages/builder/uni-builder/tests/tsLoader.test.ts b/packages/cli/uni-builder/tests/tsLoader.test.ts similarity index 100% rename from packages/builder/uni-builder/tests/tsLoader.test.ts rename to packages/cli/uni-builder/tests/tsLoader.test.ts diff --git a/packages/builder/uni-builder/tests/tsconfig.json b/packages/cli/uni-builder/tests/tsconfig.json similarity index 100% rename from packages/builder/uni-builder/tests/tsconfig.json rename to packages/cli/uni-builder/tests/tsconfig.json diff --git a/packages/builder/uni-builder/tsconfig.json b/packages/cli/uni-builder/tsconfig.json similarity index 100% rename from packages/builder/uni-builder/tsconfig.json rename to packages/cli/uni-builder/tsconfig.json diff --git a/packages/builder/plugin-esbuild/vitest.config.ts b/packages/cli/uni-builder/vitest.config.ts similarity index 100% rename from packages/builder/plugin-esbuild/vitest.config.ts rename to packages/cli/uni-builder/vitest.config.ts diff --git a/packages/solutions/module-tools/package.json b/packages/solutions/module-tools/package.json index 64aacabf5fc2..c4458609ab29 100644 --- a/packages/solutions/module-tools/package.json +++ b/packages/solutions/module-tools/package.json @@ -86,7 +86,7 @@ "tsconfig-paths-webpack-plugin": "4.1.0" }, "devDependencies": { - "@modern-js/builder-webpack-provider": "workspace:*", + "@rsbuild/core": "0.4.3", "@modern-js/self": "workspace:@modern-js/module-tools@*", "@scripts/build": "workspace:*", "@scripts/vitest-config": "workspace:*", diff --git a/packages/solutions/module-tools/src/types/config/dev.ts b/packages/solutions/module-tools/src/types/config/dev.ts index e5498d7105d5..fbad1f4e05bb 100644 --- a/packages/solutions/module-tools/src/types/config/dev.ts +++ b/packages/solutions/module-tools/src/types/config/dev.ts @@ -1,8 +1,8 @@ -import type { ToolsConfig as WebpackBuilderToolsConfig } from '@modern-js/builder-webpack-provider'; +import type { ToolsConfig } from '@rsbuild/core'; export interface StorybookBuildConfig { - webpack?: WebpackBuilderToolsConfig['webpack']; - webpackChain?: WebpackBuilderToolsConfig['webpackChain']; + webpack?: ToolsConfig['webpack']; + webpackChain?: ToolsConfig['webpackChain']; } export interface Dev { storybook?: StorybookBuildConfig; diff --git a/packages/storybook/builder/src/docgen/index.ts b/packages/storybook/builder/src/docgen/index.ts index 28c473ddd057..f6b07982e7ed 100644 --- a/packages/storybook/builder/src/docgen/index.ts +++ b/packages/storybook/builder/src/docgen/index.ts @@ -11,10 +11,10 @@ export async function applyDocgenWebpack( chain: WebpackChain, options: Options, ) { - const typescriptOptions: DocgenOptions = await options.presets.apply( + const typescriptOptions = (await options.presets.apply( 'typescript', {}, - ); + )) as DocgenOptions; const { reactDocgen, reactDocgenTypescriptOptions } = typescriptOptions || {}; @@ -69,8 +69,9 @@ export async function applyDocgenRspack( config: RspackConfig, options: Options, ) { - const typescriptOptions: { reactDocgen?: 'react-docgen' } = - await options.presets.apply('typescript', {}); + const typescriptOptions = (await options.presets.apply('typescript', {})) as { + reactDocgen?: 'react-docgen'; + }; const { reactDocgen } = typescriptOptions || {}; diff --git a/packages/toolkit/e2e/fixtures/builder/basic/builder.fixture.js b/packages/toolkit/e2e/fixtures/builder/basic/builder.fixture.js index f7ef17722ff0..bf112d9854c9 100644 --- a/packages/toolkit/e2e/fixtures/builder/basic/builder.fixture.js +++ b/packages/toolkit/e2e/fixtures/builder/basic/builder.fixture.js @@ -1,4 +1,3 @@ -/** @type {import('@modern-js/builder-webpack-provider/stub').StubBuilderOptions} */ module.exports = { builderConfig: { dev: { diff --git a/packages/toolkit/e2e/fixtures/builder/image/builder.fixture.js b/packages/toolkit/e2e/fixtures/builder/image/builder.fixture.js index b18dc626deda..4ca3482af691 100644 --- a/packages/toolkit/e2e/fixtures/builder/image/builder.fixture.js +++ b/packages/toolkit/e2e/fixtures/builder/image/builder.fixture.js @@ -1,4 +1,3 @@ -/** @type {import('@modern-js/builder-webpack-provider/stub').StubBuilderOptions} */ module.exports = { builderOptions: {}, entry: { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 28657480a92b..695bc8d340dc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,12 +7,6 @@ settings: overrides: '@types/react': ^18 '@types/react-dom': ^18 - '@modern-js/builder-rspack-provider>@rspack/core': 0.4.5 - '@modern-js/builder-rspack-provider>@rspack/plugin-react-refresh': 0.4.5 - '@modern-js/builder-rspack-provider>@rspack/plugin-html': 0.4.5 - '@modern-js/storybook-builder>@rspack/plugin-react-refresh': 0.4.5 - '@rspack/core@0.4.5>@rspack/binding': 0.4.5 - '@rspack/binding@0.4.5>@rspack/binding-linux-x64-gnu': 0.4.5 importers: @@ -82,715 +76,6 @@ importers: specifier: 0.33.0 version: 0.33.0(@vitest/ui@0.33.0) - packages/builder/builder: - dependencies: - '@modern-js/builder-shared': - specifier: workspace:* - version: link:../builder-shared - '@modern-js/utils': - specifier: workspace:* - version: link:../../toolkit/utils - '@rsbuild/monorepo-utils': - specifier: 0.4.3 - version: 0.4.3(@swc/helpers@0.5.3) - '@svgr/webpack': - specifier: 8.1.0 - version: 8.1.0(typescript@5.3.3) - '@swc/helpers': - specifier: 0.5.3 - version: 0.5.3 - deepmerge: - specifier: ^4.3.1 - version: 4.3.1 - jiti: - specifier: ^1.20.0 - version: 1.20.0 - devDependencies: - '@modern-js/builder-rspack-provider': - specifier: workspace:* - version: link:../builder-rspack-provider - '@modern-js/builder-webpack-provider': - specifier: workspace:* - version: link:../builder-webpack-provider - '@scripts/build': - specifier: workspace:* - version: link:../../../scripts/build - '@scripts/vitest-config': - specifier: workspace:* - version: link:../../../scripts/vitest-config - '@types/babel__core': - specifier: ^7.20.1 - version: 7.20.3 - '@types/node': - specifier: ^14 - version: 14.18.35 - typescript: - specifier: ^5 - version: 5.3.3 - - packages/builder/builder-rspack-provider: - dependencies: - '@babel/core': - specifier: ^7.23.2 - version: 7.23.6 - '@babel/preset-typescript': - specifier: ^7.22.15 - version: 7.23.2(@babel/core@7.23.6) - '@modern-js/builder-shared': - specifier: workspace:* - version: link:../builder-shared - '@modern-js/server': - specifier: workspace:* - version: link:../../server/server - '@modern-js/types': - specifier: workspace:* - version: link:../../toolkit/types - '@modern-js/utils': - specifier: workspace:* - version: link:../../toolkit/utils - '@rspack/core': - specifier: 0.4.5 - version: 0.4.5 - '@rspack/plugin-html': - specifier: 0.4.5 - version: 0.4.5(@rspack/core@0.4.5) - '@rspack/plugin-react-refresh': - specifier: 0.4.5 - version: 0.4.5(react-refresh@0.14.0) - '@swc/helpers': - specifier: 0.5.3 - version: 0.5.3 - caniuse-lite: - specifier: ^1.0.30001520 - version: 1.0.30001566 - core-js: - specifier: ~3.32.1 - version: 3.32.2 - postcss: - specifier: 8.4.31 - version: 8.4.31 - react-refresh: - specifier: ^0.14.0 - version: 0.14.0 - rspack-manifest-plugin: - specifier: 5.0.0-alpha0 - version: 5.0.0-alpha0(webpack@5.89.0) - style-loader: - specifier: 3.3.3 - version: 3.3.3(webpack@5.89.0) - webpack: - specifier: ^5.89.0 - version: 5.89.0(esbuild@0.17.19) - devDependencies: - '@arco-design/web-react': - specifier: ^2.46.0 - version: 2.46.1(@types/react@18.0.21)(react-dom@18.2.0)(react@18.2.0) - '@scripts/build': - specifier: workspace:* - version: link:../../../scripts/build - '@scripts/vitest-config': - specifier: workspace:* - version: link:../../../scripts/vitest-config - '@types/node': - specifier: ^14 - version: 14.18.35 - antd: - specifier: '4' - version: 4.17.2(react-dom@18.2.0)(react@18.2.0) - react: - specifier: ^18 - version: 18.2.0 - react-dom: - specifier: ^18 - version: 18.2.0(react@18.2.0) - typescript: - specifier: ^5 - version: 5.3.3 - - packages/builder/builder-shared: - dependencies: - '@babel/core': - specifier: ^7.23.2 - version: 7.23.6 - '@babel/parser': - specifier: ^7.22.15 - version: 7.23.6 - '@babel/types': - specifier: ^7.23.0 - version: 7.23.6 - '@modern-js/prod-server': - specifier: workspace:* - version: link:../../server/prod-server - '@modern-js/server': - specifier: workspace:* - version: link:../../server/server - '@modern-js/types': - specifier: workspace:* - version: link:../../toolkit/types - '@modern-js/utils': - specifier: workspace:* - version: link:../../toolkit/utils - '@swc/helpers': - specifier: 0.5.3 - version: 0.5.3 - acorn: - specifier: ^8.10.0 - version: 8.11.2 - caniuse-lite: - specifier: ^1.0.30001520 - version: 1.0.30001566 - css-minimizer-webpack-plugin: - specifier: 5.0.1 - version: 5.0.1(esbuild@0.17.19)(webpack@5.89.0) - cssnano: - specifier: 6.0.1 - version: 6.0.1(postcss@8.4.31) - fork-ts-checker-webpack-plugin: - specifier: 8.0.0 - version: 8.0.0(typescript@5.3.3)(webpack@5.89.0) - htmlparser2: - specifier: 9.0.0 - version: 9.0.0 - line-diff: - specifier: 2.1.1 - version: 2.1.1 - postcss: - specifier: 8.4.31 - version: 8.4.31 - source-map: - specifier: 0.7.4 - version: 0.7.4 - webpack: - specifier: ^5.89.0 - version: 5.89.0(esbuild@0.17.19) - webpack-sources: - specifier: 3.2.3 - version: 3.2.3 - zod: - specifier: ^3.22.3 - version: 3.22.3 - zod-validation-error: - specifier: 1.2.0 - version: 1.2.0(zod@3.22.3) - devDependencies: - '@babel/preset-env': - specifier: ^7.22.15 - version: 7.23.5(@babel/core@7.23.6) - '@babel/preset-typescript': - specifier: ^7.22.15 - version: 7.23.2(@babel/core@7.23.6) - '@scripts/vitest-config': - specifier: workspace:* - version: link:../../../scripts/vitest-config - '@types/babel__core': - specifier: ^7.20.1 - version: 7.20.3 - '@types/caniuse-lite': - specifier: ^1.0.1 - version: 1.0.1 - '@types/node': - specifier: ^14 - version: 14.18.35 - html-webpack-plugin: - specifier: 5.5.3 - version: 5.5.3(webpack@5.89.0) - terser: - specifier: 5.19.2 - version: 5.19.2 - terser-webpack-plugin: - specifier: 5.3.9 - version: 5.3.9(esbuild@0.17.19)(webpack@5.89.0) - typescript: - specifier: ^5 - version: 5.3.3 - - packages/builder/builder-webpack-provider: - dependencies: - '@babel/core': - specifier: ^7.23.2 - version: 7.23.6 - '@babel/preset-react': - specifier: ^7.22.15 - version: 7.22.15(@babel/core@7.23.6) - '@modern-js/builder-shared': - specifier: workspace:* - version: link:../builder-shared - '@modern-js/inspector-webpack-plugin': - specifier: 1.0.6 - version: 1.0.6 - '@modern-js/server': - specifier: workspace:* - version: link:../../server/server - '@modern-js/types': - specifier: workspace:* - version: link:../../toolkit/types - '@modern-js/utils': - specifier: workspace:* - version: link:../../toolkit/utils - '@pmmmwh/react-refresh-webpack-plugin': - specifier: 0.5.10 - version: 0.5.10(react-refresh@0.14.0)(webpack@5.89.0) - '@rsbuild/babel-preset': - specifier: 0.4.3 - version: 0.4.3 - '@swc/helpers': - specifier: 0.5.3 - version: 0.5.3 - babel-plugin-import: - specifier: 1.13.5 - version: 1.13.5 - babel-plugin-styled-components: - specifier: 1.13.3 - version: 1.13.3(styled-components@5.3.5) - caniuse-lite: - specifier: ^1.0.30001520 - version: 1.0.30001566 - html-webpack-plugin: - specifier: 5.5.3 - version: 5.5.3(webpack@5.89.0) - lodash: - specifier: ^4.17.21 - version: 4.17.21 - mini-css-extract-plugin: - specifier: 2.7.6 - version: 2.7.6(webpack@5.89.0) - postcss: - specifier: 8.4.31 - version: 8.4.31 - react-refresh: - specifier: ^0.14.0 - version: 0.14.0 - style-loader: - specifier: 3.3.3 - version: 3.3.3(webpack@5.89.0) - terser-webpack-plugin: - specifier: 5.3.9 - version: 5.3.9(esbuild@0.17.19)(webpack@5.89.0) - ts-loader: - specifier: 9.4.4 - version: 9.4.4(typescript@5.3.3)(webpack@5.89.0) - tsconfig-paths-webpack-plugin: - specifier: 4.1.0 - version: 4.1.0 - webpack: - specifier: ^5.89.0 - version: 5.89.0(esbuild@0.17.19) - webpack-subresource-integrity: - specifier: 5.1.0 - version: 5.1.0(html-webpack-plugin@5.5.3)(webpack@5.89.0) - devDependencies: - '@arco-design/web-react': - specifier: ^2.46.0 - version: 2.46.1(@types/react@18.0.21)(react-dom@18.2.0)(react@18.2.0) - '@modern-js/e2e': - specifier: workspace:* - version: link:../../toolkit/e2e - '@scripts/build': - specifier: workspace:* - version: link:../../../scripts/build - '@scripts/vitest-config': - specifier: workspace:* - version: link:../../../scripts/vitest-config - '@types/caniuse-lite': - specifier: ^1.0.1 - version: 1.0.1 - '@types/lodash': - specifier: ^4.14.202 - version: 4.14.202 - '@types/node': - specifier: ^14 - version: 14.18.35 - antd: - specifier: '4' - version: 4.17.2(react-dom@18.2.0)(react@18.2.0) - react: - specifier: ^18 - version: 18.2.0 - react-dom: - specifier: ^18 - version: 18.2.0(react@18.2.0) - typescript: - specifier: ^5 - version: 5.3.3 - - packages/builder/plugin-esbuild: - dependencies: - '@modern-js/builder-shared': - specifier: workspace:* - version: link:../builder-shared - '@swc/helpers': - specifier: 0.5.3 - version: 0.5.3 - esbuild: - specifier: 0.17.19 - version: 0.17.19 - devDependencies: - '@modern-js/builder': - specifier: workspace:* - version: link:../builder - '@modern-js/builder-webpack-provider': - specifier: workspace:* - version: link:../builder-webpack-provider - '@modern-js/utils': - specifier: workspace:* - version: link:../../toolkit/utils - '@scripts/build': - specifier: workspace:* - version: link:../../../scripts/build - '@scripts/vitest-config': - specifier: workspace:* - version: link:../../../scripts/vitest-config - typescript: - specifier: ^5 - version: 5.3.3 - - packages/builder/plugin-image-compress: - dependencies: - '@modern-js/utils': - specifier: workspace:* - version: link:../../toolkit/utils - '@napi-rs/image': - specifier: ^1.7.0 - version: 1.7.0 - '@swc/helpers': - specifier: 0.5.3 - version: 0.5.3 - svgo: - specifier: ^3.0.2 - version: 3.0.2 - devDependencies: - '@modern-js/builder-webpack-provider': - specifier: workspace:* - version: link:../builder-webpack-provider - '@modern-js/e2e': - specifier: workspace:* - version: link:../../toolkit/e2e - '@scripts/build': - specifier: workspace:* - version: link:../../../scripts/build - '@scripts/vitest-config': - specifier: workspace:* - version: link:../../../scripts/vitest-config - '@types/node': - specifier: ^14 - version: 14.18.35 - typescript: - specifier: ^5 - version: 5.3.3 - webpack: - specifier: ^5.89.0 - version: 5.89.0(esbuild@0.17.19) - - packages/builder/plugin-node-polyfill: - dependencies: - '@modern-js/builder-shared': - specifier: workspace:* - version: link:../builder-shared - '@swc/helpers': - specifier: 0.5.3 - version: 0.5.3 - node-libs-browser: - specifier: 2.2.1 - version: 2.2.1 - devDependencies: - '@modern-js/builder': - specifier: workspace:* - version: link:../builder - '@modern-js/builder-rspack-provider': - specifier: workspace:* - version: link:../builder-rspack-provider - '@modern-js/builder-webpack-provider': - specifier: workspace:* - version: link:../builder-webpack-provider - '@modern-js/utils': - specifier: workspace:* - version: link:../../toolkit/utils - '@scripts/build': - specifier: workspace:* - version: link:../../../scripts/build - '@scripts/vitest-config': - specifier: workspace:* - version: link:../../../scripts/vitest-config - typescript: - specifier: ^5 - version: 5.3.3 - - packages/builder/plugin-stylus: - dependencies: - '@modern-js/builder-shared': - specifier: workspace:* - version: link:../builder-shared - '@modern-js/builder-webpack-provider': - specifier: workspace:* - version: link:../builder-webpack-provider - '@swc/helpers': - specifier: 0.5.3 - version: 0.5.3 - stylus: - specifier: 0.59.0 - version: 0.59.0 - stylus-loader: - specifier: 7.1.0 - version: 7.1.0(stylus@0.59.0)(webpack@5.89.0) - devDependencies: - '@modern-js/builder': - specifier: workspace:* - version: link:../builder - '@modern-js/builder-rspack-provider': - specifier: workspace:* - version: link:../builder-rspack-provider - '@modern-js/utils': - specifier: workspace:* - version: link:../../toolkit/utils - '@scripts/build': - specifier: workspace:* - version: link:../../../scripts/build - '@scripts/vitest-config': - specifier: workspace:* - version: link:../../../scripts/vitest-config - typescript: - specifier: ^5 - version: 5.3.3 - webpack: - specifier: ^5.89.0 - version: 5.89.0(esbuild@0.17.19) - - packages/builder/plugin-swc: - dependencies: - '@babel/core': - specifier: ^7.23.2 - version: 7.23.6 - '@babel/preset-env': - specifier: ^7.22.15 - version: 7.23.5(@babel/core@7.23.6) - '@babel/preset-react': - specifier: ^7.22.15 - version: 7.22.15(@babel/core@7.23.6) - '@babel/preset-typescript': - specifier: ^7.22.15 - version: 7.23.2(@babel/core@7.23.6) - '@modern-js/builder-shared': - specifier: workspace:* - version: link:../builder-shared - '@modern-js/swc-plugins': - specifier: 0.6.6 - version: 0.6.6(@swc/helpers@0.5.3) - '@modern-js/utils': - specifier: workspace:* - version: link:../../toolkit/utils - '@swc/helpers': - specifier: 0.5.3 - version: 0.5.3 - core-js: - specifier: ~3.32.1 - version: 3.32.2 - devDependencies: - '@modern-js/builder-webpack-provider': - specifier: workspace:* - version: link:../builder-webpack-provider - '@scripts/build': - specifier: workspace:* - version: link:../../../scripts/build - '@scripts/vitest-config': - specifier: workspace:* - version: link:../../../scripts/vitest-config - '@swc/core': - specifier: 1.3.42 - version: 1.3.42 - '@types/babel__core': - specifier: ^7.20.1 - version: 7.20.3 - antd: - specifier: '4' - version: 4.17.2(react-dom@18.2.0)(react@18.2.0) - lodash: - specifier: ^4.17.21 - version: 4.17.21 - magic-string: - specifier: 0.30.5 - version: 0.30.5 - react: - specifier: ^18 - version: 18.2.0 - react-dom: - specifier: ^18 - version: 18.2.0(react@18.2.0) - source-map: - specifier: 0.7.4 - version: 0.7.4 - typescript: - specifier: ^5 - version: 5.3.3 - webpack: - specifier: ^5.89.0 - version: 5.89.0(@swc/core@1.3.42)(esbuild@0.17.19) - - packages/builder/uni-builder: - dependencies: - '@babel/core': - specifier: ^7.23.2 - version: 7.23.6 - '@babel/preset-react': - specifier: ^7.22.15 - version: 7.22.15(@babel/core@7.23.6) - '@babel/types': - specifier: ^7.23.0 - version: 7.23.6 - '@modern-js/prod-server': - specifier: workspace:* - version: link:../../server/prod-server - '@modern-js/server': - specifier: workspace:* - version: link:../../server/server - '@modern-js/utils': - specifier: workspace:* - version: link:../../toolkit/utils - '@pmmmwh/react-refresh-webpack-plugin': - specifier: 0.5.10 - version: 0.5.10(react-refresh@0.14.0)(webpack@5.89.0) - '@rsbuild/babel-preset': - specifier: 0.4.3 - version: 0.4.3 - '@rsbuild/core': - specifier: 0.4.3 - version: 0.4.3 - '@rsbuild/plugin-assets-retry': - specifier: 0.4.3 - version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) - '@rsbuild/plugin-babel': - specifier: 0.4.3 - version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) - '@rsbuild/plugin-check-syntax': - specifier: 0.4.3 - version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) - '@rsbuild/plugin-css-minimizer': - specifier: 0.4.3 - version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3)(esbuild@0.17.19)(webpack@5.89.0) - '@rsbuild/plugin-pug': - specifier: 0.4.3 - version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) - '@rsbuild/plugin-react': - specifier: 0.4.3 - version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) - '@rsbuild/plugin-rem': - specifier: 0.4.3 - version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) - '@rsbuild/plugin-source-build': - specifier: 0.4.3 - version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) - '@rsbuild/plugin-styled-components': - specifier: 0.4.3 - version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) - '@rsbuild/plugin-svgr': - specifier: 0.4.3 - version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3)(typescript@5.3.3) - '@rsbuild/plugin-toml': - specifier: 0.4.3 - version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) - '@rsbuild/plugin-type-check': - specifier: 0.4.3 - version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3)(typescript@5.3.3)(webpack@5.89.0) - '@rsbuild/plugin-yaml': - specifier: 0.4.3 - version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) - '@rsbuild/shared': - specifier: 0.4.3 - version: 0.4.3(@swc/helpers@0.5.3) - '@rsbuild/webpack': - specifier: 0.4.3 - version: 0.4.3(@swc/helpers@0.5.3)(esbuild@0.17.19) - '@swc/helpers': - specifier: 0.5.3 - version: 0.5.3 - babel-loader: - specifier: 9.1.3 - version: 9.1.3(@babel/core@7.23.6)(webpack@5.89.0) - babel-plugin-import: - specifier: 1.13.5 - version: 1.13.5 - babel-plugin-styled-components: - specifier: 1.13.3 - version: 1.13.3(styled-components@5.3.5) - babel-plugin-transform-react-remove-prop-types: - specifier: 0.4.24 - version: 0.4.24 - cssnano: - specifier: 6.0.1 - version: 6.0.1(postcss@8.4.31) - glob: - specifier: ^9.3.5 - version: 9.3.5 - html-webpack-plugin: - specifier: 5.5.3 - version: 5.5.3(webpack@5.89.0) - lodash: - specifier: ^4.17.21 - version: 4.17.21 - postcss-custom-properties: - specifier: 13.1.5 - version: 13.1.5(postcss@8.4.31) - postcss-flexbugs-fixes: - specifier: 5.0.2 - version: 5.0.2(postcss@8.4.31) - postcss-font-variant: - specifier: 5.0.0 - version: 5.0.0(postcss@8.4.31) - postcss-initial: - specifier: 4.0.1 - version: 4.0.1(postcss@8.4.31) - postcss-media-minmax: - specifier: 5.0.0 - version: 5.0.0(postcss@8.4.31) - postcss-nesting: - specifier: 12.0.1 - version: 12.0.1(postcss@8.4.31) - postcss-page-break: - specifier: 3.0.4 - version: 3.0.4(postcss@8.4.31) - react-refresh: - specifier: ^0.14.0 - version: 0.14.0 - rspack-manifest-plugin: - specifier: 5.0.0-alpha0 - version: 5.0.0-alpha0(webpack@5.89.0) - ts-loader: - specifier: 9.4.4 - version: 9.4.4(typescript@5.3.3)(webpack@5.89.0) - webpack: - specifier: ^5.89.0 - version: 5.89.0(esbuild@0.17.19) - webpack-manifest-plugin: - specifier: 5.0.0 - version: 5.0.0(webpack@5.89.0) - webpack-subresource-integrity: - specifier: 5.1.0 - version: 5.1.0(html-webpack-plugin@5.5.3)(webpack@5.89.0) - devDependencies: - '@modern-js/builder-plugin-node-polyfill': - specifier: workspace:* - version: link:../plugin-node-polyfill - '@rsbuild/plugin-swc': - specifier: 0.4.3 - version: 0.4.3(@rsbuild/core@0.4.3) - '@scripts/build': - specifier: workspace:* - version: link:../../../scripts/build - '@scripts/vitest-config': - specifier: workspace:* - version: link:../../../scripts/vitest-config - '@types/lodash': - specifier: ^4.14.202 - version: 4.14.202 - react: - specifier: ^18.2.0 - version: 18.2.0 - react-dom: - specifier: ^18.2.0 - version: 18.2.0(react@18.2.0) - typescript: - specifier: ^5.3.0 - version: 5.3.3 - packages/cli/core: dependencies: '@modern-js/node-bundle-require': @@ -811,7 +96,7 @@ importers: version: link:../../toolkit/types '@modern-js/uni-builder': specifier: workspace:* - version: link:../../builder/uni-builder + version: link:../uni-builder '@scripts/build': specifier: workspace:* version: link:../../../scripts/build @@ -1336,6 +621,169 @@ importers: specifier: ^5 version: 5.3.3 + packages/cli/uni-builder: + dependencies: + '@babel/core': + specifier: ^7.23.2 + version: 7.23.6 + '@babel/preset-react': + specifier: ^7.22.15 + version: 7.22.15(@babel/core@7.23.6) + '@babel/types': + specifier: ^7.23.0 + version: 7.23.6 + '@modern-js/prod-server': + specifier: workspace:* + version: link:../../server/prod-server + '@modern-js/server': + specifier: workspace:* + version: link:../../server/server + '@modern-js/utils': + specifier: workspace:* + version: link:../../toolkit/utils + '@pmmmwh/react-refresh-webpack-plugin': + specifier: 0.5.10 + version: 0.5.10(react-refresh@0.14.0)(webpack@5.89.0) + '@rsbuild/babel-preset': + specifier: 0.4.3 + version: 0.4.3 + '@rsbuild/core': + specifier: 0.4.3 + version: 0.4.3 + '@rsbuild/plugin-assets-retry': + specifier: 0.4.3 + version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) + '@rsbuild/plugin-babel': + specifier: 0.4.3 + version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) + '@rsbuild/plugin-check-syntax': + specifier: 0.4.3 + version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) + '@rsbuild/plugin-css-minimizer': + specifier: 0.4.3 + version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3)(esbuild@0.17.19)(webpack@5.89.0) + '@rsbuild/plugin-pug': + specifier: 0.4.3 + version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) + '@rsbuild/plugin-react': + specifier: 0.4.3 + version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) + '@rsbuild/plugin-rem': + specifier: 0.4.3 + version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) + '@rsbuild/plugin-source-build': + specifier: 0.4.3 + version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) + '@rsbuild/plugin-styled-components': + specifier: 0.4.3 + version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) + '@rsbuild/plugin-svgr': + specifier: 0.4.3 + version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3)(typescript@5.3.3) + '@rsbuild/plugin-toml': + specifier: 0.4.3 + version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) + '@rsbuild/plugin-type-check': + specifier: 0.4.3 + version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3)(typescript@5.3.3)(webpack@5.89.0) + '@rsbuild/plugin-yaml': + specifier: 0.4.3 + version: 0.4.3(@rsbuild/core@0.4.3)(@swc/helpers@0.5.3) + '@rsbuild/shared': + specifier: 0.4.3 + version: 0.4.3(@swc/helpers@0.5.3) + '@rsbuild/webpack': + specifier: 0.4.3 + version: 0.4.3(@swc/helpers@0.5.3)(esbuild@0.17.19) + '@swc/helpers': + specifier: 0.5.3 + version: 0.5.3 + babel-loader: + specifier: 9.1.3 + version: 9.1.3(@babel/core@7.23.6)(webpack@5.89.0) + babel-plugin-import: + specifier: 1.13.5 + version: 1.13.5 + babel-plugin-styled-components: + specifier: 1.13.3 + version: 1.13.3(styled-components@5.3.5) + babel-plugin-transform-react-remove-prop-types: + specifier: 0.4.24 + version: 0.4.24 + cssnano: + specifier: 6.0.1 + version: 6.0.1(postcss@8.4.31) + glob: + specifier: ^9.3.5 + version: 9.3.5 + html-webpack-plugin: + specifier: 5.5.3 + version: 5.5.3(webpack@5.89.0) + lodash: + specifier: ^4.17.21 + version: 4.17.21 + postcss-custom-properties: + specifier: 13.1.5 + version: 13.1.5(postcss@8.4.31) + postcss-flexbugs-fixes: + specifier: 5.0.2 + version: 5.0.2(postcss@8.4.31) + postcss-font-variant: + specifier: 5.0.0 + version: 5.0.0(postcss@8.4.31) + postcss-initial: + specifier: 4.0.1 + version: 4.0.1(postcss@8.4.31) + postcss-media-minmax: + specifier: 5.0.0 + version: 5.0.0(postcss@8.4.31) + postcss-nesting: + specifier: 12.0.1 + version: 12.0.1(postcss@8.4.31) + postcss-page-break: + specifier: 3.0.4 + version: 3.0.4(postcss@8.4.31) + react-refresh: + specifier: ^0.14.0 + version: 0.14.0 + rspack-manifest-plugin: + specifier: 5.0.0-alpha0 + version: 5.0.0-alpha0(webpack@5.89.0) + ts-loader: + specifier: 9.4.4 + version: 9.4.4(typescript@5.3.3)(webpack@5.89.0) + webpack: + specifier: ^5.89.0 + version: 5.89.0(esbuild@0.17.19) + webpack-manifest-plugin: + specifier: 5.0.0 + version: 5.0.0(webpack@5.89.0) + webpack-subresource-integrity: + specifier: 5.1.0 + version: 5.1.0(html-webpack-plugin@5.5.3)(webpack@5.89.0) + devDependencies: + '@rsbuild/plugin-swc': + specifier: 0.4.3 + version: 0.4.3(@rsbuild/core@0.4.3) + '@scripts/build': + specifier: workspace:* + version: link:../../../scripts/build + '@scripts/vitest-config': + specifier: workspace:* + version: link:../../../scripts/vitest-config + '@types/lodash': + specifier: ^4.14.202 + version: 4.14.202 + react: + specifier: ^18.2.0 + version: 18.2.0 + react-dom: + specifier: ^18.2.0 + version: 18.2.0(react@18.2.0) + typescript: + specifier: ^5.3.0 + version: 5.3.3 + packages/devtools/client: devDependencies: '@modern-js-app/eslint-config': @@ -1530,7 +978,7 @@ importers: version: link:../../solutions/module-tools '@modern-js/uni-builder': specifier: workspace:* - version: link:../../builder/uni-builder + version: link:../../cli/uni-builder '@rsdoctor/types': specifier: ^0.1.0 version: 0.1.0(@swc/helpers@0.5.3)(esbuild@0.17.19) @@ -1621,7 +1069,7 @@ importers: version: link:../../toolkit/types '@modern-js/uni-builder': specifier: workspace:* - version: link:../../builder/uni-builder + version: link:../../cli/uni-builder '@scripts/build': specifier: workspace:* version: link:../../../scripts/build @@ -3347,7 +2795,7 @@ importers: version: 5.5.6 debug: specifier: 4.3.4 - version: 4.3.4(supports-color@9.3.1) + version: 4.3.4(supports-color@5.5.0) garfish: specifier: ^1.8.1 version: 1.8.1 @@ -4570,7 +4018,7 @@ importers: version: 7.23.6 '@babel/traverse': specifier: ^7.23.2 - version: 7.23.6 + version: 7.23.6(supports-color@5.5.0) '@babel/types': specifier: ^7.23.0 version: 7.23.6 @@ -4612,7 +4060,7 @@ importers: version: link:../../toolkit/types '@modern-js/uni-builder': specifier: workspace:* - version: link:../../builder/uni-builder + version: link:../../cli/uni-builder '@modern-js/upgrade': specifier: workspace:* version: link:../../toolkit/upgrade @@ -4759,12 +4207,12 @@ importers: specifier: 4.1.0 version: 4.1.0 devDependencies: - '@modern-js/builder-webpack-provider': - specifier: workspace:* - version: link:../../builder/builder-webpack-provider '@modern-js/self': specifier: workspace:@modern-js/module-tools@* version: 'link:' + '@rsbuild/core': + specifier: 0.4.3 + version: 0.4.3 '@scripts/build': specifier: workspace:* version: link:../../../scripts/build @@ -4858,7 +4306,7 @@ importers: version: link:../../runtime/plugin-runtime '@modern-js/uni-builder': specifier: workspace:* - version: link:../../builder/uni-builder + version: link:../../cli/uni-builder '@modern-js/utils': specifier: workspace:* version: link:../../toolkit/utils @@ -4867,16 +4315,16 @@ importers: version: 0.4.3(@swc/helpers@0.5.3) '@rspack/plugin-react-refresh': specifier: 0.4.5 - version: 0.4.5(react-refresh@0.14.0) + version: 0.4.5 '@storybook/components': specifier: ~7.6.12 - version: 7.6.12(@types/react-dom@18.0.6)(@types/react@18.0.21)(react-dom@18.2.0)(react@18.2.0) + version: 7.6.16(@types/react-dom@18.0.6)(@types/react@18.0.21)(react-dom@18.2.0)(react@18.2.0) '@storybook/core-common': specifier: ~7.6.12 - version: 7.6.12 + version: 7.6.16 '@storybook/csf-plugin': specifier: ~7.6.12 - version: 7.6.12 + version: 7.6.16 '@storybook/global': specifier: ~5.0.0 version: 5.0.0 @@ -4888,19 +4336,19 @@ importers: version: 1.1.0 '@storybook/preview': specifier: ~7.6.12 - version: 7.6.12 + version: 7.6.16 '@storybook/preview-api': specifier: ~7.6.12 - version: 7.6.12 + version: 7.6.16 '@storybook/react-docgen-typescript-plugin': specifier: 1.0.6--canary.9.0c3f3b7.0 version: 1.0.6--canary.9.0c3f3b7.0(typescript@5.3.3)(webpack@5.89.0) '@storybook/router': specifier: ~7.6.12 - version: 7.6.12 + version: 7.6.16 '@storybook/theming': specifier: ~7.6.12 - version: 7.6.12(react-dom@18.2.0)(react@18.2.0) + version: 7.6.16(react-dom@18.2.0)(react@18.2.0) ast-types: specifier: ^0.14.2 version: 0.14.2 @@ -4931,7 +4379,7 @@ importers: version: link:../../../scripts/build '@storybook/types': specifier: ~7.6.12 - version: 7.6.12 + version: 7.6.16 '@types/babel__core': specifier: ^7.20.1 version: 7.20.3 @@ -4962,7 +4410,7 @@ importers: devDependencies: '@storybook/types': specifier: ~7.6.12 - version: 7.6.12 + version: 7.6.16 '@types/node': specifier: ^20.5.6 version: 20.8.8 @@ -5465,18 +4913,9 @@ importers: '@types/normalize-path': specifier: 3.0.0 version: 3.0.0 - '@types/pug': - specifier: 2.0.6 - version: 2.0.6 - '@types/sass-loader': - specifier: 8.0.3 - version: 8.0.3 '@types/semver': specifier: 7.3.9 version: 7.3.9 - '@types/serialize-javascript': - specifier: ^5.0.1 - version: 5.0.2 '@types/signal-exit': specifier: 3.0.1 version: 3.0.1 @@ -5486,27 +4925,9 @@ importers: '@types/url-join': specifier: 4.0.1 version: 4.0.1 - '@types/webpack-bundle-analyzer': - specifier: 4.6.0 - version: 4.6.0(esbuild@0.17.19) address: specifier: 1.1.2 version: 1.1.2 - ansi-escapes: - specifier: 4.3.2 - version: 4.3.2 - autoprefixer: - specifier: 10.4.13 - version: 10.4.13(postcss@8.4.31) - babel-loader: - specifier: 9.1.3 - version: 9.1.3(@babel/core@7.23.6)(webpack@5.89.0) - babel-plugin-lodash: - specifier: 3.3.4 - version: 3.3.4 - babel-plugin-transform-react-remove-prop-types: - specifier: 0.4.24 - version: 0.4.24 browserslist: specifier: 4.20.2 version: 4.20.2 @@ -5516,39 +4937,24 @@ importers: chokidar: specifier: 3.5.3 version: 3.5.3 - cli-truncate: - specifier: 2.1.0 - version: 2.1.0 commander: specifier: 10.0.0 version: 10.0.0 - copy-webpack-plugin: - specifier: 9.1.0 - version: 9.1.0(webpack@5.89.0) - css-loader: - specifier: 6.7.1 - version: 6.7.1(webpack@5.89.0) debug: specifier: 4.3.4 - version: 4.3.4(supports-color@9.3.1) + version: 4.3.4(supports-color@5.5.0) dotenv: specifier: 10.0.0 version: 10.0.0 dotenv-expand: specifier: 5.1.0 version: 5.1.0 - esbuild-loader: - specifier: 2.21.0 - version: 2.21.0(webpack@5.89.0) execa: specifier: 5.1.1 version: 5.1.1 fast-glob: specifier: 3.2.11 version: 3.2.11 - file-loader: - specifier: 6.2.0 - version: 6.2.0(webpack@5.89.0) filesize: specifier: 8.0.7 version: 8.0.7 @@ -5567,9 +4973,6 @@ importers: gzip-size: specifier: 6.0.0 version: 6.0.0 - icss-utils: - specifier: 5.1.0 - version: 5.1.0(postcss@8.4.31) import-lazy: specifier: 4.0.0 version: 4.0.0 @@ -5585,12 +4988,6 @@ importers: less: specifier: 4.1.3 version: 4.1.3 - less-loader: - specifier: 11.0.0 - version: 11.0.0(less@4.1.3)(webpack@5.89.0) - loader-utils2: - specifier: npm:loader-utils@2.0.4 - version: /loader-utils@2.0.4 mime-types: specifier: 2.1.35 version: 2.1.35 @@ -5600,24 +4997,15 @@ importers: nanoid: specifier: 3.3.4 version: 3.3.4 - node-loader: - specifier: 2.0.0 - version: 2.0.0(webpack@5.89.0) normalize-path: specifier: 3.0.0 version: 3.0.0 - open: - specifier: ^8.4.0 - version: 8.4.0 ora: specifier: 5.4.1 version: 5.4.1 p-map: specifier: 4.0.0 version: 4.0.0 - patch-console: - specifier: 1.0.0 - version: 1.0.0 pkg-up: specifier: 3.1.0 version: 3.1.0 @@ -5633,42 +5021,18 @@ importers: postcss-initial: specifier: 4.0.1 version: 4.0.1(postcss@8.4.31) - postcss-loader: - specifier: 7.0.2 - version: 7.0.2(postcss@8.4.31)(webpack@5.89.0) postcss-media-minmax: specifier: 5.0.0 version: 5.0.0(postcss@8.4.31) - postcss-modules-extract-imports: - specifier: 3.0.0 - version: 3.0.0(postcss@8.4.31) - postcss-modules-local-by-default: - specifier: 4.0.0 - version: 4.0.0(postcss@8.4.31) - postcss-modules-scope: - specifier: 3.0.0 - version: 3.0.0(postcss@8.4.31) - postcss-modules-values: - specifier: 4.0.0 - version: 4.0.0(postcss@8.4.31) postcss-nesting: specifier: 12.0.1 version: 12.0.1(postcss@8.4.31) postcss-page-break: specifier: 3.0.4 version: 3.0.4(postcss@8.4.31) - postcss-pxtorem: - specifier: 6.0.0 - version: 6.0.0(postcss@8.4.31) postcss-value-parser: specifier: 4.2.0 version: 4.2.0 - pretty-time: - specifier: 1.1.0 - version: 1.1.0 - pug: - specifier: 3.0.2 - version: 3.0.2 react: specifier: ^18 version: 18.2.0 @@ -5678,9 +5042,6 @@ importers: react-is: specifier: ^18 version: 18.2.0 - resolve-url-loader: - specifier: 5.0.0 - version: 5.0.0 rollup: specifier: ^3.29.4 version: 3.29.4 @@ -5690,18 +5051,12 @@ importers: sass: specifier: 1.54.4 version: 1.54.4 - sass-loader: - specifier: 13.0.2 - version: 13.0.2(sass@1.54.4)(webpack@5.89.0) schema-utils3: specifier: npm:schema-utils@3.1.1 version: /schema-utils@3.1.1 semver: specifier: 7.6.0 version: 7.6.0 - serialize-javascript: - specifier: ^6.0.0 - version: 6.0.1 signal-exit: specifier: 3.0.7 version: 3.0.7 @@ -5717,12 +5072,6 @@ importers: styled-components: specifier: ^5.3.1 version: 5.3.5(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0) - tapable: - specifier: 2.2.1 - version: 2.2.1 - toml-loader: - specifier: 1.0.0 - version: 1.0.0 tsconfig-paths: specifier: 4.1.1 version: 4.1.1 @@ -5732,33 +5081,12 @@ importers: url-join: specifier: 4.0.1 version: 4.0.1 - url-loader: - specifier: 4.1.1 - version: 4.1.1(file-loader@6.2.0)(webpack@5.89.0) v8-compile-cache: specifier: 2.3.0 version: 2.3.0 - webpack-bundle-analyzer: - specifier: 4.9.1 - version: 4.9.1 webpack-chain: specifier: npm:webpack-5-chain@8.0.1 version: /webpack-5-chain@8.0.1 - webpack-dev-middleware: - specifier: 6.1.1 - version: 6.1.1(webpack@5.89.0) - webpack-manifest-plugin: - specifier: 5.0.0 - version: 5.0.0(webpack@5.89.0) - webpack-merge: - specifier: 5.8.0 - version: 5.8.0 - webpack-sources: - specifier: 3.2.3 - version: 3.2.3 - yaml-loader: - specifier: 0.8.0 - version: 0.8.0 scripts/update-codesmith: dependencies: @@ -5960,7 +5288,7 @@ importers: version: link:../../../packages/toolkit/e2e '@modern-js/uni-builder': specifier: workspace:* - version: link:../../../packages/builder/uni-builder + version: link:../../../packages/cli/uni-builder '@modern-js/utils': specifier: workspace:* version: link:../../../packages/toolkit/utils @@ -7996,12 +7324,6 @@ importers: specifier: ^5 version: 5.3.3 devDependencies: - '@modern-js/builder-rspack-provider': - specifier: workspace:* - version: link:../../../packages/builder/builder-rspack-provider - '@modern-js/builder-webpack-provider': - specifier: workspace:* - version: link:../../../packages/builder/builder-webpack-provider '@modern-js/storybook': specifier: workspace:* version: link:../../../packages/storybook/framework @@ -8404,10 +7726,6 @@ importers: packages: - /@adobe/css-tools@4.0.1: - resolution: {integrity: sha512-+u76oB43nOHrF4DDWRLWDCtci7f3QJoEBigemIdIeTi1ODqjx6Tad9NCVnPRwewWlKkVab5PlK8DCtPTyX7S8g==} - dev: false - /@alloc/quick-lru@5.2.0: resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} engines: {node: '>=10'} @@ -8423,6 +7741,7 @@ packages: resolution: {integrity: sha512-qAZRvPzfdWHtfameEGP2Qvuf838NhergR35o+EuVyB5XvSA98xod5r4utvi4TJ3ywmevm290g9nsCG5MryrdWQ==} dependencies: '@ctrl/tinycolor': 3.6.0 + dev: false /@ant-design/colors@7.0.0: resolution: {integrity: sha512-iVm/9PfGCbC0dSMBrz7oiEXZaaGH7ceU40OJEfKmyuzR9R5CRimJYPlRiFtMQGQcbNMea/ePcoIebi4ASGYXtg==} @@ -8449,6 +7768,7 @@ packages: /@ant-design/icons-svg@4.2.1: resolution: {integrity: sha512-EB0iwlKDGpG93hW8f85CTJTs4SvMX7tt5ceupvhALp1IF44SeUFOMhKUOYqpsoYWQKAOuTRDMqn75rEaKDp0Xw==} + dev: false /@ant-design/icons@4.7.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-aoB4Z7JA431rt6d4u+8xcNPPCrdufSRMUOpxa1ab6mz1JCQZOEVolj2WVs/tDFmN62zzK30mNelEsprLYsSF3g==} @@ -8464,6 +7784,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /@ant-design/icons@5.0.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-dPUlZtsIffBrDyFwM+tuO4PWi1DPgGgd10ASistPhLpr1WyssadfhChWs/mICVkCm5PaRm/foMkE1x3xw4OPZw==} @@ -8492,6 +7813,7 @@ packages: lodash: 4.17.21 react: 18.2.0 resize-observer-polyfill: 1.5.1 + dev: false /@ant-design/react-slick@1.0.0(react@18.2.0): resolution: {integrity: sha512-OKxZsn8TAf8fYxP79rDXgLs9zvKMTslK6dJ4iLhDXOujUqC5zJPBRszyrcEHXcMPOm1Sgk40JgyF3yiL/Swd7w==} @@ -8510,6 +7832,7 @@ packages: resolution: {integrity: sha512-s7p9MSwJgHeL8DwcATaXvWT3m2SigKpxx4JA1BGPHL4gfvaQsmQfrLBDpjOJFJuJ2jG2dMt3R3P8Pm9E65q18g==} dependencies: color: 3.2.1 + dev: false /@arco-design/web-react@2.46.1(@types/react@18.0.21)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-XjG44rODJklDu++OApvxjt/TbRrgkNqVq6grt/H+9skysm46jFn2SwhuSljBHmjo11LtIeB1m/OMPMaFtafeYg==} @@ -8534,6 +7857,7 @@ packages: shallowequal: 1.1.0 transitivePeerDependencies: - '@types/react' + dev: false /@ast-grep/napi-darwin-arm64@0.16.0: resolution: {integrity: sha512-ESjIg03S0ln+8CP43TKqY6+QPL2Kkm+6iMS5kAUMVtH/WNWd2z0oQLg9bmadUNPylYbB42B3zRtuTKwm/nCpdA==} @@ -8646,10 +7970,10 @@ packages: '@babel/helpers': 7.23.6 '@babel/parser': 7.23.6 '@babel/template': 7.22.15 - '@babel/traverse': 7.23.6 + '@babel/traverse': 7.23.6(supports-color@5.5.0) '@babel/types': 7.23.6 convert-source-map: 1.8.0 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) gensync: 1.0.0-beta.2 json5: 2.2.3 lodash: 4.17.21 @@ -8672,10 +7996,10 @@ packages: '@babel/helpers': 7.23.6 '@babel/parser': 7.23.6 '@babel/template': 7.22.15 - '@babel/traverse': 7.23.6 + '@babel/traverse': 7.23.6(supports-color@5.5.0) '@babel/types': 7.23.6 convert-source-map: 2.0.0 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -8775,7 +8099,7 @@ packages: '@babel/core': 7.23.6 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-plugin-utils': 7.22.5 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) lodash.debounce: 4.0.8 resolve: 1.22.4 semver: 6.3.1 @@ -8791,7 +8115,7 @@ packages: '@babel/core': 7.23.6 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-plugin-utils': 7.22.5 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) lodash.debounce: 4.0.8 resolve: 1.22.4 transitivePeerDependencies: @@ -8932,7 +8256,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.22.15 - '@babel/traverse': 7.23.6 + '@babel/traverse': 7.23.6(supports-color@5.5.0) '@babel/types': 7.23.6 transitivePeerDependencies: - supports-color @@ -9696,16 +9020,6 @@ packages: '@babel/core': 7.23.6 '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-react-constant-elements@7.22.3(@babel/core@7.23.6): - resolution: {integrity: sha512-b5J6muxQYp4H7loAQv/c7GO5cPuRA6H5hx4gO+/Hn+Cu9MRQU0PNiUoWq1L//8sq6kFSNxGXFb2XTaUfa9y+Pg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.6 - '@babel/helper-plugin-utils': 7.22.5 - dev: false - /@babel/plugin-transform-react-display-name@7.22.5(@babel/core@7.23.6): resolution: {integrity: sha512-PVk3WPYudRF5z4GKMEYUrLjPl38fJSKNaEOkFuoprioowGuWN6w2RKznuFNSlJx7pzzXXStPUnNSOEO0jL5EVw==} engines: {node: '>=6.9.0'} @@ -10055,23 +9369,6 @@ packages: '@babel/parser': 7.23.6 '@babel/types': 7.23.6 - /@babel/traverse@7.23.6: - resolution: {integrity: sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.23.5 - '@babel/generator': 7.23.6 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.23.6 - '@babel/types': 7.23.6 - debug: 4.3.4(supports-color@9.3.1) - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - /@babel/traverse@7.23.6(supports-color@5.5.0): resolution: {integrity: sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==} engines: {node: '>=6.9.0'} @@ -10524,8 +9821,8 @@ packages: '@commitlint/types': 17.4.4 '@types/node': 18.11.17 chalk: 4.1.2 - cosmiconfig: 8.1.3 - cosmiconfig-typescript-loader: 4.3.0(@types/node@18.11.17)(cosmiconfig@8.1.3)(ts-node@10.9.2)(typescript@5.3.3) + cosmiconfig: 8.3.6(typescript@5.3.3) + cosmiconfig-typescript-loader: 4.3.0(@types/node@18.11.17)(cosmiconfig@8.3.6)(ts-node@10.9.2)(typescript@5.3.3) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -10654,10 +9951,12 @@ packages: /@ctrl/tinycolor@3.6.0: resolution: {integrity: sha512-/Z3l6pXthq0JvMYdUFyX9j0MaCltlIn6mfh9jLyQwg5aPKxkyNa0PTHtU1AlFXLNk55ZuAeJRcpvq+tmLfKmaQ==} engines: {node: '>=10'} + dev: false /@discoveryjs/json-ext@0.5.7: resolution: {integrity: sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==} engines: {node: '>=10.0.0'} + dev: false /@emotion/hash@0.8.0: resolution: {integrity: sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==} @@ -11284,7 +10583,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) espree: 9.4.1 globals: 13.17.0 ignore: 5.3.0 @@ -11500,7 +10799,7 @@ packages: /@garfish/utils@1.8.1: resolution: {integrity: sha512-nscgX0+e1Lu1pvaLbQjzNWDBju0xA/3okorvgqtA6yguxLfjOKTTZP1YBLPFQSvUmHrbwZ1gfZOn2Vr3wqAy2g==} dependencies: - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: false @@ -11520,7 +10819,7 @@ packages: engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -12204,10 +11503,6 @@ packages: transitivePeerDependencies: - debug - /@modern-js/inspector-webpack-plugin@1.0.6: - resolution: {integrity: sha512-QAiW00QKoSfj0Dn/J8rnXh3vq1cA1tHsTbhEOkzgtGdKlV70SZ+54aPDFjygAOrY/GurmuLLoUgPpcPKLbHAmQ==} - dev: false - /@modern-js/plugin-i18n@2.37.2: resolution: {integrity: sha512-jZ4c8dczWGGllHbzVOjnW+eVTN0uMXElUx4nf89H9YOeBv0pYZrqEnQ8mWsqUXDUjtg0Omp6OzUtsAbwr4bU1Q==} dependencies: @@ -12364,176 +11659,26 @@ packages: lodash: 4.17.21 rslog: 1.1.0 - /@module-federation/runtime-tools@0.0.0-next-20231225095220: - resolution: {integrity: sha512-Rn4ntKEWR5FdT3IA2gd5vw71GhXiYbNev2F54iBiWHsF0z+J41lHQhNDXDAoTeNmJs64e9dsPhBM2U0VZKo8uA==} - dependencies: - '@module-federation/runtime': 0.0.0-next-20231225095220 - '@module-federation/webpack-bundler-runtime': 0.0.0-next-20231225095220 - dev: false - /@module-federation/runtime-tools@0.0.8: resolution: {integrity: sha512-tqx3wlVHnpWLk+vn22c0x9Nv1BqdZnoS6vdMb53IsVpbQIFP70nhhvymHUyFuPkoLzMFidS7GpG58DYT/4lvCw==} dependencies: '@module-federation/runtime': 0.0.8 '@module-federation/webpack-bundler-runtime': 0.0.8 - /@module-federation/runtime@0.0.0-next-20231225095220: - resolution: {integrity: sha512-tsST3igVpXKclGpqq2NNm1wzROks29PGte7GCgSPhoaFVNg076Nl8XzFNPGflCF6g/z13oFw/vahYpBAHkEZgQ==} - dependencies: - '@module-federation/sdk': 0.0.0-next-20231225095220 - dev: false - /@module-federation/runtime@0.0.8: resolution: {integrity: sha512-Hi9g10aHxHdQ7CbchSvke07YegYwkf162XPOmixNmJr5Oy4wVa2d9yIVSrsWFhBRbbvM5iJP6GrSuEq6HFO3ug==} dependencies: '@module-federation/sdk': 0.0.8 - /@module-federation/sdk@0.0.0-next-20231225095220: - resolution: {integrity: sha512-0vS5UXCkbKyotZIXAsF+mrL8PQ+xKmKfaDYHdBxXR4kyGSRjSRRokSKkXZNVfPEhy1f1z/oAgUo5AZoOisrrQA==} - dev: false - /@module-federation/sdk@0.0.8: resolution: {integrity: sha512-lkasywBItjUTNT0T0IskonDE2E/2tXE9UhUCPVoDL3NteDUSFGg4tpkF+cey1pD8mHh0XJcGrCuOW7s96peeAg==} - /@module-federation/webpack-bundler-runtime@0.0.0-next-20231225095220: - resolution: {integrity: sha512-xzz2FUvj+/TMl2ua/EcFaiYmH54XedH5fU7zQ1/EBZDrt26uJR4vabmvPx3Eb06KfDEcGB2/zkzZNzcT8572CQ==} - dependencies: - '@module-federation/runtime': 0.0.0-next-20231225095220 - '@module-federation/sdk': 0.0.0-next-20231225095220 - dev: false - /@module-federation/webpack-bundler-runtime@0.0.8: resolution: {integrity: sha512-ULwrTVzF47+6XnWybt6SIq97viEYJRv4P/DByw5h7PSX9PxSGyMm5pHfXdhcb7tno7VknL0t2V8F48fetVL9kA==} dependencies: '@module-federation/runtime': 0.0.8 '@module-federation/sdk': 0.0.8 - /@napi-rs/image-android-arm-eabi@1.7.0: - resolution: {integrity: sha512-lpyqxaIYUrdk096xoJjvPGin5jY1Ehor0RxryqDvowGUhVU3TDgolsjjuFPEki3cfvV6zzAm7bWUkmxIci2zaw==} - engines: {node: '>= 10'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: false - optional: true - - /@napi-rs/image-android-arm64@1.7.0: - resolution: {integrity: sha512-ojzi1ORsFZ53upLh0YVF1J8Qxvq+V2s6Xwbi4p4+ZLgk3MMd9ephERxxNExOf3/nyj4k+izEz6C/RbJwnSJXpw==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: false - optional: true - - /@napi-rs/image-darwin-arm64@1.7.0: - resolution: {integrity: sha512-SadObhsP0E/og6FGDzwafWFEwePSkdEKmwh7ssWePopwN2PfTnIyQq4MfVE/iSLgHfiHgQwwwssY6j815P8YwA==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: false - optional: true - - /@napi-rs/image-darwin-x64@1.7.0: - resolution: {integrity: sha512-lbUpy3deqxsbGMZRRwkSAMs4uWN+f8RER4BI7kwVK9rjUwvmnI+JMC+TCD03j+AMviANhsR/umDjSTS4HAbKdQ==} - engines: {node: '>= 10'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: false - optional: true - - /@napi-rs/image-freebsd-x64@1.7.0: - resolution: {integrity: sha512-DCFov4Ibk7pNUI30dBAR2SqtBSKTEtlsqkOJGWRiqGlTSqt7xPR3YcdM3N8JYN1lFHCN2SoJnInV3/p3yiKVLQ==} - engines: {node: '>= 10'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: false - optional: true - - /@napi-rs/image-linux-arm-gnueabihf@1.7.0: - resolution: {integrity: sha512-392foWTx3vIsBs5lNDZt0H0qn/x3PLR92GCbY1SWNtbE11+D47IDxHauLqcU/18IVule9nODFZ6KLLhuLjdqJA==} - engines: {node: '>= 10'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@napi-rs/image-linux-arm64-gnu@1.7.0: - resolution: {integrity: sha512-oYTCK6VsyywMPjcOJh5hk8vTA7i2coekXnkfHErBbyKm7v5F+3pdOXrhmKQHYojENHT/LkWWKlkr0jF8QB4U3w==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@napi-rs/image-linux-arm64-musl@1.7.0: - resolution: {integrity: sha512-x3Z3YmhdMut2ULdXSjxAihp3rGcTvxUG5bhHMVc7bfezhGOViqfPJ5Qknra8egEZpXe6C0PKkBcIBm7hSlaubg==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@napi-rs/image-linux-x64-gnu@1.7.0: - resolution: {integrity: sha512-5+FEzLr7yNGljdXXPyMJLJAQG8z9c1rawFTnT4dUidFjtpP/C4AP923eWDeo7B2Zz2psT7A8hgXhK+uAqyj4WQ==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@napi-rs/image-linux-x64-musl@1.7.0: - resolution: {integrity: sha512-LhzaYQ/z3axPUDPZefdyvgHz1qQ3NF2oDUHHFkVgpWNLJ3wGxa4GpM5TD+/jJCOChACAGYcZPpx96XLJGKNZfQ==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@napi-rs/image-win32-ia32-msvc@1.7.0: - resolution: {integrity: sha512-taCxMQTssuZW2hviOzJxo1iji0cAwjXY9m7CkiAAM8KftVUxAbmDGkPyEGRyt43ftYJ/rXRMz1vEEz/gxiZ5rQ==} - engines: {node: '>= 10'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: false - optional: true - - /@napi-rs/image-win32-x64-msvc@1.7.0: - resolution: {integrity: sha512-hfnpTipEv6mrvhaNHRHBdYoVPUPyWnJ5KDpPAabJbTcsVb4x2TUiVI54r5GzF8zQ0RJc5mGtWdu9KFvyEBVJkg==} - engines: {node: '>= 10'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: false - optional: true - - /@napi-rs/image@1.7.0: - resolution: {integrity: sha512-UI8bJKz4MwYsf2toiyxodbXeyHNe9yxhXz0KJdiDgliYs7ObCiu7DatPA899yuNscOApkweKV6yx2ag1lpVbbw==} - engines: {node: '>= 10'} - optionalDependencies: - '@napi-rs/image-android-arm-eabi': 1.7.0 - '@napi-rs/image-android-arm64': 1.7.0 - '@napi-rs/image-darwin-arm64': 1.7.0 - '@napi-rs/image-darwin-x64': 1.7.0 - '@napi-rs/image-freebsd-x64': 1.7.0 - '@napi-rs/image-linux-arm-gnueabihf': 1.7.0 - '@napi-rs/image-linux-arm64-gnu': 1.7.0 - '@napi-rs/image-linux-arm64-musl': 1.7.0 - '@napi-rs/image-linux-x64-gnu': 1.7.0 - '@napi-rs/image-linux-x64-musl': 1.7.0 - '@napi-rs/image-win32-ia32-msvc': 1.7.0 - '@napi-rs/image-win32-x64-msvc': 1.7.0 - dev: false - /@ndelangen/get-tarball@3.0.9: resolution: {integrity: sha512-9JKTEik4vq+yGosHYhZ1tiH/3WpUS0Nh0kej4Agndhox8pAdWhEx5knFVRcb/ya9knCRCs1rPxNrSXTDdfVqpA==} dependencies: @@ -12741,7 +11886,7 @@ packages: typescript: optional: true dependencies: - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) extract-zip: 2.0.1 https-proxy-agent: 5.0.1 progress: 2.0.3 @@ -14689,14 +13834,6 @@ packages: - webpack-cli dev: true - /@rspack/binding-darwin-arm64@0.4.5: - resolution: {integrity: sha512-H7RaSPN9VEzZf4URZpVV0Is4I1mgOHCzYVxDUZ/9G5vMkTW5baktCxFwbmBPYKcZ8Zoj/hy/DE8fmt1L200NmQ==} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: false - optional: true - /@rspack/binding-darwin-arm64@0.5.1: resolution: {integrity: sha512-Kc0b94ZN1ecUu2Gyj20kGLWzOrdJbeN1JUTMKZx6jlLa3m7uJ+FhRjnsqFmZ5kdK2zx722ejoKr7xkrl7hOkuw==} cpu: [arm64] @@ -14720,14 +13857,6 @@ packages: requiresBuild: true optional: true - /@rspack/binding-darwin-x64@0.4.5: - resolution: {integrity: sha512-K5HgE4nHwVWizCr2pBLA8N3LXfn1lQCSV5sR+6xQQrVdvRJ5zBhPMwjPOzP+AdmGhrD14zz1j9mktzCvA7FUtg==} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: false - optional: true - /@rspack/binding-darwin-x64@0.5.1: resolution: {integrity: sha512-iqt+3gKLBwXDsscOrwWTRrr4bTjKvNlOUIeuCIEgpvyvsq/Ez7mZl1hDpPhgqIih2X34zgFdiXuo31IsbXQWGQ==} cpu: [x64] @@ -14751,14 +13880,6 @@ packages: requiresBuild: true optional: true - /@rspack/binding-linux-arm64-gnu@0.4.5: - resolution: {integrity: sha512-JvESc3imqKbqwal5WesxlV3ix8eIO/07XCj+pkaZWaf4nj/ui02NGtLaeLVxwc1fxHekdLc+ROQrxpdOLhQ1jw==} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@rspack/binding-linux-arm64-gnu@0.5.1: resolution: {integrity: sha512-H7DV7bJat2UVTVA9BkuXTAulmY1Ysn5X7KcfIVi3Vi34C1xJja2iA7MSqozFNvkm7XrJFcTMI0trwSel9mMnNw==} cpu: [arm64] @@ -14782,14 +13903,6 @@ packages: requiresBuild: true optional: true - /@rspack/binding-linux-arm64-musl@0.4.5: - resolution: {integrity: sha512-ziYGYEoLsPEyC0pEAj5clU8XOFr3+r7IExm9/sq2gp+M1as/yTzouEuzO3D8kI0xVfub1WmiEktTBlgjS13CSA==} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@rspack/binding-linux-arm64-musl@0.5.1: resolution: {integrity: sha512-iRyskxvtY5QpBrkcB3nBZaErQQRRP5ActQ0qkmhHx82PUfmGgyE9Q6ww9G+CwZuOuLpd1TFQhg80TV7e2EW1uw==} cpu: [arm64] @@ -14813,14 +13926,6 @@ packages: requiresBuild: true optional: true - /@rspack/binding-linux-x64-gnu@0.4.5: - resolution: {integrity: sha512-9cXOIswpSZYhEXeuIWdsQNrgpjHTD4I3v0NPm75cL6cdBtJMHOa/qejO5mdTLzoDdE7waGZAb4uSMfrJOEkwqQ==} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@rspack/binding-linux-x64-gnu@0.5.1: resolution: {integrity: sha512-P047gkIshhSDNP2HRODJlYilJ+r5rh8G86wUmZmx5tnQMqYZZZYvvH0C+pOP9F23oprwsLIrR6v/nM5U7bMIVQ==} cpu: [x64] @@ -14844,14 +13949,6 @@ packages: requiresBuild: true optional: true - /@rspack/binding-linux-x64-musl@0.4.5: - resolution: {integrity: sha512-wClTj9mbVKprHIWsLEVJg+ZXT5slF93JsyAALIhAFkNMmn5z0B2NPD7+Oaii62edKMk2nS3dpoHu1JCLDmP0cw==} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@rspack/binding-linux-x64-musl@0.5.1: resolution: {integrity: sha512-frFHfBnEjeNNtg7OBvxDeMVtahb+ZreVrXjFp8ZMBCx7Qa9+CT1K8nUzDLQZ3wVc5shikZi1Ddts6h3BathRqA==} cpu: [x64] @@ -14875,14 +13972,6 @@ packages: requiresBuild: true optional: true - /@rspack/binding-win32-arm64-msvc@0.4.5: - resolution: {integrity: sha512-8LNITZqPMKO69nc8hwdcweBXcAS4yAL5W/kZ6zKeb6Ly+X5SBZk7l0WPL7lPMib/vHFkjJjp1buGhzymLU0bzA==} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: false - optional: true - /@rspack/binding-win32-arm64-msvc@0.5.1: resolution: {integrity: sha512-rGDS2QIPZIYGds1GWWTIBNzvnU72CjKWKKBNQx+skFywVvs50cZ1cB78Vj4wXWzAs2hS6NPTP65mrito//hvIQ==} cpu: [arm64] @@ -14906,14 +13995,6 @@ packages: requiresBuild: true optional: true - /@rspack/binding-win32-ia32-msvc@0.4.5: - resolution: {integrity: sha512-dndiXygG1ZmSO3unuZ9Mc+7IvqBtFqwvjFZGKUdIcufFr2CjZDL/KR1zJGTmFIzwHKMV2hEH4cZpa2TwisXvGQ==} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: false - optional: true - /@rspack/binding-win32-ia32-msvc@0.5.1: resolution: {integrity: sha512-t7Cfz7V8y9DdlVd3XtUJduSXrmjst28+kqprCw9PecpOcdi0nnhmY23FjAGv7yTyhniLc4Kl3YJfk7lIHX8x9g==} cpu: [ia32] @@ -14937,14 +14018,6 @@ packages: requiresBuild: true optional: true - /@rspack/binding-win32-x64-msvc@0.4.5: - resolution: {integrity: sha512-SEu8+pQsnGP7A0/XX5vawsccR825UCOzK5phJ8INSC7Mse8FKzkZpv2Af3PsHl2+N17M0PRgBxTghXR35PXkiw==} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: false - optional: true - /@rspack/binding-win32-x64-msvc@0.5.1: resolution: {integrity: sha512-7ruRf8oiK9u6Klwwdtcg96A4+QaJCUBd8qQOD0wcFF77Rr0JndZxngUWAU/MUKmy3VoibzFEyk019AVhCC4cXA==} cpu: [x64] @@ -14968,20 +14041,6 @@ packages: requiresBuild: true optional: true - /@rspack/binding@0.4.5: - resolution: {integrity: sha512-XmSlt9ucpfebhkWI4guPEym0F+8JZGr8UyBVAtHN2/7SQRI8TL8G1BUQGVgmc7+UKA5RM1Qfps1QmtHYzjARBQ==} - optionalDependencies: - '@rspack/binding-darwin-arm64': 0.4.5 - '@rspack/binding-darwin-x64': 0.4.5 - '@rspack/binding-linux-arm64-gnu': 0.4.5 - '@rspack/binding-linux-arm64-musl': 0.4.5 - '@rspack/binding-linux-x64-gnu': 0.4.5 - '@rspack/binding-linux-x64-musl': 0.4.5 - '@rspack/binding-win32-arm64-msvc': 0.4.5 - '@rspack/binding-win32-ia32-msvc': 0.4.5 - '@rspack/binding-win32-x64-msvc': 0.4.5 - dev: false - /@rspack/binding@0.5.1: resolution: {integrity: sha512-2CMZ0oVBEgs+/v2nNzIEDqKS01Al//biWl0aDclh8ypeEIM9tkI/gvhjrovsnyib9oxsO3xCM4tCNCND+nx1CA==} optionalDependencies: @@ -15023,28 +14082,6 @@ packages: '@rspack/binding-win32-ia32-msvc': 0.5.4 '@rspack/binding-win32-x64-msvc': 0.5.4 - /@rspack/core@0.4.5: - resolution: {integrity: sha512-X29fvCqTJH9OYN5pqa2lYP9hBLGICGVugtpTIAyLtMxC7gqvjvZkG/qisaVsjPyg4p2eB0NvmosnHkRv0GJ4sg==} - engines: {node: '>=16.0.0'} - dependencies: - '@module-federation/runtime-tools': 0.0.0-next-20231225095220 - '@rspack/binding': 0.4.5 - '@swc/helpers': 0.5.1 - browserslist: 4.22.2 - compare-versions: 6.0.0-rc.1 - enhanced-resolve: 5.12.0 - graceful-fs: 4.2.10 - json-parse-even-better-errors: 3.0.0 - neo-async: 2.6.2 - react-refresh: 0.14.0 - tapable: 2.2.1 - terminal-link: 2.1.1 - watchpack: 2.4.0 - webpack-sources: 3.2.3 - zod: 3.22.3 - zod-validation-error: 1.3.1(zod@3.22.3) - dev: false - /@rspack/core@0.5.1(@swc/helpers@0.5.3): resolution: {integrity: sha512-fsUKPhnBCV7UOE31W03GBfqp7lSRZBcRuvLwrUt1bmTAvl9SRrR0HuWhJAs4O8LvrjKgxRzXPM8Fpysqerfo4w==} engines: {node: '>=16.0.0'} @@ -15121,30 +14158,13 @@ packages: zod: 3.22.3 zod-validation-error: 1.3.1(zod@3.22.3) - /@rspack/plugin-html@0.4.5(@rspack/core@0.4.5): - resolution: {integrity: sha512-W+m86gTwfY18Zbx/j1SHnF0qQwcvupcxn1UTCrkygVVmJhEtPXIid4DsNLMp9Igs4LBkWBeC9SU+xzF0BUkjGA==} - peerDependencies: - '@rspack/core': 0.4.5 - peerDependenciesMeta: - '@rspack/core': - optional: true - dependencies: - '@rspack/core': 0.4.5 - html-minifier-terser: 7.0.0 - lodash.template: 4.5.0 - parse5: 7.1.1 - tapable: 2.2.1 - dev: false - - /@rspack/plugin-react-refresh@0.4.5(react-refresh@0.14.0): + /@rspack/plugin-react-refresh@0.4.5: resolution: {integrity: sha512-VGauW5J2r8zX+y2DlX1oPHPlruEHM9O+8faLfWWOJF0Gylra+WGD9STWbR+XcYJsCnDzbTzIL5gOq4cQbINcYg==} peerDependencies: react-refresh: '>=0.10.0 <1.0.0' peerDependenciesMeta: react-refresh: optional: true - dependencies: - react-refresh: 0.14.0 dev: false /@rspack/plugin-react-refresh@0.5.3(react-refresh@0.14.0): @@ -15680,11 +14700,11 @@ packages: - supports-color dev: false - /@storybook/channels@7.6.12: - resolution: {integrity: sha512-TaPl5Y3lOoVi5kTLgKNRX8xh2sUPekH0Id1l4Ymw+lpgriEY6r60bmkZLysLG1GhlskpQ/da2+S2ap2ht8P2TQ==} + /@storybook/channels@7.6.16: + resolution: {integrity: sha512-LKB0t4OGISez1O4TRJ/CDPxlb2wAW7gg8YRL91VVUHeffVyr4bnpklvMbLbuEcYrysM82Q2UMB9ipQdyK6Issg==} dependencies: - '@storybook/client-logger': 7.6.12 - '@storybook/core-events': 7.6.12 + '@storybook/client-logger': 7.6.16 + '@storybook/core-events': 7.6.16 '@storybook/global': 5.0.0 qs: 6.11.2 telejson: 7.2.0 @@ -15752,8 +14772,8 @@ packages: - utf-8-validate dev: false - /@storybook/client-logger@7.6.12: - resolution: {integrity: sha512-hiRv6dXsOttMPqm9SxEuFoAtDe9rs7TUS8XcO5rmJ9BgfwBJsYlHzAxXkazxmvlyZtKL7gMx6m8OYbCdZgUqtA==} + /@storybook/client-logger@7.6.16: + resolution: {integrity: sha512-Vquhmgk/SO0VeAkojcA1juuicBHoTST+f4XwBvyUNiebOSOdGIkxHVxpDFXu2kS0aKflFBEutX2IgoysDup+fQ==} dependencies: '@storybook/global': 5.0.0 @@ -15783,19 +14803,19 @@ packages: - supports-color dev: false - /@storybook/components@7.6.12(@types/react-dom@18.0.6)(@types/react@18.0.21)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-PCijPqmlZd7qyTzNr+vD0Kf8sAI9vWJIaxbSjXwn/De3e63m4fsEcIf8FaUT8cMZ46AWZvaxaxX5km2u0UISJQ==} + /@storybook/components@7.6.16(@types/react-dom@18.0.6)(@types/react@18.0.21)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-5KZQqxFiVEGM485ceF/7PmiNEkHgouEa8ZUJvDGrW9Ap5MfN0xqAuyTTveHvZzGrKp0YlOcOnpqwu/cSk0HQKA==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: '@radix-ui/react-select': 1.2.2(@types/react-dom@18.0.6)(@types/react@18.0.21)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-toolbar': 1.0.4(@types/react-dom@18.0.6)(@types/react@18.0.21)(react-dom@18.2.0)(react@18.2.0) - '@storybook/client-logger': 7.6.12 + '@storybook/client-logger': 7.6.16 '@storybook/csf': 0.1.2 '@storybook/global': 5.0.0 - '@storybook/theming': 7.6.12(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.6.12 + '@storybook/theming': 7.6.16(react-dom@18.2.0)(react@18.2.0) + '@storybook/types': 7.6.16 memoizerific: 1.11.3 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -15836,12 +14856,12 @@ packages: '@storybook/preview-api': 7.6.3 dev: false - /@storybook/core-common@7.6.12: - resolution: {integrity: sha512-kM9YiBBMM2x5v/oylL7gdO1PS4oehgJC21MivS9p5QZ8uuXKtCQ6UQvI3rzaV+1ZzUA4n+I8MyaMrNIQk8KDbw==} + /@storybook/core-common@7.6.16: + resolution: {integrity: sha512-Xn3Fbo4k9RRKgYzOBx9CeJFpWgS9gkcdo3J9XMMzmUqdZ+MUGT74kl2sMmzSypcH5aI1AUl5vZIKvLwloliejw==} dependencies: - '@storybook/core-events': 7.6.12 - '@storybook/node-logger': 7.6.12 - '@storybook/types': 7.6.12 + '@storybook/core-events': 7.6.16 + '@storybook/node-logger': 7.6.16 + '@storybook/types': 7.6.16 '@types/find-cache-dir': 3.2.1 '@types/node': 18.11.17 '@types/node-fetch': 2.6.7 @@ -15897,8 +14917,8 @@ packages: - encoding - supports-color - /@storybook/core-events@7.6.12: - resolution: {integrity: sha512-IO4cwk7bBCKH6lLnnIlHO9FwQXt/9CzLUAoZSY9msWsdPppCdKlw8ynJI5YarSNKDBUn8ArIfnRf0Mve0KQr9Q==} + /@storybook/core-events@7.6.16: + resolution: {integrity: sha512-mkBqzrbp6vmdjo0fBZGrFQQ4YdvMFxF6AesdKTf8EzPa69FoxnhQLrmQ4aXF+9vXkxfXVJF2HfpoTEdfqqAo+w==} dependencies: ts-dedent: 2.2.0 @@ -15958,11 +14978,11 @@ packages: - utf-8-validate dev: false - /@storybook/csf-plugin@7.6.12: - resolution: {integrity: sha512-fe/84AyctJcrpH1F/tTBxKrbjv0ilmG3ZTwVcufEiAzupZuYjQ/0P+Pxs8m8VxiGJZZ1pWofFFDbYi+wERjamQ==} + /@storybook/csf-plugin@7.6.16: + resolution: {integrity: sha512-hslhGtnijMpL7HAcYYgIuo6acVLP7BDptflMwIyGFWKK3MHjMxqWTZ3Sj+BV1yg/pYZdqC2NYyUypeuuSpivSA==} dependencies: - '@storybook/csf-tools': 7.6.12 - unplugin: 1.6.0 + '@storybook/csf-tools': 7.6.16 + unplugin: 1.5.0 transitivePeerDependencies: - supports-color dev: false @@ -15971,20 +14991,20 @@ packages: resolution: {integrity: sha512-8bMYPsWw2tv+fqZ5H436l4x1KLSB6gIcm6snsjyF916yCHG6WcWm+EI6+wNUoySEtrQY2AiwFJqE37wI5OUJFg==} dependencies: '@storybook/csf-tools': 7.6.3 - unplugin: 1.6.0 + unplugin: 1.5.0 transitivePeerDependencies: - supports-color dev: true - /@storybook/csf-tools@7.6.12: - resolution: {integrity: sha512-MdhkYYxSW5I6Jpk34gTkAZsuj9sxe0xdyeUQpNa8CgJxG43F+ehZ6scW/IPjoSG9gCXBUJMekq26UrmbVfsLCQ==} + /@storybook/csf-tools@7.6.16: + resolution: {integrity: sha512-8kVBq3UKDrEQq7rTHlNMoe1TDOTdO8iL8Jtv/FMDu/Qzj6AoT8/bjrtPsGjGMfVjP7QwBDeiLn6rStT4TlVGog==} dependencies: '@babel/generator': 7.23.6 '@babel/parser': 7.23.6 - '@babel/traverse': 7.23.6 + '@babel/traverse': 7.23.6(supports-color@5.5.0) '@babel/types': 7.23.6 '@storybook/csf': 0.1.2 - '@storybook/types': 7.6.12 + '@storybook/types': 7.6.16 fs-extra: 11.2.0 recast: 0.23.4 ts-dedent: 2.2.0 @@ -15997,7 +15017,7 @@ packages: dependencies: '@babel/generator': 7.23.6 '@babel/parser': 7.23.6 - '@babel/traverse': 7.23.6 + '@babel/traverse': 7.23.6(supports-color@5.5.0) '@babel/types': 7.23.6 '@storybook/csf': 0.1.2 '@storybook/types': 7.6.3 @@ -16073,8 +15093,8 @@ packages: /@storybook/mdx2-csf@1.1.0: resolution: {integrity: sha512-TXJJd5RAKakWx4BtpwvSNdgTDkKM6RkXU8GK34S/LhidQ5Pjz3wcnqb0TxEkfhK/ztbP8nKHqXFwLfa2CYkvQw==} - /@storybook/node-logger@7.6.12: - resolution: {integrity: sha512-iS44/EjfF6hLecKzICmcpQoB9bmVi4tXx5gVXnbI5ZyziBibRQcg/U191Njl7wY2ScN/RCQOr8lh5k57rI3Prg==} + /@storybook/node-logger@7.6.16: + resolution: {integrity: sha512-s18wgtLynLWnunz47lkVIpjk8J6LxT/OmfzkggieU8cG2XYRbf//t7/EOUpOqK77+Xqm3epSwgDAxOXGfjOjAA==} dev: false /@storybook/node-logger@7.6.3: @@ -16084,15 +15104,15 @@ packages: resolution: {integrity: sha512-WpgdpJpY6rionluxjFZLbKiSDjvQJ5cPgufjvBRuXTsnVOsH3JNRWnPdkQkJLT9uTUMoNcyBMxbjYkK3vU6wSg==} dev: true - /@storybook/preview-api@7.6.12: - resolution: {integrity: sha512-uSzeMSLnCRROjiofJP0F0niLWL+sboQ5ktHW6BAYoPwprumXduPxKBUVEZNxMbVYoAz9v/kEZmaLauh8LRP2Hg==} + /@storybook/preview-api@7.6.16: + resolution: {integrity: sha512-V9x9HOhi4CJuiX+0a7GU0JlfRAp6txStGMkV0DrCATbxSWpK+6d5x2Te521z16V3RIMMmYn33aEyarOp5WjTqw==} dependencies: - '@storybook/channels': 7.6.12 - '@storybook/client-logger': 7.6.12 - '@storybook/core-events': 7.6.12 + '@storybook/channels': 7.6.16 + '@storybook/client-logger': 7.6.16 + '@storybook/core-events': 7.6.16 '@storybook/csf': 0.1.2 '@storybook/global': 5.0.0 - '@storybook/types': 7.6.12 + '@storybook/types': 7.6.16 '@types/qs': 6.9.7 dequal: 2.0.3 lodash: 4.17.21 @@ -16121,8 +15141,8 @@ packages: ts-dedent: 2.2.0 util-deprecate: 1.0.2 - /@storybook/preview@7.6.12: - resolution: {integrity: sha512-7vbeqQY3X+FCt/ccgCuBmj4rkbQebLHGEBAt8elcX0E2pr7SGW57lWhnasU3jeMaz7tNrkcs0gfl4hyVRWUHDg==} + /@storybook/preview@7.6.16: + resolution: {integrity: sha512-q4DbLn9kEK8JM9s+2oIjXBPHQhY0tQzsZ5hFeq833vNFcmuHnXS+WYk20b+UkmzL6j+E8pLm8WpI7rdbi0ZUVA==} dev: false /@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.3.3)(webpack@5.89.0): @@ -16131,7 +15151,7 @@ packages: typescript: '>= 4.x' webpack: '>= 4' dependencies: - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) endent: 2.1.0 find-cache-dir: 3.3.2 flat-cache: 3.0.4 @@ -16193,10 +15213,10 @@ packages: - supports-color dev: false - /@storybook/router@7.6.12: - resolution: {integrity: sha512-1fqscJbePFJXhapqiv7fAIIqAvouSsdPnqWjJGJrUMR6JBtRYMcrb3MnDeqi9OYnU73r65BrQBPtSzWM8nP0LQ==} + /@storybook/router@7.6.16: + resolution: {integrity: sha512-PgVuzs83g4dq2r1qdcc0wvS1Pe1UpKdq54uy4TkBrrei7hBzB/+POztPXs0rVXXBXdCQT/jomLmRo/yC45bsGg==} dependencies: - '@storybook/client-logger': 7.6.12 + '@storybook/client-logger': 7.6.16 memoizerific: 1.11.3 qs: 6.11.2 dev: false @@ -16225,14 +15245,14 @@ packages: - supports-color dev: false - /@storybook/theming@7.6.12(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-P4zoMKlSYbNrWJjQROuz+DZSDEpdf3TUvk203EqBRdElqw2EMHcqZ8+0HGPFfVHpqEj05+B9Mr6R/Z/BURj0lw==} + /@storybook/theming@7.6.16(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-ZiUyakApTzAiAR28JwqbqY426U1OlJPG/Y7ddQgYgTsdoRFR1iMewAxWW1LId1q3B1dtiIHAccqhocEMNcYkLA==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@18.2.0) - '@storybook/client-logger': 7.6.12 + '@storybook/client-logger': 7.6.16 '@storybook/global': 5.0.0 memoizerific: 1.11.3 react: 18.2.0 @@ -16253,10 +15273,10 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: true - /@storybook/types@7.6.12: - resolution: {integrity: sha512-Wsbd+NS10/2yMHQ/26rXHflXam0hm2qufTFiHOX6VXZWxij3slRU88Fnwzp+1QSyjXb0qkEr8dOx7aG00+ItVw==} + /@storybook/types@7.6.16: + resolution: {integrity: sha512-Ld4dKbgSbvqThdBNwNlOxQu5AiS6U9DXI5evf/j83eWs6skO3OBdQp+GWa6sUCI9eRqH8tFsw/YmMcIZ4uZrBQ==} dependencies: - '@storybook/channels': 7.6.12 + '@storybook/channels': 7.6.16 '@types/babel__core': 7.20.3 '@types/express': 4.17.13 file-system-cache: 2.3.0 @@ -16420,23 +15440,6 @@ packages: transitivePeerDependencies: - typescript - /@svgr/webpack@8.1.0(typescript@5.3.3): - resolution: {integrity: sha512-LnhVjMWyMQV9ZmeEy26maJk+8HTIbd59cH4F2MJ439k9DqejRisfFNGAPvRYlKETuh9LrImlS8aKsBgKjMA8WA==} - engines: {node: '>=14'} - dependencies: - '@babel/core': 7.23.6 - '@babel/plugin-transform-react-constant-elements': 7.22.3(@babel/core@7.23.6) - '@babel/preset-env': 7.23.5(@babel/core@7.23.6) - '@babel/preset-react': 7.22.15(@babel/core@7.23.6) - '@babel/preset-typescript': 7.23.2(@babel/core@7.23.6) - '@svgr/core': 8.1.0(typescript@5.3.3) - '@svgr/plugin-jsx': 8.1.0(@svgr/core@8.1.0) - '@svgr/plugin-svgo': 8.1.0(@svgr/core@8.1.0)(typescript@5.3.3) - transitivePeerDependencies: - - supports-color - - typescript - dev: false - /@swc/core-darwin-arm64@1.3.42: resolution: {integrity: sha512-hM6RrZFyoCM9mX3cj/zM5oXwhAqjUdOCLXJx7KTQps7NIkv/Qjvobgvyf2gAb89j3ARNo9NdIoLjTjJ6oALtiA==} engines: {node: '>=10'} @@ -16686,10 +15689,6 @@ packages: '@types/node': 18.11.17 '@types/responselike': 1.0.0 - /@types/caniuse-lite@1.0.1: - resolution: {integrity: sha512-enW8d/vdojHAhr1C/0BqsNkhz/0ik2WCuAJIp9EClP+mHkR8xXBJ2OGeXHZ6cPqDjVKvWBRe9tY/Nr9r4yQSuA==} - dev: true - /@types/chai-subset@1.3.3: resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} dependencies: @@ -16898,6 +15897,7 @@ packages: /@types/html-minifier-terser@6.1.0: resolution: {integrity: sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg==} + dev: false /@types/http-assert@1.5.3: resolution: {integrity: sha512-FyAOrDuQmBi8/or3ns4rwPno7/9tJTijVW6aQQjK02+kOQ8zmoNg2XJtAuQhvQcy1ASJq38wirX5//9J1EqoUA==} @@ -17076,12 +16076,6 @@ packages: '@types/node': 18.11.17 form-data: 4.0.0 - /@types/node-sass@4.11.3: - resolution: {integrity: sha512-wXPCn3t9uu5rR4zXNSLasZHQMuRzUKBsdi4MsgT8uq4Lp1gQQo+T2G23tGj4SSgDHeNBle6vGseZtM2XV/X9bw==} - dependencies: - '@types/node': 18.11.17 - dev: true - /@types/node@12.20.24: resolution: {integrity: sha512-yxDeaQIAJlMav7fH5AQqPH1u8YIuhYJXYBzxaQ4PifsU0GDO38MSdmEDeRlIxrKbC6NbEaaEHDanWb+y30U8SQ==} dev: false @@ -17119,6 +16113,7 @@ packages: /@types/parse-json@4.0.0: resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==} + dev: false /@types/parse5@5.0.3: resolution: {integrity: sha512-kUNnecmtkunAoQ3CnjmMkzNU/gtxG8guhi+Fk2U/kOpIKjIMKnXGp4IJCgQJrXSgMsWYimYG4TGjz/UzbGEBTw==} @@ -17141,10 +16136,6 @@ packages: resolution: {integrity: sha512-Sk/uYFOBAB7mb74XcpizmH0KOR2Pv3D2Hmrh1Dmy5BmK3MpdSa5kqZcg6EKBdklU0bFXX9gCfzvpnyUehrPIuA==} dev: false - /@types/pug@2.0.6: - resolution: {integrity: sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==} - dev: true - /@types/qs@6.9.7: resolution: {integrity: sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==} @@ -17228,20 +16219,6 @@ packages: '@types/node': 18.11.17 dev: false - /@types/sass-loader@8.0.3: - resolution: {integrity: sha512-lwOlTt9erV7A9rwTYGqya+swf6D/2OqiHjegr1No9Lu/2KAUFONyyZD5jjVKPO1BHgtr+7r0R/IbwzQcmsPoYg==} - dependencies: - '@types/node-sass': 4.11.3 - '@types/sass': 1.43.1 - '@types/webpack': 4.41.32 - dev: true - - /@types/sass@1.43.1: - resolution: {integrity: sha512-BPdoIt1lfJ6B7rw35ncdwBZrAssjcwzI5LByIrYs+tpXlj/CAkuVdRsgZDdP4lq5EjyWzwxZCqAoFyHKFwp32g==} - dependencies: - '@types/node': 18.11.17 - dev: true - /@types/scheduler@0.16.2: resolution: {integrity: sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==} @@ -17352,19 +16329,6 @@ packages: resolution: {integrity: sha512-WUtIVRUZ9i5dYXefDEAI7sh9/O7jGvHg7Df/5O/gtH3Yabe5odI3UWopVR1qbPXQtvOxWu3mM4XxlYeZtMWF4g==} dev: true - /@types/webpack-bundle-analyzer@4.6.0(esbuild@0.17.19): - resolution: {integrity: sha512-XeQmQCCXdZdap+A/60UKmxW5Mz31Vp9uieGlHB3T4z/o2OLVLtTI3bvTuS6A2OWd/rbAAQiGGWIEFQACu16szA==} - dependencies: - '@types/node': 18.11.17 - tapable: 2.2.1 - webpack: 5.89.0(esbuild@0.17.19) - transitivePeerDependencies: - - '@swc/core' - - esbuild - - uglify-js - - webpack-cli - dev: true - /@types/webpack-hot-middleware@2.25.8(esbuild@0.18.20): resolution: {integrity: sha512-I3DcpYoXvWsX77WhgWbnVJw9FrxOOv7pqKHAxB8FKh6e6H6fcyeBT4vyrDqpPDim+EM1TY0oY7j8Ls3ResMKcA==} dependencies: @@ -17459,7 +16423,7 @@ packages: '@typescript-eslint/scope-manager': 5.59.6 '@typescript-eslint/type-utils': 5.59.6(eslint@8.28.0)(typescript@5.3.3) '@typescript-eslint/utils': 5.59.6(eslint@8.28.0)(typescript@5.3.3) - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.28.0 grapheme-splitter: 1.0.4 ignore: 5.3.0 @@ -17484,7 +16448,7 @@ packages: '@typescript-eslint/scope-manager': 5.59.6 '@typescript-eslint/types': 5.59.6 '@typescript-eslint/typescript-estree': 5.59.6(typescript@5.3.3) - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.28.0 typescript: 5.3.3 transitivePeerDependencies: @@ -17511,7 +16475,7 @@ packages: dependencies: '@typescript-eslint/typescript-estree': 5.59.6(typescript@5.3.3) '@typescript-eslint/utils': 5.59.6(eslint@8.28.0)(typescript@5.3.3) - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.28.0 tsutils: 3.21.0(typescript@5.3.3) typescript: 5.3.3 @@ -17535,7 +16499,7 @@ packages: dependencies: '@typescript-eslint/types': 5.59.6 '@typescript-eslint/visitor-keys': 5.59.6 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 semver: 7.6.0 @@ -17644,7 +16608,7 @@ packages: '@babel/helper-module-imports': 7.22.15 '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.6) '@babel/template': 7.22.15 - '@babel/traverse': 7.23.6 + '@babel/traverse': 7.23.6(supports-color@5.5.0) '@babel/types': 7.23.6 '@vue/babel-helper-vue-transform-on': 1.1.5 camelcase: 6.3.0 @@ -17987,6 +16951,7 @@ packages: resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==} engines: {node: '>=0.4.0'} hasBin: true + dev: false /acorn@8.11.2: resolution: {integrity: sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==} @@ -17997,14 +16962,6 @@ packages: resolution: {integrity: sha512-aT6camzM4xEA54YVJYSqxz1kv4IHnQZRtThJJHhUMRExaU5spC7jX5ugSwTaTgJliIgs4VhZOk7htClvQ/LmRA==} engines: {node: '>= 0.12.0'} - /adjust-sourcemap-loader@4.0.0: - resolution: {integrity: sha512-OXwN5b9pCUXNQHJpwwD2qP40byEmSgzj8B4ydSN0uMNYWiFmJ6x6KwUllMmfk8Rwu/HJDFR7U8ubsWBoN0Xp0A==} - engines: {node: '>=8.9'} - dependencies: - loader-utils: 2.0.4 - regex-parser: 2.2.11 - dev: true - /adm-zip@0.5.9: resolution: {integrity: sha512-s+3fXLkeeLjZ2kLjCBwQufpI5fuN+kIGBxu6530nVQZGVol0d7Y/M88/xw9HGGUcJjKf8LutN3VPRUBq6N7Ajg==} engines: {node: '>=6.0'} @@ -18019,7 +16976,7 @@ packages: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} dependencies: - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -18027,7 +16984,7 @@ packages: resolution: {integrity: sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==} engines: {node: '>= 14'} dependencies: - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: false @@ -18048,6 +17005,7 @@ packages: optional: true dependencies: ajv: 8.11.0 + dev: false /ajv-keywords@3.5.2(ajv@6.12.6): resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==} @@ -18063,6 +17021,7 @@ packages: dependencies: ajv: 8.11.0 fast-deep-equal: 3.1.3 + dev: false /ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} @@ -18198,6 +17157,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) scroll-into-view-if-needed: 2.2.29 + dev: false /antd@5.3.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-+l8K2AQ+yvIOq9hzWtha3nG3ydFfwN6+fUmSGCqyThFrLPI2Y3IUPXdAXP4aQcYAnu1Q0sLwsTgHRvE2AXfZUw==} @@ -18340,6 +17300,7 @@ packages: /array-tree-filter@2.1.0: resolution: {integrity: sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw==} + dev: false /array-union@2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} @@ -18383,12 +17344,6 @@ packages: /assert-never@1.2.1: resolution: {integrity: sha512-TaTivMB6pYI1kXwrFlEhLeGfOqoDNdTxjCdwRfFFkEA30Eu+k48W34nlok2EYWJfFFzqaEmichdNM7th6M5HNw==} - - /assert@1.5.0: - resolution: {integrity: sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==} - dependencies: - object-assign: 4.1.1 - util: 0.10.3 dev: false /assert@2.0.0: @@ -18445,6 +17400,7 @@ packages: /async-validator@4.2.5: resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==} + dev: false /async@2.6.4: resolution: {integrity: sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==} @@ -18480,6 +17436,7 @@ packages: picocolors: 1.0.0 postcss: 8.4.31 postcss-value-parser: 4.2.0 + dev: false /available-typed-arrays@1.0.5: resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==} @@ -18505,9 +17462,11 @@ packages: /b-tween@0.3.3: resolution: {integrity: sha512-oEHegcRpA7fAuc9KC4nktucuZn2aS8htymCPcP3qkEGPqiBH+GfqtqoG2l7LxHngg6O0HFM7hOeOYExl1Oz4ZA==} + dev: false /b-validate@1.4.4: resolution: {integrity: sha512-E2tnSnxxKDyxP1G+TMTbVHA8XajfHHOJKeWm9YVRISSPtzTL7ZP/7tIYp01b+O83L5R/6i31+Su+vCOJBnQWFQ==} + dev: false /babel-core@7.0.0-bridge.0(@babel/core@7.23.6): resolution: {integrity: sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg==} @@ -18545,6 +17504,7 @@ packages: find-cache-dir: 4.0.0 schema-utils: 4.2.0 webpack: 5.89.0(esbuild@0.17.19) + dev: false /babel-plugin-apply-mdx-type-prop@1.6.22(@babel/core@7.12.9): resolution: {integrity: sha512-VefL+8o+F/DfK24lPZMtJctrCVOfgbqLAGZSkxwhazQv4VxPg3Za/i40fu22KR2m8eEda+IfSOlPLUSIiLcnCQ==} @@ -18595,16 +17555,6 @@ packages: '@types/babel__core': 7.20.3 '@types/babel__traverse': 7.18.5 - /babel-plugin-lodash@3.3.4: - resolution: {integrity: sha512-yDZLjK7TCkWl1gpBeBGmuaDIFhZKmkoL+Cu2MUUjv5VxUZx/z7tBGBCBcQs5RI1Bkz5LLmNdjx7paOyQtMovyg==} - dependencies: - '@babel/helper-module-imports': 7.22.15 - '@babel/types': 7.23.6 - glob: 7.2.0 - lodash: 4.17.21 - require-package-name: 2.0.1 - dev: true - /babel-plugin-macros@2.8.0: resolution: {integrity: sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==} dependencies: @@ -18683,6 +17633,7 @@ packages: /babel-plugin-transform-react-remove-prop-types@0.4.24: resolution: {integrity: sha512-eqj0hVcJUR57/Ug2zE1Yswsw4LhuqqHhD+8v120T1cl3kjg76QwtyBrdIk4WVwK+lAhBJVYCd/v+4nc4y+8JsA==} + dev: false /babel-plugin-transform-typescript-metadata@0.3.2(@babel/core@7.23.6): resolution: {integrity: sha512-mWEvCQTgXQf48yDqgN7CH50waTyYBeP2Lpqx4nNWab9sxEpdXVeKgfj1qYI2/TgUPQtNFZ85i3PemRtnXVYYJg==} @@ -18731,6 +17682,7 @@ packages: engines: {node: '>= 10.0.0'} dependencies: '@babel/types': 7.23.6 + dev: false /bail@1.0.5: resolution: {integrity: sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==} @@ -18965,14 +17917,6 @@ packages: resolution: {integrity: sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==} dev: false - /buffer@4.9.2: - resolution: {integrity: sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==} - dependencies: - base64-js: 1.5.1 - ieee754: 1.2.1 - isarray: 1.0.0 - dev: false - /buffer@5.7.1: resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} dependencies: @@ -19200,6 +18144,7 @@ packages: resolution: {integrity: sha512-+UqJQjFEFaTAs3bNsF2j2kEN1baG/zghZbdqoYEDxGZtJo9LBzl1A+m0D4n3qKx8N2FNv8/Xp6yV9mQmBuptaw==} dependencies: is-regex: 1.1.4 + dev: false /character-reference-invalid@1.1.4: resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==} @@ -19285,18 +18230,12 @@ packages: /classnames@2.3.2: resolution: {integrity: sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==} - /clean-css@5.2.0: - resolution: {integrity: sha512-2639sWGa43EMmG7fn8mdVuBSs6HuWaSor+ZPoFWzenBc6oN+td8YhTfghWXZ25G1NiiSvz8bOFBS7PdSbTiqEA==} - engines: {node: '>= 10.0'} - dependencies: - source-map: 0.6.1 - dev: false - /clean-css@5.2.2: resolution: {integrity: sha512-/eR8ru5zyxKzpBLv9YZvMXgTSSQn7AdkMItMYynsFgGwTveCRVam9IUPFloE85B4vAIj05IuKmmEoV7/AQjT0w==} engines: {node: '>= 10.0'} dependencies: source-map: 0.6.1 + dev: false /clean-set@1.1.2: resolution: {integrity: sha512-cA8uCj0qSoG9e0kevyOWXwPaELRPVg5Pxp6WskLMwerx257Zfnh8Nl0JBH59d7wQzij2CK7qEfJQK3RjuKKIug==} @@ -19402,6 +18341,7 @@ packages: is-plain-object: 2.0.4 kind-of: 6.0.3 shallow-clone: 3.0.1 + dev: false /clone-response@1.0.2: resolution: {integrity: sha512-yjLXh88P599UOyPTFX0POsd7WxnbsVsGohcwzHOLspIhhpalPw1BcqED8NblyZLKcGrL8dTgMlcaZxV2jAD41Q==} @@ -19421,7 +18361,7 @@ packages: resolution: {integrity: sha512-sX/LQ7LqUhgyaxzbe7IqwPeTr2yfpfUIQ/dgpKo6ZI4y4lpQA0YxAomWIY+7I7rHWcG02PG+OuPREzMW/5tszQ==} dependencies: inflation: 2.0.0 - qs: 6.11.2 + qs: 6.11.0 raw-body: 2.5.1 type-is: 1.6.18 dev: false @@ -19557,10 +18497,6 @@ packages: /commander@8.3.0: resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==} engines: {node: '>= 12'} - - /commander@9.4.0: - resolution: {integrity: sha512-sRPT+umqkz90UA8M1yqYfnHlZA7fF6nSphDtxeywPZ49ysjxDQybzk13CL+mXekDRG92skbcqCLVovuCusNmFw==} - engines: {node: ^12.20.0 || >=14} dev: false /comment-json@4.2.3: @@ -19575,6 +18511,7 @@ packages: /common-path-prefix@3.0.0: resolution: {integrity: sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==} + dev: false /common-tags@1.8.2: resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==} @@ -19591,10 +18528,6 @@ packages: dot-prop: 5.3.0 dev: true - /compare-versions@6.0.0-rc.1: - resolution: {integrity: sha512-cFhkjbGY1jLFWIV7KegECbfuyYPxSGvgGkdkfM+ibboQDoPwg2FRHm5BSNTOApiauRBzJIQH7qvOJs2sW5ueKQ==} - dev: false - /component-emitter@1.3.0: resolution: {integrity: sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==} @@ -19629,9 +18562,11 @@ packages: /compute-scroll-into-view@1.0.11: resolution: {integrity: sha512-uUnglJowSe0IPmWOdDtrlHXof5CTIJitfJEyITHBW6zDVOGu9Pjk5puaLM73SLcwak0L4hEjO7Td88/a6P5i7A==} + dev: false /compute-scroll-into-view@1.0.17: resolution: {integrity: sha512-j4dx+Fb0URmzbwwMUrhqWM2BEWHdFGx+qZ9qqASHRPqvTYdqvWnHg0H1hIbcyLnvgnoNAVMlwkepyqM3DaIFUg==} + dev: false /compute-scroll-into-view@2.0.4: resolution: {integrity: sha512-y/ZA3BGnxoM/QHHQ2Uy49CLtnWPbt4tTPpEEZiEmmiWBFKjej7nEyH8Ryz54jH0MLXflUYA3Er2zUxPSJu5R+g==} @@ -19679,6 +18614,7 @@ packages: dependencies: '@babel/parser': 7.23.6 '@babel/types': 7.23.6 + dev: false /constants-browserify@1.0.0: resolution: {integrity: sha512-xFxOwqIzR/e1k1gLiWEophSCMqXcwVHIH7akf7b/vxcUeGunlj3hvZaaqxwHsTgn+IndtkQJgSztIDWeumWJDQ==} @@ -19788,21 +18724,6 @@ packages: dependencies: toggle-selection: 1.0.6 - /copy-webpack-plugin@9.1.0(webpack@5.89.0): - resolution: {integrity: sha512-rxnR7PaGigJzhqETHGmAcxKnLZSR5u1Y3/bcIv/1FnqXedcL/E2ewK7ZCNrArJKCiSv8yVXhTqetJh8inDvfsA==} - engines: {node: '>= 12.13.0'} - peerDependencies: - webpack: ^5.1.0 - dependencies: - fast-glob: 3.2.11 - glob-parent: 6.0.2 - globby: 11.1.0 - normalize-path: 3.0.0 - schema-utils: 3.3.0 - serialize-javascript: 6.0.1 - webpack: 5.89.0(esbuild@0.17.19) - dev: true - /core-js-compat@3.34.0: resolution: {integrity: sha512-4ZIyeNbW/Cn1wkMMDy+mvrRUxrwFNjKwbhCfQpDd+eLgYipDqp8oGFGtLmhh18EDPKA0g3VUBYOxQGGwvWLVpA==} dependencies: @@ -19820,7 +18741,7 @@ packages: /core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} - /cosmiconfig-typescript-loader@4.3.0(@types/node@18.11.17)(cosmiconfig@8.1.3)(ts-node@10.9.2)(typescript@5.3.3): + /cosmiconfig-typescript-loader@4.3.0(@types/node@18.11.17)(cosmiconfig@8.3.6)(ts-node@10.9.2)(typescript@5.3.3): resolution: {integrity: sha512-NTxV1MFfZDLPiBMjxbHRwSh5LaLcPMwNdCutmnHJCKoVnlvldPWlllonKwrsRJ5pYZBIBGRWWU2tfvzxgeSW5Q==} engines: {node: '>=12', npm: '>=6'} peerDependencies: @@ -19830,7 +18751,7 @@ packages: typescript: '>=3' dependencies: '@types/node': 18.11.17 - cosmiconfig: 8.1.3 + cosmiconfig: 8.3.6(typescript@5.3.3) ts-node: 10.9.2(@types/node@18.11.17)(typescript@5.3.3) typescript: 5.3.3 dev: true @@ -19855,6 +18776,7 @@ packages: parse-json: 5.2.0 path-type: 4.0.0 yaml: 1.10.2 + dev: false /cosmiconfig@8.1.3: resolution: {integrity: sha512-/UkO2JKI18b5jVMJUp0lvKFMpa/Gye+ZgZjKD+DGEN9y7NRcf/nK1A0sp67ONmKtnDCNMS44E6jrk0Yc3bDuUw==} @@ -20012,23 +18934,6 @@ packages: hyphenate-style-name: 1.0.4 dev: true - /css-loader@6.7.1(webpack@5.89.0): - resolution: {integrity: sha512-yB5CNFa14MbPJcomwNh3wLThtkZgcNyI2bNMRt8iE5Z8Vwl7f8vQXFAzn2HDOJvtDq2NTZBUGMSUNNyrv3/+cw==} - engines: {node: '>= 12.13.0'} - peerDependencies: - webpack: ^5.0.0 - dependencies: - icss-utils: 5.1.0(postcss@8.4.31) - postcss: 8.4.31 - postcss-modules-extract-imports: 3.0.0(postcss@8.4.31) - postcss-modules-local-by-default: 4.0.0(postcss@8.4.31) - postcss-modules-scope: 3.0.0(postcss@8.4.31) - postcss-modules-values: 4.0.0(postcss@8.4.31) - postcss-value-parser: 4.2.0 - semver: 7.6.0 - webpack: 5.89.0(esbuild@0.17.19) - dev: true - /css-minimizer-webpack-plugin@5.0.1(esbuild@0.17.19)(webpack@5.89.0): resolution: {integrity: sha512-3caImjKFQkS+ws1TGcFn0V1HyDJFq1Euy589JlD6/3rV2kj+w7r5G9WDMgSHvpvXHNZ2calVypZWuEDQd9wfLg==} engines: {node: '>= 14.15.0'} @@ -20072,6 +18977,7 @@ packages: domhandler: 4.3.1 domutils: 2.8.0 nth-check: 2.1.1 + dev: false /css-select@5.1.0: resolution: {integrity: sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==} @@ -20271,9 +19177,11 @@ packages: /date-fns@2.29.3: resolution: {integrity: sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA==} engines: {node: '>=0.11'} + dev: false /dayjs@1.11.3: resolution: {integrity: sha512-xxwlswWOlGhzgQ4TKzASQkUhqERI3egRNqgV4ScR8wlANA/A9tZ7miXa44vTTKEq5l7vWoL5G57bG3zA+Kow0A==} + dev: false /debug@2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} @@ -20330,6 +19238,7 @@ packages: dependencies: ms: 2.1.2 supports-color: 9.3.1 + dev: true /decamelize-keys@1.1.0: resolution: {integrity: sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg==} @@ -20348,7 +19257,7 @@ packages: /declaration-update@0.0.2: resolution: {integrity: sha512-17sJsx/tcy/JPRgUy76xBwXT5iSlZHgDlmytwWk358OoUN+/O2q5WqfaQcrrRTm86iVLXJ/BFjw5MCKZsoHuBQ==} dependencies: - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -20619,23 +19528,27 @@ packages: /doctypes@1.1.0: resolution: {integrity: sha512-LLBi6pEqS6Do3EKQ3J0NqHWV5hhb78Pi8vvESYwyOy2c31ZEZVdtitdzsQsKb7878PEERhzUk0ftqGhG6Mz+pQ==} + dev: false /dom-accessibility-api@0.5.14: resolution: {integrity: sha512-NMt+m9zFMPZe0JcY9gN224Qvk6qLIdqex29clBvc/y75ZBX9YA9wNK3frsYvu2DI1xcCIwxwnX+TlsJ2DSOADg==} /dom-align@1.12.3: resolution: {integrity: sha512-Gj9hZN3a07cbR6zviMUBOMPdWxYhbMI+x+WS0NAIu2zFZmbK8ys9R79g+iG9qLnlCwpFoaB+fKy8Pdv470GsPA==} + dev: false /dom-converter@0.2.0: resolution: {integrity: sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA==} dependencies: utila: 0.4.0 + dev: false /dom-helpers@5.2.1: resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==} dependencies: '@babel/runtime': 7.23.2 csstype: 3.1.3 + dev: false /dom-serializer@1.4.1: resolution: {integrity: sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==} @@ -20651,11 +19564,6 @@ packages: domhandler: 5.0.3 entities: 4.5.0 - /domain-browser@1.2.0: - resolution: {integrity: sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==} - engines: {node: '>=0.4', npm: '>=1.2'} - dev: false - /domain-browser@4.19.0: resolution: {integrity: sha512-fRA+BaAWOR/yr/t7T9E9GJztHPeFjj8U35ajyAjCDtAAnTn1Rc1f6W6VGPJrO1tkQv9zWu+JRof7z6oQtiYVFQ==} engines: {node: '>=10'} @@ -21125,20 +20033,6 @@ packages: dev: false optional: true - /esbuild-loader@2.21.0(webpack@5.89.0): - resolution: {integrity: sha512-k7ijTkCT43YBSZ6+fBCW1Gin7s46RrJ0VQaM8qA7lq7W+OLsGgtLyFV8470FzYi/4TeDexniTBTPTwZUnXXR5g==} - peerDependencies: - webpack: ^4.40.0 || ^5.0.0 - dependencies: - esbuild: 0.17.19 - joycon: 3.1.1 - json5: 2.2.3 - loader-utils: 2.0.4 - tapable: 2.2.1 - webpack: 5.89.0(esbuild@0.17.19) - webpack-sources: 1.4.3 - dev: true - /esbuild-netbsd-64@0.14.54: resolution: {integrity: sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w==} engines: {node: '>=12'} @@ -21189,7 +20083,7 @@ packages: peerDependencies: esbuild: '>=0.12 <1' dependencies: - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) esbuild: 0.18.20 transitivePeerDependencies: - supports-color @@ -21649,7 +20543,7 @@ packages: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.1.1 @@ -21721,7 +20615,7 @@ packages: resolution: {integrity: sha512-YNF+mZ/Wu2FU/gvmzuWtYc8rloubL7wfXCTgouFrnjGVXPA/EeYYA7pupXWrb3Iv1cTBeSSxxJIbK23l4MRNqg==} engines: {node: '>=8.3.0'} dependencies: - '@babel/traverse': 7.23.6 + '@babel/traverse': 7.23.6(supports-color@5.5.0) '@babel/types': 7.23.6 c8: 7.11.3 transitivePeerDependencies: @@ -21943,7 +20837,7 @@ packages: engines: {node: '>= 10.17.0'} hasBin: true dependencies: - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) get-stream: 5.2.0 yauzl: 2.10.0 optionalDependencies: @@ -22122,17 +21016,6 @@ packages: dependencies: flat-cache: 3.0.4 - /file-loader@6.2.0(webpack@5.89.0): - resolution: {integrity: sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==} - engines: {node: '>= 10.13.0'} - peerDependencies: - webpack: ^4.0.0 || ^5.0.0 - dependencies: - loader-utils: 2.0.4 - schema-utils: 3.3.0 - webpack: 5.89.0(esbuild@0.17.19) - dev: true - /file-system-cache@2.3.0: resolution: {integrity: sha512-l4DMNdsIPsVnKrgEXbJwDJsA5mB8rGwHYERMgqQx/xAUtChPJMre1bXBzDEqqVbWv9AIbFezXMxeEkZDSrXUOQ==} dependencies: @@ -22216,6 +21099,7 @@ packages: dependencies: common-path-prefix: 3.0.0 pkg-dir: 7.0.0 + dev: false /find-file-up@0.1.3: resolution: {integrity: sha512-mBxmNbVyjg1LQIIpgO8hN+ybWBgDQK8qjht+EbrTCGmmPV/sc7RF1i9stPTD6bpvXZywBdrwRYxhSdJv867L6A==} @@ -22238,7 +21122,7 @@ packages: dependencies: chalk: 4.1.2 commander: 5.1.0 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true @@ -22275,6 +21159,7 @@ packages: dependencies: locate-path: 7.2.0 path-exists: 5.0.0 + dev: false /find-value@1.0.12: resolution: {integrity: sha512-OCpo8LTk8eZ2sdDCwbU2Lc3ivYsdM6yod6jP2jHcNEFcjPhkgH0+POzTIol7xx1LZgtbI5rkO5jqxsG5MWtPjQ==} @@ -22328,6 +21213,7 @@ packages: engines: {node: '>=10'} dependencies: tslib: 2.6.2 + dev: false /follow-redirects@1.15.1: resolution: {integrity: sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==} @@ -22375,29 +21261,6 @@ packages: cross-spawn: 7.0.3 signal-exit: 4.1.0 - /fork-ts-checker-webpack-plugin@8.0.0(typescript@5.3.3)(webpack@5.89.0): - resolution: {integrity: sha512-mX3qW3idpueT2klaQXBzrIM/pHw+T0B/V9KHEvNrqijTq9NFnMZU6oreVxDYcf33P8a5cW+67PjodNHthGnNVg==} - engines: {node: '>=12.13.0', yarn: '>=1.0.0'} - peerDependencies: - typescript: '>3.6.0' - webpack: ^5.11.0 - dependencies: - '@babel/code-frame': 7.23.5 - chalk: 4.1.2 - chokidar: 3.5.3 - cosmiconfig: 7.0.1 - deepmerge: 4.3.1 - fs-extra: 10.1.0 - memfs: 3.5.1 - minimatch: 3.1.2 - node-abort-controller: 3.0.1 - schema-utils: 3.3.0 - semver: 7.3.7 - tapable: 2.2.1 - typescript: 5.3.3 - webpack: 5.89.0(esbuild@0.17.19) - dev: false - /fork-ts-checker-webpack-plugin@9.0.2(typescript@5.3.3)(webpack@5.89.0): resolution: {integrity: sha512-Uochze2R8peoN1XqlSi/rGUkDQpRogtLFocP9+PGu68zk1BDAKXfdeCdyVZpgTk8V8WFVQXdEz426VKjXLO1Gg==} engines: {node: '>=12.13.0', yarn: '>=1.0.0'} @@ -22460,6 +21323,7 @@ packages: /fraction.js@4.2.0: resolution: {integrity: sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==} + dev: false /fresh@0.5.2: resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} @@ -23168,6 +22032,7 @@ packages: /he@1.2.0: resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} hasBin: true + dev: false /hex-color-regex@1.1.0: resolution: {integrity: sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==} @@ -23264,19 +22129,6 @@ packages: param-case: 3.0.4 relateurl: 0.2.7 terser: 5.19.2 - - /html-minifier-terser@7.0.0: - resolution: {integrity: sha512-Adqk0b/pWKIQiGvEAuzPKpBKNHiwblr3QSGS7TTr6v+xXKV9AI2k4vWW+6Oytt6Z5SeBnfvYypKOnz8r75pz3Q==} - engines: {node: ^14.13.1 || >=16.0.0} - hasBin: true - dependencies: - camel-case: 4.1.2 - clean-css: 5.2.0 - commander: 9.4.0 - entities: 4.5.0 - param-case: 3.0.4 - relateurl: 0.2.7 - terser: 5.19.2 dev: false /html-rspack-plugin@5.5.7: @@ -23329,6 +22181,7 @@ packages: pretty-error: 4.0.0 tapable: 2.2.1 webpack: 5.89.0(esbuild@0.17.19) + dev: false /html5shiv@3.7.3: resolution: {integrity: sha512-SZwGvLGNtgp8GbgFX7oXEp8OR1aBt5LliX6dG0kdD1kl3KhMonN0QcSa/A3TsTgFewaGCbIryQunjayWDXzxmw==} @@ -23351,15 +22204,6 @@ packages: entities: 4.5.0 dev: true - /htmlparser2@9.0.0: - resolution: {integrity: sha512-uxbSI98wmFT/G4P2zXx4OVx04qWUmyFPrD2/CNepa2Zo3GPNaCaaxElDgwUrwYWkK1nr9fft0Ya8dws8coDLLQ==} - dependencies: - domelementtype: 2.3.0 - domhandler: 5.0.3 - domutils: 3.1.0 - entities: 4.5.0 - dev: false - /htmlparser2@9.1.0: resolution: {integrity: sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==} dependencies: @@ -23420,7 +22264,7 @@ packages: dependencies: '@tootallnate/once': 2.0.0 agent-base: 6.0.2 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -23467,7 +22311,7 @@ packages: engines: {node: '>= 6.0.0'} dependencies: agent-base: 5.1.1 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: false @@ -23477,7 +22321,7 @@ packages: engines: {node: '>= 6'} dependencies: agent-base: 6.0.2 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -23486,7 +22330,7 @@ packages: engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: false @@ -23536,6 +22380,7 @@ packages: postcss: ^8.1.0 dependencies: postcss: 8.4.31 + dev: false /identity-obj-proxy@3.0.0: resolution: {integrity: sha512-00n6YnVHKrinT9t0d9+5yZC6UBNJANpYEQvL2LlX6Ab9lnmxzIRcEmTPuyGScvl1+jKuCICX1Z0Ab1pPKKdikA==} @@ -23609,14 +22454,6 @@ packages: once: 1.4.0 wrappy: 1.0.2 - /inherits@2.0.1: - resolution: {integrity: sha512-8nWq2nLTAwd02jTqJExUYFSD/fKq6VH9Y/oG2accc/kdI0V98Bag8d5a4gi3XHz73rDWa2PvTtvcWYquKqSENA==} - dev: false - - /inherits@2.0.3: - resolution: {integrity: sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==} - dev: false - /inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -23862,6 +22699,7 @@ packages: dependencies: acorn: 7.4.1 object-assign: 4.1.1 + dev: false /is-extendable@0.1.1: resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==} @@ -23989,6 +22827,7 @@ packages: /is-plain-object@5.0.0: resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==} engines: {node: '>=0.10.0'} + dev: false /is-potential-custom-element-name@1.0.1: resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} @@ -24000,6 +22839,7 @@ packages: /is-promise@2.2.2: resolution: {integrity: sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==} + dev: false /is-reference@3.0.0: resolution: {integrity: sha512-Eo1W3wUoHWoCoVM4GVl/a+K0IgiqE5aIo4kJABFyMum1ZORlPkC+UC357sSQUL5w5QCE5kCC9upl75b7+7CY/Q==} @@ -24013,6 +22853,7 @@ packages: dependencies: call-bind: 1.0.2 has-tostringtag: 1.0.0 + dev: false /is-shared-array-buffer@1.0.2: resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} @@ -24185,7 +23026,7 @@ packages: resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} engines: {node: '>=10'} dependencies: - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) istanbul-lib-coverage: 3.2.0 source-map: 0.6.1 transitivePeerDependencies: @@ -24756,7 +23597,7 @@ packages: '@babel/generator': 7.23.6 '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.6) '@babel/plugin-syntax-typescript': 7.22.5(@babel/core@7.23.6) - '@babel/traverse': 7.23.6 + '@babel/traverse': 7.23.6(supports-color@5.5.0) '@babel/types': 7.23.6 '@jest/expect-utils': 29.5.0 '@jest/transform': 29.5.0 @@ -24907,11 +23748,6 @@ packages: '@sideway/pinpoint': 2.0.0 dev: true - /joycon@3.1.1: - resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} - engines: {node: '>=10'} - dev: true - /js-cookie@2.2.1: resolution: {integrity: sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ==} dev: true @@ -24930,6 +23766,7 @@ packages: /js-stringify@1.0.2: resolution: {integrity: sha512-rtS5ATOo2Q5k1G+DADISilDA6lv79zIiwFd6CcjuIxGKLFm5C+RLImRscVap9k55i+MOZwgliw+NejvkLuGD5g==} + dev: false /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} @@ -25065,6 +23902,7 @@ packages: resolution: {integrity: sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA==} dependencies: string-convert: 0.2.1 + dev: false /json3@3.3.3: resolution: {integrity: sha512-c7/8mbUsKigAbLkD5B010BK4D9LZm7A1pNItkEwiUZRpIN66exu/e7YQWysGun+TRKaJp8MhemM+VkfWv42aCA==} @@ -25114,6 +23952,7 @@ packages: dependencies: is-promise: 2.2.2 promise: 7.3.1 + dev: false /jsx-ast-utils@3.3.1: resolution: {integrity: sha512-pxrjmNpeRw5wwVeWyEAk7QJu2GnBO3uzPFmHCKJJFPKK2Cy0cWL23krGtLdnMmbIi6/FjlrQpPyfQI19ByPOhQ==} @@ -25169,10 +24008,6 @@ packages: resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} engines: {node: '>=6'} - /klona@2.0.5: - resolution: {integrity: sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==} - engines: {node: '>= 8'} - /koa-body@4.2.0: resolution: {integrity: sha512-wdGu7b9amk4Fnk/ytH8GuWwfs4fsB5iNkY8kZPpgQVb04QZSv85T0M8reb+cJmvLE8cjPYvBzRikD3s6qz8OoA==} dependencies: @@ -25196,7 +24031,7 @@ packages: engines: {node: '>= 8.0.0'} deprecated: '**IMPORTANT 10x+ PERFORMANCE UPGRADE**: Please upgrade to v12.0.1+ as we have fixed an issue with debuglog causing 10x slower router benchmark performance, see https://github.com/koajs/router/pull/173' dependencies: - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) http-errors: 1.8.1 koa-compose: 4.1.0 methods: 1.1.2 @@ -25214,7 +24049,7 @@ packages: content-disposition: 0.5.4 content-type: 1.0.4 cookies: 0.8.0 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) delegates: 1.0.0 depd: 2.0.0 destroy: 1.2.0 @@ -25257,18 +24092,6 @@ packages: resolution: {integrity: sha512-y+SqErxb8h7nE/fiEX07jsbuhrpO9lL8eca7/Y1nuWV2moNlXhyd59iDGcRf6moVyDMbmTNzL40SUyrFU/yDpg==} dev: true - /less-loader@11.0.0(less@4.1.3)(webpack@5.89.0): - resolution: {integrity: sha512-9+LOWWjuoectIEx3zrfN83NAGxSUB5pWEabbbidVQVgZhN+wN68pOvuyirVlH1IK4VT1f3TmlyvAnCXh8O5KEw==} - engines: {node: '>= 14.15.0'} - peerDependencies: - less: ^3.5.0 || ^4.0.0 - webpack: ^5.0.0 - dependencies: - klona: 2.0.5 - less: 4.1.3 - webpack: 5.89.0(esbuild@0.17.19) - dev: true - /less@4.1.3: resolution: {integrity: sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA==} engines: {node: '>=6'} @@ -25287,10 +24110,6 @@ packages: source-map: 0.6.1 dev: true - /levdist@1.0.0: - resolution: {integrity: sha512-YguwC2spb0pqpJM3a5OsBhih/GG2ZHoaSHnmBqhEI7997a36buhqcRTegEjozHxyxByIwLpZHZTVYMThq+Zd3g==} - dev: false - /leven@3.1.0: resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} engines: {node: '>=6'} @@ -25306,12 +24125,6 @@ packages: resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} engines: {node: '>=10'} - /line-diff@2.1.1: - resolution: {integrity: sha512-vswdynAI5AMPJacOo2o+JJ4caDJbnY2NEqms4MhMW0NJbjh3skP/brpVTAgBxrg55NRZ2Vtw88ef18hnagIpYQ==} - dependencies: - levdist: 1.0.0 - dev: false - /lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} @@ -25440,15 +24253,12 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: p-locate: 6.0.0 + dev: false /lodash-es@4.17.21: resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} dev: true - /lodash._reinterpolate@3.0.0: - resolution: {integrity: sha512-xYHt68QRoYGjeeM/XOE1uJtvXQAgvszfBhjV4yvsQH0u2i9I6cI6c6/eG4Hh3UAOVn0y/xAXwmTzEay49Q//HA==} - dev: false - /lodash.camelcase@4.3.0: resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==} @@ -25459,18 +24269,10 @@ packages: /lodash.debounce@4.0.8: resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==} - /lodash.escape@4.0.1: - resolution: {integrity: sha512-nXEOnb/jK9g0DYMr1/Xvq6l5xMD7GDG55+GSYIYmS0G4tBk/hURD4JR9WCavs04t33WmJx9kCyp9vJ+mr4BOUw==} - dev: true - /lodash.flatmap@4.5.0: resolution: {integrity: sha512-/OcpcAGWlrZyoHGeHh3cAoa6nGdX6QYtmzNP84Jqol6UEQQ2gIaU3H+0eICcjcKGl0/XF8LWOujNn9lffsnaOg==} dev: false - /lodash.flatten@4.4.0: - resolution: {integrity: sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==} - dev: true - /lodash.flow@3.5.0: resolution: {integrity: sha512-ff3BX/tSioo+XojX4MOsOMhJw0nZoUEF011LX8g8d3gvjVbxd89cCio4BCXronjxcTUIJUoqKEUA+n4CqvvRPw==} dev: true @@ -25479,10 +24281,6 @@ packages: resolution: {integrity: sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==} dev: false - /lodash.invokemap@4.6.0: - resolution: {integrity: sha512-CfkycNtMqgUlfjfdh2BhKO/ZXrP8ePOX5lEU/g0R3ItJcnuxWDwokMGKx1hWcfOikmyOVx6X9IwWnDGlgKl61w==} - dev: true - /lodash.isequal@4.5.0: resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} dev: false @@ -25508,29 +24306,12 @@ packages: resolution: {integrity: sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==} dev: true - /lodash.pullall@4.2.0: - resolution: {integrity: sha512-VhqxBKH0ZxPpLhiu68YD1KnHmbhQJQctcipvmFnqIBDYzcIHzf3Zpu0tpeOKtR4x76p9yohc506eGdOjTmyIBg==} - dev: true - /lodash.snakecase@4.1.1: resolution: {integrity: sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==} /lodash.startcase@4.4.0: resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} - /lodash.template@4.5.0: - resolution: {integrity: sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==} - dependencies: - lodash._reinterpolate: 3.0.0 - lodash.templatesettings: 4.2.0 - dev: false - - /lodash.templatesettings@4.2.0: - resolution: {integrity: sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==} - dependencies: - lodash._reinterpolate: 3.0.0 - dev: false - /lodash.topath@4.5.2: resolution: {integrity: sha512-1/W4dM+35DwvE/iEd1M9ekewOSTlpFekhw9mhAtrwjVqUr83/ilQiyAvmg4tVX7Unkcfl1KC+i9WdaT4B6aQcg==} dev: false @@ -25542,10 +24323,6 @@ packages: /lodash.uniq@4.5.0: resolution: {integrity: sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==} - /lodash.uniqby@4.7.0: - resolution: {integrity: sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww==} - dev: true - /lodash.upperfirst@4.3.1: resolution: {integrity: sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==} @@ -25932,6 +24709,7 @@ packages: /memoize-one@6.0.0: resolution: {integrity: sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==} + dev: false /memoizerific@1.11.3: resolution: {integrity: sha512-/EuHYwAPdLtXwAwSZkh/Gutery6pD2KYd44oQLhAvQp/50mpyduZh8Q7PYHXTCJ+wuXxt7oij2LXyIJOOYFPog==} @@ -26307,7 +25085,7 @@ packages: resolution: {integrity: sha512-6Mj0yHLdUZjHnOPgr5xfWIMqMWS12zDN6iws9SLuSz76W8jTtAv24MN4/CL7gJrl5vtxGInkkqDv/JIoRsQOvA==} dependencies: '@types/debug': 4.1.7 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) decode-named-character-reference: 1.0.2 micromark-core-commonmark: 1.0.6 micromark-factory-space: 1.0.0 @@ -26383,16 +25161,6 @@ packages: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} - /mini-css-extract-plugin@2.7.6(webpack@5.89.0): - resolution: {integrity: sha512-Qk7HcgaPkGG6eD77mLvZS1nmxlao3j+9PkrT9Uc7HAE1id3F41+DdBRYRYkbyfNRGzm8/YWtzhw7nVPmwhqTQw==} - engines: {node: '>= 12.13.0'} - peerDependencies: - webpack: ^5.0.0 - dependencies: - schema-utils: 4.2.0 - webpack: 5.89.0(esbuild@0.17.19) - dev: false - /mini-css-extract-plugin@2.8.0(webpack@5.89.0): resolution: {integrity: sha512-CxmUYPFcTgET1zImteG/LZOy/4T5rTojesQXkSNBiquhydn78tfbCE9sjIjnJ/UcjNjOC1bphTCCW5rrS7cXAg==} engines: {node: '>= 12.13.0'} @@ -26536,6 +25304,7 @@ packages: /moment@2.29.3: resolution: {integrity: sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw==} + dev: false /mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} @@ -26663,7 +25432,7 @@ packages: resolution: {integrity: sha512-R6NUw7RIPtKwgK7jskuKoEi4VFMqIHtV2Uu9K/Uegc4TA5cqe+oNMYslZcUmnVNQCTG6wcSqUBaGTDd7sq5srg==} engines: {node: '>= 10.13'} dependencies: - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) json-stringify-safe: 5.0.1 lodash: 4.17.21 propagate: 2.0.1 @@ -26738,44 +25507,6 @@ packages: /node-int64@0.4.0: resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} - /node-libs-browser@2.2.1: - resolution: {integrity: sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==} - dependencies: - assert: 1.5.0 - browserify-zlib: 0.2.0 - buffer: 4.9.2 - console-browserify: 1.2.0 - constants-browserify: 1.0.0 - crypto-browserify: 3.12.0 - domain-browser: 1.2.0 - events: 3.3.0 - https-browserify: 1.0.0 - os-browserify: 0.3.0 - path-browserify: 0.0.1 - process: 0.11.10 - punycode: 1.4.1 - querystring-es3: 0.2.1 - readable-stream: 2.3.7 - stream-browserify: 2.0.2 - stream-http: 2.8.3 - string_decoder: 1.3.0 - timers-browserify: 2.0.12 - tty-browserify: 0.0.0 - url: 0.11.0 - util: 0.11.1 - vm-browserify: 1.1.2 - dev: false - - /node-loader@2.0.0(webpack@5.89.0): - resolution: {integrity: sha512-I5VN34NO4/5UYJaUBtkrODPWxbobrE4hgDqPrjB25yPkonFhCmZ146vTH+Zg417E9Iwoh1l/MbRs1apc5J295Q==} - engines: {node: '>= 10.13.0'} - peerDependencies: - webpack: ^5.0.0 - dependencies: - loader-utils: 2.0.4 - webpack: 5.89.0(esbuild@0.17.19) - dev: true - /node-machine-id@1.1.12: resolution: {integrity: sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ==} dev: true @@ -26834,6 +25565,7 @@ packages: /normalize-range@0.1.2: resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} engines: {node: '>=0.10.0'} + dev: false /normalize-url@6.1.0: resolution: {integrity: sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==} @@ -26868,6 +25600,7 @@ packages: /number-precision@1.5.2: resolution: {integrity: sha512-q7C1ZW3FyjsJ+IpGB6ykX8OWWa5+6M+hEY0zXBlzq1Sq1IPY9GeI3CQ9b2i6CMIYoeSuFhop2Av/OhCxClXqag==} + dev: false /nwsapi@2.2.5: resolution: {integrity: sha512-6xpotnECFy/og7tKSBVmUNft7J3jyXAka4XvG6AUhFWRz+Q/Ljus7znJAA3bxColfQLdS+XsjoodtJfCgeTEFQ==} @@ -27058,11 +25791,6 @@ packages: is-docker: 2.2.1 is-wsl: 2.2.0 - /opener@1.5.2: - resolution: {integrity: sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==} - hasBin: true - dev: true - /optionator@0.9.1: resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==} engines: {node: '>= 0.8.0'} @@ -27177,6 +25905,7 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: p-limit: 4.0.0 + dev: false /p-map@2.1.0: resolution: {integrity: sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==} @@ -27281,12 +26010,6 @@ packages: resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} dev: false - /parse5@7.1.1: - resolution: {integrity: sha512-kwpuwzB+px5WUg9pyK0IcK/shltJN5/OVhQagxhCQNtT9Y9QRZqNY2e1cmbu/paRh5LMnz/oVTVLBpjFmMZhSg==} - dependencies: - entities: 4.5.0 - dev: false - /parse5@7.1.2: resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} dependencies: @@ -27316,15 +26039,6 @@ packages: cross-spawn: 6.0.5 dev: false - /patch-console@1.0.0: - resolution: {integrity: sha512-nxl9nrnLQmh64iTzMfyylSlRozL7kAXIaxw1fVcLYdyhNkJCRUzirRZTikXGJsg+hc4fqpneTK6iU2H1Q8THSA==} - engines: {node: '>=10'} - dev: true - - /path-browserify@0.0.1: - resolution: {integrity: sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==} - dev: false - /path-browserify@1.0.1: resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} @@ -27339,6 +26053,7 @@ packages: /path-exists@5.0.0: resolution: {integrity: sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dev: false /path-is-absolute@1.0.1: resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} @@ -27505,6 +26220,7 @@ packages: engines: {node: '>=14.16'} dependencies: find-up: 6.3.0 + dev: false /pkg-types@1.0.3: resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==} @@ -27737,20 +26453,6 @@ packages: ts-node: 10.9.2(@types/node@18.11.17)(typescript@5.3.3) yaml: 2.2.1 - /postcss-loader@7.0.2(postcss@8.4.31)(webpack@5.89.0): - resolution: {integrity: sha512-fUJzV/QH7NXUAqV8dWJ9Lg4aTkDCezpTS5HgJ2DvqznexTbSTxgi/dTECvTZ15BwKTtk8G/bqI/QTu2HPd3ZCg==} - engines: {node: '>= 14.15.0'} - peerDependencies: - postcss: ^7.0.0 || ^8.0.1 - webpack: ^5.0.0 - dependencies: - cosmiconfig: 7.0.1 - klona: 2.0.5 - postcss: 8.4.31 - semver: 7.6.0 - webpack: 5.89.0(esbuild@0.17.19) - dev: true - /postcss-media-minmax@5.0.0(postcss@8.4.31): resolution: {integrity: sha512-yDUvFf9QdFZTuCUg0g0uNSHVlJ5X1lSzDZjPSFaiCWvjgsvu8vEVxtahPrLMinIDEEGnx6cBe6iqdx5YWz08wQ==} engines: {node: '>=10.0.0'} @@ -27834,6 +26536,7 @@ packages: postcss: ^8.1.0 dependencies: postcss: 8.4.31 + dev: false /postcss-modules-local-by-default@4.0.0(postcss@8.4.31): resolution: {integrity: sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==} @@ -27845,6 +26548,7 @@ packages: postcss: 8.4.31 postcss-selector-parser: 6.0.13 postcss-value-parser: 4.2.0 + dev: false /postcss-modules-scope@3.0.0(postcss@8.4.31): resolution: {integrity: sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==} @@ -27854,6 +26558,7 @@ packages: dependencies: postcss: 8.4.31 postcss-selector-parser: 6.0.13 + dev: false /postcss-modules-values@4.0.0(postcss@8.4.31): resolution: {integrity: sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==} @@ -27863,6 +26568,7 @@ packages: dependencies: icss-utils: 5.1.0(postcss@8.4.31) postcss: 8.4.31 + dev: false /postcss-modules@4.3.0(postcss@8.4.31): resolution: {integrity: sha512-zoUttLDSsbWDinJM9jH37o7hulLRyEgH6fZm2PchxN7AZ8rkdWiALyNhnQ7+jg7cX9f10m6y5VhHsrjO0Mf/DA==} @@ -28017,14 +26723,6 @@ packages: dependencies: postcss: 8.4.31 - /postcss-pxtorem@6.0.0(postcss@8.4.31): - resolution: {integrity: sha512-ZRXrD7MLLjLk2RNGV6UA4f5Y7gy+a/j1EqjAfp9NdcNYVjUMvg5HTYduTjSkKBkRkfqbg/iKrjMO70V4g1LZeg==} - peerDependencies: - postcss: ^8.0.0 - dependencies: - postcss: 8.4.31 - dev: true - /postcss-reduce-initial@6.0.0(postcss@8.4.31): resolution: {integrity: sha512-s2UOnidpVuXu6JiiI5U+fV2jamAw5YNA9Fdi/GRK0zLDLCfXmSGqQtzpUPtfN66RtCbb9fFHoyZdQaxOB3WxVA==} engines: {node: ^14 || ^16 || >=18.0} @@ -28156,6 +26854,7 @@ packages: dependencies: lodash: 4.17.21 renderkid: 3.0.0 + dev: false /pretty-format@27.5.1: resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==} @@ -28186,11 +26885,6 @@ packages: resolution: {integrity: sha512-66hKPCr+72mlfiSjlEB1+45IjXSqvVAIy6mocupoww4tBFE9R9IhwwUGoI4G++Tc9Aq+2rxOt0RFU6gPcrte0A==} engines: {node: '>= 0.8'} - /pretty-time@1.1.0: - resolution: {integrity: sha512-28iF6xPQrP8Oa6uxE6a1biz+lWeTOAPKggvjB8HAs6nVMKZwf5bG++632Dx614hIWgUPkgivRfG+a8uAXGTIbA==} - engines: {node: '>=4'} - dev: true - /prismjs@1.27.0: resolution: {integrity: sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==} engines: {node: '>=6'} @@ -28299,6 +26993,7 @@ packages: constantinople: 4.0.1 js-stringify: 1.0.2 pug-runtime: 3.0.1 + dev: false /pug-code-gen@3.0.2: resolution: {integrity: sha512-nJMhW16MbiGRiyR4miDTQMRWDgKplnHyeLvioEJYbk1RsPI3FuA3saEP8uwnTb2nTJEKBU90NFVWJBk4OU5qyg==} @@ -28311,9 +27006,11 @@ packages: pug-runtime: 3.0.1 void-elements: 3.1.0 with: 7.0.2 + dev: false /pug-error@2.0.0: resolution: {integrity: sha512-sjiUsi9M4RAGHktC1drQfCr5C5eriu24Lfbt4s+7SykztEOwVZtbFk1RRq0tzLxcMxMYTBR+zMQaG07J/btayQ==} + dev: false /pug-filters@4.0.0: resolution: {integrity: sha512-yeNFtq5Yxmfz0f9z2rMXGw/8/4i1cCFecw/Q7+D0V2DdtII5UvqE12VaZ2AY7ri6o5RNXiweGH79OCq+2RQU4A==} @@ -28323,6 +27020,7 @@ packages: pug-error: 2.0.0 pug-walk: 2.0.0 resolve: 1.22.4 + dev: false /pug-lexer@5.0.1: resolution: {integrity: sha512-0I6C62+keXlZPZkOJeVam9aBLVP2EnbeDw3An+k0/QlqdwH6rv8284nko14Na7c0TtqtogfWXcRoFE4O4Ff20w==} @@ -28330,35 +27028,42 @@ packages: character-parser: 2.2.0 is-expression: 4.0.0 pug-error: 2.0.0 + dev: false /pug-linker@4.0.0: resolution: {integrity: sha512-gjD1yzp0yxbQqnzBAdlhbgoJL5qIFJw78juN1NpTLt/mfPJ5VgC4BvkoD3G23qKzJtIIXBbcCt6FioLSFLOHdw==} dependencies: pug-error: 2.0.0 pug-walk: 2.0.0 + dev: false /pug-load@3.0.0: resolution: {integrity: sha512-OCjTEnhLWZBvS4zni/WUMjH2YSUosnsmjGBB1An7CsKQarYSWQ0GCVyd4eQPMFJqZ8w9xgs01QdiZXKVjk92EQ==} dependencies: object-assign: 4.1.1 pug-walk: 2.0.0 + dev: false /pug-parser@6.0.0: resolution: {integrity: sha512-ukiYM/9cH6Cml+AOl5kETtM9NR3WulyVP2y4HOU45DyMim1IeP/OOiyEWRr6qk5I5klpsBnbuHpwKmTx6WURnw==} dependencies: pug-error: 2.0.0 token-stream: 1.0.0 + dev: false /pug-runtime@3.0.1: resolution: {integrity: sha512-L50zbvrQ35TkpHwv0G6aLSuueDRwc/97XdY8kL3tOT0FmhgG7UypU3VztfV/LATAvmUfYi4wNxSajhSAeNN+Kg==} + dev: false /pug-strip-comments@2.0.0: resolution: {integrity: sha512-zo8DsDpH7eTkPHCXFeAk1xZXJbyoTfdPlNR0bK7rpOMuhBYb0f5qUVCO1xlsitYd3w5FQTK7zpNVKb3rZoUrrQ==} dependencies: pug-error: 2.0.0 + dev: false /pug-walk@2.0.0: resolution: {integrity: sha512-yYELe9Q5q9IQhuvqsZNwA5hfPkMJ8u92bQLIMcsMxf/VADjNtEYptU+inlufAFYcWdHlwNfZOEnOOQrZrcyJCQ==} + dev: false /pug@3.0.2: resolution: {integrity: sha512-bp0I/hiK1D1vChHh6EfDxtndHji55XP/ZJKwsRqrz6lRia6ZC2OZbdAymlxdVFwd1L70ebrVJw4/eZ79skrIaw==} @@ -28371,6 +27076,7 @@ packages: pug-parser: 6.0.0 pug-runtime: 3.0.1 pug-strip-comments: 2.0.0 + dev: false /pump@2.0.1: resolution: {integrity: sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==} @@ -28422,7 +27128,7 @@ packages: '@puppeteer/browsers': 0.5.0(typescript@5.3.3) chromium-bidi: 0.4.7(devtools-protocol@0.0.1107588) cross-fetch: 3.1.5 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) devtools-protocol: 0.0.1107588 extract-zip: 2.0.1 https-proxy-agent: 5.0.1 @@ -28443,7 +27149,7 @@ packages: engines: {node: '>=8.16.0'} dependencies: '@types/mime-types': 2.1.1 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) extract-zip: 1.7.0 https-proxy-agent: 4.0.0 mime: 2.6.0 @@ -28517,6 +27223,12 @@ packages: dependencies: side-channel: 1.0.4 + /qs@6.11.0: + resolution: {integrity: sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==} + engines: {node: '>=0.6'} + dependencies: + side-channel: 1.0.4 + /qs@6.11.2: resolution: {integrity: sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==} engines: {node: '>=0.6'} @@ -28608,6 +27320,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) resize-observer-polyfill: 1.5.1 + dev: false /rc-cascader@2.2.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-4saWcwpmxxh5fhUdaDgOLF2gWL8KNxLwWqELX702HNXEt2yU7AixjfvgEORNsnQZleT2W2AaGMkRDeWrwt8fMw==} @@ -28623,6 +27336,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) warning: 4.0.3 + dev: false /rc-cascader@3.9.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-wMOQrCWobkaQz3zHEFB82RNBLDkL6tDucOf4VSKQ8Z6SiVBqIfqnEHaEiYvL9GMI3/zStVGqwvOFar/xyOm+xw==} @@ -28650,6 +27364,7 @@ packages: classnames: 2.3.2 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-collapse@3.1.4(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-WayrhswKMwuJab9xbqFxXTgV0m6X8uOPEO6zm/GJ5YJiJ/wIh/Dd2VtWeI06HYUEnTFv0HNcYv+zWbB+p6OD2A==} @@ -28664,6 +27379,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 + dev: false /rc-collapse@3.5.2(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-/TNiT3DW1t3sUCiVD/DPUYooJZ3BLA93/2rZsB3eM2bGJCCla2X9D2E4tgm7LGMQGy5Atb2lMUn2FQuvQNvavQ==} @@ -28691,6 +27407,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-dialog@9.0.2(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-s3U+24xWUuB6Bn2Lk/Qt6rufy+uT+QvWkiFhNBcO9APLxcFFczWamaq7x9h8SCuhfc1nHcW4y8NbMsnAjNnWyg==} @@ -28718,6 +27435,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-drawer@6.1.2(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-mYsTVT8Amy0LRrpVEv7gI1hOjtfMSO/qHAaCDzFx9QBLnms3cAQLJkaxRWM+Eq99oyLhU/JkgoqTg13bc4ogOQ==} @@ -28745,6 +27463,7 @@ packages: rc-trigger: 5.3.4(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-dropdown@4.0.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-OdpXuOcme1rm45cR0Jzgfl1otzmU4vuBVb+etXM8vcaULGokAKVpKlw8p6xzspG7jGd/XxShvq+N3VNEfk/l5g==} @@ -28772,6 +27491,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-field-form@1.27.3(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-HGqxHnmGQgkPApEcikV4qTg3BLPC82uB/cwBDftDt1pYaqitJfSl5TFTTUMKVEJVT5RqJ2Zi68ME1HmIMX2HAw==} @@ -28815,6 +27535,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-input-number@7.3.4(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-W9uqSzuvJUnz8H8vsVY4kx+yK51SsAxNTwr8SNH4G3XqQNocLVmKIibKFRjocnYX1RDHMND9FFbgj2h7E7nvGA==} @@ -28827,6 +27548,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-input-number@7.4.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-r/Oub/sPYbzqLNUOHnnc9sbCu78a81KX+RCbRwmpvB4W6nptUySbdWS5KHV4Hak5CAE1LAd+wWm5JjvZizG1FA==} @@ -28869,6 +27591,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-mentions@2.0.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-58NSeM6R5MrgYAhR2TH27JgAN7ivp3iBTmty3q6gvrrGHelPMdGxpJ5aH7AIlodCrPWLAm1lT4XoiuI4s9snXA==} @@ -28902,6 +27625,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 + dev: false /rc-menu@9.3.2(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-h3m45oY1INZyqphGELkdT0uiPnFzxkML8m0VMhJnk2fowtqfiT7F5tJLT3znEVaPIY80vMy1bClCkgq8U91CzQ==} @@ -28918,6 +27642,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 + dev: false /rc-menu@9.8.2(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-EahOJVjLuEnJsThoPN+mGnVm431RzVzDLZWHRS/YnXTQULa7OsgdJa/Y7qXxc3Z5sz8mgT6xYtgpmBXLxrZFaQ==} @@ -28946,6 +27671,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-notification@4.5.7(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-zhTGUjBIItbx96SiRu3KVURcLOydLUHZCPpYEn1zvh+re//Tnq/wSxN4FKgp38n4HOgHSVxcLEeSxBMTeBBDdw==} @@ -28960,6 +27686,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-notification@5.0.2(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-74wUFiLlyr6lRGEY1m1BaTiDp+0lIT4FRAblMnh9FApyK2JGdsSLbrQ/1rgM7d2N/IX5UIr8kLLW3TdXxFt/jQ==} @@ -28988,6 +27715,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-pagination@3.1.17(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-/BQ5UxcBnW28vFAcP2hfh+Xg15W0QZn8TWYwdCApchMH1H0CxiaUUcULP8uXcFM1TygcdKWdt3JqsL9cTAfdkQ==} @@ -28999,6 +27727,7 @@ packages: classnames: 2.3.2 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-pagination@3.2.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-5tIXjB670WwwcAJzAqp2J+cOBS9W3cH/WU1EiYwXljuZ4vtZXKlY2Idq8FZrnYBz8KhN3vwPo9CoV/SJS6SL1w==} @@ -29029,6 +27758,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 + dev: false /rc-picker@3.2.4(dayjs@1.11.3)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-AydqPVS12u+46P6DwF0iMi4p5UAAnb64drcA/zUgNXkkB6rQhUwtYP7E75YM0WylT54F3sLhe+WttZynxtsU+Q==} @@ -29066,6 +27796,7 @@ packages: classnames: 2.3.2 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-progress@3.4.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-eAFDHXlk8aWpoXl0llrenPMt9qKHQXphxcVsnKs0FHC6eCSk1ebJtyaVjJUzKe0233ogiLDeEFK1Uihz3s67hw==} @@ -29092,6 +27823,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-resize-observer@1.3.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-iFUdt3NNhflbY3mwySv5CA1TC06zdJ+pfo0oc27xpf4PIOvfZwZGtD9Kz41wGYqC4SLio93RVAirSSpYlV/uYg==} @@ -29105,6 +27837,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) resize-observer-polyfill: 1.5.1 + dev: false /rc-segmented@2.1.2(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-qGo1bCr83ESXpXVOCXjFe1QJlCAQXyi9KCiy8eX3rIMYlTeJr/ftySIaTnYsitL18SvWf5ZEHsfqIWoX0EMfFQ==} @@ -29136,6 +27869,7 @@ packages: rc-virtual-list: 3.4.13(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-select@14.3.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-y+TeAKvAvfAS7WXn4nFU8xtWJ1kLC7SVBvX3UQYtfU+N3BYNpNzHw/3F1Gu34rN2YWTG4hwspwFvDuRtGXytlQ==} @@ -29183,6 +27917,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 + dev: false /rc-steps@4.1.4(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-qoCqKZWSpkh/b03ASGx1WhpKnuZcRWmvuW+ZUu4mvMdfvFzVxblTwUM+9aBd0mlEUFmt6GW8FXhMpHkK3Uzp3w==} @@ -29196,6 +27931,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-steps@6.0.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-+KfMZIty40mYCQSDvYbZ1jwnuObLauTiIskT1hL4FFOBHP6ZOr8LK0m143yD3kEN5XKHSEX1DIwCj3AYZpoeNQ==} @@ -29222,6 +27958,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-switch@4.0.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-IfrYC99vN0gKaTyjQdqYuADU0eH00SAFHg3jOp8HrmUpJruhV1SohJzrCbPqPraZeX/6X/QKkdLfkdnUub05WA==} @@ -29250,6 +27987,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 + dev: false /rc-table@7.31.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-KZPi35aGpv2VaL1Jbc58FBJo063HtKyVjhOFWX4AkBV7tjHHQokMdUoua5E+GPJh6QZUpK/a8PjKa9IZzPLIEA==} @@ -29282,6 +28020,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-tabs@12.5.6(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-aArXHzxK7YICxe+622CZ8FlO5coMi8P7E6tXpseCPKm1gdTjUt0LrQK1/AxcrRXZXG3K4QqhlKmET0+cX5DQaQ==} @@ -29314,6 +28053,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 + dev: false /rc-textarea@1.0.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-dtIm96apjJpCUcCeTtbnLGJaVlqbOqVgN0P9z+bqMSi7rcV5QVeUtBnG+jQTGk/uD183Z7jbhc8Dx7G3luDCwg==} @@ -29340,6 +28080,7 @@ packages: rc-trigger: 5.3.4(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-tooltip@5.2.2(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-jtQzU/18S6EI3lhSGoDYhPqNpWajMtS5VV/ld1LwyfrDByQpYmw/LW6U7oFXXLukjfDHQ7Ju705A82PRNFWYhg==} @@ -29352,6 +28093,7 @@ packages: rc-trigger: 5.3.4(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-tooltip@6.0.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-MdvPlsD1fDSxKp9+HjXrc/CxLmA/s11QYIh1R7aExxfodKP7CZA++DG1AjrW80F8IUdHYcR43HAm0Y2BYPelHA==} @@ -29379,6 +28121,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-tree-select@5.7.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-YGMpBFK9qBkgng2ZhOw7yFiL9VnjHij+uNvP+tiU/QZGdf2XcO8LHXQNUZRGAEzx4PT5lUs6d7kIfkQ9a74bqg==} @@ -29409,6 +28152,7 @@ packages: rc-virtual-list: 3.4.13(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-tree@5.7.2(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-nmnL6qLnfwVckO5zoqKL2I9UhwDqzyCtjITQCkwhimyz1zfuFkG5ZPIXpzD/Guzso94qQA/QrMsvzic5W6QDjg==} @@ -29440,6 +28184,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-upload@4.3.4(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-uVbtHFGNjHG/RyAfm9fluXB6pvArAGyAx8z7XzXXyorEgVIWj6mOlriuDm0XowDHYz4ycNK0nE0oP3cbFnzxiQ==} @@ -29452,6 +28197,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /rc-util@5.29.2(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-xHT9Dr3RD6tyvCibnH10l3mudC6TJjWNr9UDy3CrOGZqTY354OfdwP87ahKNe0b3A1dsysDldvx0SBuswhlOeA==} @@ -29463,6 +28209,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) react-is: 16.13.1 + dev: false /rc-virtual-list@3.4.13(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-cPOVDmcNM7rH6ANotanMDilW/55XnFPw0Jh/GQYtrzZSy3AmWvCnqVNyNC/pgg3lfVmX2994dlzAhuUrd4jG7w==} @@ -29477,6 +28224,7 @@ packages: rc-util: 5.29.2(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /react-base16-styling@0.6.0: resolution: {integrity: sha512-yvh/7CArceR/jNATXOKDlvTnPKPmGZz7zsenQ3jUwLzHkNUR0CvY3yGYJbWJ/nnxsL8Sgmt5cO3/SILVuPO6TQ==} @@ -29506,6 +28254,7 @@ packages: dependencies: '@babel/runtime': 7.23.2 react: 18.2.0 + dev: false /react-colorful@5.6.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-1exovf0uGTGyq5mXQT0zgQ80uvj2PCwvF8zY1RN9/vbJVSjSo3fsB/4L3ObbF7u70NduSiK4xu4Y6q1MHoUGEw==} @@ -29618,6 +28367,7 @@ packages: react-clientside-effect: 1.2.6(react@18.2.0) use-callback-ref: 1.3.0(@types/react@18.0.21)(react@18.2.0) use-sidecar: 1.1.2(@types/react@18.0.21)(react@18.2.0) + dev: false /react-helmet-async@1.3.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-9jZ57/dAn9t3q6hneQS0wukqC2ENOBgMNVEhb/ZG9ZSxUetzVIw4iAmEU38IaVg3QGYauQPhSeUTuIUtFglWpg==} @@ -29867,6 +28617,7 @@ packages: prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + dev: false /react-universal-interface@0.6.2(react@18.2.0)(tslib@2.6.2): resolution: {integrity: sha512-dg8yXdcQmvgR13RIlZbTRQOoUrDciFVoSBZILwjE2LFISxZZ8loVJKAkuzswl5js8BHda79bIb2b84ehU8IjXw==} @@ -30075,10 +28826,6 @@ packages: dependencies: '@babel/runtime': 7.23.2 - /regex-parser@2.2.11: - resolution: {integrity: sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q==} - dev: true - /regexp.prototype.flags@1.4.3: resolution: {integrity: sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==} engines: {node: '>= 0.4'} @@ -30131,6 +28878,7 @@ packages: /relateurl@0.2.7: resolution: {integrity: sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog==} engines: {node: '>= 0.10'} + dev: false /remark-external-links@8.0.0: resolution: {integrity: sha512-5vPSX0kHoSsqtdftSHhIYofVINC8qmp0nctkeU9YoJwV3YfiBRiI6cbFRJ0oI/1F9xS+bopXG0m2KS8VFscuKA==} @@ -30296,6 +29044,7 @@ packages: htmlparser2: 6.1.0 lodash: 4.17.21 strip-ansi: 6.0.1 + dev: false /repeat-string@1.6.1: resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} @@ -30313,10 +29062,6 @@ packages: resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} dev: false - /require-package-name@2.0.1: - resolution: {integrity: sha512-uuoJ1hU/k6M0779t3VMVIYpb2VMJk05cehCaABFhXaibcbvfgR8wKiozLjVFSzJPmQMRqIcO0HMyTFqfV09V6Q==} - dev: true - /requires-port@1.0.0: resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} @@ -30363,17 +29108,6 @@ packages: resolution: {integrity: sha512-C7rARubxI8bXFNB/hqcp/4iUeIXJhJZvFPFPiSPRnhU5UPxzMFIl+2E6yY6c4k9giDJAhtV+enfA+G89N6Csng==} dev: false - /resolve-url-loader@5.0.0: - resolution: {integrity: sha512-uZtduh8/8srhBoMx//5bwqjQ+rfYOUq8zC9NrMUGtjBiGTtFJM42s58/36+hTqeqINcnYe08Nj3LkK9lW4N8Xg==} - engines: {node: '>=12'} - dependencies: - adjust-sourcemap-loader: 4.0.0 - convert-source-map: 1.8.0 - loader-utils: 2.0.4 - postcss: 8.4.31 - source-map: 0.6.1 - dev: true - /resolve.exports@2.0.1: resolution: {integrity: sha512-OEJWVeimw8mgQuj3HfkNl4KqRevH7lzeQNaWRPfx0PPse7Jk6ozcsG4FKVgtzDsC1KUF+YlTHh17NcgHOPykLw==} engines: {node: '>=10'} @@ -30582,31 +29316,6 @@ packages: /safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - /sass-loader@13.0.2(sass@1.54.4)(webpack@5.89.0): - resolution: {integrity: sha512-BbiqbVmbfJaWVeOOAu2o7DhYWtcNmTfvroVgFXa6k2hHheMxNAeDHLNoDy/Q5aoaVlz0LH+MbMktKwm9vN/j8Q==} - engines: {node: '>= 14.15.0'} - peerDependencies: - fibers: '>= 3.1.0' - node-sass: ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 - sass: ^1.3.0 - sass-embedded: '*' - webpack: ^5.0.0 - peerDependenciesMeta: - fibers: - optional: true - node-sass: - optional: true - sass: - optional: true - sass-embedded: - optional: true - dependencies: - klona: 2.0.5 - neo-async: 2.6.2 - sass: 1.54.4 - webpack: 5.89.0(esbuild@0.17.19) - dev: true - /sass@1.54.4: resolution: {integrity: sha512-3tmF16yvnBwtlPrNBHw/H907j8MlOX8aTBnlNX1yrKx24RKcJGPyLhFUwkoKBKesR3unP93/2z14Ll8NicwQUA==} engines: {node: '>=12.0.0'} @@ -30662,6 +29371,7 @@ packages: ajv: 8.11.0 ajv-formats: 2.1.1(ajv@8.11.0) ajv-keywords: 5.1.0(ajv@8.11.0) + dev: false /screenfull@5.2.0: resolution: {integrity: sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA==} @@ -30672,11 +29382,13 @@ packages: resolution: {integrity: sha512-P9kYMrhi9f6dvWwTGpO5I3HgjSU/8Mts7xL3lkoH5xlewK7O9Obdc5WmMCzppln7bCVGNmf3qfoZXrpCeyNJXw==} dependencies: compute-scroll-into-view: 1.0.11 + dev: false /scroll-into-view-if-needed@2.2.29: resolution: {integrity: sha512-hxpAR6AN+Gh53AdAimHM6C8oTN1ppwVZITihix+WqalywBeFcQ6LdQP5ABNl26nX8GTEL7VT+b8lKpdqq65wXg==} dependencies: compute-scroll-into-view: 1.0.17 + dev: false /scroll-into-view-if-needed@3.0.4: resolution: {integrity: sha512-s+/F50jwTOUt+u5oEIAzum9MN2lUQNvWBe/zfEsVQcbaERjGkKLq1s+2wCHkahMLC8nMLbzMVKivx9JhunXaZg==} @@ -30845,6 +29557,7 @@ packages: engines: {node: '>=8'} dependencies: kind-of: 6.0.3 + dev: false /shallowequal@1.1.0: resolution: {integrity: sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==} @@ -30993,6 +29706,7 @@ packages: /source-list-map@2.0.1: resolution: {integrity: sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==} + dev: false /source-map-js@0.6.2: resolution: {integrity: sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug==} @@ -31190,13 +29904,6 @@ packages: - utf-8-validate dev: false - /stream-browserify@2.0.2: - resolution: {integrity: sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==} - dependencies: - inherits: 2.0.4 - readable-stream: 2.3.7 - dev: false - /stream-browserify@3.0.0: resolution: {integrity: sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==} dependencies: @@ -31213,16 +29920,6 @@ packages: engines: {node: '>=0.10.0'} dev: false - /stream-http@2.8.3: - resolution: {integrity: sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==} - dependencies: - builtin-status-codes: 3.0.0 - inherits: 2.0.4 - readable-stream: 2.3.7 - to-arraybuffer: 1.0.1 - xtend: 4.0.2 - dev: false - /stream-http@3.2.0: resolution: {integrity: sha512-Oq1bLqisTyK3TSCXpPbT4sdeYNdmyZJv1LxpEm2vu1ZhK89kSE5YXwZc3cWk0MagGaKriBh9mCFbVGtO+vY29A==} dependencies: @@ -31273,6 +29970,7 @@ packages: /string-convert@0.2.1: resolution: {integrity: sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A==} + dev: false /string-hash@1.1.3: resolution: {integrity: sha512-kJUvRUFK49aub+a7T1nNE66EJbZBMnBgoC1UbCZ5n6bsZKBRga4KgBRTMn/pFkeCZSYtNeSyMxPDM0AXWELk2A==} @@ -31456,15 +30154,6 @@ packages: resolution: {integrity: sha512-IezA2qp+vcdlhJaVm5SOdPPTUu0FCEqfNSli2vRuSIBbu5Nq5UvygTk/VzeCqfLz2Atj3dVII5QBKGZRZ0edzw==} dev: false - /style-loader@3.3.3(webpack@5.89.0): - resolution: {integrity: sha512-53BiGLXAcll9maCYtZi2RCQZKa8NQQai5C4horqKyRmHj9H7QmcUyucrH+4KW/gBQbXM2AsB0axoEcFZPlfPcw==} - engines: {node: '>= 12.13.0'} - peerDependencies: - webpack: ^5.0.0 - dependencies: - webpack: 5.89.0(esbuild@0.17.19) - dev: false - /style-mod@4.1.0: resolution: {integrity: sha512-Ca5ib8HrFn+f+0n4N4ScTIA9iTOQ7MaGS1ylHcoVqW9J7w2w8PzN6g9gKmTYgGEBH8e120+RCmhpje6jC5uGWA==} dev: false @@ -31511,33 +30200,6 @@ packages: /stylis@4.3.0: resolution: {integrity: sha512-E87pIogpwUsUwXw7dNyU4QDjdgVMy52m+XEOPEKUn161cCzWjjhPSQhByfd1CcNvrOLnXQ6OnnZDwnJrz/Z4YQ==} - /stylus-loader@7.1.0(stylus@0.59.0)(webpack@5.89.0): - resolution: {integrity: sha512-gNUEjjozR+oZ8cuC/Fx4LVXqZOgDKvpW9t2hpXHcxjfPYqSjQftaGwZUK+wL9B0QJ26uS6p1EmoWHmvld1dF7g==} - engines: {node: '>= 14.15.0'} - peerDependencies: - stylus: '>=0.52.4' - webpack: ^5.0.0 - dependencies: - fast-glob: 3.3.1 - klona: 2.0.5 - normalize-path: 3.0.0 - stylus: 0.59.0 - webpack: 5.89.0(esbuild@0.17.19) - dev: false - - /stylus@0.59.0: - resolution: {integrity: sha512-lQ9w/XIOH5ZHVNuNbWW8D822r+/wBSO/d6XvtyHLF7LW4KaCIDeVbvn5DF8fGCJAUCwVhVi/h6J0NUcnylUEjg==} - hasBin: true - dependencies: - '@adobe/css-tools': 4.0.1 - debug: 4.3.4(supports-color@9.3.1) - glob: 7.2.0 - sax: 1.2.4 - source-map: 0.7.4 - transitivePeerDependencies: - - supports-color - dev: false - /sucrase@3.29.0: resolution: {integrity: sha512-bZPAuGA5SdFHuzqIhTAqt9fvNEo9rESqXIG3oiKdF8K4UmkQxC4KlNL3lVyAErXp+mPvUqZ5l13qx6TrDIGf3A==} engines: {node: '>=8'} @@ -31574,13 +30236,13 @@ packages: dependencies: component-emitter: 1.3.0 cookiejar: 2.1.3 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) fast-safe-stringify: 2.1.1 form-data: 4.0.0 formidable: 2.0.1 methods: 1.1.2 mime: 2.6.0 - qs: 6.11.2 + qs: 6.11.0 readable-stream: 3.6.0 semver: 7.6.0 transitivePeerDependencies: @@ -31616,6 +30278,7 @@ packages: /supports-color@9.3.1: resolution: {integrity: sha512-knBY82pjmnIzK3NifMo3RxEIRD9E0kIzV4BKcyTZ9+9kWgLMxd4PrsTSMoFQUabgRBbF8KOLRDCyKgNV+iK44Q==} engines: {node: '>=12'} + dev: true /supports-hyperlinks@2.3.0: resolution: {integrity: sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==} @@ -31846,32 +30509,6 @@ packages: webpack: 5.89.0(esbuild@0.17.19) dev: false - /terser-webpack-plugin@5.3.9(@swc/core@1.3.42)(esbuild@0.17.19)(webpack@5.89.0): - resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} - engines: {node: '>= 10.13.0'} - peerDependencies: - '@swc/core': '*' - esbuild: '*' - uglify-js: '*' - webpack: ^5.1.0 - peerDependenciesMeta: - '@swc/core': - optional: true - esbuild: - optional: true - uglify-js: - optional: true - dependencies: - '@jridgewell/trace-mapping': 0.3.20 - '@swc/core': 1.3.42 - esbuild: 0.17.19 - jest-worker: 27.5.1 - schema-utils: 3.3.0 - serialize-javascript: 6.0.1 - terser: 5.19.2 - webpack: 5.89.0(@swc/core@1.3.42)(esbuild@0.17.19) - dev: true - /terser-webpack-plugin@5.3.9(esbuild@0.17.19)(webpack@5.89.0): resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} engines: {node: '>= 10.13.0'} @@ -32046,10 +30683,6 @@ packages: /tmpl@1.0.5: resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} - /to-arraybuffer@1.0.1: - resolution: {integrity: sha512-okFlQcoGTi4LQBG/PgSYblw9VOyptsz2KJZqc6qtgGdes8VktzUQkj4BI2blit072iS8VODNcMA+tvnS9dnuMA==} - dev: false - /to-fast-properties@2.0.0: resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} engines: {node: '>=4'} @@ -32073,16 +30706,7 @@ packages: /token-stream@1.0.0: resolution: {integrity: sha512-VSsyNPPW74RpHwR8Fc21uubwHY7wMDeJLys2IX5zJNih+OnAnaifKHo+1LHT7DAdloQ7apeaaWg8l7qnf/TnEg==} - - /toml-loader@1.0.0: - resolution: {integrity: sha512-/1xtg+pmD6IOuJBGtFp75hSofSVx3F8akeOS+31Rk1R5n8mYSZGKuaLM39qcxUm+SEx7zuntWR2puwYSntUKAg==} - dependencies: - toml: 2.3.6 - dev: true - - /toml@2.3.6: - resolution: {integrity: sha512-gVweAectJU3ebq//Ferr2JUY4WKSDe5N+z0FvjDncLGyHmIDoxgY/2Ie4qfEIDm4IS7OA6Rmdm7pdEEdMcV/xQ==} - dev: true + dev: false /toposort@2.0.2: resolution: {integrity: sha512-0a5EOkAUp8D4moMi2W8ZF8jcga7BgZd91O/yabJCFY8az+XSzeGyTKs0Aoo897iV1Nj6guFq8orWDS96z91oGg==} @@ -32196,7 +30820,7 @@ packages: chalk: 4.1.2 enhanced-resolve: 5.12.0 micromatch: 4.0.5 - semver: 7.3.7 + semver: 7.6.0 typescript: 5.3.3 webpack: 5.89.0(esbuild@0.17.19) dev: false @@ -32367,10 +30991,6 @@ packages: fsevents: 2.3.3 dev: true - /tty-browserify@0.0.0: - resolution: {integrity: sha512-JVa5ijo+j/sOoHGjw0sxw734b1LhBkQ3bvUGNdxnVXDCX81Yx7TFgnZygxrIIWn23hbfTaMYLwRmAxFyDuFmIw==} - dev: false - /tty-browserify@0.0.1: resolution: {integrity: sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw==} dev: false @@ -32783,13 +31403,13 @@ packages: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} - /unplugin@1.6.0: - resolution: {integrity: sha512-BfJEpWBu3aE/AyHx8VaNE/WgouoQxgH9baAiH82JjX8cqVyi3uJQstqwD5J+SZxIK326SZIhsSZlALXVBCknTQ==} + /unplugin@1.5.0: + resolution: {integrity: sha512-9ZdRwbh/4gcm1JTOkp9lAkIDrtOyOxgHmY7cjuwI8L/2RTikMcVG25GsZwNAgRuap3iDw2jeq7eoqtAsz5rW3A==} dependencies: acorn: 8.11.2 chokidar: 3.5.3 webpack-sources: 3.2.3 - webpack-virtual-modules: 0.6.1 + webpack-virtual-modules: 0.5.0 /untildify@4.0.0: resolution: {integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==} @@ -32824,23 +31444,6 @@ packages: resolution: {integrity: sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==} dev: true - /url-loader@4.1.1(file-loader@6.2.0)(webpack@5.89.0): - resolution: {integrity: sha512-3BTV812+AVHHOJQO8O5MkWgZ5aosP7GnROJwvzLS9hWDj00lZ6Z0wNak423Lp9PBZN05N+Jk/N5Si8jRAlGyWA==} - engines: {node: '>= 10.13.0'} - peerDependencies: - file-loader: '*' - webpack: ^4.0.0 || ^5.0.0 - peerDependenciesMeta: - file-loader: - optional: true - dependencies: - file-loader: 6.2.0(webpack@5.89.0) - loader-utils: 2.0.4 - mime-types: 2.1.35 - schema-utils: 3.3.0 - webpack: 5.89.0(esbuild@0.17.19) - dev: true - /url-parse@1.5.10: resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} dependencies: @@ -32958,18 +31561,6 @@ packages: /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - /util@0.10.3: - resolution: {integrity: sha512-5KiHfsmkqacuKjkRkdV7SsfDJ2EGiPsK92s2MhNSY0craxjTdKTtqKsJaCWp4LW33ZZ0OPUv1WO/TFvNQRiQxQ==} - dependencies: - inherits: 2.0.1 - dev: false - - /util@0.11.1: - resolution: {integrity: sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==} - dependencies: - inherits: 2.0.3 - dev: false - /util@0.12.4: resolution: {integrity: sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==} dependencies: @@ -32991,6 +31582,7 @@ packages: /utila@0.4.0: resolution: {integrity: sha512-Z0DbgELS9/L/75wZbro8xAnT50pBVFQZ+hUEueGDU5FN51YSCYM+jdxsfCiHjwNP/4LCDD0i/graKpeBnOXKRA==} + dev: false /utils-merge@1.0.1: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} @@ -33111,7 +31703,7 @@ packages: hasBin: true dependencies: cac: 6.7.14 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) mlly: 1.4.0 pathe: 1.1.1 picocolors: 1.0.0 @@ -33207,7 +31799,7 @@ packages: acorn-walk: 8.3.1 cac: 6.7.14 chai: 4.3.7 - debug: 4.3.4(supports-color@9.3.1) + debug: 4.3.4(supports-color@5.5.0) local-pkg: 0.4.3 magic-string: 0.30.5 pathe: 1.1.1 @@ -33236,6 +31828,7 @@ packages: /void-elements@3.1.0: resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==} engines: {node: '>=0.10.0'} + dev: false /vue@3.3.4: resolution: {integrity: sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==} @@ -33284,6 +31877,7 @@ packages: resolution: {integrity: sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==} dependencies: loose-envify: 1.4.0 + dev: false /watchpack@2.4.0: resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==} @@ -33335,50 +31929,6 @@ packages: javascript-stringify: 2.1.0 dev: true - /webpack-bundle-analyzer@4.9.1: - resolution: {integrity: sha512-jnd6EoYrf9yMxCyYDPj8eutJvtjQNp8PHmni/e/ulydHBWhT5J3menXt3HEkScsu9YqMAcG4CfFjs3rj5pVU1w==} - engines: {node: '>= 10.13.0'} - hasBin: true - dependencies: - '@discoveryjs/json-ext': 0.5.7 - acorn: 8.11.2 - acorn-walk: 8.3.1 - commander: 7.2.0 - escape-string-regexp: 4.0.0 - gzip-size: 6.0.0 - is-plain-object: 5.0.0 - lodash.debounce: 4.0.8 - lodash.escape: 4.0.1 - lodash.flatten: 4.4.0 - lodash.invokemap: 4.6.0 - lodash.pullall: 4.2.0 - lodash.uniqby: 4.7.0 - opener: 1.5.2 - picocolors: 1.0.0 - sirv: 2.0.3 - ws: 7.5.8 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - dev: true - - /webpack-dev-middleware@6.1.1(webpack@5.89.0): - resolution: {integrity: sha512-y51HrHaFeeWir0YO4f0g+9GwZawuigzcAdRNon6jErXy/SqV/+O6eaVAzDqE6t3e3NpGeR5CS+cCDaTC+V3yEQ==} - engines: {node: '>= 14.15.0'} - peerDependencies: - webpack: ^5.0.0 - peerDependenciesMeta: - webpack: - optional: true - dependencies: - colorette: 2.0.20 - memfs: 3.5.1 - mime-types: 2.1.35 - range-parser: 1.2.1 - schema-utils: 4.2.0 - webpack: 5.89.0(esbuild@0.17.19) - dev: true - /webpack-hot-middleware@2.25.4: resolution: {integrity: sha512-IRmTspuHM06aZh98OhBJtqLpeWFM8FXJS5UYpKYxCJzyFoyWj1w6VGFfomZU7OPA55dMLrQK0pRT1eQ3PACr4w==} dependencies: @@ -33396,21 +31946,7 @@ packages: tapable: 2.2.1 webpack: 5.89.0(esbuild@0.17.19) webpack-sources: 2.3.1 - - /webpack-merge@5.8.0: - resolution: {integrity: sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==} - engines: {node: '>=10.0.0'} - dependencies: - clone-deep: 4.0.1 - wildcard: 2.0.0 - dev: true - - /webpack-sources@1.4.3: - resolution: {integrity: sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==} - dependencies: - source-list-map: 2.0.1 - source-map: 0.6.1 - dev: true + dev: false /webpack-sources@2.3.1: resolution: {integrity: sha512-y9EI9AO42JjEcrTJFOYmVywVZdKVUfOvDUPsJea5GIr1JOEGFVqwlY2K098fFoIjOkDzHn2AjRvM8dsBZu+gCA==} @@ -33418,6 +31954,7 @@ packages: dependencies: source-list-map: 2.0.1 source-map: 0.6.1 + dev: false /webpack-sources@3.2.3: resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==} @@ -33438,48 +31975,8 @@ packages: webpack: 5.89.0(esbuild@0.17.19) dev: false - /webpack-virtual-modules@0.6.1: - resolution: {integrity: sha512-poXpCylU7ExuvZK8z+On3kX+S8o/2dQ/SVYueKA0D4WEMXROXgY8Ez50/bQEUmvoSMMrWcrJqCHuhAbsiwg7Dg==} - - /webpack@5.89.0(@swc/core@1.3.42)(esbuild@0.17.19): - resolution: {integrity: sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==} - engines: {node: '>=10.13.0'} - hasBin: true - peerDependencies: - webpack-cli: '*' - peerDependenciesMeta: - webpack-cli: - optional: true - dependencies: - '@types/eslint-scope': 3.7.3 - '@types/estree': 1.0.0 - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/wasm-edit': 1.11.6 - '@webassemblyjs/wasm-parser': 1.11.6 - acorn: 8.11.2 - acorn-import-assertions: 1.9.0(acorn@8.11.2) - browserslist: 4.20.2 - chrome-trace-event: 1.0.3 - enhanced-resolve: 5.15.0 - es-module-lexer: 1.2.1 - eslint-scope: 5.1.1 - events: 3.3.0 - glob-to-regexp: 0.4.1 - graceful-fs: 4.2.11 - json-parse-even-better-errors: 2.3.1 - loader-runner: 4.3.0 - mime-types: 2.1.35 - neo-async: 2.6.2 - schema-utils: 3.3.0 - tapable: 2.2.1 - terser-webpack-plugin: 5.3.9(@swc/core@1.3.42)(esbuild@0.17.19)(webpack@5.89.0) - watchpack: 2.4.0 - webpack-sources: 3.2.3 - transitivePeerDependencies: - - '@swc/core' - - esbuild - - uglify-js - dev: true + /webpack-virtual-modules@0.5.0: + resolution: {integrity: sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==} /webpack@5.89.0(esbuild@0.17.19): resolution: {integrity: sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==} @@ -33708,10 +32205,6 @@ packages: resolution: {integrity: sha512-Ba9tGNYxXwaqKEi9sJJvPMKuo063umUPsHN0JJsjrs2j8KDSzkWLMZGZ+MH1Jf1Fq4OWZ5HsESJID6nRza2ang==} dev: false - /wildcard@2.0.0: - resolution: {integrity: sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==} - dev: true - /window-size@0.1.0: resolution: {integrity: sha512-1pTPQDKTdd61ozlKGNCjhNRd+KPmgLSGa3mZTHoOliaGcESD8G1PXhh7c1fgiPjVbNVfgy2Faw4BI8/m0cC8Mg==} engines: {node: '>= 0.8.0'} @@ -33731,6 +32224,7 @@ packages: '@babel/types': 7.23.6 assert-never: 1.2.1 babel-walk: 3.0.0-canary-5 + dev: false /word-wrap@1.2.3: resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==} @@ -33815,19 +32309,6 @@ packages: async-limiter: 1.0.1 dev: false - /ws@7.5.8: - resolution: {integrity: sha512-ri1Id1WinAX5Jqn9HejiGb8crfRio0Qgu8+MtL36rlTA6RLsMdWt1Az/19A2Qij6uSHUMphEFaTKa4WG+UNHNw==} - engines: {node: '>=8.3.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - dev: true - /ws@8.13.0: resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==} engines: {node: '>=10.0.0'} @@ -33899,18 +32380,10 @@ packages: js-yaml: 3.14.1 dev: true - /yaml-loader@0.8.0: - resolution: {integrity: sha512-LjeKnTzVBKWiQBeE2L9ssl6WprqaUIxCSNs5tle8PaDydgu3wVFXTbMfsvF2MSErpy9TDVa092n4q6adYwJaWg==} - engines: {node: '>= 12.13'} - dependencies: - javascript-stringify: 2.1.0 - loader-utils: 2.0.4 - yaml: 2.2.1 - dev: true - /yaml@1.10.2: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} + dev: false /yaml@2.2.1: resolution: {integrity: sha512-e0WHiYql7+9wr4cWMx3TVQrNwejKaEe7/rHNmQmqRjazfOP5W8PB6Jpebb5o6fIapbz9o9+2ipcaTM2ZwDI6lw==} @@ -34016,15 +32489,6 @@ packages: commander: 2.20.3 dev: false - /zod-validation-error@1.2.0(zod@3.22.3): - resolution: {integrity: sha512-laJkD/ugwEh8CpuH+xXv5L9Z+RLz3lH8alNxolfaHZJck611OJj97R4Rb+ZqA7WNly2kNtTo4QwjdjXw9scpiw==} - engines: {node: ^14.17 || >=16.0.0} - peerDependencies: - zod: ^3.18.0 - dependencies: - zod: 3.22.3 - dev: false - /zod-validation-error@1.3.1(zod@3.22.3): resolution: {integrity: sha512-cNEXpla+tREtNdAnNKY4xKY1SGOn2yzyuZMu4O0RQylX9apRpUjNcPkEc3uHIAr5Ct7LenjZt6RzjEH6+JsqVQ==} engines: {node: '>=16.0.0'} diff --git a/scripts/prebundle/package.json b/scripts/prebundle/package.json index 86f7b8b2788b..083413827832 100644 --- a/scripts/prebundle/package.json +++ b/scripts/prebundle/package.json @@ -34,34 +34,20 @@ "@types/mime-types": "2.1.1", "@types/minimist": "1.2.2", "@types/normalize-path": "3.0.0", - "@types/pug": "2.0.6", - "@types/sass-loader": "8.0.3", "@types/semver": "7.3.9", - "@types/serialize-javascript": "^5.0.1", "@types/signal-exit": "3.0.1", "@types/signale": "1.4.4", "@types/url-join": "4.0.1", - "@types/webpack-bundle-analyzer": "4.6.0", "address": "1.1.2", - "ansi-escapes": "4.3.2", - "autoprefixer": "10.4.13", - "babel-loader": "9.1.3", - "babel-plugin-lodash": "3.3.4", - "babel-plugin-transform-react-remove-prop-types": "0.4.24", "browserslist": "4.20.2", "chalk": "4.1.2", "chokidar": "3.5.3", - "cli-truncate": "2.1.0", "commander": "10.0.0", - "copy-webpack-plugin": "9.1.0", - "css-loader": "6.7.1", "debug": "4.3.4", "dotenv": "10.0.0", "dotenv-expand": "5.1.0", - "esbuild-loader": "2.21.0", "execa": "5.1.1", "fast-glob": "3.2.11", - "file-loader": "6.2.0", "filesize": "8.0.7", "find-up": "5.0.0", "fs-extra": "10.0.1", @@ -73,64 +59,38 @@ "js-yaml": "4.1.0", "json5": "2.2.3", "less": "4.1.3", - "less-loader": "11.0.0", - "loader-utils2": "npm:loader-utils@2.0.4", "mime-types": "2.1.35", "minimist": "1.2.6", "nanoid": "3.3.4", "normalize-path": "3.0.0", - "node-loader": "2.0.0", - "open": "^8.4.0", "ora": "5.4.1", - "resolve-url-loader": "5.0.0", "p-map": "4.0.0", - "patch-console": "1.0.0", "pkg-up": "3.1.0", - "icss-utils": "5.1.0", - "postcss-modules-extract-imports": "3.0.0", - "postcss-modules-local-by-default": "4.0.0", - "postcss-modules-scope": "3.0.0", - "postcss-modules-values": "4.0.0", "postcss-custom-properties": "13.1.5", "postcss-flexbugs-fixes": "5.0.2", "postcss-font-variant": "5.0.0", "postcss-initial": "4.0.1", - "postcss-loader": "7.0.2", "postcss-media-minmax": "5.0.0", "postcss-nesting": "12.0.1", "postcss-page-break": "3.0.4", - "postcss-pxtorem": "6.0.0", "postcss-value-parser": "4.2.0", - "pretty-time": "1.1.0", - "pug": "3.0.2", "react": "^18", "react-dom": "^18", "react-is": "^18", "rollup": "^3.29.4", "rollup-plugin-dts": "6.1.0", "sass": "1.54.4", - "sass-loader": "13.0.2", "schema-utils3": "npm:schema-utils@3.1.1", "semver": "7.6.0", - "serialize-javascript": "^6.0.0", "signal-exit": "3.0.7", "signale": "1.4.0", "slash": "3.0.0", "strip-ansi": "6.0.1", "styled-components": "^5.3.1", - "tapable": "2.2.1", - "toml-loader": "1.0.0", "tsconfig-paths": "4.1.1", "upath": "2.0.1", "url-join": "4.0.1", - "url-loader": "4.1.1", "v8-compile-cache": "2.3.0", - "webpack-chain": "npm:webpack-5-chain@8.0.1", - "webpack-bundle-analyzer": "4.9.1", - "webpack-dev-middleware": "6.1.1", - "webpack-manifest-plugin": "5.0.0", - "webpack-merge": "5.8.0", - "webpack-sources": "3.2.3", - "yaml-loader": "0.8.0" + "webpack-chain": "npm:webpack-5-chain@8.0.1" } } diff --git a/scripts/prebundle/src/constant.ts b/scripts/prebundle/src/constant.ts index 779fbda59fcb..0e72643dc67d 100644 --- a/scripts/prebundle/src/constant.ts +++ b/scripts/prebundle/src/constant.ts @@ -1,4 +1,4 @@ -import { basename, join } from 'path'; +import { join } from 'path'; import glob from 'fast-glob'; import { copyFileSync, copySync } from 'fs-extra'; import { replaceFileContent } from './helper'; @@ -132,324 +132,6 @@ export const TASKS: TaskConfig[] = [ }, ], }, - { - packageDir: 'builder/builder-shared', - packageName: '@modern-js/builder-shared', - dependencies: [ - 'open', - 'webpack-merge', - 'serialize-javascript', - { - name: 'pretty-time', - ignoreDts: true, - }, - { - name: 'postcss-modules-local-by-default', - ignoreDts: true, - }, - { - name: 'postcss-modules-extract-imports', - ignoreDts: true, - }, - { - name: 'postcss-modules-scope', - ignoreDts: true, - }, - { - name: 'postcss-modules-values', - ignoreDts: true, - }, - { - name: 'icss-utils', - ignoreDts: true, - }, - { - name: 'css-loader', - ignoreDts: true, - externals: { - 'postcss-modules-local-by-default': - '../postcss-modules-local-by-default', - 'postcss-modules-extract-imports': - '../postcss-modules-extract-imports', - 'postcss-modules-scope': '../postcss-modules-scope', - 'postcss-modules-values': '../postcss-modules-values', - 'icss-utils': '../icss-utils', - }, - }, - { - name: 'webpack-bundle-analyzer', - externals: { - acorn: 'acorn', - commander: '@modern-js/utils/commander', - 'gzip-size': '@modern-js/utils/gzip-size', - }, - }, - { - name: 'postcss-pxtorem', - ignoreDts: true, - }, - { - name: 'postcss-loader', - ignoreDts: true, - }, - { - name: 'postcss-value-parser', - ignoreDts: true, - }, - { - name: 'postcss-custom-properties', - ignoreDts: true, - externals: { - 'postcss-value-parser': '../postcss-value-parser', - }, - }, - { - name: 'postcss-flexbugs-fixes', - ignoreDts: true, - }, - { - name: 'postcss-font-variant', - ignoreDts: true, - }, - { - name: 'postcss-initial', - ignoreDts: true, - }, - { - name: 'postcss-media-minmax', - ignoreDts: true, - }, - { - name: 'postcss-nesting', - ignoreDts: true, - }, - { - name: 'postcss-page-break', - ignoreDts: true, - }, - { - name: 'autoprefixer', - ignoreDts: true, - externals: { - browserslist: '@modern-js/utils/browserslist', - 'postcss-value-parser': '../postcss-value-parser', - }, - }, - { - name: 'less', - externals: { - // needle is an optional dependency and no need to bundle it. - needle: 'needle', - }, - afterBundle(task) { - replaceFileContent(join(task.distPath, 'index.d.ts'), content => - content.replace( - `declare module "less" {\n export = less;\n}`, - `export = Less;`, - ), - ); - }, - }, - { - name: 'less-loader', - ignoreDts: true, - externals: { - less: '../less', - }, - }, - { - name: 'sass', - externals: { - chokidar: '@modern-js/utils/chokidar', - }, - afterBundle(task) { - copySync(join(task.depPath, 'types'), join(task.distPath, 'types')); - }, - }, - { - name: 'sass-loader', - externals: { - sass: '../sass', - }, - }, - { - name: 'resolve-url-loader', - ignoreDts: true, - externals: { - 'loader-utils': '../loader-utils2', - }, - }, - { - name: 'toml-loader', - ignoreDts: true, - }, - { - name: 'babel-loader', - ignoreDts: true, - }, - { - name: 'loader-utils2', - ignoreDts: true, - externals: { - json5: '@modern-js/utils/json5', - }, - }, - { - name: 'yaml-loader', - ignoreDts: true, - externals: { - 'loader-utils': '../loader-utils2', - }, - }, - { - name: 'node-loader', - ignoreDts: true, - externals: { - 'loader-utils': '../loader-utils2', - }, - }, - { - name: 'schema-utils3', - ignoreDts: true, - }, - { - name: 'url-loader', - ignoreDts: true, - externals: { - 'schema-utils': '../schema-utils3', - 'loader-utils': '../loader-utils2', - 'mime-types': '@modern-js/utils/mime-types', - }, - afterBundle(task) { - replaceFileContent(join(task.distPath, 'index.js'), content => { - // using prebunled file-loader - return content.replace( - '"file-loader"', - 'require.resolve("../file-loader")', - ); - }); - }, - }, - { - name: 'file-loader', - ignoreDts: true, - externals: { - 'schema-utils': '../schema-utils3', - 'loader-utils': '../loader-utils2', - }, - }, - { - name: 'pug', - afterBundle(task) { - replaceFileContent( - join(task.distPath, 'index.d.ts'), - content => - `${content.replace( - "declare module 'pug'", - 'declare namespace pug', - )}\nexport = pug;`, - ); - }, - }, - { - name: 'webpack-dev-middleware', - externals: { - 'schema-utils': '../schema-utils3', - 'schema-utils/declarations/validate': - 'schema-utils/declarations/validate', - 'mime-types': '@modern-js/utils/mime-types', - }, - }, - ], - }, - { - packageDir: 'builder/builder-webpack-provider', - packageName: '@modern-js/builder-webpack-provider', - dependencies: [ - 'tapable', - 'ansi-escapes', - 'patch-console', - 'cli-truncate', - { - name: 'webpack-sources', - ignoreDts: true, - }, - { - name: 'schema-utils3', - ignoreDts: true, - }, - { - name: 'babel-plugin-transform-react-remove-prop-types', - ignoreDts: true, - }, - { - name: 'babel-plugin-lodash', - ignoreDts: true, - externals: { - glob: '@modern-js/utils/glob', - }, - // Fix the deprecated babel API - // https://github.com/lodash/babel-plugin-lodash/issues/259 - // https://github.com/lodash/babel-plugin-lodash/pull/261 - beforeBundle(task) { - const mainFile = join(task.depPath, 'lib/index.js'); - replaceFileContent(mainFile, content => { - return content.replace( - '(0, _types.isModuleDeclaration)(node)', - '(0, _types.isImportDeclaration)(node) || (0, _types.isExportDeclaration)(node)', - ); - }); - }, - }, - { - name: 'copy-webpack-plugin', - ignoreDts: true, - externals: { - globby: '@modern-js/utils/globby', - 'fast-glob': '@modern-js/utils/fast-glob', - 'schema-utils': '../schema-utils3', - }, - }, - { - name: 'webpack-manifest-plugin', - externals: { - tapable: '../tapable', - 'webpack-sources': '../webpack-sources', - }, - beforeBundle() { - const pkgPath = require.resolve( - 'webpack-manifest-plugin/package.json', - ); - replaceFileContent(pkgPath, content => { - const json = JSON.parse(content); - json.types = 'dist/index.d.ts'; - return JSON.stringify(json); - }); - }, - }, - ], - }, - { - packageDir: 'builder/plugin-esbuild', - packageName: '@modern-js/builder-plugin-esbuild', - dependencies: [ - { - name: 'esbuild-loader', - ignoreDts: true, - externals: { - '/^webpack(/.*)/': '@modern-js/builder-webpack-provider/webpack$1', - }, - afterBundle(task) { - const dtsFiles = glob.sync(join(task.depPath, 'dist', '*.d.ts'), { - ignore: ['**/__tests__/**'], - }); - dtsFiles.forEach(file => { - copyFileSync(file, join(task.distPath, basename(file))); - }); - }, - }, - ], - }, { // Todo: rename packageDir: 'solutions/module-tools', diff --git a/tests/integration/storybook/modern.config.ts b/tests/integration/storybook/modern.config.ts index b46751beb142..65aba85864f8 100644 --- a/tests/integration/storybook/modern.config.ts +++ b/tests/integration/storybook/modern.config.ts @@ -1,6 +1,5 @@ import path from 'path'; import { defineConfig } from '@modern-js/storybook'; -// import { builderPluginSwc } from '@modern-js/builder-plugin-swc'; export default defineConfig({ output: {}, @@ -10,5 +9,4 @@ export default defineConfig({ 'react-dom': path.dirname(require.resolve('react-dom/package.json')), }, }, - // builderPlugins: [builderPluginSwc()], }); diff --git a/tests/integration/storybook/package.json b/tests/integration/storybook/package.json index f7b8a8fbfc93..e9aab830984b 100644 --- a/tests/integration/storybook/package.json +++ b/tests/integration/storybook/package.json @@ -12,8 +12,6 @@ }, "devDependencies": { "@storybook/addon-essentials": "~7.6.1", - "@modern-js/builder-rspack-provider": "workspace:*", - "@modern-js/builder-webpack-provider": "workspace:*", "@modern-js/storybook": "workspace:*", "@types/react": "^18", "@types/react-dom": "^18", diff --git a/tests/jest-ut.config.js b/tests/jest-ut.config.js index 042808b42c8c..b59a4c3bce96 100644 --- a/tests/jest-ut.config.js +++ b/tests/jest-ut.config.js @@ -35,7 +35,7 @@ module.exports = { '/packages/**/tests/**/*.test.[jt]s?(x)', ], modulePathIgnorePatterns: [ - '/packages/builder/', + '/packages/cli/uni-builder/', '/packages/toolkit/e2e/', '/packages/solutions/module-tools/compiled/', '/packages/toolkit/utils/compiled/', @@ -43,7 +43,7 @@ module.exports = { '/.nx', ], testPathIgnorePatterns: [ - '/packages/builder/', + '/packages/uni-builder/', '/packages/toolkit/e2e/', ], };