@readme/markdown 6.40.0 → 6.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.node.js CHANGED
@@ -7,7 +7,7 @@
7
7
  var a = typeof exports === 'object' ? factory(require("@readme/variable"), require("react")) : factory(root["@readme/variable"], root["React"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(global, function(__WEBPACK_EXTERNAL_MODULE__3689__, __WEBPACK_EXTERNAL_MODULE__4466__) {
10
+ })(global, (__WEBPACK_EXTERNAL_MODULE__3689__, __WEBPACK_EXTERNAL_MODULE__4466__) => {
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
@@ -2020,6 +2020,8 @@ module.exports = ErrorReportingPreprocessorMixin;
2020
2020
  "use strict";
2021
2021
 
2022
2022
 
2023
+ var _createClass = __webpack_require__(3913);
2024
+
2023
2025
  var _classCallCheck = __webpack_require__(4575);
2024
2026
 
2025
2027
  var _inherits = __webpack_require__(2205);
@@ -2054,7 +2056,7 @@ var ErrorReportingTokenizerMixin = /*#__PURE__*/function (_ErrorReportingMixinB)
2054
2056
  return _this;
2055
2057
  }
2056
2058
 
2057
- return ErrorReportingTokenizerMixin;
2059
+ return _createClass(ErrorReportingTokenizerMixin);
2058
2060
  }(ErrorReportingMixinBase);
2059
2061
 
2060
2062
  module.exports = ErrorReportingTokenizerMixin;
@@ -10153,16 +10155,16 @@ module.exports = TableOfContents;
10153
10155
  "use strict";
10154
10156
  __webpack_require__.r(__webpack_exports__);
10155
10157
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10156
- /* harmony export */ "GlossaryItem": () => (/* reexport default from dynamic */ _GlossaryItem__WEBPACK_IMPORTED_MODULE_0___default.a),
10157
- /* harmony export */ "Code": () => (/* reexport default from dynamic */ _Code__WEBPACK_IMPORTED_MODULE_1___default.a),
10158
- /* harmony export */ "Table": () => (/* reexport default from dynamic */ _Table__WEBPACK_IMPORTED_MODULE_2___default.a),
10159
10158
  /* harmony export */ "Anchor": () => (/* reexport default from dynamic */ _Anchor__WEBPACK_IMPORTED_MODULE_3___default.a),
10160
- /* harmony export */ "Heading": () => (/* reexport default from dynamic */ _Heading__WEBPACK_IMPORTED_MODULE_4___default.a),
10161
10159
  /* harmony export */ "Callout": () => (/* reexport default from dynamic */ _Callout__WEBPACK_IMPORTED_MODULE_5___default.a),
10160
+ /* harmony export */ "Code": () => (/* reexport default from dynamic */ _Code__WEBPACK_IMPORTED_MODULE_1___default.a),
10162
10161
  /* harmony export */ "CodeTabs": () => (/* reexport default from dynamic */ _CodeTabs__WEBPACK_IMPORTED_MODULE_6___default.a),
10163
- /* harmony export */ "Image": () => (/* reexport default from dynamic */ _Image__WEBPACK_IMPORTED_MODULE_7___default.a),
10164
10162
  /* harmony export */ "Embed": () => (/* reexport default from dynamic */ _Embed__WEBPACK_IMPORTED_MODULE_8___default.a),
10163
+ /* harmony export */ "GlossaryItem": () => (/* reexport default from dynamic */ _GlossaryItem__WEBPACK_IMPORTED_MODULE_0___default.a),
10165
10164
  /* harmony export */ "HTMLBlock": () => (/* reexport default from dynamic */ _HTMLBlock__WEBPACK_IMPORTED_MODULE_9___default.a),
10165
+ /* harmony export */ "Heading": () => (/* reexport default from dynamic */ _Heading__WEBPACK_IMPORTED_MODULE_4___default.a),
10166
+ /* harmony export */ "Image": () => (/* reexport default from dynamic */ _Image__WEBPACK_IMPORTED_MODULE_7___default.a),
10167
+ /* harmony export */ "Table": () => (/* reexport default from dynamic */ _Table__WEBPACK_IMPORTED_MODULE_2___default.a),
10166
10168
  /* harmony export */ "TableOfContents": () => (/* reexport default from dynamic */ _TableOfContents__WEBPACK_IMPORTED_MODULE_10___default.a)
10167
10169
  /* harmony export */ });
10168
10170
  /* harmony import */ var _GlossaryItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6566);
