@readme/markdown 6.75.0-beta.28 → 6.75.0-beta.29

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.js CHANGED
@@ -7084,60 +7084,6 @@ module.exports = CreateEmbed;
7084
7084
 
7085
7085
  /***/ }),
7086
7086
 
7087
- /***/ 5385:
7088
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7089
-
7090
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
7091
- __webpack_require__(6255);
7092
- __webpack_require__(4189);
7093
- __webpack_require__(9218);
7094
- __webpack_require__(5086);
7095
- var Tooltip = (__webpack_require__(6570)["default"]);
7096
- var PropTypes = __webpack_require__(5556);
7097
- var React = __webpack_require__(1307);
7098
- var GlossaryContext = __webpack_require__(2380);
7099
-
7100
- // https://github.com/readmeio/api-explorer/blob/0dedafcf71102feedaa4145040d3f57d79d95752/packages/api-explorer/src/lib/replace-vars.js#L8
7101
- function GlossaryItem(_ref) {
7102
- var term = _ref.term,
7103
- terms = _ref.terms;
7104
- var foundTerm = terms.find(function (i) {
7105
- return term.toLowerCase() === i.term.toLowerCase();
7106
- });
7107
- if (!foundTerm) return /*#__PURE__*/React.createElement("span", null, term);
7108
- return /*#__PURE__*/React.createElement(Tooltip, {
7109
- content: /*#__PURE__*/React.createElement("div", {
7110
- className: "GlossaryItem-tooltip-content"
7111
- }, /*#__PURE__*/React.createElement("strong", {
7112
- className: "GlossaryItem-term"
7113
- }, foundTerm.term), " - ", foundTerm.definition),
7114
- offset: [-5, 5],
7115
- placement: "bottom-start"
7116
- }, /*#__PURE__*/React.createElement("span", {
7117
- className: "GlossaryItem-trigger"
7118
- }, term));
7119
- }
7120
- GlossaryItem.propTypes = {
7121
- term: PropTypes.string.isRequired,
7122
- terms: PropTypes.arrayOf(PropTypes.shape({
7123
- definition: PropTypes.string.isRequired,
7124
- term: PropTypes.string.isRequired
7125
- })).isRequired
7126
- };
7127
-
7128
- // eslint-disable-next-line react/display-name
7129
- module.exports = function (props) {
7130
- return /*#__PURE__*/React.createElement(GlossaryContext.Consumer, null, function (terms) {
7131
- return terms && /*#__PURE__*/React.createElement(GlossaryItem, _extends({}, props, {
7132
- terms: terms
7133
- }));
7134
- });
7135
- };
7136
- module.exports.GlossaryItem = GlossaryItem;
7137
- module.exports.GlossaryContext = GlossaryContext;
7138
-
7139
- /***/ }),
7140
-
7141
7087
  /***/ 7274:
7142
7088
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7143
7089
 
@@ -7354,164 +7300,6 @@ module.exports = CreateHeading;
7354
7300
 
7355
7301
  /***/ }),
7356
7302
 
