You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
90 KiB
JavaScript
46 lines
90 KiB
JavaScript
|
9 months ago
|
/*
|
||
|
|
* ATTENTION: An "eval-source-map" devtool has been used.
|
||
|
|
* This devtool is neither made for production nor for readable output files.
|
||
|
|
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
|
||
|
|
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
||
|
|
* or disable the default devtool with "devtool: false".
|
||
|
|
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
||
|
|
*/
|
||
|
|
exports.id = "_ssr_app_components_markdown_tsx";
|
||
|
|
exports.ids = ["_ssr_app_components_markdown_tsx"];
|
||
|
|
exports.modules = {
|
||
|
|
|
||
|
|
/***/ "(ssr)/./app/components/artifacts.tsx":
|
||
|
|
/*!**************************************!*\
|
||
|
|
!*** ./app/components/artifacts.tsx ***!
|
||
|
|
\**************************************/
|
||
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
|
||
|
|
"use strict";
|
||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Artifacts: () => (/* binding */ Artifacts),\n/* harmony export */ ArtifactsShareButton: () => (/* binding */ ArtifactsShareButton),\n/* harmony export */ HTMLPreview: () => (/* binding */ HTMLPreview)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! react-router */ \"(ssr)/./node_modules/react-router/dist/index.js\");\n/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./button */ \"(ssr)/./app/components/button.tsx\");\n/* harmony import */ var nanoid__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! nanoid */ \"(ssr)/./node_modules/nanoid/index.js\");\n/* harmony import */ var _icons_share_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../icons/share.svg */ \"(ssr)/./app/icons/share.svg\");\n/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icons/copy.svg */ \"(ssr)/./app/icons/copy.svg\");\n/* harmony import */ var _icons_download_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icons/download.svg */ \"(ssr)/./app/icons/download.svg\");\n/* harmony import */ var _icons_github_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../icons/github.svg */ \"(ssr)/./app/icons/github.svg\");\n/* harmony import */ var _icons_loading_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../icons/loading.svg */ \"(ssr)/./app/icons/loading.svg\");\n/* harmony import */ var _icons_reload_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../icons/reload.svg */ \"(ssr)/./app/icons/reload.svg\");\n/* harmony import */ var _locales__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../locales */ \"(ssr)/./app/locales/index.ts\");\n/* harmony import */ var _ui_lib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ui-lib */ \"(ssr)/./app/components/ui-lib.tsx\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils */ \"(ssr)/./app/utils.ts\");\n/* harmony import */ var _app_constant__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/app/constant */ \"(ssr)/./app/constant.ts\");\n/* harmony import */ var _home__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./home */ \"(ssr)/./app/components/home.tsx\");\n/* harmony import */ var _artifacts_module_scss__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./artifacts.module.scss */ \"(ssr)/./app/components/artifacts.module.scss\");\n/* harmony import */ var _artifacts_module_scss__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_artifacts_module_scss__WEBPACK_IMPORTED_MODULE_15__);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst HTMLPreview = /*#__PURE__*/ (0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function HTMLPreview(props, ref) {\n const iframeRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);\n const [frameId, setFrameId] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)((0,nanoid__WEBPACK_IMPORTED_MODULE_14__.nanoid)());\n const [iframeHeight, setIframeHeight] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(600);\n const [title, setTitle] = (0,react__WEBPACK_IMPORTED_MODULE_1__
|
||
|
|
|
||
|
|
/***/ }),
|
||
|
|
|
||
|
|
/***/ "(ssr)/./app/components/markdown.tsx":
|
||
|
|
/*!*************************************!*\
|
||
|
|
!*** ./app/components/markdown.tsx ***!
|
||
|
|
\*************************************/
|
||
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||
|
|
|
||
|
|
"use strict";
|
||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Markdown: () => (/* binding */ Markdown),\n/* harmony export */ MarkdownContent: () => (/* binding */ MarkdownContent),\n/* harmony export */ Mermaid: () => (/* binding */ Mermaid),\n/* harmony export */ PreCode: () => (/* binding */ PreCode)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react_markdown__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react-markdown */ \"(ssr)/./node_modules/react-markdown/lib/react-markdown.js\");\n/* harmony import */ var katex_dist_katex_min_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! katex/dist/katex.min.css */ \"(ssr)/./node_modules/katex/dist/katex.min.css\");\n/* harmony import */ var remark_math__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! remark-math */ \"(ssr)/./node_modules/remark-math/index.js\");\n/* harmony import */ var remark_breaks__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! remark-breaks */ \"(ssr)/./node_modules/remark-breaks/index.js\");\n/* harmony import */ var rehype_katex__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! rehype-katex */ \"(ssr)/./node_modules/rehype-katex/index.js\");\n/* harmony import */ var remark_gfm__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! remark-gfm */ \"(ssr)/./node_modules/remark-gfm/index.js\");\n/* harmony import */ var rehype_highlight__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! rehype-highlight */ \"(ssr)/./node_modules/rehype-highlight/lib/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ \"(ssr)/./app/utils.ts\");\n/* harmony import */ var mermaid__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! mermaid */ \"(ssr)/./node_modules/mermaid/dist/mermaid-934d9bea.js\");\n/* harmony import */ var _locales__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../locales */ \"(ssr)/./app/locales/index.ts\");\n/* harmony import */ var _icons_three_dots_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icons/three-dots.svg */ \"(ssr)/./app/icons/three-dots.svg\");\n/* harmony import */ var _icons_reload_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../icons/reload.svg */ \"(ssr)/./app/icons/reload.svg\");\n/* harmony import */ var use_debounce__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! use-debounce */ \"(ssr)/./node_modules/use-debounce/dist/index.module.js\");\n/* harmony import */ var _ui_lib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ui-lib */ \"(ssr)/./app/components/ui-lib.tsx\");\n/* harmony import */ var _artifacts__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./artifacts */ \"(ssr)/./app/components/artifacts.tsx\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../store */ \"(ssr)/./app/store/index.ts\");\n/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./button */ \"(ssr)/./app/components/button.tsx\");\n/* harmony import */ var _store_config__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../store/config */ \"(ssr)/./app/store/config.ts\");\n/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! clsx */ \"(ssr)/./node_modu
|
||
|
|
|
||
|
|
/***/ }),
|
||
|
|
|
||
|
|
/***/ "(ssr)/./app/components/artifacts.module.scss":
|
||
|
|
/*!**********************************************!*\
|
||
|
|
!*** ./app/components/artifacts.module.scss ***!
|
||
|
|
\**********************************************/
|
||
|
|
/***/ ((module) => {
|
||
|
|
|
||
|
|
eval("// Exports\nmodule.exports = {\n\t\"artifacts\": \"artifacts_artifacts__J06vB\",\n\t\"artifacts-header\": \"artifacts_artifacts-header__s7Cdi\",\n\t\"artifacts-title\": \"artifacts_artifacts-title__UXZs9\",\n\t\"artifacts-content\": \"artifacts_artifacts-content__3pFba\",\n\t\"artifacts-iframe\": \"artifacts_artifacts-iframe__mjsdx\"\n};\n\nmodule.exports.__checksum = \"6e9f3dbedb64\"\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9hcHAvY29tcG9uZW50cy9hcnRpZmFjdHMubW9kdWxlLnNjc3MiLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQSx5QkFBeUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9uZXh0Y2hhdC8uL2FwcC9jb21wb25lbnRzL2FydGlmYWN0cy5tb2R1bGUuc2Nzcz84NzU1Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIEV4cG9ydHNcbm1vZHVsZS5leHBvcnRzID0ge1xuXHRcImFydGlmYWN0c1wiOiBcImFydGlmYWN0c19hcnRpZmFjdHNfX0owNnZCXCIsXG5cdFwiYXJ0aWZhY3RzLWhlYWRlclwiOiBcImFydGlmYWN0c19hcnRpZmFjdHMtaGVhZGVyX19zN0NkaVwiLFxuXHRcImFydGlmYWN0cy10aXRsZVwiOiBcImFydGlmYWN0c19hcnRpZmFjdHMtdGl0bGVfX1VYWnM5XCIsXG5cdFwiYXJ0aWZhY3RzLWNvbnRlbnRcIjogXCJhcnRpZmFjdHNfYXJ0aWZhY3RzLWNvbnRlbnRfXzNwRmJhXCIsXG5cdFwiYXJ0aWZhY3RzLWlmcmFtZVwiOiBcImFydGlmYWN0c19hcnRpZmFjdHMtaWZyYW1lX19tanNkeFwiXG59O1xuXG5tb2R1bGUuZXhwb3J0cy5fX2NoZWNrc3VtID0gXCI2ZTlmM2RiZWRiNjRcIlxuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./app/components/artifacts.module.scss\n");
|
||
|
|
|
||
|
|
/***/ })
|
||
|
|
|
||
|
|
};
|
||
|
|
;
|