@@ -10644,17 +10646,17 @@ if (true) {
10644
10646
  "use strict";
10645
10647
 
10646
10648
  t.r(s), t.d(s, {
10647
- uppercase: function uppercase() {
10648
- return l.a;
10649
- },
10650
10649
  canonical: function canonical() {
10651
10650
  return c.a;
10652
10651
  },
10652
+ getMode: function getMode() {
10653
+ return a.getMode;
10654
+ },
10653
10655
  modes: function modes() {
10654
10656
  return a.modes;
10655
10657
  },
10656
- getMode: function getMode() {
10657
- return a.getMode;
10658
+ uppercase: function uppercase() {
10659
+ return l.a;
10658
10660
  }
10659
10661
  });
10660
10662
  var e = t(857),
@@ -10680,9 +10682,9 @@ __webpack_require__.r(__webpack_exports__);
10680
10682
  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);
10681
10683
 
10682
10684
 
10683
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
10685
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
10684
10686
 
10685
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
10687
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
10686
10688
 
10687
10689
  var options = {
10688
10690
  compatibilityMode: false,
@@ -10829,9 +10831,9 @@ module.exports = function DivCompiler() {
10829
10831
 
10830
10832
  var _defineProperty = __webpack_require__(9713);
10831
10833
 
10832
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
10834
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
10833
10835
 
10834
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
10836
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
10835
10837
 
10836
10838
  function EmbedCompiler(node) {
10837
10839
  var data = node.data.hProperties;
@@ -10872,9 +10874,9 @@ var _slicedToArray = __webpack_require__(3038);
10872
10874
 
10873
10875
  var _defineProperty = __webpack_require__(9713);
10874
10876
 
10875
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
10877
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
10876
10878
 
10877
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
10879
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
10878
10880
 
10879
10881
  var _require = __webpack_require__(7589),
10880
10882
  imgSizeByWidth = _require.imgSizeByWidth;
@@ -11008,7 +11010,8 @@ __webpack_require__.r(__webpack_exports__);
11008
11010
  /* harmony export */ "rdmePinCompiler": () => (/* reexport default from dynamic */ _pin__WEBPACK_IMPORTED_MODULE_11___default.a),
11009
11011
  /* harmony export */ "rdmeVarCompiler": () => (/* reexport default from dynamic */ _var__WEBPACK_IMPORTED_MODULE_12___default.a),
11010
11012
  /* harmony export */ "tableCompiler": () => (/* reexport default from dynamic */ _table__WEBPACK_IMPORTED_MODULE_13___default.a),
11011
- /* harmony export */ "tableHeadCompiler": () => (/* reexport default from dynamic */ _table_head__WEBPACK_IMPORTED_MODULE_14___default.a)
11013
+ /* harmony export */ "tableHeadCompiler": () => (/* reexport default from dynamic */ _table_head__WEBPACK_IMPORTED_MODULE_14___default.a),
11014
+ /* harmony export */ "yamlCompiler": () => (/* reexport default from dynamic */ _yaml__WEBPACK_IMPORTED_MODULE_15___default.a)
11012
11015
  /* harmony export */ });
11013
11016
  /* harmony import */ var _break__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3688);
11014
11017
  /* harmony import */ var _break__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_break__WEBPACK_IMPORTED_MODULE_0__);
@@ -11040,6 +11043,9 @@ __webpack_require__.r(__webpack_exports__);
11040
11043
  /* harmony import */ var _table__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_table__WEBPACK_IMPORTED_MODULE_13__);
11041
11044
  /* harmony import */ var _table_head__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(186);
11042
11045
  /* harmony import */ var _table_head__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_table_head__WEBPACK_IMPORTED_MODULE_14__);
11046
+ /* harmony import */ var _yaml__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(1773);
11047
+ /* harmony import */ var _yaml__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_yaml__WEBPACK_IMPORTED_MODULE_15__);
11048
+
11043
11049
 
11044
11050
 
11045
11051
 
@@ -11152,6 +11158,20 @@ module.exports = function RdmeVarCompiler() {
11152
11158
 
11153
11159
  /***/ }),
11154
11160
 
11161
+ /***/ 1773:
11162
+ /***/ ((module) => {
11163
+
11164
+ module.exports = function YamlCompiler() {
11165
+ var Compiler = this.Compiler;
11166
+ var visitors = Compiler.prototype.visitors;
11167
+
11168
+ visitors.yaml = function compile(node) {
11169
+ return "---\n".concat(node.value, "\n---");
11170
+ };
11171
+ };
11172
+
11173
+ /***/ }),
11174
+
11155
11175
  /***/ 8399:
11156
11176
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
11157
11177
 
@@ -11294,11 +11314,11 @@ var _setPrototypeOf = __webpack_require__(9489);
11294
11314
 
11295
11315
  var _slicedToArray = __webpack_require__(3038);
11296
11316
 
11297
- function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(re, groups) { return new BabelRegExp(re, undefined, groups); }; var _super = RegExp.prototype; var _groups = new WeakMap(); function BabelRegExp(re, flags, groups) { var _this = new RegExp(re, flags); _groups.set(_this, groups || _groups.get(re)); return _setPrototypeOf(_this, BabelRegExp.prototype); } _inherits(BabelRegExp, RegExp); BabelRegExp.prototype.exec = function (str) { var result = _super.exec.call(this, str); if (result) result.groups = buildGroups(result, this); return result; }; BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { if (typeof substitution === "string") { var groups = _groups.get(this); return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { return "$" + groups[name]; })); } else if (typeof substitution === "function") { var _this = this; return _super[Symbol.replace].call(this, str, function () { var args = arguments; if (_typeof(args[args.length - 1]) !== "object") { args = [].slice.call(args); args.push(buildGroups(args, _this)); } return substitution.apply(this, args); }); } else { return _super[Symbol.replace].call(this, str, substitution); } }; function buildGroups(result, re) { var g = _groups.get(re); return Object.keys(g).reduce(function (groups, name) { groups[name] = result[g[name]]; return groups; }, Object.create(null)); } return _wrapRegExp.apply(this, arguments); }
11317
+ function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(re, groups) { return new BabelRegExp(re, void 0, groups); }; var _super = RegExp.prototype, _groups = new WeakMap(); function BabelRegExp(re, flags, groups) { var _this = new RegExp(re, flags); return _groups.set(_this, groups || _groups.get(re)), _setPrototypeOf(_this, BabelRegExp.prototype); } function buildGroups(result, re) { var g = _groups.get(re); return Object.keys(g).reduce(function (groups, name) { return groups[name] = result[g[name]], groups; }, Object.create(null)); } return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) { var result = _super.exec.call(this, str); return result && (result.groups = buildGroups(result, this)), result; }, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { if ("string" == typeof substitution) { var groups = _groups.get(this); return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { return "$" + groups[name]; })); } if ("function" == typeof substitution) { var _this = this; return _super[Symbol.replace].call(this, str, function () { var args = arguments; return "object" != _typeof(args[args.length - 1]) && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args); }); } return _super[Symbol.replace].call(this, str, substitution); }, _wrapRegExp.apply(this, arguments); }
11298
11318
 
