kotii-markdown-render 1.0.0-beta.2.0 → 1.0.0-beta.3.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/index.cjs +12 -246
- package/dist/index.mjs +12 -228
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -7,38 +7,16 @@
|
|
|
7
7
|
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
8
8
|
*/
|
|
9
9
|
/******/ (() => { // webpackBootstrap
|
|
10
|
+
/******/ "use strict";
|
|
10
11
|
/******/ var __webpack_modules__ = ({
|
|
11
12
|
|
|
12
|
-
/***/ "./node_modules/.pnpm/@emotion+is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"
|
|
13
|
-
/*!*******************************************************************************************************************************!*\
|
|
14
|
-
!*** ./node_modules/.pnpm/@emotion+is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js ***!
|
|
15
|
-
\*******************************************************************************************************************************/
|
|
16
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
|
-
|
|
18
|
-
"use strict";
|
|
19
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ isPropValid)\n/* harmony export */ });\n/* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/memoize */ \"./node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js\");\n\n\n// eslint-disable-next-line no-undef\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */(0,_emotion_memoize__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\n\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/@emotion+is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js?\n}");
|
|
20
|
-
|
|
21
|
-
/***/ },
|
|
22
|
-
|
|
23
|
-
/***/ "./node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"
|
|
24
|
-
/*!*************************************************************************************************************!*\
|
|
25
|
-
!*** ./node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js ***!
|
|
26
|
-
\*************************************************************************************************************/
|
|
27
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28
|
-
|
|
29
|
-
"use strict";
|
|
30
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ memoize)\n/* harmony export */ });\nfunction memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\n\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js?\n}");
|
|
31
|
-
|
|
32
|
-
/***/ },
|
|
33
|
-
|
|
34
13
|
/***/ "./src/components/MarkdownAd/index.jsx"
|
|
35
14
|
/*!*********************************************!*\
|
|
36
15
|
!*** ./src/components/MarkdownAd/index.jsx ***!
|
|
37
16
|
\*********************************************/
|
|
38
17
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
39
18
|
|
|
40
|
-
"
|
|
41
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ \"./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n\n\nconst MarkdownAd = ({\n children\n}) => {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", null, children);\n};\nMarkdownAd.propTypes = {\n children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element)\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MarkdownAd);\n\n//# sourceURL=webpack://kotii-markdown-render/./src/components/MarkdownAd/index.jsx?\n}");
|
|
19
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ \"prop-types\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n\n\nconst MarkdownAd = ({\n children\n}) => {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", null, children);\n};\nMarkdownAd.propTypes = {\n children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element)\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MarkdownAd);\n\n//# sourceURL=webpack://kotii-markdown-render/./src/components/MarkdownAd/index.jsx?\n}");
|
|
42
20
|
|
|
43
21
|
/***/ },
|
|
44
22
|
|
|
@@ -48,8 +26,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
|
|
|
48
26
|
\**************************************************/
|
|
49
27
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
50
28
|
|
|
51
|
-
"
|
|
52
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _StyledMarkdown_index_jsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../StyledMarkdown/index.jsx */ \"./src/components/StyledMarkdown/index.jsx\");\n/* eslint-disable react/react-in-jsx-scope */\n/* eslint-disable react/prop-types */\n// import parse from \"html-react-parser\";\n\n\n\nconst MarkdownElement = ({\n children,\n setCustom = false,\n htmlString\n}) => {\n console.log(\"MARKDOWN ELEMENT WITH PROPS\", children, setCustom, htmlString);\n if (setCustom) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, children);\n console.log(\"NOT SET CUSTOM, PASSING OVER\");\n try {\n const rendered = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_StyledMarkdown_index_jsx__WEBPACK_IMPORTED_MODULE_2__.StyledMarkdown, null, children ? children : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n dangerouslySetInnerHTML: {\n __html: htmlString\n }\n })));\n console.log(\"THE RENDERED HTML\", rendered);\n } catch (error) {\n console.log(\"ERROR PARSING HTML\", error);\n }\n console.log(\"STYLED MARKDOWN RESULTS\");\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_StyledMarkdown_index_jsx__WEBPACK_IMPORTED_MODULE_2__.StyledMarkdown, null, children ? children : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n dangerouslySetInnerHTML: {\n __html: htmlString\n }\n })));\n};\nMarkdownElement.propTypes = {\n children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().element),\n setCustom: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),\n htmlString: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MarkdownElement);\n\n//# sourceURL=webpack://kotii-markdown-render/./src/components/MarkdownElement/index.jsx?\n}");
|
|
29
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"prop-types\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _StyledMarkdown_index_jsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../StyledMarkdown/index.jsx */ \"./src/components/StyledMarkdown/index.jsx\");\n/* eslint-disable react/react-in-jsx-scope */\n/* eslint-disable react/prop-types */\n// import parse from \"html-react-parser\";\n\n\n\nconst MarkdownElement = ({\n children,\n setCustom = false,\n htmlString\n}) => {\n console.log(\"MARKDOWN ELEMENT WITH PROPS\", children, setCustom, htmlString);\n if (setCustom) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, children);\n console.log(\"NOT SET CUSTOM, PASSING OVER\");\n try {\n const rendered = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_StyledMarkdown_index_jsx__WEBPACK_IMPORTED_MODULE_2__.StyledMarkdown, null, children ? children : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n dangerouslySetInnerHTML: {\n __html: htmlString\n }\n })));\n console.log(\"THE RENDERED HTML\", rendered);\n } catch (error) {\n console.log(\"ERROR PARSING HTML\", error);\n }\n console.log(\"STYLED MARKDOWN RESULTS\");\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_StyledMarkdown_index_jsx__WEBPACK_IMPORTED_MODULE_2__.StyledMarkdown, null, children ? children : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n dangerouslySetInnerHTML: {\n __html: htmlString\n }\n })));\n};\nMarkdownElement.propTypes = {\n children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().element),\n setCustom: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),\n htmlString: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MarkdownElement);\n\n//# sourceURL=webpack://kotii-markdown-render/./src/components/MarkdownElement/index.jsx?\n}");
|
|
53
30
|
|
|
54
31
|
/***/ },
|
|
55
32
|
|
|
@@ -59,8 +36,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
|
|
|
59
36
|
\*************************************************/
|
|
60
37
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
61
38
|
|
|
62
|
-
"
|
|
63
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var kotii_languages__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! kotii-languages */ \"kotii-languages\");\n/* harmony import */ var kotii_languages__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(kotii_languages__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var kotii_styled__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! kotii-styled */ \"./node_modules/.pnpm/kotii-styled@1.0.0-beta.3.0_styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_/node_modules/kotii-styled/index.js\");\n/* harmony import */ var _MarkdownAd_index_jsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../MarkdownAd/index.jsx */ \"./src/components/MarkdownAd/index.jsx\");\n/* harmony import */ var _MarkdownVideo_index_jsx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../MarkdownVideo/index.jsx */ \"./src/components/MarkdownVideo/index.jsx\");\n/* harmony import */ var _StandardComponent_index_jsx__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../StandardComponent/index.jsx */ \"./src/components/StandardComponent/index.jsx\");\n/* harmony import */ var _MarkdownElement_index_jsx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../MarkdownElement/index.jsx */ \"./src/components/MarkdownElement/index.jsx\");\n/* eslint-disable no-unused-vars */\n/* eslint-disable react/prop-types */\n// eslint-disable unused-imports/no-unused-imports */\n\n\n\n\n\n// import MarkdownHeader from \"../MarkdownHeader/index.js\";\n\n\n\nconst MarkdownRenderCanvas = (0,kotii_styled__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(\"div\")(() => ({\n width: \"100%\",\n display: \"flex\",\n flexDirection: \"column\"\n // overflow: \"hidden\",\n}));\nconst MarkdownContentArea = (0,kotii_styled__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(\"div\")(() => ({\n width: \"100%\",\n display: \"flex\",\n flexDirection: \"row\"\n // top: \"100px\",\n // position: \"relative\",\n}));\nconst MainArea = (0,kotii_styled__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(\"div\")(() => ({\n width: \"60%\",\n order: 1\n}));\nconst TestDemo = () => {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", null, \"I am the Demo\");\n};\nconst getSetLanguageContent = (contents, setLanguage) => {\n let content = [];\n contents.forEach(element => {\n if (element.locale.toLowerCase() === setLanguage.toLowerCase()) content = element;\n });\n return content;\n};\nconst getLanguagePosts = (routes, setLanguage) => {\n let posts = [];\n routes.forEach(element => {\n element.markdownData.forEach(languageItem => {\n if (languageItem.locale.toLowerCase() === setLanguage.toLowerCase()) {\n posts.push({\n ...languageItem.parsedMarkdown.metaDataKeys,\n path: element.path\n });\n }\n });\n });\n return posts;\n};\n\n// const capitalizeFirstLetter = (text) => {\n// console.log(\"The text Uppercasing;;;\", text);\n// return `${text.slice(0, 1).toUpperCase()}${text.slice(1)}`;\n// };\n\nconst isHtmlString = itemChecked => {\n if (typeof itemChecked === \"string\" && itemChecked.length) return true;\n return false;\n};\nconst getHtmlBody = itemChecked => {\n if (typeof itemChecked === \"string\" && itemChecked.length) return itemChecked;\n return null;\n};\nconst markdownComponentType = (mkComponent, index, options) => {\n const {\n languagePosts: posts,\n markdownComponents,\n markdownHtmlBody: body,\n post: currentPost\n } = options;\n console.log(\"THE MARKDOWN COMPONENT\", mkComponent, markdownComponents, posts);\n const componentType = Object.keys(mkComponent)[0];\n const currentComponent = Object.entries(markdownComponents).find(([key, value]) => {\n if (value.pathID === mkComponent[componentType]) return value;\n })[1];\n const isServer = typeof window != \"undefined\" ? false : true;\n console.log(\"THE CURRENT COMPONENT\", currentComponent);\n const ComponentInContext = currentComponent.component;\n console.log(\"THE COMPONENT IN CONTEXT\", ComponentInContext);\n switch (componentType) {\n case \"demo\":\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(TestDemo, {\n key: index,\n posts: posts,\n post: currentPost\n });\n case \"component\":\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(ComponentInContext, {\n posts: posts,\n post: currentPost\n });\n case \"video\":\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_MarkdownVideo_index_jsx__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n key: index\n }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(ComponentInContext, {\n posts: posts,\n post: currentPost\n }));\n case \"ad\":\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_MarkdownAd_index_jsx__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n key: index\n }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(ComponentInContext, {\n posts: posts,\n post: currentPost\n }));\n default:\n return null;\n }\n};\nconst MarkdownRender = ({\n markdownData,\n markdownComponents,\n routes = null\n}) => {\n console.log(\"MARKDOWN RENDER PROPS: docs\", markdownData);\n console.log(\"MARKDODWN RENDER PROPS: modules\", markdownComponents);\n const {\n language\n } = (0,kotii_languages__WEBPACK_IMPORTED_MODULE_0__.useLanguage)();\n const englishContent = getSetLanguageContent(markdownData, language);\n const languagePosts = getLanguagePosts(routes, language);\n console.log(\"THE ENGLISH CONTENT\", englishContent);\n const {\n fileName,\n parsedMarkdown\n } = englishContent;\n const {\n html,\n toc,\n metaDataKeys\n } = parsedMarkdown;\n const {\n useCustomRender = false\n } = metaDataKeys;\n const markdownHtmlBody = getHtmlBody(html);\n const componentsOptions = {\n languagePosts,\n markdownComponents,\n markdownHtmlBody,\n useCustomRender,\n post: metaDataKeys\n };\n console.log(\"THE PARSED MARKDOWN\", parsedMarkdown);\n console.log(\"Kotii-markdown set Language:::\", language, (react__WEBPACK_IMPORTED_MODULE_2___default().lazy), toc);\n\n // console.log(\"Filename;;;\", fileName);\n // console.log(\"html\", html);\n if (useCustomRender) {\n return html.map((markdownHtmlItem, i) => {\n if (!isHtmlString(markdownHtmlItem)) {\n return markdownComponentType(markdownHtmlItem, i, componentsOptions);\n }\n return null;\n });\n }\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MarkdownRenderCanvas, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MarkdownContentArea, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MainArea, null, html.map((markdownHtmlItem, i) => {\n if (isHtmlString(markdownHtmlItem)) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_MarkdownElement_index_jsx__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n htmlString: markdownHtmlItem,\n key: i\n });\n return markdownComponentType(markdownHtmlItem, markdownComponents, i, languagePosts);\n }))));\n};\nMarkdownRender.propTypes = {\n markdownData: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().array).isRequired\n // markdownComponents: PropTypes.object.isRequired,\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MarkdownRender);\n\n//# sourceURL=webpack://kotii-markdown-render/./src/components/MarkdownRender/index.jsx?\n}");
|
|
39
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var kotii_languages__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! kotii-languages */ \"kotii-languages\");\n/* harmony import */ var kotii_languages__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(kotii_languages__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! kotii-styled */ \"prop-types\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _MarkdownAd_index_jsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../MarkdownAd/index.jsx */ \"./src/components/MarkdownAd/index.jsx\");\n/* harmony import */ var _MarkdownVideo_index_jsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../MarkdownVideo/index.jsx */ \"./src/components/MarkdownVideo/index.jsx\");\n/* harmony import */ var _StandardComponent_index_jsx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../StandardComponent/index.jsx */ \"./src/components/StandardComponent/index.jsx\");\n/* harmony import */ var _MarkdownElement_index_jsx__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../MarkdownElement/index.jsx */ \"./src/components/MarkdownElement/index.jsx\");\n/* eslint-disable no-unused-vars */\n/* eslint-disable react/prop-types */\n// eslint-disable unused-imports/no-unused-imports */\n\n\n\n\n\n// import MarkdownHeader from \"../MarkdownHeader/index.js\";\n\n\n\nconst MarkdownRenderCanvas = prop_types__WEBPACK_IMPORTED_MODULE_1___default()(\"div\")(() => ({\n width: \"100%\",\n display: \"flex\",\n flexDirection: \"column\"\n // overflow: \"hidden\",\n}));\nconst MarkdownContentArea = prop_types__WEBPACK_IMPORTED_MODULE_1___default()(\"div\")(() => ({\n width: \"100%\",\n display: \"flex\",\n flexDirection: \"row\"\n // top: \"100px\",\n // position: \"relative\",\n}));\nconst MainArea = prop_types__WEBPACK_IMPORTED_MODULE_1___default()(\"div\")(() => ({\n width: \"60%\",\n order: 1\n}));\nconst TestDemo = () => {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", null, \"I am the Demo\");\n};\nconst getSetLanguageContent = (contents, setLanguage) => {\n let content = [];\n contents.forEach(element => {\n if (element.locale.toLowerCase() === setLanguage.toLowerCase()) content = element;\n });\n return content;\n};\nconst getLanguagePosts = (routes, setLanguage) => {\n let posts = [];\n routes.forEach(element => {\n element.markdownData.forEach(languageItem => {\n if (languageItem.locale.toLowerCase() === setLanguage.toLowerCase()) {\n posts.push({\n ...languageItem.parsedMarkdown.metaDataKeys,\n path: element.path\n });\n }\n });\n });\n return posts;\n};\n\n// const capitalizeFirstLetter = (text) => {\n// console.log(\"The text Uppercasing;;;\", text);\n// return `${text.slice(0, 1).toUpperCase()}${text.slice(1)}`;\n// };\n\nconst isHtmlString = itemChecked => {\n if (typeof itemChecked === \"string\" && itemChecked.length) return true;\n return false;\n};\nconst getHtmlBody = itemChecked => {\n if (typeof itemChecked === \"string\" && itemChecked.length) return itemChecked;\n return null;\n};\nconst markdownComponentType = (mkComponent, index, options) => {\n const {\n languagePosts: posts,\n markdownComponents,\n markdownHtmlBody: body,\n post: currentPost\n } = options;\n console.log(\"THE MARKDOWN COMPONENT\", mkComponent, markdownComponents, posts);\n const componentType = Object.keys(mkComponent)[0];\n const currentComponent = Object.entries(markdownComponents).find(([key, value]) => {\n if (value.pathID === mkComponent[componentType]) return value;\n })[1];\n const isServer = typeof window != \"undefined\" ? false : true;\n console.log(\"THE CURRENT COMPONENT\", currentComponent);\n const ComponentInContext = currentComponent.component;\n console.log(\"THE COMPONENT IN CONTEXT\", ComponentInContext);\n switch (componentType) {\n case \"demo\":\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(TestDemo, {\n key: index,\n posts: posts,\n post: currentPost\n });\n case \"component\":\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(ComponentInContext, {\n posts: posts,\n post: currentPost\n });\n case \"video\":\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_MarkdownVideo_index_jsx__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n key: index\n }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(ComponentInContext, {\n posts: posts,\n post: currentPost\n }));\n case \"ad\":\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_MarkdownAd_index_jsx__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n key: index\n }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(ComponentInContext, {\n posts: posts,\n post: currentPost\n }));\n default:\n return null;\n }\n};\nconst MarkdownRender = ({\n markdownData,\n markdownComponents,\n routes = null\n}) => {\n console.log(\"MARKDOWN RENDER PROPS: docs\", markdownData);\n console.log(\"MARKDODWN RENDER PROPS: modules\", markdownComponents);\n const {\n language\n } = (0,kotii_languages__WEBPACK_IMPORTED_MODULE_0__.useLanguage)();\n const englishContent = getSetLanguageContent(markdownData, language);\n const languagePosts = getLanguagePosts(routes, language);\n console.log(\"THE ENGLISH CONTENT\", englishContent);\n const {\n fileName,\n parsedMarkdown\n } = englishContent;\n const {\n html,\n toc,\n metaDataKeys\n } = parsedMarkdown;\n const {\n useCustomRender = false\n } = metaDataKeys;\n const markdownHtmlBody = getHtmlBody(html);\n const componentsOptions = {\n languagePosts,\n markdownComponents,\n markdownHtmlBody,\n useCustomRender,\n post: metaDataKeys\n };\n console.log(\"THE PARSED MARKDOWN\", parsedMarkdown);\n console.log(\"Kotii-markdown set Language:::\", language, (react__WEBPACK_IMPORTED_MODULE_2___default().lazy), toc);\n\n // console.log(\"Filename;;;\", fileName);\n // console.log(\"html\", html);\n if (useCustomRender) {\n return html.map((markdownHtmlItem, i) => {\n if (!isHtmlString(markdownHtmlItem)) {\n return markdownComponentType(markdownHtmlItem, i, componentsOptions);\n }\n return null;\n });\n }\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MarkdownRenderCanvas, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MarkdownContentArea, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MainArea, null, html.map((markdownHtmlItem, i) => {\n if (isHtmlString(markdownHtmlItem)) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_MarkdownElement_index_jsx__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n htmlString: markdownHtmlItem,\n key: i\n });\n return markdownComponentType(markdownHtmlItem, markdownComponents, i, languagePosts);\n }))));\n};\nMarkdownRender.propTypes = {\n markdownData: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().array).isRequired\n // markdownComponents: PropTypes.object.isRequired,\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MarkdownRender);\n\n//# sourceURL=webpack://kotii-markdown-render/./src/components/MarkdownRender/index.jsx?\n}");
|
|
64
40
|
|
|
65
41
|
/***/ },
|
|
66
42
|
|
|
@@ -70,8 +46,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
|
|
|
70
46
|
\************************************************/
|
|
71
47
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
72
48
|
|
|
73
|
-
"
|
|
74
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ \"./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n\n\nconst MarkdownVideo = ({\n children,\n isNotChildVideo = false\n}) => {\n console.log(\"THE CHILDREN\", children, isNotChildVideo);\n if (isNotChildVideo) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"video\", null, children);\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", null, children);\n};\nMarkdownVideo.propTypes = {\n children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),\n isNotChildVideo: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MarkdownVideo);\n\n//# sourceURL=webpack://kotii-markdown-render/./src/components/MarkdownVideo/index.jsx?\n}");
|
|
49
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ \"prop-types\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n\n\nconst MarkdownVideo = ({\n children,\n isNotChildVideo = false\n}) => {\n console.log(\"THE CHILDREN\", children, isNotChildVideo);\n if (isNotChildVideo) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"video\", null, children);\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", null, children);\n};\nMarkdownVideo.propTypes = {\n children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),\n isNotChildVideo: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MarkdownVideo);\n\n//# sourceURL=webpack://kotii-markdown-render/./src/components/MarkdownVideo/index.jsx?\n}");
|
|
75
50
|
|
|
76
51
|
/***/ },
|
|
77
52
|
|
|
@@ -81,8 +56,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
|
|
|
81
56
|
\****************************************************/
|
|
82
57
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
83
58
|
|
|
84
|
-
"
|
|
85
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var kotii_styled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! kotii-styled */ \"./node_modules/.pnpm/kotii-styled@1.0.0-beta.3.0_styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_/node_modules/kotii-styled/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* eslint-disable react/prop-types */\n\n\n\nconst StyledStandardComponent = (0,kotii_styled__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"div\")(() => ({\n width: \"100%\"\n}));\nconst StandardComponent = ({\n children\n}) => {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(StyledStandardComponent, null, children);\n};\nStandardComponent.propTypes = {\n children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().element).isRequired\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StandardComponent);\n\n//# sourceURL=webpack://kotii-markdown-render/./src/components/StandardComponent/index.jsx?\n}");
|
|
59
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var kotii_styled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ \"prop-types\");\n/* harmony import */ var kotii_styled__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(kotii_styled__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* eslint-disable react/prop-types */\n\n\n\nconst StyledStandardComponent = kotii_styled__WEBPACK_IMPORTED_MODULE_0___default()(\"div\")(() => ({\n width: \"100%\"\n}));\nconst StandardComponent = ({\n children\n}) => {\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledStandardComponent, null, children);\n};\nStandardComponent.propTypes = {\n children: (kotii_styled__WEBPACK_IMPORTED_MODULE_0___default().element).isRequired\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StandardComponent);\n\n//# sourceURL=webpack://kotii-markdown-render/./src/components/StandardComponent/index.jsx?\n}");
|
|
86
60
|
|
|
87
61
|
/***/ },
|
|
88
62
|
|
|
@@ -92,105 +66,17 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
|
|
|
92
66
|
\*************************************************/
|
|
93
67
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
94
68
|
|
|
95
|
-
"
|
|
96
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ StyledMarkdown: () => (/* binding */ StyledMarkdown)\n/* harmony export */ });\n/* harmony import */ var kotii_styled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! kotii-styled */ \"./node_modules/.pnpm/kotii-styled@1.0.0-beta.3.0_styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_/node_modules/kotii-styled/index.js\");\n\nconst GoogleFonts = kotii_styled__WEBPACK_IMPORTED_MODULE_0__[\"default\"].div`\n @import url(\"https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap\");\n @import url(\"https://fonts.googleapis.com/css2?family=Pangolin&display=swap\");\n`;\nconst StyledMarkdown = (0,kotii_styled__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(GoogleFonts)(() => ({\n fontFamily: '\"Roboto\", sans-serif',\n \"& h1\": {\n color: \"red\",\n margin: \"10px 0\",\n fontSize: \"3rem\",\n lineHeight: \"3.5rem\",\n fontWeight: 900\n },\n \"& h1, h2, h3, h4, h5, h6\": {\n textTransform: \"capitalize\"\n },\n \"& table\": {\n minWidth: \"600px\",\n border: \"2px solid #2a2f36\",\n margin: \"20px auto\",\n width: \"100%\",\n borderSpacing: \"0\",\n borderCollapse: \"collapse\",\n backgroundColor: \"#fff\"\n },\n \"& table thead\": {\n background: \"#2a2f36\",\n color: \"#fff\",\n textAlign: \"left\",\n fontWeight: 600\n },\n \"& table thead th\": {\n fontWeight: 600\n },\n \"& table td,\\ntable th\": {\n padding: \"10px\",\n fontSize: \"16px\",\n fontWeight: 400\n },\n \"& table tr:nth-child(2n)\": {\n background: \"#f5f7fa\"\n },\n \"& pre\": {\n // background: \"#eee\",\n //background: \"#001E3C;\",\n background: \"#20354A\",\n // borderLeft: \"5px solid #9684A3\",\n borderRadius: \"10px\",\n padding: \"10px\",\n letterSpacing: \".5px\",\n fontSize: \"10pt\",\n // color: \"#96b38a\",\n color: \"white\",\n fontWeight: \"bold\"\n },\n // \"& pre::-webkit-scrollbar\": {\n // backgroundColor: \"#DED7E6\",\n // height: \"10px\",\n // },\n // \"& pre::-webkit-scrollbar-thumb\": {\n // background: \"#9684A3\",\n // borderTopRightRadius: \"10px\",\n // },\n\n \"& pre code\": {\n display: \"block\",\n background: \"none\",\n whiteSpace: \"pre\",\n WebkitOverflowScrolling: \"touch\",\n overflowX: \"scroll\",\n maxWidth: \"100%\",\n minWidth: \"100px\",\n padding: \"0\",\n fontSize: \"15px\",\n fontFamily: \"MyFancyCustomFont, monospace\"\n },\n \"& code\": {\n fontFamily: \"MyFancyCustomFont, monospace\",\n fontSize: \"inherit\"\n },\n \"& ol\": {\n margin: \"0 0 1em 0\",\n padding: \"0\",\n counterReset: \"li\",\n listStyle: \"none\"\n },\n \"& ol li\": {\n display: \"block\",\n overflow: \"hidden\",\n position: \"relative\",\n paddingLeft: \"50px\",\n minHeight: \"35px\",\n margin: \"10px 0px\",\n paddingTop: \"4px\"\n },\n \"& ol li:before\": {\n position: \"absolute\",\n top: \"0px\",\n left: \"0px\",\n border: \"1px solid #000\",\n backgroundColor: \"#d5d5d5\",\n borderRadius: \"50%\",\n width: \"30px\",\n height: \"30px\",\n lineHeight: \"30px\",\n textAlign: \"center\",\n fontSize: \"12px\",\n fontWeight: 700,\n color: \"#000\",\n content: \"counter(li)\",\n counterIncrement: \"li\"\n },\n \"& ul li\": {\n color: \"green\",\n listStyle: \"none\",\n position: \"relative\",\n paddingLeft: \"50px\",\n lineHeight: 2,\n fontSize: \"16px\"\n },\n \"& ul li:before\": {\n position: \"absolute\",\n left: \"0\",\n color: \"red\",\n fontSize: \"32px\",\n content: '\"\\\\f111\"'\n },\n \"p > code,\\nli > code,\\ndd > code,\\ntd > code\": {\n background: \"#ffeff0\",\n wordWrap: \"break-word\",\n boxDecorationBreak: \"clone\",\n padding: \".1rem .3rem .2rem\",\n borderRadius: \".2rem\"\n },\n // \"& ul li.two:before\": { content: '\"\\\\f00c\"' },\n // \"& ul li.three:before\": { content: '\"\\\\f10c\"' },\n // \"& ul li.four:before\": { content: '\"\\\\f004\"' },\n // \"& ul li.five:before\": { content: '\"\\\\f1e2\"' },\n // \"& ul li.six:before\": { content: '\"\\\\f0e7\"' },\n // \"& ul li:hover:before\": { color: \"#fff\" },\n \"& p\": {\n textAlign: \"justify\",\n hyphens: \"auto\"\n // fontFamily: '\"Pangolin\", sans-serif',\n },\n \"& p:first-of-type\": {\n fontSize: \"1.1rem\"\n },\n \"& p:first-of-type:first-letter\": {\n fontSize: \"2.2rem\",\n fontWeight: \"bold\",\n float: \"left\",\n display: \"inline-block\",\n marginTop: \"0.5rem\",\n paddingRight: \"0.15rem\",\n color: \"white\",\n backgroundColor: \"red\",\n padding: \"1.2rem 0.5rem\",\n marginRight: \"0.5rem\"\n },\n \"& p:first-of-type:first-line\": {\n fontWeight: \"bold\"\n },\n \"& blockquote\": {\n fontSize: \"1.4em\",\n width: \"60%\",\n margin: \"50px auto\",\n fontFamily: \"Open Sans\",\n fontStyle: \"italic\",\n color: \"#555555\",\n padding: \"1.2em 30px 1.2em 75px\",\n borderLeft: \"8px solid #78C0A8\",\n lineHeight: 1.6,\n position: \"relative\",\n background: \"#EDEDED\"\n },\n \"& blockquote::before\": {\n fontFamily: \"Arial\",\n content: '\"\\\\201C\"',\n color: \"#78C0A8\",\n fontSize: \"4em\",\n position: \"absolute\",\n left: \"10px\",\n top: \"-10px\"\n },\n \"& blockquote::after\": {\n content: \"''\"\n },\n \"& blockquote span\": {\n display: \"block\",\n color: \"#333333\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n marginTop: \"1em\"\n }\n}));\n\n\n//# sourceURL=webpack://kotii-markdown-render/./src/components/StyledMarkdown/index.jsx?\n}");
|
|
69
|
+
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ StyledMarkdown: () => (/* binding */ StyledMarkdown)\n/* harmony export */ });\n/* harmony import */ var kotii_styled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! kotii-styled */ \"prop-types\");\n/* harmony import */ var kotii_styled__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(kotii_styled__WEBPACK_IMPORTED_MODULE_0__);\n\nconst GoogleFonts = (kotii_styled__WEBPACK_IMPORTED_MODULE_0___default().div)`\n @import url(\"https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap\");\n @import url(\"https://fonts.googleapis.com/css2?family=Pangolin&display=swap\");\n`;\nconst StyledMarkdown = kotii_styled__WEBPACK_IMPORTED_MODULE_0___default()(GoogleFonts)(() => ({\n fontFamily: '\"Roboto\", sans-serif',\n \"& h1\": {\n color: \"red\",\n margin: \"10px 0\",\n fontSize: \"3rem\",\n lineHeight: \"3.5rem\",\n fontWeight: 900\n },\n \"& h1, h2, h3, h4, h5, h6\": {\n textTransform: \"capitalize\"\n },\n \"& table\": {\n minWidth: \"600px\",\n border: \"2px solid #2a2f36\",\n margin: \"20px auto\",\n width: \"100%\",\n borderSpacing: \"0\",\n borderCollapse: \"collapse\",\n backgroundColor: \"#fff\"\n },\n \"& table thead\": {\n background: \"#2a2f36\",\n color: \"#fff\",\n textAlign: \"left\",\n fontWeight: 600\n },\n \"& table thead th\": {\n fontWeight: 600\n },\n \"& table td,\\ntable th\": {\n padding: \"10px\",\n fontSize: \"16px\",\n fontWeight: 400\n },\n \"& table tr:nth-child(2n)\": {\n background: \"#f5f7fa\"\n },\n \"& pre\": {\n // background: \"#eee\",\n //background: \"#001E3C;\",\n background: \"#20354A\",\n // borderLeft: \"5px solid #9684A3\",\n borderRadius: \"10px\",\n padding: \"10px\",\n letterSpacing: \".5px\",\n fontSize: \"10pt\",\n // color: \"#96b38a\",\n color: \"white\",\n fontWeight: \"bold\"\n },\n // \"& pre::-webkit-scrollbar\": {\n // backgroundColor: \"#DED7E6\",\n // height: \"10px\",\n // },\n // \"& pre::-webkit-scrollbar-thumb\": {\n // background: \"#9684A3\",\n // borderTopRightRadius: \"10px\",\n // },\n\n \"& pre code\": {\n display: \"block\",\n background: \"none\",\n whiteSpace: \"pre\",\n WebkitOverflowScrolling: \"touch\",\n overflowX: \"scroll\",\n maxWidth: \"100%\",\n minWidth: \"100px\",\n padding: \"0\",\n fontSize: \"15px\",\n fontFamily: \"MyFancyCustomFont, monospace\"\n },\n \"& code\": {\n fontFamily: \"MyFancyCustomFont, monospace\",\n fontSize: \"inherit\"\n },\n \"& ol\": {\n margin: \"0 0 1em 0\",\n padding: \"0\",\n counterReset: \"li\",\n listStyle: \"none\"\n },\n \"& ol li\": {\n display: \"block\",\n overflow: \"hidden\",\n position: \"relative\",\n paddingLeft: \"50px\",\n minHeight: \"35px\",\n margin: \"10px 0px\",\n paddingTop: \"4px\"\n },\n \"& ol li:before\": {\n position: \"absolute\",\n top: \"0px\",\n left: \"0px\",\n border: \"1px solid #000\",\n backgroundColor: \"#d5d5d5\",\n borderRadius: \"50%\",\n width: \"30px\",\n height: \"30px\",\n lineHeight: \"30px\",\n textAlign: \"center\",\n fontSize: \"12px\",\n fontWeight: 700,\n color: \"#000\",\n content: \"counter(li)\",\n counterIncrement: \"li\"\n },\n \"& ul li\": {\n color: \"green\",\n listStyle: \"none\",\n position: \"relative\",\n paddingLeft: \"50px\",\n lineHeight: 2,\n fontSize: \"16px\"\n },\n \"& ul li:before\": {\n position: \"absolute\",\n left: \"0\",\n color: \"red\",\n fontSize: \"32px\",\n content: '\"\\\\f111\"'\n },\n \"p > code,\\nli > code,\\ndd > code,\\ntd > code\": {\n background: \"#ffeff0\",\n wordWrap: \"break-word\",\n boxDecorationBreak: \"clone\",\n padding: \".1rem .3rem .2rem\",\n borderRadius: \".2rem\"\n },\n // \"& ul li.two:before\": { content: '\"\\\\f00c\"' },\n // \"& ul li.three:before\": { content: '\"\\\\f10c\"' },\n // \"& ul li.four:before\": { content: '\"\\\\f004\"' },\n // \"& ul li.five:before\": { content: '\"\\\\f1e2\"' },\n // \"& ul li.six:before\": { content: '\"\\\\f0e7\"' },\n // \"& ul li:hover:before\": { color: \"#fff\" },\n \"& p\": {\n textAlign: \"justify\",\n hyphens: \"auto\"\n // fontFamily: '\"Pangolin\", sans-serif',\n },\n \"& p:first-of-type\": {\n fontSize: \"1.1rem\"\n },\n \"& p:first-of-type:first-letter\": {\n fontSize: \"2.2rem\",\n fontWeight: \"bold\",\n float: \"left\",\n display: \"inline-block\",\n marginTop: \"0.5rem\",\n paddingRight: \"0.15rem\",\n color: \"white\",\n backgroundColor: \"red\",\n padding: \"1.2rem 0.5rem\",\n marginRight: \"0.5rem\"\n },\n \"& p:first-of-type:first-line\": {\n fontWeight: \"bold\"\n },\n \"& blockquote\": {\n fontSize: \"1.4em\",\n width: \"60%\",\n margin: \"50px auto\",\n fontFamily: \"Open Sans\",\n fontStyle: \"italic\",\n color: \"#555555\",\n padding: \"1.2em 30px 1.2em 75px\",\n borderLeft: \"8px solid #78C0A8\",\n lineHeight: 1.6,\n position: \"relative\",\n background: \"#EDEDED\"\n },\n \"& blockquote::before\": {\n fontFamily: \"Arial\",\n content: '\"\\\\201C\"',\n color: \"#78C0A8\",\n fontSize: \"4em\",\n position: \"absolute\",\n left: \"10px\",\n top: \"-10px\"\n },\n \"& blockquote::after\": {\n content: \"''\"\n },\n \"& blockquote span\": {\n display: \"block\",\n color: \"#333333\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n marginTop: \"1em\"\n }\n}));\n\n\n//# sourceURL=webpack://kotii-markdown-render/./src/components/StyledMarkdown/index.jsx?\n}");
|
|
97
70
|
|
|
98
71
|
/***/ },
|
|
99
72
|
|
|
100
|
-
/***/ "
|
|
101
|
-
|
|
102
|
-
!***
|
|
103
|
-
|
|
73
|
+
/***/ "prop-types"
|
|
74
|
+
/*!************************************!*\
|
|
75
|
+
!*** external "html-react-parser" ***!
|
|
76
|
+
\************************************/
|
|
104
77
|
(module) {
|
|
105
78
|
|
|
106
|
-
|
|
107
|
-
eval("{/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js?\n}");
|
|
108
|
-
|
|
109
|
-
/***/ },
|
|
110
|
-
|
|
111
|
-
/***/ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js"
|
|
112
|
-
/*!****************************************************************************************!*\
|
|
113
|
-
!*** ./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js ***!
|
|
114
|
-
\****************************************************************************************/
|
|
115
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
116
|
-
|
|
117
|
-
"use strict";
|
|
118
|
-
eval("{/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\n\nvar printWarning = function() {};\n\nif (true) {\n var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ \"./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js\");\n var loggedTypeFailures = {};\n var has = __webpack_require__(/*! ./lib/has */ \"./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js\");\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (true) {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (true) {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js?\n}");
|
|
119
|
-
|
|
120
|
-
/***/ },
|
|
121
|
-
|
|
122
|
-
/***/ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js"
|
|
123
|
-
/*!*************************************************************************************************!*\
|
|
124
|
-
!*** ./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js ***!
|
|
125
|
-
\*************************************************************************************************/
|
|
126
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
127
|
-
|
|
128
|
-
"use strict";
|
|
129
|
-
eval("{/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\n\nvar ReactIs = __webpack_require__(/*! react-is */ \"./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js\");\nvar assign = __webpack_require__(/*! object-assign */ \"./node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js\");\n\nvar ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ \"./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js\");\nvar has = __webpack_require__(/*! ./lib/has */ \"./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js\");\nvar checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ \"./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js\");\n\nvar printWarning = function() {};\n\nif (true) {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bigint: createPrimitiveTypeChecker('bigint'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message, data) {\n this.message = message;\n this.data = data && typeof data === 'object' ? data: {};\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (true) {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if ( true && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),\n {expectedType: expectedType}\n );\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (true) {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var expectedTypes = [];\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);\n if (checkerResult == null) {\n return null;\n }\n if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n expectedTypes.push(checkerResult.data.expectedType);\n }\n }\n var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function invalidValidatorError(componentName, location, propFullName, key, type) {\n return new PropTypeError(\n (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n );\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (has(shapeTypes, key) && typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js?\n}");
|
|
130
|
-
|
|
131
|
-
/***/ },
|
|
132
|
-
|
|
133
|
-
/***/ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js"
|
|
134
|
-
/*!*******************************************************************************!*\
|
|
135
|
-
!*** ./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js ***!
|
|
136
|
-
\*******************************************************************************/
|
|
137
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
138
|
-
|
|
139
|
-
eval("{/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (true) {\n var ReactIs = __webpack_require__(/*! react-is */ \"./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js\");\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ \"./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js\")(ReactIs.isElement, throwOnDirectAccess);\n} else // removed by dead control flow\n{}\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js?\n}");
|
|
140
|
-
|
|
141
|
-
/***/ },
|
|
142
|
-
|
|
143
|
-
/***/ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js"
|
|
144
|
-
/*!**************************************************************************************************!*\
|
|
145
|
-
!*** ./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
|
|
146
|
-
\**************************************************************************************************/
|
|
147
|
-
(module) {
|
|
148
|
-
|
|
149
|
-
"use strict";
|
|
150
|
-
eval("{/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js?\n}");
|
|
151
|
-
|
|
152
|
-
/***/ },
|
|
153
|
-
|
|
154
|
-
/***/ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js"
|
|
155
|
-
/*!*********************************************************************************!*\
|
|
156
|
-
!*** ./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js ***!
|
|
157
|
-
\*********************************************************************************/
|
|
158
|
-
(module) {
|
|
159
|
-
|
|
160
|
-
eval("{module.exports = Function.call.bind(Object.prototype.hasOwnProperty);\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js?\n}");
|
|
161
|
-
|
|
162
|
-
/***/ },
|
|
163
|
-
|
|
164
|
-
/***/ "./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js"
|
|
165
|
-
/*!***********************************************************************************************!*\
|
|
166
|
-
!*** ./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js ***!
|
|
167
|
-
\***********************************************************************************************/
|
|
168
|
-
(__unused_webpack_module, exports) {
|
|
169
|
-
|
|
170
|
-
"use strict";
|
|
171
|
-
eval("{/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\n\n\n\nif (true) {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js?\n}");
|
|
172
|
-
|
|
173
|
-
/***/ },
|
|
174
|
-
|
|
175
|
-
/***/ "./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js"
|
|
176
|
-
/*!****************************************************************************!*\
|
|
177
|
-
!*** ./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js ***!
|
|
178
|
-
\****************************************************************************/
|
|
179
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
180
|
-
|
|
181
|
-
"use strict";
|
|
182
|
-
eval("{\n\nif (false) // removed by dead control flow\n{} else {\n module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ \"./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js\");\n}\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js?\n}");
|
|
183
|
-
|
|
184
|
-
/***/ },
|
|
185
|
-
|
|
186
|
-
/***/ "./node_modules/.pnpm/styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js"
|
|
187
|
-
/*!*********************************************************************************************************************************************************************!*\
|
|
188
|
-
!*** ./node_modules/.pnpm/styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js ***!
|
|
189
|
-
\*********************************************************************************************************************************************************************/
|
|
190
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
191
|
-
|
|
192
|
-
"use strict";
|
|
193
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ServerStyleSheet: () => (/* binding */ Pt),\n/* harmony export */ StyleSheetConsumer: () => (/* binding */ Ze),\n/* harmony export */ StyleSheetContext: () => (/* binding */ Qe),\n/* harmony export */ StyleSheetManager: () => (/* binding */ tt),\n/* harmony export */ ThemeConsumer: () => (/* binding */ ot),\n/* harmony export */ ThemeContext: () => (/* binding */ nt),\n/* harmony export */ ThemeProvider: () => (/* binding */ rt),\n/* harmony export */ __PRIVATE__: () => (/* binding */ _t),\n/* harmony export */ createGlobalStyle: () => (/* binding */ St),\n/* harmony export */ createTheme: () => (/* binding */ Nt),\n/* harmony export */ css: () => (/* binding */ ft),\n/* harmony export */ \"default\": () => (/* binding */ gt),\n/* harmony export */ isStyledComponent: () => (/* binding */ ce),\n/* harmony export */ keyframes: () => (/* binding */ Et),\n/* harmony export */ styled: () => (/* binding */ gt),\n/* harmony export */ stylisPluginRSC: () => (/* binding */ kt),\n/* harmony export */ useTheme: () => (/* binding */ st),\n/* harmony export */ version: () => (/* binding */ u),\n/* harmony export */ withTheme: () => (/* binding */ At)\n/* harmony export */ });\n/* harmony import */ var _emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/is-prop-valid */ \"./node_modules/.pnpm/@emotion+is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! stylis */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js\");\n/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! stylis */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.js\");\n/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! stylis */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.js\");\n/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! stylis */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Middleware.js\");\nvar r,i;const c=\"undefined\"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||\"data-styled\",a=\"active\",l=\"data-styled-version\",u=\"6.5.1\",h=\"/*!sc*/\\n\",d=\"undefined\"!=typeof window&&\"undefined\"!=typeof document;function p(e){if(\"undefined\"!=typeof process&&void 0!==process.env){const t=process.env[e];if(void 0!==t&&\"\"!==t)return\"false\"!==t}}const f=Boolean(\"boolean\"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:null!==(i=null!==(r=p(\"REACT_APP_SC_DISABLE_SPEEDY\"))&&void 0!==r?r:p(\"SC_DISABLE_SPEEDY\"))&&void 0!==i?i:\"undefined\"!=typeof process&&void 0!==process.env&&\"production\"!==\"development\"),m=\"sc-keyframes-\",y={},g= true?{1:\"Cannot create styled-component for component: %s.\\n\\n\",2:\"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\\n\\n- Are you trying to reuse it across renders?\\n- Are you accidentally calling collectStyles twice?\\n\\n\",3:\"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\\n\\n\",4:\"The `StyleSheetManager` expects a valid target or sheet prop!\\n\\n- Does this error occur on the client and is your target falsy?\\n- Does this error occur on the server and is the sheet falsy?\\n\\n\",5:\"The clone method cannot be used on the client!\\n\\n- Are you running in a client-like environment on the server?\\n- Are you trying to run SSR on the client?\\n\\n\",6:\"Trying to insert a new style tag, but the given Node is unmounted!\\n\\n- Are you using a custom target that isn't mounted?\\n- Does your document not have a valid head element?\\n- Have you accidentally removed a style tag manually?\\n\\n\",7:'ThemeProvider: Please return an object from your \"theme\" prop function, e.g.\\n\\n```js\\ntheme={() => ({})}\\n```\\n\\n',8:'ThemeProvider: Please make your \"theme\" prop an object.\\n\\n',9:\"Missing document `<head>`\\n\\n\",10:\"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\\n\\n\",11:\"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\\n\\n\",12:\"It seems you are interpolating a keyframe declaration (%s) into an untagged string. Please wrap your string in the css\\\\`\\\\` helper which ensures the styles are injected correctly. See https://styled-components.com/docs/api#css\\n\\n\",13:\"%s is not a styled component and cannot be referred to via component selector. See https://styled-components.com/docs/advanced#referring-to-other-components for more details.\\n\\n\",14:'ThemeProvider: \"theme\" prop is required.\\n\\n',15:\"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\\n\\n```js\\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\\n```\\n\\n\",16:\"Reached the limit of how many styled components may be created at group %s.\\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\\nas for instance in your render method then you may be running into this limitation.\\n\\n\",17:\"CSSStyleSheet could not be found on HTMLStyleElement.\\nHas styled-components' style tag been unmounted or altered by another script?\\n\\n\",18:\"Accessing `useTheme` hook outside of a `<ThemeProvider>` element.\\n\\n```jsx\\nimport { useTheme } from 'styled-components';\\nexport function StyledCompoent({ children }) {\\n const theme = useTheme();\\n return <div style={{ width: theme.sizes.full }}>{children}</div>;\\n}\\n\\nimport { StyledComponent } from './StyledComponent';\\nimport { theme } from './theme';\\nexport function App() {\\n return (\\n <ThemeProvider theme={theme}>\\n <StyledComponent />\\n </ThemeProvider>\\n );\\n}\\n```\\n\\nIf you need access to the theme in an uncertain composition scenario, `React.useContext(ThemeContext)` will not emit an error if there is no `ThemeProvider` ancestor.\\n\"}:0;function v(e,...t){return false?0:new Error(function(...e){let t=e[0];const n=[];for(let t=1,o=e.length;t<o;t+=1)n.push(e[t]);return n.forEach(e=>{t=t.replace(/%[a-z]/,e)}),t}(g[e],...t).trim())}const S=1<<30;let b=new Map,w=new Map,N=1;const C=e=>{if(b.has(e))return b.get(e);for(;w.has(N);)N++;const t=N++;if( true&&((0|t)<0||t>S))throw v(16,`${t}`);return b.set(e,t),w.set(t,e),t},O=e=>w.get(e),E=(e,t)=>{N=t+1,b.set(e,t),w.set(t,e)},A=/invalid hook call/i,P=new Set,_=(e,n)=>{if(true){const o=`The component ${e}${n?` with the id of \"${n}\"`:\"\"} has been created dynamically.\\nYou may see this warning because you've called styled inside another component.\\nTo resolve this only create new StyledComponents outside of any render method and function component.\\nSee https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.\\n`,s=console.error;try{let e=!0;console.error=(t,...n)=>{A.test(t)?(e=!1,P.delete(o)):s(t,...n)},\"function\"==typeof (react__WEBPACK_IMPORTED_MODULE_1___default().useState)&&react__WEBPACK_IMPORTED_MODULE_1___default().useState(null),e&&!P.has(o)&&(console.warn(o),P.add(o))}catch(e){A.test(e.message)&&P.delete(o)}finally{console.error=s}}},I=Object.freeze([]),$=Object.freeze({});function R(e,t,n=$){return e.theme!==n.theme&&e.theme||t||n.theme}const j=/[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^`{|}~-]+/g,x=/(^-|-$)/g;function T(e){return e.replace(j,\"-\").replace(x,\"\")}const k=/(a)(d)/gi,D=e=>String.fromCharCode(e+(e>25?39:97));function V(e){let t,n=\"\";for(t=Math.abs(e);t>52;t=t/52|0)n=D(t%52)+n;return(D(t%52)+n).replace(k,\"$1-$2\")}const M=5381,G=(e,t)=>{let n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e},F=e=>G(M,e);function z(e){return V(F(e)>>>0)}function W(e){return true&&\"string\"==typeof e&&e||e.displayName||e.name||\"Component\"}function L(e){return\"string\"==typeof e&&( false||e.charAt(0)===e.charAt(0).toLowerCase())}function B(e){return L(e)?`styled.${e}`:`Styled(${W(e)})`}const q=Symbol.for(\"react.memo\"),H=Symbol.for(\"react.forward_ref\"),Y={contextType:!0,defaultProps:!0,displayName:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},U={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},J={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},X={[H]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[q]:J};function K(e){return(\"type\"in(t=e)&&t.type.$$typeof)===q?J:\"$$typeof\"in e?X[e.$$typeof]:Y;// removed by dead control flow\n var t; }const Q=Object.defineProperty,Z=Object.getOwnPropertyNames,ee=Object.getOwnPropertySymbols,te=Object.getOwnPropertyDescriptor,ne=Object.getPrototypeOf,oe=Object.prototype;function se(e,t,n){if(\"string\"!=typeof t){const o=ne(t);o&&o!==oe&&se(e,o,n);const s=Z(t).concat(ee(t)),r=K(e),i=K(t);for(let o=0;o<s.length;++o){const c=s[o];if(!(c in U||n&&n[c]||i&&c in i||r&&c in r)){const n=te(t,c);try{Q(e,c,n)}catch(e){}}}}return e}function re(e){return\"function\"==typeof e}const ie=Symbol.for(\"react.forward_ref\");function ce(e){return null!=e&&(\"object\"==typeof e||\"function\"==typeof e)&&e.$$typeof===ie&&\"styledComponentId\"in e}function ae(e,t){return e&&t?e+\" \"+t:e||t||\"\"}function le(e,t){return e.join(t||\"\")}function ue(e){return null!==e&&\"object\"==typeof e&&e.constructor.name===Object.name&&!(\"props\"in e&&e.$$typeof)}function he(e,t,n=!1){if(!n&&!ue(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(let n=0;n<t.length;n++)e[n]=he(e[n],t[n]);else if(ue(t))for(const n in t)e[n]=he(e[n],t[n]);return e}function de(e,t){Object.defineProperty(e,\"toString\",{value:t})}const pe=class{constructor(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}indexOfGroup(e){if(e===this._cGroup)return this._cIndex;let t=this._cIndex;if(e>this._cGroup)for(let n=this._cGroup;n<e;n++)t+=this.groupSizes[n];else for(let n=this._cGroup-1;n>=e;n--)t-=this.groupSizes[n];return this._cGroup=e,this._cIndex=t,t}insertRules(e,t){if(e>=this.groupSizes.length){const t=this.groupSizes,n=t.length;let o=n;for(;e>=o;)if(o<<=1,o<0)throw v(16,`${e}`);this.groupSizes=new Uint32Array(o),this.groupSizes.set(t),this.length=o;for(let e=n;e<o;e++)this.groupSizes[e]=0}let n=this.indexOfGroup(e+1),o=0;for(let s=0,r=t.length;s<r;s++)this.tag.insertRule(n,t[s])&&(this.groupSizes[e]++,n++,o++);o>0&&this._cGroup>e&&(this._cIndex+=o)}clearGroup(e){if(e<this.length){const t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(let e=n;e<o;e++)this.tag.deleteRule(n);t>0&&this._cGroup>e&&(this._cIndex-=t)}}getGroup(e){let t=\"\";if(e>=this.length||0===this.groupSizes[e])return t;const n=this.groupSizes[e],o=this.indexOfGroup(e),s=o+n;for(let e=o;e<s;e++)t+=this.tag.getRule(e)+h;return t}},fe=`style[${c}][${l}=\"${u}\"]`,me=new RegExp(`^${c}\\\\.g(\\\\d+)\\\\[id=\"([\\\\w\\\\d-]+)\"\\\\].*?\"([^\"]*)`),ye=e=>\"undefined\"!=typeof ShadowRoot&&e instanceof ShadowRoot||\"host\"in e&&11===e.nodeType,ge=e=>{if(!e)return document;if(ye(e))return e;if(\"getRootNode\"in e){const t=e.getRootNode();if(ye(t))return t}return document},ve=(e,t,n)=>{const o=n.split(\",\");let s;for(let n=0,r=o.length;n<r;n++)(s=o[n])&&e.registerName(t,s)},Se=(e,t)=>{var n;const o=(null!==(n=t.textContent)&&void 0!==n?n:\"\").split(h),s=[];for(let t=0,n=o.length;t<n;t++){const n=o[t].trim();if(!n)continue;const r=n.match(me);if(r){const t=0|parseInt(r[1],10),n=r[2];0!==t&&(E(n,t),ve(e,n,r[3]),e.getTag().insertRules(t,s)),s.length=0}else s.push(n)}},be=e=>{const t=ge(e.options.target).querySelectorAll(fe);for(let n=0,o=t.length;n<o;n++){const o=t[n];o&&o.getAttribute(c)!==a&&(Se(e,o),o.parentNode&&o.parentNode.removeChild(o))}};let we=!1;function Ne(){if(!1!==we)return we;if(\"undefined\"!=typeof document){const e=document.head.querySelector('meta[property=\"csp-nonce\"]');if(e)return we=e.nonce||e.getAttribute(\"content\")||void 0;const t=document.head.querySelector('meta[name=\"sc-nonce\"]');if(t)return we=t.getAttribute(\"content\")||void 0}return we= true?__webpack_require__.nc:0}const Ce=(e,t)=>{const n=document.head,o=e||n,s=document.createElement(\"style\"),r=(e=>{const t=Array.from(e.querySelectorAll(`style[${c}]`));return t[t.length-1]})(o),i=void 0!==r?r.nextSibling:null;s.setAttribute(c,a),s.setAttribute(l,u);const h=t||Ne();return h&&s.setAttribute(\"nonce\",h),o.insertBefore(s,i),s},Oe=class{constructor(e,t){this.element=Ce(e,t),this.element.appendChild(document.createTextNode(\"\")),this.sheet=(e=>{var t;if(e.sheet)return e.sheet;const n=null!==(t=e.getRootNode().styleSheets)&&void 0!==t?t:document.styleSheets;for(let t=0,o=n.length;t<o;t++){const o=n[t];if(o.ownerNode===e)return o}throw v(17)})(this.element),this.length=0}insertRule(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}}deleteRule(e){this.sheet.deleteRule(e),this.length--}getRule(e){const t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:\"\"}},Ee=class{constructor(e,t){this.element=Ce(e,t),this.nodes=this.element.childNodes,this.length=0}insertRule(e,t){if(e<=this.length&&e>=0){const n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1}deleteRule(e){this.element.removeChild(this.nodes[e]),this.length--}getRule(e){return e<this.length?this.nodes[e].textContent:\"\"}};let Ae=d;const Pe={isServer:!d,useCSSOMInjection:!f};class _e{static registerId(e){return C(e)}constructor(e=$,t={},n){this.options=Object.assign(Object.assign({},Pe),e),this.gs=t,this.keyframeIds=new Set,this.names=new Map(n),this.server=!!e.isServer,!this.server&&d&&Ae&&(Ae=!1,be(this)),de(this,()=>(e=>{const t=e.getTag(),{length:n}=t;let o=\"\";for(let s=0;s<n;s++){const n=O(s);if(void 0===n)continue;const r=e.names.get(n);if(void 0===r||!r.size)continue;const i=t.getGroup(s);if(0===i.length)continue;const a=c+\".g\"+s+'[id=\"'+n+'\"]';let l=\"\";for(const e of r)e.length>0&&(l+=e+\",\");o+=i+a+'{content:\"'+l+'\"}'+h}return o})(this))}rehydrate(){!this.server&&d&&be(this)}reconstructWithOptions(e,t=!0){const n=new _e(Object.assign(Object.assign({},this.options),e),this.gs,t&&this.names||void 0);return n.keyframeIds=new Set(this.keyframeIds),!this.server&&d&&e.target!==this.options.target&&ge(this.options.target)!==ge(e.target)&&be(n),n}allocateGSInstance(e){return this.gs[e]=(this.gs[e]||0)+1}getTag(){return this.tag||(this.tag=(e=(({useCSSOMInjection:e,target:t,nonce:n})=>e?new Oe(t,n):new Ee(t,n))(this.options),new pe(e)));// removed by dead control flow\n var e; }hasNameForId(e,t){var n,o;return null!==(o=null===(n=this.names.get(e))||void 0===n?void 0:n.has(t))&&void 0!==o&&o}registerName(e,t){C(e),e.startsWith(m)&&this.keyframeIds.add(e);const n=this.names.get(e);n?n.add(t):this.names.set(e,new Set([t]))}insertRules(e,t,n){this.registerName(e,t),this.getTag().insertRules(C(e),n)}clearNames(e){this.names.has(e)&&this.names.get(e).clear()}clearRules(e){this.getTag().clearGroup(C(e)),this.clearNames(e)}clearTag(){this.tag=void 0}}const Ie=new WeakSet,$e={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexShrink:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Re(e,t){return null==t||\"boolean\"==typeof t||\"\"===t?\"\":\"number\"!=typeof t||0===t||e in $e||e.startsWith(\"--\")?String(t).trim():t+\"px\"}const je=47;function xe(e){if(45===e.charCodeAt(0)&&45===e.charCodeAt(1))return e;let t=\"\";for(let n=0;n<e.length;n++){const o=e.charCodeAt(n);t+=o>=65&&o<=90?\"-\"+String.fromCharCode(o+32):e[n]}return t.startsWith(\"ms-\")?\"-\"+t:t}const Te=Symbol.for(\"sc-keyframes\");function ke(e){return\"object\"==typeof e&&null!==e&&Te in e}function De(e){return re(e)&&!(e.prototype&&e.prototype.isReactComponent)}const Ve=e=>null==e||!1===e||\"\"===e,Me=Symbol.for(\"react.client.reference\");function Ge(e){return e.$$typeof===Me}function Fe(e){const t=e.$$id,n=(t&&t.includes(\"#\")?t.split(\"#\").pop():t)||e.name||\"unknown\";console.warn(`Interpolating a client component (${n}) as a selector is not supported in server components. The component selector pattern requires access to the component's internal class name, which is not available across the server/client boundary. Use a plain CSS class selector instead.`)}function ze(e,t){for(const n in e){const o=e[n];e.hasOwnProperty(n)&&!Ve(o)&&(Array.isArray(o)&&Ie.has(o)||re(o)?t.push(xe(n)+\":\",o,\";\"):ue(o)?(t.push(n+\" {\"),ze(o,t),t.push(\"}\")):t.push(xe(n)+\": \"+Re(n,o)+\";\"))}}function We(e,t,n,o,s=[]){if(Ve(e))return s;const r=typeof e;if(\"string\"===r)return s.push(e),s;if(\"function\"===r){if(Ge(e))return true&&Fe(e),s;if(De(e)&&t){const r=e(t);return false||\"object\"!=typeof r||Array.isArray(r)||ke(r)||ue(r)||null===r||console.error(`${W(e)} is not a styled component and cannot be referred to via component selector. See https://styled-components.com/docs/advanced#referring-to-other-components for more details.`),We(r,t,n,o,s)}return s.push(e),s}if(Array.isArray(e)){for(let r=0;r<e.length;r++)We(e[r],t,n,o,s);return s}return ce(e)?(s.push(`.${e.styledComponentId}`),s):ke(e)?(n?(e.inject(n,o),s.push(e.getName(o))):s.push(e),s):Ge(e)?( true&&Fe(e),s):ue(e)?e.toString!==Object.prototype.toString?(s.push(e.toString()),s):(ze(e,s),s):(s.push(e.toString()),s)}const Le=F(u);class Be{constructor(e,t,n){this.rules=e,this.componentId=t,this.baseHash=G(Le,t),this.baseStyle=n,_e.registerId(t)}generateAndInjectStyles(e,t,n){let o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):\"\";{let s=\"\";for(let o=0;o<this.rules.length;o++){const r=this.rules[o];if(\"string\"==typeof r)s+=r;else if(r)if(De(r)){const o=r(e);\"string\"==typeof o?s+=o:null!=o&&!1!==o&&( false||\"object\"!=typeof o||Array.isArray(o)||ke(o)||ue(o)||console.error(`${W(r)} is not a styled component and cannot be referred to via component selector. See https://styled-components.com/docs/advanced#referring-to-other-components for more details.`),s+=le(We(o,e,t,n)))}else s+=le(We(r,e,t,n))}if(s){this.dynamicNameCache||(this.dynamicNameCache=new Map);const e=n.hash?n.hash+s:s;let r=this.dynamicNameCache.get(e);if(!r){if(r=V(G(G(this.baseHash,n.hash),s)>>>0),this.dynamicNameCache.size>=200){const e=this.dynamicNameCache.keys().next().value;void 0!==e&&this.dynamicNameCache.delete(e)}this.dynamicNameCache.set(e,r)}if(!t.hasNameForId(this.componentId,r)){const e=n(s,\".\"+r,void 0,this.componentId);t.insertRules(this.componentId,r,e)}o=ae(o,r)}}return o}}const qe=/&/g;function He(e,t){let n=0;for(;--t>=0&&92===e.charCodeAt(t);)n++;return!(1&~n)}function Ye(e){const t=e.length;let n=\"\",o=0,s=0,r=0,i=!1,c=!1;for(let a=0;a<t;a++){const l=e.charCodeAt(a);if(0!==r||i||l!==je||42!==e.charCodeAt(a+1))if(i)42===l&&e.charCodeAt(a+1)===je&&(i=!1,a++);else if(34!==l&&39!==l||He(e,a)){if(0===r)if(123===l)s++;else if(125===l){if(s--,s<0){c=!0;let n=a+1;for(;n<t;){const t=e.charCodeAt(n);if(59===t||10===t)break;n++}n<t&&59===e.charCodeAt(n)&&n++,s=0,a=n-1,o=n;continue}0===s&&(n+=e.substring(o,a+1),o=a+1)}else 59===l&&0===s&&(n+=e.substring(o,a+1),o=a+1)}else 0===r?r=l:r===l&&(r=0);else i=!0,a++}return c||0!==s||0!==r?(o<t&&0===s&&0===r&&(n+=e.substring(o)),n):e}function Ue(e,t){const n=t+\" \",o=\",\"+n;for(let s=0;s<e.length;s++){const r=e[s];if(\"rule\"===r.type){r.value=(n+r.value).replaceAll(\",\",o);const e=r.props,t=[];for(let o=0;o<e.length;o++)t[o]=n+e[o];r.props=t}Array.isArray(r.children)&&\"@keyframes\"!==r.type&&Ue(r.children,t)}return e}function Je({options:e=$,plugins:t=I}=$){let n,s,r;const i=(e,t,o)=>o.startsWith(s)&&o.endsWith(s)&&o.replaceAll(s,\"\").length>0?`.${n}`:e,c=t.slice();c.push(e=>{e.type===stylis__WEBPACK_IMPORTED_MODULE_2__.RULESET&&e.value.includes(\"&\")&&(r||(r=new RegExp(`\\\\${s}\\\\b`,\"g\")),e.props[0]=e.props[0].replace(qe,s).replace(r,i))}),e.prefix&&c.push(stylis__WEBPACK_IMPORTED_MODULE_5__.prefixer),c.push(stylis__WEBPACK_IMPORTED_MODULE_4__.stringify);let a=[];const l=stylis__WEBPACK_IMPORTED_MODULE_5__.middleware(c.concat(stylis__WEBPACK_IMPORTED_MODULE_5__.rulesheet(e=>a.push(e)))),u=(t,i=\"\",c=\"\",u=\"&\")=>{n=u,s=i,r=void 0;const h=function(e){const t=-1!==e.indexOf(\"//\"),n=-1!==e.indexOf(\"}\");if(!t&&!n)return e;if(!t)return Ye(e);const o=e.length;let s=\"\",r=0,i=0,c=0,a=0,l=0,u=!1;for(;i<o;){const t=e.charCodeAt(i);if(34!==t&&39!==t||He(e,i))if(0===c)if(t===je&&i+1<o&&42===e.charCodeAt(i+1)){for(i+=2;i+1<o&&(42!==e.charCodeAt(i)||e.charCodeAt(i+1)!==je);)i++;i+=2}else if(40!==t)if(41!==t)if(a>0)i++;else if(42===t&&i+1<o&&e.charCodeAt(i+1)===je)s+=e.substring(r,i),i+=2,r=i,u=!0;else if(t===je&&i+1<o&&e.charCodeAt(i+1)===je){for(s+=e.substring(r,i);i<o&&10!==e.charCodeAt(i);)i++;r=i,u=!0}else 123===t?l++:125===t&&l--,i++;else a>0&&a--,i++;else a++,i++;else i++;else 0===c?c=t:c===t&&(c=0),i++}return u?(r<o&&(s+=e.substring(r)),0===l?s:Ye(s)):0===l?e:Ye(e)}(t);let d=stylis__WEBPACK_IMPORTED_MODULE_3__.compile(c||i?c+\" \"+i+\" { \"+h+\" }\":h);return e.namespace&&(d=Ue(d,e.namespace)),a=[],stylis__WEBPACK_IMPORTED_MODULE_4__.serialize(d,l),a},h=e;let d=M;for(let e=0;e<t.length;e++)t[e].name||v(15),d=G(d,t[e].name);return(null==h?void 0:h.namespace)&&(d=G(d,h.namespace)),(null==h?void 0:h.prefix)&&(d=G(d,\"p\")),u.hash=d!==M?d.toString():\"\",u}const Xe=new _e,Ke=Je(),Qe=react__WEBPACK_IMPORTED_MODULE_1___default().createContext({shouldForwardProp:void 0,styleSheet:Xe,stylis:Ke,stylisPlugins:void 0}),Ze=Qe.Consumer;function et(){return react__WEBPACK_IMPORTED_MODULE_1___default().useContext(Qe)}function tt(e){var n;const o=et(),{styleSheet:s}=o,r=react__WEBPACK_IMPORTED_MODULE_1___default().useMemo(()=>{let t=s;return e.sheet?t=e.sheet:e.target?t=t.reconstructWithOptions(void 0!==e.nonce?{target:e.target,nonce:e.nonce}:{target:e.target},!1):void 0!==e.nonce&&(t=t.reconstructWithOptions({nonce:e.nonce})),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.nonce,e.sheet,e.target,s]),i=react__WEBPACK_IMPORTED_MODULE_1___default().useMemo(()=>{var t;return void 0===e.stylisPlugins&&void 0===e.namespace&&void 0===e.enableVendorPrefixes?o.stylis:Je({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:null!==(t=e.stylisPlugins)&&void 0!==t?t:o.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins,o.stylis,o.stylisPlugins]),c=\"shouldForwardProp\"in e?e.shouldForwardProp:o.shouldForwardProp,a=null!==(n=e.stylisPlugins)&&void 0!==n?n:o.stylisPlugins,l=react__WEBPACK_IMPORTED_MODULE_1___default().useMemo(()=>({shouldForwardProp:c,styleSheet:r,stylis:i,stylisPlugins:a}),[c,r,i,a]);return react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Qe.Provider,{value:l},e.children)}const nt=react__WEBPACK_IMPORTED_MODULE_1___default().createContext(void 0),ot=nt.Consumer;function st(){const e=react__WEBPACK_IMPORTED_MODULE_1___default().useContext(nt);if(!e)throw v(18);return e}function rt(e){const n=react__WEBPACK_IMPORTED_MODULE_1___default().useContext(nt),o=react__WEBPACK_IMPORTED_MODULE_1___default().useMemo(()=>function(e,t){if(!e)throw v(14);if(re(e)){const n=e(t);if( true&&(null===n||Array.isArray(n)||\"object\"!=typeof n))throw v(7);return n}if(Array.isArray(e)||\"object\"!=typeof e)throw v(8);return t?Object.assign(Object.assign({},t),e):e}(e.theme,n),[e.theme,n]);return e.children?react__WEBPACK_IMPORTED_MODULE_1___default().createElement(nt.Provider,{value:o},e.children):null}const it=Object.prototype.hasOwnProperty,ct={};function at(e,t){const n=\"string\"!=typeof e?\"sc\":T(e);ct[n]=(ct[n]||0)+1;const o=n+\"-\"+z(u+n+ct[n]);return t?t+\"-\"+o:o}let lt;function ut(o,s,r){const i=ce(o),c=o,a=!L(o),{attrs:l=I,componentId:u=at(s.displayName,s.parentComponentId),displayName:h=B(o)}=s,d=s.displayName&&s.componentId?T(s.displayName)+\"-\"+s.componentId:s.componentId||u,p=i&&c.attrs?c.attrs.concat(l).filter(Boolean):l;let{shouldForwardProp:f}=s;if(i&&c.shouldForwardProp){const e=c.shouldForwardProp;if(s.shouldForwardProp){const t=s.shouldForwardProp;f=(n,o)=>e(n,o)&&t(n,o)}else f=e}const m=new Be(r,d,i?c.componentStyle:void 0);function y(o,s){return function(o,s,r){const{attrs:i,componentStyle:c,defaultProps:a,foldedComponentIds:l,styledComponentId:u,target:h}=o,d=react__WEBPACK_IMPORTED_MODULE_1___default().useContext(nt),p=et(),f=o.shouldForwardProp||p.shouldForwardProp; true&&(react__WEBPACK_IMPORTED_MODULE_1___default().useDebugValue)&&react__WEBPACK_IMPORTED_MODULE_1___default().useDebugValue(u);const m=R(s,d,a)||$;let y,g;{const e=react__WEBPACK_IMPORTED_MODULE_1___default().useRef(null),n=e.current;if(null!==n&&n[1]===m&&n[2]===p.styleSheet&&n[3]===p.stylis&&n[7]===c&&function(e,t,n){const o=e,s=t;let r=0;for(const e in s)if(it.call(s,e)&&(r++,o[e]!==s[e]))return!1;return r===n}(n[0],s,n[4]))y=n[5],g=n[6];else{y=function(e,t,n){const o=Object.assign(Object.assign({},t),{className:void 0,theme:n}),s=e.length>1;for(let n=0;n<e.length;n++){const r=e[n],i=re(r)?r(s?Object.assign({},o):o):r;for(const e in i)\"className\"===e?o.className=ae(o.className,i[e]):\"style\"===e?o.style=Object.assign(Object.assign({},o.style),i[e]):e in t&&void 0===t[e]||(o[e]=i[e])}return\"className\"in t&&\"string\"==typeof t.className&&(o.className=ae(o.className,t.className)),o}(i,s,m),g=c.generateAndInjectStyles(y,p.styleSheet,p.stylis);let t=0;for(const e in s)it.call(s,e)&&t++;e.current=[s,m,p.styleSheet,p.stylis,t,y,g,c]}} true&&(react__WEBPACK_IMPORTED_MODULE_1___default().useDebugValue)&&react__WEBPACK_IMPORTED_MODULE_1___default().useDebugValue(g), true&&o.warnTooManyClasses&&o.warnTooManyClasses(g);const v=y.as||h,S=function(t,n,o,s){const r={};for(const i in t)void 0===t[i]||\"$\"===i[0]||\"as\"===i||\"theme\"===i&&t.theme===o||(\"forwardedAs\"===i?r.as=t.forwardedAs:s&&!s(i,n)||(r[i]=t[i],s||\"development\"!==\"development\"||(0,_emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(i)||(lt||(lt=new Set)).has(i)||!L(n)||n.includes(\"-\")||(lt.add(i),console.warn(`styled-components: it looks like an unknown prop \"${i}\" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via \\`<StyleSheetManager shouldForwardProp={...}>\\` (connect an API like \\`@emotion/is-prop-valid\\`) or consider using transient props (\\`$\\` prefix for automatic filtering.)`))));return r}(y,v,m,f);let b=ae(l,u);return g&&(b+=\" \"+g),y.className&&(b+=\" \"+y.className),S[L(v)&&v.includes(\"-\")?\"class\":\"className\"]=b,r&&(S.ref=r),(0,react__WEBPACK_IMPORTED_MODULE_1__.createElement)(v,S)}(g,o,s)}y.displayName=h;let g=react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(y);return g.attrs=p,g.componentStyle=m,g.displayName=h,g.shouldForwardProp=f,g.foldedComponentIds=i?ae(c.foldedComponentIds,c.styledComponentId):\"\",g.styledComponentId=d,g.target=i?c.target:o,Object.defineProperty(g,\"defaultProps\",{get(){return this._foldedDefaultProps},set(e){this._foldedDefaultProps=i?function(e,...t){for(const n of t)he(e,n,!0);return e}({},c.defaultProps,e):e}}), true&&(_(h,d),g.warnTooManyClasses=((e,t)=>{let n={},o=!1;return s=>{!o&&(n[s]=!0,Object.keys(n).length>=200)&&(console.warn(`Over 200 classes were generated for component ${e}${t?` with the id of \"${t}\"`:\"\"}.\\nConsider using the attrs method, together with a style object for frequently changed styles.\\nExample:\\n const Component = styled.div.attrs(props => ({\\n style: {\\n background: props.background,\\n },\\n }))\\`width: 100%;\\`\\n\\n <Component />`),o=!0,n={})}})(h,d)),de(g,()=>`.${g.styledComponentId}`),a&&se(g,o,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),g}var ht=new Set([\"a\",\"abbr\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"bdi\",\"bdo\",\"blockquote\",\"body\",\"button\",\"br\",\"canvas\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"data\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"label\",\"legend\",\"li\",\"main\",\"map\",\"mark\",\"menu\",\"meter\",\"nav\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"picture\",\"pre\",\"progress\",\"q\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"search\",\"section\",\"select\",\"slot\",\"small\",\"span\",\"strong\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"template\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"u\",\"ul\",\"var\",\"video\",\"wbr\",\"circle\",\"clipPath\",\"defs\",\"ellipse\",\"feBlend\",\"feColorMatrix\",\"feComponentTransfer\",\"feComposite\",\"feConvolveMatrix\",\"feDiffuseLighting\",\"feDisplacementMap\",\"feDistantLight\",\"feDropShadow\",\"feFlood\",\"feFuncA\",\"feFuncB\",\"feFuncG\",\"feFuncR\",\"feGaussianBlur\",\"feImage\",\"feMerge\",\"feMergeNode\",\"feMorphology\",\"feOffset\",\"fePointLight\",\"feSpecularLighting\",\"feSpotLight\",\"feTile\",\"feTurbulence\",\"filter\",\"foreignObject\",\"g\",\"image\",\"line\",\"linearGradient\",\"marker\",\"mask\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"radialGradient\",\"rect\",\"stop\",\"svg\",\"switch\",\"symbol\",\"text\",\"textPath\",\"tspan\",\"use\"]);function dt(e,t){const n=[e[0]];for(let o=0,s=t.length;o<s;o+=1)n.push(t[o],e[o+1]);return n}const pt=e=>(Ie.add(e),e);function ft(e,...t){if(re(e)||ue(e))return pt(We(dt(I,[e,...t])));const n=e;return 0===t.length&&1===n.length&&\"string\"==typeof n[0]?We(n):pt(We(dt(n,t)))}function mt(e,t,n=$){if(!t)throw v(1,t);const o=(o,...s)=>e(t,n,ft(o,...s));return o.attrs=o=>mt(e,t,Object.assign(Object.assign({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)})),o.withConfig=o=>mt(e,t,Object.assign(Object.assign({},n),o)),o}const yt=e=>mt(ut,e),gt=yt;ht.forEach(e=>{gt[e]=yt(e)});class vt{constructor(e,t){this.instanceRules=new Map,this.rules=e,this.componentId=t,this.isStatic=function(e){for(let t=0;t<e.length;t+=1){const n=e[t];if(re(n)&&!ce(n))return!1}return!0}(e),_e.registerId(this.componentId)}removeStyles(e,t){this.instanceRules.delete(e),this.rebuildGroup(t)}renderStyles(e,t,n,o){const s=this.componentId;if(this.isStatic){if(n.hasNameForId(s,s+e))this.instanceRules.has(e)||this.computeRules(e,t,n,o);else{const r=this.computeRules(e,t,n,o);n.insertRules(s,r.name,r.rules)}return}const r=this.instanceRules.get(e);if(this.computeRules(e,t,n,o),!n.server&&r){const t=r.rules,n=this.instanceRules.get(e).rules;if(t.length===n.length){let e=!0;for(let o=0;o<t.length;o++)if(t[o]!==n[o]){e=!1;break}if(e)return}}this.rebuildGroup(n)}computeRules(e,t,n,o){const s=le(We(this.rules,t,n,o)),r={name:this.componentId+e,rules:o(s,\"\")};return this.instanceRules.set(e,r),r}rebuildGroup(e){const t=this.componentId;e.clearRules(t);for(const n of this.instanceRules.values())e.insertRules(t,n.name,n.rules)}}function St(e,...n){const o=ft(e,...n),s=`sc-global-${z(JSON.stringify(o))}`,r=new vt(o,s); true&&_(s);const i=e=>{const n=et(),i=react__WEBPACK_IMPORTED_MODULE_1___default().useContext(nt);let a;{const e=react__WEBPACK_IMPORTED_MODULE_1___default().useRef(null);null===e.current&&(e.current=n.styleSheet.allocateGSInstance(s)),a=e.current} true&&react__WEBPACK_IMPORTED_MODULE_1___default().Children.count(e.children)&&console.warn(`The global style component ${s} was given child JSX. createGlobalStyle does not render children.`), true&&o.some(e=>\"string\"==typeof e&&-1!==e.indexOf(\"@import\"))&&console.warn(\"Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app.\"),n.styleSheet.server&&c(a,e,n.styleSheet,i,n.stylis);{const o=r.isStatic?[a,n.styleSheet,r]:[a,e,n.styleSheet,i,n.stylis,r],l=react__WEBPACK_IMPORTED_MODULE_1___default().useRef(r);react__WEBPACK_IMPORTED_MODULE_1___default().useLayoutEffect(()=>{n.styleSheet.server||(l.current!==r&&(n.styleSheet.clearRules(s),l.current=r),c(a,e,n.styleSheet,i,n.stylis))},o),react__WEBPACK_IMPORTED_MODULE_1___default().useLayoutEffect(()=>()=>{n.styleSheet.server||r.removeStyles(a,n.styleSheet)},[a,n.styleSheet,r])}return n.styleSheet.server&&r.instanceRules.delete(a),null};function c(e,t,n,o,s){if(r.isStatic)r.renderStyles(e,y,n,s);else{const c=Object.assign(Object.assign({},t),{theme:R(t,o,i.defaultProps)});r.renderStyles(e,c,n,s)}}return react__WEBPACK_IMPORTED_MODULE_1___default().memo(i)}function bt(e,t,n,o,s){for(const r in e){const i=e[r],c=s?s+\"-\"+r:r;if(\"object\"==typeof i&&null!==i){const e={};bt(i,t,e,o,c),n[r]=e}else n[r]=o(c,i,r)}}function wt(e,t,n,o){let s=\"\";for(const r in e){const i=e[r],c=t[r],a=o?o+\"-\"+r:r;\"object\"==typeof i&&null!==i?\"object\"==typeof c&&null!==c&&(s+=wt(i,c,n,a)):void 0!==c&&\"function\"!=typeof c&&(s+=\"--\"+n+a+\":\"+c+\";\")}return s}function Nt(e,t){var n,o;const s=(null!==(n=null==t?void 0:t.prefix)&&void 0!==n?n:\"sc\")+\"-\",r=null!==(o=null==t?void 0:t.selector)&&void 0!==o?o:\":root\",i=function(e,t){const n={};return bt(e,t,n,e=>\"--\"+t+e),n}(e,s),c=function(e,t){const n={};return bt(e,t,n,(e,n)=>{if(true){const t=String(n);let o=0;for(let e=0;e<t.length&&(40===t.charCodeAt(e)?o++:41===t.charCodeAt(e)&&o--,!(o<0));e++);0!==o&&console.warn(`createTheme: value \"${t}\" at \"${e}\" contains unbalanced parentheses and may break the var() fallback`)}return\"var(--\"+t+e+\", \"+n+\")\"}),n}(e,s),a=St`\n ${r} {\n ${t=>wt(e,t.theme,s)}\n }\n `;return Object.assign(c,{GlobalStyle:a,raw:e,vars:i,resolve(t){if(!d)throw new Error(\"createTheme.resolve() is client-only\");const n=null!=t?t:document.documentElement;return function(e,t,n){const o={};return bt(e,t,o,(e,o)=>n.getPropertyValue(\"--\"+t+e).trim()||o),o}(e,s,getComputedStyle(n))}})}var Ct;class Ot{constructor(e,t){this[Ct]=!0,this.inject=(e,t=Ke)=>{const n=this.getName(t);if(!e.hasNameForId(this.id,n)){const o=t(this.rules,n,\"@keyframes\");e.insertRules(this.id,n,o)}},this.name=e,this.id=m+e,this.rules=t,C(this.id),de(this,()=>{throw v(12,String(this.name))})}getName(e=Ke){return e.hash?this.name+V(+e.hash>>>0):this.name}}function Et(e,...t){ true&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.\");const n=le(ft(e,...t)),o=z(n);return new Ot(o,n)}function At(e){const n=react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef((n,o)=>{const s=R(n,react__WEBPACK_IMPORTED_MODULE_1___default().useContext(nt),e.defaultProps);return true&&void 0===s&&console.warn(`[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class \"${W(e)}\"`),react__WEBPACK_IMPORTED_MODULE_1___default().createElement(e,Object.assign(Object.assign({},n),{theme:s,ref:o}))});return n.displayName=`WithTheme(${W(e)})`,se(n,e)}Ct=Te;class Pt{constructor({nonce:e}={}){this._emitSheetCSS=()=>{const e=this.instance.toString();if(!e)return\"\";const t=this.instance.options.nonce||Ne();return`<style ${le([t&&`nonce=\"${t}\"`,`${c}=\"true\"`,`${l}=\"${u}\"`].filter(Boolean),\" \")}>${e}</style>`},this.getStyleTags=()=>{if(this.sealed)throw v(2);return this._emitSheetCSS()},this.getStyleElement=()=>{if(this.sealed)throw v(2);const e=this.instance.toString();if(!e)return[];const n={[c]:\"\",[l]:u,dangerouslySetInnerHTML:{__html:e}},o=this.instance.options.nonce||Ne();return o&&(n.nonce=o),[react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"style\",Object.assign({},n,{key:\"sc-0-0\"}))]},this.seal=()=>{this.sealed=!0},this.instance=new _e({isServer:!0,nonce:e}),this.sealed=!1}collectStyles(e){if(this.sealed)throw v(2);return react__WEBPACK_IMPORTED_MODULE_1___default().createElement(tt,{sheet:this.instance},e)}interleaveWithNodeStream(e){throw v(3)}}const _t={StyleSheet:_e,mainSheet:Xe}; true&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"It looks like you've imported 'styled-components' on React Native.\\nPerhaps you're looking to import 'styled-components/native'?\\nRead more about this at https://styled-components.com/docs/basics#react-native\");const It=`__sc-${c}__`; true&&\"undefined\"!=typeof window&&(window[It]||(window[It]=0),1===window[It]&&console.warn(\"It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\\n\\nSee https://styled-components.com/docs/faqs#why-am-i-getting-a-warning-about-several-instances-of-module-on-the-page for more info.\"),window[It]+=1);const $t=/:(?:(first)-child|(last)-child|(only)-child|(nth-child)\\(([^()]+)\\)|(nth-last-child)\\(([^()]+)\\))/g,Rt=`:not(style[${c}])`,jt=`style[${c}]`;function xt(e){return-1===e.indexOf(\"-child\")?e:($t.lastIndex=0,e.replace($t,(e,t,n,o,s,r,i,c)=>t?`:nth-child(1 of ${Rt})`:n?`:nth-last-child(1 of ${Rt})`:o?`:nth-child(1 of ${Rt}):nth-last-child(1 of ${Rt})`:s?-1!==r.indexOf(\" of \")?e:`:nth-child(${r} of ${Rt})`:-1!==c.indexOf(\" of \")?e:`:nth-last-child(${c} of ${Rt})`))}function Tt(e,t){if(-1===e.indexOf(\"+\"))return;let n=0,o=0;for(let s=0;s<e.length;s++){const r=e.charCodeAt(s);if(40===r)n++;else if(41===r)n--;else if(91===r)o++;else if(93===r)o--;else if(43===r&&0===n&&0===o&&!He(e,s)){const n=e.substring(0,s),o=e.substring(s+1);t.push(n+\"+\"+jt+\"+\"+o),t.push(n+\"+\"+jt+\"+\"+jt+\"+\"+o)}}}function kt(e){if(e.type===stylis__WEBPACK_IMPORTED_MODULE_2__.RULESET){const t=e.props,n=[];for(let e=0;e<t.length;e++){const o=xt(t[e]);n.push(o),Tt(o,n)}e.props=n}}\n//# sourceMappingURL=styled-components.browser.esm.js.map\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js?\n}");
|
|
79
|
+
module.exports = require("html-react-parser");
|
|
194
80
|
|
|
195
81
|
/***/ },
|
|
196
82
|
|
|
@@ -200,7 +86,6 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
|
|
|
200
86
|
\**********************************/
|
|
201
87
|
(module) {
|
|
202
88
|
|
|
203
|
-
"use strict";
|
|
204
89
|
module.exports = require("kotii-languages");
|
|
205
90
|
|
|
206
91
|
/***/ },
|
|
@@ -211,7 +96,6 @@ module.exports = require("kotii-languages");
|
|
|
211
96
|
\************************/
|
|
212
97
|
(module) {
|
|
213
98
|
|
|
214
|
-
"use strict";
|
|
215
99
|
module.exports = require("react");
|
|
216
100
|
|
|
217
101
|
/***/ },
|
|
@@ -222,7 +106,6 @@ module.exports = require("react");
|
|
|
222
106
|
\******************/
|
|
223
107
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
224
108
|
|
|
225
|
-
"use strict";
|
|
226
109
|
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ MarkdownRender: () => (/* reexport safe */ _src_index_js__WEBPACK_IMPORTED_MODULE_0__.MarkdownRender)\n/* harmony export */ });\n/* harmony import */ var _src_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/index.js */ \"./src/index.js\");\n\n\n\n//# sourceURL=webpack://kotii-markdown-render/./index.js?\n}");
|
|
227
110
|
|
|
228
111
|
/***/ },
|
|
@@ -233,7 +116,6 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
|
|
|
233
116
|
\*********************************/
|
|
234
117
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
235
118
|
|
|
236
|
-
"use strict";
|
|
237
119
|
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ MarkdownRender: () => (/* reexport safe */ _MarkdownRender_index_jsx__WEBPACK_IMPORTED_MODULE_0__[\"default\"])\n/* harmony export */ });\n/* harmony import */ var _MarkdownRender_index_jsx__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MarkdownRender/index.jsx */ \"./src/components/MarkdownRender/index.jsx\");\n\n\n\n//# sourceURL=webpack://kotii-markdown-render/./src/components/index.js?\n}");
|
|
238
120
|
|
|
239
121
|
/***/ },
|
|
@@ -244,119 +126,8 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
|
|
|
244
126
|
\**********************/
|
|
245
127
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
246
128
|
|
|
247
|
-
"use strict";
|
|
248
129
|
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ MarkdownRender: () => (/* reexport safe */ _components_index_js__WEBPACK_IMPORTED_MODULE_0__.MarkdownRender)\n/* harmony export */ });\n/* harmony import */ var _components_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components/index.js */ \"./src/components/index.js\");\n\n\n\n//# sourceURL=webpack://kotii-markdown-render/./src/index.js?\n}");
|
|
249
130
|
|
|
250
|
-
/***/ },
|
|
251
|
-
|
|
252
|
-
/***/ "./node_modules/.pnpm/kotii-styled@1.0.0-beta.3.0_styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_/node_modules/kotii-styled/index.js"
|
|
253
|
-
/*!****************************************************************************************************************************************************************!*\
|
|
254
|
-
!*** ./node_modules/.pnpm/kotii-styled@1.0.0-beta.3.0_styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_/node_modules/kotii-styled/index.js ***!
|
|
255
|
-
\****************************************************************************************************************************************************************/
|
|
256
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
257
|
-
|
|
258
|
-
"use strict";
|
|
259
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ServerStyleSheet: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.ServerStyleSheet),\n/* harmony export */ StyleSheetConsumer: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.StyleSheetConsumer),\n/* harmony export */ StyleSheetContext: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.StyleSheetContext),\n/* harmony export */ StyleSheetManager: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.StyleSheetManager),\n/* harmony export */ ThemeConsumer: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.ThemeConsumer),\n/* harmony export */ ThemeContext: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.ThemeContext),\n/* harmony export */ ThemeProvider: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.ThemeProvider),\n/* harmony export */ __PRIVATE__: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.__PRIVATE__),\n/* harmony export */ createGlobalStyle: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.createGlobalStyle),\n/* harmony export */ createTheme: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.createTheme),\n/* harmony export */ css: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.css),\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ isStyledComponent: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.isStyledComponent),\n/* harmony export */ keyframes: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.keyframes),\n/* harmony export */ styled: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.styled),\n/* harmony export */ stylisPluginRSC: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.stylisPluginRSC),\n/* harmony export */ useTheme: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.useTheme),\n/* harmony export */ version: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.version),\n/* harmony export */ withTheme: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_1__.withTheme)\n/* harmony export */ });\n/* harmony import */ var _src_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/index.js */ \"./node_modules/.pnpm/kotii-styled@1.0.0-beta.3.0_styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_/node_modules/kotii-styled/src/index.js\");\n/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! styled-components */ \"./node_modules/.pnpm/styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js\");\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_src_index_js__WEBPACK_IMPORTED_MODULE_0__.styled);\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/kotii-styled@1.0.0-beta.3.0_styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_/node_modules/kotii-styled/index.js?\n}");
|
|
260
|
-
|
|
261
|
-
/***/ },
|
|
262
|
-
|
|
263
|
-
/***/ "./node_modules/.pnpm/kotii-styled@1.0.0-beta.3.0_styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_/node_modules/kotii-styled/src/index.js"
|
|
264
|
-
/*!********************************************************************************************************************************************************************!*\
|
|
265
|
-
!*** ./node_modules/.pnpm/kotii-styled@1.0.0-beta.3.0_styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_/node_modules/kotii-styled/src/index.js ***!
|
|
266
|
-
\********************************************************************************************************************************************************************/
|
|
267
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
268
|
-
|
|
269
|
-
"use strict";
|
|
270
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ styled: () => (/* reexport safe */ _styled_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])\n/* harmony export */ });\n/* harmony import */ var _styled_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./styled.js */ \"./node_modules/.pnpm/kotii-styled@1.0.0-beta.3.0_styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_/node_modules/kotii-styled/src/styled.js\");\n\n\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/kotii-styled@1.0.0-beta.3.0_styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_/node_modules/kotii-styled/src/index.js?\n}");
|
|
271
|
-
|
|
272
|
-
/***/ },
|
|
273
|
-
|
|
274
|
-
/***/ "./node_modules/.pnpm/kotii-styled@1.0.0-beta.3.0_styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_/node_modules/kotii-styled/src/styled.js"
|
|
275
|
-
/*!*********************************************************************************************************************************************************************!*\
|
|
276
|
-
!*** ./node_modules/.pnpm/kotii-styled@1.0.0-beta.3.0_styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_/node_modules/kotii-styled/src/styled.js ***!
|
|
277
|
-
\*********************************************************************************************************************************************************************/
|
|
278
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
279
|
-
|
|
280
|
-
"use strict";
|
|
281
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! styled-components */ \"./node_modules/.pnpm/styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js\");\n\n\nconst defaultStyled = typeof styled_components__WEBPACK_IMPORTED_MODULE_0__[\"default\"] === \"function\" ? styled_components__WEBPACK_IMPORTED_MODULE_0__[\"default\"] : styled_components__WEBPACK_IMPORTED_MODULE_0__[\"default\"][\"default\"];\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaultStyled);\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/kotii-styled@1.0.0-beta.3.0_styled-components@6.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_/node_modules/kotii-styled/src/styled.js?\n}");
|
|
282
|
-
|
|
283
|
-
/***/ },
|
|
284
|
-
|
|
285
|
-
/***/ "./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js"
|
|
286
|
-
/*!*************************************************************************!*\
|
|
287
|
-
!*** ./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js ***!
|
|
288
|
-
\*************************************************************************/
|
|
289
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
290
|
-
|
|
291
|
-
"use strict";
|
|
292
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CHARSET: () => (/* binding */ CHARSET),\n/* harmony export */ COMMENT: () => (/* binding */ COMMENT),\n/* harmony export */ COUNTER_STYLE: () => (/* binding */ COUNTER_STYLE),\n/* harmony export */ DECLARATION: () => (/* binding */ DECLARATION),\n/* harmony export */ DOCUMENT: () => (/* binding */ DOCUMENT),\n/* harmony export */ FONT_FACE: () => (/* binding */ FONT_FACE),\n/* harmony export */ FONT_FEATURE_VALUES: () => (/* binding */ FONT_FEATURE_VALUES),\n/* harmony export */ IMPORT: () => (/* binding */ IMPORT),\n/* harmony export */ KEYFRAMES: () => (/* binding */ KEYFRAMES),\n/* harmony export */ LAYER: () => (/* binding */ LAYER),\n/* harmony export */ MEDIA: () => (/* binding */ MEDIA),\n/* harmony export */ MOZ: () => (/* binding */ MOZ),\n/* harmony export */ MS: () => (/* binding */ MS),\n/* harmony export */ NAMESPACE: () => (/* binding */ NAMESPACE),\n/* harmony export */ PAGE: () => (/* binding */ PAGE),\n/* harmony export */ RULESET: () => (/* binding */ RULESET),\n/* harmony export */ SCOPE: () => (/* binding */ SCOPE),\n/* harmony export */ SUPPORTS: () => (/* binding */ SUPPORTS),\n/* harmony export */ VIEWPORT: () => (/* binding */ VIEWPORT),\n/* harmony export */ WEBKIT: () => (/* binding */ WEBKIT)\n/* harmony export */ });\nvar MS = '-ms-'\nvar MOZ = '-moz-'\nvar WEBKIT = '-webkit-'\n\nvar COMMENT = 'comm'\nvar RULESET = 'rule'\nvar DECLARATION = 'decl'\n\nvar PAGE = '@page'\nvar MEDIA = '@media'\nvar IMPORT = '@import'\nvar CHARSET = '@charset'\nvar VIEWPORT = '@viewport'\nvar SUPPORTS = '@supports'\nvar DOCUMENT = '@document'\nvar NAMESPACE = '@namespace'\nvar KEYFRAMES = '@keyframes'\nvar FONT_FACE = '@font-face'\nvar COUNTER_STYLE = '@counter-style'\nvar FONT_FEATURE_VALUES = '@font-feature-values'\nvar LAYER = '@layer'\nvar SCOPE = '@scope'\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js?\n}");
|
|
293
|
-
|
|
294
|
-
/***/ },
|
|
295
|
-
|
|
296
|
-
/***/ "./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Middleware.js"
|
|
297
|
-
/*!*******************************************************************************!*\
|
|
298
|
-
!*** ./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Middleware.js ***!
|
|
299
|
-
\*******************************************************************************/
|
|
300
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
301
|
-
|
|
302
|
-
"use strict";
|
|
303
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ middleware: () => (/* binding */ middleware),\n/* harmony export */ namespace: () => (/* binding */ namespace),\n/* harmony export */ prefixer: () => (/* binding */ prefixer),\n/* harmony export */ rulesheet: () => (/* binding */ rulesheet)\n/* harmony export */ });\n/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Enum.js */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js\");\n/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.js\");\n/* harmony import */ var _Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Tokenizer.js */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.js\");\n/* harmony import */ var _Serializer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Serializer.js */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.js\");\n/* harmony import */ var _Prefixer_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Prefixer.js */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Prefixer.js\");\n\n\n\n\n\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nfunction middleware (collection) {\n\tvar length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nfunction rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nfunction prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase _Enum_js__WEBPACK_IMPORTED_MODULE_0__.DECLARATION: element.return = (0,_Prefixer_js__WEBPACK_IMPORTED_MODULE_4__.prefix)(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase _Enum_js__WEBPACK_IMPORTED_MODULE_0__.KEYFRAMES:\n\t\t\t\t\treturn (0,_Serializer_js__WEBPACK_IMPORTED_MODULE_3__.serialize)([(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {value: (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(element.value, '@', '@' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT)})], callback)\n\t\t\t\tcase _Enum_js__WEBPACK_IMPORTED_MODULE_0__.RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.combine)(children = element.props, function (value) {\n\t\t\t\t\t\t\tswitch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\t(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.lift)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /:(read-\\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\t;(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.lift)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\t;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.assign)(element, {props: (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.filter)(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\t;(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.lift)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /:(plac\\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\t;(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.lift)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /:(plac\\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\t;(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.lift)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /:(plac\\w+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\t;(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.lift)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\t;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.assign)(element, {props: (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.filter)(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nfunction namespace (element) {\n\tswitch (element.type) {\n\t\tcase _Enum_js__WEBPACK_IMPORTED_MODULE_0__.RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.combine)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.tokenize)(value), function (value, index, children) {\n\t\t\t\t\tswitch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, 1, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Middleware.js?\n}");
|
|
304
|
-
|
|
305
|
-
/***/ },
|
|
306
|
-
|
|
307
|
-
/***/ "./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.js"
|
|
308
|
-
/*!***************************************************************************!*\
|
|
309
|
-
!*** ./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.js ***!
|
|
310
|
-
\***************************************************************************/
|
|
311
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
312
|
-
|
|
313
|
-
"use strict";
|
|
314
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ comment: () => (/* binding */ comment),\n/* harmony export */ compile: () => (/* binding */ compile),\n/* harmony export */ declaration: () => (/* binding */ declaration),\n/* harmony export */ parse: () => (/* binding */ parse),\n/* harmony export */ ruleset: () => (/* binding */ ruleset)\n/* harmony export */ });\n/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Enum.js */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js\");\n/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.js\");\n/* harmony import */ var _Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Tokenizer.js */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.js\");\n\n\n\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nfunction compile (value) {\n\treturn (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.dealloc)(parse('', null, null, null, [''], value = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.alloc)(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nfunction parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.next)()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(characters, length - 1) == 58) {\n\t\t\t\t\tif ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.indexof)(characters += (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.delimit)(character), '&', '&\\f'), '&\\f', (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.abs)(index ? points[index - 1] : 0)) != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.delimit)(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.whitespace)(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.escaping)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.caret)() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch ((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.peek)()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\t;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(comment((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.commenter)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.next)(), (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.caret)()), root, parent, declarations), declarations)\n\t\t\t\t\t\tif (((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.token)(previous || 1) == 5 || (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.token)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.peek)() || 1) == 5) && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(characters, -1, void 0) !== ' ') characters += ' '\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) - length || (variable === 0 && previous === 47)))\n\t\t\t\t\t\t\t(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\t;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tswitch (atrule) {\n\t\t\t\t\t\t\t\t\t// c(ontainer)\n\t\t\t\t\t\t\t\t\tcase 99:\n\t\t\t\t\t\t\t\t\t\tif ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(characters, 3) === 110) break\n\t\t\t\t\t\t\t\t\t// l(ayer)\n\t\t\t\t\t\t\t\t\tcase 108:\n\t\t\t\t\t\t\t\t\t\tif ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(characters, 2) === 97) break\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\toffset = 0\n\t\t\t\t\t\t\t\t\t// d(ocument) m(edia) s(upports)\n\t\t\t\t\t\t\t\t\tcase 100: case 109: case 115:\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (offset) parse(value, reference, reference, rule && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\telse parse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.prev)() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.from)(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif ((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.peek)() === 45)\n\t\t\t\t\t\t\tcharacters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.delimit)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.next)())\n\n\t\t\t\t\t\tatrule = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.peek)(), offset = length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(type = characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.identifier)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.caret)())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nfunction ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, post + 1, post = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.abs)(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.trim)(j > 0 ? rule[x] + ' ' + y : (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.node)(value, root, parent, offset === 0 ? _Enum_js__WEBPACK_IMPORTED_MODULE_0__.RULESET : type, props, children, length, siblings)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @param {object[]} siblings\n * @return {object}\n */\nfunction comment (value, root, parent, siblings) {\n\treturn (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.node)(value, root, parent, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.COMMENT, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.from)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.char)()), (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, 2, -2), 0, siblings)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nfunction declaration (value, root, parent, length, siblings) {\n\treturn (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.node)(value, root, parent, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.DECLARATION, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, 0, length), (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, length + 1, -1), length, siblings)\n}\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.js?\n}");
|
|
315
|
-
|
|
316
|
-
/***/ },
|
|
317
|
-
|
|
318
|
-
/***/ "./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Prefixer.js"
|
|
319
|
-
/*!*****************************************************************************!*\
|
|
320
|
-
!*** ./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Prefixer.js ***!
|
|
321
|
-
\*****************************************************************************/
|
|
322
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
323
|
-
|
|
324
|
-
"use strict";
|
|
325
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ prefix: () => (/* binding */ prefix)\n/* harmony export */ });\n/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Enum.js */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js\");\n/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.js\");\n\n\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nfunction prefix (value, length, children) {\n\tswitch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.hash)(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + value\n\t\t// mask-composite\n\t\tcase 4855:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value.replace('add', 'source-over').replace('substract', 'source-out').replace('intersect', 'source-in').replace('exclude', 'xor') + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(\\w+).+(:[^]+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'box-$1$2' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-item-' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /flex-|-self/g, '') + (!(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(value, /flex-|baseline/) ? _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'grid-row-' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-line-pack' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'box-' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, '-grow', '') + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /([^-])(transform)/g, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(zoom-|grab)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$1'), /(image-set)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(image-set\\([^]*)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+:)(flex-)?(.*)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'box-pack:$3' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-pack:$3'), /space-between/, 'justify') + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(value, /flex-|baseline/)) return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'grid-column-align' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.indexof)(value + (children = children[length].value), 'span', 0) ? value : (_Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, '-start', '') + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'grid-row-span:' + (~(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.indexof)(children, 'span', 0) ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(children, /\\d+/) : +(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(children, /\\d+/) - +(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(element.props, /grid-\\w+-start/) })) ? value : _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+)-inline(.+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(value) - 1 - length > 6)\n\t\t\t\tswitch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+:)(.+)-([^]+)/, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$2-$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.indexof)(value, 'stretch', 0) ? prefix((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (_Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + a + ':' + b + f) + (c ? (_Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 6) === 121)\n\t\t\t\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, ':', ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$2$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, ':', ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Prefixer.js?\n}");
|
|
326
|
-
|
|
327
|
-
/***/ },
|
|
328
|
-
|
|
329
|
-
/***/ "./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.js"
|
|
330
|
-
/*!*******************************************************************************!*\
|
|
331
|
-
!*** ./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.js ***!
|
|
332
|
-
\*******************************************************************************/
|
|
333
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
334
|
-
|
|
335
|
-
"use strict";
|
|
336
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ serialize: () => (/* binding */ serialize),\n/* harmony export */ stringify: () => (/* binding */ stringify)\n/* harmony export */ });\n/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Enum.js */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js\");\n/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.js\");\n\n\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nfunction serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nfunction stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase _Enum_js__WEBPACK_IMPORTED_MODULE_0__.LAYER: if (element.children.length) break\n\t\tcase _Enum_js__WEBPACK_IMPORTED_MODULE_0__.IMPORT: case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.NAMESPACE: case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.DECLARATION: return element.return = element.return || element.value\n\t\tcase _Enum_js__WEBPACK_IMPORTED_MODULE_0__.COMMENT: return ''\n\t\tcase _Enum_js__WEBPACK_IMPORTED_MODULE_0__.KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase _Enum_js__WEBPACK_IMPORTED_MODULE_0__.RULESET: if (!(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.js?\n}");
|
|
337
|
-
|
|
338
|
-
/***/ },
|
|
339
|
-
|
|
340
|
-
/***/ "./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.js"
|
|
341
|
-
/*!******************************************************************************!*\
|
|
342
|
-
!*** ./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.js ***!
|
|
343
|
-
\******************************************************************************/
|
|
344
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
345
|
-
|
|
346
|
-
"use strict";
|
|
347
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ alloc: () => (/* binding */ alloc),\n/* harmony export */ caret: () => (/* binding */ caret),\n/* harmony export */ char: () => (/* binding */ char),\n/* harmony export */ character: () => (/* binding */ character),\n/* harmony export */ characters: () => (/* binding */ characters),\n/* harmony export */ column: () => (/* binding */ column),\n/* harmony export */ commenter: () => (/* binding */ commenter),\n/* harmony export */ copy: () => (/* binding */ copy),\n/* harmony export */ dealloc: () => (/* binding */ dealloc),\n/* harmony export */ delimit: () => (/* binding */ delimit),\n/* harmony export */ delimiter: () => (/* binding */ delimiter),\n/* harmony export */ escaping: () => (/* binding */ escaping),\n/* harmony export */ identifier: () => (/* binding */ identifier),\n/* harmony export */ length: () => (/* binding */ length),\n/* harmony export */ lift: () => (/* binding */ lift),\n/* harmony export */ line: () => (/* binding */ line),\n/* harmony export */ next: () => (/* binding */ next),\n/* harmony export */ node: () => (/* binding */ node),\n/* harmony export */ peek: () => (/* binding */ peek),\n/* harmony export */ position: () => (/* binding */ position),\n/* harmony export */ prev: () => (/* binding */ prev),\n/* harmony export */ slice: () => (/* binding */ slice),\n/* harmony export */ token: () => (/* binding */ token),\n/* harmony export */ tokenize: () => (/* binding */ tokenize),\n/* harmony export */ tokenizer: () => (/* binding */ tokenizer),\n/* harmony export */ whitespace: () => (/* binding */ whitespace)\n/* harmony export */ });\n/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utility.js */ \"./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.js\");\n\n\nvar line = 1\nvar column = 1\nvar length = 0\nvar position = 0\nvar character = 0\nvar characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {object[]} siblings\n * @param {number} length\n */\nfunction node (value, root, parent, type, props, children, length, siblings) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nfunction copy (root, props) {\n\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.assign)(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)\n}\n\n/**\n * @param {object} root\n */\nfunction lift (root) {\n\twhile (root.root)\n\t\troot = copy(root.root, {children: [root]})\n\n\t;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)(root, root.siblings)\n}\n\n/**\n * @return {number}\n */\nfunction char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nfunction prev () {\n\tcharacter = position > 0 ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nfunction next () {\n\tcharacter = position < length ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nfunction peek () {\n\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, position)\n}\n\n/**\n * @return {number}\n */\nfunction caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nfunction slice (begin, end) {\n\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.substr)(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nfunction token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nfunction alloc (value) {\n\treturn line = column = 1, length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.strlen)(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nfunction dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nfunction delimit (type) {\n\treturn (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.trim)(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nfunction tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nfunction whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nfunction tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.from)(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nfunction escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nfunction delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nfunction commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.from)(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nfunction identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.js?\n}");
|
|
348
|
-
|
|
349
|
-
/***/ },
|
|
350
|
-
|
|
351
|
-
/***/ "./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.js"
|
|
352
|
-
/*!****************************************************************************!*\
|
|
353
|
-
!*** ./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.js ***!
|
|
354
|
-
\****************************************************************************/
|
|
355
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
356
|
-
|
|
357
|
-
"use strict";
|
|
358
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ abs: () => (/* binding */ abs),\n/* harmony export */ append: () => (/* binding */ append),\n/* harmony export */ assign: () => (/* binding */ assign),\n/* harmony export */ charat: () => (/* binding */ charat),\n/* harmony export */ combine: () => (/* binding */ combine),\n/* harmony export */ filter: () => (/* binding */ filter),\n/* harmony export */ from: () => (/* binding */ from),\n/* harmony export */ hash: () => (/* binding */ hash),\n/* harmony export */ indexof: () => (/* binding */ indexof),\n/* harmony export */ match: () => (/* binding */ match),\n/* harmony export */ replace: () => (/* binding */ replace),\n/* harmony export */ sizeof: () => (/* binding */ sizeof),\n/* harmony export */ strlen: () => (/* binding */ strlen),\n/* harmony export */ substr: () => (/* binding */ substr),\n/* harmony export */ trim: () => (/* binding */ trim)\n/* harmony export */ });\n/**\n * @param {number}\n * @return {number}\n */\nvar abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nvar from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nvar assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nfunction hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nfunction trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nfunction match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nfunction replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nfunction indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nfunction charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nfunction substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nfunction strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nfunction sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nfunction append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nfunction combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nfunction filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n\n\n//# sourceURL=webpack://kotii-markdown-render/./node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.js?\n}");
|
|
359
|
-
|
|
360
131
|
/***/ }
|
|
361
132
|
|
|
362
133
|
/******/ });
|
|
@@ -447,11 +218,6 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
|
|
|
447
218
|
/******/ };
|
|
448
219
|
/******/ })();
|
|
449
220
|
/******/
|
|
450
|
-
/******/ /* webpack/runtime/nonce */
|
|
451
|
-
/******/ (() => {
|
|
452
|
-
/******/ __webpack_require__.nc = undefined;
|
|
453
|
-
/******/ })();
|
|
454
|
-
/******/
|
|
455
221
|
/************************************************************************/
|
|
456
222
|
/******/
|
|
457
223
|
/******/ // startup
|