Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/node_modules/stylelint-scss/dist')
-rw-r--r--assets/node_modules/stylelint-scss/dist/index.js20
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-each-key-value-single-line/index.js109
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-else-closing-brace-newline-after/index.js55
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-else-closing-brace-space-after/index.js46
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-else-empty-line-before/index.js57
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-else-if-parentheses-space-before/index.js65
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-extend-no-missing-placeholder/index.js46
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-function-named-arguments/index.js115
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-function-parentheses-space-before/index.js61
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-function-pattern/index.js56
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-if-closing-brace-newline-after/index.js124
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-if-closing-brace-space-after/index.js105
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-if-no-null/index.js61
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-import-no-partial-leading-underscore/index.js60
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-import-partial-extension-blacklist/index.js80
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-import-partial-extension-whitelist/index.js82
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-import-partial-extension/index.js85
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-mixin-argumentless-call-parentheses/index.js69
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-mixin-named-arguments/index.js118
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-mixin-parentheses-space-before/index.js61
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-mixin-pattern/index.js56
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-rule-conditional-no-parentheses/index.js86
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/at-rule-no-unknown/index.js67
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/comment-no-loud/index.js50
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/declaration-nested-properties-no-divided-groups/index.js76
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/declaration-nested-properties/index.js154
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/dimension-no-non-numeric-values/index.js102
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/dollar-variable-colon-newline-after/index.js112
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/dollar-variable-colon-space-after/index.js129
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/dollar-variable-colon-space-before/index.js51
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/dollar-variable-default/index.js63
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/dollar-variable-empty-line-before/index.js126
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/dollar-variable-no-missing-interpolation/index.js146
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/dollar-variable-pattern/index.js66
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/double-slash-comment-empty-line-before/index.js107
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/double-slash-comment-inline/index.js83
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/double-slash-comment-whitespace-inside/index.js76
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/function-color-relative/index.js57
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/function-quote-no-quoted-strings-inside/index.js79
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/function-unquote-no-unquoted-strings-inside/index.js79
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/index.js168
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/map-keys-quotes/index.js99
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/media-feature-value-dollar-variable/index.js75
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/no-dollar-variables/index.js47
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/no-duplicate-dollar-variables/index.js66
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/no-duplicate-mixins/index.js56
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/operator-no-newline-after/index.js80
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/operator-no-newline-before/index.js80
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/operator-no-unspaced/index.js268
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/partial-no-import/index.js80
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/percent-placeholder-pattern/index.js99
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/selector-nest-combinators/index.js139
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/selector-no-redundant-nesting-selector/index.js69
-rw-r--r--assets/node_modules/stylelint-scss/dist/rules/selector-no-union-class-name/index.js88
-rw-r--r--assets/node_modules/stylelint-scss/dist/testUtils/basicChecks.js16
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/addEmptyLineBefore.js23
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/atRuleBaseName.js16
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/atRuleParamIndex.js23
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/beforeBlockString.js47
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/blockString.js31
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/configurationError.js18
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/declarationValueIndex.js18
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/eachRoot.js23
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/findCommentsInRaws.js227
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/hasBlock.js16
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/hasEmptyLine.js16
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/hasInterpolatingAmpersand.js37
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/hasInterpolation.js31
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/hasLessInterpolation.js16
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/hasPsvInterpolation.js15
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/hasScssInterpolation.js15
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/hasTplInterpolation.js16
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/index.js231
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/isCustomPropertySet.js23
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/isInlineComment.js21
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js17
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/isSingleLineString.js17
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/isStandardRule.js75
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/isStandardSelector.js30
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/isStandardSyntaxProperty.js40
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/isStandardSyntaxSelector.js45
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/isWhitespace.js16
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/namespace.js11
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/optionsHaveException.js19
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/optionsHaveIgnored.js19
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/parseFunctionArguments.js77
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/parseNestedPropRoot.js87
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/parseSelector.js20
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/rawNodeString.js23
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/removeEmptyLinesBefore.js18
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/sassValueParser/index.js933
-rw-r--r--assets/node_modules/stylelint-scss/dist/utils/whitespaceChecker.js371
92 files changed, 0 insertions, 7351 deletions
diff --git a/assets/node_modules/stylelint-scss/dist/index.js b/assets/node_modules/stylelint-scss/dist/index.js
deleted file mode 100644
index f1bc0cc..0000000
--- a/assets/node_modules/stylelint-scss/dist/index.js
+++ /dev/null
@@ -1,20 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("./utils");
-
-var _rules = _interopRequireDefault(require("./rules"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var rulesPlugins = Object.keys(_rules["default"]).map(function (ruleName) {
- return (0, _stylelint.createPlugin)((0, _utils.namespace)(ruleName), _rules["default"][ruleName]);
-});
-var _default = rulesPlugins;
-exports["default"] = _default; \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-each-key-value-single-line/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-each-key-value-single-line/index.js
deleted file mode 100644
index 60c232c..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-each-key-value-single-line/index.js
+++ /dev/null
@@ -1,109 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("at-each-key-value-single-line");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Use @each $key, $value in $map syntax instead of $value: map-get($map, $key)"
-});
-
-exports.messages = messages;
-
-function _default(primary) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: primary
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkAtRules("each", function (rule) {
- var parts = separateEachParams(rule.params); // If loop is fetching both key + value, return
-
- if (parts[0].length === 2) {
- return;
- } // If didn't call map-keys, return.
-
-
- if (!didCallMapKeys(parts[1])) {
- return;
- } // Loop over decls inside of each statement and loop for variable assignments.
-
-
- rule.walkDecls(function (innerDecl) {
- // Check that this decl is a map-get call
- if (innerDecl.prop[0] !== "$") {
- return;
- }
-
- if (!didCallMapGet(innerDecl.value)) {
- return;
- } // Check map_name + key_name match.
-
-
- var map_get_parts = mapGetParameters(innerDecl.value); // Check map names match.
-
- if (map_get_parts[0] !== mapName(parts[1])) {
- return;
- } // Match key names match.
-
-
- if (map_get_parts[1] !== parts[0][0]) {
- return;
- }
-
- _stylelint.utils.report({
- message: messages.expected,
- node: rule,
- result: result,
- ruleName: ruleName
- });
- });
- });
- };
-} // Takes in a param string from node.params
-// Returns: [[key variable, value variable], map_decl] (all Strings)
-
-
-function separateEachParams(paramString) {
- var parts = paramString.split("in");
- return [parts[0].split(",").map(function (s) {
- return s.trim();
- }), parts[1].trim()];
-}
-
-function didCallMapKeys(map_decl) {
- return map_decl.match(/map-keys\(.*\)/);
-}
-
-function didCallMapGet(map_decl) {
- return map_decl.match(/map-get\((.*),(.*)\)/);
-} // Fetch the name of the map from a map-keys() call.
-
-
-function mapName(map_decl) {
- if (didCallMapKeys(map_decl)) {
- return map_decl.match(/map-keys\((.*)\)/)[1];
- } else {
- return map_decl;
- }
-} // Returns the parameters of a map-get call
-// Returns [map variable, key_variable]
-
-
-function mapGetParameters(mapGetDecl) {
- var parts = mapGetDecl.match(/map-get\((.*), ?(.*)\)/);
- return [parts[1], parts[2]];
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-else-closing-brace-newline-after/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-else-closing-brace-newline-after/index.js
deleted file mode 100644
index 42c05fe..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-else-closing-brace-newline-after/index.js
+++ /dev/null
@@ -1,55 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _utils = require("../../utils");
-
-var _stylelint = require("stylelint");
-
-var _lodash = require("lodash");
-
-var _atIfClosingBraceNewlineAfter = require("../at-if-closing-brace-newline-after");
-
-var ruleName = (0, _utils.namespace)("at-else-closing-brace-newline-after");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: 'Expected newline after "}" of @else statement',
- rejected: 'Unexpected newline after "}" of @else statement'
-});
-
-exports.messages = messages;
-
-function _default(expectation, options, context) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always-last-in-chain"]
- }, {
- actual: options,
- possible: {
- disableFix: _lodash.isBoolean
- },
- optional: true
- });
-
- if (!validOptions) {
- return;
- }
-
- (0, _atIfClosingBraceNewlineAfter.sassConditionalBraceNLAfterChecker)({
- root: root,
- result: result,
- ruleName: ruleName,
- atRuleName: "else",
- expectation: expectation,
- messages: messages,
- context: context,
- options: options
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-else-closing-brace-space-after/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-else-closing-brace-space-after/index.js
deleted file mode 100644
index 2506992..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-else-closing-brace-space-after/index.js
+++ /dev/null
@@ -1,46 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _utils = require("../../utils");
-
-var _stylelint = require("stylelint");
-
-var _atIfClosingBraceSpaceAfter = require("../at-if-closing-brace-space-after");
-
-var ruleName = (0, _utils.namespace)("at-else-closing-brace-space-after");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: 'Expected single space after "}" of @else statement',
- rejected: 'Unexpected space after "}" of @else statement'
-});
-
-exports.messages = messages;
-
-function _default(expectation, _, context) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always-intermediate", "never-intermediate"]
- });
-
- if (!validOptions) {
- return;
- }
-
- (0, _atIfClosingBraceSpaceAfter.sassConditionalBraceSpaceAfterChecker)({
- root: root,
- result: result,
- ruleName: ruleName,
- atRuleName: "else",
- expectation: expectation,
- messages: messages,
- context: context
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-else-empty-line-before/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-else-empty-line-before/index.js
deleted file mode 100644
index 875cfd4..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-else-empty-line-before/index.js
+++ /dev/null
@@ -1,57 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _utils = require("../../utils");
-
-var _stylelint = require("stylelint");
-
-var ruleName = (0, _utils.namespace)("at-else-empty-line-before");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: "Unexpected empty line before @else"
-});
-
-exports.messages = messages;
-
-function _default(expectation, _, context) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["never"]
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkAtRules(function (atrule) {
- if (atrule.name !== "else") {
- return;
- } // Don't need to ignore "the first rule in a stylesheet", etc, cases
- // because @else should always go after @if
-
-
- if (!(0, _utils.hasEmptyLine)(atrule.raws.before)) {
- return;
- }
-
- if (context.fix) {
- atrule.raws.before = " ";
- return;
- }
-
- _stylelint.utils.report({
- message: messages.rejected,
- node: atrule,
- result: result,
- ruleName: ruleName
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-else-if-parentheses-space-before/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-else-if-parentheses-space-before/index.js
deleted file mode 100644
index e085765..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-else-if-parentheses-space-before/index.js
+++ /dev/null
@@ -1,65 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("at-else-if-parentheses-space-before");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejectedBefore: function rejectedBefore() {
- return "Unexpected whitespace before parentheses in else-if declaration";
- },
- expectedBefore: function expectedBefore() {
- return "Expected a single space before parentheses in else-if declaration";
- }
-});
-
-exports.messages = messages;
-
-function _default(value, _, context) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: value,
- possible: ["always", "never"]
- });
-
- if (!validOptions) {
- return;
- }
-
- var match = /^if\s*?\(/;
- var replacement = value === "always" ? "if (" : "if(";
- var checker = (0, _utils.whitespaceChecker)("space", value, messages).before;
- root.walkAtRules("else", function (decl) {
- // return early if the else-if statement is not surrounded by parentheses
- if (!match.test(decl.params)) {
- return;
- }
-
- if (context.fix) {
- decl.params = decl.params.replace(match, replacement);
- }
-
- checker({
- source: decl.params,
- index: decl.params.indexOf("("),
- err: function err(message) {
- return _stylelint.utils.report({
- message: message,
- node: decl,
- result: result,
- ruleName: ruleName
- });
- }
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-extend-no-missing-placeholder/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-extend-no-missing-placeholder/index.js
deleted file mode 100644
index ca6d679..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-extend-no-missing-placeholder/index.js
+++ /dev/null
@@ -1,46 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("at-extend-no-missing-placeholder");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: "Expected a placeholder selector (e.g. %placeholder) to be used in @extend"
-});
-
-exports.messages = messages;
-
-function _default(actual) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: actual
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkAtRules("extend", function (atrule) {
- var isPlaceholder = atrule.params.trim()[0] === "%";
- var isInterpolation = /^#{.+}/.test(atrule.params.trim());
-
- if (!isPlaceholder && !isInterpolation) {
- _stylelint.utils.report({
- ruleName: ruleName,
- result: result,
- node: atrule,
- message: messages.rejected
- });
- }
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-function-named-arguments/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-function-named-arguments/index.js
deleted file mode 100644
index 49053f5..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-function-named-arguments/index.js
+++ /dev/null
@@ -1,115 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _lodash = require("lodash");
-
-var _postcssValueParser = _interopRequireDefault(require("postcss-value-parser"));
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var ruleName = (0, _utils.namespace)("at-function-named-arguments");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Expected a named parameter to be used in function call",
- rejected: "Unexpected a named parameter in function call"
-});
-
-exports.messages = messages;
-var isScssVarRegExp = /^\$\S*/;
-
-function _default(expectation, options) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always", "never"]
- }, {
- actual: options,
- possible: {
- ignore: ["single-argument"],
- ignoreFunctions: [_lodash.isString]
- },
- optional: true
- });
-
- if (!validOptions) {
- return;
- }
-
- var shouldIgnoreSingleArgument = (0, _utils.optionsHaveIgnored)(options, "single-argument");
- root.walkDecls(function (decl) {
- (0, _postcssValueParser["default"])(decl.value).walk(function (node) {
- if (node.type !== "function" || (0, _utils.isNativeCssFunction)(node.value) || node.value === "") {
- return;
- }
-
- var hasFuncIgnored = options && options.ignoreFunctions && options.ignoreFunctions.some(function (f) {
- var isRegex = /^\/.*\//.test(f);
-
- if (!isRegex) {
- return f === node.value;
- }
-
- var parts = f.split("/");
- return new RegExp(parts[1], parts[2] || "").test(node.value);
- });
-
- if (hasFuncIgnored) {
- return;
- }
-
- var args = (0, _utils.parseFunctionArguments)(_postcssValueParser["default"].stringify(node));
- var isSingleArgument = args.length === 1;
-
- if (isSingleArgument && shouldIgnoreSingleArgument) {
- return;
- }
-
- args.forEach(function (arg) {
- switch (expectation) {
- case "never":
- {
- if (!arg.key) {
- return;
- }
-
- _stylelint.utils.report({
- message: messages.rejected,
- node: decl,
- result: result,
- ruleName: ruleName
- });
-
- break;
- }
-
- case "always":
- {
- if (arg.key && isScssVarRegExp.test(arg.key)) {
- return;
- }
-
- _stylelint.utils.report({
- message: messages.expected,
- node: decl,
- result: result,
- ruleName: ruleName
- });
-
- break;
- }
- }
- });
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-function-parentheses-space-before/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-function-parentheses-space-before/index.js
deleted file mode 100644
index 4b9d750..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-function-parentheses-space-before/index.js
+++ /dev/null
@@ -1,61 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("at-function-parentheses-space-before");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejectedBefore: function rejectedBefore() {
- return "Unexpected whitespace before parentheses in function declaration";
- },
- expectedBefore: function expectedBefore() {
- return "Expected a single space before parentheses in function declaration";
- }
-});
-
-exports.messages = messages;
-
-function _default(value, _, context) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: value,
- possible: ["always", "never"]
- });
-
- if (!validOptions) {
- return;
- }
-
- var match = /^([\w-]+)\s*?\(/;
- var replacement = value === "always" ? "$1 (" : "$1(";
- var checker = (0, _utils.whitespaceChecker)("space", value, messages).before;
- root.walkAtRules("function", function (decl) {
- if (context.fix) {
- decl.params = decl.params.replace(match, replacement);
- return;
- }
-
- checker({
- source: decl.params,
- index: decl.params.indexOf("("),
- err: function err(message) {
- return _stylelint.utils.report({
- message: message,
- node: decl,
- result: result,
- ruleName: ruleName
- });
- }
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-function-pattern/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-function-pattern/index.js
deleted file mode 100644
index e922680..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-function-pattern/index.js
+++ /dev/null
@@ -1,56 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _lodash = require("lodash");
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("at-function-pattern");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Expected @function name to match specified pattern"
-});
-
-exports.messages = messages;
-
-function _default(pattern) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: pattern,
- possible: [_lodash.isRegExp, _lodash.isString]
- });
-
- if (!validOptions) {
- return;
- }
-
- var regexpPattern = (0, _lodash.isString)(pattern) ? new RegExp(pattern) : pattern;
- root.walkAtRules(function (decl) {
- if (decl.name !== "function") {
- return;
- } // Stripping the function of its arguments
-
-
- var funcName = decl.params.replace(/(\s*?)\((?:\s|\S)*\)/g, "");
-
- if (regexpPattern.test(funcName)) {
- return;
- }
-
- _stylelint.utils.report({
- message: messages.expected,
- node: decl,
- result: result,
- ruleName: ruleName
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-if-closing-brace-newline-after/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-if-closing-brace-newline-after/index.js
deleted file mode 100644
index 767eabf..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-if-closing-brace-newline-after/index.js
+++ /dev/null
@@ -1,124 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.sassConditionalBraceNLAfterChecker = sassConditionalBraceNLAfterChecker;
-exports.messages = exports.ruleName = void 0;
-
-var _utils = require("../../utils");
-
-var _stylelint = require("stylelint");
-
-var _lodash = require("lodash");
-
-var ruleName = (0, _utils.namespace)("at-if-closing-brace-newline-after");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: 'Expected newline after "}" of @if statement',
- rejected: 'Unexpected newline after "}" of @if statement'
-});
-
-exports.messages = messages;
-
-function _default(expectation, options, context) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always-last-in-chain"]
- }, {
- actual: options,
- possible: {
- disableFix: _lodash.isBoolean
- },
- optional: true
- });
-
- if (!validOptions) {
- return;
- }
-
- sassConditionalBraceNLAfterChecker({
- root: root,
- result: result,
- ruleName: ruleName,
- atRuleName: "if",
- expectation: expectation,
- messages: messages,
- context: context,
- options: options
- });
- };
-}
-/**
- * The core logic for this rule. Can be imported by other rules with similar
- * logic, namely at-else-closing-brace-newline-after
- *
- * @param {Object} args -- Named arguments object
- * @param {PostCSS root} args.root
- * @param {PostCSS result} args.result
- * @param {String ruleName} args.ruleName - needed for `report` function
- * @param {String} args.atRuleName - the name of the at-rule to be checked, e.g. "if", "else"
- * @param {Object} args.messages - returned by stylelint.utils.ruleMessages
- * @return {undefined}
- */
-
-
-function sassConditionalBraceNLAfterChecker(_ref) {
- var root = _ref.root,
- result = _ref.result,
- ruleName = _ref.ruleName,
- atRuleName = _ref.atRuleName,
- expectation = _ref.expectation,
- messages = _ref.messages,
- context = _ref.context,
- options = _ref.options;
- var shouldFix = context.fix && (!options || options.disableFix !== true);
-
- function complain(node, message, index, fixValue) {
- if (shouldFix) {
- node.next().raws.before = fixValue;
- return;
- }
-
- _stylelint.utils.report({
- result: result,
- ruleName: ruleName,
- node: node,
- message: message,
- index: index
- });
- }
-
- root.walkAtRules(function (atrule) {
- // Do nothing if it's not an @if
- if (atrule.name !== atRuleName) {
- return;
- }
-
- var nextNode = atrule.next();
-
- if (!nextNode) {
- return;
- }
-
- var nextBefore = nextNode.raws.before;
- var hasNewLinesBeforeNext = nextBefore && !(0, _utils.isSingleLineString)(nextBefore);
- var reportIndex = atrule.toString().length;
-
- if (expectation === "always-last-in-chain") {
- // If followed by @else, no newline is needed
- if (nextNode.type === "atrule" && (nextNode.name === "else" || nextNode.name === "elseif")) {
- if (hasNewLinesBeforeNext) {
- complain(atrule, messages.rejected, reportIndex, " ");
- }
- } else {
- if (!hasNewLinesBeforeNext) {
- complain(atrule, messages.expected, reportIndex, context.newline);
- }
- }
- }
- });
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-if-closing-brace-space-after/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-if-closing-brace-space-after/index.js
deleted file mode 100644
index 4950e1b..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-if-closing-brace-space-after/index.js
+++ /dev/null
@@ -1,105 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.sassConditionalBraceSpaceAfterChecker = sassConditionalBraceSpaceAfterChecker;
-exports.messages = exports.ruleName = void 0;
-
-var _utils = require("../../utils");
-
-var _stylelint = require("stylelint");
-
-var ruleName = (0, _utils.namespace)("at-if-closing-brace-space-after");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: 'Expected single space after "}" of @if statement',
- rejected: 'Unexpected space after "}" of @if statement'
-});
-
-exports.messages = messages;
-
-function _default(expectation, _, context) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always-intermediate", "never-intermediate"]
- });
-
- if (!validOptions) {
- return;
- }
-
- sassConditionalBraceSpaceAfterChecker({
- root: root,
- result: result,
- ruleName: ruleName,
- atRuleName: "if",
- expectation: expectation,
- messages: messages,
- context: context
- });
- };
-}
-/**
- * The core logic for this rule. Can be imported by other rules with similar
- * logic, namely at-else-closing-brace-space-after
- *
- * @param {Object} args -- Named arguments object
- * @param {PostCSS root} args.root
- * @param {PostCSS result} args.result
- * @param {String ruleName} args.ruleName - needed for `report` function
- * @param {String} args.atRuleName - the name of the at-rule to be checked, e.g. "if", "else"
- * @param {Object} args.messages - returned by stylelint.utils.ruleMessages
- * @return {undefined}
- */
-
-
-function sassConditionalBraceSpaceAfterChecker(_ref) {
- var root = _ref.root,
- result = _ref.result,
- ruleName = _ref.ruleName,
- atRuleName = _ref.atRuleName,
- expectation = _ref.expectation,
- messages = _ref.messages,
- context = _ref.context;
-
- function complain(node, message, index, fixValue) {
- if (context.fix) {
- node.next().raws.before = fixValue;
- return;
- }
-
- _stylelint.utils.report({
- result: result,
- ruleName: ruleName,
- node: node,
- message: message,
- index: index
- });
- }
-
- root.walkAtRules(function (atrule) {
- // Do nothing if it's not an @if
- if (atrule.name !== atRuleName) {
- return;
- }
-
- var nextNode = atrule.next();
- var hasSpaceAfter = nextNode && nextNode.raws.before === " ";
- var hasWhiteSpaceAfter = nextNode && nextNode.raws.before !== "";
- var reportIndex = atrule.toString().length; // When followed by an @else
-
- if (nextNode && nextNode.type === "atrule" && nextNode.name === "else") {
- // A single space is needed
- if (expectation === "always-intermediate" && !hasSpaceAfter) {
- complain(atrule, messages.expected, reportIndex, " ");
- } else if (expectation === "never-intermediate" && hasWhiteSpaceAfter) {
- // No whitespace is needed
- complain(atrule, messages.rejected, reportIndex, "");
- }
- }
- });
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-if-no-null/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-if-no-null/index.js
deleted file mode 100644
index 95e4933..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-if-no-null/index.js
+++ /dev/null
@@ -1,61 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _utils = require("../../utils");
-
-var _stylelint = require("stylelint");
-
-var ruleName = (0, _utils.namespace)("at-if-no-null");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- equals_null: "Expected @if not statement rather than @if statement == null",
- not_equals_null: "Expected @if statement rather than @if statement != null"
-});
-
-exports.messages = messages;
-
-function _default(expectation) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkAtRules(function (atrule) {
- // Do nothing if it's not an @if
- if (atrule.name !== "if") {
- return;
- } // If rule != null and (expr), skip
-
-
- if (atrule.params.match(/\(?[ \t]*.* != null and .*\)?/)) {
- return;
- }
-
- if (atrule.params.match(/\(?[ \t]*.* == null[ \t]*\)?/)) {
- _stylelint.utils.report({
- message: messages.equals_null,
- node: atrule,
- result: result,
- ruleName: ruleName
- });
- } else if (atrule.params.match(/\(?[ \t]*.* != null[ \t]*\)?/)) {
- _stylelint.utils.report({
- message: messages.not_equals_null,
- node: atrule,
- result: result,
- ruleName: ruleName
- });
- }
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-import-no-partial-leading-underscore/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-import-no-partial-leading-underscore/index.js
deleted file mode 100644
index cdc82a7..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-import-no-partial-leading-underscore/index.js
+++ /dev/null
@@ -1,60 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("at-import-no-partial-leading-underscore");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Unexpected leading underscore in imported partial name"
-});
-
-exports.messages = messages;
-
-function _default(actual) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: actual
- });
-
- if (!validOptions) {
- return;
- }
-
- function checkPathForUnderscore(path, decl) {
- // Stripping trailing quotes and whitespaces, if any
- var pathStripped = path.replace(/^\s*?("|')\s*/, "").replace(/\s*("|')\s*?$/, ""); // Searching a _ at the start of filename
-
- if (pathStripped.search(/(?:^|\/|\\)_[^/]+$/) === -1) {
- return;
- } // Skipping importing CSS: url(), ".css", URI with a protocol, media
-
-
- if (pathStripped.slice(0, 4) === "url(" || pathStripped.slice(-4) === ".css" || pathStripped.search("//") !== -1 || pathStripped.search(/(?:\s|[,)"'])\w+$/) !== -1) {
- return;
- }
-
- _stylelint.utils.report({
- message: messages.expected,
- node: decl,
- result: result,
- ruleName: ruleName
- });
- }
-
- root.walkAtRules("import", function (decl) {
- // Processing comma-separated lists of import paths
- decl.params.split(",").forEach(function (path) {
- checkPathForUnderscore(path, decl);
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-import-partial-extension-blacklist/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-import-partial-extension-blacklist/index.js
deleted file mode 100644
index 80ea0f8..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-import-partial-extension-blacklist/index.js
+++ /dev/null
@@ -1,80 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _lodash = require("lodash");
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var _path = _interopRequireDefault(require("path"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var ruleName = (0, _utils.namespace)("at-import-partial-extension-blacklist");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: function rejected(ext) {
- return "Unexpected extension \".".concat(ext, "\" in imported partial name");
- }
-});
-
-exports.messages = messages;
-
-function _default(blacklistOption) {
- var blacklist = [].concat(blacklistOption);
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: blacklistOption,
- possible: [_lodash.isString, _lodash.isRegExp]
- });
-
- if (!validOptions) {
- return;
- }
-
- function checkPathForUnderscore(path, decl) {
- // Stripping trailing quotes and whitespaces, if any
- var pathStripped = path.replace(/^\s*?("|')\s*/, "").replace(/\s*("|')\s*?$/, "");
-
- var extension = _path["default"].extname(pathStripped).slice(1); // Save this separately to be able to pass the original string to report()
-
-
- var extensionNormalized = extension.toLowerCase(); // If the extension is empty
-
- if (!extension) {
- return;
- } // Skipping importing CSS: url(), ".css", URI with a protocol, media
-
-
- if (pathStripped.slice(0, 4) === "url(" || pathStripped.slice(-4) === ".css" || pathStripped.search("//") !== -1 || pathStripped.search(/(?:\s|[,)"'])\w+$/) !== -1) {
- return;
- }
-
- blacklist.forEach(function (ext) {
- if ((0, _lodash.isString)(ext) && extensionNormalized === ext || (0, _lodash.isRegExp)(ext) && extensionNormalized.search(ext) !== -1) {
- _stylelint.utils.report({
- message: messages.rejected(extension),
- node: decl,
- word: extension,
- result: result,
- ruleName: ruleName
- });
- }
- });
- }
-
- root.walkAtRules("import", function (atRule) {
- // Processing comma-separated lists of import paths
- atRule.params.split(",").forEach(function (path) {
- checkPathForUnderscore(path, atRule);
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-import-partial-extension-whitelist/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-import-partial-extension-whitelist/index.js
deleted file mode 100644
index e725f2c..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-import-partial-extension-whitelist/index.js
+++ /dev/null
@@ -1,82 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _lodash = require("lodash");
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var _path = _interopRequireDefault(require("path"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var ruleName = (0, _utils.namespace)("at-import-partial-extension-whitelist");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: function rejected(ext) {
- return "Unexpected extension \".".concat(ext, "\" in imported partial name");
- }
-});
-
-exports.messages = messages;
-
-function _default(whitelistOption) {
- var whitelist = [].concat(whitelistOption);
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: whitelistOption,
- possible: [_lodash.isString, _lodash.isRegExp]
- });
-
- if (!validOptions) {
- return;
- }
-
- function checkPathForUnderscore(path, decl) {
- // Stripping trailing quotes and whitespaces, if any
- var pathStripped = path.replace(/^\s*?("|')\s*/, "").replace(/\s*("|')\s*?$/, "");
-
- var extension = _path["default"].extname(pathStripped).slice(1); // Save this separately to be able to pass the original string to report()
-
-
- var extensionNormalized = extension.toLowerCase(); // If the extension is empty
-
- if (!extension) {
- return;
- } // Skipping importing CSS: url(), ".css", URI with a protocol, media
-
-
- if (pathStripped.slice(0, 4) === "url(" || pathStripped.slice(-4) === ".css" || pathStripped.search("//") !== -1 || pathStripped.search(/(?:\s|[,)"'])\w+$/) !== -1) {
- return;
- }
-
- if (whitelist.some(function (ext) {
- return (0, _lodash.isString)(ext) && extensionNormalized === ext || (0, _lodash.isRegExp)(ext) && extensionNormalized.search(ext) !== -1;
- })) {
- return;
- }
-
- _stylelint.utils.report({
- message: messages.rejected(extension),
- node: decl,
- word: extension,
- result: result,
- ruleName: ruleName
- });
- }
-
- root.walkAtRules("import", function (atRule) {
- // Processing comma-separated lists of import paths
- atRule.params.split(",").forEach(function (path) {
- checkPathForUnderscore(path, atRule);
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-import-partial-extension/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-import-partial-extension/index.js
deleted file mode 100644
index 9d86967..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-import-partial-extension/index.js
+++ /dev/null
@@ -1,85 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _path = _interopRequireDefault(require("path"));
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var ruleName = (0, _utils.namespace)("at-import-partial-extension");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Expected @import to have an extension",
- rejected: function rejected(ext) {
- return "Unexpected extension \".".concat(ext, "\" in @import");
- }
-}); // https://drafts.csswg.org/mediaqueries/#media-types
-
-
-exports.messages = messages;
-var mediaQueryTypes = ["all", "print", "screen", "speech", "tv", "tty", "projection", "handheld", "braille", "embossed", "aural"];
-var mediaQueryTypesRE = new RegExp("(".concat(mediaQueryTypes.join("|"), ")$"), "i");
-
-var stripPath = function stripPath(path) {
- return path.replace(/^\s*?("|')\s*/, "").replace(/\s*("|')\s*?$/, "");
-};
-
-function _default(expectation) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always", "never"]
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkAtRules("import", function (decl) {
- var paths = decl.params.split(/["']\s*,/).filter(function (path) {
- return !mediaQueryTypesRE.test(path.trim());
- }); // Processing comma-separated lists of import paths
-
- paths.forEach(function (path) {
- // Stripping trailing quotes and whitespaces, if any
- var pathStripped = stripPath(path); // Skipping importing CSS: url(), ".css", URI with a protocol
-
- if (pathStripped.slice(0, 4) === "url(" || pathStripped.slice(-4) === ".css" || pathStripped.search("//") !== -1) {
- return;
- }
-
- var extension = _path["default"].extname(pathStripped).slice(1);
-
- if (!extension && expectation === "always") {
- _stylelint.utils.report({
- message: messages.expected,
- node: decl,
- result: result,
- ruleName: ruleName
- });
-
- return;
- }
-
- if (extension && expectation === "never") {
- _stylelint.utils.report({
- message: messages.rejected(extension),
- node: decl,
- word: extension,
- result: result,
- ruleName: ruleName
- });
- }
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-mixin-argumentless-call-parentheses/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-mixin-argumentless-call-parentheses/index.js
deleted file mode 100644
index 58ffbf0..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-mixin-argumentless-call-parentheses/index.js
+++ /dev/null
@@ -1,69 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("at-mixin-argumentless-call-parentheses");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: function expected(mixin) {
- return "Expected parentheses in mixin \"".concat(mixin, "\" call");
- },
- rejected: function rejected(mixin) {
- return "Unexpected parentheses in argumentless mixin \"".concat(mixin, "\" call");
- }
-});
-
-exports.messages = messages;
-
-function _default(value, _, context) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: value,
- possible: ["always", "never"]
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkAtRules("include", function (mixinCall) {
- // If it is "No parens in argumentless calls"
- if (value === "never" && mixinCall.params.search(/\(\s*?\)\s*?$/) === -1) {
- return;
- } // If it is "Always use parens"
-
-
- if (value === "always" && mixinCall.params.search(/\(/) !== -1) {
- return;
- }
-
- if (context.fix) {
- if (value === "always") {
- mixinCall.params = "".concat(mixinCall.params, " ()");
- } else {
- mixinCall.params = mixinCall.params.replace(/\s*\([\s\S]*?\)$/, "");
- }
-
- return;
- }
-
- var mixinName = /\s*(\S*?)\s*(?:\(|$)/.exec(mixinCall.params)[1];
-
- _stylelint.utils.report({
- message: messages[value === "never" ? "rejected" : "expected"](mixinName),
- node: mixinCall,
- result: result,
- ruleName: ruleName
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-mixin-named-arguments/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-mixin-named-arguments/index.js
deleted file mode 100644
index 4ba96e5..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-mixin-named-arguments/index.js
+++ /dev/null
@@ -1,118 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }
-
-function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
-
-function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }
-
-function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }
-
-var ruleName = (0, _utils.namespace)("at-mixin-named-arguments");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Expected a named parameter to be used in at-include call",
- rejected: "Unexpected a named parameter in at-include call"
-});
-
-exports.messages = messages;
-var hasArgumentsRegExp = /\((.*)\)$/;
-var isScssVarRegExp = /^\$\S*/;
-
-function _default(expectation, options) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always", "never"]
- }, {
- actual: options,
- possible: {
- ignore: ["single-argument"]
- },
- optional: true
- });
-
- if (!validOptions) {
- return;
- }
-
- var shouldIgnoreSingleArgument = (0, _utils.optionsHaveIgnored)(options, "single-argument");
- root.walkAtRules("include", function (atRule) {
- var argsString = atRule.params.replace(/\n/g, " ").match(hasArgumentsRegExp); // Ignore @include that does not contain arguments.
-
- if (!argsString || argsString.index === -1 || argsString[0].length === 2) {
- return;
- }
-
- var args = argsString[1] // Create array of arguments.
- .split(",") // Create a key-value array for every argument.
- .map(function (argsString) {
- return argsString.split(":").map(function (argsKeyValuePair) {
- return argsKeyValuePair.trim();
- });
- }).reduce(function (resultArray, keyValuePair) {
- var pair = {
- value: keyValuePair[1] || keyValuePair[0]
- };
-
- if (keyValuePair[1]) {
- pair.key = keyValuePair[0];
- }
-
- return [].concat(_toConsumableArray(resultArray), [pair]);
- }, []);
- var isSingleArgument = args.length === 1;
-
- if (isSingleArgument && shouldIgnoreSingleArgument) {
- return;
- }
-
- args.forEach(function (arg) {
- switch (expectation) {
- case "never":
- {
- if (!arg.key) {
- return;
- }
-
- _stylelint.utils.report({
- message: messages.rejected,
- node: atRule,
- result: result,
- ruleName: ruleName
- });
-
- break;
- }
-
- case "always":
- {
- if (arg.key && isScssVarRegExp.test(arg.key)) {
- return;
- }
-
- _stylelint.utils.report({
- message: messages.expected,
- node: atRule,
- result: result,
- ruleName: ruleName
- });
-
- break;
- }
- }
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-mixin-parentheses-space-before/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-mixin-parentheses-space-before/index.js
deleted file mode 100644
index bc29a60..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-mixin-parentheses-space-before/index.js
+++ /dev/null
@@ -1,61 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("at-mixin-parentheses-space-before");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejectedBefore: function rejectedBefore() {
- return "Unexpected whitespace before parentheses in mixin declaration";
- },
- expectedBefore: function expectedBefore() {
- return "Expected a single space before parentheses in mixin declaration";
- }
-});
-
-exports.messages = messages;
-
-function _default(value, _, context) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: value,
- possible: ["always", "never"]
- });
-
- if (!validOptions) {
- return;
- }
-
- var match = /^([\w-]+)\s*?\(/;
- var replacement = value === "always" ? "$1 (" : "$1(";
- var checker = (0, _utils.whitespaceChecker)("space", value, messages).before;
- root.walkAtRules("mixin", function (decl) {
- if (context.fix) {
- decl.params = decl.params.replace(match, replacement);
- return;
- }
-
- checker({
- source: decl.params,
- index: decl.params.indexOf("("),
- err: function err(message) {
- return _stylelint.utils.report({
- message: message,
- node: decl,
- result: result,
- ruleName: ruleName
- });
- }
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-mixin-pattern/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-mixin-pattern/index.js
deleted file mode 100644
index c5fe357..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-mixin-pattern/index.js
+++ /dev/null
@@ -1,56 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _lodash = require("lodash");
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("at-mixin-pattern");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Expected @mixin name to match specified pattern"
-});
-
-exports.messages = messages;
-
-function _default(pattern) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: pattern,
- possible: [_lodash.isRegExp, _lodash.isString]
- });
-
- if (!validOptions) {
- return;
- }
-
- var regexpPattern = (0, _lodash.isString)(pattern) ? new RegExp(pattern) : pattern;
- root.walkAtRules(function (decl) {
- if (decl.name !== "mixin") {
- return;
- } // Stripping the mixin of its arguments
-
-
- var mixinName = decl.params.replace(/(\s*?)\((?:\s|\S)*\)/g, "");
-
- if (regexpPattern.test(mixinName)) {
- return;
- }
-
- _stylelint.utils.report({
- message: messages.expected,
- node: decl,
- result: result,
- ruleName: ruleName
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-rule-conditional-no-parentheses/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-rule-conditional-no-parentheses/index.js
deleted file mode 100644
index 95e7728..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-rule-conditional-no-parentheses/index.js
+++ /dev/null
@@ -1,86 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }
-
-function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
-
-function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }
-
-function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }
-
-var ruleName = (0, _utils.namespace)("at-rule-conditional-no-parentheses");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: "Unexpected () used to surround statements for @-rules"
-}); // postcss picks up else-if as else.
-
-
-exports.messages = messages;
-var conditional_rules = ["if", "while", "else"];
-
-function report(atrule, result) {
- _stylelint.utils.report({
- message: messages.rejected,
- node: atrule,
- result: result,
- ruleName: ruleName
- });
-}
-
-function fix(atrule) {
- var regex = /(if)? ?\((.*)\)/; // 2 regex groups: 'if ' and cond.
-
- var groups = atrule.params.match(regex).slice(1);
- atrule.params = _toConsumableArray(new Set(groups)).join(" ");
-}
-
-function _default(primary, _unused, context) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: primary
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkAtRules(function (atrule) {
- // Check if this is a conditional rule.
- if (!conditional_rules.includes(atrule.name)) {
- return;
- } // Else uses a different regex
- // params are of format "`if (cond)` or `if cond`
- // instead of `(cond)` or `cond`"
-
-
- if (atrule.name === "else") {
- if (atrule.params.match(/ ?if ?\(.*\) ?$/)) {
- if (context.fix) {
- fix(atrule);
- } else {
- report(atrule, result);
- }
- }
- } else {
- if (atrule.params.trim().match(/^\(.*\)$/)) {
- if (context.fix) {
- fix(atrule);
- } else {
- report(atrule, result);
- }
- }
- }
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/at-rule-no-unknown/index.js b/assets/node_modules/stylelint-scss/dist/rules/at-rule-no-unknown/index.js
deleted file mode 100644
index 9a833c1..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/at-rule-no-unknown/index.js
+++ /dev/null
@@ -1,67 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _lodash = require("lodash");
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var sassAtRules = ["at-root", "content", "debug", "each", "else", "else if", "error", "extend", "for", "forward", "function", "if", "import", "include", "media", "mixin", "return", "use", "warn", "while"];
-var ruleToCheckAgainst = "at-rule-no-unknown";
-var ruleName = (0, _utils.namespace)(ruleToCheckAgainst);
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: _stylelint.rules[ruleToCheckAgainst].messages.rejected
-});
-
-exports.messages = messages;
-
-function _default(primaryOption, secondaryOptions) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: primaryOption
- }, {
- actual: secondaryOptions,
- possible: {
- ignoreAtRules: [_lodash.isRegExp, _lodash.isString]
- },
- optional: true
- });
-
- if (!validOptions) {
- return;
- }
-
- var optionsAtRules = secondaryOptions && secondaryOptions.ignoreAtRules;
- var ignoreAtRules = sassAtRules.concat(optionsAtRules || []);
- var defaultedOptions = Object.assign({}, secondaryOptions, {
- ignoreAtRules: ignoreAtRules
- });
-
- _stylelint.utils.checkAgainstRule({
- ruleName: ruleToCheckAgainst,
- ruleSettings: [primaryOption, defaultedOptions],
- root: root
- }, function (warning) {
- var name = warning.node.name;
-
- if (!ignoreAtRules.includes(name)) {
- _stylelint.utils.report({
- message: messages.rejected("@".concat(name)),
- ruleName: ruleName,
- result: result,
- node: warning.node,
- line: warning.line,
- column: warning.column
- });
- }
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/comment-no-loud/index.js b/assets/node_modules/stylelint-scss/dist/rules/comment-no-loud/index.js
deleted file mode 100644
index c2bec06..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/comment-no-loud/index.js
+++ /dev/null
@@ -1,50 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("comment-no-loud");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Expected // for comments instead of /*"
-});
-
-exports.messages = messages;
-
-function rule(primary) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: primary
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkComments(function (comment) {
- if (isLoudComment(comment)) {
- _stylelint.utils.report({
- message: messages.expected,
- node: comment,
- result: result,
- ruleName: ruleName
- });
- }
- });
- };
-}
-
-function isLoudComment(comment) {
- var regex = new RegExp(/^[ \t\n]*\/\*/);
- return regex.test(comment.source.input.css);
-}
-
-var _default = rule;
-exports["default"] = _default; \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/declaration-nested-properties-no-divided-groups/index.js b/assets/node_modules/stylelint-scss/dist/rules/declaration-nested-properties-no-divided-groups/index.js
deleted file mode 100644
index 680335d..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/declaration-nested-properties-no-divided-groups/index.js
+++ /dev/null
@@ -1,76 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var hasOwnProp = Object.prototype.hasOwnProperty;
-var ruleName = (0, _utils.namespace)("declaration-nested-properties-no-divided-groups");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: function expected(prop) {
- return "Expected all nested properties of \"".concat(prop, "\" namespace to be in one nested group");
- }
-});
-
-exports.messages = messages;
-
-function _default(expectation) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walk(function (item) {
- if (item.type !== "rule" && item.type !== "atrule") {
- return;
- }
-
- var nestedGroups = {}; // Find all nested property groups
-
- item.each(function (decl) {
- if (decl.type !== "rule") {
- return;
- }
-
- var testForProp = (0, _utils.parseNestedPropRoot)(decl.selector);
-
- if (testForProp && testForProp.propName !== undefined) {
- var ns = testForProp.propName.value;
-
- if (!hasOwnProp.call(nestedGroups, ns)) {
- nestedGroups[ns] = [];
- }
-
- nestedGroups[ns].push(decl);
- }
- });
- Object.keys(nestedGroups).forEach(function (namespace) {
- // Only warn if there are more than one nested groups with equal namespaces
- if (nestedGroups[namespace].length === 1) {
- return;
- }
-
- nestedGroups[namespace].forEach(function (group) {
- _stylelint.utils.report({
- message: messages.expected(namespace),
- node: group,
- result: result,
- ruleName: ruleName
- });
- });
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/declaration-nested-properties/index.js b/assets/node_modules/stylelint-scss/dist/rules/declaration-nested-properties/index.js
deleted file mode 100644
index efe8c48..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/declaration-nested-properties/index.js
+++ /dev/null
@@ -1,154 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var hasOwnProp = Object.prototype.hasOwnProperty;
-var ruleName = (0, _utils.namespace)("declaration-nested-properties");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: function expected(prop) {
- return "Expected property \"".concat(prop, "\" to be in a nested form");
- },
- rejected: function rejected(prop) {
- return "Unexpected nested property \"".concat(prop, "\"");
- }
-});
-
-exports.messages = messages;
-
-function _default(expectation, options) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always", "never"]
- }, {
- actual: options,
- possible: {
- except: ["only-of-namespace"]
- },
- optional: true
- });
-
- if (!validOptions) {
- return;
- }
-
- if (expectation === "always") {
- root.walk(function (item) {
- if (item.type !== "rule" && item.type !== "atrule") {
- return;
- }
-
- var warningCandidates = {};
- item.each(function (decl) {
- var prop = decl.prop,
- type = decl.type,
- selector = decl.selector; // Looking for namespaced non-nested properties
- // Namespaced prop is basically a prop with a `-` in a name, e.g. `margin-top`
-
- if (type === "decl") {
- if (!(0, _utils.isStandardSyntaxProperty)(prop)) {
- return;
- } // Add simple namespaced prop decls to warningCandidates.ns
- // (prop names with browser prefixes are ignored)
-
-
- var seekNamespace = /^([a-zA-Z0-9]+)-/.exec(prop);
-
- if (seekNamespace && seekNamespace[1]) {
- var ns = seekNamespace[1];
-
- if (!hasOwnProp.call(warningCandidates, ns)) {
- warningCandidates[ns] = [];
- }
-
- warningCandidates[ns].push({
- node: decl
- });
- }
- } // Nested props, `prop: [value] { <nested decls> }`
-
-
- if (type === "rule") {
- // `background:red {` - selector;
- // `background: red {` - nested prop; space is decisive here
- var testForProp = (0, _utils.parseNestedPropRoot)(selector);
-
- if (testForProp && testForProp.propName !== undefined) {
- var _ns = testForProp.propName.value;
-
- if (!hasOwnProp.call(warningCandidates, _ns)) {
- warningCandidates[_ns] = [];
- }
-
- warningCandidates[_ns].push({
- node: decl,
- nested: true
- });
- }
- }
- }); // Now check if the found properties deserve warnings
-
- Object.keys(warningCandidates).forEach(function (namespace) {
- var exceptIfOnlyOfNs = (0, _utils.optionsHaveException)(options, "only-of-namespace");
- var moreThanOneProp = warningCandidates[namespace].length > 1;
- warningCandidates[namespace].forEach(function (candidate) {
- if (candidate.nested === true) {
- if (exceptIfOnlyOfNs) {
- // If there is only one prop inside a nested prop - warn (reverse "always")
- if (candidate.nested === true && candidate.node.nodes.length === 1) {
- _stylelint.utils.report({
- message: messages.rejected(namespace),
- node: candidate.node,
- result: result,
- ruleName: ruleName
- });
- }
- }
- } else {
- // Don't warn on non-nested namespaced props if there are
- // less than 2 of them, and except: "only-of-namespace" is set
- if (exceptIfOnlyOfNs && !moreThanOneProp) {
- return;
- }
-
- _stylelint.utils.report({
- message: messages.expected(candidate.node.prop),
- node: candidate.node,
- result: result,
- ruleName: ruleName
- });
- }
- });
- });
- });
- } else if (expectation === "never") {
- root.walk(function (item) {
- // Just check if there are ANY nested props
- if (item.type === "rule") {
- // `background:red {` - selector;
- // `background: red {` - nested prop; space is decisive here
- var testForProp = (0, _utils.parseNestedPropRoot)(item.selector);
-
- if (testForProp && testForProp.propName !== undefined) {
- _stylelint.utils.report({
- message: messages.rejected(testForProp.propName.value),
- result: result,
- ruleName: ruleName,
- node: item
- });
- }
- }
- });
- }
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/dimension-no-non-numeric-values/index.js b/assets/node_modules/stylelint-scss/dist/rules/dimension-no-non-numeric-values/index.js
deleted file mode 100644
index be962f9..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/dimension-no-non-numeric-values/index.js
+++ /dev/null
@@ -1,102 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = rule;
-exports.units = exports.messages = exports.ruleName = void 0;
-
-var _postcssValueParser = _interopRequireDefault(require("postcss-value-parser"));
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var ruleName = (0, _utils.namespace)("dimension-no-non-numeric-values");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: function rejected(unit) {
- return "Expected \"$value * 1".concat(unit, "\" instead of \"#{$value}").concat(unit, "\". Consider writing \"value\" in terms of ").concat(unit, " originally.");
- }
-});
-
-exports.messages = messages;
-var units = [// Font-relative lengths:
-// https://www.w3.org/TR/css-values-4/#font-relative-lengths
-"em", "ex", "cap", "ch", "ic", "rem", "lh", "rlh", // Viewport-relative lengths:
-// https://www.w3.org/TR/css-values-4/#viewport-relative-lengths
-"vw", "vh", "vi", "vb", "vmin", "vmax", // Absolute lengths:
-// https://www.w3.org/TR/css-values-4/#absolute-lengths
-"cm", "mm", "Q", "in", "pc", "pt", "px", // Angle units:
-// https://www.w3.org/TR/css-values-4/#angles
-"deg", "grad", "rad", "turn", // Duration units:
-// https://www.w3.org/TR/css-values-4/#time
-"s", "ms", // Frequency units:
-// https://www.w3.org/TR/css-values-4/#frequency
-"Hz", "kHz", // Resolution units:
-// https://www.w3.org/TR/css-values-4/#resolution
-"dpi", "dpcm", "dppx", "x", // Flexible lengths:
-// https://www.w3.org/TR/css-grid-1/#fr-unit
-"fr"];
-exports.units = units;
-
-function rule(primary) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: primary
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkDecls(function (decl) {
- (0, _postcssValueParser["default"])(decl.value).walk(function (node) {
- // All words are non-quoted, while strings are quoted.
- // If quoted, it's probably a deliberate non-numeric dimension.
- if (node.type !== "word") {
- return;
- }
-
- if (!isInterpolated(node.value)) {
- return;
- }
-
- var regex = new RegExp("#{[$a-z_0-9 +-]*}(".concat(units.join("|"), ");?"));
- var matchUnit = decl.value.match(regex);
- var unit = matchUnit[1];
- var offset = decl.value.indexOf(unit);
-
- _stylelint.utils.report({
- ruleName: ruleName,
- result: result,
- message: messages.rejected(unit),
- index: (0, _utils.declarationValueIndex)(decl) + offset,
- node: decl
- });
- });
- });
- };
-}
-
-function isInterpolated(value) {
- var _boolean = false; // ValueParser breaks up interpolation with math into multiple, fragmented
- // segments (#{$value, +, 2}px). The easiest way to detect this is to look for a fragmented
- // interpolated section.
-
- if (value.match(/^#{\$[a-z]*$/)) {
- return true;
- }
-
- units.forEach(function (unit) {
- var regex = new RegExp("^#{[$a-z_0-9 +-]*}".concat(unit, ";?$"));
-
- if (value.match(regex)) {
- _boolean = true;
- }
- });
- return _boolean;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-colon-newline-after/index.js b/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-colon-newline-after/index.js
deleted file mode 100644
index 03b9a43..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-colon-newline-after/index.js
+++ /dev/null
@@ -1,112 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _lodash = require("lodash");
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("dollar-variable-colon-newline-after");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expectedAfter: function expectedAfter() {
- return 'Expected newline after ":"';
- },
- expectedAfterMultiLine: function expectedAfterMultiLine() {
- return 'Expected newline after ":" with a multi-line value';
- }
-});
-
-exports.messages = messages;
-
-function _default(expectation, options, context) {
- var checker = (0, _utils.whitespaceChecker)("newline", expectation, messages);
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always", "always-multi-line"]
- }, {
- actual: options,
- possible: {
- disableFix: _lodash.isBoolean
- },
- optional: true
- });
-
- if (!validOptions) {
- return;
- }
-
- var shouldFix = context.fix && (!options || options.disableFix !== true);
- root.walkDecls(function (decl) {
- if (!decl.prop || decl.prop[0] !== "$") {
- return;
- }
-
- var value = decl.value.trim();
- var startsWithParen = value[0] === "(";
- var endsWithParen = value[value.length - 1] === ")";
- var endsWithDefault = /\)\s*!default$/.test(value);
- var isMultilineVarWithParens = startsWithParen && (endsWithParen || endsWithDefault) && !(0, _utils.isSingleLineString)(value);
-
- if (isMultilineVarWithParens) {
- return;
- } // Get the raw $var, and only that
-
-
- var endOfPropIndex = (0, _utils.declarationValueIndex)(decl) + decl.raw("between").length - 1; // `$var:`, `$var :`
-
- var propPlusColon = decl.toString().slice(0, endOfPropIndex);
-
- var _loop2 = function _loop2(i, l) {
- if (propPlusColon[i] !== ":") {
- return "continue";
- }
-
- var indexToCheck = propPlusColon.substr(propPlusColon[i], 3) === "/*" ? propPlusColon.indexOf("*/", i) + 1 : i;
- checker.afterOneOnly({
- source: propPlusColon,
- index: indexToCheck,
- lineCheckStr: decl.value,
- err: function err(m) {
- if (shouldFix) {
- var nextLinePrefix = expectation === "always" ? decl.raws.before.replace(context.newline, "") : decl.value.split(context.newline)[1].replace(/^(\s+).*$/, function (_, whitespace) {
- return whitespace;
- });
- decl.raws.between = decl.raws.between.replace(/:(.*)$/, ":".concat(context.newline).concat(nextLinePrefix));
- return;
- }
-
- _stylelint.utils.report({
- message: m,
- node: decl,
- index: indexToCheck,
- result: result,
- ruleName: ruleName
- });
- }
- });
- return "break";
- };
-
- _loop: for (var i = 0, l = propPlusColon.length; i < l; i++) {
- var _ret = _loop2(i, l);
-
- switch (_ret) {
- case "continue":
- continue;
-
- case "break":
- break _loop;
- }
- }
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-colon-space-after/index.js b/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-colon-space-after/index.js
deleted file mode 100644
index f797589..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-colon-space-after/index.js
+++ /dev/null
@@ -1,129 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.variableColonSpaceChecker = variableColonSpaceChecker;
-exports.messages = exports.ruleName = void 0;
-
-var _utils = require("../../utils");
-
-var _stylelint = require("stylelint");
-
-var ruleName = (0, _utils.namespace)("dollar-variable-colon-space-after");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expectedAfter: function expectedAfter() {
- return 'Expected single space after ":"';
- },
- rejectedAfter: function rejectedAfter() {
- return 'Unexpected whitespace after ":"';
- },
- expectedAfterSingleLine: function expectedAfterSingleLine() {
- return 'Expected single space after ":" with a single-line value';
- },
- expectedAfterAtLeast: function expectedAfterAtLeast() {
- return 'Expected at least one space after ":"';
- }
-});
-
-exports.messages = messages;
-
-function _default(expectation, _, context) {
- var checker = (0, _utils.whitespaceChecker)("space", expectation, messages);
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always", "never", "always-single-line", "at-least-one-space"]
- });
-
- if (!validOptions) {
- return;
- }
-
- variableColonSpaceChecker({
- root: root,
- result: result,
- locationChecker: checker.after,
- checkedRuleName: ruleName,
- position: "after",
- expectation: expectation,
- context: context
- });
- };
-}
-
-function variableColonSpaceChecker(_ref) {
- var locationChecker = _ref.locationChecker,
- root = _ref.root,
- result = _ref.result,
- checkedRuleName = _ref.checkedRuleName,
- position = _ref.position,
- expectation = _ref.expectation,
- context = _ref.context;
- root.walkDecls(function (decl) {
- if (decl.prop === undefined || decl.prop[0] !== "$") {
- return;
- }
-
- if (context && context.fix) {
- if (expectation === "always-single-line" && !(0, _utils.isSingleLineString)(decl.value)) {
- return;
- }
-
- if (position === "before") {
- var replacement = expectation === "never" ? ":" : " :";
- decl.raws.between = decl.raws.between.replace(/\s*:/, replacement);
- } else if (position === "after") {
- var match = expectation === "at-least-one-space" ? /:(?! )/ : /:\s*/;
-
- var _replacement = expectation === "never" ? ":" : ": ";
-
- decl.raws.between = decl.raws.between.replace(match, _replacement);
- }
-
- return;
- } // Get the raw $var, and only that
-
-
- var endOfPropIndex = (0, _utils.declarationValueIndex)(decl) + decl.raw("between").length - 1; // `$var:`, `$var :`
-
- var propPlusColon = decl.toString().slice(0, endOfPropIndex);
-
- var _loop2 = function _loop2(i) {
- if (propPlusColon[i] !== ":") {
- return "continue";
- }
-
- locationChecker({
- source: propPlusColon,
- index: i,
- lineCheckStr: decl.value,
- err: function err(m) {
- _stylelint.utils.report({
- message: m,
- node: decl,
- index: i,
- result: result,
- ruleName: checkedRuleName
- });
- }
- });
- return "break";
- };
-
- _loop: for (var i = 0; i < propPlusColon.length; i++) {
- var _ret = _loop2(i);
-
- switch (_ret) {
- case "continue":
- continue;
-
- case "break":
- break _loop;
- }
- }
- });
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-colon-space-before/index.js b/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-colon-space-before/index.js
deleted file mode 100644
index d83ed18..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-colon-space-before/index.js
+++ /dev/null
@@ -1,51 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _utils = require("../../utils");
-
-var _stylelint = require("stylelint");
-
-var _dollarVariableColonSpaceAfter = require("../dollar-variable-colon-space-after");
-
-var ruleName = (0, _utils.namespace)("dollar-variable-colon-space-before");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expectedBefore: function expectedBefore() {
- return 'Expected single space before ":"';
- },
- rejectedBefore: function rejectedBefore() {
- return 'Unexpected whitespace before ":"';
- }
-});
-
-exports.messages = messages;
-
-function _default(expectation, _, context) {
- var checker = (0, _utils.whitespaceChecker)("space", expectation, messages);
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always", "never"]
- });
-
- if (!validOptions) {
- return;
- }
-
- (0, _dollarVariableColonSpaceAfter.variableColonSpaceChecker)({
- root: root,
- result: result,
- locationChecker: checker.before,
- checkedRuleName: ruleName,
- position: "before",
- expectation: expectation,
- context: context
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-default/index.js b/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-default/index.js
deleted file mode 100644
index 4cca8b2..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-default/index.js
+++ /dev/null
@@ -1,63 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("dollar-variable-default");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: function expected(variable) {
- return "Expected !default flag for \"".concat(variable, "\"");
- }
-});
-
-exports.messages = messages;
-
-function _default(primaryOption, secondaryOptions) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: primaryOption
- }, {
- actual: secondaryOptions,
- possible: {
- ignore: ["local"]
- },
- optional: true
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkDecls(function (decl) {
- // not variable
- if (decl.prop[0] !== "$") {
- return;
- } // "ignore" options
-
-
- if ((0, _utils.optionsHaveIgnored)(secondaryOptions, "local") && decl.parent.type !== "root") {
- return;
- }
-
- if (decl.value.toLowerCase().includes("!default")) {
- return;
- }
-
- _stylelint.utils.report({
- message: messages.expected(decl.prop),
- node: decl,
- result: result,
- ruleName: ruleName
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-empty-line-before/index.js b/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-empty-line-before/index.js
deleted file mode 100644
index c6ab2f3..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-empty-line-before/index.js
+++ /dev/null
@@ -1,126 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _utils = require("../../utils");
-
-var _stylelint = require("stylelint");
-
-var _lodash = require("lodash");
-
-var ruleName = (0, _utils.namespace)("dollar-variable-empty-line-before");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Expected an empty line before $-variable",
- rejected: "Unexpected empty line before $-variable"
-});
-
-exports.messages = messages;
-
-function _default(expectation, options, context) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always", "never"]
- }, {
- actual: options,
- possible: {
- except: ["first-nested", "after-comment", "after-dollar-variable"],
- ignore: ["after-comment", "inside-single-line-block"],
- disableFix: _lodash.isBoolean
- },
- optional: true
- });
-
- if (!validOptions) {
- return;
- }
-
- var fix = function fix(decl, match, replace) {
- decl.raws.before = decl.raws.before.replace(new RegExp("^".concat(match)), replace);
- };
-
- var hasNewline = function hasNewline(str) {
- return str.includes(context.newline);
- };
-
- root.walkDecls(function (decl) {
- if (!isDollarVar(decl)) {
- return;
- } // Always ignore the first $var in a stylesheet
-
-
- if (decl === root.first) {
- return;
- } // If ignoring vars after comments is set
-
-
- if ((0, _utils.optionsHaveIgnored)(options, "after-comment") && decl.prev() && decl.prev().type === "comment") {
- return;
- } // If ignoring single-line blocks
-
-
- if ((0, _utils.optionsHaveIgnored)(options, "inside-single-line-block") && decl.parent.type !== "root" && (0, _utils.isSingleLineString)((0, _utils.blockString)(decl.parent))) {
- return;
- }
-
- var expectHasEmptyLineBefore = expectation === "always"; // Reverse for a variable that is a first child of its parent
-
- if ((0, _utils.optionsHaveException)(options, "first-nested") && decl === decl.parent.first) {
- expectHasEmptyLineBefore = !expectHasEmptyLineBefore;
- } // Reverse if after a comment
-
-
- if ((0, _utils.optionsHaveException)(options, "after-comment") && decl.prev() && decl.prev().type === "comment") {
- expectHasEmptyLineBefore = !expectHasEmptyLineBefore;
- } // Reverse if after another $-variable
-
-
- if ((0, _utils.optionsHaveException)(options, "after-dollar-variable") && decl.prev() && isDollarVar(decl.prev())) {
- expectHasEmptyLineBefore = !expectHasEmptyLineBefore;
- }
-
- var before = decl.raws.before;
-
- if (expectHasEmptyLineBefore === (0, _utils.hasEmptyLine)(before)) {
- return;
- }
-
- var isFixDisabled = options && options.disableFix === true;
-
- if (context.fix && !isFixDisabled) {
- if (expectHasEmptyLineBefore && !(0, _utils.hasEmptyLine)(before)) {
- fix(decl, context.newline, context.newline + context.newline);
-
- if ((0, _utils.optionsHaveException)(options, "first-nested") && !hasNewline(before)) {
- fix(decl, "\\s+", context.newline + context.newline);
- }
-
- return;
- }
-
- if (!expectHasEmptyLineBefore && (0, _utils.hasEmptyLine)(before)) {
- fix(decl, "\\n\\r\\n", "\r\n");
- fix(decl, context.newline + context.newline, context.newline);
- return;
- }
- }
-
- _stylelint.utils.report({
- message: expectHasEmptyLineBefore ? messages.expected : messages.rejected,
- node: decl,
- result: result,
- ruleName: ruleName
- });
- });
- };
-}
-
-function isDollarVar(node) {
- return node.prop && node.prop[0] === "$";
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-no-missing-interpolation/index.js b/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-no-missing-interpolation/index.js
deleted file mode 100644
index 58dd4ec..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-no-missing-interpolation/index.js
+++ /dev/null
@@ -1,146 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var _postcssValueParser = _interopRequireDefault(require("postcss-value-parser"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var ruleName = (0, _utils.namespace)("dollar-variable-no-missing-interpolation");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: function rejected(n, v) {
- return "Expected variable ".concat(v, " to be interpolated when using it with ").concat(n);
- }
-}); // https://developer.mozilla.org/en/docs/Web/CSS/custom-ident#Lists_of_excluded_values
-
-
-exports.messages = messages;
-var customIdentProps = ["animation", "animation-name", "counter-reset", "counter-increment", "list-style-type", "will-change"]; // https://developer.mozilla.org/en/docs/Web/CSS/At-rule
-
-var customIdentAtRules = ["counter-style", "keyframes", "supports"];
-
-function isAtRule(type) {
- return type === "atrule";
-}
-
-function isCustomIdentAtRule(node) {
- return isAtRule(node.type) && customIdentAtRules.includes(node.name);
-}
-
-function isCustomIdentProp(node) {
- return customIdentProps.includes(node.prop);
-}
-
-function isAtSupports(node) {
- return isAtRule(node.type) && node.name === "supports";
-}
-
-function isSassVar(value) {
- return value[0] === "$";
-}
-
-function isStringVal(value) {
- return /^("|').*("|')$/.test(value);
-}
-
-function toRegex(arr) {
- return new RegExp("(".concat(arr.join("|"), ")"));
-}
-
-function _default(actual) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: actual
- });
-
- if (!validOptions) {
- return;
- }
-
- var stringVars = [];
- var vars = [];
-
- function findVars(node) {
- node.walkDecls(function (decl) {
- var prop = decl.prop,
- value = decl.value;
-
- if (!isSassVar(prop) || vars.includes(prop)) {
- return;
- }
-
- if (isStringVal(value)) {
- stringVars.push(prop);
- }
-
- vars.push(prop);
- });
- }
-
- findVars(root);
- root.walkRules(findVars);
-
- if (!vars.length) {
- return;
- }
-
- function shouldReport(node, value) {
- if (isAtSupports(node) || isCustomIdentProp(node)) {
- return stringVars.includes(value);
- }
-
- if (isCustomIdentAtRule(node)) {
- return vars.includes(value);
- }
-
- return false;
- }
-
- function report(node, value) {
- var name = node.name,
- prop = node.prop,
- type = node.type;
- var nodeName = isAtRule(type) ? "@".concat(name) : prop;
-
- _stylelint.utils.report({
- ruleName: ruleName,
- result: result,
- node: node,
- message: messages.rejected(nodeName, value)
- });
- }
-
- function exitEarly(node) {
- return node.type !== "word" || !node.value;
- }
-
- function walkValues(node, value) {
- (0, _postcssValueParser["default"])(value).walk(function (valNode) {
- var value = valNode.value;
-
- if (exitEarly(valNode) || !shouldReport(node, value)) {
- return;
- }
-
- report(node, value);
- });
- }
-
- root.walkDecls(toRegex(customIdentProps), function (decl) {
- walkValues(decl, decl.value);
- });
- root.walkAtRules(toRegex(customIdentAtRules), function (atRule) {
- walkValues(atRule, atRule.params);
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-pattern/index.js b/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-pattern/index.js
deleted file mode 100644
index ca6580d..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/dollar-variable-pattern/index.js
+++ /dev/null
@@ -1,66 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _lodash = require("lodash");
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("dollar-variable-pattern");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Expected $ variable name to match specified pattern"
-});
-
-exports.messages = messages;
-
-function _default(pattern, options) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: pattern,
- possible: [_lodash.isRegExp, _lodash.isString]
- }, {
- actual: options,
- possible: {
- ignore: ["local", "global"]
- },
- optional: true
- });
-
- if (!validOptions) {
- return;
- }
-
- var regexpPattern = (0, _lodash.isString)(pattern) ? new RegExp(pattern) : pattern;
- root.walkDecls(function (decl) {
- var prop = decl.prop;
-
- if (prop[0] !== "$") {
- return;
- } // If local or global variables need to be ignored
-
-
- if ((0, _utils.optionsHaveIgnored)(options, "global") && decl.parent.type === "root" || (0, _utils.optionsHaveIgnored)(options, "local") && decl.parent.type !== "root") {
- return;
- }
-
- if (regexpPattern.test(prop.slice(1))) {
- return;
- }
-
- _stylelint.utils.report({
- message: messages.expected,
- node: decl,
- result: result,
- ruleName: ruleName
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/double-slash-comment-empty-line-before/index.js b/assets/node_modules/stylelint-scss/dist/rules/double-slash-comment-empty-line-before/index.js
deleted file mode 100644
index a0a3448..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/double-slash-comment-empty-line-before/index.js
+++ /dev/null
@@ -1,107 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("double-slash-comment-empty-line-before");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Expected empty line before comment",
- rejected: "Unexpected empty line before comment"
-});
-
-exports.messages = messages;
-var stylelintCommandPrefix = "stylelint-";
-
-function _default(expectation, options, context) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always", "never"]
- }, {
- actual: options,
- possible: {
- except: ["first-nested"],
- ignore: ["stylelint-commands", "between-comments"]
- },
- optional: true
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkComments(function (comment) {
- // Only process // comments
- if (!comment.raws.inline && !comment.inline) {
- return;
- }
-
- if ((0, _utils.isInlineComment)(comment)) {
- return;
- } // Ignore the first node
-
-
- if (comment === root.first) {
- return;
- } // Optionally ignore stylelint commands
-
-
- if (comment.text.indexOf(stylelintCommandPrefix) === 0 && (0, _utils.optionsHaveIgnored)(options, "stylelint-commands")) {
- return;
- } // Optionally ignore newlines between comments
-
-
- var prev = comment.prev();
-
- if (prev && prev.type === "comment" && (0, _utils.optionsHaveIgnored)(options, "between-comments")) {
- return;
- }
-
- var before = comment.raw("before");
-
- var expectEmptyLineBefore = function () {
- if ((0, _utils.optionsHaveException)(options, "first-nested") && comment.parent !== root && comment === comment.parent.first) {
- return false;
- }
-
- return expectation === "always";
- }();
-
- var hasEmptyLineBefore = before.search(/\n\s*?\n/) !== -1; // Return if the expectation is met
-
- if (expectEmptyLineBefore === hasEmptyLineBefore) {
- return;
- }
-
- if (context.fix) {
- if (expectEmptyLineBefore && !hasEmptyLineBefore) {
- (0, _utils.addEmptyLineBefore)(comment, context.newline);
- return;
- }
-
- if (!expectEmptyLineBefore && hasEmptyLineBefore) {
- (0, _utils.removeEmptyLinesBefore)(comment, context.newline);
- return;
- }
- }
-
- var message = expectEmptyLineBefore ? messages.expected : messages.rejected;
-
- _stylelint.utils.report({
- message: message,
- node: comment,
- result: result,
- ruleName: ruleName
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/double-slash-comment-inline/index.js b/assets/node_modules/stylelint-scss/dist/rules/double-slash-comment-inline/index.js
deleted file mode 100644
index 6a55466..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/double-slash-comment-inline/index.js
+++ /dev/null
@@ -1,83 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _utils = require("../../utils");
-
-var _stylelint = require("stylelint");
-
-var ruleName = (0, _utils.namespace)("double-slash-comment-inline");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Expected //-comment to be inline comment",
- rejected: "Unexpected inline //-comment"
-});
-
-exports.messages = messages;
-var stylelintCommandPrefix = "stylelint-";
-
-function _default(expectation, options) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always", "never"]
- }, {
- actual: options,
- possible: {
- ignore: ["stylelint-commands"]
- },
- optional: true
- });
-
- if (!validOptions) {
- return;
- }
-
- (0, _utils.eachRoot)(root, checkRoot);
-
- function checkRoot(root) {
- var rootString = root.source.input.css;
-
- if (rootString.trim() === "") {
- return;
- }
-
- var comments = (0, _utils.findCommentsInRaws)(rootString);
- comments.forEach(function (comment) {
- // Only process // comments
- if (comment.type !== "double-slash") {
- return;
- } // Optionally ignore stylelint commands
-
-
- if (comment.text.indexOf(stylelintCommandPrefix) === 0 && (0, _utils.optionsHaveIgnored)(options, "stylelint-commands")) {
- return;
- }
-
- var isInline = comment.inlineAfter || comment.inlineBefore;
- var message;
-
- if (isInline && expectation === "never") {
- message = messages.rejected;
- } else if (!isInline && expectation === "always") {
- message = messages.expected;
- } else {
- return;
- }
-
- _stylelint.utils.report({
- message: message,
- node: root,
- index: comment.source.start,
- result: result,
- ruleName: ruleName
- });
- });
- }
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/double-slash-comment-whitespace-inside/index.js b/assets/node_modules/stylelint-scss/dist/rules/double-slash-comment-whitespace-inside/index.js
deleted file mode 100644
index 59faf89..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/double-slash-comment-whitespace-inside/index.js
+++ /dev/null
@@ -1,76 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _utils = require("../../utils");
-
-var _stylelint = require("stylelint");
-
-var ruleName = (0, _utils.namespace)("double-slash-comment-whitespace-inside");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Expected a space after //",
- rejected: "Unexpected space after //"
-});
-
-exports.messages = messages;
-
-function _default(expectation) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always", "never"]
- });
-
- if (!validOptions) {
- return;
- }
-
- (0, _utils.eachRoot)(root, checkRoot);
-
- function checkRoot(root) {
- var rootString = root.source.input.css;
-
- if (rootString.trim() === "") {
- return;
- }
-
- var comments = (0, _utils.findCommentsInRaws)(rootString);
- comments.forEach(function (comment) {
- // Only process // comments
- if (comment.type !== "double-slash") {
- return;
- } // if it's `//` - no warning whatsoever; if `// ` - then trailing
- // whitespace rule will govern this
-
-
- if (comment.text === "") {
- return;
- }
-
- var message;
-
- if (expectation === "never" && comment.raws.left !== "") {
- message = messages.rejected;
- } else if (comment.raws.left === "" && expectation === "always") {
- message = messages.expected;
- } else {
- return;
- }
-
- _stylelint.utils.report({
- message: message,
- node: root,
- index: comment.source.start + comment.raws.startToken.length,
- result: result,
- ruleName: ruleName
- });
- });
- }
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/function-color-relative/index.js b/assets/node_modules/stylelint-scss/dist/rules/function-color-relative/index.js
deleted file mode 100644
index b245a23..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/function-color-relative/index.js
+++ /dev/null
@@ -1,57 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var _postcssValueParser = _interopRequireDefault(require("postcss-value-parser"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var ruleName = (0, _utils.namespace)("function-color-relative");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: "Expected the scale-color function to be used"
-});
-
-exports.messages = messages;
-var function_names = ["saturate", "desaturate", "darken", "lighten", "opacify", "fade-in", "transparentize", "fade-out"];
-
-function rule(primary) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: primary
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkDecls(function (decl) {
- (0, _postcssValueParser["default"])(decl.value).walk(function (node) {
- // Verify that we're only looking at functions.
- if (node.type !== "function" || node.value === "") {
- return;
- }
-
- if (function_names.includes(node.value)) {
- _stylelint.utils.report({
- message: messages.rejected,
- node: decl,
- result: result,
- ruleName: ruleName
- });
- }
- });
- });
- };
-}
-
-var _default = rule;
-exports["default"] = _default; \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/function-quote-no-quoted-strings-inside/index.js b/assets/node_modules/stylelint-scss/dist/rules/function-quote-no-quoted-strings-inside/index.js
deleted file mode 100644
index 377e121..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/function-quote-no-quoted-strings-inside/index.js
+++ /dev/null
@@ -1,79 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var _postcssValueParser = _interopRequireDefault(require("postcss-value-parser"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var ruleName = (0, _utils.namespace)("function-quote-no-quoted-strings-inside");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: "Quote function used with an already-quoted string"
-});
-
-exports.messages = messages;
-
-function rule(primary, _, context) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: primary
- });
-
- if (!validOptions) {
- return;
- } // Setup variable naming.
-
-
- var vars = {};
- root.walkDecls(function (decl) {
- if (decl.prop[0] !== "$") {
- return;
- }
-
- (0, _postcssValueParser["default"])(decl.value).walk(function (node) {
- vars[decl.prop] = node.type;
- });
- });
- root.walkDecls(function (decl) {
- (0, _postcssValueParser["default"])(decl.value).walk(function (node) {
- // Verify that we're only looking at functions.
- if (node.type !== "function" || (0, _utils.isNativeCssFunction)(node.value) || node.value === "") {
- return;
- } // Verify we're only looking at quote() calls.
-
-
- if (node.value !== "quote") {
- return;
- } // Report error if first character is a quote.
- // postcss-value-parser represents quoted strings as type 'string' (as opposed to word)
-
-
- if (node.nodes[0].quote || vars[node.nodes[0].value] === "string") {
- if (context.fix) {
- var contents = /quote\((.*)\)/.exec(decl.value);
- decl.value = contents[1];
- } else {
- _stylelint.utils.report({
- message: messages.rejected,
- node: decl,
- result: result,
- ruleName: ruleName
- });
- }
- }
- });
- });
- };
-}
-
-var _default = rule;
-exports["default"] = _default; \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/function-unquote-no-unquoted-strings-inside/index.js b/assets/node_modules/stylelint-scss/dist/rules/function-unquote-no-unquoted-strings-inside/index.js
deleted file mode 100644
index 38d2ca3..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/function-unquote-no-unquoted-strings-inside/index.js
+++ /dev/null
@@ -1,79 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var _postcssValueParser = _interopRequireDefault(require("postcss-value-parser"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var ruleName = (0, _utils.namespace)("function-unquote-no-unquoted-strings-inside");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: "Unquote function used with an already-unquoted string"
-});
-
-exports.messages = messages;
-
-function rule(primary, _, context) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: primary
- });
-
- if (!validOptions) {
- return;
- } // Setup variable naming.
-
-
- var vars = {};
- root.walkDecls(function (decl) {
- if (decl.prop[0] !== "$") {
- return;
- }
-
- (0, _postcssValueParser["default"])(decl.value).walk(function (node) {
- vars[decl.prop] = node.type;
- });
- });
- root.walkDecls(function (decl) {
- (0, _postcssValueParser["default"])(decl.value).walk(function (node) {
- // Verify that we're only looking at functions.
- if (node.type !== "function" || (0, _utils.isNativeCssFunction)(node.value) || node.value === "") {
- return;
- } // Verify we're only looking at quote() calls.
-
-
- if (node.value !== "unquote") {
- return;
- } // Report error if first character is a quote.
- // postcss-value-parser represents quoted strings as type 'string' (as opposed to word)
-
-
- if (!node.nodes[0].quote && node.nodes[0].value[0] !== "$" || vars[node.nodes[0].value] === "word") {
- if (context.fix) {
- var contents = /unquote\((.*)\)/.exec(decl.value);
- decl.value = contents[1];
- } else {
- _stylelint.utils.report({
- message: messages.rejected,
- node: decl,
- result: result,
- ruleName: ruleName
- });
- }
- }
- });
- });
- };
-}
-
-var _default = rule;
-exports["default"] = _default; \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/index.js b/assets/node_modules/stylelint-scss/dist/rules/index.js
deleted file mode 100644
index 2257614..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/index.js
+++ /dev/null
@@ -1,168 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = void 0;
-
-var _atEachKeyValueSingleLine = _interopRequireDefault(require("./at-each-key-value-single-line"));
-
-var _atElseClosingBraceNewlineAfter = _interopRequireDefault(require("./at-else-closing-brace-newline-after"));
-
-var _atElseClosingBraceSpaceAfter = _interopRequireDefault(require("./at-else-closing-brace-space-after"));
-
-var _atElseEmptyLineBefore = _interopRequireDefault(require("./at-else-empty-line-before"));
-
-var _atElseIfParenthesesSpaceBefore = _interopRequireDefault(require("./at-else-if-parentheses-space-before"));
-
-var _atExtendNoMissingPlaceholder = _interopRequireDefault(require("./at-extend-no-missing-placeholder"));
-
-var _atFunctionNamedArguments = _interopRequireDefault(require("./at-function-named-arguments"));
-
-var _atFunctionParenthesesSpaceBefore = _interopRequireDefault(require("./at-function-parentheses-space-before"));
-
-var _atFunctionPattern = _interopRequireDefault(require("./at-function-pattern"));
-
-var _atIfClosingBraceNewlineAfter = _interopRequireDefault(require("./at-if-closing-brace-newline-after"));
-
-var _atIfClosingBraceSpaceAfter = _interopRequireDefault(require("./at-if-closing-brace-space-after"));
-
-var _atIfNoNull = _interopRequireDefault(require("./at-if-no-null"));
-
-var _atImportNoPartialLeadingUnderscore = _interopRequireDefault(require("./at-import-no-partial-leading-underscore"));
-
-var _atImportPartialExtension = _interopRequireDefault(require("./at-import-partial-extension"));
-
-var _atImportPartialExtensionBlacklist = _interopRequireDefault(require("./at-import-partial-extension-blacklist"));
-
-var _atImportPartialExtensionWhitelist = _interopRequireDefault(require("./at-import-partial-extension-whitelist"));
-
-var _atMixinArgumentlessCallParentheses = _interopRequireDefault(require("./at-mixin-argumentless-call-parentheses"));
-
-var _atMixinNamedArguments = _interopRequireDefault(require("./at-mixin-named-arguments"));
-
-var _atMixinParenthesesSpaceBefore = _interopRequireDefault(require("./at-mixin-parentheses-space-before"));
-
-var _atMixinPattern = _interopRequireDefault(require("./at-mixin-pattern"));
-
-var _atRuleConditionalNoParentheses = _interopRequireDefault(require("./at-rule-conditional-no-parentheses"));
-
-var _atRuleNoUnknown = _interopRequireDefault(require("./at-rule-no-unknown"));
-
-var _commentNoLoud = _interopRequireDefault(require("./comment-no-loud"));
-
-var _declarationNestedProperties = _interopRequireDefault(require("./declaration-nested-properties"));
-
-var _declarationNestedPropertiesNoDividedGroups = _interopRequireDefault(require("./declaration-nested-properties-no-divided-groups"));
-
-var _dimensionNoNonNumericValues = _interopRequireDefault(require("./dimension-no-non-numeric-values"));
-
-var _dollarVariableColonNewlineAfter = _interopRequireDefault(require("./dollar-variable-colon-newline-after"));
-
-var _dollarVariableColonSpaceAfter = _interopRequireDefault(require("./dollar-variable-colon-space-after"));
-
-var _dollarVariableColonSpaceBefore = _interopRequireDefault(require("./dollar-variable-colon-space-before"));
-
-var _dollarVariableDefault = _interopRequireDefault(require("./dollar-variable-default"));
-
-var _dollarVariableEmptyLineBefore = _interopRequireDefault(require("./dollar-variable-empty-line-before"));
-
-var _dollarVariableNoMissingInterpolation = _interopRequireDefault(require("./dollar-variable-no-missing-interpolation"));
-
-var _dollarVariablePattern = _interopRequireDefault(require("./dollar-variable-pattern"));
-
-var _doubleSlashCommentEmptyLineBefore = _interopRequireDefault(require("./double-slash-comment-empty-line-before"));
-
-var _doubleSlashCommentInline = _interopRequireDefault(require("./double-slash-comment-inline"));
-
-var _doubleSlashCommentWhitespaceInside = _interopRequireDefault(require("./double-slash-comment-whitespace-inside"));
-
-var _functionColorRelative = _interopRequireDefault(require("./function-color-relative"));
-
-var _functionQuoteNoQuotedStringsInside = _interopRequireDefault(require("./function-quote-no-quoted-strings-inside"));
-
-var _functionUnquoteNoUnquotedStringsInside = _interopRequireDefault(require("./function-unquote-no-unquoted-strings-inside"));
-
-var _mapKeysQuotes = _interopRequireDefault(require("./map-keys-quotes"));
-
-var _mediaFeatureValueDollarVariable = _interopRequireDefault(require("./media-feature-value-dollar-variable"));
-
-var _noDollarVariables = _interopRequireDefault(require("./no-dollar-variables"));
-
-var _noDuplicateDollarVariables = _interopRequireDefault(require("./no-duplicate-dollar-variables"));
-
-var _noDuplicateMixins = _interopRequireDefault(require("./no-duplicate-mixins"));
-
-var _operatorNoNewlineAfter = _interopRequireDefault(require("./operator-no-newline-after"));
-
-var _operatorNoNewlineBefore = _interopRequireDefault(require("./operator-no-newline-before"));
-
-var _operatorNoUnspaced = _interopRequireDefault(require("./operator-no-unspaced"));
-
-var _partialNoImport = _interopRequireDefault(require("./partial-no-import"));
-
-var _percentPlaceholderPattern = _interopRequireDefault(require("./percent-placeholder-pattern"));
-
-var _selectorNestCombinators = _interopRequireDefault(require("./selector-nest-combinators"));
-
-var _selectorNoRedundantNestingSelector = _interopRequireDefault(require("./selector-no-redundant-nesting-selector"));
-
-var _selectorNoUnionClassName = _interopRequireDefault(require("./selector-no-union-class-name"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var _default = {
- "at-extend-no-missing-placeholder": _atExtendNoMissingPlaceholder["default"],
- "at-else-closing-brace-newline-after": _atElseClosingBraceNewlineAfter["default"],
- "at-else-closing-brace-space-after": _atElseClosingBraceSpaceAfter["default"],
- "at-else-empty-line-before": _atElseEmptyLineBefore["default"],
- "at-else-if-parentheses-space-before": _atElseIfParenthesesSpaceBefore["default"],
- "at-function-named-arguments": _atFunctionNamedArguments["default"],
- "at-function-parentheses-space-before": _atFunctionParenthesesSpaceBefore["default"],
- "at-function-pattern": _atFunctionPattern["default"],
- "at-if-closing-brace-newline-after": _atIfClosingBraceNewlineAfter["default"],
- "at-if-closing-brace-space-after": _atIfClosingBraceSpaceAfter["default"],
- "at-if-no-null": _atIfNoNull["default"],
- "at-import-no-partial-leading-underscore": _atImportNoPartialLeadingUnderscore["default"],
- "at-import-partial-extension": _atImportPartialExtension["default"],
- "at-import-partial-extension-blacklist": _atImportPartialExtensionBlacklist["default"],
- "at-import-partial-extension-whitelist": _atImportPartialExtensionWhitelist["default"],
- "at-mixin-argumentless-call-parentheses": _atMixinArgumentlessCallParentheses["default"],
- "at-mixin-named-arguments": _atMixinNamedArguments["default"],
- "at-mixin-parentheses-space-before": _atMixinParenthesesSpaceBefore["default"],
- "at-mixin-pattern": _atMixinPattern["default"],
- "at-each-key-value-single-line": _atEachKeyValueSingleLine["default"],
- "at-rule-conditional-no-parentheses": _atRuleConditionalNoParentheses["default"],
- "at-rule-no-unknown": _atRuleNoUnknown["default"],
- "comment-no-loud": _commentNoLoud["default"],
- "declaration-nested-properties": _declarationNestedProperties["default"],
- "declaration-nested-properties-no-divided-groups": _declarationNestedPropertiesNoDividedGroups["default"],
- "dimension-no-non-numeric-values": _dimensionNoNonNumericValues["default"],
- "dollar-variable-colon-newline-after": _dollarVariableColonNewlineAfter["default"],
- "dollar-variable-colon-space-after": _dollarVariableColonSpaceAfter["default"],
- "dollar-variable-colon-space-before": _dollarVariableColonSpaceBefore["default"],
- "dollar-variable-default": _dollarVariableDefault["default"],
- "dollar-variable-empty-line-before": _dollarVariableEmptyLineBefore["default"],
- "dollar-variable-no-missing-interpolation": _dollarVariableNoMissingInterpolation["default"],
- "dollar-variable-pattern": _dollarVariablePattern["default"],
- "double-slash-comment-empty-line-before": _doubleSlashCommentEmptyLineBefore["default"],
- "double-slash-comment-inline": _doubleSlashCommentInline["default"],
- "double-slash-comment-whitespace-inside": _doubleSlashCommentWhitespaceInside["default"],
- "function-quote-no-quoted-strings-inside": _functionQuoteNoQuotedStringsInside["default"],
- "function-unquote-no-unquoted-strings-inside": _functionUnquoteNoUnquotedStringsInside["default"],
- "function-color-relative": _functionColorRelative["default"],
- "map-keys-quotes": _mapKeysQuotes["default"],
- "media-feature-value-dollar-variable": _mediaFeatureValueDollarVariable["default"],
- "no-dollar-variables": _noDollarVariables["default"],
- "no-duplicate-dollar-variables": _noDuplicateDollarVariables["default"],
- "no-duplicate-mixins": _noDuplicateMixins["default"],
- "operator-no-newline-after": _operatorNoNewlineAfter["default"],
- "operator-no-newline-before": _operatorNoNewlineBefore["default"],
- "operator-no-unspaced": _operatorNoUnspaced["default"],
- "percent-placeholder-pattern": _percentPlaceholderPattern["default"],
- "partial-no-import": _partialNoImport["default"],
- "selector-nest-combinators": _selectorNestCombinators["default"],
- "selector-no-redundant-nesting-selector": _selectorNoRedundantNestingSelector["default"],
- "selector-no-union-class-name": _selectorNoUnionClassName["default"]
-};
-exports["default"] = _default; \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/map-keys-quotes/index.js b/assets/node_modules/stylelint-scss/dist/rules/map-keys-quotes/index.js
deleted file mode 100644
index 401666a..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/map-keys-quotes/index.js
+++ /dev/null
@@ -1,99 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = exports.messages = exports.ruleName = void 0;
-
-var _postcssValueParser = _interopRequireDefault(require("postcss-value-parser"));
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var ruleName = (0, _utils.namespace)("map-keys-quotes");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Expected keys in map to be quoted."
-});
-
-exports.messages = messages;
-var mathOperators = ["+", "/", "-", "*", "%"];
-
-function rule(primary) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: primary,
- possible: ["always"]
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkDecls(function (decl) {
- if (decl.prop[0] !== "$") {
- return;
- }
-
- (0, _postcssValueParser["default"])(decl.value).walk(function (node) {
- if (node.type === "function" && node.value === "" && isMap(node.nodes)) {
- // Identify all of the map-keys and see if they're strings (not words).
- var mapKeys = returnMapKeys(node.nodes);
- mapKeys.forEach(function (map_key) {
- if (mathOperators.includes(map_key.value)) {
- return;
- }
-
- if (map_key.type === "word" && isNaN(map_key.value)) {
- _stylelint.utils.report({
- message: messages.expected,
- node: decl,
- result: result,
- ruleName: ruleName
- });
- }
- });
- }
- });
- });
- };
-} // Takes in a list of map nodes and identifies if they are a map.
-// A map is identified by the pattern: [string/word colon(div) anything comma(div) ...]
-
-
-function isMap(nodes) {
- if (nodes.length < 4) {
- return false;
- }
-
- if (nodes[0].type !== "word" && nodes[0].type !== "string") {
- return false;
- }
-
- if (nodes[1].value !== ":") {
- return false;
- }
-
- if (nodes[3].value !== ",") {
- return false;
- }
-
- return true;
-}
-
-function returnMapKeys(array) {
- var new_array = [];
-
- for (var i = 0; i < array.length; i += 4) {
- new_array.push(array[i]);
- }
-
- return new_array;
-}
-
-var _default = rule;
-exports["default"] = _default; \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/media-feature-value-dollar-variable/index.js b/assets/node_modules/stylelint-scss/dist/rules/media-feature-value-dollar-variable/index.js
deleted file mode 100644
index 7c7268f..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/media-feature-value-dollar-variable/index.js
+++ /dev/null
@@ -1,75 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("media-feature-value-dollar-variable");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: "Unexpected dollar-variable as a media feature value",
- expected: "Expected a dollar-variable (e.g. $var) to be used as a media feature value"
-});
-
-exports.messages = messages;
-
-function _default(expectation) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always", "never"]
- });
-
- if (!validOptions) {
- return;
- }
-
- var valueRegex = /:(?:\s*?)(\S.+?)(:?\s*?)\)/; // In `(max-width: 10px )` find `: 10px )`.
- // Got to go with that (the global search doesn't remember parens' insides)
- // and parse it again afterwards to remove trailing junk
-
- var valueRegexGlobal = new RegExp(valueRegex.source, "g"); // `$var-name_sth`
-
- var variableRegex = /^\$[A-Za-z_0-9-]+$/; // `#{$var-name_sth}`
-
- var interpolationVarRegex = /^#\{\s*?\$[A-Za-z_0-9]+\s*?\}$/;
- root.walkAtRules("media", function (atRule) {
- var found = atRule.params.match(valueRegexGlobal); // If there are no values
-
- if (!found || !found.length) {
- return;
- }
-
- found.forEach(function (found) {
- // ... parse `: 10px )` to `10px`
- var valueParsed = found.match(valueRegex)[1]; // Just a shorthand to stylelint.utils.report()
-
- function complain(message) {
- _stylelint.utils.report({
- ruleName: ruleName,
- result: result,
- node: atRule,
- word: valueParsed,
- message: message
- });
- } // A value should be a single variable
- // or it should be a single variable inside Sass interpolation
-
-
- if (expectation === "always" && !(valueParsed.search(variableRegex) !== -1 || valueParsed.search(interpolationVarRegex) !== -1)) {
- complain(messages.expected);
- } else if (expectation === "never" && valueParsed.includes("$")) {
- // "Never" means no variables at all (functions allowed)
- complain(messages.rejected);
- }
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/no-dollar-variables/index.js b/assets/node_modules/stylelint-scss/dist/rules/no-dollar-variables/index.js
deleted file mode 100644
index ed0ed25..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/no-dollar-variables/index.js
+++ /dev/null
@@ -1,47 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("no-dollar-variables");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: function rejected(variable) {
- return "Unexpected dollar variable ".concat(variable);
- }
-});
-
-exports.messages = messages;
-
-function _default(value) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: value
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkDecls(function (decl) {
- if (decl.prop[0] !== "$") {
- return;
- }
-
- _stylelint.utils.report({
- message: messages.rejected(decl.prop),
- node: decl,
- result: result,
- ruleName: ruleName
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/no-duplicate-dollar-variables/index.js b/assets/node_modules/stylelint-scss/dist/rules/no-duplicate-dollar-variables/index.js
deleted file mode 100644
index 557ef86..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/no-duplicate-dollar-variables/index.js
+++ /dev/null
@@ -1,66 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _lodash = require("lodash");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("no-duplicate-dollar-variables");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: function rejected(variable) {
- return "Unexpected duplicate dollar variable ".concat(variable);
- }
-});
-
-exports.messages = messages;
-
-function _default(value, secondaryOptions) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: value
- }, {
- actual: secondaryOptions,
- possible: {
- ignoreInside: ["at-rule", "nested-at-rule"],
- ignoreInsideAtRules: [_lodash.isString]
- },
- optional: true
- });
-
- if (!validOptions) {
- return;
- }
-
- var vars = {};
- root.walkDecls(function (decl) {
- var isVar = decl.prop[0] === "$";
- var isInsideIgnoredAtRule = decl.parent.type === "atrule" && secondaryOptions && secondaryOptions.ignoreInside && secondaryOptions.ignoreInside === "at-rule";
- var isInsideIgnoredNestedAtRule = decl.parent.type === "atrule" && decl.parent.parent.type !== "root" && secondaryOptions && secondaryOptions.ignoreInside && secondaryOptions.ignoreInside === "nested-at-rule";
- var isInsideIgnoredSpecifiedAtRule = decl.parent.type === "atrule" && secondaryOptions && secondaryOptions.ignoreInsideAtRules && secondaryOptions.ignoreInsideAtRules.includes(decl.parent.name);
-
- if (!isVar || isInsideIgnoredAtRule || isInsideIgnoredNestedAtRule || isInsideIgnoredSpecifiedAtRule) {
- return;
- }
-
- if (vars[decl.prop]) {
- _stylelint.utils.report({
- message: messages.rejected(decl.prop),
- node: decl,
- result: result,
- ruleName: ruleName
- });
- }
-
- vars[decl.prop] = true;
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/no-duplicate-mixins/index.js b/assets/node_modules/stylelint-scss/dist/rules/no-duplicate-mixins/index.js
deleted file mode 100644
index 8c84fe9..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/no-duplicate-mixins/index.js
+++ /dev/null
@@ -1,56 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("no-duplicate-mixins");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: function rejected(mixin) {
- return "Unexpected duplicate mixin ".concat(mixin);
- }
-});
-
-exports.messages = messages;
-
-function _default(value) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: value
- });
-
- if (!validOptions) {
- return;
- }
-
- var mixins = {};
- root.walkAtRules(function (decl) {
- var isMixin = decl.name === "mixin";
-
- if (!isMixin) {
- return;
- }
-
- var mixinName = (0, _utils.atRuleBaseName)(decl);
-
- if (mixins[mixinName]) {
- _stylelint.utils.report({
- message: messages.rejected(mixinName),
- node: decl,
- result: result,
- ruleName: ruleName
- });
- }
-
- mixins[mixinName] = true;
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/operator-no-newline-after/index.js b/assets/node_modules/stylelint-scss/dist/rules/operator-no-newline-after/index.js
deleted file mode 100644
index 727bef8..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/operator-no-newline-after/index.js
+++ /dev/null
@@ -1,80 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var _operatorNoUnspaced = require("../operator-no-unspaced");
-
-var ruleName = (0, _utils.namespace)("operator-no-newline-after");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: function rejected(operator) {
- return "Unexpected newline after \"".concat(operator, "\"");
- }
-});
-
-exports.messages = messages;
-
-/**
- * The checker function: whether there is a newline before THAT operator.
- */
-function checkNewlineBefore(_ref) {
- var string = _ref.string,
- globalIndex = _ref.globalIndex,
- startIndex = _ref.startIndex,
- endIndex = _ref.endIndex,
- node = _ref.node,
- result = _ref.result;
- var symbol = string.substring(startIndex, endIndex + 1);
- var newLineBefore = false;
- var index = endIndex + 1;
-
- while (index && (0, _utils.isWhitespace)(string[index])) {
- if (string[index] === "\n") {
- newLineBefore = true;
- break;
- }
-
- index++;
- }
-
- if (newLineBefore) {
- _stylelint.utils.report({
- ruleName: ruleName,
- result: result,
- node: node,
- message: messages.rejected(symbol),
- index: endIndex + globalIndex
- });
- }
-}
-
-function _default(expectation) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation
- });
-
- if (!validOptions) {
- return;
- }
-
- (0, _utils.eachRoot)(root, checkRoot);
-
- function checkRoot(root) {
- (0, _operatorNoUnspaced.calculationOperatorSpaceChecker)({
- root: root,
- result: result,
- checker: checkNewlineBefore
- });
- }
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/operator-no-newline-before/index.js b/assets/node_modules/stylelint-scss/dist/rules/operator-no-newline-before/index.js
deleted file mode 100644
index 12dd6a0..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/operator-no-newline-before/index.js
+++ /dev/null
@@ -1,80 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var _operatorNoUnspaced = require("../operator-no-unspaced");
-
-var ruleName = (0, _utils.namespace)("operator-no-newline-before");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: function rejected(operator) {
- return "Unexpected newline before \"".concat(operator, "\"");
- }
-});
-
-exports.messages = messages;
-
-/**
- * The checker function: whether there is a newline before THAT operator.
- */
-function checkNewlineBefore(_ref) {
- var string = _ref.string,
- globalIndex = _ref.globalIndex,
- startIndex = _ref.startIndex,
- endIndex = _ref.endIndex,
- node = _ref.node,
- result = _ref.result;
- var symbol = string.substring(startIndex, endIndex + 1);
- var newLineBefore = false;
- var index = startIndex - 1;
-
- while (index && (0, _utils.isWhitespace)(string[index])) {
- if (string[index] === "\n") {
- newLineBefore = true;
- break;
- }
-
- index--;
- }
-
- if (newLineBefore) {
- _stylelint.utils.report({
- ruleName: ruleName,
- result: result,
- node: node,
- message: messages.rejected(symbol),
- index: endIndex + globalIndex
- });
- }
-}
-
-function _default(expectation) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation
- });
-
- if (!validOptions) {
- return;
- }
-
- (0, _utils.eachRoot)(root, checkRoot);
-
- function checkRoot(root) {
- (0, _operatorNoUnspaced.calculationOperatorSpaceChecker)({
- root: root,
- result: result,
- checker: checkNewlineBefore
- });
- }
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/operator-no-unspaced/index.js b/assets/node_modules/stylelint-scss/dist/rules/operator-no-unspaced/index.js
deleted file mode 100644
index 2389fee..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/operator-no-unspaced/index.js
+++ /dev/null
@@ -1,268 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.calculationOperatorSpaceChecker = calculationOperatorSpaceChecker;
-exports.messages = exports.ruleName = void 0;
-
-var _postcssMediaQueryParser = _interopRequireDefault(require("postcss-media-query-parser"));
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var ruleName = (0, _utils.namespace)("operator-no-unspaced");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expectedAfter: function expectedAfter(operator) {
- return "Expected single space after \"".concat(operator, "\"");
- },
- expectedBefore: function expectedBefore(operator) {
- return "Expected single space before \"".concat(operator, "\"");
- }
-});
-/**
- * The actual check for are there (un)necessary whitespaces
- */
-
-
-exports.messages = messages;
-
-function checkSpaces(_ref) {
- var string = _ref.string,
- globalIndex = _ref.globalIndex,
- startIndex = _ref.startIndex,
- endIndex = _ref.endIndex,
- node = _ref.node,
- result = _ref.result;
- var symbol = string.substring(startIndex, endIndex + 1);
- var beforeOk = string[startIndex - 1] === " " && !(0, _utils.isWhitespace)(string[startIndex - 2]) || newlineBefore(string, startIndex - 1);
-
- if (!beforeOk) {
- _stylelint.utils.report({
- ruleName: ruleName,
- result: result,
- node: node,
- message: messages.expectedBefore(symbol),
- index: startIndex + globalIndex
- });
- }
-
- var afterOk = string[endIndex + 1] === " " && !(0, _utils.isWhitespace)(string[endIndex + 2]) || string[endIndex + 1] === "\n" || string.substr(endIndex + 1, 2) === "\r\n";
-
- if (!afterOk) {
- _stylelint.utils.report({
- ruleName: ruleName,
- result: result,
- node: node,
- message: messages.expectedAfter(symbol),
- index: endIndex + globalIndex
- });
- }
-}
-
-function newlineBefore(str, startIndex) {
- var index = startIndex;
-
- while (index && (0, _utils.isWhitespace)(str[index])) {
- if (str[index] === "\n") return true;
- index--;
- }
-
- return false;
-}
-
-function _default(expectation) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation
- });
-
- if (!validOptions) {
- return;
- }
-
- (0, _utils.eachRoot)(root, checkRoot);
-
- function checkRoot(root) {
- var rootString = root.source.input.css;
-
- if (rootString.trim() === "") {
- return;
- }
-
- calculationOperatorSpaceChecker({
- root: root,
- result: result,
- checker: checkSpaces
- });
- }
- };
-}
-/**
- * The core rule logic function. This one can be imported by some other rules
- * that work with Sass operators
- *
- * @param {Object} args -- Named arguments object
- * @param {PostCSS Root} args.root
- * @param {PostCSS Result} args.result
- * @param {function} args.checker -- the function that is run against all the
- * operators found in the input. Takes these arguments:
- * {Object} cbArgs -- Named arguments object
- * {string} cbArgs.string -- the input string (suspected operation)
- * {number} cbArgs.globalIndex -- the string's index in a global input
- * {number} cbArgs.startIndex -- the start index of a sybmol to inspect
- * {number} cbArgs.endIndex -- the end index of a sybmol to inspect
- * (two indexes needed to allow for `==`, `!=`, etc.)
- * {PostCSS Node} cbArgs.node -- for stylelint.utils.report
- * {PostCSS Result} cbArgs.result -- for stylelint.utils.report
- */
-
-
-function calculationOperatorSpaceChecker(_ref2) {
- var root = _ref2.root,
- result = _ref2.result,
- checker = _ref2.checker;
-
- /**
- * Takes a string, finds all occurencies of Sass interpolaion in it, then
- * finds all operators inside that interpolation
- *
- * @return {array} An array of ojbects { string, operators } - effectively,
- * a list of operators for each Sass interpolation occurence
- */
- function findInterpolation(string, startIndex) {
- var interpolationRegex = /#{(.*?)}/g;
- var results = []; // Searching for interpolation
-
- var match = interpolationRegex.exec(string);
- startIndex = !isNaN(startIndex) ? Number(startIndex) : 0;
-
- while (match !== null) {
- results.push({
- source: match[0],
- operators: (0, _utils.findOperators)({
- string: match[0],
- globalIndex: match.index + startIndex
- })
- });
- match = interpolationRegex.exec(string);
- }
-
- return results;
- }
-
- root.walk(function (item) {
- if (item.prop === "unicode-range") {
- return;
- }
-
- var results = []; // Check a value (`10px` in `width: 10px;`)
-
- if (item.value !== undefined) {
- results.push({
- source: item.value,
- operators: (0, _utils.findOperators)({
- string: item.value,
- globalIndex: (0, _utils.declarationValueIndex)(item),
- // For Sass variable values some special rules apply
- isAfterColon: item.prop[0] === "$"
- })
- });
- } // Property name
-
-
- if (item.prop !== undefined) {
- results = results.concat(findInterpolation(item.prop));
- } // Selector
-
-
- if (item.selector !== undefined) {
- results = results.concat(findInterpolation(item.selector));
- }
-
- if (item.type === "atrule") {
- // @forward, @use and @at-root
- if (item.name === "forward" || item.name === "use" || item.name === "at-root") {
- return;
- } // Media queries
-
-
- if (item.name === "media" || item.name === "import") {
- (0, _postcssMediaQueryParser["default"])(item.params).walk(function (node) {
- var type = node.type;
-
- if (["keyword", "media-type", "media-feature"].includes(type)) {
- results = results.concat(findInterpolation(node.value, (0, _utils.atRuleParamIndex)(item) + node.sourceIndex));
- } else if (["value", "url"].includes(type)) {
- results.push({
- source: node.value,
- operators: (0, _utils.findOperators)({
- string: node.value,
- globalIndex: (0, _utils.atRuleParamIndex)(item) + node.sourceIndex,
- isAfterColon: true
- })
- });
- }
- });
- } else {
- // Function and mixin definitions and other rules
- results.push({
- source: item.params,
- operators: (0, _utils.findOperators)({
- string: item.params,
- globalIndex: (0, _utils.atRuleParamIndex)(item),
- isAfterColon: true
- })
- });
- }
- } // All the strings have been parsed, now run whitespace checking
-
-
- results.forEach(function (el) {
- // Only if there are operators within a string
- if (el.operators && el.operators.length > 0) {
- el.operators.forEach(function (operator) {
- checker({
- string: el.source,
- globalIndex: operator.globalIndex,
- startIndex: operator.startIndex,
- endIndex: operator.endIndex,
- node: item,
- result: result
- });
- });
- }
- });
- }); // Checking interpolation inside comments
- // We have to give up on PostCSS here because it skips some inline comments
-
- (0, _utils.findCommentsInRaws)(root.source.input.css).forEach(function (comment) {
- var startIndex = comment.source.start + comment.raws.startToken.length + comment.raws.left.length;
-
- if (comment.type !== "css") {
- return;
- }
-
- findInterpolation(comment.text).forEach(function (el) {
- // Only if there are operators within a string
- if (el.operators && el.operators.length > 0) {
- el.operators.forEach(function (operator) {
- checker({
- string: el.source,
- globalIndex: operator.globalIndex + startIndex,
- startIndex: operator.startIndex,
- endIndex: operator.endIndex,
- node: root,
- result: result
- });
- });
- }
- });
- });
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/partial-no-import/index.js b/assets/node_modules/stylelint-scss/dist/rules/partial-no-import/index.js
deleted file mode 100644
index 045f7ea..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/partial-no-import/index.js
+++ /dev/null
@@ -1,80 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _path = _interopRequireDefault(require("path"));
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var ruleName = (0, _utils.namespace)("partial-no-import");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: "Unexpected @import in a partial"
-});
-
-exports.messages = messages;
-
-function _default(on) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: on
- });
-
- if (!validOptions) {
- return;
- }
-
- if (root.source.input.file === undefined || !root.source.input.file) {
- result.warn("The 'partial-no-import' rule won't work if linting in a code string without an actual file.");
- return;
- }
-
- var fileName = _path["default"].basename(root.source.input.file);
-
- var extName = _path["default"].extname(root.source.input.file);
-
- function checkImportForCSS(path, decl) {
- // Stripping trailing quotes and whitespaces, if any
- var pathStripped = path.replace(/^\s*?("|')\s*/, "").replace(/\s*("|')\s*?$/, ""); // Skipping importing empty import, CSS: url(), ".css", URI with a protocol, media
-
- if (pathStripped.trim() === "" || pathStripped.slice(0, 4) === "url(" || pathStripped.slice(-4) === ".css" || pathStripped.search("//") !== -1 || pathStripped.search(/(?:\s|[,)"'])\w+$/) !== -1) {
- return;
- }
-
- _stylelint.utils.report({
- message: messages.expected,
- node: decl,
- index: decl.params.indexOf(path),
- result: result,
- ruleName: ruleName
- });
- } // Usual CSS file
-
-
- if (extName === ".css") {
- return;
- } // Not a partial
-
-
- if (fileName[0] !== "_") {
- return;
- }
-
- root.walkAtRules("import", function (mixinCall) {
- // Check if @import is treated as CSS import; report only if not
- // Processing comma-separated lists of import paths
- mixinCall.params.split(/["']\s*,/).forEach(function (path) {
- checkImportForCSS(path, mixinCall);
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/percent-placeholder-pattern/index.js b/assets/node_modules/stylelint-scss/dist/rules/percent-placeholder-pattern/index.js
deleted file mode 100644
index 830d472..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/percent-placeholder-pattern/index.js
+++ /dev/null
@@ -1,99 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _lodash = require("lodash");
-
-var _postcssResolveNestedSelector = _interopRequireDefault(require("postcss-resolve-nested-selector"));
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-var ruleName = (0, _utils.namespace)("percent-placeholder-pattern");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expected: function expected(placeholder) {
- return "Expected %-placeholder \"%".concat(placeholder, "\" to match specified pattern");
- }
-});
-
-exports.messages = messages;
-
-function _default(pattern) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: pattern,
- possible: [_lodash.isRegExp, _lodash.isString]
- });
-
- if (!validOptions) {
- return;
- }
-
- var placeholderPattern = (0, _lodash.isString)(pattern) ? new RegExp(pattern) : pattern; // Checking placeholder definitions (looking among regular rules)
-
- root.walkRules(function (rule) {
- var selector = rule.selector; // Just a shorthand for calling `parseSelector`
-
- function parse(selector) {
- (0, _utils.parseSelector)(selector, result, rule, function (s) {
- return checkSelector(s, rule);
- });
- } // If it's a custom prop or a less mixin
-
-
- if (!(0, _utils.isStandardRule)(rule)) {
- return;
- } // If the selector has interpolation
-
-
- if (!(0, _utils.isStandardSelector)(selector)) {
- return;
- } // Nested selectors are processed in steps, as nesting levels are resolved.
- // Here we skip processing intermediate parts of selectors (to process only fully resolved selectors)
- // if (rule.nodes.some(node => node.type === "rule" || node.type === "atrule")) { return }
- // Only resolve selectors that have an interpolating "&"
-
-
- if ((0, _utils.hasInterpolatingAmpersand)(selector)) {
- (0, _postcssResolveNestedSelector["default"])(selector, rule).forEach(parse);
- } else {
- parse(selector);
- }
- });
-
- function checkSelector(fullSelector, rule) {
- // postcss-selector-parser gives %placeholders' nodes a "tag" type
- fullSelector.walkTags(function (compoundSelector) {
- var value = compoundSelector.value,
- sourceIndex = compoundSelector.sourceIndex;
-
- if (value[0] !== "%") {
- return;
- }
-
- var placeholder = value.slice(1);
-
- if (placeholderPattern.test(placeholder)) {
- return;
- }
-
- _stylelint.utils.report({
- result: result,
- ruleName: ruleName,
- message: messages.expected(placeholder),
- node: rule,
- index: sourceIndex
- });
- });
- }
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/selector-nest-combinators/index.js b/assets/node_modules/stylelint-scss/dist/rules/selector-nest-combinators/index.js
deleted file mode 100644
index 3a85306..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/selector-nest-combinators/index.js
+++ /dev/null
@@ -1,139 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("selector-nest-combinators");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- expectedInterpolation: "Expected interpolation to be in a nested form",
- expected: function expected(combinator, type) {
- return "Expected combinator \"".concat(combinator, "\" of type \"").concat(type, "\" to be in a nested form");
- },
- rejected: "Unexpected nesting found in selector"
-});
-
-exports.messages = messages;
-
-function _default(expectation) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: expectation,
- possible: ["always", "never"]
- });
-
- if (!validOptions) {
- return;
- }
-
- function precedesParentSelector(current) {
- do {
- current = current.next();
-
- if (current.type === "nesting") {
- return true;
- }
- } while (current.next());
-
- return false;
- } // attribute, class, combinator, comment, id, nesting, pseudo, root, selector, string, tag, or universal
-
-
- var chainingTypes = ["attribute", "class", "id", "pseudo", "tag", "universal"];
- var interpolationRe = /#{.+?}$/;
- root.walkRules(function (rule) {
- if (rule.parent && rule.parent.type === "atrule" && rule.parent.name === "keyframes") {
- return;
- }
-
- if (typeof rule.selector === "string") {
- var isNestedProperty = rule.selector.slice(-1) === ":";
-
- if (isNestedProperty) {
- return;
- }
- }
-
- (0, _utils.parseSelector)(rule.selector, result, rule, function (fullSelector) {
- var message;
- fullSelector.walk(function (node) {
- if (node.value === "}") {
- return;
- }
-
- if (expectation === "always") {
- if (node.type === "selector") {
- return;
- }
-
- if (node.parent && node.parent.type === "selector" && node.parent.parent && node.parent.parent.type === "pseudo") {
- return;
- }
-
- if (!node.prev()) {
- return;
- }
-
- if (node.next() && precedesParentSelector(node)) {
- return;
- }
-
- if (node.type === "combinator") {
- if (!chainingTypes.includes(node.next().type)) {
- return;
- }
-
- if (!chainingTypes.includes(node.prev().type)) {
- return;
- }
- }
-
- if (chainingTypes.includes(node.type) && !chainingTypes.includes(node.prev().type)) {
- return;
- }
-
- if (node.type !== "combinator" && !chainingTypes.includes(node.type)) {
- return;
- }
-
- var hasInterpolation = interpolationRe.test(rule.selector);
-
- if (node.type !== "combinator" && hasInterpolation) {
- return;
- }
-
- if (hasInterpolation) {
- message = messages.expectedInterpolation;
- } else {
- message = messages.expected(node.value, node.type);
- }
- }
-
- if (expectation === "never") {
- if (rule.parent.type === "root" || rule.parent.type === "atrule") {
- return;
- }
-
- message = messages.rejected;
- }
-
- _stylelint.utils.report({
- ruleName: ruleName,
- result: result,
- node: rule,
- message: message,
- index: node.sourceIndex
- });
- });
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/selector-no-redundant-nesting-selector/index.js b/assets/node_modules/stylelint-scss/dist/rules/selector-no-redundant-nesting-selector/index.js
deleted file mode 100644
index 0a8cf13..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/selector-no-redundant-nesting-selector/index.js
+++ /dev/null
@@ -1,69 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("selector-no-redundant-nesting-selector");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: "Unnecessary nesting selector (&)"
-});
-
-exports.messages = messages;
-
-function _default(actual) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: actual
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkRules(/&/, function (rule) {
- (0, _utils.parseSelector)(rule.selector, result, rule, function (fullSelector) {
- // "Ampersand followed by a combinator followed by non-combinator non-ampersand and not the selector end"
- fullSelector.walkNesting(function (node) {
- var prev = node.prev();
-
- if (prev) {
- return;
- }
-
- var next = node.next();
-
- if (!next && node.parent.parent.nodes.length > 1) {
- return;
- }
-
- if (next && next.type !== "combinator") {
- return;
- }
-
- var nextNext = next ? next.next() : null;
-
- if (nextNext && (nextNext.type === "combinator" || nextNext.type === "nesting")) {
- return;
- }
-
- _stylelint.utils.report({
- ruleName: ruleName,
- result: result,
- node: rule,
- message: messages.rejected,
- index: node.sourceIndex
- });
- });
- });
- });
- };
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/rules/selector-no-union-class-name/index.js b/assets/node_modules/stylelint-scss/dist/rules/selector-no-union-class-name/index.js
deleted file mode 100644
index cfb1ed1..0000000
--- a/assets/node_modules/stylelint-scss/dist/rules/selector-no-union-class-name/index.js
+++ /dev/null
@@ -1,88 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-exports.messages = exports.ruleName = void 0;
-
-var _postcssSelectorParser = require("postcss-selector-parser");
-
-var _stylelint = require("stylelint");
-
-var _utils = require("../../utils");
-
-var ruleName = (0, _utils.namespace)("selector-no-union-class-name");
-exports.ruleName = ruleName;
-
-var messages = _stylelint.utils.ruleMessages(ruleName, {
- rejected: "Unexpected union class name with the parent selector (&)"
-});
-
-exports.messages = messages;
-var validNestingTypes = [_postcssSelectorParser.isClassName, _postcssSelectorParser.isCombinator, _postcssSelectorParser.isAttribute, _postcssSelectorParser.isIdentifier, _postcssSelectorParser.isPseudoClass, _postcssSelectorParser.isPseudoElement];
-
-function _default(actual) {
- return function (root, result) {
- var validOptions = _stylelint.utils.validateOptions(result, ruleName, {
- actual: actual
- });
-
- if (!validOptions) {
- return;
- }
-
- root.walkRules(/&/, function (rule) {
- var parentNodes = [];
- var selector = getSelectorFromRule(rule.parent);
-
- if (selector) {
- (0, _utils.parseSelector)(selector, result, rule, function (fullSelector) {
- fullSelector.walk(function (node) {
- return parentNodes.push(node);
- });
- });
- }
-
- if (parentNodes.length === 0) return;
- var lastParentNode = parentNodes[parentNodes.length - 1];
- if (!(0, _postcssSelectorParser.isClassName)(lastParentNode)) return;
- (0, _utils.parseSelector)(rule.selector, result, rule, function (fullSelector) {
- fullSelector.walkNesting(function (node) {
- var next = node.next();
- if (!next) return;
- if (validNestingTypes.some(function (isType) {
- return isType(next);
- })) return;
-
- _stylelint.utils.report({
- ruleName: ruleName,
- result: result,
- node: rule,
- message: messages.rejected,
- index: node.sourceIndex
- });
- });
- });
- });
- };
-}
-/**
- * Searches for the closest rule which
- * has a selector and returns the selector
- * @returns {string|undefined}
- */
-
-
-function getSelectorFromRule(rule) {
- // All non at-rules have their own selector
- if (rule.selector !== undefined) {
- return rule.selector;
- } // At-rules like @mixin don't have a selector themself
- // but their parents might have one
-
-
- if (rule.parent) {
- return getSelectorFromRule(rule.parent);
- }
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/testUtils/basicChecks.js b/assets/node_modules/stylelint-scss/dist/testUtils/basicChecks.js
deleted file mode 100644
index b912b66..0000000
--- a/assets/node_modules/stylelint-scss/dist/testUtils/basicChecks.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-
-// These should pass for *almost* every rule
-module.exports = [{
- code: "",
- description: "empty stylesheet"
-}, {
- code: "a {}",
- description: "empty rule"
-}, {
- code: '@import "foo.css";',
- description: "blockless statement"
-}, {
- code: ":global {}",
- description: "CSS Modules global empty rule set"
-}]; \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/addEmptyLineBefore.js b/assets/node_modules/stylelint-scss/dist/utils/addEmptyLineBefore.js
deleted file mode 100644
index 406ce3f..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/addEmptyLineBefore.js
+++ /dev/null
@@ -1,23 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.addEmptyLineBefore = addEmptyLineBefore;
-
-// Add an empty line before a node. Mutates the node.
-function addEmptyLineBefore(node
-/*: postcss$node*/
-, newline
-/*: '\n' | '\r\n'*/
-)
-/*: postcss$node*/
-{
- if (!/\r?\n/.test(node.raws.before)) {
- node.raws.before = newline.repeat(2) + node.raws.before;
- } else {
- node.raws.before = node.raws.before.replace(/(\r?\n)/, "".concat(newline, "$1"));
- }
-
- return node;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/atRuleBaseName.js b/assets/node_modules/stylelint-scss/dist/utils/atRuleBaseName.js
deleted file mode 100644
index 183d661..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/atRuleBaseName.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Get an at rule's base name
- *
- * @param {AtRule} atRule
- * @return {string} The name
- */
-function _default(atRule) {
- return atRule.params.replace(/\([^)]*\)/, "").trim();
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/atRuleParamIndex.js b/assets/node_modules/stylelint-scss/dist/utils/atRuleParamIndex.js
deleted file mode 100644
index f6bfa22..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/atRuleParamIndex.js
+++ /dev/null
@@ -1,23 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Get the index of a media query's params
- *
- * @param {AtRule} atRule
- * @return {int} The index
- */
-function _default(atRule) {
- // Initial 1 is for the `@`
- var index = 1 + atRule.name.length;
-
- if (atRule.raw("afterName")) {
- index += atRule.raw("afterName").length;
- }
-
- return index;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/beforeBlockString.js b/assets/node_modules/stylelint-scss/dist/utils/beforeBlockString.js
deleted file mode 100644
index c5f82e8..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/beforeBlockString.js
+++ /dev/null
@@ -1,47 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Given a CSS statement, return the string before the block.
- * For rules, this is the selector list (and surrounding whitespace).
- * For at-rules, this is the name and params (and surrounding whitespace).
- *
- * If there is no block, return empty string.
- *
- * @param {Rule|AtRule} statement - postcss rule or at-rule node
- * @param {object} options
- * @param {boolean} [options.noRawBefore] - Leave out the `before` string
- * @return {string}
- */
-function _default(statement) {
- var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
- noRawBefore = _ref.noRawBefore;
-
- var result = "";
-
- if (statement.type !== "rule" && statement.type !== "atrule") {
- return result;
- }
-
- if (!noRawBefore) {
- result += statement.raws.before;
- }
-
- if (statement.type === "rule") {
- result += statement.selector;
- } else {
- result += "@".concat(statement.name).concat(statement.raws.afterName).concat(statement.params);
- }
-
- var between = statement.raws.between;
-
- if (between !== undefined) {
- result += between;
- }
-
- return result;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/blockString.js b/assets/node_modules/stylelint-scss/dist/utils/blockString.js
deleted file mode 100644
index f722477..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/blockString.js
+++ /dev/null
@@ -1,31 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-var _beforeBlockString = _interopRequireDefault(require("./beforeBlockString"));
-
-var _hasBlock = _interopRequireDefault(require("./hasBlock"));
-
-var _rawNodeString = _interopRequireDefault(require("./rawNodeString"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-/**
- * Return a CSS statement's block -- the string that starts with `{` and ends with `}`.
- *
- * If the statement has no block (e.g. `@import url(foo.css);`),
- * return undefined.
- *
- * @param {Rule|AtRule} statement - postcss rule or at-rule node
- * @return {string|undefined}
- */
-function _default(statement) {
- if (!(0, _hasBlock["default"])(statement)) {
- return;
- }
-
- return (0, _rawNodeString["default"])(statement).slice((0, _beforeBlockString["default"])(statement).length);
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/configurationError.js b/assets/node_modules/stylelint-scss/dist/utils/configurationError.js
deleted file mode 100644
index e0eb053..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/configurationError.js
+++ /dev/null
@@ -1,18 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Create configurationError from text and set CLI exit code
- *
- * @param {string} text
- * @return {Error} - The error, with text and exit code
- */
-function _default(text) {
- var err = new Error(text);
- err.code = 78;
- return err;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/declarationValueIndex.js b/assets/node_modules/stylelint-scss/dist/utils/declarationValueIndex.js
deleted file mode 100644
index 3521a90..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/declarationValueIndex.js
+++ /dev/null
@@ -1,18 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Get the index of a declaration's value
- *
- * @param {Decl} decl
- * @return {int} The index
- */
-function _default(decl) {
- var beforeColon = decl.toString().indexOf(":");
- var afterColon = decl.raw("between").length - decl.raw("between").indexOf(":");
- return beforeColon + afterColon;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/eachRoot.js b/assets/node_modules/stylelint-scss/dist/utils/eachRoot.js
deleted file mode 100644
index 0162f53..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/eachRoot.js
+++ /dev/null
@@ -1,23 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Executes a provided function once for each CSS block element.
- *
- * @param {Root|Document} root - root element of file.
- * @param {function} cb - Function to execute for each CSS block element
- */
-function _default(root, cb) {
- // class `Document` is a part of `postcss-html`,
- // It is collection of roots in HTML File.
- // See: https://github.com/gucong3000/postcss-html/blob/master/lib/document.js
- if (root.constructor.name === "Document") {
- root.nodes.forEach(cb);
- } else {
- cb(root);
- }
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/findCommentsInRaws.js b/assets/node_modules/stylelint-scss/dist/utils/findCommentsInRaws.js
deleted file mode 100644
index b44c8fd..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/findCommentsInRaws.js
+++ /dev/null
@@ -1,227 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = findCommentsInRaws;
-
-/**
- * Finds comments, both CSS comments and double slash ones, in a CSS string
- * This helper exists because PostCSS drops some inline comments (those
- * between seelctors, property values, etc.)
- * https://github.com/postcss/postcss/issues/845#issuecomment-232306259
- *
- * @param [string] rawString -- the source raw CSS string
- * @return [array] array of objects with these props:
- * � type -- "css" or "double-slash"
- * � source: { start, end }
- * IMPORTANT: the function itself considers \r as a character, and counts
- * it for `start` and `end`. But if their values are passed to PostCSS's
- * result.warn(), than "\r\n" is consideren ONE CHAR (newline)!
- * � raws
- * raws.startToken -- `/*`, `/**`, `/**!`, etc.
- * raws.left -- whitespace after the comment opening marker
- * raws.text -- the full comment, including markers (//, /*)
- * raws.right -- whitespace before the comment closing marker
- * raws.endToken -- `*\/`, `**\/` for CSS comments
- * � text -- the comment text only, excluding //, /*, trailing whitespaces
- * � inlineAfter -- true, if there is something before the comment on
- * the same line
- * � inlineBefore -- true, if there is something after the comment on
- * the same line
- */
-function findCommentsInRaws(rawString) {
- var result = [];
- var comment = {}; // Keeps track of which structure the parser is inside (string, comment,
- // url function, parens). E.g., /* comment */ inside a string doesn't
- // constitute a comment, so as url(//path)
-
- var modesEntered = [{
- mode: "normal",
- character: null
- }];
- var commentStart = null; // postcss-scss transforms //-comments into CSS comments, like so:
- // `// comment` -> `/* comment*/`. So to have a correct intex we need to
- // keep track on the added `*/` sequences
-
- var offset = 0;
-
- for (var i = 0; i < rawString.length; i++) {
- var character = rawString[i];
- var prevChar = i > 0 ? rawString[i - 1] : null;
- var nextChar = i + 1 < rawString.length ? rawString[i + 1] : null;
- var lastModeIndex = modesEntered.length - 1;
- var mode = modesEntered[lastModeIndex] && modesEntered[lastModeIndex].mode;
-
- switch (character) {
- // If entering/exiting a string
- case '"':
- case "'":
- {
- if (mode === "comment") {
- break;
- }
-
- if (mode === "string" && modesEntered[lastModeIndex].character === character && prevChar !== "\\") {
- // Exiting a string
- modesEntered.pop();
- } else {
- // Entering a string
- modesEntered.push({
- mode: "string",
- character: character
- });
- }
-
- break;
- }
- // Entering url, other function or parens (only url matters)
-
- case "(":
- {
- if (mode === "comment" || mode === "string") {
- break;
- }
-
- var functionNameRegSearch = /(?:^|(?:\n)|(?:\r)|(?:\s-)|[:\s,.(){}*+/%])([a-zA-Z0-9_-]*)$/.exec(rawString.substring(0, i)); // A `\S(` can be in, say, `@media(`
-
- if (!functionNameRegSearch) {
- modesEntered.push({
- mode: "parens",
- character: "("
- });
- break;
- }
-
- var functionName = functionNameRegSearch[1];
- modesEntered.push({
- mode: functionName === "url" ? "url" : "parens",
- character: "("
- });
- break;
- }
- // Exiting url, other function or parens
-
- case ")":
- {
- if (mode === "comment" || mode === "string") {
- break;
- }
-
- modesEntered.pop();
- break;
- }
- // checking for comment
-
- case "/":
- {
- // Break if the / is inside a comment because we leap over the second
- // slash in // and in */, so the / is not from a marker. Also break
- // if inside a string
- if (mode === "comment" || mode === "string") {
- break;
- }
-
- if (nextChar === "*") {
- modesEntered.push({
- mode: "comment",
- character: "/*"
- });
- comment = {
- type: "css",
- source: {
- start: i + offset
- },
- // If i is 0 then the file/the line starts with this comment
- inlineAfter: i > 0 && rawString.substring(0, i).search(/\n\s*$/) === -1
- };
- commentStart = i; // Skip the next iteration as the * is already checked
-
- i++;
- } else if (nextChar === "/") {
- // `url(//path/to/file)` has no comment
- if (mode === "url") {
- break;
- }
-
- modesEntered.push({
- mode: "comment",
- character: "//"
- });
- comment = {
- type: "double-slash",
- source: {
- start: i + offset
- },
- // If i is 0 then the file/the line starts with this comment
- inlineAfter: i > 0 && rawString.substring(0, i).search(/\n\s*$/) === -1
- };
- commentStart = i; // Skip the next iteration as the second slash in // is already checked
-
- i++;
- }
-
- break;
- }
- // Might be a closing `*/`
-
- case "*":
- {
- if (mode === "comment" && modesEntered[lastModeIndex].character === "/*" && nextChar === "/") {
- comment.source.end = i + 1 + offset;
- var commentRaw = rawString.substring(commentStart, i + 2);
- var matches = /^(\/\*+[!#]{0,1})(\s*)([\s\S]*?)(\s*?)(\*+\/)$/.exec(commentRaw);
- modesEntered.pop();
- comment.raws = {
- startToken: matches[1],
- left: matches[2],
- text: commentRaw,
- right: matches[4],
- endToken: matches[5]
- };
- comment.text = matches[3];
- comment.inlineBefore = rawString.substring(i + 2).search(/^\s*?\S+\s*?\n/) !== -1;
- result.push(Object.assign({}, comment));
- comment = {}; // Skip the next loop as the / in */ is already checked
-
- i++;
- }
-
- break;
- }
-
- default:
- {
- var isNewline = character === "\r" && rawString[i + 1] === "\n" || character === "\n" && rawString[i - 1] !== "\r"; // //-comments end before newline and if the code string ends
-
- if (isNewline || i === rawString.length - 1) {
- if (mode === "comment" && modesEntered[lastModeIndex].character === "//") {
- comment.source.end = (isNewline ? i - 1 : i) + offset;
-
- var _commentRaw = rawString.substring(commentStart, isNewline ? i : i + 1);
-
- var _matches = /^(\/+)(\s*)(.*?)(\s*?)$/.exec(_commentRaw);
-
- modesEntered.pop();
- comment.raws = {
- startToken: _matches[1],
- left: _matches[2],
- text: _commentRaw,
- right: _matches[4]
- };
- comment.text = _matches[3];
- comment.inlineBefore = false;
- result.push(Object.assign({}, comment));
- comment = {}; // Compensate for the `*/` added by postcss-scss
-
- offset += 2;
- }
- }
-
- break;
- }
- }
- }
-
- return result;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/hasBlock.js b/assets/node_modules/stylelint-scss/dist/utils/hasBlock.js
deleted file mode 100644
index 1d21418..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/hasBlock.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Check if a statement has an block (empty or otherwise).
- *
- * @param {Rule|AtRule} statement - postcss rule or at-rule node
- * @return {boolean} True if `statement` has a block (empty or otherwise)
- */
-function _default(statement) {
- return statement.nodes !== undefined;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/hasEmptyLine.js b/assets/node_modules/stylelint-scss/dist/utils/hasEmptyLine.js
deleted file mode 100644
index 9f313ab..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/hasEmptyLine.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Check if a string contains at least one empty line
- *
- * @param {string} input
- * @return {boolean}
- */
-function _default(string) {
- return string && (string.includes("\n\n") || string.includes("\n\r\n"));
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/hasInterpolatingAmpersand.js b/assets/node_modules/stylelint-scss/dist/utils/hasInterpolatingAmpersand.js
deleted file mode 100644
index e2113ac..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/hasInterpolatingAmpersand.js
+++ /dev/null
@@ -1,37 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Check whether a selector has an interpolating ampersand
- * An "interpolating ampersand" is an "&" used to interpolate within another
- * simple selector (e.g. `&-modifier`), rather than an "&" that stands
- * on its own as a simple selector (e.g. `& .child`)
- *
- * @param {string} selector
- * @return {boolean} If `true`, the selector has an interpolating ampersand
- */
-function _default(selector) {
- for (var i = 0; i < selector.length; i++) {
- if (selector[i] !== "&") {
- continue;
- }
-
- if (selector[i - 1] !== undefined && !isCombinator(selector[i - 1])) {
- return true;
- }
-
- if (selector[i + 1] !== undefined && !isCombinator(selector[i + 1])) {
- return true;
- }
- }
-
- return false;
-}
-
-function isCombinator(x) {
- return /[\s+>~]/.test(x);
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/hasInterpolation.js b/assets/node_modules/stylelint-scss/dist/utils/hasInterpolation.js
deleted file mode 100644
index 5cf5dc2..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/hasInterpolation.js
+++ /dev/null
@@ -1,31 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-var _hasLessInterpolation = _interopRequireDefault(require("./hasLessInterpolation"));
-
-var _hasPsvInterpolation = _interopRequireDefault(require("./hasPsvInterpolation"));
-
-var _hasScssInterpolation = _interopRequireDefault(require("./hasScssInterpolation"));
-
-var _hasTplInterpolation = _interopRequireDefault(require("./hasTplInterpolation"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-/**
- * Check whether a string has interpolation
- *
- * @param {string} string
- * @return {boolean} If `true`, a string has interpolation
- */
-function _default(string) {
- // SCSS or Less interpolation
- if ((0, _hasLessInterpolation["default"])(string) || (0, _hasScssInterpolation["default"])(string) || (0, _hasTplInterpolation["default"])(string) || (0, _hasPsvInterpolation["default"])(string)) {
- return true;
- }
-
- return false;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/hasLessInterpolation.js b/assets/node_modules/stylelint-scss/dist/utils/hasLessInterpolation.js
deleted file mode 100644
index 32dabbf..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/hasLessInterpolation.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Check whether a string has less interpolation
- *
- * @param {string} string
- * @return {boolean} If `true`, a string has less interpolation
- */
-function _default(string) {
- return /@{.+?}/.test(string);
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/hasPsvInterpolation.js b/assets/node_modules/stylelint-scss/dist/utils/hasPsvInterpolation.js
deleted file mode 100644
index 849de31..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/hasPsvInterpolation.js
+++ /dev/null
@@ -1,15 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Check whether a string has postcss-simple-vars interpolation
- *
- * @param {string} string
- */
-function _default(string) {
- return /\$\(.+?\)/.test(string);
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/hasScssInterpolation.js b/assets/node_modules/stylelint-scss/dist/utils/hasScssInterpolation.js
deleted file mode 100644
index f6fa421..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/hasScssInterpolation.js
+++ /dev/null
@@ -1,15 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Check whether a string has scss interpolation
- *
- * @param {string} string
- */
-function _default(string) {
- return /#{.+?}/.test(string);
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/hasTplInterpolation.js b/assets/node_modules/stylelint-scss/dist/utils/hasTplInterpolation.js
deleted file mode 100644
index b1ecb67..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/hasTplInterpolation.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Check whether a string has JS template literal interpolation or HTML-like template
- *
- * @param {string} string
- * @return {boolean} If `true`, a string has template literal interpolation
- */
-function _default(string) {
- return /{.+?}/.test(string);
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/index.js b/assets/node_modules/stylelint-scss/dist/utils/index.js
deleted file mode 100644
index 8481111..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/index.js
+++ /dev/null
@@ -1,231 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-Object.defineProperty(exports, "addEmptyLineBefore", {
- enumerable: true,
- get: function get() {
- return _addEmptyLineBefore.addEmptyLineBefore;
- }
-});
-Object.defineProperty(exports, "atRuleBaseName", {
- enumerable: true,
- get: function get() {
- return _atRuleBaseName["default"];
- }
-});
-Object.defineProperty(exports, "atRuleParamIndex", {
- enumerable: true,
- get: function get() {
- return _atRuleParamIndex["default"];
- }
-});
-Object.defineProperty(exports, "beforeBlockString", {
- enumerable: true,
- get: function get() {
- return _beforeBlockString["default"];
- }
-});
-Object.defineProperty(exports, "blockString", {
- enumerable: true,
- get: function get() {
- return _blockString["default"];
- }
-});
-Object.defineProperty(exports, "declarationValueIndex", {
- enumerable: true,
- get: function get() {
- return _declarationValueIndex["default"];
- }
-});
-Object.defineProperty(exports, "eachRoot", {
- enumerable: true,
- get: function get() {
- return _eachRoot["default"];
- }
-});
-Object.defineProperty(exports, "findCommentsInRaws", {
- enumerable: true,
- get: function get() {
- return _findCommentsInRaws["default"];
- }
-});
-Object.defineProperty(exports, "hasBlock", {
- enumerable: true,
- get: function get() {
- return _hasBlock["default"];
- }
-});
-Object.defineProperty(exports, "hasEmptyLine", {
- enumerable: true,
- get: function get() {
- return _hasEmptyLine["default"];
- }
-});
-Object.defineProperty(exports, "hasInterpolatingAmpersand", {
- enumerable: true,
- get: function get() {
- return _hasInterpolatingAmpersand["default"];
- }
-});
-Object.defineProperty(exports, "isInlineComment", {
- enumerable: true,
- get: function get() {
- return _isInlineComment["default"];
- }
-});
-Object.defineProperty(exports, "isNativeCssFunction", {
- enumerable: true,
- get: function get() {
- return _isNativeCssFunction["default"];
- }
-});
-Object.defineProperty(exports, "isSingleLineString", {
- enumerable: true,
- get: function get() {
- return _isSingleLineString["default"];
- }
-});
-Object.defineProperty(exports, "isStandardRule", {
- enumerable: true,
- get: function get() {
- return _isStandardRule["default"];
- }
-});
-Object.defineProperty(exports, "isStandardSelector", {
- enumerable: true,
- get: function get() {
- return _isStandardSelector["default"];
- }
-});
-Object.defineProperty(exports, "isStandardSyntaxProperty", {
- enumerable: true,
- get: function get() {
- return _isStandardSyntaxProperty["default"];
- }
-});
-Object.defineProperty(exports, "isWhitespace", {
- enumerable: true,
- get: function get() {
- return _isWhitespace["default"];
- }
-});
-Object.defineProperty(exports, "namespace", {
- enumerable: true,
- get: function get() {
- return _namespace["default"];
- }
-});
-Object.defineProperty(exports, "optionsHaveException", {
- enumerable: true,
- get: function get() {
- return _optionsHaveException["default"];
- }
-});
-Object.defineProperty(exports, "optionsHaveIgnored", {
- enumerable: true,
- get: function get() {
- return _optionsHaveIgnored["default"];
- }
-});
-Object.defineProperty(exports, "parseFunctionArguments", {
- enumerable: true,
- get: function get() {
- return _parseFunctionArguments.parseFunctionArguments;
- }
-});
-Object.defineProperty(exports, "parseNestedPropRoot", {
- enumerable: true,
- get: function get() {
- return _parseNestedPropRoot["default"];
- }
-});
-Object.defineProperty(exports, "parseSelector", {
- enumerable: true,
- get: function get() {
- return _parseSelector["default"];
- }
-});
-Object.defineProperty(exports, "rawNodeString", {
- enumerable: true,
- get: function get() {
- return _rawNodeString["default"];
- }
-});
-Object.defineProperty(exports, "removeEmptyLinesBefore", {
- enumerable: true,
- get: function get() {
- return _removeEmptyLinesBefore.removeEmptyLinesBefore;
- }
-});
-Object.defineProperty(exports, "findOperators", {
- enumerable: true,
- get: function get() {
- return _sassValueParser["default"];
- }
-});
-Object.defineProperty(exports, "whitespaceChecker", {
- enumerable: true,
- get: function get() {
- return _whitespaceChecker["default"];
- }
-});
-
-var _addEmptyLineBefore = require("./addEmptyLineBefore");
-
-var _atRuleBaseName = _interopRequireDefault(require("./atRuleBaseName"));
-
-var _atRuleParamIndex = _interopRequireDefault(require("./atRuleParamIndex"));
-
-var _beforeBlockString = _interopRequireDefault(require("./beforeBlockString"));
-
-var _blockString = _interopRequireDefault(require("./blockString"));
-
-var _declarationValueIndex = _interopRequireDefault(require("./declarationValueIndex"));
-
-var _eachRoot = _interopRequireDefault(require("./eachRoot"));
-
-var _findCommentsInRaws = _interopRequireDefault(require("./findCommentsInRaws"));
-
-var _hasBlock = _interopRequireDefault(require("./hasBlock"));
-
-var _hasEmptyLine = _interopRequireDefault(require("./hasEmptyLine"));
-
-var _hasInterpolatingAmpersand = _interopRequireDefault(require("./hasInterpolatingAmpersand"));
-
-var _isInlineComment = _interopRequireDefault(require("./isInlineComment"));
-
-var _isNativeCssFunction = _interopRequireDefault(require("./isNativeCssFunction"));
-
-var _isSingleLineString = _interopRequireDefault(require("./isSingleLineString"));
-
-var _isStandardRule = _interopRequireDefault(require("./isStandardRule"));
-
-var _isStandardSelector = _interopRequireDefault(require("./isStandardSelector"));
-
-var _isStandardSyntaxProperty = _interopRequireDefault(require("./isStandardSyntaxProperty"));
-
-var _isWhitespace = _interopRequireDefault(require("./isWhitespace"));
-
-var _namespace = _interopRequireDefault(require("./namespace"));
-
-var _optionsHaveException = _interopRequireDefault(require("./optionsHaveException"));
-
-var _optionsHaveIgnored = _interopRequireDefault(require("./optionsHaveIgnored"));
-
-var _parseFunctionArguments = require("./parseFunctionArguments");
-
-var _parseNestedPropRoot = _interopRequireDefault(require("./parseNestedPropRoot"));
-
-var _parseSelector = _interopRequireDefault(require("./parseSelector"));
-
-var _rawNodeString = _interopRequireDefault(require("./rawNodeString"));
-
-var _removeEmptyLinesBefore = require("./removeEmptyLinesBefore");
-
-var _sassValueParser = _interopRequireDefault(require("./sassValueParser"));
-
-var _whitespaceChecker = _interopRequireDefault(require("./whitespaceChecker"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/isCustomPropertySet.js b/assets/node_modules/stylelint-scss/dist/utils/isCustomPropertySet.js
deleted file mode 100644
index 32aa0ce..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/isCustomPropertySet.js
+++ /dev/null
@@ -1,23 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-var _lodash = require("lodash");
-
-var _hasBlock = _interopRequireDefault(require("./hasBlock"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-/**
- * Check whether a Node is a custom property set
- *
- * @param {import('postcss').Rule} node
- * @returns {boolean}
- */
-function _default(node) {
- var selector = (0, _lodash.get)(node, "raws.selector.raw", node.selector);
- return node.type === "rule" && (0, _hasBlock["default"])(node) && selector.startsWith("--") && selector.endsWith(":");
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/isInlineComment.js b/assets/node_modules/stylelint-scss/dist/utils/isInlineComment.js
deleted file mode 100644
index 2b6d9d0..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/isInlineComment.js
+++ /dev/null
@@ -1,21 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = isInlineComment;
-
-/**
- * Check if a comment is inline one (i.e. on the same line as some non-comment
- * code). Only works with comments that are not ignored by PostCSS. To work
- * with those that are ignored use `findCommentInRaws`
- *
- * @param {Comment} comment - PostCSS comment node
- * @return {boolean} true, if the comment is an inline one
- */
-function isInlineComment(comment) {
- var nextNode = comment.next();
- var isBeforeSomething = !!nextNode && nextNode.type !== "comment" && comment.source.end.line === nextNode.source.start.line;
- var isAfterSomething = comment.raws.before.search(/\n/) === -1;
- return isAfterSomething || isBeforeSomething;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js b/assets/node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
deleted file mode 100644
index f15c0b4..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
+++ /dev/null
@@ -1,17 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = isNativeCssFunction;
-var nativeCssFunctions = new Set(["annotation", "attr", "blur", "brightness", "calc", "character-variant", "circle", "contrast", "cross-fade", "cubic-bezier", "drop-shadow", "element", "ellipse", "fit-content", "format", "frames", "grayscale", "hsl", "hsla", "hue-rotate", "image", "image-set", "inset", "invert", "leader", "linear-gradient", "local", "matrix", "matrix3d", "minmax", "opacity", "ornaments", "perspective", "polygon", "radial-gradient", "rect", "repeat", "repeating-linear-gradient", "repeating-radial-gradient", "rgb", "rgba", "rotate", "rotate3d", "rotateX", "rotatex", "rotateY", "rotatey", "rotateZ", "rotatez", "saturate", "scale", "scale3d", "scaleX", "scalex", "scaleY", "scaley", "scaleZ", "scalez", "sepia", "skew", "skewX", "skewY", "steps", "styleset", "stylistic", "swash", "symbols", "target-counter", "target-counters", "target-text", "translate", "translate3d", "translateX", "translatex", "translateY", "translatey", "translateZ", "translatez", "url", "var"]);
-/**
- * Check if a function name is a native CSS function name.
- *
- * @param {string} functionName The name to check.
- * @returns {boolean} Whether or not the given function name is a native CSS function name.
- */
-
-function isNativeCssFunction(functionName) {
- return nativeCssFunctions.has(functionName);
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/isSingleLineString.js b/assets/node_modules/stylelint-scss/dist/utils/isSingleLineString.js
deleted file mode 100644
index 8bc344e..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/isSingleLineString.js
+++ /dev/null
@@ -1,17 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Check if a string is a single line (i.e. does not contain
- * any newline characters).
- *
- * @param {string} input
- * @return {boolean}
- */
-function _default(input) {
- return !/[\n\r]/.test(input);
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/isStandardRule.js b/assets/node_modules/stylelint-scss/dist/utils/isStandardRule.js
deleted file mode 100644
index c33170f..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/isStandardRule.js
+++ /dev/null
@@ -1,75 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-var _lodash = require("lodash");
-
-var _isCustomPropertySet = _interopRequireDefault(require("./isCustomPropertySet"));
-
-var _isStandardSelector = _interopRequireDefault(require("./isStandardSelector"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-/**
- * Check whether a Node is a standard rule
- *
- * @param {import('postcss').Rule} rule
- * @returns {boolean}
- */
-function _default(rule) {
- // Get full selector
- var selector = (0, _lodash.get)(rule, "raws.selector.raw", rule.selector);
-
- if (!(0, _isStandardSelector["default"])(rule.selector)) {
- return false;
- } // Custom property set (e.g. --custom-property-set: {})
-
-
- if ((0, _isCustomPropertySet["default"])(rule)) {
- return false;
- } // Called Less mixin (e.g. a { .mixin() })
- // @ts-ignore TODO TYPES support LESS and SASS types somehow
-
-
- if (rule.mixin) {
- return false;
- } // Less detached rulesets
-
-
- if (selector.startsWith("@") && selector.endsWith(":")) {
- return false;
- } // Ignore Less &:extend rule
- // @ts-ignore TODO TYPES support LESS and SASS types somehow
-
-
- if (rule.extend) {
- return false;
- } // Ignore mixin or &:extend rule
- // https://github.com/shellscape/postcss-less/blob/master/lib/less-parser.js#L52
- // @ts-ignore TODO TYPES support LESS and SASS types somehow
-
-
- if (rule.params && rule.params[0]) {
- return false;
- } // Non-outputting Less mixin definition (e.g. .mixin() {})
-
-
- if (selector.endsWith(")") && !selector.includes(":")) {
- return false;
- } // Less guards
-
-
- if (/when\s+(not\s+)*\(/.test(selector)) {
- return false;
- } // Ignore Scss nested properties
-
-
- if (selector.endsWith(":")) {
- return false;
- }
-
- return true;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/isStandardSelector.js b/assets/node_modules/stylelint-scss/dist/utils/isStandardSelector.js
deleted file mode 100644
index 4f27e11..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/isStandardSelector.js
+++ /dev/null
@@ -1,30 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-var _isStandardSyntaxSelector = _interopRequireDefault(require("./isStandardSyntaxSelector"));
-
-var _hasInterpolation = _interopRequireDefault(require("./hasInterpolation"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-/**
- * Check whether a selector is standard
- *
- * @param {string} selector
- * @return {boolean} If `true`, the selector is standard
- */
-function _default(selector) {
- var standardSyntaxSelector = (0, _isStandardSyntaxSelector["default"])(selector); // SCSS placeholder selectors
-
- if (!standardSyntaxSelector) {
- if (selector.indexOf("%") === 0 && !(0, _hasInterpolation["default"])(selector)) {
- return true;
- }
- }
-
- return standardSyntaxSelector;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/isStandardSyntaxProperty.js b/assets/node_modules/stylelint-scss/dist/utils/isStandardSyntaxProperty.js
deleted file mode 100644
index 48bba67..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/isStandardSyntaxProperty.js
+++ /dev/null
@@ -1,40 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-var _hasInterpolation = _interopRequireDefault(require("./hasInterpolation"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-/**
- * Check whether a property is standard
- *
- * @param {string} property
- * @returns {boolean}
- */
-function _default(property) {
- // SCSS var (e.g. $var: x), list (e.g. $list: (x)) or map (e.g. $map: (key:value))
- if (property.startsWith("$")) {
- return false;
- } // Less var (e.g. @var: x)
-
-
- if (property.startsWith("@")) {
- return false;
- } // Less append property value with space (e.g. transform+_: scale(2))
-
-
- if (property.endsWith("+") || property.endsWith("+_")) {
- return false;
- } // SCSS or Less interpolation
-
-
- if ((0, _hasInterpolation["default"])(property)) {
- return false;
- }
-
- return true;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/isStandardSyntaxSelector.js b/assets/node_modules/stylelint-scss/dist/utils/isStandardSyntaxSelector.js
deleted file mode 100644
index 895ccb1..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/isStandardSyntaxSelector.js
+++ /dev/null
@@ -1,45 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-var _hasInterpolation = _interopRequireDefault(require("./hasInterpolation"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-/**
- * Check whether a selector is standard
- *
- * @param {string} selector
- * @returns {boolean}
- */
-function _default(selector) {
- // SCSS or Less interpolation
- if ((0, _hasInterpolation["default"])(selector)) {
- return false;
- } // SCSS placeholder selectors
-
-
- if (selector.startsWith("%")) {
- return false;
- } // Less :extend()
-
-
- if (/:extend(\(.*?\))?/.test(selector)) {
- return false;
- } // Less mixin with resolved nested selectors (e.g. .foo().bar or .foo(@a, @b)[bar])
-
-
- if (/\.[a-z0-9-_]+\(.*\).+/i.test(selector)) {
- return false;
- } // ERB template tags
-
-
- if (selector.includes("<%") || selector.includes("%>")) {
- return false;
- }
-
- return true;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/isWhitespace.js b/assets/node_modules/stylelint-scss/dist/utils/isWhitespace.js
deleted file mode 100644
index cbe2b72..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/isWhitespace.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Check if a character is whitespace.
- *
- * @param {string} char - A single character
- * @return {boolean}
- */
-function _default(_char) {
- return [" ", "\n", "\t", "\r", "\f"].includes(_char);
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/namespace.js b/assets/node_modules/stylelint-scss/dist/utils/namespace.js
deleted file mode 100644
index 5de58b2..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/namespace.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = namespace;
-var prefix = "scss";
-
-function namespace(ruleName) {
- return "".concat(prefix, "/").concat(ruleName);
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/optionsHaveException.js b/assets/node_modules/stylelint-scss/dist/utils/optionsHaveException.js
deleted file mode 100644
index b1bf7d4..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/optionsHaveException.js
+++ /dev/null
@@ -1,19 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Check if an options object contains a certain `except` keyword.
- * It will look for an `except` property whose value should
- * be an array of keywords.
- *
- * @param {object} options
- * @param {string} exceptionName
- * @return {boolean}
- */
-function _default(options, exceptionName) {
- return options && options.except && options.except.includes(exceptionName);
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/optionsHaveIgnored.js b/assets/node_modules/stylelint-scss/dist/utils/optionsHaveIgnored.js
deleted file mode 100644
index 1dbc53e..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/optionsHaveIgnored.js
+++ /dev/null
@@ -1,19 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Check if an options object contains a certain `ignore` keyword.
- * It will look for an `ignore` property whose value should
- * be an array of keywords.
- *
- * @param {object} options
- * @param {string} ignoredName
- * @return {boolean}
- */
-function _default(options, ignoredName) {
- return options && options.ignore && options.ignore.includes(ignoredName);
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/parseFunctionArguments.js b/assets/node_modules/stylelint-scss/dist/utils/parseFunctionArguments.js
deleted file mode 100644
index 3c9d19a..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/parseFunctionArguments.js
+++ /dev/null
@@ -1,77 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.groupByKeyValue = groupByKeyValue;
-exports.mapToKeyValue = mapToKeyValue;
-exports.parseFunctionArguments = parseFunctionArguments;
-
-var _postcssValueParser = _interopRequireDefault(require("postcss-value-parser"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function groupByKeyValue(nodes) {
- if (!nodes) {
- return [];
- }
-
- var groupIndex = 0;
- return nodes.reduce(function (acc, node, nodeIndex) {
- var isComma = node.type === "div" && node.value === ",";
- var skipTrailingComma = isComma && nodeIndex === nodes.length - 1;
-
- if (skipTrailingComma) {
- return acc;
- }
-
- if (isComma) {
- groupIndex++;
- }
-
- acc[groupIndex] = acc[groupIndex] || [];
-
- if (!isComma) {
- acc[groupIndex].push(node);
- }
-
- return acc;
- }, []);
-}
-
-function mapToKeyValue(nodes) {
- var keyVal = nodes.reduce(function (acc, curr, i) {
- if (acc.length === 1) {
- return acc;
- }
-
- var nextNode = nodes[i + 1];
- var isNextNodeColon = nextNode && nextNode.type === "div" && nextNode.value === ":";
-
- if (isNextNodeColon) {
- acc.push({
- key: _postcssValueParser["default"].stringify(nodes[i]),
- value: _postcssValueParser["default"].stringify(nodes.slice(2))
- });
- return acc;
- }
-
- acc.push({
- value: _postcssValueParser["default"].stringify(nodes)
- });
- return acc;
- }, []);
- return keyVal[0];
-}
-
-function parseFunctionArguments(value) {
- var parsed = (0, _postcssValueParser["default"])(value);
-
- if (!parsed.nodes[0] || parsed.nodes[0].type !== "function") {
- return [];
- }
-
- return parsed.nodes.map(function (node) {
- return groupByKeyValue(node.nodes).map(mapToKeyValue);
- })[0];
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/parseNestedPropRoot.js b/assets/node_modules/stylelint-scss/dist/utils/parseNestedPropRoot.js
deleted file mode 100644
index cc8c4fa..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/parseNestedPropRoot.js
+++ /dev/null
@@ -1,87 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = parseNestedPropRoot;
-
-/**
- * Attempts to parse a selector as if it"s a root for a group of nested props
- * E.g.: `margin: {`, `font: 10px/1.1 Arial {` ("{" excluded)
- */
-function parseNestedPropRoot(propString) {
- var modesEntered = [{
- mode: "normal",
- character: null,
- isCalculationEnabled: true
- }];
- var result = {};
- var lastModeIndex = 0;
- var propName = "";
-
- for (var i = 0; i < propString.length; i++) {
- var character = propString[i];
- var prevCharacter = propString[i - 1]; // If entering/exiting a string
-
- if (character === '"' || character === "'") {
- if (modesEntered[lastModeIndex].isCalculationEnabled === true) {
- modesEntered.push({
- mode: "string",
- isCalculationEnabled: false,
- character: character
- });
- lastModeIndex++;
- } else if (modesEntered[lastModeIndex].mode === "string" && modesEntered[lastModeIndex].character === character && prevCharacter !== "\\") {
- modesEntered.pop();
- lastModeIndex--;
- }
- } // If entering/exiting interpolation
-
-
- if (character === "{") {
- modesEntered.push({
- mode: "interpolation",
- isCalculationEnabled: true
- });
- lastModeIndex++;
- } else if (character === "}") {
- modesEntered.pop();
- lastModeIndex--;
- } // Check for : outside fn call, string or interpolation. It must be at the
- // end of a string or have a whitespace between it and following value
-
-
- if (modesEntered[lastModeIndex].mode === "normal" && character === ":" && prevCharacter !== "\\") {
- var propValueStr = propString.substring(i + 1);
-
- if (propValueStr.length) {
- var propValue = {
- before: /^(\s*)/.exec(propValueStr)[1],
- value: propValueStr.trim()
- }; // It's a declaration if 1) there is a whitespace after :, or
- // 2) the value is a number with/without a unit (starts with a number
- // or a dot), or
- // 3) the value is a variable (starts with $), or
- // 4) the value a string, surprisingly
-
- if (propValue.before === "" && !/^[0-9.$'"]/.test(propValue.value)) {
- return null;
- } // +1 for the colon
-
-
- propValue.sourceIndex = propValue.before.length + i + 1;
- result.propValue = propValue;
- }
-
- result.propName = {
- after: /(\s*)$/.exec(propName)[1],
- value: propName.trim()
- };
- return result;
- }
-
- propName += character;
- }
-
- return null;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/parseSelector.js b/assets/node_modules/stylelint-scss/dist/utils/parseSelector.js
deleted file mode 100644
index 3d3fbfc..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/parseSelector.js
+++ /dev/null
@@ -1,20 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-var _postcssSelectorParser = _interopRequireDefault(require("postcss-selector-parser"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _default(selector, result, node, cb) {
- try {
- (0, _postcssSelectorParser["default"])(cb).process(selector);
- } catch (e) {
- result.warn("Cannot parse selector", {
- node: node
- });
- }
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/rawNodeString.js b/assets/node_modules/stylelint-scss/dist/utils/rawNodeString.js
deleted file mode 100644
index a4496b5..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/rawNodeString.js
+++ /dev/null
@@ -1,23 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-/**
- * Stringify PostCSS node including its raw "before" string.
- *
- * @param {Node} node - Any PostCSS node
- * @return {string}
- */
-function _default(node) {
- var result = "";
-
- if (node.raws.before) {
- result += node.raws.before;
- }
-
- result += node.toString();
- return result;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/removeEmptyLinesBefore.js b/assets/node_modules/stylelint-scss/dist/utils/removeEmptyLinesBefore.js
deleted file mode 100644
index 29a75a1..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/removeEmptyLinesBefore.js
+++ /dev/null
@@ -1,18 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.removeEmptyLinesBefore = removeEmptyLinesBefore;
-
-// Remove empty lines before a node. Mutates the node.
-function removeEmptyLinesBefore(node
-/*: postcss$node*/
-, newline
-/*: '\n' | '\r\n'*/
-)
-/*: postcss$node*/
-{
- node.raws.before = node.raws.before.replace(/(\r?\n\s*\r?\n)+/g, newline);
- return node;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/sassValueParser/index.js b/assets/node_modules/stylelint-scss/dist/utils/sassValueParser/index.js
deleted file mode 100644
index 8328a46..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/sassValueParser/index.js
+++ /dev/null
@@ -1,933 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = findOperators;
-exports.mathOperatorCharType = mathOperatorCharType;
-
-/**
- * Processes a string and finds Sass operators in it
- *
- * @param {Object} args - Named arguments object
- * @param {String} args.string - the input string
- * @param {Number} args.index - the position of args.string from the start of the line
- * @param {Boolean} args.isAfterColon - pass "true" if the string is
- * a variable value, a mixin/function parameter default.
- * In such cases + and / tend to be operations more often
- * @param {Function} args.callback - will be called on every instance of
- * an operator. Accepts parameters:
- * • string - the default source string
- * • globalIndex - the string's position in the outer input
- * • startIndex - index in string, where the operator starts
- * • endIndex - index in string, where the operator ends (for `==`, etc.)
- *
- * @return {Array} array of { symbol, globalIndex, startIndex, endIndex }
- * for each operator found within a string
- */
-function findOperators(_ref) {
- var string = _ref.string,
- globalIndex = _ref.globalIndex,
- isAfterColon = _ref.isAfterColon,
- callback = _ref.callback;
- var mathOperators = ["+", "/", "-", "*", "%"]; // A stack of modes activated for the current char: string, interpolation
- // Calculations inside strings are not processed, so spaces are not linted
-
- var modesEntered = [{
- mode: "normal",
- isCalculationEnabled: true,
- character: null
- }];
- var result = [];
- var lastModeIndex = 0;
-
- for (var i = 0; i < string.length; i++) {
- var character = string[i];
- var substringStartingWithIndex = string.substring(i);
- var lastMode = modesEntered[lastModeIndex]; // If entering/exiting a string
-
- if (character === '"' || character === "'") {
- if (lastMode && lastMode.isCalculationEnabled === true) {
- modesEntered.push({
- mode: "string",
- isCalculationEnabled: false,
- character: character
- });
- lastModeIndex++;
- } else if (lastMode && lastMode.mode === "string" && lastMode.character === character && string[i - 1] !== "\\") {
- modesEntered.pop();
- lastModeIndex--;
- }
- } // If entering/exiting interpolation (may be inside a string)
- // Comparing with length-2 because `#{` at the very end doesnt matter
-
-
- if (character === "#" && i + 1 < string.length - 2 && string[i + 1] === "{") {
- modesEntered.push({
- mode: "interpolation",
- isCalculationEnabled: true
- });
- lastModeIndex++;
- } else if (character === "}") {
- modesEntered.pop();
- lastModeIndex--;
- } // Don't lint if inside a string
-
-
- if (lastMode && lastMode.isCalculationEnabled === false) {
- continue;
- } // If it's a math operator
-
-
- if (mathOperators.includes(character) && mathOperatorCharType(string, i, isAfterColon) === "op" || // or is "<" or ">"
- substringStartingWithIndex.search(/^[<>]([^=]|$)/) !== -1) {
- result.push({
- symbol: string[i],
- globalIndex: globalIndex,
- startIndex: i,
- endIndex: i
- });
-
- if (callback) {
- callback(string, globalIndex, i, i);
- }
- } // "<=", ">=", "!=", "=="
-
-
- if (substringStartingWithIndex.search(/^[><=!]=/) !== -1) {
- result.push({
- symbol: string[i],
- globalIndex: globalIndex,
- startIndex: i,
- endIndex: i + 1
- });
-
- if (callback) {
- callback(string, globalIndex, i, i + 1);
- }
- }
- } // result.length > 0 && console.log(string, result)
-
-
- return result;
-}
-/**
- * Checks if a character is an operator, a sign (+ or -), or part of a string
- *
- * @param {String} string - the source string
- * @param {Number} index - the index of the character in string to check
- * @param {Boolean} isAfterColon - if the value string a variable
- * value, a mixin/function parameter default. In such cases + and / tend
- * to be operations more often
- * @return {String|false}
- * • "op", if the character is a operator in a math/string operation
- * • "sign" if it is a + or - before a numeric,
- * • "char" if it is a part of a string,
- * • false - if it is none from above (most likely an error)
- */
-
-
-function mathOperatorCharType(string, index, isAfterColon) {
- // !Checking here to prevent unnecessary calculations and deep recursion
- // when calling isPrecedingOperator()
- if (!["+", "/", "-", "*", "%"].includes(string[index])) {
- return "char";
- }
-
- var character = string[index];
- var prevCharacter = string[index - 1];
-
- if (prevCharacter !== "\\") {
- // ---- Processing + characters
- if (character === "+") {
- return checkPlus(string, index, isAfterColon);
- } // ---- Processing - characters
-
-
- if (character === "-") {
- return checkMinus(string, index);
- } // ---- Processing * character
-
-
- if (character === "*") {
- return "op";
- } // ---- Processing % character
-
-
- if (character === "%") {
- return checkPercent(string, index);
- } // ---- Processing / character
- // https://sass-lang.com/documentation/operators/numeric#slash-separated-values
-
-
- if (character === "/") {
- return checkSlash(string, index, isAfterColon);
- }
- }
-
- return "char";
-} // --------------------------------------------------------------------------
-// Functions for checking particular characters (+, -, /)
-// --------------------------------------------------------------------------
-
-/**
- * Checks the specified `+` char type: operator, sign (+ or -), part of string
- *
- * @param {String} string - the source string
- * @param {Number} index - the index of the character in string to check
- * @param {Boolean} isAftercolon - if the value string a variable
- * value, a mixin/function parameter default. In such cases + is always an
- * operator if surrounded by numbers/values with units
- * @return {String|false}
- * • "op", if the character is a operator in a math/string operation
- * • "sign" if it is a sign before a positive number,
- * • false - if it is none from above (most likely an error)
- */
-
-
-function checkPlus(string, index, isAftercolon) {
- var before = string.substring(0, index);
- var after = string.substring(index + 1); // If the character is at the beginning of the input
-
- var isAtStart_ = isAtStart(string, index); // If the character is at the end of the input
-
- var isAtEnd_ = isAtEnd(string, index);
- var isWhitespaceBefore = before.search(/\s$/) !== -1;
- var isWhitespaceAfter = after.search(/^\s/) !== -1;
- var isValueWithUnitAfter_ = isValueWithUnitAfter(after);
- var isNumberAfter_ = isNumberAfter(after);
- var isInterpolationAfter_ = isInterpolationAfter(after); // The early check above helps prevent deep recursion here
-
- var isPrecedingOperator_ = isPrecedingOperator(string, index);
-
- if (isAtStart_) {
- // console.log("+, `+<sth>` or `+ <sth>`")
- return "sign";
- } // E.g. `1+1`, `string+#fff`
-
-
- if (!isAtStart_ && !isWhitespaceBefore && !isAtEnd_ && !isWhitespaceAfter) {
- // E.g. `1-+1`
- if (isPrecedingOperator_) {
- // console.log('1+1')
- return "sign";
- } // console.log("+, no spaces")
-
-
- return "op";
- } // e.g. `something +something`
-
-
- if (!isAtEnd_ && !isWhitespaceAfter) {
- // e.g. `+something`, ` ... , +something`, etc.
- if (isNoOperandBefore(string, index)) {
- // console.log("+, nothing before")
- return "sign";
- } // e.g. `sth +10px`, `sth +1`
-
-
- if (isValueWithUnitAfter_.is && !isValueWithUnitAfter_.opsBetween || isNumberAfter_.is && !isNumberAfter_.opsBetween) {
- if (isAftercolon === true) {
- // console.log(": 10px +1")
- return "op";
- } // e.g. `(sth +10px)`, `fun(sth +1)`
-
-
- if (isInsideParens(string, index) || isInsideFunctionCall(string, index).is) {
- // console.log("+10px or +1, inside function or parens")
- return "op";
- } // e.g. `#{10px +1}`
-
-
- if (isInsideInterpolation(string, index)) {
- // console.log('+, #{10px +1}')
- return "op";
- } // console.log('+, default')
-
-
- return "sign";
- } // e.g. `sth +#fff`, `sth +string`, `sth +#{...}`, `sth +$var`
-
-
- if (isStringAfter(after) || isHexColorAfter(after) || after[0] === "$" || isInterpolationAfter_.is && !isInterpolationAfter_.opsBefore) {
- // e.g. `sth+ +string`
- if (isPrecedingOperator_) {
- // console.log("+10px or +1, before is an operator")
- return "sign";
- } // console.log("+#000, +string, +#{sth}, +$var")
-
-
- return "op";
- } // console.log('sth +sth, default')
-
-
- return "op";
- } // If the + is after a value, e.g. `$var+`
-
-
- if (!isAtStart_ && !isWhitespaceBefore) {
- // It is always an operator. Prior to Sass 4, `#{...}+` was differernt,
- // but that's not logical and had been fixed.
- // console.log('1+ sth')
- return "op";
- } // If it has whitespaces on both sides
- // console.log('sth + sth')
-
-
- return "op";
-}
-/**
- * Checks the specified `-` character: operator, sign (+ or -), part of string
- *
- * @param {String} string - the source string
- * @param {Number} index - the index of the character in string to check
- * @return {String|false}
- * • "op", if the character is a operator in a math/string operation
- * • "sign" if it is a sign before a negative number,
- * • "char" if it is a part of a string or identifier,
- * • false - if it is none from above (most likely an error)
- */
-
-
-function checkMinus(string, index) {
- var before = string.substring(0, index);
- var after = string.substring(index + 1); // If the character is at the beginning of the input
-
- var isAtStart_ = isAtStart(string, index); // If the character is at the end of the input
-
- var isAtEnd_ = isAtEnd(string, index);
- var isWhitespaceBefore = before.search(/\s$/) !== -1;
- var isWhitespaceAfter = after.search(/^\s/) !== -1;
- var isValueWithUnitAfter_ = isValueWithUnitAfter(after);
- var isValueWithUnitBefore_ = isValueWithUnitBefore(before);
- var isNumberAfter_ = isNumberAfter(after);
- var isNumberBefore_ = isNumberBefore(before);
- var isInterpolationAfter_ = isInterpolationAfter(after);
- var isParensAfter_ = isParensAfter(after);
- var isParensBefore_ = isParensBefore(before); // The early check above helps prevent deep recursion here
-
- var isPrecedingOperator_ = isPrecedingOperator(string, index);
-
- if (isAtStart_) {
- // console.log("-, -<sth> or - <sth>")
- return "sign";
- } // `10 - 11`
-
-
- if (!isAtEnd_ && !isAtStart_ && isWhitespaceBefore && isWhitespaceAfter) {
- // console.log("-, Op: 10px - 10px")
- return "op";
- } // e.g. `something -10px`
-
-
- if (!isAtEnd_ && !isAtStart_ && isWhitespaceBefore && !isWhitespaceAfter) {
- if (isParensAfter_.is && !isParensAfter_.opsBefore) {
- // console.log("-, Op: <sth> -(...)")
- return "op";
- } // e.g. `#{10px -1}`
-
-
- if (isInsideInterpolation(string, index)) {
- return "op";
- } // e.g. `sth -1px`, `sth -1`.
- // Always a sign, even inside parens/function args
-
-
- if (isValueWithUnitAfter_.is && !isValueWithUnitAfter_.opsBetween || isNumberAfter_.is && !isNumberAfter_.opsBetween) {
- // console.log("-, sign: -1px or -1")
- return "sign";
- } // e.g. `sth --1`, `sth +-2px`
-
-
- if (isValueWithUnitAfter_.is && isValueWithUnitAfter_.opsBetween || isNumberAfter_.is && isNumberAfter_.opsBetween) {
- // console.log("-, op: --1px or --1")
- return "op";
- } // `<sth> -string`, `<sth> -#{...}`
-
-
- if (isStringAfter(after) || isInterpolationAfter_.is && !isInterpolationAfter_.opsBefore) {
- // console.log("-, char: -#{...}")
- return "char";
- } // e.g. `#0af -#f0a`, and edge-cases can take a hike
-
-
- if (isHexColorAfter(after) && isHexColorBefore(before.trim())) {
- // console.log("-, op: #fff-, -#fff")
- return "op";
- } // If the - is before a variable, than it's most likely an operator
-
-
- if (after[0] === "$") {
- if (isPrecedingOperator_) {
- // console.log("-, sign: -$var, another operator before")
- return "sign";
- } // console.log("-, op: -$var, NO other operator before")
-
-
- return "op";
- } // By default let's make it an sign for now
- // console.log('-, sign: default in <sth> -<sth>')
-
-
- return "sign";
- } // No whitespace before,
- // e.g. `10x- something`
-
-
- if (!isAtEnd_ && !isAtStart_ && !isWhitespaceBefore && isWhitespaceAfter) {
- if (isParensBefore_) {
- // console.log('-, op: `(...)- <sth>`')
- return "op";
- } // e.g. `#{10px- 1}`
-
-
- if (isInsideInterpolation(string, index)) {
- return "op";
- }
-
- if (isNumberBefore(before) || isHexColorBefore(before)) {
- // console.log('`-, op: 10- <sth>, #aff- <sth>`')
- return "op";
- } // console.log('-, char: default in <sth>- <sth>')
-
-
- return "char";
- } // NO Whitespace,
- // e.g. `10px-1`
-
-
- if (!isAtEnd_ && !isAtStart_ && !isWhitespaceBefore && !isWhitespaceAfter) {
- // console.log('no spaces')
- // `<something>-1`, `<something>-10px`
- if (isValueWithUnitAfter_.is && !isValueWithUnitAfter_.opsBetween || isNumberAfter_.is && !isNumberAfter_.opsBetween) {
- // `10px-1`, `1-10px`, `1-1`, `1x-1x`
- if (isValueWithUnitBefore_ || isNumberBefore_) {
- // console.log("-, op: 1-10px")
- return "op";
- } // The - could be a "sign" here, but for now "char" does the job
-
- } // `1-$var`
-
-
- if (isNumberBefore_ && after[0] === "$") {
- // console.log("-, op: 1-$var")
- return "op";
- } // `fn()-10px`
-
-
- if (isFunctionBefore(before) && (isNumberAfter_.is && !isNumberAfter_.opsBetween || isValueWithUnitAfter_.is && !isValueWithUnitAfter_.opsBetween)) {
- // console.log("-, op: fn()-10px")
- return "op";
- }
- } // And in all the other cases it's a characher inside a string
- // console.log("-, default: char")
-
-
- return "char";
-}
-/**
- * Checks the specified `/` character: operator, sign (+ or -), part of string
- *
- * @param {String} string - the source string
- * @param {Number} index - the index of the character in string to check
- * @param {Boolean} isAfterColon - if the value string a variable
- * value, a mixin/function parameter default. In such cases / is always an
- * operator if surrounded by numbers/values with units
- * @return {String|false}
- * • "op", if the character is a operator in a math/string operation
- * • "char" if it gets compiled as-is, e.g. `font: 10px/1.2;`,
- * • false - if it is none from above (most likely an error)
- */
-
-
-function checkSlash(string, index, isAfterColon) {
- // Trimming these, as spaces before/after a slash don't matter
- var before = string.substring(0, index).trim();
- var after = string.substring(index + 1).trim();
- var isValueWithUnitAfter_ = isValueWithUnitAfter(after);
- var isValueWithUnitBefore_ = isValueWithUnitBefore(before);
- var isNumberAfter_ = isNumberAfter(after);
- var isNumberBefore_ = isNumberBefore(before);
- var isParensAfter_ = isParensAfter(after);
- var isParensBefore_ = isParensBefore(before); // FIRST OFF. Interpolation on any of the sides is a NO-GO for division op
-
- if (isInterpolationBefore(before).is || isInterpolationAfter(after).is) {
- // console.log("/, interpolation")
- return "char";
- } // having a dot before propbably means a relative path.
- // e.g. url(../../image.png)
-
-
- if (isDotBefore(before)) {
- return "char";
- } // e.g. `(1px/1)`, `fn(7 / 15)`, but not `url(8/11)`
-
-
- var isInsideFn = isInsideFunctionCall(string, index);
-
- if (isInsideFn.is && isInsideFn.fn === "url" && isProtocolBefore(before)) {
- return "char";
- } // e.g. `10px/normal`
-
-
- if (isStringBefore(before).is || isStringAfter(after)) {
- // console.log("/, string")
- return "char";
- } // For all other value options (numbers, value+unit, hex color)
- // `$var/1`, `#fff/-$var`
- // Here we don't care if there is a sign before the var
-
-
- if (isVariableBefore(before) || isVariableAfter(after).is) {
- // console.log("/, variable")
- return "op";
- }
-
- if (isFunctionBefore(before) || isFunctionAfter(after).is) {
- // console.log("/, function as operand")
- return "op";
- }
-
- if (isParensBefore_ || isParensAfter_.is) {
- // console.log("/, function as operand")
- return "op";
- } // `$var: 10px/2; // 5px`
-
-
- if (isAfterColon === true && (isValueWithUnitAfter_.is || isNumberAfter_.is) && (isValueWithUnitBefore_ || isNumberBefore_)) {
- return "op";
- } // Quick check of the following operator symbol - if it is a math operator
-
-
- if ( // +, *, % count as operators unless after interpolation or at the start
- before.search(/[^{,(}\s]\s*[+*%]\s*[^(){},]+$/) !== -1 || // We consider minus as op only if surrounded by whitespaces (` - `);
- before.search(/[^{,(}\s]\s+-\s+[^(){},]+$/) !== -1 || // `10/2 * 3`, `10/2 % 3`, with or without spaces
- after.search(/^[^(){},]+[*%]/) !== -1 || // `10px/2px+1`, `10px/2px+ 1`
- after.search(/^[^(){},\s]+[+]/) !== -1 || // Anything but `10px/2px +1`, `10px/2px +1px`
- after.search(/^[^(){},\s]+\s+(\+\D)/) !== -1 || // Following ` -`: only if `$var` after (`10/10 -$var`)
- after.search(/^[^(){},\s]+\s+-(\$|\s)/) !== -1 || // Following `-`: only if number after (`10s/10s-10`, `10s/10s-.1`)
- after.search(/^[^(){},\s]+-(\.){0,1}\d/) !== -1 || // Or if there is a number before anything but string after (not `10s/1-str`,)
- after.search(/^(\d*\.){0,1}\d+-\s*[^#a-zA-Z_\s]/) !== -1) {
- // console.log("/, math op around")
- return "op";
- }
-
- if (isInsideParens(string, index) || isInsideFn.is && isInsideFn.fn !== "url") {
- // console.log("/, parens or function arg")
- return "op";
- } // console.log("/, default")
-
-
- return "char";
-}
-/**
- * Checks the specified `%` character: operator or part of value
- *
- * @param {String} string - the source string
- * @param {Number} index - the index of the character in string to check
- * @return {String|false}
- * • "op", if the character is a operator in a math/string operation
- * • "char" if it gets compiled as-is, e.g. `width: 10%`,
- * • false - if it is none from above (most likely an error)
- */
-
-
-function checkPercent(string, index) {
- // Trimming these, as spaces before/after a slash don't matter
- var before = string.substring(0, index);
- var after = string.substring(index + 1); // If the character is at the beginning of the input
-
- var isAtStart_ = isAtStart(string, index); // If the character is at the end of the input
-
- var isAtEnd_ = isAtEnd(string, index);
- var isWhitespaceBefore = before.search(/\s$/) !== -1;
- var isWhitespaceAfter = after.search(/^\s/) !== -1;
- var isParensBefore_ = isParensBefore(before); // FIRST OFF. Interpolation on any of the sides is a NO-GO
-
- if (isInterpolationBefore(before.trim()).is || isInterpolationAfter(after.trim()).is) {
- // console.log("%, interpolation")
- return "char";
- }
-
- if (isAtStart_ || isAtEnd_) {
- // console.log("%, start/end")
- return "char";
- } // In `<sth> %<sth>` it's most likely an operator (except for inteprolation
- // checked above)
-
-
- if (isWhitespaceBefore && !isWhitespaceAfter) {
- // console.log("%, `<sth> %<sth>`")
- return "op";
- } // `$var% 1`, `$var%1`, `$var%-1`
-
-
- if (isVariableBefore(before) || isParensBefore_) {
- // console.log("%, after a variable, function or parens")
- return "op";
- } // in all other cases in `<sth>% <sth>` it is most likely a unit
-
-
- if (!isWhitespaceBefore && isWhitespaceAfter) {
- // console.log("%, `<sth>% <sth>`")
- return "char";
- } // console.log("%, default")
-
-
- return "char";
-} // --------------------------------------------------------------------------
-// Lots of elementary helpers
-// --------------------------------------------------------------------------
-
-
-function isAtStart(string, index) {
- var before = string.substring(0, index).trim();
- return before.length === 0 || before.search(/[({,]$/) !== -1;
-}
-
-function isAtEnd(string, index) {
- var after = string.substring(index + 1).trim();
- return after.length === 0 || after.search(/^[,)}]/) !== -1;
-}
-
-function isInsideParens(string, index) {
- var before = string.substring(0, index).trim();
- var after = string.substring(index + 1).trim();
-
- if (before.search(/(?:^|[,{]|\s)\(\s*[^(){},]+$/) !== -1 && after.search(/^[^(){},\s]+\s*\)/) !== -1) {
- return true;
- }
-
- return false;
-}
-
-function isInsideInterpolation(string, index) {
- var before = string.substring(0, index).trim();
-
- if (before.search(/#\{[^}]*$/) !== -1) {
- return true;
- }
-
- return false;
-}
-/**
- * Checks if the character is inside a function agruments
- *
- * @param {String} string - the input string
- * @param {Number} index - current character index
- * @return {Object} return
- * {Boolean} return.is - if inside a function arguments
- * {String} return.fn - function name
- */
-
-
-function isInsideFunctionCall(string, index) {
- var result = {
- is: false,
- fn: null
- };
- var before = string.substring(0, index).trim();
- var after = string.substring(index + 1).trim();
- var beforeMatch = before.match(/([a-zA-Z_-][a-zA-Z0-9_-]*)\([^(){},]+$/);
-
- if (beforeMatch && beforeMatch[0] && after.search(/^[^(,]+\)/) !== -1) {
- result.is = true;
- result.fn = beforeMatch[1];
- }
-
- return result;
-}
-/**
- * Checks if there is a string before the character.
- * Also checks if there is a math operator in between
- *
- * @param {String} before - the input string that preceses the character
- * @return {Object} return
- * {Boolean} return.is - if there is a string
- * {String} return.opsBetween - if there are operators in between
- */
-
-
-function isStringBefore(before) {
- var result = {
- is: false,
- opsBetween: false
- };
- var stringOpsClipped = before.replace(/(\s*[+/*%]|\s+-)+$/, "");
-
- if (stringOpsClipped !== before) {
- result.opsBetween = true;
- } // If it is quoted
-
-
- if (stringOpsClipped[stringOpsClipped.length - 1] === '"' || stringOpsClipped[stringOpsClipped.length - 1] === "'") {
- result.is = true;
- } else if (stringOpsClipped.search(/(?:^|[/(){},: ])([a-zA-Z_][a-zA-Z_0-9-]*|-+[a-zA-Z_]+[a-zA-Z_0-9-]*)$/) !== -1) {
- // First pattern: a1, a1a, a-1,
- result.is = true;
- }
-
- return result;
-}
-
-function isStringAfter(after) {
- var stringTrimmed = after.trim(); // If it is quoted
-
- if (stringTrimmed[0] === '"' || stringTrimmed[0] === "'") return true; // e.g. `a1`, `a1a`, `a-1`, and even `--s323`
-
- if (stringTrimmed.search(/^([a-zA-Z_][a-zA-Z_0-9-]*|-+[a-zA-Z_]+[a-zA-Z_0-9-]*)(?:$|[)}, ])/) !== -1) return true;
- return false;
-}
-
-function isInterpolationAfter(after) {
- var result = {
- is: false,
- opsBetween: false
- };
- var matches = after.match(/^\s*([+/*%-]\s*)*#{/);
-
- if (matches) {
- if (matches[0]) {
- result.is = true;
- }
-
- if (matches[1]) {
- result.opsBetween = true;
- }
- }
-
- return result;
-}
-
-function isParensAfter(after) {
- var result = {
- is: false,
- opsBetween: false
- };
- var matches = after.match(/^\s*([+/*%-]\s*)*\(/);
-
- if (matches) {
- if (matches[0]) {
- result.is = true;
- }
-
- if (matches[1]) {
- result.opsBetween = true;
- }
- }
-
- return result;
-}
-
-function isParensBefore(before) {
- return before.search(/\)\s*$/) !== -1;
-}
-/**
- * Checks if there is an interpolation before the character.
- * Also checks if there is a math operator in between
- *
- * @param {String} before - the input string that preceses the character
- * @return {Object} return
- * {Boolean} return.is - if there is an interpolation
- * {String} return.opsBetween - if there are operators in between
- */
-
-
-function isInterpolationBefore(before) {
- var result = {
- is: false,
- opsBetween: false
- }; // Removing preceding operators if any
-
- var beforeOpsClipped = before.replace(/(\s*[+/*%-])+$/, "");
-
- if (beforeOpsClipped !== before) {
- result.opsBetween = true;
- }
-
- if (beforeOpsClipped[beforeOpsClipped.length - 1] === "}") {
- result.is = true;
- }
-
- return result;
-}
-
-function isValueWithUnitBefore(before) {
- // 1px, 0.1p-x, .2p-, 11.2pdf-df1df_
- // Surprisingly, ` d.10px` - .10px is separated from a sequence
- // and is considered a value with a unit
- if (before.trim().search(/(^|[/(, ]|\.)\d[a-zA-Z_0-9-]+$/) !== -1) {
- return true;
- }
-
- return false;
-}
-
-function isValueWithUnitAfter(after) {
- var result = {
- is: false,
- opsBetween: false
- }; // 1px, 0.1p-x, .2p-, 11.2pdf-dfd1f_
- // Again, ` d.10px` - .10px is separated from a sequence
- // and is considered a value with a unit
-
- var matches = after.match(/^\s*([+/*%-]\s*)*(\d+(\.\d+){0,1}|\.\d+)[a-zA-Z_0-9-]+(?:$|[)}, ])/);
-
- if (matches) {
- if (matches[0]) {
- result.is = true;
- }
-
- if (matches[1]) {
- result.opsBetween = true;
- }
- }
-
- return result;
-}
-
-function isNumberAfter(after) {
- var result = {
- is: false,
- opsBetween: false
- };
- var matches = after.match(/^\s*([+/*%-]\s*)*(\d+(\.\d+){0,1}|\.\d+)(?:$|[)}, ])/);
-
- if (matches) {
- if (matches[0]) {
- result.is = true;
- }
-
- if (matches[1]) {
- result.opsBetween = true;
- }
- }
-
- return result;
-}
-
-function isNumberBefore(before) {
- if (before.trim().search(/(?:^|[/(){},\s])(\d+(\.\d+){0,1}|\.\d+)$/) !== -1) {
- return true;
- }
-
- return false;
-}
-
-function isVariableBefore(before) {
- return before.trim().search(/\$[a-zA-Z_0-9-]+$/) !== -1;
-}
-
-function isVariableAfter(after) {
- var result = {
- is: false,
- opsBetween: false
- };
- var matches = after.match(/^\s*([+/*%-]\s*)*\$/);
-
- if (matches) {
- if (matches[0]) {
- result.is = true;
- }
-
- if (matches[1]) {
- result.opsBetween = true;
- }
- }
-
- return result;
-}
-
-function isDotBefore(before) {
- return before.slice(-1) === ".";
-}
-
-function isProtocolBefore(before) {
- return before.search(/https?:/) !== -1;
-}
-
-function isFunctionBefore(before) {
- return before.trim().search(/[a-zA-Z0-9_-]\(.*?\)\s*$/) !== -1;
-}
-
-function isFunctionAfter(after) {
- var result = {
- is: false,
- opsBetween: false
- }; // `-fn()` is a valid function name, so if a - should be a sign/operator,
- // it must have a space after
-
- var matches = after.match(/^\s*(-\s+|[+/*%]\s*)*[a-zA-Z_-][a-zA-Z_0-9-]*\(/);
-
- if (matches) {
- if (matches[0]) {
- result.is = true;
- }
-
- if (matches[1]) {
- result.opsBetween = true;
- }
- }
-
- return result;
-}
-/**
- * Checks if the input string is a hex color value
- *
- * @param {String} string - the input
- * @return {Boolean} true, if the input is a hex color
- */
-
-
-function isHexColor(string) {
- return string.trim().search(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/) !== -1;
-}
-
-function isHexColorAfter(after) {
- var afterTrimmed = after.match(/(.*?)(?:[)},+/*%-]|\s|$)/)[1].trim();
- return isHexColor(afterTrimmed);
-}
-
-function isHexColorBefore(before) {
- if (before.search(/(?:[/(){},+*%-\s]|^)#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/) !== -1) {
- return true;
- }
-
- return false;
-}
-/**
- * Checks if there is no operand before the currenc char
- * In other words, the current char is at the start of a possible operation,
- * e.g. at the string start, after the opening paren or after a comma
- *
- * @param {String} string - the input string
- * @param {Number} index - current char's position in string
- * @return {Boolean}
- */
-
-
-function isNoOperandBefore(string, index) {
- var before = string.substring(0, index).trim();
- return before.length === 0 || before.search(/[({,]&/) !== -1;
-}
-
-function isPrecedingOperator(string, index) {
- var prevCharIndex = -1;
-
- for (var i = index - 1; i >= 0; i--) {
- if (string[i].search(/\s/) === -1) {
- prevCharIndex = i;
- break;
- }
- }
-
- if (prevCharIndex === -1) {
- return false;
- }
-
- if (mathOperatorCharType(string, prevCharIndex) === "op") {
- return true;
- }
-
- return false;
-} \ No newline at end of file
diff --git a/assets/node_modules/stylelint-scss/dist/utils/whitespaceChecker.js b/assets/node_modules/stylelint-scss/dist/utils/whitespaceChecker.js
deleted file mode 100644
index dfa0e88..0000000
--- a/assets/node_modules/stylelint-scss/dist/utils/whitespaceChecker.js
+++ /dev/null
@@ -1,371 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports["default"] = _default;
-
-var _isWhitespace = _interopRequireDefault(require("./isWhitespace"));
-
-var _isSingleLineString = _interopRequireDefault(require("./isSingleLineString"));
-
-var _configurationError = _interopRequireDefault(require("./configurationError"));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-/**
- * Create a whitespaceChecker, which exposes the following functions:
- * - `before()`
- * - `beforeAllowingIndentation()`
- * - `after()`
- * - `afterOneOnly()`
- *
- * @param {"space"|"newline"} targetWhitespace - This is a keyword instead
- * of the actual character (e.g. " ") in order to accommodate
- * different styles of newline ("\n" vs "\r\n")
- * @param {
- * "always"|"never"
- * |"always-single-line"|"always-multi-line"
- * | "never-single-line"|"never-multi-line"
- * } expectation
- * @param {object} messages - An object of message functions;
- * calling `before*()` or `after*()` and the `expectation` that is passed
- * determines which message functions are required
- * @param {function} [messages.expectedBefore]
- * @param {function} [messages.rejectedBefore]
- * @param {function} [messages.expectedAfter]
- * @param {function} [messages.rejectedAfter]
- * @param {function} [messages.expectedBeforeSingleLine]
- * @param {function} [messages.rejectedBeforeSingleLine]
- * @param {function} [messages.expectedBeforeMultiLine]
- * @param {function} [messages.rejectedBeforeMultiLine]
- * @return {object} The checker, with its exposed checking functions
- */
-function _default(targetWhitespace, expectation, messages) {
- // Keep track of active arguments in order to avoid passing
- // too much stuff around, making signatures long and confusing.
- // This variable gets reset anytime a checking function is called.
- var activeArgs;
- /**
- * Check for whitespace *before* a character.
- *
- * @param {object} args - Named arguments object
- * @param {string} args.source - The source string
- * @param {number} args.index - The index of the character to check before
- * @param {function} args.err - If a violation is found, this callback
- * will be invoked with the relevant warning message.
- * Typically this callback will report() the violation.
- * @param {function} args.errTarget - If a violation is found, this string
- * will be sent to the relevant warning message.
- * @param {string} [args.lineCheckStr] - Single- and multi-line checkers
- * will use this string to determine whether they should proceed,
- * i.e. if this string is one line only, single-line checkers will check,
- * multi-line checkers will ignore.
- * If none is passed, they will use `source`.
- * @param {boolean} [args.onlyOneChar=false] - Only check *one* character before.
- * By default, "always-*" checks will look for the `targetWhitespace` one
- * before and then ensure there is no whitespace two before. This option
- * bypasses that second check.
- * @param {boolean} [args.allowIndentation=false] - Allow arbitrary indentation
- * between the `targetWhitespace` (almost definitely a newline) and the `index`.
- * With this option, the checker will see if a newline *begins* the whitespace before
- * the `index`.
- */
-
- function before(_ref) {
- var source = _ref.source,
- index = _ref.index,
- err = _ref.err,
- errTarget = _ref.errTarget,
- lineCheckStr = _ref.lineCheckStr,
- _ref$onlyOneChar = _ref.onlyOneChar,
- onlyOneChar = _ref$onlyOneChar === void 0 ? false : _ref$onlyOneChar,
- _ref$allowIndentation = _ref.allowIndentation,
- allowIndentation = _ref$allowIndentation === void 0 ? false : _ref$allowIndentation;
- activeArgs = {
- source: source,
- index: index,
- err: err,
- errTarget: errTarget,
- onlyOneChar: onlyOneChar,
- allowIndentation: allowIndentation
- };
-
- switch (expectation) {
- case "always":
- expectBefore();
- break;
-
- case "never":
- rejectBefore();
- break;
-
- case "always-single-line":
- if (!(0, _isSingleLineString["default"])(lineCheckStr || source)) {
- return;
- }
-
- expectBefore(messages.expectedBeforeSingleLine);
- break;
-
- case "never-single-line":
- if (!(0, _isSingleLineString["default"])(lineCheckStr || source)) {
- return;
- }
-
- rejectBefore(messages.rejectedBeforeSingleLine);
- break;
-
- case "always-multi-line":
- if ((0, _isSingleLineString["default"])(lineCheckStr || source)) {
- return;
- }
-
- expectBefore(messages.expectedBeforeMultiLine);
- break;
-
- case "never-multi-line":
- if ((0, _isSingleLineString["default"])(lineCheckStr || source)) {
- return;
- }
-
- rejectBefore(messages.rejectedBeforeMultiLine);
- break;
-
- default:
- throw (0, _configurationError["default"])("Unknown expectation \"".concat(expectation, "\""));
- }
- }
- /**
- * Check for whitespace *after* a character.
- *
- * Parameters are pretty much the same as for `before()`, above, just substitute
- * the word "after" for "before".
- */
-
-
- function after(_ref2) {
- var source = _ref2.source,
- index = _ref2.index,
- err = _ref2.err,
- errTarget = _ref2.errTarget,
- lineCheckStr = _ref2.lineCheckStr,
- _ref2$onlyOneChar = _ref2.onlyOneChar,
- onlyOneChar = _ref2$onlyOneChar === void 0 ? false : _ref2$onlyOneChar;
- activeArgs = {
- source: source,
- index: index,
- err: err,
- errTarget: errTarget,
- onlyOneChar: onlyOneChar
- };
-
- switch (expectation) {
- case "always":
- expectAfter();
- break;
-
- case "never":
- rejectAfter();
- break;
-
- case "always-single-line":
- if (!(0, _isSingleLineString["default"])(lineCheckStr || source)) {
- return;
- }
-
- expectAfter(messages.expectedAfterSingleLine);
- break;
-
- case "never-single-line":
- if (!(0, _isSingleLineString["default"])(lineCheckStr || source)) {
- return;
- }
-
- rejectAfter(messages.rejectedAfterSingleLine);
- break;
-
- case "always-multi-line":
- if ((0, _isSingleLineString["default"])(lineCheckStr || source)) {
- return;
- }
-
- expectAfter(messages.expectedAfterMultiLine);
- break;
-
- case "never-multi-line":
- if ((0, _isSingleLineString["default"])(lineCheckStr || source)) {
- return;
- }
-
- rejectAfter(messages.rejectedAfterMultiLine);
- break;
-
- case "at-least-one-space":
- expectAfter(messages.expectedAfterAtLeast);
- break;
-
- default:
- throw (0, _configurationError["default"])("Unknown expectation \"".concat(expectation, "\""));
- }
- }
-
- function beforeAllowingIndentation(obj) {
- before(Object.assign({}, obj, {
- allowIndentation: true
- }));
- }
-
- function expectBefore() {
- var messageFunc = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : messages.expectedBefore;
-
- if (activeArgs.allowIndentation) {
- expectBeforeAllowingIndentation(messageFunc);
- return;
- }
-
- var _activeArgs = activeArgs,
- source = _activeArgs.source,
- index = _activeArgs.index;
- var oneCharBefore = source[index - 1];
- var twoCharsBefore = source[index - 2];
-
- if (!isValue(oneCharBefore)) {
- return;
- }
-
- if (targetWhitespace === "newline") {
- // If index is preceeded by a Windows CR-LF ...
- if (oneCharBefore === "\n" && twoCharsBefore === "\r") {
- if (activeArgs.onlyOneChar || !(0, _isWhitespace["default"])(source[index - 3])) {
- return;
- }
- } // If index is followed by a Unix LF ...
-
-
- if (oneCharBefore === "\n" && twoCharsBefore !== "\r") {
- if (activeArgs.onlyOneChar || !(0, _isWhitespace["default"])(twoCharsBefore)) {
- return;
- }
- }
- }
-
- if (targetWhitespace === "space" && oneCharBefore === " ") {
- if (activeArgs.onlyOneChar || !(0, _isWhitespace["default"])(twoCharsBefore)) {
- return;
- }
- }
-
- activeArgs.err(messageFunc(activeArgs.errTarget ? activeArgs.errTarget : source[index]));
- }
-
- function expectBeforeAllowingIndentation() {
- var messageFunc = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : messages.expectedBefore;
- var _activeArgs2 = activeArgs,
- source = _activeArgs2.source,
- index = _activeArgs2.index,
- err = _activeArgs2.err;
-
- var expectedChar = function () {
- if (targetWhitespace === "newline") {
- return "\n";
- }
-
- if (targetWhitespace === "space") {
- return " ";
- }
- }();
-
- var i = index - 1;
-
- while (source[i] !== expectedChar) {
- if (source[i] === "\t" || source[i] === " ") {
- i--;
- continue;
- }
-
- err(messageFunc(activeArgs.errTarget ? activeArgs.errTarget : source[index]));
- return;
- }
- }
-
- function rejectBefore() {
- var messageFunc = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : messages.rejectedBefore;
- var _activeArgs3 = activeArgs,
- source = _activeArgs3.source,
- index = _activeArgs3.index;
- var oneCharBefore = source[index - 1];
-
- if (isValue(oneCharBefore) && (0, _isWhitespace["default"])(oneCharBefore)) {
- activeArgs.err(messageFunc(activeArgs.errTarget ? activeArgs.errTarget : source[index]));
- }
- }
-
- function afterOneOnly(obj) {
- after(Object.assign({}, obj, {
- onlyOneChar: true
- }));
- }
-
- function expectAfter() {
- var messageFunc = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : messages.expectedAfter;
- var _activeArgs4 = activeArgs,
- source = _activeArgs4.source,
- index = _activeArgs4.index;
- var oneCharAfter = index + 1 < source.length ? source[index + 1] : "";
- var twoCharsAfter = index + 2 < source.length ? source[index + 2] : "";
-
- if (!isValue(oneCharAfter)) {
- return;
- }
-
- if (targetWhitespace === "newline") {
- // If index is followed by a Windows CR-LF ...
- if (oneCharAfter === "\r" && twoCharsAfter === "\n") {
- var threeCharsAfter = index + 3 < source.length ? source[index + 3] : "";
-
- if (activeArgs.onlyOneChar || !(0, _isWhitespace["default"])(threeCharsAfter)) {
- return;
- }
- } // If index is followed by a Unix LF ...
-
-
- if (oneCharAfter === "\n") {
- if (activeArgs.onlyOneChar || !(0, _isWhitespace["default"])(twoCharsAfter)) {
- return;
- }
- }
- }
-
- if (targetWhitespace === "space" && oneCharAfter === " ") {
- if (expectation === "at-least-one-space" || activeArgs.onlyOneChar || !(0, _isWhitespace["default"])(twoCharsAfter)) {
- return;
- }
- }
-
- activeArgs.err(messageFunc(activeArgs.errTarget ? activeArgs.errTarget : source[index]));
- }
-
- function rejectAfter() {
- var messageFunc = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : messages.rejectedAfter;
- var _activeArgs5 = activeArgs,
- source = _activeArgs5.source,
- index = _activeArgs5.index;
- var oneCharAfter = index + 1 < source.length ? source[index + 1] : "";
-
- if (isValue(oneCharAfter) && (0, _isWhitespace["default"])(oneCharAfter)) {
- activeArgs.err(messageFunc(activeArgs.errTarget ? activeArgs.errTarget : source[index]));
- }
- }
-
- return {
- before: before,
- beforeAllowingIndentation: beforeAllowingIndentation,
- after: after,
- afterOneOnly: afterOneOnly
- };
-}
-
-function isValue(x) {
- return x !== undefined && x !== null;
-} \ No newline at end of file