11299
11319
  function tokenizer(eat, value) {
11300
11320
  // eslint-disable-next-line unicorn/no-unsafe-regex
11301
- var TAB_BLOCK_RGXP = /^(?:(?:^|\n)```(?:(?!\n```)[\s\S])*\n```(?:(?![\0-\x08\n\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uFEFE\uFF00-\uFFFF])[\s\S])*){2,}/g;
11321
+ var TAB_BLOCK_RGXP = /^(?:(?:^|\n)```(?:(?!\n```)[\s\S])*\n```[^\S\n]*){2,}/g;
11302
11322
 
11303
11323
  var _ref = TAB_BLOCK_RGXP.exec(value) || [],
11304
11324
  _ref2 = _slicedToArray(_ref, 1),
@@ -11315,7 +11335,7 @@ function tokenizer(eat, value) {
11315
11335
  */
11316
11336
  // eslint-disable-next-line unicorn/no-unsafe-regex
11317
11337
 
11318
- var CODE_BLOCK_RGXP = /*#__PURE__*/_wrapRegExp(/(?:^|\n)```[\t ]*((?:(?![\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])[\s\S])+)?(?: *((?:(?!\n)[\s\S])+))?(((?!\n```)[\s\S])*)?\n```/g, {
11338
+ var CODE_BLOCK_RGXP = /*#__PURE__*/_wrapRegExp(/(?:^|\n)```[ \t]*([^\s]+)?(?: *([^\n]+))?(((?!\n```)[\s\S])*)?\n```/g, {
11319
11339
  lang: 1,
11320
11340
  meta: 2,
11321
11341
  code: 3
@@ -11624,11 +11644,21 @@ var _defineProperty = __webpack_require__(9713);
11624
11644
 
11625
11645
  var _slicedToArray = __webpack_require__(3038);
11626
11646
 
11627
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
11647
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
11628
11648
 
11629
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
11649
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
11630
11650
 
11631
11651
  /* eslint-disable consistent-return */
11652
+ var unified = __webpack_require__(8835);
11653
+
11654
+ var rehypeParse = __webpack_require__(3322);
11655
+
11656
+ var rehypeSanitize = __webpack_require__(1667);
11657
+
11658
+ var rehypeStringify = __webpack_require__(7532);
11659
+
11660
+ var globalSanitizeSchema = __webpack_require__(8229);
11661
+
11632
11662
  var RGXP = /^\[block:(.*)\]([^]+?)\[\/block\]/;
11633
11663
  var compatibilityMode;
11634
11664
 
@@ -11659,6 +11689,13 @@ var imgSizeByWidth = new Proxy(new Map(Array.from(imgSizeValues).reverse()), {
11659
11689
  return match ? match[1] : width in sizes ? sizes[width] : width;
11660
11690
  }
11661
11691
  });
11692
+ var processor = unified().use(rehypeParse, {
11693
+ fragment: true
11694
+ }).use(rehypeSanitize, globalSanitizeSchema).use(rehypeStringify);
11695
+
11696
+ var sanitize = function sanitize(html) {
11697
+ return processor.processSync(html).toString();
11698
+ };
11662
11699
 
11663
11700
  function tokenize(eat, value) {
11664
11701
  var _this = this;
@@ -11906,7 +11943,7 @@ function tokenize(eat, value) {
11906
11943
  data: {
11907
11944
  hName: 'html-block',
11908
11945
  hProperties: {
11909
- html: json.html,
11946
+ html: sanitize(json.html),
11910
11947
  runScripts: compatibilityMode
11911
11948
  }
11912
11949
  }
@@ -12109,9 +12146,9 @@ var _defineProperty = __webpack_require__(9713);
12109
12146
 
12110
12147
  var _slicedToArray = __webpack_require__(3038);
12111
12148
 
12112
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
12149
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
12113
12150
 
12114
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
12151
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
12115
12152
 
12116
12153
  var flatMap = __webpack_require__(5885);
12117
12154
 
@@ -14121,54 +14158,134 @@ function ok() {
14121
14158
 
14122
14159
  /***/ }),
14123
14160
 
14124
- /***/ 8909:
14161
+ /***/ 3216:
14125
14162
  /***/ ((module) => {
14126
14163
 
14127
14164
  "use strict";
14128
14165
 
14129
14166
 
14130
- module.exports = isElement
14167
+ module.exports = convert
14131
14168
 
14132
- // Check if if `node` is an `element` and, if `tagNames` is given, `node`
14133
- // matches them `tagNames`.
14134
- function isElement(node, tagNames) {
14135
- var name
14169
+ function convert(test) {
14170
+ if (typeof test === 'string') {
14171
+ return tagNameFactory(test)
14172
+ }
14136
14173
 
14137
- if (
14138
- !(
14139
- tagNames === null ||
14140
- tagNames === undefined ||
14141
- typeof tagNames === 'string' ||
14142
- (typeof tagNames === 'object' && tagNames.length !== 0)
14143
- )
14144
- ) {
14145
- throw new Error(
14146
- 'Expected `string` or `Array.<string>` for `tagNames`, not `' +
14147
- tagNames +
14148
- '`'
14149
- )
14174
+ if (test === null || test === undefined) {
14175
+ return element
14150
14176
  }
14151
14177
 
14178
+ if (typeof test === 'object') {
14179
+ return any(test)
14180
+ }
14181
+
14182
+ if (typeof test === 'function') {
14183
+ return callFactory(test)
14184
+ }
14185
+
14186
+ throw new Error('Expected function, string, or array as test')
14187
+ }
14188
+
14189
+ function convertAll(tests) {
14190
+ var length = tests.length
14191
+ var index = -1
14192
+ var results = []
14193
+
14194
+ while (++index < length) {
14195
+ results[index] = convert(tests[index])
14196
+ }
14197
+
14198
+ return results
14199
+ }
14200
+
14201
+ function any(tests) {
14202
+ var checks = convertAll(tests)
14203
+ var length = checks.length
14204
+
14205
+ return matches
14206
+
14207
+ function matches() {
14208
+ var index = -1
14209
+
14210
+ while (++index < length) {
14211
+ if (checks[index].apply(this, arguments)) {
14212
+ return true
14213
+ }
14214
+ }
14215
+
14216
+ return false
14217
+ }
14218
+ }
14219
+
14220
+ // Utility to convert a string a tag name check.
14221
+ function tagNameFactory(test) {
14222
+ return tagName
14223
+
14224
+ function tagName(node) {
14225
+ return element(node) && node.tagName === test
14226
+ }
14227
+ }
14228
+
14229
+ // Utility to convert a function check.
14230
+ function callFactory(test) {
14231
+ return call
14232
+
14233
+ function call(node) {
14234
+ return element(node) && Boolean(test.apply(this, arguments))
14235
+ }
14236
+ }
14237
+
14238
+ // Utility to return true if this is an element.
14239
+ function element(node) {
14240
+ return (
14241
+ node &&
14242
+ typeof node === 'object' &&
14243
+ node.type === 'element' &&
14244
+ typeof node.tagName === 'string'
14245
+ )
14246
+ }
14247
+
14248
+
14249
+ /***/ }),
14250
+
14251
+ /***/ 8909:
14252
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14253
+
14254
+ "use strict";
14255
+
14256
+
14257
+ var convert = __webpack_require__(3216)
14258
+
14259
+ module.exports = isElement
14260
+
14261
+ isElement.convert = convert
14262
+
14263
+ // Check if if `node` is an `element` and whether it passes the given test.
14264
+ function isElement(node, test, index, parent, context) {
14265
+ var hasParent = parent !== null && parent !== undefined
14266
+ var hasIndex = index !== null && index !== undefined
14267
+ var check = convert(test)
14268
+
14152
14269
  if (
14153
- !node ||
14154
- typeof node !== 'object' ||
14155
- node.type !== 'element' ||
14156
- typeof node.tagName !== 'string'
14270
+ hasIndex &&
14271
+ (typeof index !== 'number' || index < 0 || index === Infinity)
14157
14272
  ) {
14158
- return false
14273
+ throw new Error('Expected positive finite index for child node')
14159
14274
  }
14160
14275
 
14161
- if (tagNames === null || tagNames === undefined) {
14162
- return true
14276
+ if (hasParent && (!parent.type || !parent.children)) {
14277
+ throw new Error('Expected parent node')
14163
14278
  }
14164
14279
 
14165
- name = node.tagName
14280
+ if (!node || !node.type || typeof node.type !== 'string') {
14281
+ return false
14282
+ }
14166
14283
 
14167
- if (typeof tagNames === 'string') {
14168
- return name === tagNames
14284
+ if (hasParent !== hasIndex) {
14285
+ throw new Error('Expected both parent and index')
14169
14286
  }
14170
14287
 
14171
- return tagNames.indexOf(name) !== -1
14288
+ return check.call(context, node, index, parent)
14172
14289
  }
14173
14290
 
14174
14291
 
@@ -21068,6 +21185,104 @@ var svg = __webpack_require__(5789)
21068
21185
  module.exports = merge([xml, xlink, xmlns, aria, svg])
21069
21186
 
21070
21187
 
21188
+ /***/ }),
21189
+
21190
+ /***/ 3322:
21191
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
21192
+
21193
+ "use strict";
21194
+
21195
+
21196
+ var fromParse5 = __webpack_require__(7721)
21197
+ var Parser5 = __webpack_require__(6425)
21198
+ var errors = __webpack_require__(2471)
21199
+
21200
+ var base = 'https://html.spec.whatwg.org/multipage/parsing.html#parse-error-'
21201
+
21202
+ var fatalities = {2: true, 1: false, 0: null}
21203
+
21204
+ module.exports = parse
21205
+
21206
+ function parse(options) {
21207
+ var settings = Object.assign({}, options, this.data('settings'))
21208
+ var position = settings.position
21209
+
21210
+ position = typeof position === 'boolean' ? position : true
21211
+
21212
+ this.Parser = parser
21213
+
21214
+ function parser(doc, file) {
21215
+ var fn = settings.fragment ? 'parseFragment' : 'parse'
21216
+ var onParseError = settings.emitParseErrors ? onerror : null
21217
+ var parse5 = new Parser5({
21218
+ sourceCodeLocationInfo: position,
21219
+ onParseError: onParseError,
21220
+ scriptingEnabled: false
21221
+ })
21222
+
21223
+ return fromParse5(parse5[fn](doc), {
21224
+ space: settings.space,
21225
+ file: file,
21226
+ verbose: settings.verbose
21227
+ })
21228
+
21229
+ function onerror(err) {
21230
+ var code = err.code
21231
+ var name = camelcase(code)
21232
+ var setting = settings[name]
21233
+ var config = setting === undefined || setting === null ? true : setting
21234
+ var level = typeof config === 'number' ? config : config ? 1 : 0
21235
+ var start = {
21236
+ line: err.startLine,
21237
+ column: err.startCol,
21238
+ offset: err.startOffset
21239
+ }
21240
+ var end = {line: err.endLine, column: err.endCol, offset: err.endOffset}
21241
+ var info
21242
+ var message
21243
+
21244
+ if (level) {
21245
+ info = errors[name] || /* istanbul ignore next */ {
21246
+ reason: '',
21247
+ description: ''
21248
+ }
21249
+
21250
+ message = file.message(format(info.reason), {start: start, end: end})
21251
+ message.source = 'parse-error'
21252
+ message.ruleId = code
21253
+ message.fatal = fatalities[level]
21254
+ message.note = format(info.description)
21255
+ message.url = info.url === false ? null : base + code
21256
+ }
21257
+
21258
+ function format(value) {
21259
+ return value.replace(/%c(?:-(\d+))?/g, char).replace(/%x/g, encodedChar)
21260
+ }
21261
+
21262
+ function char($0, $1) {
21263
+ var offset = $1 ? -parseInt($1, 10) : 0
21264
+ var char = doc.charAt(err.startOffset + offset)
21265
+ return char === '`' ? '` ` `' : char
21266
+ }
21267
+
21268
+ function encodedChar() {
21269
+ var char = doc.charCodeAt(err.startOffset).toString(16).toUpperCase()
21270
+
21271
+ return '0x' + char
21272
+ }
21273
+ }
21274
+ }
21275
+ }
21276
+
21277
+ function camelcase(value) {
21278
+ return value.replace(/-[a-z]/g, replacer)
21279
+ }
21280
+
21281
+ function replacer($0) {
21282
+ return $0.charAt(1).toUpperCase()
21283
+ }
21284
+
21285
+
21071
21286
  /***/ }),
21072
21287
 
21073
21288
  /***/ 6388:
@@ -29818,32 +30033,6 @@ function repeat(str, num) {
29818
30033
  }
29819
30034
 
29820
30035
 
29821
- /***/ }),
29822
-
29823
- /***/ 8245:
29824
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29825
-
29826
- "use strict";
29827
-
29828
-
29829
- var path = __webpack_require__(1017);
29830
-
29831
- function replaceExt(npath, ext) {
29832
- if (typeof npath !== 'string') {
29833
- return npath;
29834
- }
29835
-
29836
- if (npath.length === 0) {
29837
- return npath;
29838
- }
29839
-
29840
- var nFileName = path.basename(npath, path.extname(npath)) + ext;
29841
- return path.join(path.dirname(npath), nFileName);
29842
- }
29843
-
29844
- module.exports = replaceExt;
29845
-
29846
-
29847
30036
  /***/ }),
