From c40d6638f77b76146b8bdb54c2de82ac606faeef Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 8 Nov 2021 20:14:59 -0500 Subject: [PATCH] Better support M1 users (#117766) (#117956) Co-authored-by: spalger Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Spencer Co-authored-by: spalger --- package.json | 3 +- packages/kbn-pm/dist/index.js | 1435 +++++++++-------- packages/kbn-pm/src/commands/index.ts | 2 + .../src/commands/patch_native_modules.ts | 68 + 4 files changed, 831 insertions(+), 677 deletions(-) create mode 100644 packages/kbn-pm/src/commands/patch_native_modules.ts diff --git a/package.json b/package.json index fa0efcbe09b39..db5555acae5ca 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,8 @@ "backport-skip-ci": "backport --prDescription \"[skip-ci]\"", "storybook": "node scripts/storybook", "cover:report": "nyc report --temp-dir target/kibana-coverage/functional --report-dir target/coverage/report --reporter=lcov && open ./target/coverage/report/lcov-report/index.html", - "cover:functional:merge": "nyc report --temp-dir target/kibana-coverage/functional --report-dir target/coverage/report/functional --reporter=json-summary" + "cover:functional:merge": "nyc report --temp-dir target/kibana-coverage/functional --report-dir target/coverage/report/functional --reporter=json-summary", + "postinstall": "node scripts/kbn patch_native_modules" }, "repository": { "type": "git", diff --git a/packages/kbn-pm/dist/index.js b/packages/kbn-pm/dist/index.js index d2c067759e25f..49729eee0aa1e 100644 --- a/packages/kbn-pm/dist/index.js +++ b/packages/kbn-pm/dist/index.js @@ -94,7 +94,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _cli__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "run", function() { return _cli__WEBPACK_IMPORTED_MODULE_0__["run"]; }); -/* harmony import */ var _production__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(560); +/* harmony import */ var _production__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(561); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "buildBazelProductionProjects", function() { return _production__WEBPACK_IMPORTED_MODULE_1__["buildBazelProductionProjects"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "buildNonBazelProductionProjects", function() { return _production__WEBPACK_IMPORTED_MODULE_1__["buildNonBazelProductionProjects"]; }); @@ -108,7 +108,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _utils_package_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(349); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "transformDependencies", function() { return _utils_package_json__WEBPACK_IMPORTED_MODULE_4__["transformDependencies"]; }); -/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(559); +/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(560); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getProjectPaths", function() { return _config__WEBPACK_IMPORTED_MODULE_5__["getProjectPaths"]; }); /* @@ -141,7 +141,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _kbn_dev_utils_tooling_log__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5); /* harmony import */ var _kbn_dev_utils_tooling_log__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_kbn_dev_utils_tooling_log__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _commands__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(129); -/* harmony import */ var _run__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(554); +/* harmony import */ var _run__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(555); /* harmony import */ var _utils_log__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(220); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one @@ -8816,6 +8816,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _reset__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(550); /* harmony import */ var _run__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(551); /* harmony import */ var _watch__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(553); +/* harmony import */ var _patch_native_modules__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(554); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License @@ -8829,13 +8830,15 @@ __webpack_require__.r(__webpack_exports__); + const commands = { bootstrap: _bootstrap__WEBPACK_IMPORTED_MODULE_0__["BootstrapCommand"], build: _build__WEBPACK_IMPORTED_MODULE_1__["BuildCommand"], clean: _clean__WEBPACK_IMPORTED_MODULE_2__["CleanCommand"], reset: _reset__WEBPACK_IMPORTED_MODULE_3__["ResetCommand"], run: _run__WEBPACK_IMPORTED_MODULE_4__["RunCommand"], - watch: _watch__WEBPACK_IMPORTED_MODULE_5__["WatchCommand"] + watch: _watch__WEBPACK_IMPORTED_MODULE_5__["WatchCommand"], + patch_native_modules: _patch_native_modules__WEBPACK_IMPORTED_MODULE_6__["PatchNativeModulesCommand"] }; /***/ }), @@ -62929,6 +62932,86 @@ const WatchCommand = { /* 554 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PatchNativeModulesCommand", function() { return PatchNativeModulesCommand; }); +/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); +/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(132); +/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _kbn_dev_utils_ci_stats_reporter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(131); +/* harmony import */ var _kbn_dev_utils_ci_stats_reporter__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_kbn_dev_utils_ci_stats_reporter__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _utils_log__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(220); +/* harmony import */ var _utils_child_process__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(221); +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + + + + + +const PatchNativeModulesCommand = { + description: 'Patch native modules by running build commands on M1 Macs', + name: 'patch_native_modules', + + async run(projects, _, { + kbn + }) { + var _projects$get; + + const kibanaProjectPath = ((_projects$get = projects.get('kibana')) === null || _projects$get === void 0 ? void 0 : _projects$get.path) || ''; + const reporter = _kbn_dev_utils_ci_stats_reporter__WEBPACK_IMPORTED_MODULE_2__["CiStatsReporter"].fromEnv(_utils_log__WEBPACK_IMPORTED_MODULE_3__["log"]); + + if (process.platform !== 'darwin' || process.arch !== 'arm64') { + return; + } + + const startTime = Date.now(); + const nodeSassDir = path__WEBPACK_IMPORTED_MODULE_0___default.a.resolve(kibanaProjectPath, 'node_modules/node-sass'); + const nodeSassNativeDist = path__WEBPACK_IMPORTED_MODULE_0___default.a.resolve(nodeSassDir, `vendor/darwin-arm64-${process.versions.modules}/binding.node`); + + if (!fs__WEBPACK_IMPORTED_MODULE_1___default.a.existsSync(nodeSassNativeDist)) { + _utils_log__WEBPACK_IMPORTED_MODULE_3__["log"].info('Running build script for node-sass'); + await Object(_utils_child_process__WEBPACK_IMPORTED_MODULE_4__["spawn"])('npm', ['run', 'build'], { + cwd: nodeSassDir + }); + } + + const re2Dir = path__WEBPACK_IMPORTED_MODULE_0___default.a.resolve(kibanaProjectPath, 'node_modules/re2'); + const re2NativeDist = path__WEBPACK_IMPORTED_MODULE_0___default.a.resolve(re2Dir, 'build/Release/re2.node'); + + if (!fs__WEBPACK_IMPORTED_MODULE_1___default.a.existsSync(re2NativeDist)) { + _utils_log__WEBPACK_IMPORTED_MODULE_3__["log"].info('Running build script for re2'); + await Object(_utils_child_process__WEBPACK_IMPORTED_MODULE_4__["spawn"])('npm', ['run', 'rebuild'], { + cwd: re2Dir + }); + } + + _utils_log__WEBPACK_IMPORTED_MODULE_3__["log"].success('native modules should be setup for native ARM Mac development'); // send timings + + await reporter.timings({ + upstreamBranch: kbn.kibanaProject.json.branch, + // prevent loading @kbn/utils by passing null + kibanaUuid: kbn.getUuid() || null, + timings: [{ + group: 'scripts/kbn bootstrap', + id: 'patch native modudles for arm macs', + ms: Date.now() - startTime + }] + }); + } + +}; + +/***/ }), +/* 555 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "runCommand", function() { return runCommand; }); @@ -62938,7 +63021,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _utils_log__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(220); /* harmony import */ var _utils_projects__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(346); /* harmony import */ var _utils_projects_tree__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(418); -/* harmony import */ var _utils_kibana__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(555); +/* harmony import */ var _utils_kibana__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(556); function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } @@ -63057,7 +63140,7 @@ function toArray(value) { } /***/ }), -/* 555 */ +/* 556 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -63067,13 +63150,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(132); /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var multimatch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(556); +/* harmony import */ var multimatch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(557); /* harmony import */ var multimatch__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(multimatch__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var is_path_inside__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(339); /* harmony import */ var is_path_inside__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(is_path_inside__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _yarn_lock__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(414); /* harmony import */ var _projects__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(346); -/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(559); +/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(560); function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } @@ -63237,15 +63320,15 @@ class Kibana { } /***/ }), -/* 556 */ +/* 557 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; const minimatch = __webpack_require__(247); const arrayUnion = __webpack_require__(242); -const arrayDiffer = __webpack_require__(557); -const arrify = __webpack_require__(558); +const arrayDiffer = __webpack_require__(558); +const arrify = __webpack_require__(559); module.exports = (list, patterns, options = {}) => { list = arrify(list); @@ -63269,7 +63352,7 @@ module.exports = (list, patterns, options = {}) => { /***/ }), -/* 557 */ +/* 558 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -63284,7 +63367,7 @@ module.exports = arrayDiffer; /***/ }), -/* 558 */ +/* 559 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -63314,7 +63397,7 @@ module.exports = arrify; /***/ }), -/* 559 */ +/* 560 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -63374,15 +63457,15 @@ function getProjectPaths({ } /***/ }), -/* 560 */ +/* 561 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); -/* harmony import */ var _build_bazel_production_projects__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(561); +/* harmony import */ var _build_bazel_production_projects__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(562); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "buildBazelProductionProjects", function() { return _build_bazel_production_projects__WEBPACK_IMPORTED_MODULE_0__["buildBazelProductionProjects"]; }); -/* harmony import */ var _build_non_bazel_production_projects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(808); +/* harmony import */ var _build_non_bazel_production_projects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(809); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "buildNonBazelProductionProjects", function() { return _build_non_bazel_production_projects__WEBPACK_IMPORTED_MODULE_1__["buildNonBazelProductionProjects"]; }); /* @@ -63396,19 +63479,19 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/* 561 */ +/* 562 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "buildBazelProductionProjects", function() { return buildBazelProductionProjects; }); -/* harmony import */ var cpy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(562); +/* harmony import */ var cpy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(563); /* harmony import */ var cpy__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cpy__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var globby__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(774); +/* harmony import */ var globby__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(775); /* harmony import */ var globby__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(globby__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4); /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _build_non_bazel_production_projects__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(808); +/* harmony import */ var _build_non_bazel_production_projects__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(809); /* harmony import */ var _utils_bazel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(419); /* harmony import */ var _utils_fs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(231); /* harmony import */ var _utils_log__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(220); @@ -63503,7 +63586,7 @@ async function applyCorrectPermissions(project, kibanaRoot, buildRoot) { } /***/ }), -/* 562 */ +/* 563 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -63511,14 +63594,14 @@ async function applyCorrectPermissions(project, kibanaRoot, buildRoot) { const EventEmitter = __webpack_require__(164); const path = __webpack_require__(4); const os = __webpack_require__(122); -const pMap = __webpack_require__(563); -const arrify = __webpack_require__(558); -const globby = __webpack_require__(566); -const hasGlob = __webpack_require__(758); -const cpFile = __webpack_require__(760); -const junk = __webpack_require__(770); -const pFilter = __webpack_require__(771); -const CpyError = __webpack_require__(773); +const pMap = __webpack_require__(564); +const arrify = __webpack_require__(559); +const globby = __webpack_require__(567); +const hasGlob = __webpack_require__(759); +const cpFile = __webpack_require__(761); +const junk = __webpack_require__(771); +const pFilter = __webpack_require__(772); +const CpyError = __webpack_require__(774); const defaultOptions = { ignoreJunk: true @@ -63669,12 +63752,12 @@ module.exports = (source, destination, { /***/ }), -/* 563 */ +/* 564 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -const AggregateError = __webpack_require__(564); +const AggregateError = __webpack_require__(565); module.exports = async ( iterable, @@ -63757,12 +63840,12 @@ module.exports = async ( /***/ }), -/* 564 */ +/* 565 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -const indentString = __webpack_require__(565); +const indentString = __webpack_require__(566); const cleanStack = __webpack_require__(344); const cleanInternalStack = stack => stack.replace(/\s+at .*aggregate-error\/index.js:\d+:\d+\)?/g, ''); @@ -63811,7 +63894,7 @@ module.exports = AggregateError; /***/ }), -/* 565 */ +/* 566 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -63853,17 +63936,17 @@ module.exports = (string, count = 1, options) => { /***/ }), -/* 566 */ +/* 567 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; const fs = __webpack_require__(132); -const arrayUnion = __webpack_require__(567); +const arrayUnion = __webpack_require__(568); const glob = __webpack_require__(244); -const fastGlob = __webpack_require__(569); -const dirGlob = __webpack_require__(752); -const gitignore = __webpack_require__(755); +const fastGlob = __webpack_require__(570); +const dirGlob = __webpack_require__(753); +const gitignore = __webpack_require__(756); const DEFAULT_FILTER = () => false; @@ -64008,12 +64091,12 @@ module.exports.gitignore = gitignore; /***/ }), -/* 567 */ +/* 568 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var arrayUniq = __webpack_require__(568); +var arrayUniq = __webpack_require__(569); module.exports = function () { return arrayUniq([].concat.apply([], arguments)); @@ -64021,7 +64104,7 @@ module.exports = function () { /***/ }), -/* 568 */ +/* 569 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -64090,10 +64173,10 @@ if ('Set' in global) { /***/ }), -/* 569 */ +/* 570 */ /***/ (function(module, exports, __webpack_require__) { -const pkg = __webpack_require__(570); +const pkg = __webpack_require__(571); module.exports = pkg.async; module.exports.default = pkg.async; @@ -64106,19 +64189,19 @@ module.exports.generateTasks = pkg.generateTasks; /***/ }), -/* 570 */ +/* 571 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -var optionsManager = __webpack_require__(571); -var taskManager = __webpack_require__(572); -var reader_async_1 = __webpack_require__(723); -var reader_stream_1 = __webpack_require__(747); -var reader_sync_1 = __webpack_require__(748); -var arrayUtils = __webpack_require__(750); -var streamUtils = __webpack_require__(751); +var optionsManager = __webpack_require__(572); +var taskManager = __webpack_require__(573); +var reader_async_1 = __webpack_require__(724); +var reader_stream_1 = __webpack_require__(748); +var reader_sync_1 = __webpack_require__(749); +var arrayUtils = __webpack_require__(751); +var streamUtils = __webpack_require__(752); /** * Synchronous API. */ @@ -64184,7 +64267,7 @@ function isString(source) { /***/ }), -/* 571 */ +/* 572 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -64222,13 +64305,13 @@ exports.prepare = prepare; /***/ }), -/* 572 */ +/* 573 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -var patternUtils = __webpack_require__(573); +var patternUtils = __webpack_require__(574); /** * Generate tasks based on parent directory of each pattern. */ @@ -64319,16 +64402,16 @@ exports.convertPatternGroupToTask = convertPatternGroupToTask; /***/ }), -/* 573 */ +/* 574 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var path = __webpack_require__(4); -var globParent = __webpack_require__(574); +var globParent = __webpack_require__(575); var isGlob = __webpack_require__(266); -var micromatch = __webpack_require__(577); +var micromatch = __webpack_require__(578); var GLOBSTAR = '**'; /** * Return true for static pattern. @@ -64474,15 +64557,15 @@ exports.matchAny = matchAny; /***/ }), -/* 574 */ +/* 575 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var path = __webpack_require__(4); -var isglob = __webpack_require__(575); -var pathDirname = __webpack_require__(576); +var isglob = __webpack_require__(576); +var pathDirname = __webpack_require__(577); var isWin32 = __webpack_require__(122).platform() === 'win32'; module.exports = function globParent(str) { @@ -64505,7 +64588,7 @@ module.exports = function globParent(str) { /***/ }), -/* 575 */ +/* 576 */ /***/ (function(module, exports, __webpack_require__) { /*! @@ -64536,7 +64619,7 @@ module.exports = function isGlob(str) { /***/ }), -/* 576 */ +/* 577 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -64686,7 +64769,7 @@ module.exports.win32 = win32; /***/ }), -/* 577 */ +/* 578 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -64697,18 +64780,18 @@ module.exports.win32 = win32; */ var util = __webpack_require__(113); -var braces = __webpack_require__(578); -var toRegex = __webpack_require__(579); -var extend = __webpack_require__(691); +var braces = __webpack_require__(579); +var toRegex = __webpack_require__(580); +var extend = __webpack_require__(692); /** * Local dependencies */ -var compilers = __webpack_require__(693); -var parsers = __webpack_require__(719); -var cache = __webpack_require__(720); -var utils = __webpack_require__(721); +var compilers = __webpack_require__(694); +var parsers = __webpack_require__(720); +var cache = __webpack_require__(721); +var utils = __webpack_require__(722); var MAX_LENGTH = 1024 * 64; /** @@ -65570,7 +65653,7 @@ module.exports = micromatch; /***/ }), -/* 578 */ +/* 579 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -65580,18 +65663,18 @@ module.exports = micromatch; * Module dependencies */ -var toRegex = __webpack_require__(579); -var unique = __webpack_require__(599); -var extend = __webpack_require__(600); +var toRegex = __webpack_require__(580); +var unique = __webpack_require__(600); +var extend = __webpack_require__(601); /** * Local dependencies */ -var compilers = __webpack_require__(602); -var parsers = __webpack_require__(617); -var Braces = __webpack_require__(622); -var utils = __webpack_require__(603); +var compilers = __webpack_require__(603); +var parsers = __webpack_require__(618); +var Braces = __webpack_require__(623); +var utils = __webpack_require__(604); var MAX_LENGTH = 1024 * 64; var cache = {}; @@ -65895,16 +65978,16 @@ module.exports = braces; /***/ }), -/* 579 */ +/* 580 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var safe = __webpack_require__(580); -var define = __webpack_require__(586); -var extend = __webpack_require__(592); -var not = __webpack_require__(596); +var safe = __webpack_require__(581); +var define = __webpack_require__(587); +var extend = __webpack_require__(593); +var not = __webpack_require__(597); var MAX_LENGTH = 1024 * 64; /** @@ -66057,10 +66140,10 @@ module.exports.makeRe = makeRe; /***/ }), -/* 580 */ +/* 581 */ /***/ (function(module, exports, __webpack_require__) { -var parse = __webpack_require__(581); +var parse = __webpack_require__(582); var types = parse.types; module.exports = function (re, opts) { @@ -66106,13 +66189,13 @@ function isRegExp (x) { /***/ }), -/* 581 */ +/* 582 */ /***/ (function(module, exports, __webpack_require__) { -var util = __webpack_require__(582); -var types = __webpack_require__(583); -var sets = __webpack_require__(584); -var positions = __webpack_require__(585); +var util = __webpack_require__(583); +var types = __webpack_require__(584); +var sets = __webpack_require__(585); +var positions = __webpack_require__(586); module.exports = function(regexpStr) { @@ -66394,11 +66477,11 @@ module.exports.types = types; /***/ }), -/* 582 */ +/* 583 */ /***/ (function(module, exports, __webpack_require__) { -var types = __webpack_require__(583); -var sets = __webpack_require__(584); +var types = __webpack_require__(584); +var sets = __webpack_require__(585); // All of these are private and only used by randexp. @@ -66511,7 +66594,7 @@ exports.error = function(regexp, msg) { /***/ }), -/* 583 */ +/* 584 */ /***/ (function(module, exports) { module.exports = { @@ -66527,10 +66610,10 @@ module.exports = { /***/ }), -/* 584 */ +/* 585 */ /***/ (function(module, exports, __webpack_require__) { -var types = __webpack_require__(583); +var types = __webpack_require__(584); var INTS = function() { return [{ type: types.RANGE , from: 48, to: 57 }]; @@ -66615,10 +66698,10 @@ exports.anyChar = function() { /***/ }), -/* 585 */ +/* 586 */ /***/ (function(module, exports, __webpack_require__) { -var types = __webpack_require__(583); +var types = __webpack_require__(584); exports.wordBoundary = function() { return { type: types.POSITION, value: 'b' }; @@ -66638,7 +66721,7 @@ exports.end = function() { /***/ }), -/* 586 */ +/* 587 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -66651,8 +66734,8 @@ exports.end = function() { -var isobject = __webpack_require__(587); -var isDescriptor = __webpack_require__(588); +var isobject = __webpack_require__(588); +var isDescriptor = __webpack_require__(589); var define = (typeof Reflect !== 'undefined' && Reflect.defineProperty) ? Reflect.defineProperty : Object.defineProperty; @@ -66683,7 +66766,7 @@ module.exports = function defineProperty(obj, key, val) { /***/ }), -/* 587 */ +/* 588 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -66702,7 +66785,7 @@ module.exports = function isObject(val) { /***/ }), -/* 588 */ +/* 589 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -66715,9 +66798,9 @@ module.exports = function isObject(val) { -var typeOf = __webpack_require__(589); -var isAccessor = __webpack_require__(590); -var isData = __webpack_require__(591); +var typeOf = __webpack_require__(590); +var isAccessor = __webpack_require__(591); +var isData = __webpack_require__(592); module.exports = function isDescriptor(obj, key) { if (typeOf(obj) !== 'object') { @@ -66731,7 +66814,7 @@ module.exports = function isDescriptor(obj, key) { /***/ }), -/* 589 */ +/* 590 */ /***/ (function(module, exports) { var toString = Object.prototype.toString; @@ -66866,7 +66949,7 @@ function isBuffer(val) { /***/ }), -/* 590 */ +/* 591 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -66879,7 +66962,7 @@ function isBuffer(val) { -var typeOf = __webpack_require__(589); +var typeOf = __webpack_require__(590); // accessor descriptor properties var accessor = { @@ -66942,7 +67025,7 @@ module.exports = isAccessorDescriptor; /***/ }), -/* 591 */ +/* 592 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -66955,7 +67038,7 @@ module.exports = isAccessorDescriptor; -var typeOf = __webpack_require__(589); +var typeOf = __webpack_require__(590); module.exports = function isDataDescriptor(obj, prop) { // data descriptor properties @@ -66998,14 +67081,14 @@ module.exports = function isDataDescriptor(obj, prop) { /***/ }), -/* 592 */ +/* 593 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isExtendable = __webpack_require__(593); -var assignSymbols = __webpack_require__(595); +var isExtendable = __webpack_require__(594); +var assignSymbols = __webpack_require__(596); module.exports = Object.assign || function(obj/*, objects*/) { if (obj === null || typeof obj === 'undefined') { @@ -67065,7 +67148,7 @@ function isEnum(obj, key) { /***/ }), -/* 593 */ +/* 594 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -67078,7 +67161,7 @@ function isEnum(obj, key) { -var isPlainObject = __webpack_require__(594); +var isPlainObject = __webpack_require__(595); module.exports = function isExtendable(val) { return isPlainObject(val) || typeof val === 'function' || Array.isArray(val); @@ -67086,7 +67169,7 @@ module.exports = function isExtendable(val) { /***/ }), -/* 594 */ +/* 595 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -67099,7 +67182,7 @@ module.exports = function isExtendable(val) { -var isObject = __webpack_require__(587); +var isObject = __webpack_require__(588); function isObjectObject(o) { return isObject(o) === true @@ -67130,7 +67213,7 @@ module.exports = function isPlainObject(o) { /***/ }), -/* 595 */ +/* 596 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -67177,14 +67260,14 @@ module.exports = function(receiver, objects) { /***/ }), -/* 596 */ +/* 597 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var extend = __webpack_require__(597); -var safe = __webpack_require__(580); +var extend = __webpack_require__(598); +var safe = __webpack_require__(581); /** * The main export is a function that takes a `pattern` string and an `options` object. @@ -67256,14 +67339,14 @@ module.exports = toRegex; /***/ }), -/* 597 */ +/* 598 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isExtendable = __webpack_require__(598); -var assignSymbols = __webpack_require__(595); +var isExtendable = __webpack_require__(599); +var assignSymbols = __webpack_require__(596); module.exports = Object.assign || function(obj/*, objects*/) { if (obj === null || typeof obj === 'undefined') { @@ -67323,7 +67406,7 @@ function isEnum(obj, key) { /***/ }), -/* 598 */ +/* 599 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -67336,7 +67419,7 @@ function isEnum(obj, key) { -var isPlainObject = __webpack_require__(594); +var isPlainObject = __webpack_require__(595); module.exports = function isExtendable(val) { return isPlainObject(val) || typeof val === 'function' || Array.isArray(val); @@ -67344,7 +67427,7 @@ module.exports = function isExtendable(val) { /***/ }), -/* 599 */ +/* 600 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -67394,13 +67477,13 @@ module.exports.immutable = function uniqueImmutable(arr) { /***/ }), -/* 600 */ +/* 601 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isObject = __webpack_require__(601); +var isObject = __webpack_require__(602); module.exports = function extend(o/*, objects*/) { if (!isObject(o)) { o = {}; } @@ -67434,7 +67517,7 @@ function hasOwn(obj, key) { /***/ }), -/* 601 */ +/* 602 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -67454,13 +67537,13 @@ module.exports = function isExtendable(val) { /***/ }), -/* 602 */ +/* 603 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var utils = __webpack_require__(603); +var utils = __webpack_require__(604); module.exports = function(braces, options) { braces.compiler @@ -67743,25 +67826,25 @@ function hasQueue(node) { /***/ }), -/* 603 */ +/* 604 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var splitString = __webpack_require__(604); +var splitString = __webpack_require__(605); var utils = module.exports; /** * Module dependencies */ -utils.extend = __webpack_require__(600); -utils.flatten = __webpack_require__(607); -utils.isObject = __webpack_require__(587); -utils.fillRange = __webpack_require__(608); -utils.repeat = __webpack_require__(616); -utils.unique = __webpack_require__(599); +utils.extend = __webpack_require__(601); +utils.flatten = __webpack_require__(608); +utils.isObject = __webpack_require__(588); +utils.fillRange = __webpack_require__(609); +utils.repeat = __webpack_require__(617); +utils.unique = __webpack_require__(600); utils.define = function(obj, key, val) { Object.defineProperty(obj, key, { @@ -68093,7 +68176,7 @@ utils.escapeRegex = function(str) { /***/ }), -/* 604 */ +/* 605 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -68106,7 +68189,7 @@ utils.escapeRegex = function(str) { -var extend = __webpack_require__(605); +var extend = __webpack_require__(606); module.exports = function(str, options, fn) { if (typeof str !== 'string') { @@ -68271,14 +68354,14 @@ function keepEscaping(opts, str, idx) { /***/ }), -/* 605 */ +/* 606 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isExtendable = __webpack_require__(606); -var assignSymbols = __webpack_require__(595); +var isExtendable = __webpack_require__(607); +var assignSymbols = __webpack_require__(596); module.exports = Object.assign || function(obj/*, objects*/) { if (obj === null || typeof obj === 'undefined') { @@ -68338,7 +68421,7 @@ function isEnum(obj, key) { /***/ }), -/* 606 */ +/* 607 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -68351,7 +68434,7 @@ function isEnum(obj, key) { -var isPlainObject = __webpack_require__(594); +var isPlainObject = __webpack_require__(595); module.exports = function isExtendable(val) { return isPlainObject(val) || typeof val === 'function' || Array.isArray(val); @@ -68359,7 +68442,7 @@ module.exports = function isExtendable(val) { /***/ }), -/* 607 */ +/* 608 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -68388,7 +68471,7 @@ function flat(arr, res) { /***/ }), -/* 608 */ +/* 609 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -68402,10 +68485,10 @@ function flat(arr, res) { var util = __webpack_require__(113); -var isNumber = __webpack_require__(609); -var extend = __webpack_require__(612); -var repeat = __webpack_require__(614); -var toRegex = __webpack_require__(615); +var isNumber = __webpack_require__(610); +var extend = __webpack_require__(613); +var repeat = __webpack_require__(615); +var toRegex = __webpack_require__(616); /** * Return a range of numbers or letters. @@ -68603,7 +68686,7 @@ module.exports = fillRange; /***/ }), -/* 609 */ +/* 610 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -68616,7 +68699,7 @@ module.exports = fillRange; -var typeOf = __webpack_require__(610); +var typeOf = __webpack_require__(611); module.exports = function isNumber(num) { var type = typeOf(num); @@ -68632,10 +68715,10 @@ module.exports = function isNumber(num) { /***/ }), -/* 610 */ +/* 611 */ /***/ (function(module, exports, __webpack_require__) { -var isBuffer = __webpack_require__(611); +var isBuffer = __webpack_require__(612); var toString = Object.prototype.toString; /** @@ -68754,7 +68837,7 @@ module.exports = function kindOf(val) { /***/ }), -/* 611 */ +/* 612 */ /***/ (function(module, exports) { /*! @@ -68781,13 +68864,13 @@ function isSlowBuffer (obj) { /***/ }), -/* 612 */ +/* 613 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isObject = __webpack_require__(613); +var isObject = __webpack_require__(614); module.exports = function extend(o/*, objects*/) { if (!isObject(o)) { o = {}; } @@ -68821,7 +68904,7 @@ function hasOwn(obj, key) { /***/ }), -/* 613 */ +/* 614 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -68841,7 +68924,7 @@ module.exports = function isExtendable(val) { /***/ }), -/* 614 */ +/* 615 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -68918,7 +69001,7 @@ function repeat(str, num) { /***/ }), -/* 615 */ +/* 616 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -68931,8 +69014,8 @@ function repeat(str, num) { -var repeat = __webpack_require__(614); -var isNumber = __webpack_require__(609); +var repeat = __webpack_require__(615); +var isNumber = __webpack_require__(610); var cache = {}; function toRegexRange(min, max, options) { @@ -69219,7 +69302,7 @@ module.exports = toRegexRange; /***/ }), -/* 616 */ +/* 617 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -69244,14 +69327,14 @@ module.exports = function repeat(ele, num) { /***/ }), -/* 617 */ +/* 618 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var Node = __webpack_require__(618); -var utils = __webpack_require__(603); +var Node = __webpack_require__(619); +var utils = __webpack_require__(604); /** * Braces parsers @@ -69611,15 +69694,15 @@ function concatNodes(pos, node, parent, options) { /***/ }), -/* 618 */ +/* 619 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isObject = __webpack_require__(587); -var define = __webpack_require__(619); -var utils = __webpack_require__(620); +var isObject = __webpack_require__(588); +var define = __webpack_require__(620); +var utils = __webpack_require__(621); var ownNames; /** @@ -70110,7 +70193,7 @@ exports = module.exports = Node; /***/ }), -/* 619 */ +/* 620 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -70123,7 +70206,7 @@ exports = module.exports = Node; -var isDescriptor = __webpack_require__(588); +var isDescriptor = __webpack_require__(589); module.exports = function defineProperty(obj, prop, val) { if (typeof obj !== 'object' && typeof obj !== 'function') { @@ -70148,13 +70231,13 @@ module.exports = function defineProperty(obj, prop, val) { /***/ }), -/* 620 */ +/* 621 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var typeOf = __webpack_require__(621); +var typeOf = __webpack_require__(622); var utils = module.exports; /** @@ -71174,10 +71257,10 @@ function assert(val, message) { /***/ }), -/* 621 */ +/* 622 */ /***/ (function(module, exports, __webpack_require__) { -var isBuffer = __webpack_require__(611); +var isBuffer = __webpack_require__(612); var toString = Object.prototype.toString; /** @@ -71296,17 +71379,17 @@ module.exports = function kindOf(val) { /***/ }), -/* 622 */ +/* 623 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var extend = __webpack_require__(600); -var Snapdragon = __webpack_require__(623); -var compilers = __webpack_require__(602); -var parsers = __webpack_require__(617); -var utils = __webpack_require__(603); +var extend = __webpack_require__(601); +var Snapdragon = __webpack_require__(624); +var compilers = __webpack_require__(603); +var parsers = __webpack_require__(618); +var utils = __webpack_require__(604); /** * Customize Snapdragon parser and renderer @@ -71407,17 +71490,17 @@ module.exports = Braces; /***/ }), -/* 623 */ +/* 624 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var Base = __webpack_require__(624); -var define = __webpack_require__(654); -var Compiler = __webpack_require__(665); -var Parser = __webpack_require__(688); -var utils = __webpack_require__(668); +var Base = __webpack_require__(625); +var define = __webpack_require__(655); +var Compiler = __webpack_require__(666); +var Parser = __webpack_require__(689); +var utils = __webpack_require__(669); var regexCache = {}; var cache = {}; @@ -71588,20 +71671,20 @@ module.exports.Parser = Parser; /***/ }), -/* 624 */ +/* 625 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var util = __webpack_require__(113); -var define = __webpack_require__(625); -var CacheBase = __webpack_require__(626); -var Emitter = __webpack_require__(627); -var isObject = __webpack_require__(587); -var merge = __webpack_require__(648); -var pascal = __webpack_require__(651); -var cu = __webpack_require__(652); +var define = __webpack_require__(626); +var CacheBase = __webpack_require__(627); +var Emitter = __webpack_require__(628); +var isObject = __webpack_require__(588); +var merge = __webpack_require__(649); +var pascal = __webpack_require__(652); +var cu = __webpack_require__(653); /** * Optionally define a custom `cache` namespace to use. @@ -72030,7 +72113,7 @@ module.exports.namespace = namespace; /***/ }), -/* 625 */ +/* 626 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -72043,7 +72126,7 @@ module.exports.namespace = namespace; -var isDescriptor = __webpack_require__(588); +var isDescriptor = __webpack_require__(589); module.exports = function defineProperty(obj, prop, val) { if (typeof obj !== 'object' && typeof obj !== 'function') { @@ -72068,21 +72151,21 @@ module.exports = function defineProperty(obj, prop, val) { /***/ }), -/* 626 */ +/* 627 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isObject = __webpack_require__(587); -var Emitter = __webpack_require__(627); -var visit = __webpack_require__(628); -var toPath = __webpack_require__(631); -var union = __webpack_require__(633); -var del = __webpack_require__(639); -var get = __webpack_require__(636); -var has = __webpack_require__(644); -var set = __webpack_require__(647); +var isObject = __webpack_require__(588); +var Emitter = __webpack_require__(628); +var visit = __webpack_require__(629); +var toPath = __webpack_require__(632); +var union = __webpack_require__(634); +var del = __webpack_require__(640); +var get = __webpack_require__(637); +var has = __webpack_require__(645); +var set = __webpack_require__(648); /** * Create a `Cache` constructor that when instantiated will @@ -72336,7 +72419,7 @@ module.exports.namespace = namespace; /***/ }), -/* 627 */ +/* 628 */ /***/ (function(module, exports, __webpack_require__) { @@ -72505,7 +72588,7 @@ Emitter.prototype.hasListeners = function(event){ /***/ }), -/* 628 */ +/* 629 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -72518,8 +72601,8 @@ Emitter.prototype.hasListeners = function(event){ -var visit = __webpack_require__(629); -var mapVisit = __webpack_require__(630); +var visit = __webpack_require__(630); +var mapVisit = __webpack_require__(631); module.exports = function(collection, method, val) { var result; @@ -72542,7 +72625,7 @@ module.exports = function(collection, method, val) { /***/ }), -/* 629 */ +/* 630 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -72555,7 +72638,7 @@ module.exports = function(collection, method, val) { -var isObject = __webpack_require__(587); +var isObject = __webpack_require__(588); module.exports = function visit(thisArg, method, target, val) { if (!isObject(thisArg) && typeof thisArg !== 'function') { @@ -72582,14 +72665,14 @@ module.exports = function visit(thisArg, method, target, val) { /***/ }), -/* 630 */ +/* 631 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var util = __webpack_require__(113); -var visit = __webpack_require__(629); +var visit = __webpack_require__(630); /** * Map `visit` over an array of objects. @@ -72626,7 +72709,7 @@ function isObject(val) { /***/ }), -/* 631 */ +/* 632 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -72639,7 +72722,7 @@ function isObject(val) { -var typeOf = __webpack_require__(632); +var typeOf = __webpack_require__(633); module.exports = function toPath(args) { if (typeOf(args) !== 'arguments') { @@ -72666,10 +72749,10 @@ function filter(arr) { /***/ }), -/* 632 */ +/* 633 */ /***/ (function(module, exports, __webpack_require__) { -var isBuffer = __webpack_require__(611); +var isBuffer = __webpack_require__(612); var toString = Object.prototype.toString; /** @@ -72788,16 +72871,16 @@ module.exports = function kindOf(val) { /***/ }), -/* 633 */ +/* 634 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isObject = __webpack_require__(634); -var union = __webpack_require__(635); -var get = __webpack_require__(636); -var set = __webpack_require__(637); +var isObject = __webpack_require__(635); +var union = __webpack_require__(636); +var get = __webpack_require__(637); +var set = __webpack_require__(638); module.exports = function unionValue(obj, prop, value) { if (!isObject(obj)) { @@ -72825,7 +72908,7 @@ function arrayify(val) { /***/ }), -/* 634 */ +/* 635 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -72845,7 +72928,7 @@ module.exports = function isExtendable(val) { /***/ }), -/* 635 */ +/* 636 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -72881,7 +72964,7 @@ module.exports = function union(init) { /***/ }), -/* 636 */ +/* 637 */ /***/ (function(module, exports) { /*! @@ -72937,7 +73020,7 @@ function toString(val) { /***/ }), -/* 637 */ +/* 638 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -72950,10 +73033,10 @@ function toString(val) { -var split = __webpack_require__(604); -var extend = __webpack_require__(638); -var isPlainObject = __webpack_require__(594); -var isObject = __webpack_require__(634); +var split = __webpack_require__(605); +var extend = __webpack_require__(639); +var isPlainObject = __webpack_require__(595); +var isObject = __webpack_require__(635); module.exports = function(obj, prop, val) { if (!isObject(obj)) { @@ -72999,13 +73082,13 @@ function isValidKey(key) { /***/ }), -/* 638 */ +/* 639 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isObject = __webpack_require__(634); +var isObject = __webpack_require__(635); module.exports = function extend(o/*, objects*/) { if (!isObject(o)) { o = {}; } @@ -73039,7 +73122,7 @@ function hasOwn(obj, key) { /***/ }), -/* 639 */ +/* 640 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -73052,8 +73135,8 @@ function hasOwn(obj, key) { -var isObject = __webpack_require__(587); -var has = __webpack_require__(640); +var isObject = __webpack_require__(588); +var has = __webpack_require__(641); module.exports = function unset(obj, prop) { if (!isObject(obj)) { @@ -73078,7 +73161,7 @@ module.exports = function unset(obj, prop) { /***/ }), -/* 640 */ +/* 641 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -73091,9 +73174,9 @@ module.exports = function unset(obj, prop) { -var isObject = __webpack_require__(641); -var hasValues = __webpack_require__(643); -var get = __webpack_require__(636); +var isObject = __webpack_require__(642); +var hasValues = __webpack_require__(644); +var get = __webpack_require__(637); module.exports = function(obj, prop, noZero) { if (isObject(obj)) { @@ -73104,7 +73187,7 @@ module.exports = function(obj, prop, noZero) { /***/ }), -/* 641 */ +/* 642 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -73117,7 +73200,7 @@ module.exports = function(obj, prop, noZero) { -var isArray = __webpack_require__(642); +var isArray = __webpack_require__(643); module.exports = function isObject(val) { return val != null && typeof val === 'object' && isArray(val) === false; @@ -73125,7 +73208,7 @@ module.exports = function isObject(val) { /***/ }), -/* 642 */ +/* 643 */ /***/ (function(module, exports) { var toString = {}.toString; @@ -73136,7 +73219,7 @@ module.exports = Array.isArray || function (arr) { /***/ }), -/* 643 */ +/* 644 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -73179,7 +73262,7 @@ module.exports = function hasValue(o, noZero) { /***/ }), -/* 644 */ +/* 645 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -73192,9 +73275,9 @@ module.exports = function hasValue(o, noZero) { -var isObject = __webpack_require__(587); -var hasValues = __webpack_require__(645); -var get = __webpack_require__(636); +var isObject = __webpack_require__(588); +var hasValues = __webpack_require__(646); +var get = __webpack_require__(637); module.exports = function(val, prop) { return hasValues(isObject(val) && prop ? get(val, prop) : val); @@ -73202,7 +73285,7 @@ module.exports = function(val, prop) { /***/ }), -/* 645 */ +/* 646 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -73215,8 +73298,8 @@ module.exports = function(val, prop) { -var typeOf = __webpack_require__(646); -var isNumber = __webpack_require__(609); +var typeOf = __webpack_require__(647); +var isNumber = __webpack_require__(610); module.exports = function hasValue(val) { // is-number checks for NaN and other edge cases @@ -73269,10 +73352,10 @@ module.exports = function hasValue(val) { /***/ }), -/* 646 */ +/* 647 */ /***/ (function(module, exports, __webpack_require__) { -var isBuffer = __webpack_require__(611); +var isBuffer = __webpack_require__(612); var toString = Object.prototype.toString; /** @@ -73394,7 +73477,7 @@ module.exports = function kindOf(val) { /***/ }), -/* 647 */ +/* 648 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -73407,10 +73490,10 @@ module.exports = function kindOf(val) { -var split = __webpack_require__(604); -var extend = __webpack_require__(638); -var isPlainObject = __webpack_require__(594); -var isObject = __webpack_require__(634); +var split = __webpack_require__(605); +var extend = __webpack_require__(639); +var isPlainObject = __webpack_require__(595); +var isObject = __webpack_require__(635); module.exports = function(obj, prop, val) { if (!isObject(obj)) { @@ -73456,14 +73539,14 @@ function isValidKey(key) { /***/ }), -/* 648 */ +/* 649 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isExtendable = __webpack_require__(649); -var forIn = __webpack_require__(650); +var isExtendable = __webpack_require__(650); +var forIn = __webpack_require__(651); function mixinDeep(target, objects) { var len = arguments.length, i = 0; @@ -73527,7 +73610,7 @@ module.exports = mixinDeep; /***/ }), -/* 649 */ +/* 650 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -73540,7 +73623,7 @@ module.exports = mixinDeep; -var isPlainObject = __webpack_require__(594); +var isPlainObject = __webpack_require__(595); module.exports = function isExtendable(val) { return isPlainObject(val) || typeof val === 'function' || Array.isArray(val); @@ -73548,7 +73631,7 @@ module.exports = function isExtendable(val) { /***/ }), -/* 650 */ +/* 651 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -73571,7 +73654,7 @@ module.exports = function forIn(obj, fn, thisArg) { /***/ }), -/* 651 */ +/* 652 */ /***/ (function(module, exports) { /*! @@ -73598,14 +73681,14 @@ module.exports = pascalcase; /***/ }), -/* 652 */ +/* 653 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var util = __webpack_require__(113); -var utils = __webpack_require__(653); +var utils = __webpack_require__(654); /** * Expose class utils @@ -73970,7 +74053,7 @@ cu.bubble = function(Parent, events) { /***/ }), -/* 653 */ +/* 654 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -73984,10 +74067,10 @@ var utils = {}; * Lazily required module dependencies */ -utils.union = __webpack_require__(635); -utils.define = __webpack_require__(654); -utils.isObj = __webpack_require__(587); -utils.staticExtend = __webpack_require__(661); +utils.union = __webpack_require__(636); +utils.define = __webpack_require__(655); +utils.isObj = __webpack_require__(588); +utils.staticExtend = __webpack_require__(662); /** @@ -73998,7 +74081,7 @@ module.exports = utils; /***/ }), -/* 654 */ +/* 655 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -74011,7 +74094,7 @@ module.exports = utils; -var isDescriptor = __webpack_require__(655); +var isDescriptor = __webpack_require__(656); module.exports = function defineProperty(obj, prop, val) { if (typeof obj !== 'object' && typeof obj !== 'function') { @@ -74036,7 +74119,7 @@ module.exports = function defineProperty(obj, prop, val) { /***/ }), -/* 655 */ +/* 656 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -74049,9 +74132,9 @@ module.exports = function defineProperty(obj, prop, val) { -var typeOf = __webpack_require__(656); -var isAccessor = __webpack_require__(657); -var isData = __webpack_require__(659); +var typeOf = __webpack_require__(657); +var isAccessor = __webpack_require__(658); +var isData = __webpack_require__(660); module.exports = function isDescriptor(obj, key) { if (typeOf(obj) !== 'object') { @@ -74065,7 +74148,7 @@ module.exports = function isDescriptor(obj, key) { /***/ }), -/* 656 */ +/* 657 */ /***/ (function(module, exports) { var toString = Object.prototype.toString; @@ -74218,7 +74301,7 @@ function isBuffer(val) { /***/ }), -/* 657 */ +/* 658 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -74231,7 +74314,7 @@ function isBuffer(val) { -var typeOf = __webpack_require__(658); +var typeOf = __webpack_require__(659); // accessor descriptor properties var accessor = { @@ -74294,10 +74377,10 @@ module.exports = isAccessorDescriptor; /***/ }), -/* 658 */ +/* 659 */ /***/ (function(module, exports, __webpack_require__) { -var isBuffer = __webpack_require__(611); +var isBuffer = __webpack_require__(612); var toString = Object.prototype.toString; /** @@ -74416,7 +74499,7 @@ module.exports = function kindOf(val) { /***/ }), -/* 659 */ +/* 660 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -74429,7 +74512,7 @@ module.exports = function kindOf(val) { -var typeOf = __webpack_require__(660); +var typeOf = __webpack_require__(661); // data descriptor properties var data = { @@ -74478,10 +74561,10 @@ module.exports = isDataDescriptor; /***/ }), -/* 660 */ +/* 661 */ /***/ (function(module, exports, __webpack_require__) { -var isBuffer = __webpack_require__(611); +var isBuffer = __webpack_require__(612); var toString = Object.prototype.toString; /** @@ -74600,7 +74683,7 @@ module.exports = function kindOf(val) { /***/ }), -/* 661 */ +/* 662 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -74613,8 +74696,8 @@ module.exports = function kindOf(val) { -var copy = __webpack_require__(662); -var define = __webpack_require__(654); +var copy = __webpack_require__(663); +var define = __webpack_require__(655); var util = __webpack_require__(113); /** @@ -74697,15 +74780,15 @@ module.exports = extend; /***/ }), -/* 662 */ +/* 663 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var typeOf = __webpack_require__(663); -var copyDescriptor = __webpack_require__(664); -var define = __webpack_require__(654); +var typeOf = __webpack_require__(664); +var copyDescriptor = __webpack_require__(665); +var define = __webpack_require__(655); /** * Copy static properties, prototype properties, and descriptors from one object to another. @@ -74878,10 +74961,10 @@ module.exports.has = has; /***/ }), -/* 663 */ +/* 664 */ /***/ (function(module, exports, __webpack_require__) { -var isBuffer = __webpack_require__(611); +var isBuffer = __webpack_require__(612); var toString = Object.prototype.toString; /** @@ -75000,7 +75083,7 @@ module.exports = function kindOf(val) { /***/ }), -/* 664 */ +/* 665 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -75088,16 +75171,16 @@ function isObject(val) { /***/ }), -/* 665 */ +/* 666 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var use = __webpack_require__(666); -var define = __webpack_require__(654); +var use = __webpack_require__(667); +var define = __webpack_require__(655); var debug = __webpack_require__(205)('snapdragon:compiler'); -var utils = __webpack_require__(668); +var utils = __webpack_require__(669); /** * Create a new `Compiler` with the given `options`. @@ -75251,7 +75334,7 @@ Compiler.prototype = { // source map support if (opts.sourcemap) { - var sourcemaps = __webpack_require__(687); + var sourcemaps = __webpack_require__(688); sourcemaps(this); this.mapVisit(this.ast.nodes); this.applySourceMaps(); @@ -75272,7 +75355,7 @@ module.exports = Compiler; /***/ }), -/* 666 */ +/* 667 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -75285,7 +75368,7 @@ module.exports = Compiler; -var utils = __webpack_require__(667); +var utils = __webpack_require__(668); module.exports = function base(app, opts) { if (!utils.isObject(app) && typeof app !== 'function') { @@ -75400,7 +75483,7 @@ module.exports = function base(app, opts) { /***/ }), -/* 667 */ +/* 668 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -75414,8 +75497,8 @@ var utils = {}; * Lazily required module dependencies */ -utils.define = __webpack_require__(654); -utils.isObject = __webpack_require__(587); +utils.define = __webpack_require__(655); +utils.isObject = __webpack_require__(588); utils.isString = function(val) { @@ -75430,7 +75513,7 @@ module.exports = utils; /***/ }), -/* 668 */ +/* 669 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -75440,9 +75523,9 @@ module.exports = utils; * Module dependencies */ -exports.extend = __webpack_require__(638); -exports.SourceMap = __webpack_require__(669); -exports.sourceMapResolve = __webpack_require__(680); +exports.extend = __webpack_require__(639); +exports.SourceMap = __webpack_require__(670); +exports.sourceMapResolve = __webpack_require__(681); /** * Convert backslash in the given string to forward slashes @@ -75485,7 +75568,7 @@ exports.last = function(arr, n) { /***/ }), -/* 669 */ +/* 670 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -75493,13 +75576,13 @@ exports.last = function(arr, n) { * Licensed under the New BSD license. See LICENSE.txt or: * http://opensource.org/licenses/BSD-3-Clause */ -exports.SourceMapGenerator = __webpack_require__(670).SourceMapGenerator; -exports.SourceMapConsumer = __webpack_require__(676).SourceMapConsumer; -exports.SourceNode = __webpack_require__(679).SourceNode; +exports.SourceMapGenerator = __webpack_require__(671).SourceMapGenerator; +exports.SourceMapConsumer = __webpack_require__(677).SourceMapConsumer; +exports.SourceNode = __webpack_require__(680).SourceNode; /***/ }), -/* 670 */ +/* 671 */ /***/ (function(module, exports, __webpack_require__) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -75509,10 +75592,10 @@ exports.SourceNode = __webpack_require__(679).SourceNode; * http://opensource.org/licenses/BSD-3-Clause */ -var base64VLQ = __webpack_require__(671); -var util = __webpack_require__(673); -var ArraySet = __webpack_require__(674).ArraySet; -var MappingList = __webpack_require__(675).MappingList; +var base64VLQ = __webpack_require__(672); +var util = __webpack_require__(674); +var ArraySet = __webpack_require__(675).ArraySet; +var MappingList = __webpack_require__(676).MappingList; /** * An instance of the SourceMapGenerator represents a source map which is @@ -75921,7 +76004,7 @@ exports.SourceMapGenerator = SourceMapGenerator; /***/ }), -/* 671 */ +/* 672 */ /***/ (function(module, exports, __webpack_require__) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -75961,7 +76044,7 @@ exports.SourceMapGenerator = SourceMapGenerator; * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -var base64 = __webpack_require__(672); +var base64 = __webpack_require__(673); // A single base 64 digit can contain 6 bits of data. For the base 64 variable // length quantities we use in the source map spec, the first bit is the sign, @@ -76067,7 +76150,7 @@ exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) { /***/ }), -/* 672 */ +/* 673 */ /***/ (function(module, exports) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -76140,7 +76223,7 @@ exports.decode = function (charCode) { /***/ }), -/* 673 */ +/* 674 */ /***/ (function(module, exports) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -76563,7 +76646,7 @@ exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflate /***/ }), -/* 674 */ +/* 675 */ /***/ (function(module, exports, __webpack_require__) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -76573,7 +76656,7 @@ exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflate * http://opensource.org/licenses/BSD-3-Clause */ -var util = __webpack_require__(673); +var util = __webpack_require__(674); var has = Object.prototype.hasOwnProperty; var hasNativeMap = typeof Map !== "undefined"; @@ -76690,7 +76773,7 @@ exports.ArraySet = ArraySet; /***/ }), -/* 675 */ +/* 676 */ /***/ (function(module, exports, __webpack_require__) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -76700,7 +76783,7 @@ exports.ArraySet = ArraySet; * http://opensource.org/licenses/BSD-3-Clause */ -var util = __webpack_require__(673); +var util = __webpack_require__(674); /** * Determine whether mappingB is after mappingA with respect to generated @@ -76775,7 +76858,7 @@ exports.MappingList = MappingList; /***/ }), -/* 676 */ +/* 677 */ /***/ (function(module, exports, __webpack_require__) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -76785,11 +76868,11 @@ exports.MappingList = MappingList; * http://opensource.org/licenses/BSD-3-Clause */ -var util = __webpack_require__(673); -var binarySearch = __webpack_require__(677); -var ArraySet = __webpack_require__(674).ArraySet; -var base64VLQ = __webpack_require__(671); -var quickSort = __webpack_require__(678).quickSort; +var util = __webpack_require__(674); +var binarySearch = __webpack_require__(678); +var ArraySet = __webpack_require__(675).ArraySet; +var base64VLQ = __webpack_require__(672); +var quickSort = __webpack_require__(679).quickSort; function SourceMapConsumer(aSourceMap) { var sourceMap = aSourceMap; @@ -77863,7 +77946,7 @@ exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer; /***/ }), -/* 677 */ +/* 678 */ /***/ (function(module, exports) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -77980,7 +78063,7 @@ exports.search = function search(aNeedle, aHaystack, aCompare, aBias) { /***/ }), -/* 678 */ +/* 679 */ /***/ (function(module, exports) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -78100,7 +78183,7 @@ exports.quickSort = function (ary, comparator) { /***/ }), -/* 679 */ +/* 680 */ /***/ (function(module, exports, __webpack_require__) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -78110,8 +78193,8 @@ exports.quickSort = function (ary, comparator) { * http://opensource.org/licenses/BSD-3-Clause */ -var SourceMapGenerator = __webpack_require__(670).SourceMapGenerator; -var util = __webpack_require__(673); +var SourceMapGenerator = __webpack_require__(671).SourceMapGenerator; +var util = __webpack_require__(674); // Matches a Windows-style `\r\n` newline or a `\n` newline used by all other // operating systems these days (capturing the result). @@ -78519,17 +78602,17 @@ exports.SourceNode = SourceNode; /***/ }), -/* 680 */ +/* 681 */ /***/ (function(module, exports, __webpack_require__) { // Copyright 2014, 2015, 2016, 2017 Simon Lydell // X11 (“MIT”) Licensed. (See LICENSE.) -var sourceMappingURL = __webpack_require__(681) -var resolveUrl = __webpack_require__(682) -var decodeUriComponent = __webpack_require__(683) -var urix = __webpack_require__(685) -var atob = __webpack_require__(686) +var sourceMappingURL = __webpack_require__(682) +var resolveUrl = __webpack_require__(683) +var decodeUriComponent = __webpack_require__(684) +var urix = __webpack_require__(686) +var atob = __webpack_require__(687) @@ -78827,7 +78910,7 @@ module.exports = { /***/ }), -/* 681 */ +/* 682 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;// Copyright 2014 Simon Lydell @@ -78890,7 +78973,7 @@ void (function(root, factory) { /***/ }), -/* 682 */ +/* 683 */ /***/ (function(module, exports, __webpack_require__) { // Copyright 2014 Simon Lydell @@ -78908,13 +78991,13 @@ module.exports = resolveUrl /***/ }), -/* 683 */ +/* 684 */ /***/ (function(module, exports, __webpack_require__) { // Copyright 2017 Simon Lydell // X11 (“MIT”) Licensed. (See LICENSE.) -var decodeUriComponent = __webpack_require__(684) +var decodeUriComponent = __webpack_require__(685) function customDecodeUriComponent(string) { // `decodeUriComponent` turns `+` into ` `, but that's not wanted. @@ -78925,7 +79008,7 @@ module.exports = customDecodeUriComponent /***/ }), -/* 684 */ +/* 685 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -79026,7 +79109,7 @@ module.exports = function (encodedURI) { /***/ }), -/* 685 */ +/* 686 */ /***/ (function(module, exports, __webpack_require__) { // Copyright 2014 Simon Lydell @@ -79049,7 +79132,7 @@ module.exports = urix /***/ }), -/* 686 */ +/* 687 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -79063,7 +79146,7 @@ module.exports = atob.atob = atob; /***/ }), -/* 687 */ +/* 688 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -79071,8 +79154,8 @@ module.exports = atob.atob = atob; var fs = __webpack_require__(132); var path = __webpack_require__(4); -var define = __webpack_require__(654); -var utils = __webpack_require__(668); +var define = __webpack_require__(655); +var utils = __webpack_require__(669); /** * Expose `mixin()`. @@ -79215,19 +79298,19 @@ exports.comment = function(node) { /***/ }), -/* 688 */ +/* 689 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var use = __webpack_require__(666); +var use = __webpack_require__(667); var util = __webpack_require__(113); -var Cache = __webpack_require__(689); -var define = __webpack_require__(654); +var Cache = __webpack_require__(690); +var define = __webpack_require__(655); var debug = __webpack_require__(205)('snapdragon:parser'); -var Position = __webpack_require__(690); -var utils = __webpack_require__(668); +var Position = __webpack_require__(691); +var utils = __webpack_require__(669); /** * Create a new `Parser` with the given `input` and `options`. @@ -79755,7 +79838,7 @@ module.exports = Parser; /***/ }), -/* 689 */ +/* 690 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -79862,13 +79945,13 @@ MapCache.prototype.del = function mapDelete(key) { /***/ }), -/* 690 */ +/* 691 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var define = __webpack_require__(654); +var define = __webpack_require__(655); /** * Store position for a node @@ -79883,14 +79966,14 @@ module.exports = function Position(start, parser) { /***/ }), -/* 691 */ +/* 692 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isExtendable = __webpack_require__(692); -var assignSymbols = __webpack_require__(595); +var isExtendable = __webpack_require__(693); +var assignSymbols = __webpack_require__(596); module.exports = Object.assign || function(obj/*, objects*/) { if (obj === null || typeof obj === 'undefined') { @@ -79950,7 +80033,7 @@ function isEnum(obj, key) { /***/ }), -/* 692 */ +/* 693 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -79963,7 +80046,7 @@ function isEnum(obj, key) { -var isPlainObject = __webpack_require__(594); +var isPlainObject = __webpack_require__(595); module.exports = function isExtendable(val) { return isPlainObject(val) || typeof val === 'function' || Array.isArray(val); @@ -79971,14 +80054,14 @@ module.exports = function isExtendable(val) { /***/ }), -/* 693 */ +/* 694 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var nanomatch = __webpack_require__(694); -var extglob = __webpack_require__(708); +var nanomatch = __webpack_require__(695); +var extglob = __webpack_require__(709); module.exports = function(snapdragon) { var compilers = snapdragon.compiler.compilers; @@ -80055,7 +80138,7 @@ function escapeExtglobs(compiler) { /***/ }), -/* 694 */ +/* 695 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -80066,17 +80149,17 @@ function escapeExtglobs(compiler) { */ var util = __webpack_require__(113); -var toRegex = __webpack_require__(579); -var extend = __webpack_require__(695); +var toRegex = __webpack_require__(580); +var extend = __webpack_require__(696); /** * Local dependencies */ -var compilers = __webpack_require__(697); -var parsers = __webpack_require__(698); -var cache = __webpack_require__(701); -var utils = __webpack_require__(703); +var compilers = __webpack_require__(698); +var parsers = __webpack_require__(699); +var cache = __webpack_require__(702); +var utils = __webpack_require__(704); var MAX_LENGTH = 1024 * 64; /** @@ -80900,14 +80983,14 @@ module.exports = nanomatch; /***/ }), -/* 695 */ +/* 696 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isExtendable = __webpack_require__(696); -var assignSymbols = __webpack_require__(595); +var isExtendable = __webpack_require__(697); +var assignSymbols = __webpack_require__(596); module.exports = Object.assign || function(obj/*, objects*/) { if (obj === null || typeof obj === 'undefined') { @@ -80967,7 +81050,7 @@ function isEnum(obj, key) { /***/ }), -/* 696 */ +/* 697 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -80980,7 +81063,7 @@ function isEnum(obj, key) { -var isPlainObject = __webpack_require__(594); +var isPlainObject = __webpack_require__(595); module.exports = function isExtendable(val) { return isPlainObject(val) || typeof val === 'function' || Array.isArray(val); @@ -80988,7 +81071,7 @@ module.exports = function isExtendable(val) { /***/ }), -/* 697 */ +/* 698 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -81334,15 +81417,15 @@ module.exports = function(nanomatch, options) { /***/ }), -/* 698 */ +/* 699 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var regexNot = __webpack_require__(596); -var toRegex = __webpack_require__(579); -var isOdd = __webpack_require__(699); +var regexNot = __webpack_require__(597); +var toRegex = __webpack_require__(580); +var isOdd = __webpack_require__(700); /** * Characters to use in negation regex (we want to "not" match @@ -81728,7 +81811,7 @@ module.exports.not = NOT_REGEX; /***/ }), -/* 699 */ +/* 700 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -81741,7 +81824,7 @@ module.exports.not = NOT_REGEX; -var isNumber = __webpack_require__(700); +var isNumber = __webpack_require__(701); module.exports = function isOdd(i) { if (!isNumber(i)) { @@ -81755,7 +81838,7 @@ module.exports = function isOdd(i) { /***/ }), -/* 700 */ +/* 701 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -81783,14 +81866,14 @@ module.exports = function isNumber(num) { /***/ }), -/* 701 */ +/* 702 */ /***/ (function(module, exports, __webpack_require__) { -module.exports = new (__webpack_require__(702))(); +module.exports = new (__webpack_require__(703))(); /***/ }), -/* 702 */ +/* 703 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -81803,7 +81886,7 @@ module.exports = new (__webpack_require__(702))(); -var MapCache = __webpack_require__(689); +var MapCache = __webpack_require__(690); /** * Create a new `FragmentCache` with an optional object to use for `caches`. @@ -81925,7 +82008,7 @@ exports = module.exports = FragmentCache; /***/ }), -/* 703 */ +/* 704 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -81938,14 +82021,14 @@ var path = __webpack_require__(4); * Module dependencies */ -var isWindows = __webpack_require__(704)(); -var Snapdragon = __webpack_require__(623); -utils.define = __webpack_require__(705); -utils.diff = __webpack_require__(706); -utils.extend = __webpack_require__(695); -utils.pick = __webpack_require__(707); -utils.typeOf = __webpack_require__(589); -utils.unique = __webpack_require__(599); +var isWindows = __webpack_require__(705)(); +var Snapdragon = __webpack_require__(624); +utils.define = __webpack_require__(706); +utils.diff = __webpack_require__(707); +utils.extend = __webpack_require__(696); +utils.pick = __webpack_require__(708); +utils.typeOf = __webpack_require__(590); +utils.unique = __webpack_require__(600); /** * Returns true if the given value is effectively an empty string @@ -82311,7 +82394,7 @@ utils.unixify = function(options) { /***/ }), -/* 704 */ +/* 705 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -82339,7 +82422,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ /***/ }), -/* 705 */ +/* 706 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -82352,8 +82435,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ -var isobject = __webpack_require__(587); -var isDescriptor = __webpack_require__(588); +var isobject = __webpack_require__(588); +var isDescriptor = __webpack_require__(589); var define = (typeof Reflect !== 'undefined' && Reflect.defineProperty) ? Reflect.defineProperty : Object.defineProperty; @@ -82384,7 +82467,7 @@ module.exports = function defineProperty(obj, key, val) { /***/ }), -/* 706 */ +/* 707 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -82438,7 +82521,7 @@ function diffArray(one, two) { /***/ }), -/* 707 */ +/* 708 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -82451,7 +82534,7 @@ function diffArray(one, two) { -var isObject = __webpack_require__(587); +var isObject = __webpack_require__(588); module.exports = function pick(obj, keys) { if (!isObject(obj) && typeof obj !== 'function') { @@ -82480,7 +82563,7 @@ module.exports = function pick(obj, keys) { /***/ }), -/* 708 */ +/* 709 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -82490,18 +82573,18 @@ module.exports = function pick(obj, keys) { * Module dependencies */ -var extend = __webpack_require__(638); -var unique = __webpack_require__(599); -var toRegex = __webpack_require__(579); +var extend = __webpack_require__(639); +var unique = __webpack_require__(600); +var toRegex = __webpack_require__(580); /** * Local dependencies */ -var compilers = __webpack_require__(709); -var parsers = __webpack_require__(715); -var Extglob = __webpack_require__(718); -var utils = __webpack_require__(717); +var compilers = __webpack_require__(710); +var parsers = __webpack_require__(716); +var Extglob = __webpack_require__(719); +var utils = __webpack_require__(718); var MAX_LENGTH = 1024 * 64; /** @@ -82818,13 +82901,13 @@ module.exports = extglob; /***/ }), -/* 709 */ +/* 710 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var brackets = __webpack_require__(710); +var brackets = __webpack_require__(711); /** * Extglob compilers @@ -82994,7 +83077,7 @@ module.exports = function(extglob) { /***/ }), -/* 710 */ +/* 711 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -83004,17 +83087,17 @@ module.exports = function(extglob) { * Local dependencies */ -var compilers = __webpack_require__(711); -var parsers = __webpack_require__(713); +var compilers = __webpack_require__(712); +var parsers = __webpack_require__(714); /** * Module dependencies */ var debug = __webpack_require__(205)('expand-brackets'); -var extend = __webpack_require__(638); -var Snapdragon = __webpack_require__(623); -var toRegex = __webpack_require__(579); +var extend = __webpack_require__(639); +var Snapdragon = __webpack_require__(624); +var toRegex = __webpack_require__(580); /** * Parses the given POSIX character class `pattern` and returns a @@ -83212,13 +83295,13 @@ module.exports = brackets; /***/ }), -/* 711 */ +/* 712 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var posix = __webpack_require__(712); +var posix = __webpack_require__(713); module.exports = function(brackets) { brackets.compiler @@ -83306,7 +83389,7 @@ module.exports = function(brackets) { /***/ }), -/* 712 */ +/* 713 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -83335,14 +83418,14 @@ module.exports = { /***/ }), -/* 713 */ +/* 714 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var utils = __webpack_require__(714); -var define = __webpack_require__(654); +var utils = __webpack_require__(715); +var define = __webpack_require__(655); /** * Text regex @@ -83561,14 +83644,14 @@ module.exports.TEXT_REGEX = TEXT_REGEX; /***/ }), -/* 714 */ +/* 715 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var toRegex = __webpack_require__(579); -var regexNot = __webpack_require__(596); +var toRegex = __webpack_require__(580); +var regexNot = __webpack_require__(597); var cached; /** @@ -83602,15 +83685,15 @@ exports.createRegex = function(pattern, include) { /***/ }), -/* 715 */ +/* 716 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var brackets = __webpack_require__(710); -var define = __webpack_require__(716); -var utils = __webpack_require__(717); +var brackets = __webpack_require__(711); +var define = __webpack_require__(717); +var utils = __webpack_require__(718); /** * Characters to use in text regex (we want to "not" match @@ -83765,7 +83848,7 @@ module.exports = parsers; /***/ }), -/* 716 */ +/* 717 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -83778,7 +83861,7 @@ module.exports = parsers; -var isDescriptor = __webpack_require__(588); +var isDescriptor = __webpack_require__(589); module.exports = function defineProperty(obj, prop, val) { if (typeof obj !== 'object' && typeof obj !== 'function') { @@ -83803,14 +83886,14 @@ module.exports = function defineProperty(obj, prop, val) { /***/ }), -/* 717 */ +/* 718 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var regex = __webpack_require__(596); -var Cache = __webpack_require__(702); +var regex = __webpack_require__(597); +var Cache = __webpack_require__(703); /** * Utils @@ -83879,7 +83962,7 @@ utils.createRegex = function(str) { /***/ }), -/* 718 */ +/* 719 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -83889,16 +83972,16 @@ utils.createRegex = function(str) { * Module dependencies */ -var Snapdragon = __webpack_require__(623); -var define = __webpack_require__(716); -var extend = __webpack_require__(638); +var Snapdragon = __webpack_require__(624); +var define = __webpack_require__(717); +var extend = __webpack_require__(639); /** * Local dependencies */ -var compilers = __webpack_require__(709); -var parsers = __webpack_require__(715); +var compilers = __webpack_require__(710); +var parsers = __webpack_require__(716); /** * Customize Snapdragon parser and renderer @@ -83964,16 +84047,16 @@ module.exports = Extglob; /***/ }), -/* 719 */ +/* 720 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var extglob = __webpack_require__(708); -var nanomatch = __webpack_require__(694); -var regexNot = __webpack_require__(596); -var toRegex = __webpack_require__(579); +var extglob = __webpack_require__(709); +var nanomatch = __webpack_require__(695); +var regexNot = __webpack_require__(597); +var toRegex = __webpack_require__(580); var not; /** @@ -84054,14 +84137,14 @@ function textRegex(pattern) { /***/ }), -/* 720 */ +/* 721 */ /***/ (function(module, exports, __webpack_require__) { -module.exports = new (__webpack_require__(702))(); +module.exports = new (__webpack_require__(703))(); /***/ }), -/* 721 */ +/* 722 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -84074,13 +84157,13 @@ var path = __webpack_require__(4); * Module dependencies */ -var Snapdragon = __webpack_require__(623); -utils.define = __webpack_require__(722); -utils.diff = __webpack_require__(706); -utils.extend = __webpack_require__(691); -utils.pick = __webpack_require__(707); -utils.typeOf = __webpack_require__(589); -utils.unique = __webpack_require__(599); +var Snapdragon = __webpack_require__(624); +utils.define = __webpack_require__(723); +utils.diff = __webpack_require__(707); +utils.extend = __webpack_require__(692); +utils.pick = __webpack_require__(708); +utils.typeOf = __webpack_require__(590); +utils.unique = __webpack_require__(600); /** * Returns true if the platform is windows, or `path.sep` is `\\`. @@ -84377,7 +84460,7 @@ utils.unixify = function(options) { /***/ }), -/* 722 */ +/* 723 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -84390,8 +84473,8 @@ utils.unixify = function(options) { -var isobject = __webpack_require__(587); -var isDescriptor = __webpack_require__(588); +var isobject = __webpack_require__(588); +var isDescriptor = __webpack_require__(589); var define = (typeof Reflect !== 'undefined' && Reflect.defineProperty) ? Reflect.defineProperty : Object.defineProperty; @@ -84422,7 +84505,7 @@ module.exports = function defineProperty(obj, key, val) { /***/ }), -/* 723 */ +/* 724 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -84441,9 +84524,9 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); -var readdir = __webpack_require__(724); -var reader_1 = __webpack_require__(737); -var fs_stream_1 = __webpack_require__(741); +var readdir = __webpack_require__(725); +var reader_1 = __webpack_require__(738); +var fs_stream_1 = __webpack_require__(742); var ReaderAsync = /** @class */ (function (_super) { __extends(ReaderAsync, _super); function ReaderAsync() { @@ -84504,15 +84587,15 @@ exports.default = ReaderAsync; /***/ }), -/* 724 */ +/* 725 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -const readdirSync = __webpack_require__(725); -const readdirAsync = __webpack_require__(733); -const readdirStream = __webpack_require__(736); +const readdirSync = __webpack_require__(726); +const readdirAsync = __webpack_require__(734); +const readdirStream = __webpack_require__(737); module.exports = exports = readdirAsyncPath; exports.readdir = exports.readdirAsync = exports.async = readdirAsyncPath; @@ -84596,7 +84679,7 @@ function readdirStreamStat (dir, options) { /***/ }), -/* 725 */ +/* 726 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -84604,11 +84687,11 @@ function readdirStreamStat (dir, options) { module.exports = readdirSync; -const DirectoryReader = __webpack_require__(726); +const DirectoryReader = __webpack_require__(727); let syncFacade = { - fs: __webpack_require__(731), - forEach: __webpack_require__(732), + fs: __webpack_require__(732), + forEach: __webpack_require__(733), sync: true }; @@ -84637,7 +84720,7 @@ function readdirSync (dir, options, internalOptions) { /***/ }), -/* 726 */ +/* 727 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -84646,9 +84729,9 @@ function readdirSync (dir, options, internalOptions) { const Readable = __webpack_require__(173).Readable; const EventEmitter = __webpack_require__(164).EventEmitter; const path = __webpack_require__(4); -const normalizeOptions = __webpack_require__(727); -const stat = __webpack_require__(729); -const call = __webpack_require__(730); +const normalizeOptions = __webpack_require__(728); +const stat = __webpack_require__(730); +const call = __webpack_require__(731); /** * Asynchronously reads the contents of a directory and streams the results @@ -85024,14 +85107,14 @@ module.exports = DirectoryReader; /***/ }), -/* 727 */ +/* 728 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; const path = __webpack_require__(4); -const globToRegExp = __webpack_require__(728); +const globToRegExp = __webpack_require__(729); module.exports = normalizeOptions; @@ -85208,7 +85291,7 @@ function normalizeOptions (options, internalOptions) { /***/ }), -/* 728 */ +/* 729 */ /***/ (function(module, exports) { module.exports = function (glob, opts) { @@ -85345,13 +85428,13 @@ module.exports = function (glob, opts) { /***/ }), -/* 729 */ +/* 730 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -const call = __webpack_require__(730); +const call = __webpack_require__(731); module.exports = stat; @@ -85426,7 +85509,7 @@ function symlinkStat (fs, path, lstats, callback) { /***/ }), -/* 730 */ +/* 731 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -85487,14 +85570,14 @@ function callOnce (fn) { /***/ }), -/* 731 */ +/* 732 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; const fs = __webpack_require__(132); -const call = __webpack_require__(730); +const call = __webpack_require__(731); /** * A facade around {@link fs.readdirSync} that allows it to be called @@ -85558,7 +85641,7 @@ exports.lstat = function (path, callback) { /***/ }), -/* 732 */ +/* 733 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -85587,7 +85670,7 @@ function syncForEach (array, iterator, done) { /***/ }), -/* 733 */ +/* 734 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -85595,12 +85678,12 @@ function syncForEach (array, iterator, done) { module.exports = readdirAsync; -const maybe = __webpack_require__(734); -const DirectoryReader = __webpack_require__(726); +const maybe = __webpack_require__(735); +const DirectoryReader = __webpack_require__(727); let asyncFacade = { fs: __webpack_require__(132), - forEach: __webpack_require__(735), + forEach: __webpack_require__(736), async: true }; @@ -85642,7 +85725,7 @@ function readdirAsync (dir, options, callback, internalOptions) { /***/ }), -/* 734 */ +/* 735 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -85669,7 +85752,7 @@ module.exports = function maybe (cb, promise) { /***/ }), -/* 735 */ +/* 736 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -85705,7 +85788,7 @@ function asyncForEach (array, iterator, done) { /***/ }), -/* 736 */ +/* 737 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -85713,11 +85796,11 @@ function asyncForEach (array, iterator, done) { module.exports = readdirStream; -const DirectoryReader = __webpack_require__(726); +const DirectoryReader = __webpack_require__(727); let streamFacade = { fs: __webpack_require__(132), - forEach: __webpack_require__(735), + forEach: __webpack_require__(736), async: true }; @@ -85737,16 +85820,16 @@ function readdirStream (dir, options, internalOptions) { /***/ }), -/* 737 */ +/* 738 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var path = __webpack_require__(4); -var deep_1 = __webpack_require__(738); -var entry_1 = __webpack_require__(740); -var pathUtil = __webpack_require__(739); +var deep_1 = __webpack_require__(739); +var entry_1 = __webpack_require__(741); +var pathUtil = __webpack_require__(740); var Reader = /** @class */ (function () { function Reader(options) { this.options = options; @@ -85812,14 +85895,14 @@ exports.default = Reader; /***/ }), -/* 738 */ +/* 739 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -var pathUtils = __webpack_require__(739); -var patternUtils = __webpack_require__(573); +var pathUtils = __webpack_require__(740); +var patternUtils = __webpack_require__(574); var DeepFilter = /** @class */ (function () { function DeepFilter(options, micromatchOptions) { this.options = options; @@ -85902,7 +85985,7 @@ exports.default = DeepFilter; /***/ }), -/* 739 */ +/* 740 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -85933,14 +86016,14 @@ exports.makeAbsolute = makeAbsolute; /***/ }), -/* 740 */ +/* 741 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -var pathUtils = __webpack_require__(739); -var patternUtils = __webpack_require__(573); +var pathUtils = __webpack_require__(740); +var patternUtils = __webpack_require__(574); var EntryFilter = /** @class */ (function () { function EntryFilter(options, micromatchOptions) { this.options = options; @@ -86025,7 +86108,7 @@ exports.default = EntryFilter; /***/ }), -/* 741 */ +/* 742 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -86045,8 +86128,8 @@ var __extends = (this && this.__extends) || (function () { })(); Object.defineProperty(exports, "__esModule", { value: true }); var stream = __webpack_require__(173); -var fsStat = __webpack_require__(742); -var fs_1 = __webpack_require__(746); +var fsStat = __webpack_require__(743); +var fs_1 = __webpack_require__(747); var FileSystemStream = /** @class */ (function (_super) { __extends(FileSystemStream, _super); function FileSystemStream() { @@ -86096,14 +86179,14 @@ exports.default = FileSystemStream; /***/ }), -/* 742 */ +/* 743 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const optionsManager = __webpack_require__(743); -const statProvider = __webpack_require__(745); +const optionsManager = __webpack_require__(744); +const statProvider = __webpack_require__(746); /** * Asynchronous API. */ @@ -86134,13 +86217,13 @@ exports.statSync = statSync; /***/ }), -/* 743 */ +/* 744 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const fsAdapter = __webpack_require__(744); +const fsAdapter = __webpack_require__(745); function prepare(opts) { const options = Object.assign({ fs: fsAdapter.getFileSystemAdapter(opts ? opts.fs : undefined), @@ -86153,7 +86236,7 @@ exports.prepare = prepare; /***/ }), -/* 744 */ +/* 745 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -86176,7 +86259,7 @@ exports.getFileSystemAdapter = getFileSystemAdapter; /***/ }), -/* 745 */ +/* 746 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -86228,7 +86311,7 @@ exports.isFollowedSymlink = isFollowedSymlink; /***/ }), -/* 746 */ +/* 747 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -86259,7 +86342,7 @@ exports.default = FileSystem; /***/ }), -/* 747 */ +/* 748 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -86279,9 +86362,9 @@ var __extends = (this && this.__extends) || (function () { })(); Object.defineProperty(exports, "__esModule", { value: true }); var stream = __webpack_require__(173); -var readdir = __webpack_require__(724); -var reader_1 = __webpack_require__(737); -var fs_stream_1 = __webpack_require__(741); +var readdir = __webpack_require__(725); +var reader_1 = __webpack_require__(738); +var fs_stream_1 = __webpack_require__(742); var TransformStream = /** @class */ (function (_super) { __extends(TransformStream, _super); function TransformStream(reader) { @@ -86349,7 +86432,7 @@ exports.default = ReaderStream; /***/ }), -/* 748 */ +/* 749 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -86368,9 +86451,9 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); -var readdir = __webpack_require__(724); -var reader_1 = __webpack_require__(737); -var fs_sync_1 = __webpack_require__(749); +var readdir = __webpack_require__(725); +var reader_1 = __webpack_require__(738); +var fs_sync_1 = __webpack_require__(750); var ReaderSync = /** @class */ (function (_super) { __extends(ReaderSync, _super); function ReaderSync() { @@ -86430,7 +86513,7 @@ exports.default = ReaderSync; /***/ }), -/* 749 */ +/* 750 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -86449,8 +86532,8 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); -var fsStat = __webpack_require__(742); -var fs_1 = __webpack_require__(746); +var fsStat = __webpack_require__(743); +var fs_1 = __webpack_require__(747); var FileSystemSync = /** @class */ (function (_super) { __extends(FileSystemSync, _super); function FileSystemSync() { @@ -86496,7 +86579,7 @@ exports.default = FileSystemSync; /***/ }), -/* 750 */ +/* 751 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -86512,7 +86595,7 @@ exports.flatten = flatten; /***/ }), -/* 751 */ +/* 752 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -86533,13 +86616,13 @@ exports.merge = merge; /***/ }), -/* 752 */ +/* 753 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; const path = __webpack_require__(4); -const pathType = __webpack_require__(753); +const pathType = __webpack_require__(754); const getExtensions = extensions => extensions.length > 1 ? `{${extensions.join(',')}}` : extensions[0]; @@ -86605,13 +86688,13 @@ module.exports.sync = (input, opts) => { /***/ }), -/* 753 */ +/* 754 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; const fs = __webpack_require__(132); -const pify = __webpack_require__(754); +const pify = __webpack_require__(755); function type(fn, fn2, fp) { if (typeof fp !== 'string') { @@ -86654,7 +86737,7 @@ exports.symlinkSync = typeSync.bind(null, 'lstatSync', 'isSymbolicLink'); /***/ }), -/* 754 */ +/* 755 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -86745,17 +86828,17 @@ module.exports = (obj, opts) => { /***/ }), -/* 755 */ +/* 756 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; const fs = __webpack_require__(132); const path = __webpack_require__(4); -const fastGlob = __webpack_require__(569); -const gitIgnore = __webpack_require__(756); +const fastGlob = __webpack_require__(570); +const gitIgnore = __webpack_require__(757); const pify = __webpack_require__(410); -const slash = __webpack_require__(757); +const slash = __webpack_require__(758); const DEFAULT_IGNORE = [ '**/node_modules/**', @@ -86853,7 +86936,7 @@ module.exports.sync = options => { /***/ }), -/* 756 */ +/* 757 */ /***/ (function(module, exports) { // A simple implementation of make-array @@ -87322,7 +87405,7 @@ module.exports = options => new IgnoreBase(options) /***/ }), -/* 757 */ +/* 758 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -87340,7 +87423,7 @@ module.exports = input => { /***/ }), -/* 758 */ +/* 759 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -87353,7 +87436,7 @@ module.exports = input => { -var isGlob = __webpack_require__(759); +var isGlob = __webpack_require__(760); module.exports = function hasGlob(val) { if (val == null) return false; @@ -87373,7 +87456,7 @@ module.exports = function hasGlob(val) { /***/ }), -/* 759 */ +/* 760 */ /***/ (function(module, exports, __webpack_require__) { /*! @@ -87404,17 +87487,17 @@ module.exports = function isGlob(str) { /***/ }), -/* 760 */ +/* 761 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; const path = __webpack_require__(4); const {constants: fsConstants} = __webpack_require__(132); -const pEvent = __webpack_require__(761); -const CpFileError = __webpack_require__(764); -const fs = __webpack_require__(766); -const ProgressEmitter = __webpack_require__(769); +const pEvent = __webpack_require__(762); +const CpFileError = __webpack_require__(765); +const fs = __webpack_require__(767); +const ProgressEmitter = __webpack_require__(770); const cpFileAsync = async (source, destination, options, progressEmitter) => { let readError; @@ -87528,12 +87611,12 @@ module.exports.sync = (source, destination, options) => { /***/ }), -/* 761 */ +/* 762 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -const pTimeout = __webpack_require__(762); +const pTimeout = __webpack_require__(763); const symbolAsyncIterator = Symbol.asyncIterator || '@@asyncIterator'; @@ -87824,12 +87907,12 @@ module.exports.iterator = (emitter, event, options) => { /***/ }), -/* 762 */ +/* 763 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -const pFinally = __webpack_require__(763); +const pFinally = __webpack_require__(764); class TimeoutError extends Error { constructor(message) { @@ -87875,7 +87958,7 @@ module.exports.TimeoutError = TimeoutError; /***/ }), -/* 763 */ +/* 764 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -87897,12 +87980,12 @@ module.exports = (promise, onFinally) => { /***/ }), -/* 764 */ +/* 765 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -const NestedError = __webpack_require__(765); +const NestedError = __webpack_require__(766); class CpFileError extends NestedError { constructor(message, nested) { @@ -87916,7 +87999,7 @@ module.exports = CpFileError; /***/ }), -/* 765 */ +/* 766 */ /***/ (function(module, exports, __webpack_require__) { var inherits = __webpack_require__(113).inherits; @@ -87972,16 +88055,16 @@ module.exports = NestedError; /***/ }), -/* 766 */ +/* 767 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; const {promisify} = __webpack_require__(113); const fs = __webpack_require__(233); -const makeDir = __webpack_require__(767); -const pEvent = __webpack_require__(761); -const CpFileError = __webpack_require__(764); +const makeDir = __webpack_require__(768); +const pEvent = __webpack_require__(762); +const CpFileError = __webpack_require__(765); const stat = promisify(fs.stat); const lstat = promisify(fs.lstat); @@ -88078,7 +88161,7 @@ exports.copyFileSync = (source, destination, flags) => { /***/ }), -/* 767 */ +/* 768 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -88086,7 +88169,7 @@ exports.copyFileSync = (source, destination, flags) => { const fs = __webpack_require__(132); const path = __webpack_require__(4); const {promisify} = __webpack_require__(113); -const semver = __webpack_require__(768); +const semver = __webpack_require__(769); const useNativeRecursiveOption = semver.satisfies(process.version, '>=10.12.0'); @@ -88241,7 +88324,7 @@ module.exports.sync = (input, options) => { /***/ }), -/* 768 */ +/* 769 */ /***/ (function(module, exports) { exports = module.exports = SemVer @@ -89843,7 +89926,7 @@ function coerce (version, options) { /***/ }), -/* 769 */ +/* 770 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -89884,7 +89967,7 @@ module.exports = ProgressEmitter; /***/ }), -/* 770 */ +/* 771 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -89930,12 +90013,12 @@ exports.default = module.exports; /***/ }), -/* 771 */ +/* 772 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -const pMap = __webpack_require__(772); +const pMap = __webpack_require__(773); const pFilter = async (iterable, filterer, options) => { const values = await pMap( @@ -89952,7 +90035,7 @@ module.exports.default = pFilter; /***/ }), -/* 772 */ +/* 773 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -90031,12 +90114,12 @@ module.exports.default = pMap; /***/ }), -/* 773 */ +/* 774 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -const NestedError = __webpack_require__(765); +const NestedError = __webpack_require__(766); class CpyError extends NestedError { constructor(message, nested) { @@ -90050,7 +90133,7 @@ module.exports = CpyError; /***/ }), -/* 774 */ +/* 775 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -90058,10 +90141,10 @@ module.exports = CpyError; const fs = __webpack_require__(132); const arrayUnion = __webpack_require__(242); const merge2 = __webpack_require__(243); -const fastGlob = __webpack_require__(775); +const fastGlob = __webpack_require__(776); const dirGlob = __webpack_require__(332); -const gitignore = __webpack_require__(806); -const {FilterStream, UniqueStream} = __webpack_require__(807); +const gitignore = __webpack_require__(807); +const {FilterStream, UniqueStream} = __webpack_require__(808); const DEFAULT_FILTER = () => false; @@ -90238,17 +90321,17 @@ module.exports.gitignore = gitignore; /***/ }), -/* 775 */ +/* 776 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -const taskManager = __webpack_require__(776); -const async_1 = __webpack_require__(792); -const stream_1 = __webpack_require__(802); -const sync_1 = __webpack_require__(803); -const settings_1 = __webpack_require__(805); -const utils = __webpack_require__(777); +const taskManager = __webpack_require__(777); +const async_1 = __webpack_require__(793); +const stream_1 = __webpack_require__(803); +const sync_1 = __webpack_require__(804); +const settings_1 = __webpack_require__(806); +const utils = __webpack_require__(778); async function FastGlob(source, options) { assertPatternsInput(source); const works = getWorks(source, async_1.default, options); @@ -90312,14 +90395,14 @@ module.exports = FastGlob; /***/ }), -/* 776 */ +/* 777 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0; -const utils = __webpack_require__(777); +const utils = __webpack_require__(778); function generate(patterns, settings) { const positivePatterns = getPositivePatterns(patterns); const negativePatterns = getNegativePatternsAsPositive(patterns, settings.ignore); @@ -90384,31 +90467,31 @@ exports.convertPatternGroupToTask = convertPatternGroupToTask; /***/ }), -/* 777 */ +/* 778 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0; -const array = __webpack_require__(778); +const array = __webpack_require__(779); exports.array = array; -const errno = __webpack_require__(779); +const errno = __webpack_require__(780); exports.errno = errno; -const fs = __webpack_require__(780); +const fs = __webpack_require__(781); exports.fs = fs; -const path = __webpack_require__(781); +const path = __webpack_require__(782); exports.path = path; -const pattern = __webpack_require__(782); +const pattern = __webpack_require__(783); exports.pattern = pattern; -const stream = __webpack_require__(790); +const stream = __webpack_require__(791); exports.stream = stream; -const string = __webpack_require__(791); +const string = __webpack_require__(792); exports.string = string; /***/ }), -/* 778 */ +/* 779 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -90437,7 +90520,7 @@ exports.splitWhen = splitWhen; /***/ }), -/* 779 */ +/* 780 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -90451,7 +90534,7 @@ exports.isEnoentCodeError = isEnoentCodeError; /***/ }), -/* 780 */ +/* 781 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -90477,7 +90560,7 @@ exports.createDirentFromStats = createDirentFromStats; /***/ }), -/* 781 */ +/* 782 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -90517,7 +90600,7 @@ exports.removeLeadingDotSegment = removeLeadingDotSegment; /***/ }), -/* 782 */ +/* 783 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -90526,7 +90609,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0; const path = __webpack_require__(4); const globParent = __webpack_require__(265); -const micromatch = __webpack_require__(783); +const micromatch = __webpack_require__(784); const picomatch = __webpack_require__(285); const GLOBSTAR = '**'; const ESCAPE_SYMBOL = '\\'; @@ -90656,7 +90739,7 @@ exports.matchAny = matchAny; /***/ }), -/* 783 */ +/* 784 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -90664,8 +90747,8 @@ exports.matchAny = matchAny; const util = __webpack_require__(113); const braces = __webpack_require__(269); -const picomatch = __webpack_require__(784); -const utils = __webpack_require__(787); +const picomatch = __webpack_require__(785); +const utils = __webpack_require__(788); const isEmptyString = val => val === '' || val === './'; /** @@ -91130,27 +91213,27 @@ module.exports = micromatch; /***/ }), -/* 784 */ +/* 785 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -module.exports = __webpack_require__(785); +module.exports = __webpack_require__(786); /***/ }), -/* 785 */ +/* 786 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; const path = __webpack_require__(4); -const scan = __webpack_require__(786); -const parse = __webpack_require__(789); -const utils = __webpack_require__(787); -const constants = __webpack_require__(788); +const scan = __webpack_require__(787); +const parse = __webpack_require__(790); +const utils = __webpack_require__(788); +const constants = __webpack_require__(789); const isObject = val => val && typeof val === 'object' && !Array.isArray(val); /** @@ -91489,13 +91572,13 @@ module.exports = picomatch; /***/ }), -/* 786 */ +/* 787 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -const utils = __webpack_require__(787); +const utils = __webpack_require__(788); const { CHAR_ASTERISK, /* * */ CHAR_AT, /* @ */ @@ -91512,7 +91595,7 @@ const { CHAR_RIGHT_CURLY_BRACE, /* } */ CHAR_RIGHT_PARENTHESES, /* ) */ CHAR_RIGHT_SQUARE_BRACKET /* ] */ -} = __webpack_require__(788); +} = __webpack_require__(789); const isPathSeparator = code => { return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH; @@ -91887,7 +91970,7 @@ module.exports = scan; /***/ }), -/* 787 */ +/* 788 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -91900,7 +91983,7 @@ const { REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL -} = __webpack_require__(788); +} = __webpack_require__(789); exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val); exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str); @@ -91958,7 +92041,7 @@ exports.wrapOutput = (input, state = {}, options = {}) => { /***/ }), -/* 788 */ +/* 789 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -92144,14 +92227,14 @@ module.exports = { /***/ }), -/* 789 */ +/* 790 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -const constants = __webpack_require__(788); -const utils = __webpack_require__(787); +const constants = __webpack_require__(789); +const utils = __webpack_require__(788); /** * Constants @@ -93235,7 +93318,7 @@ module.exports = parse; /***/ }), -/* 790 */ +/* 791 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -93259,7 +93342,7 @@ function propagateCloseEventToSources(streams) { /***/ }), -/* 791 */ +/* 792 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -93277,14 +93360,14 @@ exports.isEmpty = isEmpty; /***/ }), -/* 792 */ +/* 793 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const stream_1 = __webpack_require__(793); -const provider_1 = __webpack_require__(795); +const stream_1 = __webpack_require__(794); +const provider_1 = __webpack_require__(796); class ProviderAsync extends provider_1.default { constructor() { super(...arguments); @@ -93312,7 +93395,7 @@ exports.default = ProviderAsync; /***/ }), -/* 793 */ +/* 794 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -93321,7 +93404,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); const stream_1 = __webpack_require__(173); const fsStat = __webpack_require__(295); const fsWalk = __webpack_require__(300); -const reader_1 = __webpack_require__(794); +const reader_1 = __webpack_require__(795); class ReaderStream extends reader_1.default { constructor() { super(...arguments); @@ -93374,7 +93457,7 @@ exports.default = ReaderStream; /***/ }), -/* 794 */ +/* 795 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -93382,7 +93465,7 @@ exports.default = ReaderStream; Object.defineProperty(exports, "__esModule", { value: true }); const path = __webpack_require__(4); const fsStat = __webpack_require__(295); -const utils = __webpack_require__(777); +const utils = __webpack_require__(778); class Reader { constructor(_settings) { this._settings = _settings; @@ -93414,17 +93497,17 @@ exports.default = Reader; /***/ }), -/* 795 */ +/* 796 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const path = __webpack_require__(4); -const deep_1 = __webpack_require__(796); -const entry_1 = __webpack_require__(799); -const error_1 = __webpack_require__(800); -const entry_2 = __webpack_require__(801); +const deep_1 = __webpack_require__(797); +const entry_1 = __webpack_require__(800); +const error_1 = __webpack_require__(801); +const entry_2 = __webpack_require__(802); class Provider { constructor(_settings) { this._settings = _settings; @@ -93469,14 +93552,14 @@ exports.default = Provider; /***/ }), -/* 796 */ +/* 797 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const utils = __webpack_require__(777); -const partial_1 = __webpack_require__(797); +const utils = __webpack_require__(778); +const partial_1 = __webpack_require__(798); class DeepFilter { constructor(_settings, _micromatchOptions) { this._settings = _settings; @@ -93538,13 +93621,13 @@ exports.default = DeepFilter; /***/ }), -/* 797 */ +/* 798 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const matcher_1 = __webpack_require__(798); +const matcher_1 = __webpack_require__(799); class PartialMatcher extends matcher_1.default { match(filepath) { const parts = filepath.split('/'); @@ -93583,13 +93666,13 @@ exports.default = PartialMatcher; /***/ }), -/* 798 */ +/* 799 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const utils = __webpack_require__(777); +const utils = __webpack_require__(778); class Matcher { constructor(_patterns, _settings, _micromatchOptions) { this._patterns = _patterns; @@ -93640,13 +93723,13 @@ exports.default = Matcher; /***/ }), -/* 799 */ +/* 800 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const utils = __webpack_require__(777); +const utils = __webpack_require__(778); class EntryFilter { constructor(_settings, _micromatchOptions) { this._settings = _settings; @@ -93703,13 +93786,13 @@ exports.default = EntryFilter; /***/ }), -/* 800 */ +/* 801 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const utils = __webpack_require__(777); +const utils = __webpack_require__(778); class ErrorFilter { constructor(_settings) { this._settings = _settings; @@ -93725,13 +93808,13 @@ exports.default = ErrorFilter; /***/ }), -/* 801 */ +/* 802 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const utils = __webpack_require__(777); +const utils = __webpack_require__(778); class EntryTransformer { constructor(_settings) { this._settings = _settings; @@ -93758,15 +93841,15 @@ exports.default = EntryTransformer; /***/ }), -/* 802 */ +/* 803 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const stream_1 = __webpack_require__(173); -const stream_2 = __webpack_require__(793); -const provider_1 = __webpack_require__(795); +const stream_2 = __webpack_require__(794); +const provider_1 = __webpack_require__(796); class ProviderStream extends provider_1.default { constructor() { super(...arguments); @@ -93796,14 +93879,14 @@ exports.default = ProviderStream; /***/ }), -/* 803 */ +/* 804 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const sync_1 = __webpack_require__(804); -const provider_1 = __webpack_require__(795); +const sync_1 = __webpack_require__(805); +const provider_1 = __webpack_require__(796); class ProviderSync extends provider_1.default { constructor() { super(...arguments); @@ -93826,7 +93909,7 @@ exports.default = ProviderSync; /***/ }), -/* 804 */ +/* 805 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -93834,7 +93917,7 @@ exports.default = ProviderSync; Object.defineProperty(exports, "__esModule", { value: true }); const fsStat = __webpack_require__(295); const fsWalk = __webpack_require__(300); -const reader_1 = __webpack_require__(794); +const reader_1 = __webpack_require__(795); class ReaderSync extends reader_1.default { constructor() { super(...arguments); @@ -93876,7 +93959,7 @@ exports.default = ReaderSync; /***/ }), -/* 805 */ +/* 806 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -93940,7 +94023,7 @@ exports.default = Settings; /***/ }), -/* 806 */ +/* 807 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -93948,7 +94031,7 @@ exports.default = Settings; const {promisify} = __webpack_require__(113); const fs = __webpack_require__(132); const path = __webpack_require__(4); -const fastGlob = __webpack_require__(775); +const fastGlob = __webpack_require__(776); const gitIgnore = __webpack_require__(335); const slash = __webpack_require__(336); @@ -94067,7 +94150,7 @@ module.exports.sync = options => { /***/ }), -/* 807 */ +/* 808 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -94120,7 +94203,7 @@ module.exports = { /***/ }), -/* 808 */ +/* 809 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -94128,13 +94211,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "buildNonBazelProductionProjects", function() { return buildNonBazelProductionProjects; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getProductionProjects", function() { return getProductionProjects; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "buildProject", function() { return buildProject; }); -/* harmony import */ var cpy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(562); +/* harmony import */ var cpy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(563); /* harmony import */ var cpy__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cpy__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var del__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(240); /* harmony import */ var del__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(del__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4); /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(559); +/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(560); /* harmony import */ var _utils_fs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(231); /* harmony import */ var _utils_log__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(220); /* harmony import */ var _utils_package_json__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(349); diff --git a/packages/kbn-pm/src/commands/index.ts b/packages/kbn-pm/src/commands/index.ts index 4c7992859ebdd..70e641f1e9351 100644 --- a/packages/kbn-pm/src/commands/index.ts +++ b/packages/kbn-pm/src/commands/index.ts @@ -32,6 +32,7 @@ import { CleanCommand } from './clean'; import { ResetCommand } from './reset'; import { RunCommand } from './run'; import { WatchCommand } from './watch'; +import { PatchNativeModulesCommand } from './patch_native_modules'; import { Kibana } from '../utils/kibana'; export const commands: { [key: string]: ICommand } = { @@ -41,4 +42,5 @@ export const commands: { [key: string]: ICommand } = { reset: ResetCommand, run: RunCommand, watch: WatchCommand, + patch_native_modules: PatchNativeModulesCommand, }; diff --git a/packages/kbn-pm/src/commands/patch_native_modules.ts b/packages/kbn-pm/src/commands/patch_native_modules.ts new file mode 100644 index 0000000000000..30fd599b83be3 --- /dev/null +++ b/packages/kbn-pm/src/commands/patch_native_modules.ts @@ -0,0 +1,68 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import Path from 'path'; +import Fs from 'fs'; + +import { CiStatsReporter } from '@kbn/dev-utils/ci_stats_reporter'; + +import { log } from '../utils/log'; +import { spawn } from '../utils/child_process'; +import { ICommand } from './index'; + +export const PatchNativeModulesCommand: ICommand = { + description: 'Patch native modules by running build commands on M1 Macs', + name: 'patch_native_modules', + + async run(projects, _, { kbn }) { + const kibanaProjectPath = projects.get('kibana')?.path || ''; + const reporter = CiStatsReporter.fromEnv(log); + + if (process.platform !== 'darwin' || process.arch !== 'arm64') { + return; + } + + const startTime = Date.now(); + const nodeSassDir = Path.resolve(kibanaProjectPath, 'node_modules/node-sass'); + const nodeSassNativeDist = Path.resolve( + nodeSassDir, + `vendor/darwin-arm64-${process.versions.modules}/binding.node` + ); + if (!Fs.existsSync(nodeSassNativeDist)) { + log.info('Running build script for node-sass'); + await spawn('npm', ['run', 'build'], { + cwd: nodeSassDir, + }); + } + + const re2Dir = Path.resolve(kibanaProjectPath, 'node_modules/re2'); + const re2NativeDist = Path.resolve(re2Dir, 'build/Release/re2.node'); + if (!Fs.existsSync(re2NativeDist)) { + log.info('Running build script for re2'); + await spawn('npm', ['run', 'rebuild'], { + cwd: re2Dir, + }); + } + + log.success('native modules should be setup for native ARM Mac development'); + + // send timings + await reporter.timings({ + upstreamBranch: kbn.kibanaProject.json.branch, + // prevent loading @kbn/utils by passing null + kibanaUuid: kbn.getUuid() || null, + timings: [ + { + group: 'scripts/kbn bootstrap', + id: 'patch native modudles for arm macs', + ms: Date.now() - startTime, + }, + ], + }); + }, +};