(self["webpackChunk_edao_chart"] = self["webpackChunk_edao_chart"] || []).push([["mf-dep_src_umi_cache_mfsu_mf-va_dumi-theme-default_es_builtins_Example_js_js"],{

/***/ "./node_modules/.pnpm/dumi-theme-default@1.1.23_fxpjzghtawalkovlqjmm2jjqea/node_modules/dumi-theme-default/es/builtins/Example.less":
/*!******************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/dumi-theme-default@1.1.23_fxpjzghtawalkovlqjmm2jjqea/node_modules/dumi-theme-default/es/builtins/Example.less ***!
  \******************************************************************************************************************************************/
/***/ (function() {

// extracted by mini-css-extract-plugin
    if(false) { var cssReload; }
  

/***/ }),

/***/ "./node_modules/.pnpm/dumi-theme-default@1.1.23_fxpjzghtawalkovlqjmm2jjqea/node_modules/dumi-theme-default/es/builtins/Example.js":
/*!****************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/dumi-theme-default@1.1.23_fxpjzghtawalkovlqjmm2jjqea/node_modules/dumi-theme-default/es/builtins/Example.js ***!
  \****************************************************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.2.0/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _Example_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Example.less */ "./node_modules/.pnpm/dumi-theme-default@1.1.23_fxpjzghtawalkovlqjmm2jjqea/node_modules/dumi-theme-default/es/builtins/Example.less");
/* harmony import */ var _Example_less__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_Example_less__WEBPACK_IMPORTED_MODULE_1__);
function _slicedToArray(arr, i) {
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
}

function _nonIterableRest() {
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}

function _unsupportedIterableToArray(o, minLen) {
  if (!o) return;
  if (typeof o === "string") return _arrayLikeToArray(o, minLen);
  var n = Object.prototype.toString.call(o).slice(8, -1);
  if (n === "Object" && o.constructor) n = o.constructor.name;
  if (n === "Map" || n === "Set") return Array.from(o);
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
}

function _arrayLikeToArray(arr, len) {
  if (len == null || len > arr.length) len = arr.length;

  for (var i = 0, arr2 = new Array(len); i < len; i++) {
    arr2[i] = arr[i];
  }

  return arr2;
}

function _iterableToArrayLimit(arr, i) {
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];

  if (_i == null) return;
  var _arr = [];
  var _n = true;
  var _d = false;

  var _s, _e;

  try {
    for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
      _arr.push(_s.value);

      if (i && _arr.length === i) break;
    }
  } catch (err) {
    _d = true;
    _e = err;
  } finally {
    try {
      if (!_n && _i["return"] != null) _i["return"]();
    } finally {
      if (_d) throw _e;
    }
  }

  return _arr;
}

function _arrayWithHoles(arr) {
  if (Array.isArray(arr)) return arr;
}



/* harmony default export */ __webpack_exports__["default"] = (function (props) {
  var elm = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();

  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0),
      _useState2 = _slicedToArray(_useState, 2),
      height = _useState2[0],
      setHeight = _useState2[1];

  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
    setHeight(elm.current.contentWindow.document.documentElement.scrollHeight);
  }, [elm]);
  return props.route.meta.examplePath && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
    className: "__dumi-default-example-wrapper"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
    className: "__dumi-default-example-wrapper-toolbar"
  }, props.route.meta.description || props.route.meta.title, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("button", {
    className: "__dumi-default-icon",
    onClick: function onClick() {
      return elm.current.contentWindow.location.reload();
    }
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
    target: "_blank",
    rel: "noopener noreferrer",
    href: props.route.meta.examplePath,
    className: "__dumi-default-icon"
  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("iframe", {
    src: props.route.meta.examplePath,
    ref: elm,
    style: {
      height: height
    },
    title: "dumi"
  }));
});

/***/ }),

/***/ "./src/.umi/.cache/.mfsu/mf-va_dumi-theme-default_es_builtins_Example.js.js":
/*!**********************************************************************************!*\
  !*** ./src/.umi/.cache/.mfsu/mf-va_dumi-theme-default_es_builtins_Example.js.js ***!
  \**********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Users_garron_Desktop_work_newedao_packages_chart_node_modules_pnpm_dumi_theme_default_1_1_23_fxpjzghtawalkovlqjmm2jjqea_node_modules_dumi_theme_default_es_builtins_Example_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/.pnpm/dumi-theme-default@1.1.23_fxpjzghtawalkovlqjmm2jjqea/node_modules/dumi-theme-default/es/builtins/Example.js */ "./node_modules/.pnpm/dumi-theme-default@1.1.23_fxpjzghtawalkovlqjmm2jjqea/node_modules/dumi-theme-default/es/builtins/Example.js");

/* harmony default export */ __webpack_exports__["default"] = (_Users_garron_Desktop_work_newedao_packages_chart_node_modules_pnpm_dumi_theme_default_1_1_23_fxpjzghtawalkovlqjmm2jjqea_node_modules_dumi_theme_default_es_builtins_Example_js__WEBPACK_IMPORTED_MODULE_0__.default);


/***/ })

}]);