29848
30037
 
29849
30038
  /***/ 6582:
@@ -31958,48 +32147,66 @@ function parseOrigin(origin) {
31958
32147
 
31959
32148
  /***/ }),
31960
32149
 
31961
- /***/ 3638:
32150
+ /***/ 939:
31962
32151
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
31963
32152
 
31964
32153
  "use strict";
31965
32154
 
31966
32155
 
31967
- var path = __webpack_require__(1017)
31968
- var replace = __webpack_require__(8245)
32156
+ module.exports = __webpack_require__(5905)
32157
+
32158
+
32159
+ /***/ }),
32160
+
32161
+ /***/ 5442:
32162
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
32163
+
32164
+ "use strict";
32165
+
32166
+
32167
+ var p = __webpack_require__(4737)
32168
+ var proc = __webpack_require__(6576)
31969
32169
  var buffer = __webpack_require__(8738)
31970
32170
 
31971
32171
  module.exports = VFile
31972
32172
 
31973
32173
  var own = {}.hasOwnProperty
31974
- var proto = VFile.prototype
31975
32174
 
31976
32175
  // Order of setting (least specific to most), we need this because otherwise
31977
32176
  // `{stem: 'a', path: '~/b.js'}` would throw, as a path is needed before a
31978
32177
  // stem can be set.