7357
- /***/ 4423:
7358
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7359
-
7360
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
7361
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
7362
- __webpack_require__(3534);
7363
- __webpack_require__(590);
7364
- __webpack_require__(4216);
7365
- __webpack_require__(6611);
7366
- __webpack_require__(115);
7367
- __webpack_require__(8665);
7368
- __webpack_require__(7787);
7369
- __webpack_require__(4189);
7370
- __webpack_require__(4009);
7371
- __webpack_require__(9218);
7372
- __webpack_require__(7755);
7373
- __webpack_require__(5852);
7374
- __webpack_require__(1412);
7375
- __webpack_require__(4632);
7376
- __webpack_require__(5086);
7377
- __webpack_require__(4606);
7378
- __webpack_require__(9979);
7379
- __webpack_require__(4602);
7380
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7381
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
7382
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
7383
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
7384
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7385
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
7386
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
7387
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
7388
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
7389
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
7390
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
7391
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7392
- /* eslint-disable no-param-reassign, react/jsx-props-no-spreading, no-fallthrough */
7393
-
7394
- var PropTypes = __webpack_require__(5556);
7395
- var React = __webpack_require__(1307);
7396
- var Image = /*#__PURE__*/function (_React$Component) {
7397
- "use strict";
7398
-
7399
- function Image(props) {
7400
- var _this;
7401
- _classCallCheck(this, Image);
7402
- _this = _callSuper(this, Image, [props]);
7403
- _this.state = {
7404
- lightbox: false
7405
- };
7406
- _this.toggle = _this.toggle.bind(_this);
7407
- _this.handleKey = _this.handleKey.bind(_this);
7408
- _this.isEmoji = props.className === 'emoji';
7409
- return _this;
7410
- }
7411
- _inherits(Image, _React$Component);
7412
- return _createClass(Image, [{
7413
- key: "toggle",
7414
- value: function toggle(toState) {
7415
- if (this.props.className === 'emoji') return;
7416
- if (typeof toState === 'undefined') toState = !this.state.lightbox;
7417
- this.setState({
7418
- lightbox: toState
7419
- });
7420
- }
7421
- }, {
7422
- key: "handleKey",
7423
- value: function handleKey(e) {
7424
- var key = e.key,
7425
- cmd = e.metaKey;
7426
- cmd = cmd ? 'cmd+' : '';
7427
- key = "".concat(cmd).concat(key.toLowerCase());
7428
- switch (key) {
7429
- case 'cmd+.':
7430
- case 'escape':
7431
- // CLOSE
7432
- this.toggle(false);
7433
- break;
7434
- case ' ':
7435
- case 'enter':
7436
- // OPEN
7437
- if (!this.state.open) this.toggle(true);
7438
- e.preventDefault();
7439
- default:
7440
- }
7441
- }
7442
- }, {
7443
- key: "render",
7444
- value: function render() {
7445
- var _this2 = this;
7446
- var props = this.props;
7447
- var alt = props.alt,
7448
- _props$lazy = props.lazy,
7449
- lazy = _props$lazy === void 0 ? true : _props$lazy;
7450
- if (this.isEmoji) {
7451
- return /*#__PURE__*/React.createElement("img", _extends({}, props, {
7452
- alt: alt,
7453
- loading: lazy ? 'lazy' : ''
7454
- }));
7455
- }
7456
- var align = props.align === 'center' ? 'middle' : props.align;
7457
- return /*#__PURE__*/React.createElement("span", {
7458
- "aria-label": alt,
7459
- className: "img lightbox ".concat(this.state.lightbox ? 'open' : 'closed'),
7460
- onClick: function onClick() {
7461
- return _this2.toggle();
7462
- },
7463
- onKeyDown: this.handleKey,
7464
- role: 'button',
7465
- tabIndex: 0
7466
- }, /*#__PURE__*/React.createElement("span", {
7467
- className: "lightbox-inner"
7468
- }, /*#__PURE__*/React.createElement("img", _extends({}, props, {
7469
- align: align,
7470
- alt: alt,
7471
- loading: lazy ? 'lazy' : ''
7472
- }))));
7473
- }
7474
- }]);
7475
- }(React.Component);
7476
- Image.propTypes = {
7477
- align: PropTypes.string,
7478
- alt: PropTypes.string,
7479
- caption: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
7480
- className: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
7481
- height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
7482
- lazy: PropTypes.bool,
7483
- src: PropTypes.string.isRequired,
7484
- title: PropTypes.string,
7485
- width: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
7486
- };
7487
- Image.defaultProps = {
7488
- align: '',
7489
- alt: '',
7490
- caption: '',
7491
- height: 'auto',
7492
- src: '',
7493
- title: '',
7494
- width: 'auto'
7495
- };
7496
- Image.sanitize = function (sanitizeSchema) {
7497
- sanitizeSchema.attributes.img = ['className', 'title', 'alt', 'width', 'height', 'align', 'src', 'longDesc'];
7498
- return sanitizeSchema;
7499
- };
7500
- var CreateImage = function CreateImage(_ref) {
7501
- var lazyImages = _ref.lazyImages;
7502
- return (
7503
- // eslint-disable-next-line react/display-name
7504
- function (props) {
7505
- return /*#__PURE__*/React.createElement(Image, _extends({
7506
- lazy: lazyImages
7507
- }, props));
7508
- }
7509
- );
7510
- };
7511
- module.exports = CreateImage;
7512
-
7513
- /***/ }),
7514
-
7515
7303
  /***/ 338:
7516
7304
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7517
7305
 
@@ -7576,14 +7364,6 @@ module.exports = React.createContext('/');
7576
7364
 
7577
7365
  /***/ }),
7578
7366
 
7579
- /***/ 2380:
7580
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7581
-
7582
- var React = __webpack_require__(1307);
7583
- module.exports = React.createContext([]);
7584
-
7585
- /***/ }),
7586
-
7587
7367
  /***/ 7965:
7588
7368
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7589
7369
 
@@ -11560,36 +11340,6 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
11560
11340
  });
11561
11341
 
11562
11342
 
11563
- /***/ }),
11564
-
11565
- /***/ 6255:
11566
- /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
11567
-
11568
- "use strict";
11569
-
11570
- var $ = __webpack_require__(1605);
11571
- var $find = (__webpack_require__(1344).find);
11572
- var addToUnscopables = __webpack_require__(298);
11573
-
11574
- var FIND = 'find';
11575
- var SKIPS_HOLES = true;
11576
-
11577
- // Shouldn't skip holes
11578
- // eslint-disable-next-line es/no-array-prototype-find -- testing
11579
- if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
11580
-
11581
- // `Array.prototype.find` method
11582
- // https://tc39.es/ecma262/#sec-array.prototype.find
11583
- $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
11584
- find: function find(callbackfn /* , that = undefined */) {
11585
- return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
11586
- }
11587
- });
11588
-
11589
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
11590
- addToUnscopables(FIND);
11591
-
11592
-
11593
11343
  /***/ }),
11594
11344
 
11595
11345
  /***/ 8476:
@@ -15299,7 +15049,7 @@ __webpack_require__.d(util_types_namespaceObject, {
15299
15049
  spaceSeparated: () => (spaceSeparated)
15300
15050
  });
15301
15051
 
15302
- // NAMESPACE OBJECT: ./components/index.js
15052
+ // NAMESPACE OBJECT: ./components/index.ts
15303
15053
  var components_namespaceObject = {};
15304
15054
  __webpack_require__.r(components_namespaceObject);