31979
32178
  var order = ['history', 'path', 'basename', 'stem', 'extname', 'dirname']
31980
32179
 
31981
- proto.toString = toString
32180
+ VFile.prototype.toString = toString
31982
32181
 
31983
32182
  // Access full path (`~/index.min.js`).
31984
- Object.defineProperty(proto, 'path', {get: getPath, set: setPath})
32183
+ Object.defineProperty(VFile.prototype, 'path', {get: getPath, set: setPath})
31985
32184
 
31986
32185
  // Access parent path (`~`).
31987
- Object.defineProperty(proto, 'dirname', {get: getDirname, set: setDirname})
32186
+ Object.defineProperty(VFile.prototype, 'dirname', {
32187
+ get: getDirname,
32188
+ set: setDirname
32189
+ })
31988
32190
 
31989
32191
  // Access basename (`index.min.js`).
31990
- Object.defineProperty(proto, 'basename', {get: getBasename, set: setBasename})
32192
+ Object.defineProperty(VFile.prototype, 'basename', {
32193
+ get: getBasename,
32194
+ set: setBasename
32195
+ })
31991
32196
 
31992
32197
  // Access extname (`.js`).
31993
- Object.defineProperty(proto, 'extname', {get: getExtname, set: setExtname})
32198
+ Object.defineProperty(VFile.prototype, 'extname', {
32199
+ get: getExtname,
32200
+ set: setExtname
32201
+ })
31994
32202
 
31995
32203
  // Access stem (`index.min`).
31996
- Object.defineProperty(proto, 'stem', {get: getStem, set: setStem})
32204
+ Object.defineProperty(VFile.prototype, 'stem', {get: getStem, set: setStem})
31997
32205
 
31998
32206
  // Construct a new file.
31999
32207
  function VFile(options) {
32000
32208
  var prop
32001
32209
  var index
32002
- var length
32003
32210
 
32004
32211
  if (!options) {
32005
32212
  options = {}
@@ -32016,13 +32223,12 @@ function VFile(options) {
32016
32223
  this.data = {}
32017
32224
  this.messages = []
32018
32225
  this.history = []
32019
- this.cwd = process.cwd()
32226
+ this.cwd = proc.cwd()
32020
32227
 
32021
32228
  // Set path related properties in the correct order.
32022
32229
  index = -1
32023
- length = order.length
32024
32230
 
32025
- while (++index < length) {
32231
+ while (++index < order.length) {
32026
32232
  prop = order[index]
32027
32233
 
32028
32234
  if (own.call(options, prop)) {
@@ -32032,7 +32238,7 @@ function VFile(options) {
32032
32238
 
32033
32239
  // Set non-path related properties.
32034
32240
  for (prop in options) {
32035
- if (order.indexOf(prop) === -1) {
32241
+ if (order.indexOf(prop) < 0) {
32036
32242
  this[prop] = options[prop]
32037
32243
  }
32038
32244
  }
@@ -32045,76 +32251,73 @@ function getPath() {
32045
32251
  function setPath(path) {
32046
32252
  assertNonEmpty(path, 'path')
32047
32253
 
32048
- if (path !== this.path) {
32254
+ if (this.path !== path) {
32049
32255
  this.history.push(path)
32050
32256
  }
32051
32257
  }
32052
32258
 
32053
32259
  function getDirname() {
32054
- return typeof this.path === 'string' ? path.dirname(this.path) : undefined
32260
+ return typeof this.path === 'string' ? p.dirname(this.path) : undefined
32055
32261
  }
32056
32262
 
32057
32263
  function setDirname(dirname) {
32058
32264
  assertPath(this.path, 'dirname')
32059
- this.path = path.join(dirname || '', this.basename)
32265
+ this.path = p.join(dirname || '', this.basename)
32060
32266
  }
32061
32267
 
32062
32268
  function getBasename() {
32063
- return typeof this.path === 'string' ? path.basename(this.path) : undefined
32269
+ return typeof this.path === 'string' ? p.basename(this.path) : undefined
32064
32270
  }
32065
32271
 
32066
32272
  function setBasename(basename) {
32067
32273
  assertNonEmpty(basename, 'basename')
32068
32274
  assertPart(basename, 'basename')
32069
- this.path = path.join(this.dirname || '', basename)
32275
+ this.path = p.join(this.dirname || '', basename)
32070
32276
  }
32071
32277
 
32072
32278
  function getExtname() {
32073
- return typeof this.path === 'string' ? path.extname(this.path) : undefined
32279
+ return typeof this.path === 'string' ? p.extname(this.path) : undefined
32074
32280
  }
32075
32281
 
32076
32282
  function setExtname(extname) {
32077
- var ext = extname || ''
32078
-
32079
- assertPart(ext, 'extname')
32283
+ assertPart(extname, 'extname')
32080
32284
  assertPath(this.path, 'extname')
32081
32285
 
32082
- if (ext) {
32083
- if (ext.charAt(0) !== '.') {
32286
+ if (extname) {
32287
+ if (extname.charCodeAt(0) !== 46 /* `.` */) {
32084
32288
  throw new Error('`extname` must start with `.`')
32085
32289
  }
32086
32290
 
32087
- if (ext.indexOf('.', 1) !== -1) {
32291
+ if (extname.indexOf('.', 1) > -1) {
32088
32292
  throw new Error('`extname` cannot contain multiple dots')
32089
32293
  }
32090
32294
  }
32091
32295
 
32092
- this.path = replace(this.path, ext)
32296
+ this.path = p.join(this.dirname, this.stem + (extname || ''))
32093
32297
  }
32094
32298
 
32095
32299
  function getStem() {
32096
32300
  return typeof this.path === 'string'
32097
- ? path.basename(this.path, this.extname)
32301
+ ? p.basename(this.path, this.extname)
32098
32302
  : undefined
32099
32303
  }
32100
32304
 
32101
32305
  function setStem(stem) {
32102
32306
  assertNonEmpty(stem, 'stem')
32103
32307
  assertPart(stem, 'stem')
32104
- this.path = path.join(this.dirname || '', stem + (this.extname || ''))
32308
+ this.path = p.join(this.dirname || '', stem + (this.extname || ''))
32105
32309
  }
32106
32310
 
32107
32311
  // Get the value of the file.
32108
32312
  function toString(encoding) {
32109
- var value = this.contents || ''
32110
- return buffer(value) ? value.toString(encoding) : String(value)
32313
+ return (this.contents || '').toString(encoding)
32111
32314
  }
32112
32315
 
32113
- // Assert that `part` is not a path (i.e., does not contain `path.sep`).
32316
+ // Assert that `part` is not a path (i.e., does not contain `p.sep`).
32114
32317
  function assertPart(part, name) {
32115
- if (part.indexOf(path.sep) !== -1) {
32318
+ if (part && part.indexOf(p.sep) > -1) {
32116
32319
  throw new Error(
32117
- '`' + name + '` cannot be a path: did not expect `' + path.sep + '`'
32320
+ '`' + name + '` cannot be a path: did not expect `' + p.sep + '`'
32118
32321
  )
32119
32322
  }
32120
32323
  }
@@ -32136,32 +32339,29 @@ function assertPath(path, name) {
32136
32339
 
32137
32340
  /***/ }),
32138
32341
 
32139
- /***/ 939:
32342
+ /***/ 5905:
32140
32343
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
32141
32344
 
32142
32345
  "use strict";
32143
32346
 
32144
32347
 
32145
32348
  var VMessage = __webpack_require__(734)
32146
- var VFile = __webpack_require__(3638)
32349
+ var VFile = __webpack_require__(5442)
32147
32350
 
32148
32351
  module.exports = VFile
32149
32352
 
32150
- var proto = VFile.prototype
32151
-
32152
- proto.message = message
32153
- proto.info = info
32154
- proto.fail = fail
32353
+ VFile.prototype.message = message
32354
+ VFile.prototype.info = info
32355
+ VFile.prototype.fail = fail
32155
32356
 
32156
32357
  // Create a message with `reason` at `position`.
32157
32358
  // When an error is passed in as `reason`, copies the stack.
32158
32359
  function message(reason, position, origin) {
32159
- var filePath = this.path
32160
32360
  var message = new VMessage(reason, position, origin)
32161
32361
 
32162
- if (filePath) {
32163
- message.name = filePath + ':' + message.name
32164
- message.file = filePath
32362
+ if (this.path) {
32363
+ message.name = this.path + ':' + message.name
32364
+ message.file = this.path
32165
32365
  }
32166
32366
 
32167
32367
  message.fatal = false
@@ -32191,6 +32391,28 @@ function info() {
32191
32391
  }
32192
32392
 
32193
32393
 
32394
+ /***/ }),
32395
+
32396
+ /***/ 4737:
32397
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
32398
+
32399
+ "use strict";
32400
+
32401
+
32402
+ module.exports = __webpack_require__(1017)
32403
+
32404
+
32405
+ /***/ }),
32406
+
32407
+ /***/ 6576:
32408
+ /***/ ((module) => {
32409
+
32410
+ "use strict";
32411
+
32412
+
32413
+ module.exports = process
32414
+
32415
+
32194
32416
  /***/ }),
32195
32417
 
32196
32418
  /***/ 7529:
@@ -34001,6 +34223,14 @@ module.exports = JSON.parse('{"classId":"classID","dataType":"datatype","itemId"
34001
34223
 
34002
34224
  /***/ }),
34003
34225
 
34226
+ /***/ 2471:
34227
+ /***/ ((module) => {
34228
+
34229
+ "use strict";
34230
+ module.exports = JSON.parse('{"abandonedHeadElementChild":{"reason":"Unexpected metadata element after head","description":"Unexpected element after head. Expected the element before `</head>`","url":false},"abruptClosingOfEmptyComment":{"reason":"Unexpected abruptly closed empty comment","description":"Unexpected `>` or `->`. Expected `-->` to close comments"},"abruptDoctypePublicIdentifier":{"reason":"Unexpected abruptly closed public identifier","description":"Unexpected `>`. Expected a closing `\\"` or `\'` after the public identifier"},"abruptDoctypeSystemIdentifier":{"reason":"Unexpected abruptly closed system identifier","description":"Unexpected `>`. Expected a closing `\\"` or `\'` after the identifier identifier"},"absenceOfDigitsInNumericCharacterReference":{"reason":"Unexpected non-digit at start of numeric character reference","description":"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},"cdataInHtmlContent":{"reason":"Unexpected CDATA section in HTML","description":"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},"characterReferenceOutsideUnicodeRange":{"reason":"Unexpected too big numeric character reference","description":"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},"closingOfElementWithOpenChildElements":{"reason":"Unexpected closing tag with open child elements","description":"Unexpectedly closing tag. Expected other tags to be closed first","url":false},"controlCharacterInInputStream":{"reason":"Unexpected control character","description":"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},"controlCharacterReference":{"reason":"Unexpected control character reference","description":"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},"disallowedContentInNoscriptInHead":{"reason":"Disallowed content inside `<noscript>` in `<head>`","description":"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`","url":false},"duplicateAttribute":{"reason":"Unexpected duplicate attribute","description":"Unexpectedly double attribute. Expected attributes to occur only once"},"endTagWithAttributes":{"reason":"Unexpected attribute on closing tag","description":"Unexpected attribute. Expected `>` instead"},"endTagWithTrailingSolidus":{"reason":"Unexpected slash at end of closing tag","description":"Unexpected `%c-1`. Expected `>` instead"},"endTagWithoutMatchingOpenElement":{"reason":"Unexpected unopened end tag","description":"Unexpected end tag. Expected no end tag or another end tag","url":false},"eofBeforeTagName":{"reason":"Unexpected end of file","description":"Unexpected end of file. Expected tag name instead"},"eofInCdata":{"reason":"Unexpected end of file in CDATA","description":"Unexpected end of file. Expected `]]>` to close the CDATA"},"eofInComment":{"reason":"Unexpected end of file in comment","description":"Unexpected end of file. Expected `-->` to close the comment"},"eofInDoctype":{"reason":"Unexpected end of file in doctype","description":"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},"eofInElementThatCanContainOnlyText":{"reason":"Unexpected end of file in element that can only contain text","description":"Unexpected end of file. Expected text or a closing tag","url":false},"eofInScriptHtmlCommentLikeText":{"reason":"Unexpected end of file in comment inside script","description":"Unexpected end of file. Expected `-->` to close the comment"},"eofInTag":{"reason":"Unexpected end of file in tag","description":"Unexpected end of file. Expected `>` to close the tag"},"incorrectlyClosedComment":{"reason":"Incorrectly closed comment","description":"Unexpected `%c-1`. Expected `-->` to close the comment"},"incorrectlyOpenedComment":{"reason":"Incorrectly opened comment","description":"Unexpected `%c`. Expected `<!--` to open the comment"},"invalidCharacterSequenceAfterDoctypeName":{"reason":"Invalid sequence after doctype name","description":"Unexpected sequence at `%c`. Expected `public` or `system`"},"invalidFirstCharacterOfTagName":{"reason":"Invalid first character in tag name","description":"Unexpected `%c`. Expected an ASCII letter instead"},"misplacedDoctype":{"reason":"Misplaced doctype","description":"Unexpected doctype. Expected doctype before head","url":false},"misplacedStartTagForHeadElement":{"reason":"Misplaced `<head>` start tag","description":"Unexpected start tag `<head>`. Expected `<head>` directly after doctype","url":false},"missingAttributeValue":{"reason":"Missing attribute value","description":"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},"missingDoctype":{"reason":"Missing doctype before other content","description":"Expected a `<!doctype html>` before anything else","url":false},"missingDoctypeName":{"reason":"Missing doctype name","description":"Unexpected doctype end at `%c`. Expected `html` instead"},"missingDoctypePublicIdentifier":{"reason":"Missing public identifier in doctype","description":"Unexpected `%c`. Expected identifier for `public` instead"},"missingDoctypeSystemIdentifier":{"reason":"Missing system identifier in doctype","description":"Unexpected `%c`. Expected identifier for `system` instead (suggested: `\\"about:legacy-compat\\"`)"},"missingEndTagName":{"reason":"Missing name in end tag","description":"Unexpected `%c`. Expected an ASCII letter instead"},"missingQuoteBeforeDoctypePublicIdentifier":{"reason":"Missing quote before public identifier in doctype","description":"Unexpected `%c`. Expected `\\"` or `\'` instead"},"missingQuoteBeforeDoctypeSystemIdentifier":{"reason":"Missing quote before system identifier in doctype","description":"Unexpected `%c`. Expected `\\"` or `\'` instead"},"missingSemicolonAfterCharacterReference":{"reason":"Missing semicolon after character reference","description":"Unexpected `%c`. Expected `;` instead"},"missingWhitespaceAfterDoctypePublicKeyword":{"reason":"Missing whitespace after public identifier in doctype","description":"Unexpected `%c`. Expected ASCII whitespace instead"},"missingWhitespaceAfterDoctypeSystemKeyword":{"reason":"Missing whitespace after system identifier in doctype","description":"Unexpected `%c`. Expected ASCII whitespace instead"},"missingWhitespaceBeforeDoctypeName":{"reason":"Missing whitespace before doctype name","description":"Unexpected `%c`. Expected ASCII whitespace instead"},"missingWhitespaceBetweenAttributes":{"reason":"Missing whitespace between attributes","description":"Unexpected `%c`. Expected ASCII whitespace instead"},"missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers":{"reason":"Missing whitespace between public and system identifiers in doctype","description":"Unexpected `%c`. Expected ASCII whitespace instead"},"nestedComment":{"reason":"Unexpected nested comment","description":"Unexpected `<!--`. Expected `-->`"},"nestedNoscriptInHead":{"reason":"Unexpected nested `<noscript>` in `<head>`","description":"Unexpected `<noscript>`. Expected a closing tag or a meta element","url":false},"nonConformingDoctype":{"reason":"Unexpected non-conforming doctype declaration","description":"Expected `<!doctype html>` or `<!doctype html system \\"about:legacy-compat\\">`","url":false},"nonVoidHtmlElementStartTagWithTrailingSolidus":{"reason":"Unexpected trailing slash on start tag of non-void element","description":"Unexpected `/`. Expected `>` instead"},"noncharacterCharacterReference":{"reason":"Unexpected noncharacter code point referenced by character reference","description":"Unexpected code point. Do not use noncharacters in HTML"},"noncharacterInInputStream":{"reason":"Unexpected noncharacter character","description":"Unexpected code point `%x`. Do not use noncharacters in HTML"},"nullCharacterReference":{"reason":"Unexpected NULL character referenced by character reference","description":"Unexpected code point. Do not use NULL characters in HTML"},"openElementsLeftAfterEof":{"reason":"Unexpected end of file","description":"Unexpected end of file. Expected closing tag instead","url":false},"surrogateCharacterReference":{"reason":"Unexpected surrogate character referenced by character reference","description":"Unexpected code point. Do not use lone surrogate characters in HTML"},"surrogateInInputStream":{"reason":"Unexpected surrogate character","description":"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},"unexpectedCharacterAfterDoctypeSystemIdentifier":{"reason":"Invalid character after system identifier in doctype","description":"Unexpected character at `%c`. Expected `>`"},"unexpectedCharacterInAttributeName":{"reason":"Unexpected character in attribute name","description":"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},"unexpectedCharacterInUnquotedAttributeValue":{"reason":"Unexpected character in unquoted attribute value","description":"Unexpected `%c`. Quote the attribute value to include it"},"unexpectedEqualsSignBeforeAttributeName":{"reason":"Unexpected equals sign before attribute name ","description":"Unexpected `%c`. Add an attribute name before it"},"unexpectedNullCharacter":{"reason":"Unexpected NULL character","description":"Unexpected code point `%x`. Do not use NULL characters in HTML"},"unexpectedQuestionMarkInsteadOfTagName":{"reason":"Unexpected question mark instead of tag name","description":"Unexpected `%c`. Expected an ASCII letter instead"},"unexpectedSolidusInTag":{"reason":"Unexpected slash in tag","description":"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},"unknownNamedCharacterReference":{"reason":"Unexpected unknown named character reference","description":"Unexpected character reference. Expected known named character references"}}');
34231
+
34232
+ /***/ }),
34233
+
34004
34234
  /***/ 9052:
34005
34235
  /***/ ((module) => {
34006
34236
 
@@ -34108,19 +34338,19 @@ var __webpack_exports__ = {};
34108
34338
  __webpack_require__.r(__webpack_exports__);
34109
34339
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
34110
34340
  /* harmony export */ "Components": () => (/* binding */ Components),
34111
- /* harmony export */ "setup": () => (/* binding */ setup),
34112
- /* harmony export */ "utils": () => (/* binding */ utils),
34113
- /* harmony export */ "processor": () => (/* binding */ processor),
34341
+ /* harmony export */ "astToPlainText": () => (/* binding */ astToPlainText),
34342
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
34343
+ /* harmony export */ "hast": () => (/* binding */ hast),
34344
+ /* harmony export */ "html": () => (/* binding */ html),
34345
+ /* harmony export */ "md": () => (/* binding */ md),
34346
+ /* harmony export */ "mdast": () => (/* binding */ mdast),
34114
34347
  /* harmony export */ "plain": () => (/* binding */ plain),
34115
- /* harmony export */ "reactProcessor": () => (/* binding */ reactProcessor),
34348
+ /* harmony export */ "processor": () => (/* binding */ processor),
34116
34349
  /* harmony export */ "react": () => (/* binding */ react),
34350
+ /* harmony export */ "reactProcessor": () => (/* binding */ reactProcessor),
34117
34351
  /* harmony export */ "reactTOC": () => (/* binding */ reactTOC),
34118
- /* harmony export */ "html": () => (/* binding */ html),
34119
- /* harmony export */ "hast": () => (/* binding */ hast),
34120
- /* harmony export */ "mdast": () => (/* binding */ mdast),
34121
- /* harmony export */ "astToPlainText": () => (/* binding */ astToPlainText),
34122
- /* harmony export */ "md": () => (/* binding */ md),
34123
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
34352
+ /* harmony export */ "setup": () => (/* binding */ setup),
34353
+ /* harmony export */ "utils": () => (/* binding */ utils)
34124
34354
  /* harmony export */ });
34125
34355
  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9713);
34126
34356
  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);
@@ -34129,9 +34359,9 @@ __webpack_require__.r(__webpack_exports__);
34129
34359
 
34130
34360
 
34131
34361
 
34132
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
34362
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
34133
34363
 
34134
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
34364
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
34135
34365
 
34136
34366
  /* eslint-disable no-param-reassign */
34137
34367
  __webpack_require__(2787);