15305
15055
  __webpack_require__.d(components_namespaceObject, {
@@ -15308,10 +15058,10 @@ __webpack_require__.d(components_namespaceObject, {
15308
15058
  Code: () => (components_Code),
15309
15059
  CodeTabs: () => (components_CodeTabs),
15310
15060
  Embed: () => ((Embed_default())),
15311
- GlossaryItem: () => ((GlossaryItem_default())),
15061
+ GlossaryItem: () => (GlossaryItemWithContext),
15312
15062
  HTMLBlock: () => ((HTMLBlock_default())),
15313
15063
  Heading: () => ((Heading_default())),
15314
- Image: () => ((Image_default())),
15064
+ Image: () => (components_Image),
15315
15065
  Style: () => ((Style_default())),
15316
15066
  Table: () => ((Table_default())),
15317
15067
  TableOfContents: () => (components_TableOfContents)
@@ -15320,6 +15070,9 @@ __webpack_require__.d(components_namespaceObject, {
15320
15070
  // EXTERNAL MODULE: ./node_modules/debug/src/browser.js
15321
15071
  var browser = __webpack_require__(7833);
15322
15072
  var browser_default = /*#__PURE__*/__webpack_require__.n(browser);
15073
+ // EXTERNAL MODULE: external {"amd":"react","commonjs":"react","commonjs2":"react","root":"React","umd":"react"}
15074
+ var external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_ = __webpack_require__(1307);
15075
+ var external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default = /*#__PURE__*/__webpack_require__.n(external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_);
15323
15076
  ;// CONCATENATED MODULE: ./node_modules/mdast-util-to-string/lib/index.js
15324
15077
  /**
15325
15078
  * @typedef {import('mdast').Nodes} Nodes
@@ -44239,9 +43992,6 @@ function remarkFrontmatter(options) {
44239
43992
  toMarkdownExtensions.push(frontmatterToMarkdown(settings))
44240
43993
  }
44241
43994
 
44242
- // EXTERNAL MODULE: external {"amd":"react","commonjs":"react","commonjs2":"react","root":"React","umd":"react"}
44243
- var external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_ = __webpack_require__(1307);
44244
- var external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default = /*#__PURE__*/__webpack_require__.n(external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_);
44245
43995
  ;// CONCATENATED MODULE: ./node_modules/@ungap/structured-clone/esm/types.js
44246
43996
  const VOID = -1;
44247
43997
  const PRIMITIVE = 0;
@@ -63968,18 +63718,100 @@ var CodeTabs = function (props) {
63968
63718
  // EXTERNAL MODULE: ./components/Embed/index.jsx
63969
63719
  var Embed = __webpack_require__(4735);
63970
63720
  var Embed_default = /*#__PURE__*/__webpack_require__.n(Embed);
63971
- // EXTERNAL MODULE: ./components/GlossaryItem/index.jsx
63972
- var GlossaryItem = __webpack_require__(5385);
63973
- var GlossaryItem_default = /*#__PURE__*/__webpack_require__.n(GlossaryItem);
63721
+ // EXTERNAL MODULE: external "@tippyjs/react"
63722
+ var react_ = __webpack_require__(6570);
63723
+ var react_default = /*#__PURE__*/__webpack_require__.n(react_);
63724
+ ;// CONCATENATED MODULE: ./contexts/GlossaryTerms.ts
63725
+
63726
+ var GlossaryContext = (0,external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createContext)([]);
63727
+ /* harmony default export */ const GlossaryTerms = (GlossaryContext);
63728
+ // haxx
63729
+ function Provider(Provider, arg1) {
63730
+ throw new Error('Function not implemented.');
63731
+ }
63732
+
63733
+ ;// CONCATENATED MODULE: ./components/GlossaryItem/index.tsx
63734
+ var GlossaryItem_assign = (undefined && undefined.__assign) || function () {
63735
+ GlossaryItem_assign = Object.assign || function(t) {
63736
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
63737
+ s = arguments[i];
63738
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
63739
+ t[p] = s[p];
63740
+ }
63741
+ return t;
63742
+ };
63743
+ return GlossaryItem_assign.apply(this, arguments);
63744
+ };
63745
+
63746
+
63747
+
63748
+ var GlossaryItem = function (_a) {
63749
+ var term = _a.term, terms = _a.terms;
63750
+ var foundTerm = terms.find(function (i) { return term.toLowerCase() === i.term.toLowerCase(); });
63751
+ if (!foundTerm)
63752
+ return external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("span", null, term);
63753
+ return (external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement((react_default()), { content: external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("div", { className: "GlossaryItem-tooltip-content" },
63754
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("strong", { className: "GlossaryItem-term" }, foundTerm.term),
63755
+ " - ",
63756
+ foundTerm.definition), offset: [-5, 5], placement: "bottom-start" },
63757
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("span", { className: "GlossaryItem-trigger" }, term)));
63758
+ };
63759
+ var GlossaryItemWithContext = function (props) {
63760
+ var terms = (0,external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.useContext)(GlossaryTerms);
63761
+ return terms ? external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement(GlossaryItem, GlossaryItem_assign({}, props, { terms: terms })) : null;
63762
+ };
63763
+
63764
+
63974
63765
  // EXTERNAL MODULE: ./components/HTMLBlock/index.jsx
63975
63766
  var HTMLBlock = __webpack_require__(7274);
63976
63767
  var HTMLBlock_default = /*#__PURE__*/__webpack_require__.n(HTMLBlock);
63977
63768
  // EXTERNAL MODULE: ./components/Heading/index.jsx
63978
63769
  var Heading = __webpack_require__(398);
63979
63770
  var Heading_default = /*#__PURE__*/__webpack_require__.n(Heading);
63980
- // EXTERNAL MODULE: ./components/Image/index.jsx
63981
- var Image = __webpack_require__(4423);
63982
- var Image_default = /*#__PURE__*/__webpack_require__.n(Image);
63771
+ ;// CONCATENATED MODULE: ./components/Image/index.tsx
63772
+
63773
+ var Image = function (props) {
63774
+ var _a = external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.useState(false), lightbox = _a[0], setLightbox = _a[1];
63775
+ var _b = props.align, align = _b === void 0 ? '' : _b, _c = props.alt, alt = _c === void 0 ? '' : _c, _d = props.border, border = _d === void 0 ? false : _d, caption = props.caption, _e = props.className, className = _e === void 0 ? '' : _e, _f = props.height, height = _f === void 0 ? 'auto' : _f, lazy = props.lazy, _g = props.src, src = _g === void 0 ? '' : _g, _h = props.title, title = _h === void 0 ? '' : _h, _j = props.width, width = _j === void 0 ? 'auto' : _j;
63776
+ if (className === 'emoji') {
63777
+ return external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("img", { src: src, width: width, height: height, title: title, alt: alt, loading: lazy ? 'lazy' : 'eager' });
63778
+ }
63779
+ var handleKeyDown = function (_a) {
63780
+ var key = _a.key, cmd = _a.metaKey;
63781
+ var cmdKey = cmd ? 'cmd+' : '';
63782
+ key = "".concat(cmdKey).concat(key.toLowerCase());
63783
+ switch (key) {
63784
+ case 'cmd+.':
63785
+ case 'escape':
63786
+ // CLOSE
63787
+ setLightbox(false);
63788
+ break;
63789
+ case ' ':
63790
+ case 'enter':
63791
+ // OPEN
63792
+ if (!lightbox)
63793
+ setLightbox(true);
63794
+ default:
63795
+ }
63796
+ };
63797
+ var toggle = function () {
63798
+ if (className === 'emoji')
63799
+ return;
63800
+ setLightbox(!lightbox);
63801
+ };
63802
+ if (caption) {
63803
+ return (external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("figure", null,
63804
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("span", { "aria-label": alt, className: "img lightbox ".concat(lightbox ? 'open' : 'closed'), onClick: toggle, onKeyDown: handleKeyDown, role: 'button', tabIndex: 0 },
63805
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("span", { className: "lightbox-inner" },
63806
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("img", { src: src, width: width, height: height, title: title, className: "img img-align-center ".concat(border ? 'border' : ''), alt: alt, loading: lazy ? 'lazy' : 'eager' }))),
63807
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("figcaption", null, caption)));
63808
+ }
63809
+ return (external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("span", { "aria-label": alt, className: "img lightbox ".concat(lightbox ? 'open' : 'closed'), onClick: toggle, onKeyDown: handleKeyDown, role: 'button', tabIndex: 0 },
63810
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("span", { className: "lightbox-inner" },
63811
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("img", { src: src, width: width, height: height, title: title, className: "img img-align-".concat(align, " ").concat(border ? 'border' : ''), alt: alt, loading: lazy ? 'lazy' : 'eager' }))));
63812
+ };
63813
+ /* harmony default export */ const components_Image = (Image);
63814
+
63983
63815
  // EXTERNAL MODULE: ./components/Style.jsx
63984
63816
  var Style = __webpack_require__(338);
63985
63817
  var Style_default = /*#__PURE__*/__webpack_require__.n(Style);
@@ -64008,7 +63840,8 @@ TableOfContents.propTypes = {
64008
63840
  children: prop_types.element
64009
63841
  };
64010
63842
  /* harmony default export */ const components_TableOfContents = (TableOfContents);
64011
- ;// CONCATENATED MODULE: ./components/index.js
63843
+ ;// CONCATENATED MODULE: ./components/index.ts
63844
+
64012
63845
 
64013
63846
 
64014
63847
 
@@ -64973,6 +64806,7 @@ var NodeTypes;
64973
64806
  NodeTypes["codeTabs"] = "code-tabs";
64974
64807
  NodeTypes["emoji"] = "emoji";
64975
64808
  NodeTypes["i"] = "i";
64809
+ NodeTypes["image"] = "image";
64976
64810
  })(NodeTypes || (NodeTypes = {}));
64977
64811
 
64978
64812
  ;// CONCATENATED MODULE: ./processor/transform/code-tabs.ts
@@ -82034,15 +81868,39 @@ var code_tabs_codeTabs = function (node, _, state, info) {
82034
81868
  };
82035
81869
  /* harmony default export */ const compile_code_tabs = (code_tabs_codeTabs);
82036
81870
 
81871
+ ;// CONCATENATED MODULE: ./processor/compile/image.ts
81872
+ var image_assign = (undefined && undefined.__assign) || function () {
81873
+ image_assign = Object.assign || function(t) {
81874
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
81875
+ s = arguments[i];
81876
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
81877
+ t[p] = s[p];
81878
+ }
81879
+ return t;
81880
+ };
81881
+ return image_assign.apply(this, arguments);
81882
+ };
81883
+ var compile_image_image = function (node) {
81884
+ var _a, _b;
81885
+ var _c = ((_a = node.data) === null || _a === void 0 ? void 0 : _a.hProperties) || {}, align = _c.align, className = _c.className, width = _c.width;
81886
+ var complexImage = Boolean(width) || Boolean(className) || Boolean(align);
81887
+ if (complexImage)
81888
+ return "<Image ".concat(image_assign({}, (_b = node.data) === null || _b === void 0 ? void 0 : _b.hProperties), " />");
81889
+ return "![".concat(node.alt, "](").concat(node.url).concat(node.title ? " \"".concat(node.title, "\")") : ')');
81890
+ };
81891
+ /* harmony default export */ const compile_image = (compile_image_image);
81892
+
82037
81893
  ;// CONCATENATED MODULE: ./processor/compile/index.ts
82038
81894
  var _a;
82039
81895
 
82040
81896
 
82041
81897
 
81898
+
82042
81899
  var compilers = {
82043
81900
  handlers: (_a = {},
82044
81901
  _a[NodeTypes.emoji] = compile_gemoji,
82045
81902
  _a[NodeTypes.codeTabs] = compile_code_tabs,
81903
+ _a[NodeTypes.image] = compile_image,
82046
81904
  _a),
82047
81905
  };
82048
81906
  /* harmony default export */ const processor_compile = (compilers);
@@ -82129,6 +81987,7 @@ var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from
82129
81987
 
82130
81988
 
82131
81989
 
81990
+
82132
81991
  __webpack_require__(7973);
82133
81992
 
82134
81993
 
@@ -82140,12 +81999,12 @@ var utils = {
82140
81999
  },
82141
82000
  BaseUrlContext: (BaseUrl_default()),
82142
82001
  getHref: Anchor.getHref,
82143
- GlossaryContext: (GlossaryItem_default()).GlossaryContext,
82002
+ GlossaryContext: GlossaryTerms,
82144
82003
  VariablesContext: (variable_default()).VariablesContext,
82145
82004
  calloutIcons: {},
82146
82005
  };
82147
82006
  var makeUseMDXComponents = function (more) {
82148
- var components = index_assign(index_assign(index_assign({}, more), components_namespaceObject), { Variable: (variable_default()), 'code-tabs': components_CodeTabs });
82007
+ var components = index_assign(index_assign(index_assign({}, more), components_namespaceObject), { Variable: (variable_default()), 'code-tabs': components_CodeTabs, img: components_Image });
82149
82008
  return function () { return components; };
82150
82009
  };
82151
82010
  var remarkPlugins = __spreadArray([remarkFrontmatter, remarkGfm], transform, true);