creactive 0.0.78 → 0.0.80
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/build/classic.js +24 -1733
- package/build/classic.js.LICENSE.txt +0 -15
- package/build/components/view/constants/flex.d.ts +58 -0
- package/build/components/view/constants/index.d.ts +3 -1
- package/build/components/view/constants/spacing.d.ts +144 -0
- package/build/components/view/constants/tag.d.ts +25 -5
- package/build/components/view/view.types.d.ts +103 -1
- package/build/constants/index.d.ts +1 -1
- package/build/constants/theme/index.d.ts +1 -0
- package/build/constants/theme/spacing.d.ts +16 -0
- package/build/contexts/theme/theme.types.d.ts +60 -0
- package/build/default.js +2 -530
- package/build/default.js.LICENSE.txt +0 -15
- package/build/hooks/use-theme-style-sheet.d.ts +288 -0
- package/build/index.d.ts +0 -2
- package/package.json +3 -5
- package/build/contexts/theme/wrapper.d.ts +0 -2
- package/build/helpers/index.d.ts +0 -3
- package/build/helpers/storybook/constants/control.d.ts +0 -22
- package/build/helpers/storybook/constants/index.d.ts +0 -1
- package/build/helpers/storybook/control.d.ts +0 -87
- package/build/helpers/storybook/index.d.ts +0 -1
- package/build/helpers/style/index.d.ts +0 -2
- package/build/helpers/style/style.d.ts +0 -2
- package/build/helpers/style/style.types.d.ts +0 -10
package/build/default.js
CHANGED
|
@@ -1,530 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
3
|
-
* This devtool is neither made for production nor for readable output files.
|
|
4
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
5
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
6
|
-
* or disable the default devtool with "devtool: false".
|
|
7
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
8
|
-
*/
|
|
9
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
|
-
if(typeof exports === 'object' && typeof module === 'object')
|
|
11
|
-
module.exports = factory(require("react"), require("react-native"), require("@emotion/styled"));
|
|
12
|
-
else if(typeof define === 'function' && define.amd)
|
|
13
|
-
define("creactive", ["react", "react-native", "@emotion/styled"], factory);
|
|
14
|
-
else if(typeof exports === 'object')
|
|
15
|
-
exports["creactive"] = factory(require("react"), require("react-native"), require("@emotion/styled"));
|
|
16
|
-
else
|
|
17
|
-
root["creactive"] = factory(root["react"], root["react-native"], root["@emotion/styled"]);
|
|
18
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_react_native__, __WEBPACK_EXTERNAL_MODULE__emotion_styled__) => {
|
|
19
|
-
return /******/ (() => { // webpackBootstrap
|
|
20
|
-
/******/ "use strict";
|
|
21
|
-
/******/ var __webpack_modules__ = ({
|
|
22
|
-
|
|
23
|
-
/***/ "./source/components/text/constants/color.ts":
|
|
24
|
-
/*!***************************************************!*\
|
|
25
|
-
!*** ./source/components/text/constants/color.ts ***!
|
|
26
|
-
\***************************************************/
|
|
27
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28
|
-
|
|
29
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TextColor: () => (/* binding */ TextColor)\n/* harmony export */ });\n/**\n * Supported text color constants.\n * Part of theme colors, suitable for text coloring.\n * Some extra constants like transparent for example are also included.\n */\nvar TextColor = /*#__PURE__*/function (TextColor) {\n TextColor[TextColor[\"TRANSPARENT\"] = 0] = \"TRANSPARENT\";\n TextColor[TextColor[\"BASE_100\"] = 1] = \"BASE_100\";\n TextColor[TextColor[\"BASE_200\"] = 2] = \"BASE_200\";\n TextColor[TextColor[\"BASE_300\"] = 3] = \"BASE_300\";\n TextColor[TextColor[\"BASE_400\"] = 4] = \"BASE_400\";\n TextColor[TextColor[\"BASE_500\"] = 5] = \"BASE_500\";\n TextColor[TextColor[\"BASE_600\"] = 6] = \"BASE_600\";\n TextColor[TextColor[\"BASE_700\"] = 7] = \"BASE_700\";\n TextColor[TextColor[\"BASE_800\"] = 8] = \"BASE_800\";\n TextColor[TextColor[\"BASE_900\"] = 9] = \"BASE_900\";\n TextColor[TextColor[\"INVERSE_100\"] = 10] = \"INVERSE_100\";\n TextColor[TextColor[\"INVERSE_200\"] = 11] = \"INVERSE_200\";\n TextColor[TextColor[\"INVERSE_300\"] = 12] = \"INVERSE_300\";\n TextColor[TextColor[\"INVERSE_400\"] = 13] = \"INVERSE_400\";\n TextColor[TextColor[\"INVERSE_500\"] = 14] = \"INVERSE_500\";\n TextColor[TextColor[\"INVERSE_600\"] = 15] = \"INVERSE_600\";\n TextColor[TextColor[\"INVERSE_700\"] = 16] = \"INVERSE_700\";\n TextColor[TextColor[\"INVERSE_800\"] = 17] = \"INVERSE_800\";\n TextColor[TextColor[\"INVERSE_900\"] = 18] = \"INVERSE_900\";\n return TextColor;\n}({});\n\n//# sourceURL=webpack://creactive/./source/components/text/constants/color.ts?");
|
|
30
|
-
|
|
31
|
-
/***/ }),
|
|
32
|
-
|
|
33
|
-
/***/ "./source/components/text/constants/font.ts":
|
|
34
|
-
/*!**************************************************!*\
|
|
35
|
-
!*** ./source/components/text/constants/font.ts ***!
|
|
36
|
-
\**************************************************/
|
|
37
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
38
|
-
|
|
39
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TextFontSize: () => (/* binding */ TextFontSize),\n/* harmony export */ TextFontWeight: () => (/* binding */ TextFontWeight)\n/* harmony export */ });\n/**\n * Supported by text component font weights enum.\n * Should be used to control the weight of the text.\n */\nvar TextFontWeight = /*#__PURE__*/function (TextFontWeight) {\n TextFontWeight[TextFontWeight[\"THIN\"] = 0] = \"THIN\";\n TextFontWeight[TextFontWeight[\"EXTRA_LIGHT\"] = 1] = \"EXTRA_LIGHT\";\n TextFontWeight[TextFontWeight[\"LIGHT\"] = 2] = \"LIGHT\";\n TextFontWeight[TextFontWeight[\"REGULAR\"] = 3] = \"REGULAR\";\n TextFontWeight[TextFontWeight[\"MEDIUM\"] = 4] = \"MEDIUM\";\n TextFontWeight[TextFontWeight[\"SEMIBOLD\"] = 5] = \"SEMIBOLD\";\n TextFontWeight[TextFontWeight[\"BOLD\"] = 6] = \"BOLD\";\n TextFontWeight[TextFontWeight[\"EXTRA_BOLD\"] = 7] = \"EXTRA_BOLD\";\n TextFontWeight[TextFontWeight[\"BLACK\"] = 8] = \"BLACK\";\n return TextFontWeight;\n}({});\n\n/**\n * Supported text font sizes enum.\n * Should be used to control the size of the text.\n */\nvar TextFontSize = /*#__PURE__*/function (TextFontSize) {\n TextFontSize[TextFontSize[\"X2S\"] = 0] = \"X2S\";\n TextFontSize[TextFontSize[\"XS\"] = 1] = \"XS\";\n TextFontSize[TextFontSize[\"SM\"] = 2] = \"SM\";\n TextFontSize[TextFontSize[\"MD\"] = 3] = \"MD\";\n TextFontSize[TextFontSize[\"LG\"] = 4] = \"LG\";\n TextFontSize[TextFontSize[\"XL\"] = 5] = \"XL\";\n TextFontSize[TextFontSize[\"X2L\"] = 6] = \"X2L\";\n TextFontSize[TextFontSize[\"X3L\"] = 7] = \"X3L\";\n TextFontSize[TextFontSize[\"X4L\"] = 8] = \"X4L\";\n TextFontSize[TextFontSize[\"X5L\"] = 9] = \"X5L\";\n return TextFontSize;\n}({});\n\n//# sourceURL=webpack://creactive/./source/components/text/constants/font.ts?");
|
|
40
|
-
|
|
41
|
-
/***/ }),
|
|
42
|
-
|
|
43
|
-
/***/ "./source/components/text/constants/index.ts":
|
|
44
|
-
/*!***************************************************!*\
|
|
45
|
-
!*** ./source/components/text/constants/index.ts ***!
|
|
46
|
-
\***************************************************/
|
|
47
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
48
|
-
|
|
49
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TEXT_TYPE_HEADING: () => (/* reexport safe */ _type__WEBPACK_IMPORTED_MODULE_4__.TEXT_TYPE_HEADING),\n/* harmony export */ TextAlign: () => (/* reexport safe */ _text__WEBPACK_IMPORTED_MODULE_3__.TextAlign),\n/* harmony export */ TextColor: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.TextColor),\n/* harmony export */ TextFontSize: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.TextFontSize),\n/* harmony export */ TextFontWeight: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.TextFontWeight),\n/* harmony export */ TextLineHeight: () => (/* reexport safe */ _text__WEBPACK_IMPORTED_MODULE_3__.TextLineHeight),\n/* harmony export */ TextRole: () => (/* reexport safe */ _role__WEBPACK_IMPORTED_MODULE_2__.TextRole),\n/* harmony export */ TextType: () => (/* reexport safe */ _type__WEBPACK_IMPORTED_MODULE_4__.TextType)\n/* harmony export */ });\n/* harmony import */ var _color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./color */ \"./source/components/text/constants/color.ts\");\n/* harmony import */ var _font__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./font */ \"./source/components/text/constants/font.ts\");\n/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./role */ \"./source/components/text/constants/role.ts\");\n/* harmony import */ var _text__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./text */ \"./source/components/text/constants/text.ts\");\n/* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./type */ \"./source/components/text/constants/type.ts\");\n\n\n\n\n\n\n//# sourceURL=webpack://creactive/./source/components/text/constants/index.ts?");
|
|
50
|
-
|
|
51
|
-
/***/ }),
|
|
52
|
-
|
|
53
|
-
/***/ "./source/components/text/constants/role.ts":
|
|
54
|
-
/*!**************************************************!*\
|
|
55
|
-
!*** ./source/components/text/constants/role.ts ***!
|
|
56
|
-
\**************************************************/
|
|
57
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
58
|
-
|
|
59
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TextRole: () => (/* binding */ TextRole)\n/* harmony export */ });\n/**\n * Text role enum (for inner usage).\n * A part of react-native role type, used by text.\n */\nvar TextRole = /*#__PURE__*/function (TextRole) {\n TextRole[\"HEADING\"] = \"heading\";\n /**\n * There is no paragraph role in react-native types.\n * But thats how we render text to paragraph tag in react-native-web.\n */\n TextRole[\"PARAGRAPH\"] = \"paragraph\";\n return TextRole;\n}({});\n\n//# sourceURL=webpack://creactive/./source/components/text/constants/role.ts?");
|
|
60
|
-
|
|
61
|
-
/***/ }),
|
|
62
|
-
|
|
63
|
-
/***/ "./source/components/text/constants/text.ts":
|
|
64
|
-
/*!**************************************************!*\
|
|
65
|
-
!*** ./source/components/text/constants/text.ts ***!
|
|
66
|
-
\**************************************************/
|
|
67
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
68
|
-
|
|
69
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TextAlign: () => (/* binding */ TextAlign),\n/* harmony export */ TextLineHeight: () => (/* binding */ TextLineHeight)\n/* harmony export */ });\n/**\n * Text align enum supported by compoent.\n * Allows to control text alignment if required.\n */\nvar TextAlign = /*#__PURE__*/function (TextAlign) {\n TextAlign[TextAlign[\"LEFT\"] = 0] = \"LEFT\";\n TextAlign[TextAlign[\"CENTER\"] = 1] = \"CENTER\";\n TextAlign[TextAlign[\"RIGHT\"] = 2] = \"RIGHT\";\n return TextAlign;\n}({});\n\n/**\n * Available text line height enum.\n * Should be used to control the line height of the text.\n */\nvar TextLineHeight = /*#__PURE__*/function (TextLineHeight) {\n TextLineHeight[TextLineHeight[\"NONE\"] = 0] = \"NONE\";\n TextLineHeight[TextLineHeight[\"TIGHT\"] = 1] = \"TIGHT\";\n TextLineHeight[TextLineHeight[\"SNUG\"] = 2] = \"SNUG\";\n TextLineHeight[TextLineHeight[\"NORMAL\"] = 3] = \"NORMAL\";\n TextLineHeight[TextLineHeight[\"RELAXED\"] = 4] = \"RELAXED\";\n TextLineHeight[TextLineHeight[\"LOOSE\"] = 5] = \"LOOSE\";\n return TextLineHeight;\n}({});\n\n//# sourceURL=webpack://creactive/./source/components/text/constants/text.ts?");
|
|
70
|
-
|
|
71
|
-
/***/ }),
|
|
72
|
-
|
|
73
|
-
/***/ "./source/components/text/constants/type.ts":
|
|
74
|
-
/*!**************************************************!*\
|
|
75
|
-
!*** ./source/components/text/constants/type.ts ***!
|
|
76
|
-
\**************************************************/
|
|
77
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
78
|
-
|
|
79
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TEXT_TYPE_HEADING: () => (/* binding */ TEXT_TYPE_HEADING),\n/* harmony export */ TextType: () => (/* binding */ TextType)\n/* harmony export */ });\n/**\n * Supported specific text types enum.\n * Responsible for text appearance, accessibility and semantics.\n */\nvar TextType = /*#__PURE__*/function (TextType) {\n TextType[TextType[\"H1\"] = 0] = \"H1\";\n TextType[TextType[\"H2\"] = 1] = \"H2\";\n TextType[TextType[\"H3\"] = 2] = \"H3\";\n TextType[TextType[\"H4\"] = 3] = \"H4\";\n TextType[TextType[\"H5\"] = 4] = \"H5\";\n TextType[TextType[\"H6\"] = 5] = \"H6\";\n TextType[TextType[\"P\"] = 6] = \"P\";\n return TextType;\n}({});\n\n/**\n * Types, that are considered as heading types.\n * We convert them into heading text role.\n * This types comes with aria-level attribute.\n */\nvar TEXT_TYPE_HEADING = [TextType.H1, TextType.H2, TextType.H3, TextType.H4, TextType.H5, TextType.H6];\n\n//# sourceURL=webpack://creactive/./source/components/text/constants/type.ts?");
|
|
80
|
-
|
|
81
|
-
/***/ }),
|
|
82
|
-
|
|
83
|
-
/***/ "./source/components/text/index.ts":
|
|
84
|
-
/*!*****************************************!*\
|
|
85
|
-
!*** ./source/components/text/index.ts ***!
|
|
86
|
-
\*****************************************/
|
|
87
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
88
|
-
|
|
89
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Text: () => (/* reexport safe */ _text__WEBPACK_IMPORTED_MODULE_0__.Text)\n/* harmony export */ });\n/* harmony import */ var _text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./text */ \"./source/components/text/text.tsx\");\n\n\n//# sourceURL=webpack://creactive/./source/components/text/index.ts?");
|
|
90
|
-
|
|
91
|
-
/***/ }),
|
|
92
|
-
|
|
93
|
-
/***/ "./source/components/text/text.tsx":
|
|
94
|
-
/*!*****************************************!*\
|
|
95
|
-
!*** ./source/components/text/text.tsx ***!
|
|
96
|
-
\*****************************************/
|
|
97
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
98
|
-
|
|
99
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Text: () => (/* binding */ Text)\n/* harmony export */ });\n/* harmony import */ var _contexts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/contexts */ \"./source/contexts/index.ts\");\n/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/hooks */ \"./source/hooks/index.ts\");\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 react_native__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-native */ \"react-native\");\n/* harmony import */ var react_native__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_native__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./constants */ \"./source/components/text/constants/index.ts\");\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ \"./node_modules/react/jsx-runtime.js\");\n\n\n\n\n\n\nvar textStyleSheet = react_native__WEBPACK_IMPORTED_MODULE_3__.StyleSheet.create({\n // To override default position style.\n // Better match with web default behavior.\n textPositionStatic: {\n position: 'static'\n },\n textAlignLeft: {\n textAlign: 'left'\n },\n textAlignCenter: {\n textAlign: 'center'\n },\n textAlignRight: {\n textAlign: 'right'\n },\n textColorTransparent: {\n // Is a shortcut for rgba(0,0,0,0) in React Native, same like in CSS3.\n // We don't use this style when animating, so it is won't be a problem.\n color: 'transparent'\n }\n});\nvar lineHeightStyleSheetCache = new Map();\nvar getLineHeightStyleSheet = function getLineHeightStyleSheet(fontSize, lineHeight) {\n var cacheKey = [fontSize, lineHeight].join('-');\n if (lineHeightStyleSheetCache.has(cacheKey)) {\n return lineHeightStyleSheetCache.get(cacheKey);\n }\n var lineHeightStyleSheet = react_native__WEBPACK_IMPORTED_MODULE_3__.StyleSheet.create({\n textLineHeight: {\n lineHeight: fontSize * lineHeight\n }\n });\n lineHeightStyleSheetCache.set(cacheKey, lineHeightStyleSheet);\n return lineHeightStyleSheet;\n};\nvar Text = function Text(_ref) {\n var type = _ref.type,\n _ref$align = _ref.align,\n align = _ref$align === void 0 ? _constants__WEBPACK_IMPORTED_MODULE_4__.TextAlign.LEFT : _ref$align,\n _ref$fontWeight = _ref.fontWeight,\n fontWeight = _ref$fontWeight === void 0 ? _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontWeight.REGULAR : _ref$fontWeight,\n _ref$fontSize = _ref.fontSize,\n fontSize = _ref$fontSize === void 0 ? _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.MD : _ref$fontSize,\n _ref$lineHeight = _ref.lineHeight,\n lineHeight = _ref$lineHeight === void 0 ? _constants__WEBPACK_IMPORTED_MODULE_4__.TextLineHeight.NONE : _ref$lineHeight,\n maxLines = _ref.maxLines,\n _ref$color = _ref.color,\n color = _ref$color === void 0 ? _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.BASE_800 : _ref$color,\n children = _ref.children;\n var themeContext = (0,_contexts__WEBPACK_IMPORTED_MODULE_0__.useThemeContext)();\n var themeStyleSheet = (0,_hooks__WEBPACK_IMPORTED_MODULE_1__.useThemeStyleSheet)();\n var getRole = function getRole() {\n // Casting paragraph role type because it is supported by react-native-web.\n // As a result - text would be rendered to paragraph tag...\n if (_constants__WEBPACK_IMPORTED_MODULE_4__.TextType.P === type) return _constants__WEBPACK_IMPORTED_MODULE_4__.TextRole.PARAGRAPH;\n if (_constants__WEBPACK_IMPORTED_MODULE_4__.TEXT_TYPE_HEADING.includes(type)) return _constants__WEBPACK_IMPORTED_MODULE_4__.TextRole.HEADING;\n };\n var getAriaLevel = function getAriaLevel() {\n if (_constants__WEBPACK_IMPORTED_MODULE_4__.TEXT_TYPE_HEADING.includes(type)) {\n if (type === _constants__WEBPACK_IMPORTED_MODULE_4__.TextType.H1) return 1;\n if (type === _constants__WEBPACK_IMPORTED_MODULE_4__.TextType.H2) return 2;\n if (type === _constants__WEBPACK_IMPORTED_MODULE_4__.TextType.H3) return 3;\n if (type === _constants__WEBPACK_IMPORTED_MODULE_4__.TextType.H4) return 4;\n if (type === _constants__WEBPACK_IMPORTED_MODULE_4__.TextType.H5) return 5;\n if (type === _constants__WEBPACK_IMPORTED_MODULE_4__.TextType.H6) return 6;\n }\n };\n var getAlignStyle = function getAlignStyle() {\n switch (align) {\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextAlign.LEFT:\n return textStyleSheet.textAlignLeft;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextAlign.CENTER:\n return textStyleSheet.textAlignCenter;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextAlign.RIGHT:\n return textStyleSheet.textAlignRight;\n }\n };\n var getFontWeightStyle = function getFontWeightStyle() {\n switch (fontWeight) {\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontWeight.THIN:\n return themeStyleSheet.fontWeightBaseThin;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontWeight.EXTRA_LIGHT:\n return themeStyleSheet.fontWeightBaseExtraLight;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontWeight.LIGHT:\n return themeStyleSheet.fontWeightBaseLight;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontWeight.REGULAR:\n return themeStyleSheet.fontWeightBaseRegular;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontWeight.MEDIUM:\n return themeStyleSheet.fontWeightBaseMedium;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontWeight.SEMIBOLD:\n return themeStyleSheet.fontWeightBaseSemibold;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontWeight.BOLD:\n return themeStyleSheet.fontWeightBaseBold;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontWeight.EXTRA_BOLD:\n return themeStyleSheet.fontWeightBaseExtraBold;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontWeight.BLACK:\n return themeStyleSheet.fontWeightBaseBlack;\n }\n };\n var getFontSizeStyle = function getFontSizeStyle() {\n switch (fontSize) {\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.X2S:\n return themeStyleSheet.fontSizeBaseX2S;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.XS:\n return themeStyleSheet.fontSizeBaseXS;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.SM:\n return themeStyleSheet.fontSizeBaseSM;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.MD:\n return themeStyleSheet.fontSizeBaseMD;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.LG:\n return themeStyleSheet.fontSizeBaseLG;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.XL:\n return themeStyleSheet.fontSizeBaseXL;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.X2L:\n return themeStyleSheet.fontSizeBaseX2L;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.X3L:\n return themeStyleSheet.fontSizeBaseX3L;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.X4L:\n return themeStyleSheet.fontSizeBaseX4L;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.X5L:\n return themeStyleSheet.fontSizeBaseX5L;\n }\n };\n var lineHeightStyle = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {\n var getFontSizeTokenValue = function getFontSizeTokenValue() {\n switch (fontSize) {\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.X2S:\n return themeContext.fontSizeBaseX2S;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.XS:\n return themeContext.fontSizeBaseXS;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.SM:\n return themeContext.fontSizeBaseSM;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.MD:\n return themeContext.fontSizeBaseMD;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.LG:\n return themeContext.fontSizeBaseLG;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.XL:\n return themeContext.fontSizeBaseXL;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.X2L:\n return themeContext.fontSizeBaseX2L;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.X3L:\n return themeContext.fontSizeBaseX3L;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.X4L:\n return themeContext.fontSizeBaseX4L;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize.X5L:\n return themeContext.fontSizeBaseX5L;\n }\n };\n var getLineHeightTokenValue = function getLineHeightTokenValue() {\n switch (lineHeight) {\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextLineHeight.NONE:\n return themeContext.lineHeightBaseNone;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextLineHeight.TIGHT:\n return themeContext.lineHeightBaseTight;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextLineHeight.SNUG:\n return themeContext.lineHeightBaseSnug;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextLineHeight.NORMAL:\n return themeContext.lineHeightBaseNormal;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextLineHeight.RELAXED:\n return themeContext.lineHeightBaseRelaxed;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextLineHeight.LOOSE:\n return themeContext.lineHeightBaseLoose;\n }\n };\n var lineHeightStyleSheet = getLineHeightStyleSheet(getFontSizeTokenValue(), getLineHeightTokenValue());\n return lineHeightStyleSheet.textLineHeight;\n }, [fontSize, lineHeight, themeContext]);\n var getColorStyle = function getColorStyle() {\n switch (color) {\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.TRANSPARENT:\n return textStyleSheet.textColorTransparent;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.BASE_100:\n return themeStyleSheet.colorForegroundBase100;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.BASE_200:\n return themeStyleSheet.colorForegroundBase200;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.BASE_300:\n return themeStyleSheet.colorForegroundBase300;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.BASE_400:\n return themeStyleSheet.colorForegroundBase400;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.BASE_500:\n return themeStyleSheet.colorForegroundBase500;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.BASE_600:\n return themeStyleSheet.colorForegroundBase600;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.BASE_700:\n return themeStyleSheet.colorForegroundBase700;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.BASE_800:\n return themeStyleSheet.colorForegroundBase800;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.BASE_900:\n return themeStyleSheet.colorForegroundBase900;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.INVERSE_100:\n return themeStyleSheet.colorForegroundInverse100;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.INVERSE_200:\n return themeStyleSheet.colorForegroundInverse200;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.INVERSE_300:\n return themeStyleSheet.colorForegroundInverse300;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.INVERSE_400:\n return themeStyleSheet.colorForegroundInverse400;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.INVERSE_500:\n return themeStyleSheet.colorForegroundInverse500;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.INVERSE_600:\n return themeStyleSheet.colorForegroundInverse600;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.INVERSE_700:\n return themeStyleSheet.colorForegroundInverse700;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.INVERSE_800:\n return themeStyleSheet.colorForegroundInverse800;\n case _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor.INVERSE_900:\n return themeStyleSheet.colorForegroundInverse900;\n }\n };\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(react_native__WEBPACK_IMPORTED_MODULE_3__.Text, {\n role: getRole(),\n \"aria-level\": getAriaLevel(),\n style: [textStyleSheet.textPositionStatic, themeStyleSheet.fontFamilyBase, getAlignStyle(), getFontWeightStyle(), getFontSizeStyle(), lineHeightStyle, getColorStyle()],\n numberOfLines: maxLines,\n children: children\n });\n};\nText.Type = _constants__WEBPACK_IMPORTED_MODULE_4__.TextType;\nText.Align = _constants__WEBPACK_IMPORTED_MODULE_4__.TextAlign;\nText.FontWeight = _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontWeight;\nText.FontSize = _constants__WEBPACK_IMPORTED_MODULE_4__.TextFontSize;\nText.LineHeight = _constants__WEBPACK_IMPORTED_MODULE_4__.TextLineHeight;\nText.Color = _constants__WEBPACK_IMPORTED_MODULE_4__.TextColor;\n\n//# sourceURL=webpack://creactive/./source/components/text/text.tsx?");
|
|
100
|
-
|
|
101
|
-
/***/ }),
|
|
102
|
-
|
|
103
|
-
/***/ "./source/components/view/constants/index.ts":
|
|
104
|
-
/*!***************************************************!*\
|
|
105
|
-
!*** ./source/components/view/constants/index.ts ***!
|
|
106
|
-
\***************************************************/
|
|
107
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
108
|
-
|
|
109
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HTMLTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_0__.HTMLTag),\n/* harmony export */ ViewTag: () => (/* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_0__.ViewTag)\n/* harmony export */ });\n/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./tag */ \"./source/components/view/constants/tag.ts\");\n\n\n//# sourceURL=webpack://creactive/./source/components/view/constants/index.ts?");
|
|
110
|
-
|
|
111
|
-
/***/ }),
|
|
112
|
-
|
|
113
|
-
/***/ "./source/components/view/constants/tag.ts":
|
|
114
|
-
/*!*************************************************!*\
|
|
115
|
-
!*** ./source/components/view/constants/tag.ts ***!
|
|
116
|
-
\*************************************************/
|
|
117
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
118
|
-
|
|
119
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HTMLTag: () => (/* binding */ HTMLTag),\n/* harmony export */ ViewTag: () => (/* binding */ ViewTag)\n/* harmony export */ });\nvar ViewTag = /*#__PURE__*/function (ViewTag) {\n ViewTag[ViewTag[\"DIV\"] = 0] = \"DIV\";\n ViewTag[ViewTag[\"SECTION\"] = 1] = \"SECTION\";\n return ViewTag;\n}({});\nvar HTMLTag = /*#__PURE__*/function (HTMLTag) {\n HTMLTag[\"DIV\"] = \"div\";\n HTMLTag[\"SECTION\"] = \"section\";\n return HTMLTag;\n}({});\n\n//# sourceURL=webpack://creactive/./source/components/view/constants/tag.ts?");
|
|
120
|
-
|
|
121
|
-
/***/ }),
|
|
122
|
-
|
|
123
|
-
/***/ "./source/components/view/index.ts":
|
|
124
|
-
/*!*****************************************!*\
|
|
125
|
-
!*** ./source/components/view/index.ts ***!
|
|
126
|
-
\*****************************************/
|
|
127
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
128
|
-
|
|
129
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ View: () => (/* reexport safe */ _view__WEBPACK_IMPORTED_MODULE_0__.View)\n/* harmony export */ });\n/* harmony import */ var _view__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./view */ \"./source/components/view/view.ts\");\n\n\n//# sourceURL=webpack://creactive/./source/components/view/index.ts?");
|
|
130
|
-
|
|
131
|
-
/***/ }),
|
|
132
|
-
|
|
133
|
-
/***/ "./source/components/view/view.native.tsx":
|
|
134
|
-
/*!************************************************!*\
|
|
135
|
-
!*** ./source/components/view/view.native.tsx ***!
|
|
136
|
-
\************************************************/
|
|
137
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
138
|
-
|
|
139
|
-
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_native__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-native */ \"react-native\");\n/* harmony import */ var react_native__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_native__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ \"./source/components/view/constants/index.ts\");\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ \"./node_modules/react/jsx-runtime.js\");\n\n\n\nvar viewStyleSheet = react_native__WEBPACK_IMPORTED_MODULE_0__.StyleSheet.create({\n viewDisplayFlex: {\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n alignItems: 'center'\n }\n});\nvar View = function View(_ref) {\n var children = _ref.children;\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(react_native__WEBPACK_IMPORTED_MODULE_0__.View, {\n style: viewStyleSheet.viewDisplayFlex,\n children: children\n });\n};\nView.Tag = _constants__WEBPACK_IMPORTED_MODULE_1__.ViewTag;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (View);\n\n//# sourceURL=webpack://creactive/./source/components/view/view.native.tsx?");
|
|
140
|
-
|
|
141
|
-
/***/ }),
|
|
142
|
-
|
|
143
|
-
/***/ "./source/components/view/view.ts":
|
|
144
|
-
/*!****************************************!*\
|
|
145
|
-
!*** ./source/components/view/view.ts ***!
|
|
146
|
-
\****************************************/
|
|
147
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
148
|
-
|
|
149
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ View: () => (/* binding */ View)\n/* harmony export */ });\n/* harmony import */ var react_native__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-native */ \"react-native\");\n/* harmony import */ var react_native__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_native__WEBPACK_IMPORTED_MODULE_0__);\n\nvar View = react_native__WEBPACK_IMPORTED_MODULE_0__.Platform.select({\n \"native\": function native() {\n return (__webpack_require__(/*! ./view.native */ \"./source/components/view/view.native.tsx\")[\"default\"]);\n },\n web: function web() {\n return (__webpack_require__(/*! ./view.web */ \"./source/components/view/view.web.tsx\")[\"default\"]);\n }\n})();\n\n//# sourceURL=webpack://creactive/./source/components/view/view.ts?");
|
|
150
|
-
|
|
151
|
-
/***/ }),
|
|
152
|
-
|
|
153
|
-
/***/ "./source/components/view/view.web.tsx":
|
|
154
|
-
/*!*********************************************!*\
|
|
155
|
-
!*** ./source/components/view/view.web.tsx ***!
|
|
156
|
-
\*********************************************/
|
|
157
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
158
|
-
|
|
159
|
-
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 _emotion_styled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/styled */ \"@emotion/styled\");\n/* harmony import */ var _emotion_styled__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_emotion_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/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./source/components/view/constants/index.ts\");\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ \"./node_modules/react/jsx-runtime.js\");\nvar _templateObject;\nfunction _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }\n\n\n\n\nvar StyledView = _emotion_styled__WEBPACK_IMPORTED_MODULE_0___default().div(_templateObject || (_templateObject = _taggedTemplateLiteral([\"\\n display: flex;\\n\"])));\nvar View = function View(_ref) {\n var _ref$tag = _ref.tag,\n tag = _ref$tag === void 0 ? _constants__WEBPACK_IMPORTED_MODULE_2__.ViewTag.DIV : _ref$tag,\n children = _ref.children;\n var as = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {\n switch (tag) {\n case _constants__WEBPACK_IMPORTED_MODULE_2__.ViewTag.SECTION:\n return _constants__WEBPACK_IMPORTED_MODULE_2__.HTMLTag.SECTION;\n case _constants__WEBPACK_IMPORTED_MODULE_2__.ViewTag.DIV:\n return _constants__WEBPACK_IMPORTED_MODULE_2__.HTMLTag.DIV;\n }\n }, [tag]);\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(StyledView, {\n as: as,\n children: children\n });\n};\nView.Tag = _constants__WEBPACK_IMPORTED_MODULE_2__.ViewTag;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (View);\n\n//# sourceURL=webpack://creactive/./source/components/view/view.web.tsx?");
|
|
160
|
-
|
|
161
|
-
/***/ }),
|
|
162
|
-
|
|
163
|
-
/***/ "./source/constants/index.ts":
|
|
164
|
-
/*!***********************************!*\
|
|
165
|
-
!*** ./source/constants/index.ts ***!
|
|
166
|
-
\***********************************/
|
|
167
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
168
|
-
|
|
169
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ COLOR_FOREGROUND_BASE_100: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_100),\n/* harmony export */ COLOR_FOREGROUND_BASE_200: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_200),\n/* harmony export */ COLOR_FOREGROUND_BASE_300: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_300),\n/* harmony export */ COLOR_FOREGROUND_BASE_400: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_400),\n/* harmony export */ COLOR_FOREGROUND_BASE_500: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_500),\n/* harmony export */ COLOR_FOREGROUND_BASE_600: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_600),\n/* harmony export */ COLOR_FOREGROUND_BASE_700: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_700),\n/* harmony export */ COLOR_FOREGROUND_BASE_800: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_800),\n/* harmony export */ COLOR_FOREGROUND_BASE_900: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_900),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_100: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_100),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_200: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_200),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_300: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_300),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_400: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_400),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_500: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_500),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_600: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_600),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_700: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_700),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_800: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_800),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_900: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_900),\n/* harmony export */ FONT_FAMILY_BASE: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_FAMILY_BASE),\n/* harmony export */ FONT_SIZE_BASE_LG: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_LG),\n/* harmony export */ FONT_SIZE_BASE_MD: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_MD),\n/* harmony export */ FONT_SIZE_BASE_SM: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_SM),\n/* harmony export */ FONT_SIZE_BASE_X2L: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2L),\n/* harmony export */ FONT_SIZE_BASE_X2S: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2S),\n/* harmony export */ FONT_SIZE_BASE_X3L: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X3L),\n/* harmony export */ FONT_SIZE_BASE_X4L: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X4L),\n/* harmony export */ FONT_SIZE_BASE_X5L: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X5L),\n/* harmony export */ FONT_SIZE_BASE_XL: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XL),\n/* harmony export */ FONT_SIZE_BASE_XS: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XS),\n/* harmony export */ FONT_WEIGHT_BASE_BLACK: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BLACK),\n/* harmony export */ FONT_WEIGHT_BASE_BOLD: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BOLD),\n/* harmony export */ FONT_WEIGHT_BASE_EXTRABOLD: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRABOLD),\n/* harmony export */ FONT_WEIGHT_BASE_EXTRALIGHT: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRALIGHT),\n/* harmony export */ FONT_WEIGHT_BASE_LIGHT: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_LIGHT),\n/* harmony export */ FONT_WEIGHT_BASE_MEDIUM: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_MEDIUM),\n/* harmony export */ FONT_WEIGHT_BASE_REGULAR: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_REGULAR),\n/* harmony export */ FONT_WEIGHT_BASE_SEMIBOLD: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_SEMIBOLD),\n/* harmony export */ FONT_WEIGHT_BASE_THIN: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_THIN),\n/* harmony export */ LINE_HEIGHT_BASE_LOOSE: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_LOOSE),\n/* harmony export */ LINE_HEIGHT_BASE_NONE: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NONE),\n/* harmony export */ LINE_HEIGHT_BASE_NORMAL: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NORMAL),\n/* harmony export */ LINE_HEIGHT_BASE_RELAXED: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_RELAXED),\n/* harmony export */ LINE_HEIGHT_BASE_SNUG: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_SNUG),\n/* harmony export */ LINE_HEIGHT_BASE_TIGHT: () => (/* reexport safe */ _constants_theme__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_TIGHT)\n/* harmony export */ });\n/* harmony import */ var _constants_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/constants/theme */ \"./source/constants/theme/index.ts\");\n\n\n//# sourceURL=webpack://creactive/./source/constants/index.ts?");
|
|
170
|
-
|
|
171
|
-
/***/ }),
|
|
172
|
-
|
|
173
|
-
/***/ "./source/constants/theme/color.ts":
|
|
174
|
-
/*!*****************************************!*\
|
|
175
|
-
!*** ./source/constants/theme/color.ts ***!
|
|
176
|
-
\*****************************************/
|
|
177
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
178
|
-
|
|
179
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ COLOR_FOREGROUND_BASE_100: () => (/* binding */ COLOR_FOREGROUND_BASE_100),\n/* harmony export */ COLOR_FOREGROUND_BASE_200: () => (/* binding */ COLOR_FOREGROUND_BASE_200),\n/* harmony export */ COLOR_FOREGROUND_BASE_300: () => (/* binding */ COLOR_FOREGROUND_BASE_300),\n/* harmony export */ COLOR_FOREGROUND_BASE_400: () => (/* binding */ COLOR_FOREGROUND_BASE_400),\n/* harmony export */ COLOR_FOREGROUND_BASE_500: () => (/* binding */ COLOR_FOREGROUND_BASE_500),\n/* harmony export */ COLOR_FOREGROUND_BASE_600: () => (/* binding */ COLOR_FOREGROUND_BASE_600),\n/* harmony export */ COLOR_FOREGROUND_BASE_700: () => (/* binding */ COLOR_FOREGROUND_BASE_700),\n/* harmony export */ COLOR_FOREGROUND_BASE_800: () => (/* binding */ COLOR_FOREGROUND_BASE_800),\n/* harmony export */ COLOR_FOREGROUND_BASE_900: () => (/* binding */ COLOR_FOREGROUND_BASE_900),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_100: () => (/* binding */ COLOR_FOREGROUND_INVERSE_100),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_200: () => (/* binding */ COLOR_FOREGROUND_INVERSE_200),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_300: () => (/* binding */ COLOR_FOREGROUND_INVERSE_300),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_400: () => (/* binding */ COLOR_FOREGROUND_INVERSE_400),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_500: () => (/* binding */ COLOR_FOREGROUND_INVERSE_500),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_600: () => (/* binding */ COLOR_FOREGROUND_INVERSE_600),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_700: () => (/* binding */ COLOR_FOREGROUND_INVERSE_700),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_800: () => (/* binding */ COLOR_FOREGROUND_INVERSE_800),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_900: () => (/* binding */ COLOR_FOREGROUND_INVERSE_900)\n/* harmony export */ });\n/**\n * Base foreground color constants.\n * Use it for coloring text, icons and etc.\n */\nvar COLOR_FOREGROUND_BASE_100 = 'rgb(244,244,245)';\nvar COLOR_FOREGROUND_BASE_200 = 'rgb(228,228,231)';\nvar COLOR_FOREGROUND_BASE_300 = 'rgb(212,212,216)';\nvar COLOR_FOREGROUND_BASE_400 = 'rgb(159,159,169)';\nvar COLOR_FOREGROUND_BASE_500 = 'rgb(113,113,123)';\nvar COLOR_FOREGROUND_BASE_600 = 'rgb(82,82,92)';\nvar COLOR_FOREGROUND_BASE_700 = 'rgb(63,63,70)';\nvar COLOR_FOREGROUND_BASE_800 = 'rgb(39,39,42)';\nvar COLOR_FOREGROUND_BASE_900 = 'rgb(24,24,27)';\n\n/**\n * Inverse foreground color constants.\n * Use it for coloring inversed elements.\n */\nvar COLOR_FOREGROUND_INVERSE_100 = 'rgb(24,24,27)';\nvar COLOR_FOREGROUND_INVERSE_200 = 'rgb(39,39,42)';\nvar COLOR_FOREGROUND_INVERSE_300 = 'rgb(63,63,70)';\nvar COLOR_FOREGROUND_INVERSE_400 = 'rgb(82,82,92)';\nvar COLOR_FOREGROUND_INVERSE_500 = 'rgb(113,113,123)';\nvar COLOR_FOREGROUND_INVERSE_600 = 'rgb(159,159,169)';\nvar COLOR_FOREGROUND_INVERSE_700 = 'rgb(212,212,216)';\nvar COLOR_FOREGROUND_INVERSE_800 = 'rgb(228,228,231)';\nvar COLOR_FOREGROUND_INVERSE_900 = 'rgb(244,244,245)';\n\n//# sourceURL=webpack://creactive/./source/constants/theme/color.ts?");
|
|
180
|
-
|
|
181
|
-
/***/ }),
|
|
182
|
-
|
|
183
|
-
/***/ "./source/constants/theme/font.ts":
|
|
184
|
-
/*!****************************************!*\
|
|
185
|
-
!*** ./source/constants/theme/font.ts ***!
|
|
186
|
-
\****************************************/
|
|
187
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
188
|
-
|
|
189
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ FONT_FAMILY_BASE: () => (/* binding */ FONT_FAMILY_BASE),\n/* harmony export */ FONT_SIZE_BASE_LG: () => (/* binding */ FONT_SIZE_BASE_LG),\n/* harmony export */ FONT_SIZE_BASE_MD: () => (/* binding */ FONT_SIZE_BASE_MD),\n/* harmony export */ FONT_SIZE_BASE_SM: () => (/* binding */ FONT_SIZE_BASE_SM),\n/* harmony export */ FONT_SIZE_BASE_X2L: () => (/* binding */ FONT_SIZE_BASE_X2L),\n/* harmony export */ FONT_SIZE_BASE_X2S: () => (/* binding */ FONT_SIZE_BASE_X2S),\n/* harmony export */ FONT_SIZE_BASE_X3L: () => (/* binding */ FONT_SIZE_BASE_X3L),\n/* harmony export */ FONT_SIZE_BASE_X4L: () => (/* binding */ FONT_SIZE_BASE_X4L),\n/* harmony export */ FONT_SIZE_BASE_X5L: () => (/* binding */ FONT_SIZE_BASE_X5L),\n/* harmony export */ FONT_SIZE_BASE_XL: () => (/* binding */ FONT_SIZE_BASE_XL),\n/* harmony export */ FONT_SIZE_BASE_XS: () => (/* binding */ FONT_SIZE_BASE_XS),\n/* harmony export */ FONT_WEIGHT_BASE_BLACK: () => (/* binding */ FONT_WEIGHT_BASE_BLACK),\n/* harmony export */ FONT_WEIGHT_BASE_BOLD: () => (/* binding */ FONT_WEIGHT_BASE_BOLD),\n/* harmony export */ FONT_WEIGHT_BASE_EXTRABOLD: () => (/* binding */ FONT_WEIGHT_BASE_EXTRABOLD),\n/* harmony export */ FONT_WEIGHT_BASE_EXTRALIGHT: () => (/* binding */ FONT_WEIGHT_BASE_EXTRALIGHT),\n/* harmony export */ FONT_WEIGHT_BASE_LIGHT: () => (/* binding */ FONT_WEIGHT_BASE_LIGHT),\n/* harmony export */ FONT_WEIGHT_BASE_MEDIUM: () => (/* binding */ FONT_WEIGHT_BASE_MEDIUM),\n/* harmony export */ FONT_WEIGHT_BASE_REGULAR: () => (/* binding */ FONT_WEIGHT_BASE_REGULAR),\n/* harmony export */ FONT_WEIGHT_BASE_SEMIBOLD: () => (/* binding */ FONT_WEIGHT_BASE_SEMIBOLD),\n/* harmony export */ FONT_WEIGHT_BASE_THIN: () => (/* binding */ FONT_WEIGHT_BASE_THIN)\n/* harmony export */ });\n/**\n * Base font family constant.\n * Supposed to be used for styling text.\n * Maybe we'll need som extra font family in future..\n */\nvar FONT_FAMILY_BASE = ['ui-sans-serif', '-apple-system', 'BlinkMacSystemFont', '\"Segoe UI\"', 'Roboto', 'Helvetica', 'Arial', 'sans-serif'].join(',');\n\n/**\n * Base font weight constants.\n * Supposed to be used for styling text.\n * It seems like we wont need an extra set of font weights.\n * But we named them as base just in case, you know..\n */\nvar FONT_WEIGHT_BASE_THIN = 100;\nvar FONT_WEIGHT_BASE_EXTRALIGHT = 200;\nvar FONT_WEIGHT_BASE_LIGHT = 300;\nvar FONT_WEIGHT_BASE_REGULAR = 400;\nvar FONT_WEIGHT_BASE_MEDIUM = 500;\nvar FONT_WEIGHT_BASE_SEMIBOLD = 600;\nvar FONT_WEIGHT_BASE_BOLD = 700;\nvar FONT_WEIGHT_BASE_EXTRABOLD = 800;\nvar FONT_WEIGHT_BASE_BLACK = 900;\n\n/**\n * Base font size constants.\n * Supposed to be used for styling text.\n * It seems like we wont need an extra set of font sizes.\n * But we named them as base just in case also..\n */\nvar FONT_SIZE_BASE_X2S = 12;\nvar FONT_SIZE_BASE_XS = 14;\nvar FONT_SIZE_BASE_SM = 16;\nvar FONT_SIZE_BASE_MD = 18;\nvar FONT_SIZE_BASE_LG = 20;\nvar FONT_SIZE_BASE_XL = 24;\nvar FONT_SIZE_BASE_X2L = 30;\nvar FONT_SIZE_BASE_X3L = 36;\nvar FONT_SIZE_BASE_X4L = 48;\nvar FONT_SIZE_BASE_X5L = 60;\n\n//# sourceURL=webpack://creactive/./source/constants/theme/font.ts?");
|
|
190
|
-
|
|
191
|
-
/***/ }),
|
|
192
|
-
|
|
193
|
-
/***/ "./source/constants/theme/index.ts":
|
|
194
|
-
/*!*****************************************!*\
|
|
195
|
-
!*** ./source/constants/theme/index.ts ***!
|
|
196
|
-
\*****************************************/
|
|
197
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
198
|
-
|
|
199
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ COLOR_FOREGROUND_BASE_100: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_100),\n/* harmony export */ COLOR_FOREGROUND_BASE_200: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_200),\n/* harmony export */ COLOR_FOREGROUND_BASE_300: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_300),\n/* harmony export */ COLOR_FOREGROUND_BASE_400: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_400),\n/* harmony export */ COLOR_FOREGROUND_BASE_500: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_500),\n/* harmony export */ COLOR_FOREGROUND_BASE_600: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_600),\n/* harmony export */ COLOR_FOREGROUND_BASE_700: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_700),\n/* harmony export */ COLOR_FOREGROUND_BASE_800: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_800),\n/* harmony export */ COLOR_FOREGROUND_BASE_900: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_900),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_100: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_100),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_200: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_200),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_300: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_300),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_400: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_400),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_500: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_500),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_600: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_600),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_700: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_700),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_800: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_800),\n/* harmony export */ COLOR_FOREGROUND_INVERSE_900: () => (/* reexport safe */ _color__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_900),\n/* harmony export */ FONT_FAMILY_BASE: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_FAMILY_BASE),\n/* harmony export */ FONT_SIZE_BASE_LG: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_SIZE_BASE_LG),\n/* harmony export */ FONT_SIZE_BASE_MD: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_SIZE_BASE_MD),\n/* harmony export */ FONT_SIZE_BASE_SM: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_SIZE_BASE_SM),\n/* harmony export */ FONT_SIZE_BASE_X2L: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_SIZE_BASE_X2L),\n/* harmony export */ FONT_SIZE_BASE_X2S: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_SIZE_BASE_X2S),\n/* harmony export */ FONT_SIZE_BASE_X3L: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_SIZE_BASE_X3L),\n/* harmony export */ FONT_SIZE_BASE_X4L: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_SIZE_BASE_X4L),\n/* harmony export */ FONT_SIZE_BASE_X5L: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_SIZE_BASE_X5L),\n/* harmony export */ FONT_SIZE_BASE_XL: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_SIZE_BASE_XL),\n/* harmony export */ FONT_SIZE_BASE_XS: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_SIZE_BASE_XS),\n/* harmony export */ FONT_WEIGHT_BASE_BLACK: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_WEIGHT_BASE_BLACK),\n/* harmony export */ FONT_WEIGHT_BASE_BOLD: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_WEIGHT_BASE_BOLD),\n/* harmony export */ FONT_WEIGHT_BASE_EXTRABOLD: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_WEIGHT_BASE_EXTRABOLD),\n/* harmony export */ FONT_WEIGHT_BASE_EXTRALIGHT: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_WEIGHT_BASE_EXTRALIGHT),\n/* harmony export */ FONT_WEIGHT_BASE_LIGHT: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_WEIGHT_BASE_LIGHT),\n/* harmony export */ FONT_WEIGHT_BASE_MEDIUM: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_WEIGHT_BASE_MEDIUM),\n/* harmony export */ FONT_WEIGHT_BASE_REGULAR: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_WEIGHT_BASE_REGULAR),\n/* harmony export */ FONT_WEIGHT_BASE_SEMIBOLD: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_WEIGHT_BASE_SEMIBOLD),\n/* harmony export */ FONT_WEIGHT_BASE_THIN: () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_1__.FONT_WEIGHT_BASE_THIN),\n/* harmony export */ LINE_HEIGHT_BASE_LOOSE: () => (/* reexport safe */ _text__WEBPACK_IMPORTED_MODULE_2__.LINE_HEIGHT_BASE_LOOSE),\n/* harmony export */ LINE_HEIGHT_BASE_NONE: () => (/* reexport safe */ _text__WEBPACK_IMPORTED_MODULE_2__.LINE_HEIGHT_BASE_NONE),\n/* harmony export */ LINE_HEIGHT_BASE_NORMAL: () => (/* reexport safe */ _text__WEBPACK_IMPORTED_MODULE_2__.LINE_HEIGHT_BASE_NORMAL),\n/* harmony export */ LINE_HEIGHT_BASE_RELAXED: () => (/* reexport safe */ _text__WEBPACK_IMPORTED_MODULE_2__.LINE_HEIGHT_BASE_RELAXED),\n/* harmony export */ LINE_HEIGHT_BASE_SNUG: () => (/* reexport safe */ _text__WEBPACK_IMPORTED_MODULE_2__.LINE_HEIGHT_BASE_SNUG),\n/* harmony export */ LINE_HEIGHT_BASE_TIGHT: () => (/* reexport safe */ _text__WEBPACK_IMPORTED_MODULE_2__.LINE_HEIGHT_BASE_TIGHT)\n/* harmony export */ });\n/* harmony import */ var _color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./color */ \"./source/constants/theme/color.ts\");\n/* harmony import */ var _font__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./font */ \"./source/constants/theme/font.ts\");\n/* harmony import */ var _text__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./text */ \"./source/constants/theme/text.ts\");\n\n\n\n\n//# sourceURL=webpack://creactive/./source/constants/theme/index.ts?");
|
|
200
|
-
|
|
201
|
-
/***/ }),
|
|
202
|
-
|
|
203
|
-
/***/ "./source/constants/theme/text.ts":
|
|
204
|
-
/*!****************************************!*\
|
|
205
|
-
!*** ./source/constants/theme/text.ts ***!
|
|
206
|
-
\****************************************/
|
|
207
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
208
|
-
|
|
209
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ LINE_HEIGHT_BASE_LOOSE: () => (/* binding */ LINE_HEIGHT_BASE_LOOSE),\n/* harmony export */ LINE_HEIGHT_BASE_NONE: () => (/* binding */ LINE_HEIGHT_BASE_NONE),\n/* harmony export */ LINE_HEIGHT_BASE_NORMAL: () => (/* binding */ LINE_HEIGHT_BASE_NORMAL),\n/* harmony export */ LINE_HEIGHT_BASE_RELAXED: () => (/* binding */ LINE_HEIGHT_BASE_RELAXED),\n/* harmony export */ LINE_HEIGHT_BASE_SNUG: () => (/* binding */ LINE_HEIGHT_BASE_SNUG),\n/* harmony export */ LINE_HEIGHT_BASE_TIGHT: () => (/* binding */ LINE_HEIGHT_BASE_TIGHT)\n/* harmony export */ });\n/**\n * Base text line height constants.\n * Supposed to be used for styling text.\n * It seems like we wont need an extra set of line heights.\n * But we named them as base just in case also..\n */\nvar LINE_HEIGHT_BASE_NONE = 1;\nvar LINE_HEIGHT_BASE_TIGHT = 1.25;\nvar LINE_HEIGHT_BASE_SNUG = 1.375;\nvar LINE_HEIGHT_BASE_NORMAL = 1.5;\nvar LINE_HEIGHT_BASE_RELAXED = 1.625;\nvar LINE_HEIGHT_BASE_LOOSE = 2;\n\n//# sourceURL=webpack://creactive/./source/constants/theme/text.ts?");
|
|
210
|
-
|
|
211
|
-
/***/ }),
|
|
212
|
-
|
|
213
|
-
/***/ "./source/contexts/index.ts":
|
|
214
|
-
/*!**********************************!*\
|
|
215
|
-
!*** ./source/contexts/index.ts ***!
|
|
216
|
-
\**********************************/
|
|
217
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
218
|
-
|
|
219
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Media: () => (/* reexport safe */ _contexts_media__WEBPACK_IMPORTED_MODULE_0__.Media),\n/* harmony export */ MediaContextProvider: () => (/* reexport safe */ _contexts_media__WEBPACK_IMPORTED_MODULE_0__.MediaContextProvider),\n/* harmony export */ ThemeContextProvider: () => (/* reexport safe */ _contexts_theme__WEBPACK_IMPORTED_MODULE_1__.ThemeContextProvider),\n/* harmony export */ useMediaContext: () => (/* reexport safe */ _contexts_media__WEBPACK_IMPORTED_MODULE_0__.useMediaContext),\n/* harmony export */ useThemeContext: () => (/* reexport safe */ _contexts_theme__WEBPACK_IMPORTED_MODULE_1__.useThemeContext)\n/* harmony export */ });\n/* harmony import */ var _contexts_media__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/contexts/media */ \"./source/contexts/media/index.ts\");\n/* harmony import */ var _contexts_theme__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/contexts/theme */ \"./source/contexts/theme/index.ts\");\n\n\n\n//# sourceURL=webpack://creactive/./source/contexts/index.ts?");
|
|
220
|
-
|
|
221
|
-
/***/ }),
|
|
222
|
-
|
|
223
|
-
/***/ "./source/contexts/media/components/index.ts":
|
|
224
|
-
/*!***************************************************!*\
|
|
225
|
-
!*** ./source/contexts/media/components/index.ts ***!
|
|
226
|
-
\***************************************************/
|
|
227
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
228
|
-
|
|
229
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Media: () => (/* reexport safe */ _media__WEBPACK_IMPORTED_MODULE_0__.Media),\n/* harmony export */ Wrapper: () => (/* reexport safe */ _wrapper__WEBPACK_IMPORTED_MODULE_1__.Wrapper)\n/* harmony export */ });\n/* harmony import */ var _media__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./media */ \"./source/contexts/media/components/media/index.ts\");\n/* harmony import */ var _wrapper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./wrapper */ \"./source/contexts/media/components/wrapper/index.ts\");\n\n\n\n//# sourceURL=webpack://creactive/./source/contexts/media/components/index.ts?");
|
|
230
|
-
|
|
231
|
-
/***/ }),
|
|
232
|
-
|
|
233
|
-
/***/ "./source/contexts/media/components/media/index.ts":
|
|
234
|
-
/*!*********************************************************!*\
|
|
235
|
-
!*** ./source/contexts/media/components/media/index.ts ***!
|
|
236
|
-
\*********************************************************/
|
|
237
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
238
|
-
|
|
239
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Media: () => (/* reexport safe */ _media__WEBPACK_IMPORTED_MODULE_0__.Media)\n/* harmony export */ });\n/* harmony import */ var _media__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./media */ \"./source/contexts/media/components/media/media.tsx\");\n\n\n//# sourceURL=webpack://creactive/./source/contexts/media/components/media/index.ts?");
|
|
240
|
-
|
|
241
|
-
/***/ }),
|
|
242
|
-
|
|
243
|
-
/***/ "./source/contexts/media/components/media/media.tsx":
|
|
244
|
-
/*!**********************************************************!*\
|
|
245
|
-
!*** ./source/contexts/media/components/media/media.tsx ***!
|
|
246
|
-
\**********************************************************/
|
|
247
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
248
|
-
|
|
249
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Media: () => (/* binding */ Media)\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 react_native__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-native */ \"react-native\");\n/* harmony import */ var react_native__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_native__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../constants */ \"./source/contexts/media/constants/index.ts\");\n/* harmony import */ var _media__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../media */ \"./source/contexts/media/media.tsx\");\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n\n\n\n\n// Breakpoint index object for optimized comparing.\nvar breakpointIndex = _defineProperty(_defineProperty(_defineProperty({}, _constants__WEBPACK_IMPORTED_MODULE_2__.MediaBreakpoint.MD, 1), _constants__WEBPACK_IMPORTED_MODULE_2__.MediaBreakpoint.LG, 2), _constants__WEBPACK_IMPORTED_MODULE_2__.MediaBreakpoint.XL, 3);\n// Simple comparing breakpoints helper.\n// Checks that provided current is greater than provided otherwise breakpoint.\nvar isGreater = function isGreater(currentBreakpoint, otherwiseBreakpoint) {\n return breakpointIndex[currentBreakpoint] > breakpointIndex[otherwiseBreakpoint];\n};\nvar MediaBase = react_native__WEBPACK_IMPORTED_MODULE_1__.Platform.select({\n // Web media component with server side rendering support.\n web: function web(_ref) {\n var isDefault = _ref.isDefault,\n isOtherwise = _ref.isOtherwise,\n breakpoint = _ref.breakpoint,\n children = _ref.children;\n var mediaContext = (0,_media__WEBPACK_IMPORTED_MODULE_3__.useMediaContext)();\n // Hydration flag, allows to detect server and first client render.\n var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),\n _useState2 = _slicedToArray(_useState, 2),\n isHydrated = _useState2[0],\n setHydrated = _useState2[1];\n // Update hydration flag after first render.\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n setHydrated(true);\n }, []);\n // Hydration completed, we have window object and we already rendered once.\n // Server and client first renders matched (but hidden by wrapper).\n // We can switch to correct media content now safely.\n if (isHydrated) {\n if (isDefault && mediaContext.breakpoint === undefined) return children;\n if (mediaContext.breakpoint === breakpoint) return children;\n if (isOtherwise && isGreater(mediaContext.breakpoint, breakpoint)) {\n return children;\n }\n } else if (isDefault) {\n // During first or server render we return default media children only.\n return children;\n }\n },\n // Native media component whithout any tricks.\n \"default\": function _default(_ref2) {\n var isDefault = _ref2.isDefault,\n isOtherwise = _ref2.isOtherwise,\n breakpoint = _ref2.breakpoint,\n children = _ref2.children;\n var mediaContext = (0,_media__WEBPACK_IMPORTED_MODULE_3__.useMediaContext)();\n if (isDefault && mediaContext.breakpoint === undefined) return children;\n if (mediaContext.breakpoint === breakpoint) return children;\n if (isOtherwise && isGreater(mediaContext.breakpoint, breakpoint)) {\n return children;\n }\n }\n});\nvar Media = MediaBase;\nMedia.Breakpoint = _constants__WEBPACK_IMPORTED_MODULE_2__.MediaBreakpoint;\n\n//# sourceURL=webpack://creactive/./source/contexts/media/components/media/media.tsx?");
|
|
250
|
-
|
|
251
|
-
/***/ }),
|
|
252
|
-
|
|
253
|
-
/***/ "./source/contexts/media/components/wrapper/index.ts":
|
|
254
|
-
/*!***********************************************************!*\
|
|
255
|
-
!*** ./source/contexts/media/components/wrapper/index.ts ***!
|
|
256
|
-
\***********************************************************/
|
|
257
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
258
|
-
|
|
259
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Wrapper: () => (/* reexport safe */ _wrapper__WEBPACK_IMPORTED_MODULE_0__.Wrapper)\n/* harmony export */ });\n/* harmony import */ var _wrapper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./wrapper */ \"./source/contexts/media/components/wrapper/wrapper.tsx\");\n\n\n//# sourceURL=webpack://creactive/./source/contexts/media/components/wrapper/index.ts?");
|
|
260
|
-
|
|
261
|
-
/***/ }),
|
|
262
|
-
|
|
263
|
-
/***/ "./source/contexts/media/components/wrapper/wrapper.tsx":
|
|
264
|
-
/*!**************************************************************!*\
|
|
265
|
-
!*** ./source/contexts/media/components/wrapper/wrapper.tsx ***!
|
|
266
|
-
\**************************************************************/
|
|
267
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
268
|
-
|
|
269
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Wrapper: () => (/* binding */ Wrapper)\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 react_native__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-native */ \"react-native\");\n/* harmony import */ var react_native__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_native__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ \"./node_modules/react/jsx-runtime.js\");\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\n\n\n\nvar Wrapper = react_native__WEBPACK_IMPORTED_MODULE_1__.Platform.select({\n // We need a wrapper for hiding content blinking.\n // Server side rendered result is allways matching mobile media.\n // Client side effects may decide to render something different.\n // This wrapper helps us to handle this situation gracefully.\n web: function web(_ref) {\n var children = _ref.children;\n var ref = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();\n // Hydration flag, allows to detect server and first client render.\n var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),\n _useState2 = _slicedToArray(_useState, 2),\n isHydrated = _useState2[0],\n setHydrated = _useState2[1];\n // Update hydration flag after first render.\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n setHydrated(true);\n }, []);\n // Memorized wrapper style.\n var style = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n // Return visible wrapper styles during hydrated client render.\n // Return visible wrapper styles during server side rendering also.\n if (isHydrated || typeof window === 'undefined' || typeof document === 'undefined') {\n return {\n display: 'flex',\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: '100%',\n flexDirection: 'column'\n };\n }\n // Return hidden wrapper styles during first client render.\n // Display style will be already modified by inline script to be onest.\n // Anyway, we want this object to be consistent with final state later.\n return {\n display: 'none',\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: '100%',\n flexDirection: 'column'\n };\n }, [isHydrated]);\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(\"div\", {\n ref: ref,\n style: style\n // We don't want to see hydration warning on this element.\n // We'll set display none in the script below.\n // This will allow us to hide wrapped content during first render.\n ,\n suppressHydrationWarning: true,\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(\"script\", {\n // Hide wrapper content immediately during first render.\n dangerouslySetInnerHTML: {\n __html: 'document.currentScript.parentElement.style.display=\"none\"'\n }\n }), children]\n });\n },\n // We don't need any wrapping on native platfrom.\n \"default\": function _default(_ref2) {\n var children = _ref2.children;\n return children;\n }\n});\n\n//# sourceURL=webpack://creactive/./source/contexts/media/components/wrapper/wrapper.tsx?");
|
|
270
|
-
|
|
271
|
-
/***/ }),
|
|
272
|
-
|
|
273
|
-
/***/ "./source/contexts/media/constants/breakpoint.ts":
|
|
274
|
-
/*!*******************************************************!*\
|
|
275
|
-
!*** ./source/contexts/media/constants/breakpoint.ts ***!
|
|
276
|
-
\*******************************************************/
|
|
277
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
278
|
-
|
|
279
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BREAKPOINT_LG: () => (/* binding */ BREAKPOINT_LG),\n/* harmony export */ BREAKPOINT_MD: () => (/* binding */ BREAKPOINT_MD),\n/* harmony export */ BREAKPOINT_XL: () => (/* binding */ BREAKPOINT_XL),\n/* harmony export */ MediaBreakpoint: () => (/* binding */ MediaBreakpoint)\n/* harmony export */ });\n/**\n * Media breakpoint constants enum.\n * Should be used to define and compare breakpoint.\n * If you mean the smallest screen, use undefined value.\n */\nvar MediaBreakpoint = /*#__PURE__*/function (MediaBreakpoint) {\n MediaBreakpoint[MediaBreakpoint[\"MD\"] = 0] = \"MD\";\n MediaBreakpoint[MediaBreakpoint[\"LG\"] = 1] = \"LG\";\n MediaBreakpoint[MediaBreakpoint[\"XL\"] = 2] = \"XL\";\n return MediaBreakpoint;\n}({});\n\n/**\n * Default media breakpoint values.\n * This values will are used if no overrides provided.\n */\nvar BREAKPOINT_MD = 768;\nvar BREAKPOINT_LG = 1024;\nvar BREAKPOINT_XL = 1280;\n\n//# sourceURL=webpack://creactive/./source/contexts/media/constants/breakpoint.ts?");
|
|
280
|
-
|
|
281
|
-
/***/ }),
|
|
282
|
-
|
|
283
|
-
/***/ "./source/contexts/media/constants/index.ts":
|
|
284
|
-
/*!**************************************************!*\
|
|
285
|
-
!*** ./source/contexts/media/constants/index.ts ***!
|
|
286
|
-
\**************************************************/
|
|
287
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
288
|
-
|
|
289
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BREAKPOINT_LG: () => (/* reexport safe */ _breakpoint__WEBPACK_IMPORTED_MODULE_0__.BREAKPOINT_LG),\n/* harmony export */ BREAKPOINT_MD: () => (/* reexport safe */ _breakpoint__WEBPACK_IMPORTED_MODULE_0__.BREAKPOINT_MD),\n/* harmony export */ BREAKPOINT_XL: () => (/* reexport safe */ _breakpoint__WEBPACK_IMPORTED_MODULE_0__.BREAKPOINT_XL),\n/* harmony export */ MediaBreakpoint: () => (/* reexport safe */ _breakpoint__WEBPACK_IMPORTED_MODULE_0__.MediaBreakpoint)\n/* harmony export */ });\n/* harmony import */ var _breakpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./breakpoint */ \"./source/contexts/media/constants/breakpoint.ts\");\n\n\n//# sourceURL=webpack://creactive/./source/contexts/media/constants/index.ts?");
|
|
290
|
-
|
|
291
|
-
/***/ }),
|
|
292
|
-
|
|
293
|
-
/***/ "./source/contexts/media/hooks/index.ts":
|
|
294
|
-
/*!**********************************************!*\
|
|
295
|
-
!*** ./source/contexts/media/hooks/index.ts ***!
|
|
296
|
-
\**********************************************/
|
|
297
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
298
|
-
|
|
299
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useMediaBreakpoint: () => (/* reexport safe */ _use_breakpoint__WEBPACK_IMPORTED_MODULE_0__.useMediaBreakpoint)\n/* harmony export */ });\n/* harmony import */ var _use_breakpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./use-breakpoint */ \"./source/contexts/media/hooks/use-breakpoint.ts\");\n\n\n//# sourceURL=webpack://creactive/./source/contexts/media/hooks/index.ts?");
|
|
300
|
-
|
|
301
|
-
/***/ }),
|
|
302
|
-
|
|
303
|
-
/***/ "./source/contexts/media/hooks/use-breakpoint.ts":
|
|
304
|
-
/*!*******************************************************!*\
|
|
305
|
-
!*** ./source/contexts/media/hooks/use-breakpoint.ts ***!
|
|
306
|
-
\*******************************************************/
|
|
307
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
308
|
-
|
|
309
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useMediaBreakpoint: () => (/* binding */ useMediaBreakpoint)\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 react_native__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-native */ \"react-native\");\n/* harmony import */ var react_native__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_native__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../constants */ \"./source/contexts/media/constants/index.ts\");\n\n\n\nvar useMediaBreakpoint = function useMediaBreakpoint(breakpointMD, breakpointLG, breakpointXL) {\n var _useWindowDimensions = (0,react_native__WEBPACK_IMPORTED_MODULE_1__.useWindowDimensions)(),\n width = _useWindowDimensions.width;\n // Returning memorized breakpoint, based on current width.\n return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n // Mobile first breakpoint switching ierarchy.\n if (width >= breakpointXL) return _constants__WEBPACK_IMPORTED_MODULE_2__.MediaBreakpoint.XL;\n if (width >= breakpointLG) return _constants__WEBPACK_IMPORTED_MODULE_2__.MediaBreakpoint.LG;\n if (width >= breakpointMD) return _constants__WEBPACK_IMPORTED_MODULE_2__.MediaBreakpoint.MD;\n }, [width >= breakpointXL, width >= breakpointLG, width >= breakpointMD]);\n};\n\n//# sourceURL=webpack://creactive/./source/contexts/media/hooks/use-breakpoint.ts?");
|
|
310
|
-
|
|
311
|
-
/***/ }),
|
|
312
|
-
|
|
313
|
-
/***/ "./source/contexts/media/index.ts":
|
|
314
|
-
/*!****************************************!*\
|
|
315
|
-
!*** ./source/contexts/media/index.ts ***!
|
|
316
|
-
\****************************************/
|
|
317
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
318
|
-
|
|
319
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Media: () => (/* reexport safe */ _components__WEBPACK_IMPORTED_MODULE_0__.Media),\n/* harmony export */ MediaContextProvider: () => (/* reexport safe */ _media__WEBPACK_IMPORTED_MODULE_1__.MediaContextProvider),\n/* harmony export */ useMediaContext: () => (/* reexport safe */ _media__WEBPACK_IMPORTED_MODULE_1__.useMediaContext)\n/* harmony export */ });\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components */ \"./source/contexts/media/components/index.ts\");\n/* harmony import */ var _media__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./media */ \"./source/contexts/media/media.tsx\");\n\n\n\n//# sourceURL=webpack://creactive/./source/contexts/media/index.ts?");
|
|
320
|
-
|
|
321
|
-
/***/ }),
|
|
322
|
-
|
|
323
|
-
/***/ "./source/contexts/media/media.tsx":
|
|
324
|
-
/*!*****************************************!*\
|
|
325
|
-
!*** ./source/contexts/media/media.tsx ***!
|
|
326
|
-
\*****************************************/
|
|
327
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
328
|
-
|
|
329
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ MediaContextProvider: () => (/* binding */ MediaContextProvider),\n/* harmony export */ useMediaContext: () => (/* binding */ useMediaContext)\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 _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components */ \"./source/contexts/media/components/index.ts\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./source/contexts/media/constants/index.ts\");\n/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./hooks */ \"./source/contexts/media/hooks/index.ts\");\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ \"./node_modules/react/jsx-runtime.js\");\n\n\n\n\n\nvar MediaContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({});\nvar MediaContextProvider = function MediaContextProvider(_ref) {\n var breakpointMD = _ref.breakpointMD,\n breakpointLG = _ref.breakpointLG,\n breakpointXL = _ref.breakpointXL,\n children = _ref.children;\n var breakpoint = (0,_hooks__WEBPACK_IMPORTED_MODULE_3__.useMediaBreakpoint)(breakpointMD !== null && breakpointMD !== void 0 ? breakpointMD : _constants__WEBPACK_IMPORTED_MODULE_2__.BREAKPOINT_MD, breakpointLG !== null && breakpointLG !== void 0 ? breakpointLG : _constants__WEBPACK_IMPORTED_MODULE_2__.BREAKPOINT_LG, breakpointXL !== null && breakpointXL !== void 0 ? breakpointXL : _constants__WEBPACK_IMPORTED_MODULE_2__.BREAKPOINT_XL);\n // Memorizing context value to avoid extra re-renders.\n var value = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n return {\n breakpoint: breakpoint\n };\n }, [breakpoint]);\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(MediaContext.Provider, {\n value: value,\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_components__WEBPACK_IMPORTED_MODULE_1__.Wrapper, {\n children: children\n })\n });\n};\nvar useMediaContext = function useMediaContext() {\n return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(MediaContext);\n};\n\n//# sourceURL=webpack://creactive/./source/contexts/media/media.tsx?");
|
|
330
|
-
|
|
331
|
-
/***/ }),
|
|
332
|
-
|
|
333
|
-
/***/ "./source/contexts/theme/index.ts":
|
|
334
|
-
/*!****************************************!*\
|
|
335
|
-
!*** ./source/contexts/theme/index.ts ***!
|
|
336
|
-
\****************************************/
|
|
337
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
338
|
-
|
|
339
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ThemeContextProvider: () => (/* reexport safe */ _theme__WEBPACK_IMPORTED_MODULE_0__.ThemeContextProvider),\n/* harmony export */ useThemeContext: () => (/* reexport safe */ _theme__WEBPACK_IMPORTED_MODULE_0__.useThemeContext)\n/* harmony export */ });\n/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./theme */ \"./source/contexts/theme/theme.tsx\");\n\n\n//# sourceURL=webpack://creactive/./source/contexts/theme/index.ts?");
|
|
340
|
-
|
|
341
|
-
/***/ }),
|
|
342
|
-
|
|
343
|
-
/***/ "./source/contexts/theme/theme.tsx":
|
|
344
|
-
/*!*****************************************!*\
|
|
345
|
-
!*** ./source/contexts/theme/theme.tsx ***!
|
|
346
|
-
\*****************************************/
|
|
347
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
348
|
-
|
|
349
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ThemeContextProvider: () => (/* binding */ ThemeContextProvider),\n/* harmony export */ useThemeContext: () => (/* binding */ useThemeContext)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/constants */ \"./source/constants/index.ts\");\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 react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ \"./node_modules/react/jsx-runtime.js\");\n\n\n\n// We can use context even outside provider.\n// This can be helpful for testing and storybook.\nvar ThemeContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.createContext)({\n colorForegroundBase100: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_100,\n colorForegroundBase200: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_200,\n colorForegroundBase300: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_300,\n colorForegroundBase400: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_400,\n colorForegroundBase500: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_500,\n colorForegroundBase600: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_600,\n colorForegroundBase700: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_700,\n colorForegroundBase800: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_800,\n colorForegroundBase900: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_900,\n colorForegroundInverse100: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_100,\n colorForegroundInverse200: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_200,\n colorForegroundInverse300: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_300,\n colorForegroundInverse400: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_400,\n colorForegroundInverse500: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_500,\n colorForegroundInverse600: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_600,\n colorForegroundInverse700: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_700,\n colorForegroundInverse800: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_800,\n colorForegroundInverse900: _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_900,\n fontFamilyBase: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_FAMILY_BASE,\n fontWeightBaseThin: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_THIN,\n fontWeightBaseExtraLight: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRALIGHT,\n fontWeightBaseLight: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_LIGHT,\n fontWeightBaseRegular: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_REGULAR,\n fontWeightBaseMedium: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_MEDIUM,\n fontWeightBaseSemibold: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_SEMIBOLD,\n fontWeightBaseBold: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BOLD,\n fontWeightBaseExtraBold: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRABOLD,\n fontWeightBaseBlack: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BLACK,\n fontSizeBaseX2S: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2S,\n fontSizeBaseXS: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XS,\n fontSizeBaseSM: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_SM,\n fontSizeBaseMD: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_MD,\n fontSizeBaseLG: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_LG,\n fontSizeBaseXL: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XL,\n fontSizeBaseX2L: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2L,\n fontSizeBaseX3L: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X3L,\n fontSizeBaseX4L: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X4L,\n fontSizeBaseX5L: _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X5L,\n lineHeightBaseNone: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NONE,\n lineHeightBaseTight: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_TIGHT,\n lineHeightBaseSnug: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_SNUG,\n lineHeightBaseNormal: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NORMAL,\n lineHeightBaseRelaxed: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_RELAXED,\n lineHeightBaseLoose: _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_LOOSE\n});\nvar ThemeContextProvider = function ThemeContextProvider(_ref) {\n var colorForegroundBase100 = _ref.colorForegroundBase100,\n colorForegroundBase200 = _ref.colorForegroundBase200,\n colorForegroundBase300 = _ref.colorForegroundBase300,\n colorForegroundBase400 = _ref.colorForegroundBase400,\n colorForegroundBase500 = _ref.colorForegroundBase500,\n colorForegroundBase600 = _ref.colorForegroundBase600,\n colorForegroundBase700 = _ref.colorForegroundBase700,\n colorForegroundBase800 = _ref.colorForegroundBase800,\n colorForegroundBase900 = _ref.colorForegroundBase900,\n colorForegroundInverse100 = _ref.colorForegroundInverse100,\n colorForegroundInverse200 = _ref.colorForegroundInverse200,\n colorForegroundInverse300 = _ref.colorForegroundInverse300,\n colorForegroundInverse400 = _ref.colorForegroundInverse400,\n colorForegroundInverse500 = _ref.colorForegroundInverse500,\n colorForegroundInverse600 = _ref.colorForegroundInverse600,\n colorForegroundInverse700 = _ref.colorForegroundInverse700,\n colorForegroundInverse800 = _ref.colorForegroundInverse800,\n colorForegroundInverse900 = _ref.colorForegroundInverse900,\n fontFamilyBase = _ref.fontFamilyBase,\n fontWeightBaseThin = _ref.fontWeightBaseThin,\n fontWeightBaseExtraLight = _ref.fontWeightBaseExtraLight,\n fontWeightBaseLight = _ref.fontWeightBaseLight,\n fontWeightBaseRegular = _ref.fontWeightBaseRegular,\n fontWeightBaseMedium = _ref.fontWeightBaseMedium,\n fontWeightBaseSemibold = _ref.fontWeightBaseSemibold,\n fontWeightBaseBold = _ref.fontWeightBaseBold,\n fontWeightBaseExtraBold = _ref.fontWeightBaseExtraBold,\n fontWeightBaseBlack = _ref.fontWeightBaseBlack,\n fontSizeBaseX2S = _ref.fontSizeBaseX2S,\n fontSizeBaseXS = _ref.fontSizeBaseXS,\n fontSizeBaseSM = _ref.fontSizeBaseSM,\n fontSizeBaseMD = _ref.fontSizeBaseMD,\n fontSizeBaseLG = _ref.fontSizeBaseLG,\n fontSizeBaseXL = _ref.fontSizeBaseXL,\n fontSizeBaseX2L = _ref.fontSizeBaseX2L,\n fontSizeBaseX3L = _ref.fontSizeBaseX3L,\n fontSizeBaseX4L = _ref.fontSizeBaseX4L,\n fontSizeBaseX5L = _ref.fontSizeBaseX5L,\n lineHeightBaseNone = _ref.lineHeightBaseNone,\n lineHeightBaseTight = _ref.lineHeightBaseTight,\n lineHeightBaseSnug = _ref.lineHeightBaseSnug,\n lineHeightBaseNormal = _ref.lineHeightBaseNormal,\n lineHeightBaseRelaxed = _ref.lineHeightBaseRelaxed,\n lineHeightBaseLoose = _ref.lineHeightBaseLoose,\n children = _ref.children;\n // Memorizing context value.\n // Allows to avoid unnecessary re-renders.\n // Context consumers will re-render only if value changes.\n var value = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {\n return {\n // Foreground color tokens.\n colorForegroundBase100: colorForegroundBase100 !== null && colorForegroundBase100 !== void 0 ? colorForegroundBase100 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_100,\n colorForegroundBase200: colorForegroundBase200 !== null && colorForegroundBase200 !== void 0 ? colorForegroundBase200 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_200,\n colorForegroundBase300: colorForegroundBase300 !== null && colorForegroundBase300 !== void 0 ? colorForegroundBase300 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_300,\n colorForegroundBase400: colorForegroundBase400 !== null && colorForegroundBase400 !== void 0 ? colorForegroundBase400 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_400,\n colorForegroundBase500: colorForegroundBase500 !== null && colorForegroundBase500 !== void 0 ? colorForegroundBase500 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_500,\n colorForegroundBase600: colorForegroundBase600 !== null && colorForegroundBase600 !== void 0 ? colorForegroundBase600 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_600,\n colorForegroundBase700: colorForegroundBase700 !== null && colorForegroundBase700 !== void 0 ? colorForegroundBase700 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_700,\n colorForegroundBase800: colorForegroundBase800 !== null && colorForegroundBase800 !== void 0 ? colorForegroundBase800 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_800,\n colorForegroundBase900: colorForegroundBase900 !== null && colorForegroundBase900 !== void 0 ? colorForegroundBase900 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_BASE_900,\n colorForegroundInverse100: colorForegroundInverse100 !== null && colorForegroundInverse100 !== void 0 ? colorForegroundInverse100 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_100,\n colorForegroundInverse200: colorForegroundInverse200 !== null && colorForegroundInverse200 !== void 0 ? colorForegroundInverse200 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_200,\n colorForegroundInverse300: colorForegroundInverse300 !== null && colorForegroundInverse300 !== void 0 ? colorForegroundInverse300 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_300,\n colorForegroundInverse400: colorForegroundInverse400 !== null && colorForegroundInverse400 !== void 0 ? colorForegroundInverse400 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_400,\n colorForegroundInverse500: colorForegroundInverse500 !== null && colorForegroundInverse500 !== void 0 ? colorForegroundInverse500 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_500,\n colorForegroundInverse600: colorForegroundInverse600 !== null && colorForegroundInverse600 !== void 0 ? colorForegroundInverse600 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_600,\n colorForegroundInverse700: colorForegroundInverse700 !== null && colorForegroundInverse700 !== void 0 ? colorForegroundInverse700 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_700,\n colorForegroundInverse800: colorForegroundInverse800 !== null && colorForegroundInverse800 !== void 0 ? colorForegroundInverse800 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_800,\n colorForegroundInverse900: colorForegroundInverse900 !== null && colorForegroundInverse900 !== void 0 ? colorForegroundInverse900 : _constants__WEBPACK_IMPORTED_MODULE_0__.COLOR_FOREGROUND_INVERSE_900,\n // Font family tokens.\n fontFamilyBase: fontFamilyBase !== null && fontFamilyBase !== void 0 ? fontFamilyBase : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_FAMILY_BASE,\n // Base font weight tokens.\n fontWeightBaseThin: fontWeightBaseThin !== null && fontWeightBaseThin !== void 0 ? fontWeightBaseThin : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_THIN,\n fontWeightBaseExtraLight: fontWeightBaseExtraLight !== null && fontWeightBaseExtraLight !== void 0 ? fontWeightBaseExtraLight : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRALIGHT,\n fontWeightBaseLight: fontWeightBaseLight !== null && fontWeightBaseLight !== void 0 ? fontWeightBaseLight : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_LIGHT,\n fontWeightBaseRegular: fontWeightBaseRegular !== null && fontWeightBaseRegular !== void 0 ? fontWeightBaseRegular : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_REGULAR,\n fontWeightBaseMedium: fontWeightBaseMedium !== null && fontWeightBaseMedium !== void 0 ? fontWeightBaseMedium : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_MEDIUM,\n fontWeightBaseSemibold: fontWeightBaseSemibold !== null && fontWeightBaseSemibold !== void 0 ? fontWeightBaseSemibold : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_SEMIBOLD,\n fontWeightBaseBold: fontWeightBaseBold !== null && fontWeightBaseBold !== void 0 ? fontWeightBaseBold : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BOLD,\n fontWeightBaseExtraBold: fontWeightBaseExtraBold !== null && fontWeightBaseExtraBold !== void 0 ? fontWeightBaseExtraBold : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_EXTRABOLD,\n fontWeightBaseBlack: fontWeightBaseBlack !== null && fontWeightBaseBlack !== void 0 ? fontWeightBaseBlack : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_WEIGHT_BASE_BLACK,\n // Base font size tokens.\n fontSizeBaseX2S: fontSizeBaseX2S !== null && fontSizeBaseX2S !== void 0 ? fontSizeBaseX2S : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2S,\n fontSizeBaseXS: fontSizeBaseXS !== null && fontSizeBaseXS !== void 0 ? fontSizeBaseXS : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XS,\n fontSizeBaseSM: fontSizeBaseSM !== null && fontSizeBaseSM !== void 0 ? fontSizeBaseSM : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_SM,\n fontSizeBaseMD: fontSizeBaseMD !== null && fontSizeBaseMD !== void 0 ? fontSizeBaseMD : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_MD,\n fontSizeBaseLG: fontSizeBaseLG !== null && fontSizeBaseLG !== void 0 ? fontSizeBaseLG : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_LG,\n fontSizeBaseXL: fontSizeBaseXL !== null && fontSizeBaseXL !== void 0 ? fontSizeBaseXL : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_XL,\n fontSizeBaseX2L: fontSizeBaseX2L !== null && fontSizeBaseX2L !== void 0 ? fontSizeBaseX2L : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X2L,\n fontSizeBaseX3L: fontSizeBaseX3L !== null && fontSizeBaseX3L !== void 0 ? fontSizeBaseX3L : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X3L,\n fontSizeBaseX4L: fontSizeBaseX4L !== null && fontSizeBaseX4L !== void 0 ? fontSizeBaseX4L : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X4L,\n fontSizeBaseX5L: fontSizeBaseX5L !== null && fontSizeBaseX5L !== void 0 ? fontSizeBaseX5L : _constants__WEBPACK_IMPORTED_MODULE_0__.FONT_SIZE_BASE_X5L,\n // Base line height tokens.\n lineHeightBaseNone: lineHeightBaseNone !== null && lineHeightBaseNone !== void 0 ? lineHeightBaseNone : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NONE,\n lineHeightBaseTight: lineHeightBaseTight !== null && lineHeightBaseTight !== void 0 ? lineHeightBaseTight : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_TIGHT,\n lineHeightBaseSnug: lineHeightBaseSnug !== null && lineHeightBaseSnug !== void 0 ? lineHeightBaseSnug : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_SNUG,\n lineHeightBaseNormal: lineHeightBaseNormal !== null && lineHeightBaseNormal !== void 0 ? lineHeightBaseNormal : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_NORMAL,\n lineHeightBaseRelaxed: lineHeightBaseRelaxed !== null && lineHeightBaseRelaxed !== void 0 ? lineHeightBaseRelaxed : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_RELAXED,\n lineHeightBaseLoose: lineHeightBaseLoose !== null && lineHeightBaseLoose !== void 0 ? lineHeightBaseLoose : _constants__WEBPACK_IMPORTED_MODULE_0__.LINE_HEIGHT_BASE_LOOSE\n };\n }, [colorForegroundBase100, colorForegroundBase200, colorForegroundBase300, colorForegroundBase400, colorForegroundBase500, colorForegroundBase600, colorForegroundBase700, colorForegroundBase800, colorForegroundBase900, colorForegroundInverse100, colorForegroundInverse200, colorForegroundInverse300, colorForegroundInverse400, colorForegroundInverse500, colorForegroundInverse600, colorForegroundInverse700, colorForegroundInverse800, colorForegroundInverse900, fontFamilyBase, fontWeightBaseThin, fontWeightBaseExtraLight, fontWeightBaseLight, fontWeightBaseRegular, fontWeightBaseMedium, fontWeightBaseSemibold, fontWeightBaseBold, fontWeightBaseExtraBold, fontWeightBaseBlack, fontSizeBaseX2S, fontSizeBaseXS, fontSizeBaseSM, fontSizeBaseMD, fontSizeBaseLG, fontSizeBaseXL, fontSizeBaseX2L, fontSizeBaseX3L, fontSizeBaseX4L, fontSizeBaseX5L, lineHeightBaseNone, lineHeightBaseTight, lineHeightBaseSnug, lineHeightBaseNormal, lineHeightBaseRelaxed, lineHeightBaseLoose]);\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(ThemeContext.Provider, {\n value: value,\n children: children\n });\n};\nvar useThemeContext = function useThemeContext() {\n return (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(ThemeContext);\n};\n\n//# sourceURL=webpack://creactive/./source/contexts/theme/theme.tsx?");
|
|
350
|
-
|
|
351
|
-
/***/ }),
|
|
352
|
-
|
|
353
|
-
/***/ "./source/helpers/style/index.ts":
|
|
354
|
-
/*!***************************************!*\
|
|
355
|
-
!*** ./source/helpers/style/index.ts ***!
|
|
356
|
-
\***************************************/
|
|
357
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
358
|
-
|
|
359
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ renderStyle: () => (/* reexport safe */ _style__WEBPACK_IMPORTED_MODULE_0__.renderStyle)\n/* harmony export */ });\n/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style */ \"./source/helpers/style/style.ts\");\n\n\n//# sourceURL=webpack://creactive/./source/helpers/style/index.ts?");
|
|
360
|
-
|
|
361
|
-
/***/ }),
|
|
362
|
-
|
|
363
|
-
/***/ "./source/helpers/style/style.ts":
|
|
364
|
-
/*!***************************************!*\
|
|
365
|
-
!*** ./source/helpers/style/style.ts ***!
|
|
366
|
-
\***************************************/
|
|
367
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
368
|
-
|
|
369
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ renderStyle: () => (/* binding */ renderStyle)\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 react_native__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-native */ \"react-native\");\n/* harmony import */ var react_native__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_native__WEBPACK_IMPORTED_MODULE_1__);\n\n\nvar renderStyle = function renderStyle(component) {\n var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'main';\n // Converting types to be able to use web specific methods..\n var WebAppRegistry = react_native__WEBPACK_IMPORTED_MODULE_1__.AppRegistry;\n WebAppRegistry.registerComponent(key, function () {\n return component;\n });\n // If someone use this function on native platform it will throw an error..\n // Seems fine.. calling this function on native platform makes no sence..\n var element = WebAppRegistry.getApplication(key, null).getStyleElement();\n if (/*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(element)) return element;\n};\n\n//# sourceURL=webpack://creactive/./source/helpers/style/style.ts?");
|
|
370
|
-
|
|
371
|
-
/***/ }),
|
|
372
|
-
|
|
373
|
-
/***/ "./source/hooks/index.ts":
|
|
374
|
-
/*!*******************************!*\
|
|
375
|
-
!*** ./source/hooks/index.ts ***!
|
|
376
|
-
\*******************************/
|
|
377
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
378
|
-
|
|
379
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useThemeStyleSheet: () => (/* reexport safe */ _hooks_use_theme_style_sheet__WEBPACK_IMPORTED_MODULE_0__.useThemeStyleSheet)\n/* harmony export */ });\n/* harmony import */ var _hooks_use_theme_style_sheet__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/hooks/use-theme-style-sheet */ \"./source/hooks/use-theme-style-sheet.ts\");\n\n\n//# sourceURL=webpack://creactive/./source/hooks/index.ts?");
|
|
380
|
-
|
|
381
|
-
/***/ }),
|
|
382
|
-
|
|
383
|
-
/***/ "./source/hooks/use-theme-style-sheet.ts":
|
|
384
|
-
/*!***********************************************!*\
|
|
385
|
-
!*** ./source/hooks/use-theme-style-sheet.ts ***!
|
|
386
|
-
\***********************************************/
|
|
387
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
388
|
-
|
|
389
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useThemeStyleSheet: () => (/* binding */ useThemeStyleSheet)\n/* harmony export */ });\n/* harmony import */ var _contexts_theme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/contexts/theme */ \"./source/contexts/theme/index.ts\");\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 react_native__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-native */ \"react-native\");\n/* harmony import */ var react_native__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_native__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\n\n// Create tailwind-like style sheet for each theme token.\n// Some styles are shared across multiple components.\n// We also export this hook outside just in case.\nvar useThemeStyleSheet = function useThemeStyleSheet() {\n var themeContext = (0,_contexts_theme__WEBPACK_IMPORTED_MODULE_0__.useThemeContext)();\n // Re-creating style sheet only when theme context changes.\n return (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {\n return react_native__WEBPACK_IMPORTED_MODULE_2__.StyleSheet.create({\n // Foreground color styles.\n colorForegroundBase100: {\n color: themeContext.colorForegroundBase100\n },\n colorForegroundBase200: {\n color: themeContext.colorForegroundBase200\n },\n colorForegroundBase300: {\n color: themeContext.colorForegroundBase300\n },\n colorForegroundBase400: {\n color: themeContext.colorForegroundBase400\n },\n colorForegroundBase500: {\n color: themeContext.colorForegroundBase500\n },\n colorForegroundBase600: {\n color: themeContext.colorForegroundBase600\n },\n colorForegroundBase700: {\n color: themeContext.colorForegroundBase700\n },\n colorForegroundBase800: {\n color: themeContext.colorForegroundBase800\n },\n colorForegroundBase900: {\n color: themeContext.colorForegroundBase900\n },\n colorForegroundInverse100: {\n color: themeContext.colorForegroundInverse100\n },\n colorForegroundInverse200: {\n color: themeContext.colorForegroundInverse200\n },\n colorForegroundInverse300: {\n color: themeContext.colorForegroundInverse300\n },\n colorForegroundInverse400: {\n color: themeContext.colorForegroundInverse400\n },\n colorForegroundInverse500: {\n color: themeContext.colorForegroundInverse500\n },\n colorForegroundInverse600: {\n color: themeContext.colorForegroundInverse600\n },\n colorForegroundInverse700: {\n color: themeContext.colorForegroundInverse700\n },\n colorForegroundInverse800: {\n color: themeContext.colorForegroundInverse800\n },\n colorForegroundInverse900: {\n color: themeContext.colorForegroundInverse900\n },\n // Font family styles.\n fontFamilyBase: {\n fontFamily: themeContext.fontFamilyBase\n },\n // Base font weight styles.\n fontWeightBaseThin: {\n fontWeight: themeContext.fontWeightBaseThin\n },\n fontWeightBaseExtraLight: {\n fontWeight: themeContext.fontWeightBaseExtraLight\n },\n fontWeightBaseLight: {\n fontWeight: themeContext.fontWeightBaseLight\n },\n fontWeightBaseRegular: {\n fontWeight: themeContext.fontWeightBaseRegular\n },\n fontWeightBaseMedium: {\n fontWeight: themeContext.fontWeightBaseMedium\n },\n fontWeightBaseSemibold: {\n fontWeight: themeContext.fontWeightBaseSemibold\n },\n fontWeightBaseBold: {\n fontWeight: themeContext.fontWeightBaseBold\n },\n fontWeightBaseExtraBold: {\n fontWeight: themeContext.fontWeightBaseExtraBold\n },\n fontWeightBaseBlack: {\n fontWeight: themeContext.fontWeightBaseBlack\n },\n // Base font size styles.\n fontSizeBaseX2S: {\n fontSize: themeContext.fontSizeBaseX2S\n },\n fontSizeBaseXS: {\n fontSize: themeContext.fontSizeBaseXS\n },\n fontSizeBaseSM: {\n fontSize: themeContext.fontSizeBaseSM\n },\n fontSizeBaseMD: {\n fontSize: themeContext.fontSizeBaseMD\n },\n fontSizeBaseLG: {\n fontSize: themeContext.fontSizeBaseLG\n },\n fontSizeBaseXL: {\n fontSize: themeContext.fontSizeBaseXL\n },\n fontSizeBaseX2L: {\n fontSize: themeContext.fontSizeBaseX2L\n },\n fontSizeBaseX3L: {\n fontSize: themeContext.fontSizeBaseX3L\n },\n fontSizeBaseX4L: {\n fontSize: themeContext.fontSizeBaseX4L\n },\n fontSizeBaseX5L: {\n fontSize: themeContext.fontSizeBaseX5L\n }\n });\n }, [themeContext]);\n};\n\n//# sourceURL=webpack://creactive/./source/hooks/use-theme-style-sheet.ts?");
|
|
390
|
-
|
|
391
|
-
/***/ }),
|
|
392
|
-
|
|
393
|
-
/***/ "./source/index.ts":
|
|
394
|
-
/*!*************************!*\
|
|
395
|
-
!*** ./source/index.ts ***!
|
|
396
|
-
\*************************/
|
|
397
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
398
|
-
|
|
399
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Media: () => (/* reexport safe */ _contexts_media__WEBPACK_IMPORTED_MODULE_2__.Media),\n/* harmony export */ MediaContextProvider: () => (/* reexport safe */ _contexts_media__WEBPACK_IMPORTED_MODULE_2__.MediaContextProvider),\n/* harmony export */ Text: () => (/* reexport safe */ _components_text__WEBPACK_IMPORTED_MODULE_0__.Text),\n/* harmony export */ ThemeContextProvider: () => (/* reexport safe */ _contexts_theme__WEBPACK_IMPORTED_MODULE_3__.ThemeContextProvider),\n/* harmony export */ View: () => (/* reexport safe */ _components_view__WEBPACK_IMPORTED_MODULE_1__.View),\n/* harmony export */ renderStyle: () => (/* reexport safe */ _helpers_style__WEBPACK_IMPORTED_MODULE_4__.renderStyle),\n/* harmony export */ useMediaContext: () => (/* reexport safe */ _contexts_media__WEBPACK_IMPORTED_MODULE_2__.useMediaContext),\n/* harmony export */ useThemeContext: () => (/* reexport safe */ _contexts_theme__WEBPACK_IMPORTED_MODULE_3__.useThemeContext),\n/* harmony export */ useThemeStyleSheet: () => (/* reexport safe */ _hooks_use_theme_style_sheet__WEBPACK_IMPORTED_MODULE_5__.useThemeStyleSheet)\n/* harmony export */ });\n/* harmony import */ var _components_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/components/text */ \"./source/components/text/index.ts\");\n/* harmony import */ var _components_view__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components/view */ \"./source/components/view/index.ts\");\n/* harmony import */ var _contexts_media__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/contexts/media */ \"./source/contexts/media/index.ts\");\n/* harmony import */ var _contexts_theme__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/contexts/theme */ \"./source/contexts/theme/index.ts\");\n/* harmony import */ var _helpers_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/helpers/style */ \"./source/helpers/style/index.ts\");\n/* harmony import */ var _hooks_use_theme_style_sheet__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/hooks/use-theme-style-sheet */ \"./source/hooks/use-theme-style-sheet.ts\");\n/**\n * Exports all public stuff, including types.\n * Allows to keep some exports private at the same time.\n */\n\n\n\n\n\n\n\n//# sourceURL=webpack://creactive/./source/index.ts?");
|
|
400
|
-
|
|
401
|
-
/***/ }),
|
|
402
|
-
|
|
403
|
-
/***/ "./node_modules/react/cjs/react-jsx-runtime.development.js":
|
|
404
|
-
/*!*****************************************************************!*\
|
|
405
|
-
!*** ./node_modules/react/cjs/react-jsx-runtime.development.js ***!
|
|
406
|
-
\*****************************************************************/
|
|
407
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
408
|
-
|
|
409
|
-
eval("/**\n * @license React\n * react-jsx-runtime.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\nif (true) {\n (function() {\n'use strict';\n\nvar React = __webpack_require__(/*! react */ \"react\");\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (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 || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('<anonymous>')) {\n _frame = _frame.replace('<anonymous>', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // 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\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 // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n\n\n//# sourceURL=webpack://creactive/./node_modules/react/cjs/react-jsx-runtime.development.js?");
|
|
410
|
-
|
|
411
|
-
/***/ }),
|
|
412
|
-
|
|
413
|
-
/***/ "./node_modules/react/jsx-runtime.js":
|
|
414
|
-
/*!*******************************************!*\
|
|
415
|
-
!*** ./node_modules/react/jsx-runtime.js ***!
|
|
416
|
-
\*******************************************/
|
|
417
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
418
|
-
|
|
419
|
-
eval("\n\nif (false) {} else {\n module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.development.js */ \"./node_modules/react/cjs/react-jsx-runtime.development.js\");\n}\n\n\n//# sourceURL=webpack://creactive/./node_modules/react/jsx-runtime.js?");
|
|
420
|
-
|
|
421
|
-
/***/ }),
|
|
422
|
-
|
|
423
|
-
/***/ "@emotion/styled":
|
|
424
|
-
/*!**********************************!*\
|
|
425
|
-
!*** external "@emotion/styled" ***!
|
|
426
|
-
\**********************************/
|
|
427
|
-
/***/ ((module) => {
|
|
428
|
-
|
|
429
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__emotion_styled__;
|
|
430
|
-
|
|
431
|
-
/***/ }),
|
|
432
|
-
|
|
433
|
-
/***/ "react":
|
|
434
|
-
/*!************************!*\
|
|
435
|
-
!*** external "react" ***!
|
|
436
|
-
\************************/
|
|
437
|
-
/***/ ((module) => {
|
|
438
|
-
|
|
439
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE_react__;
|
|
440
|
-
|
|
441
|
-
/***/ }),
|
|
442
|
-
|
|
443
|
-
/***/ "react-native":
|
|
444
|
-
/*!*******************************!*\
|
|
445
|
-
!*** external "react-native" ***!
|
|
446
|
-
\*******************************/
|
|
447
|
-
/***/ ((module) => {
|
|
448
|
-
|
|
449
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE_react_native__;
|
|
450
|
-
|
|
451
|
-
/***/ })
|
|
452
|
-
|
|
453
|
-
/******/ });
|
|
454
|
-
/************************************************************************/
|
|
455
|
-
/******/ // The module cache
|
|
456
|
-
/******/ var __webpack_module_cache__ = {};
|
|
457
|
-
/******/
|
|
458
|
-
/******/ // The require function
|
|
459
|
-
/******/ function __webpack_require__(moduleId) {
|
|
460
|
-
/******/ // Check if module is in cache
|
|
461
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
462
|
-
/******/ if (cachedModule !== undefined) {
|
|
463
|
-
/******/ return cachedModule.exports;
|
|
464
|
-
/******/ }
|
|
465
|
-
/******/ // Create a new module (and put it into the cache)
|
|
466
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
467
|
-
/******/ // no module.id needed
|
|
468
|
-
/******/ // no module.loaded needed
|
|
469
|
-
/******/ exports: {}
|
|
470
|
-
/******/ };
|
|
471
|
-
/******/
|
|
472
|
-
/******/ // Execute the module function
|
|
473
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
474
|
-
/******/
|
|
475
|
-
/******/ // Return the exports of the module
|
|
476
|
-
/******/ return module.exports;
|
|
477
|
-
/******/ }
|
|
478
|
-
/******/
|
|
479
|
-
/************************************************************************/
|
|
480
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
481
|
-
/******/ (() => {
|
|
482
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
483
|
-
/******/ __webpack_require__.n = (module) => {
|
|
484
|
-
/******/ var getter = module && module.__esModule ?
|
|
485
|
-
/******/ () => (module['default']) :
|
|
486
|
-
/******/ () => (module);
|
|
487
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
488
|
-
/******/ return getter;
|
|
489
|
-
/******/ };
|
|
490
|
-
/******/ })();
|
|
491
|
-
/******/
|
|
492
|
-
/******/ /* webpack/runtime/define property getters */
|
|
493
|
-
/******/ (() => {
|
|
494
|
-
/******/ // define getter functions for harmony exports
|
|
495
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
496
|
-
/******/ for(var key in definition) {
|
|
497
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
498
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
499
|
-
/******/ }
|
|
500
|
-
/******/ }
|
|
501
|
-
/******/ };
|
|
502
|
-
/******/ })();
|
|
503
|
-
/******/
|
|
504
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
505
|
-
/******/ (() => {
|
|
506
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
507
|
-
/******/ })();
|
|
508
|
-
/******/
|
|
509
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
510
|
-
/******/ (() => {
|
|
511
|
-
/******/ // define __esModule on exports
|
|
512
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
513
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
514
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
515
|
-
/******/ }
|
|
516
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
517
|
-
/******/ };
|
|
518
|
-
/******/ })();
|
|
519
|
-
/******/
|
|
520
|
-
/************************************************************************/
|
|
521
|
-
/******/
|
|
522
|
-
/******/ // startup
|
|
523
|
-
/******/ // Load entry module and return exports
|
|
524
|
-
/******/ // This entry module can't be inlined because the eval devtool is used.
|
|
525
|
-
/******/ var __webpack_exports__ = __webpack_require__("./source/index.ts");
|
|
526
|
-
/******/
|
|
527
|
-
/******/ return __webpack_exports__;
|
|
528
|
-
/******/ })()
|
|
529
|
-
;
|
|
530
|
-
});
|
|
1
|
+
/*! For license information please see default.js.LICENSE.txt */
|
|
2
|
+
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react"),require("react-native"),require("@emotion/styled")):"function"==typeof define&&define.amd?define("creactive",["react","react-native","@emotion/styled"],n):"object"==typeof exports?exports.creactive=n(require("react"),require("react-native"),require("@emotion/styled")):e.creactive=n(e.react,e["react-native"],e["@emotion/styled"])}(this,((e,n,t)=>(()=>{"use strict";var a={625:(e,n,t)=>{t.d(n,{CN:()=>p,th:()=>f,F5:()=>L,uY:()=>c,VR:()=>M,b9:()=>d,zt:()=>y,vo:()=>T,o5:()=>v,nJ:()=>E,CD:()=>b,I1:()=>R,FI:()=>F,wj:()=>h,TL:()=>m,co:()=>I,SQ:()=>N});var a,r,o,i,s,g,l,B,u,c=function(e){return e[e.COLUMN=0]="COLUMN",e[e.ROW=1]="ROW",e}({}),d=function(e){return e[e.FLEX_START=0]="FLEX_START",e[e.FLEX_END=1]="FLEX_END",e[e.CENTER=2]="CENTER",e[e.SPACE_BETWEEN=3]="SPACE_BETWEEN",e[e.SPACE_AROUND=4]="SPACE_AROUND",e[e.SPACE_EVENLY=5]="SPACE_EVENLY",e}({}),f=function(e){return e[e.FLEX_START=0]="FLEX_START",e[e.FLEX_END=1]="FLEX_END",e[e.CENTER=2]="CENTER",e[e.STRETCH=3]="STRETCH",e[e.BASELINE=4]="BASELINE",e}({}),L=function(e){return e[e.FLEX_START=0]="FLEX_START",e[e.FLEX_END=1]="FLEX_END",e[e.CENTER=2]="CENTER",e[e.STRETCH=3]="STRETCH",e[e.BASELINE=4]="BASELINE",e}({}),p=function(e){return e[e.FLEX_START=0]="FLEX_START",e[e.FLEX_END=1]="FLEX_END",e[e.CENTER=2]="CENTER",e[e.STRETCH=3]="STRETCH",e[e.SPACE_BETWEEN=4]="SPACE_BETWEEN",e[e.SPACE_AROUND=5]="SPACE_AROUND",e}({});function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function X(e,n,t){return(n=function(e){var n=function(e){if("object"!=S(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=S(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==S(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var m=function(e){return e[e.X2S=0]="X2S",e[e.XS=1]="XS",e[e.SM=2]="SM",e[e.MD=3]="MD",e[e.LG=4]="LG",e[e.XL=5]="XL",e[e.X2L=6]="X2L",e[e.X3L=7]="X3L",e[e.X4L=8]="X4L",e[e.X5L=9]="X5L",e[e.X6L=10]="X6L",e[e.X7L=11]="X7L",e}({}),E=(X(X(X(X(X(X(X(X(X(X(a={},m.X2S,"marginTopBaseX2S"),m.XS,"marginTopBaseXS"),m.SM,"marginTopBaseSM"),m.MD,"marginTopBaseMD"),m.LG,"marginTopBaseLG"),m.XL,"marginTopBaseXL"),m.X2L,"marginTopBaseX2L"),m.X3L,"marginTopBaseX3L"),m.X4L,"marginTopBaseX4L"),m.X5L,"marginTopBaseX5L"),X(X(a,m.X6L,"marginTopBaseX6L"),m.X7L,"marginTopBaseX7L")),h=(X(X(X(X(X(X(X(X(X(X(r={},m.X2S,"paddingTopBaseX2S"),m.XS,"paddingTopBaseXS"),m.SM,"paddingTopBaseSM"),m.MD,"paddingTopBaseMD"),m.LG,"paddingTopBaseLG"),m.XL,"paddingTopBaseXL"),m.X2L,"paddingTopBaseX2L"),m.X3L,"paddingTopBaseX3L"),m.X4L,"paddingTopBaseX4L"),m.X5L,"paddingTopBaseX5L"),X(X(r,m.X6L,"paddingTopBaseX6L"),m.X7L,"paddingTopBaseX7L")),T=(X(X(X(X(X(X(X(X(X(X(o={},m.X2S,"marginLeftBaseX2S"),m.XS,"marginLeftBaseXS"),m.SM,"marginLeftBaseSM"),m.MD,"marginLeftBaseMD"),m.LG,"marginLeftBaseLG"),m.XL,"marginLeftBaseXL"),m.X2L,"marginLeftBaseX2L"),m.X3L,"marginLeftBaseX3L"),m.X4L,"marginLeftBaseX4L"),m.X5L,"marginLeftBaseX5L"),X(X(o,m.X6L,"marginLeftBaseX6L"),m.X7L,"marginLeftBaseX7L")),R=(X(X(X(X(X(X(X(X(X(X(i={},m.X2S,"paddingLeftBaseX2S"),m.XS,"paddingLeftBaseXS"),m.SM,"paddingLeftBaseSM"),m.MD,"paddingLeftBaseMD"),m.LG,"paddingLeftBaseLG"),m.XL,"paddingLeftBaseXL"),m.X2L,"paddingLeftBaseX2L"),m.X3L,"paddingLeftBaseX3L"),m.X4L,"paddingLeftBaseX4L"),m.X5L,"paddingLeftBaseX5L"),X(X(i,m.X6L,"paddingLeftBaseX6L"),m.X7L,"paddingLeftBaseX7L")),v=(X(X(X(X(X(X(X(X(X(X(s={},m.X2S,"marginRightBaseX2S"),m.XS,"marginRightBaseXS"),m.SM,"marginRightBaseSM"),m.MD,"marginRightBaseMD"),m.LG,"marginRightBaseLG"),m.XL,"marginRightBaseXL"),m.X2L,"marginRightBaseX2L"),m.X3L,"marginRightBaseX3L"),m.X4L,"marginRightBaseX4L"),m.X5L,"marginRightBaseX5L"),X(X(s,m.X6L,"marginRightBaseX6L"),m.X7L,"marginRightBaseX7L")),F=(X(X(X(X(X(X(X(X(X(X(g={},m.X2S,"paddingRightBaseX2S"),m.XS,"paddingRightBaseXS"),m.SM,"paddingRightBaseSM"),m.MD,"paddingRightBaseMD"),m.LG,"paddingRightBaseLG"),m.XL,"paddingRightBaseXL"),m.X2L,"paddingRightBaseX2L"),m.X3L,"paddingRightBaseX3L"),m.X4L,"paddingRightBaseX4L"),m.X5L,"paddingRightBaseX5L"),X(X(g,m.X6L,"paddingRightBaseX6L"),m.X7L,"paddingRightBaseX7L")),y=(X(X(X(X(X(X(X(X(X(X(l={},m.X2S,"marginBottomBaseX2S"),m.XS,"marginBottomBaseXS"),m.SM,"marginBottomBaseSM"),m.MD,"marginBottomBaseMD"),m.LG,"marginBottomBaseLG"),m.XL,"marginBottomBaseXL"),m.X2L,"marginBottomBaseX2L"),m.X3L,"marginBottomBaseX3L"),m.X4L,"marginBottomBaseX4L"),m.X5L,"marginBottomBaseX5L"),X(X(l,m.X6L,"marginBottomBaseX6L"),m.X7L,"marginBottomBaseX7L")),b=(X(X(X(X(X(X(X(X(X(X(B={},m.X2S,"paddingBottomBaseX2S"),m.XS,"paddingBottomBaseXS"),m.SM,"paddingBottomBaseSM"),m.MD,"paddingBottomBaseMD"),m.LG,"paddingBottomBaseLG"),m.XL,"paddingBottomBaseXL"),m.X2L,"paddingBottomBaseX2L"),m.X3L,"paddingBottomBaseX3L"),m.X4L,"paddingBottomBaseX4L"),m.X5L,"paddingBottomBaseX5L"),X(X(B,m.X6L,"paddingBottomBaseX6L"),m.X7L,"paddingBottomBaseX7L")),I=(X(X(X(X(X(X(X(X(X(X(u={},m.X2S,"spacingBaseX2S"),m.XS,"spacingBaseXS"),m.SM,"spacingBaseSM"),m.MD,"spacingBaseMD"),m.LG,"spacingBaseLG"),m.XL,"spacingBaseXL"),m.X2L,"spacingBaseX2L"),m.X3L,"spacingBaseX3L"),m.X4L,"spacingBaseX4L"),m.X5L,"spacingBaseX5L"),X(X(u,m.X6L,"spacingBaseX6L"),m.X7L,"spacingBaseX7L"));function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}function C(e,n,t){return(n=function(e){var n=function(e){if("object"!=A(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=A(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==A(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var N=function(e){return e[e.DIV=0]="DIV",e[e.FIGURE=1]="FIGURE",e[e.FIGCAPTION=2]="FIGCAPTION",e[e.ARTICLE=3]="ARTICLE",e[e.SECTION=4]="SECTION",e[e.HEADER=5]="HEADER",e[e.MAIN=6]="MAIN",e[e.FOOTER=7]="FOOTER",e}({}),M=C(C(C(C(C(C(C(C({},N.DIV,"div"),N.FIGURE,"figure"),N.FIGCAPTION,"figcaption"),N.ARTICLE,"article"),N.SECTION,"section"),N.HEADER,"header"),N.MAIN,"main"),N.FOOTER,"footer")},395:(e,n,t)=>{t.d(n,{GK:()=>h,lF:()=>L,r1:()=>X,kP:()=>l,VW:()=>c,vD:()=>C,hX:()=>y,w7:()=>I,Vf:()=>v,Gd:()=>N,mu:()=>b,XV:()=>A,we:()=>F,g$:()=>M});var a=t(389),r=t(625);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,n,t){return(n=function(e){var n=function(e){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=o(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var s=a.StyleSheet.create({flexDirectionColumn:{flexDirection:"column"},flexDirectionRow:{flexDirection:"row"}}),g=i(i({},r.uY.COLUMN,s.flexDirectionColumn),r.uY.ROW,s.flexDirectionRow),l=function(e){return g[e]},B=a.StyleSheet.create({justifuContentFlexStart:{justifyContent:"flex-start"},justifuContentFlexEnd:{justifyContent:"flex-end"},justifuContentCenter:{justifyContent:"center"},justifuContentSpaceBetween:{justifyContent:"space-between"},justifuContentSpaceAround:{justifyContent:"space-around"},justifuContentSpaceEvenly:{justifyContent:"space-evenly"}}),u=i(i(i(i(i(i({},r.b9.FLEX_START,B.justifuContentFlexStart),r.b9.FLEX_END,B.justifuContentFlexEnd),r.b9.CENTER,B.justifuContentCenter),r.b9.SPACE_BETWEEN,B.justifuContentSpaceBetween),r.b9.SPACE_AROUND,B.justifuContentSpaceAround),r.b9.SPACE_EVENLY,B.justifuContentSpaceEvenly),c=function(e){return u[e]},d=a.StyleSheet.create({alignItemsFlexStart:{alignItems:"flex-start"},alignItemsFlexEnd:{alignItems:"flex-end"},alignItemsCenter:{alignItems:"center"},alignItemsStretch:{alignItems:"stretch"},alignItemsBaseline:{alignItems:"baseline"}}),f=i(i(i(i(i({},r.th.FLEX_START,d.alignItemsFlexStart),r.th.FLEX_END,d.alignItemsFlexEnd),r.th.CENTER,d.alignItemsCenter),r.th.STRETCH,d.alignItemsStretch),r.th.BASELINE,d.alignItemsBaseline),L=function(e){return f[e]},p=a.StyleSheet.create({alignSelfFlexStart:{alignSelf:"flex-start"},alignSelfFlexEnd:{alignSelf:"flex-end"},alignSelfCenter:{alignSelf:"center"},alignSelfStretch:{alignSelf:"stretch"},alignSelfBaseline:{alignSelf:"baseline"}}),S=i(i(i(i(i({},r.F5.FLEX_START,p.alignSelfFlexStart),r.F5.FLEX_END,p.alignSelfFlexEnd),r.F5.CENTER,p.alignSelfCenter),r.F5.STRETCH,p.alignSelfStretch),r.F5.BASELINE,p.alignSelfBaseline),X=function(e){return S[e]},m=a.StyleSheet.create({alignContentFlexStart:{alignContent:"flex-start"},alignContentFlexEnd:{alignContent:"flex-end"},alignContentCenter:{alignContent:"center"},alignContentStretch:{alignContent:"stretch"},alignContentSpaceBetween:{alignContent:"space-between"},alignContentSpaceAround:{alignContent:"space-around"},valignContentSpaceEvenly:{alignContent:"space-evenly"}}),E=i(i(i(i(i(i({},r.CN.FLEX_START,m.alignContentFlexStart),r.CN.FLEX_END,m.alignContentFlexEnd),r.CN.CENTER,m.alignContentCenter),r.CN.STRETCH,m.alignContentStretch),r.CN.SPACE_BETWEEN,m.alignContentSpaceBetween),r.CN.SPACE_AROUND,m.alignContentSpaceAround),h=function(e){return E[e]},T=t(695),R=t(909),v=function(e){return(0,R.J)()[r.nJ[e]]},F=function(e){return(0,R.J)()[r.wj[e]]},y=function(e){return(0,R.J)()[r.vo[e]]},b=function(e){return(0,R.J)()[r.I1[e]]},I=function(e){return(0,R.J)()[r.o5[e]]},A=function(e){return(0,R.J)()[r.FI[e]]},C=function(e){return(0,R.J)()[r.zt[e]]},N=function(e){return(0,R.J)()[r.CD[e]]},M=function(e){var n;return null!==(n=(0,T.wR)()[r.co[e]])&&void 0!==n?n:0}},689:(e,n,t)=>{t.d(n,{A:()=>l});var a=t(389),r=t(625),o=t(395),i=t(848),s=a.StyleSheet.create({default:{display:"flex",margin:0,padding:0,zIndex:0,position:"relative",listStyle:"none",textDecoration:"none",boxSizing:"border-box"}}),g=function(e){var n=e.flexDirection,t=void 0===n?r.uY.COLUMN:n,g=e.justifyContent,l=void 0===g?r.b9.FLEX_START:g,B=e.alignItems,u=void 0===B?r.th.STRETCH:B,c=e.alignSelf,d=e.alignContent,f=void 0===d?r.CN.FLEX_START:d,L=e.marginTop,p=e.paddingTop,S=e.marginLeft,X=e.paddingLeft,m=e.marginRight,E=e.paddingRight,h=e.marginBottom,T=e.paddingBottom,R=e.children;return(0,i.jsx)(a.View,{style:[s.default,(0,o.kP)(t),(0,o.VW)(l),(0,o.lF)(u),(0,o.r1)(c),(0,o.GK)(f),(0,o.Vf)(L),(0,o.we)(p),(0,o.hX)(S),(0,o.mu)(X),(0,o.w7)(m),(0,o.XV)(E),(0,o.vD)(h),(0,o.Gd)(T)],children:R})};g.Tag=r.SQ,g.FlexDirection=r.uY,g.JustifyContent=r.b9,g.AlignItems=r.th,g.AlignSelf=r.F5,g.AlignContent=r.CN,g.Spacing=r.TL;const l=g},741:(e,n,t)=>{t.d(n,{A:()=>E});var a,r=t(729),o=t.n(r),i=t(625);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function g(e,n,t){return(n=function(e){var n=function(e){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=s(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var l,B,u=g(g({},i.uY.COLUMN,"column"),i.uY.ROW,"row"),c=g(g(g(g(g(g({},i.b9.FLEX_START,"flex-start"),i.b9.FLEX_END,"flex-end"),i.b9.CENTER,"center"),i.b9.SPACE_BETWEEN,"space-between"),i.b9.SPACE_AROUND,"space-around"),i.b9.SPACE_EVENLY,"space-evenly"),d=g(g(g(g(g({},i.th.FLEX_START,"flex-start"),i.th.FLEX_END,"flex-end"),i.th.STRETCH,"stretch"),i.th.CENTER,"center"),i.th.BASELINE,"baseline"),f=g(g(g(g(g({},i.F5.FLEX_START,"flex-start"),i.F5.FLEX_END,"flex-end"),i.F5.CENTER,"center"),i.F5.STRETCH,"stretch"),i.F5.BASELINE,"baseline"),L=g(g(g(g(g(g({},i.CN.FLEX_START,"flex-start"),i.CN.FLEX_END,"flex-end"),i.CN.CENTER,"center"),i.CN.STRETCH,"stretch"),i.CN.SPACE_BETWEEN,"space-between"),i.CN.SPACE_AROUND,"space-around"),p=o().div(a||(l=["\n display: flex;\n margin: 0;\n padding: 0;\n z-index: 0;\n position: relative;\n list-style: none;\n text-decoration: none;\n box-sizing: border-box;\n flex-direction: ",";\n justify-content: ",";\n align-items: ",";\n align-self: ",";\n align-content: ",";\n margin-top: ","px;\n padding-top: ","px;\n margin-left: ","px;\n padding-left: ","px;\n margin-right: ","px;\n padding-right: ","px;\n margin-bottom: ","px;\n padding-bottom: ","px;\n"],B||(B=l.slice(0)),a=Object.freeze(Object.defineProperties(l,{raw:{value:Object.freeze(B)}}))),(function(e){var n=e.flexDirection;return u[n]}),(function(e){var n=e.justifyContent;return c[n]}),(function(e){var n=e.alignItems;return d[n]}),(function(e){var n=e.alignSelf;return f[n]}),(function(e){var n=e.alignContent;return L[n]}),(function(e){return e.marginTop}),(function(e){return e.paddingTop}),(function(e){return e.marginLeft}),(function(e){return e.paddingLeft}),(function(e){return e.marginRight}),(function(e){return e.paddingRight}),(function(e){return e.marginBottom}),(function(e){return e.paddingBottom})),S=t(395),X=t(848),m=function(e){var n=e.tag,t=void 0===n?i.SQ.DIV:n,a=e.flexDirection,r=void 0===a?i.uY.COLUMN:a,o=e.justifyContent,s=void 0===o?i.b9.FLEX_START:o,g=e.alignItems,l=void 0===g?i.th.STRETCH:g,B=e.alignSelf,u=e.alignContent,c=void 0===u?i.CN.FLEX_START:u,d=e.marginTop,f=e.paddingTop,L=e.marginLeft,m=e.paddingLeft,E=e.marginRight,h=e.paddingRight,T=e.marginBottom,R=e.paddingBottom,v=e.children;return(0,X.jsx)(p,{as:i.VR[t],flexDirection:r,justifyContent:s,alignItems:l,alignSelf:B,alignContent:c,marginTop:(0,S.g$)(d),paddingTop:(0,S.g$)(f),marginLeft:(0,S.g$)(L),paddingLeft:(0,S.g$)(m),marginRight:(0,S.g$)(E),paddingRight:(0,S.g$)(h),marginBottom:(0,S.g$)(T),paddingBottom:(0,S.g$)(R),children:v})};m.Tag=i.SQ,m.FlexDirection=i.uY,m.JustifyContent=i.b9,m.AlignItems=i.th,m.AlignSelf=i.F5,m.AlignContent=i.CN,m.Spacing=i.TL;const E=m},695:(e,n,t)=>{t.d(n,{wR:()=>a.d}),t(410);var a=t(156)},410:(e,n,t)=>{t.d(n,{$U:()=>L,tZ:()=>g,$c:()=>l});var a=t(155),r=t(389),o=function(e){return e[e.MD=0]="MD",e[e.LG=1]="LG",e[e.XL=2]="XL",e}({}),i=t(848),s=(0,a.createContext)({}),g=function(e){var n=e.breakpointMD,t=e.breakpointLG,g=e.breakpointXL,l=e.children,B=function(e,n,t){var i=(0,r.useWindowDimensions)().width;return(0,a.useMemo)((function(){return i>=t?o.XL:i>=n?o.LG:i>=e?o.MD:void 0}),[i>=t,i>=n,i>=e])}(null!=n?n:768,null!=t?t:1024,null!=g?g:1280),u=(0,a.useMemo)((function(){return{breakpoint:B}}),[B]);return(0,i.jsx)(s.Provider,{value:u,children:(0,i.jsx)(S,{children:l})})},l=function(){return(0,a.useContext)(s)};function B(e){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B(e)}function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function c(e,n,t){return(n=function(e){var n=function(e){if("object"!=B(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=B(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==B(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var d=c(c(c({},o.MD,1),o.LG,2),o.XL,3),f=function(e,n){return d[e]>d[n]},L=r.Platform.select({web:function(e){var n,t,r=e.isDefault,o=e.isOtherwise,i=e.breakpoint,s=e.children,g=l(),B=(n=(0,a.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,r,o,i,s=[],g=!0,l=!1;try{if(o=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;g=!1}else for(;!(g=(a=o.call(t)).done)&&(s.push(a.value),s.length!==n);g=!0);}catch(e){l=!0,r=e}finally{try{if(!g&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return s}}(n,t)||function(e,n){if(e){if("string"==typeof e)return u(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(e,n):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=B[0],d=B[1];if((0,a.useEffect)((function(){d(!0)}),[]),c){if(r&&void 0===g.breakpoint)return s;if(g.breakpoint===i)return s;if(o&&f(g.breakpoint,i))return s}else if(r)return s},default:function(e){var n=e.isDefault,t=e.isOtherwise,a=e.breakpoint,r=e.children,o=l();return n&&void 0===o.breakpoint||o.breakpoint===a||t&&f(o.breakpoint,a)?r:void 0}});function p(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}L.Breakpoint=o;var S=r.Platform.select({web:function(e){var n,t,r=e.children,o=(0,a.useRef)(),s=(n=(0,a.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,r,o,i,s=[],g=!0,l=!1;try{if(o=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;g=!1}else for(;!(g=(a=o.call(t)).done)&&(s.push(a.value),s.length!==n);g=!0);}catch(e){l=!0,r=e}finally{try{if(!g&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return s}}(n,t)||function(e,n){if(e){if("string"==typeof e)return p(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?p(e,n):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),g=s[0],l=s[1];(0,a.useEffect)((function(){l(!0)}),[]);var B=(0,a.useMemo)((function(){return g||"undefined"==typeof window||"undefined"==typeof document?{display:"flex",flexGrow:1,flexShrink:1,flexBasis:"100%",flexDirection:"column"}:{display:"none",flexGrow:1,flexShrink:1,flexBasis:"100%",flexDirection:"column"}}),[g]);return(0,i.jsxs)("div",{ref:o,style:B,suppressHydrationWarning:!0,children:[(0,i.jsx)("script",{dangerouslySetInnerHTML:{__html:'document.currentScript.parentElement.style.display="none"'}}),r]})},default:function(e){return e.children}})},156:(e,n,t)=>{t.d(n,{w:()=>F,d:()=>y});var a="rgb(244,244,245)",r="rgb(228,228,231)",o="rgb(212,212,216)",i="rgb(159,159,169)",s="rgb(113,113,123)",g="rgb(82,82,92)",l="rgb(63,63,70)",B="rgb(39,39,42)",u="rgb(24,24,27)",c="rgb(24,24,27)",d="rgb(39,39,42)",f="rgb(63,63,70)",L="rgb(82,82,92)",p="rgb(113,113,123)",S="rgb(159,159,169)",X="rgb(212,212,216)",m="rgb(228,228,231)",E="rgb(244,244,245)",h=["ui-sans-serif","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto","Helvetica","Arial","sans-serif"].join(","),T=t(155),R=t(848),v=(0,T.createContext)({colorForegroundBase100:a,colorForegroundBase200:r,colorForegroundBase300:o,colorForegroundBase400:i,colorForegroundBase500:s,colorForegroundBase600:g,colorForegroundBase700:l,colorForegroundBase800:B,colorForegroundBase900:u,colorForegroundInverse100:c,colorForegroundInverse200:d,colorForegroundInverse300:f,colorForegroundInverse400:L,colorForegroundInverse500:p,colorForegroundInverse600:S,colorForegroundInverse700:X,colorForegroundInverse800:m,colorForegroundInverse900:E,fontFamilyBase:h,fontWeightBaseThin:100,fontWeightBaseExtraLight:200,fontWeightBaseLight:300,fontWeightBaseRegular:400,fontWeightBaseMedium:500,fontWeightBaseSemibold:600,fontWeightBaseBold:700,fontWeightBaseExtraBold:800,fontWeightBaseBlack:900,fontSizeBaseX2S:12,fontSizeBaseXS:14,fontSizeBaseSM:16,fontSizeBaseMD:18,fontSizeBaseLG:20,fontSizeBaseXL:24,fontSizeBaseX2L:30,fontSizeBaseX3L:36,fontSizeBaseX4L:48,fontSizeBaseX5L:60,lineHeightBaseNone:1,lineHeightBaseTight:1.25,lineHeightBaseSnug:1.375,lineHeightBaseNormal:1.5,lineHeightBaseRelaxed:1.625,lineHeightBaseLoose:2,spacingBaseX2S:2,spacingBaseXS:4,spacingBaseSM:6,spacingBaseMD:8,spacingBaseLG:10,spacingBaseXL:12,spacingBaseX2L:14,spacingBaseX3L:16,spacingBaseX4L:20,spacingBaseX5L:24,spacingBaseX6L:28,spacingBaseX7L:32}),F=function(e){var n=e.colorForegroundBase100,t=e.colorForegroundBase200,F=e.colorForegroundBase300,y=e.colorForegroundBase400,b=e.colorForegroundBase500,I=e.colorForegroundBase600,A=e.colorForegroundBase700,C=e.colorForegroundBase800,N=e.colorForegroundBase900,M=e.colorForegroundInverse100,_=e.colorForegroundInverse200,x=e.colorForegroundInverse300,D=e.colorForegroundInverse400,H=e.colorForegroundInverse500,z=e.colorForegroundInverse600,G=e.colorForegroundInverse700,O=e.colorForegroundInverse800,W=e.colorForegroundInverse900,j=e.fontFamilyBase,w=e.fontWeightBaseThin,P=e.fontWeightBaseExtraLight,V=e.fontWeightBaseLight,U=e.fontWeightBaseRegular,k=e.fontWeightBaseMedium,J=e.fontWeightBaseSemibold,$=e.fontWeightBaseBold,Y=e.fontWeightBaseExtraBold,q=e.fontWeightBaseBlack,K=e.fontSizeBaseX2S,Q=e.fontSizeBaseXS,Z=e.fontSizeBaseSM,ee=e.fontSizeBaseMD,ne=e.fontSizeBaseLG,te=e.fontSizeBaseXL,ae=e.fontSizeBaseX2L,re=e.fontSizeBaseX3L,oe=e.fontSizeBaseX4L,ie=e.fontSizeBaseX5L,se=e.lineHeightBaseNone,ge=e.lineHeightBaseTight,le=e.lineHeightBaseSnug,Be=e.lineHeightBaseNormal,ue=e.lineHeightBaseRelaxed,ce=e.lineHeightBaseLoose,de=e.spacingBaseX2S,fe=e.spacingBaseXS,Le=e.spacingBaseSM,pe=e.spacingBaseMD,Se=e.spacingBaseLG,Xe=e.spacingBaseXL,me=e.spacingBaseX2L,Ee=e.spacingBaseX3L,he=e.spacingBaseX4L,Te=e.spacingBaseX5L,Re=e.spacingBaseX6L,ve=e.spacingBaseX7L,Fe=e.children,ye=(0,T.useMemo)((function(){return{colorForegroundBase100:null!=n?n:a,colorForegroundBase200:null!=t?t:r,colorForegroundBase300:null!=F?F:o,colorForegroundBase400:null!=y?y:i,colorForegroundBase500:null!=b?b:s,colorForegroundBase600:null!=I?I:g,colorForegroundBase700:null!=A?A:l,colorForegroundBase800:null!=C?C:B,colorForegroundBase900:null!=N?N:u,colorForegroundInverse100:null!=M?M:c,colorForegroundInverse200:null!=_?_:d,colorForegroundInverse300:null!=x?x:f,colorForegroundInverse400:null!=D?D:L,colorForegroundInverse500:null!=H?H:p,colorForegroundInverse600:null!=z?z:S,colorForegroundInverse700:null!=G?G:X,colorForegroundInverse800:null!=O?O:m,colorForegroundInverse900:null!=W?W:E,fontFamilyBase:null!=j?j:h,fontWeightBaseThin:null!=w?w:100,fontWeightBaseExtraLight:null!=P?P:200,fontWeightBaseLight:null!=V?V:300,fontWeightBaseRegular:null!=U?U:400,fontWeightBaseMedium:null!=k?k:500,fontWeightBaseSemibold:null!=J?J:600,fontWeightBaseBold:null!=$?$:700,fontWeightBaseExtraBold:null!=Y?Y:800,fontWeightBaseBlack:null!=q?q:900,fontSizeBaseX2S:null!=K?K:12,fontSizeBaseXS:null!=Q?Q:14,fontSizeBaseSM:null!=Z?Z:16,fontSizeBaseMD:null!=ee?ee:18,fontSizeBaseLG:null!=ne?ne:20,fontSizeBaseXL:null!=te?te:24,fontSizeBaseX2L:null!=ae?ae:30,fontSizeBaseX3L:null!=re?re:36,fontSizeBaseX4L:null!=oe?oe:48,fontSizeBaseX5L:null!=ie?ie:60,lineHeightBaseNone:null!=se?se:1,lineHeightBaseTight:null!=ge?ge:1.25,lineHeightBaseSnug:null!=le?le:1.375,lineHeightBaseNormal:null!=Be?Be:1.5,lineHeightBaseRelaxed:null!=ue?ue:1.625,lineHeightBaseLoose:null!=ce?ce:2,spacingBaseX2S:null!=de?de:2,spacingBaseXS:null!=fe?fe:4,spacingBaseSM:null!=Le?Le:6,spacingBaseMD:null!=pe?pe:8,spacingBaseLG:null!=Se?Se:10,spacingBaseXL:null!=Xe?Xe:12,spacingBaseX2L:null!=me?me:14,spacingBaseX3L:null!=Ee?Ee:16,spacingBaseX4L:null!=he?he:20,spacingBaseX5L:null!=Te?Te:24,spacingBaseX6L:null!=Re?Re:28,spacingBaseX7L:null!=ve?ve:32}}),[n,t,F,y,b,I,A,C,N,M,_,x,D,H,z,G,O,W,j,w,P,V,U,k,J,$,Y,q,K,Q,Z,ee,ne,te,ae,re,oe,ie,se,ge,le,Be,ue,ce,de,fe,Le,pe,Se,Xe,me,Ee,he,Te,Re,ve]);return(0,R.jsx)(v.Provider,{value:ye,children:Fe})},y=function(){return(0,T.useContext)(v)}},909:(e,n,t)=>{t.d(n,{J:()=>a.J});var a=t(408)},408:(e,n,t)=>{t.d(n,{J:()=>i});var a=t(156),r=t(155),o=t(389),i=function(){var e=(0,a.d)();return(0,r.useMemo)((function(){return o.StyleSheet.create({colorForegroundBase100:{color:e.colorForegroundBase100},colorForegroundBase200:{color:e.colorForegroundBase200},colorForegroundBase300:{color:e.colorForegroundBase300},colorForegroundBase400:{color:e.colorForegroundBase400},colorForegroundBase500:{color:e.colorForegroundBase500},colorForegroundBase600:{color:e.colorForegroundBase600},colorForegroundBase700:{color:e.colorForegroundBase700},colorForegroundBase800:{color:e.colorForegroundBase800},colorForegroundBase900:{color:e.colorForegroundBase900},colorForegroundInverse100:{color:e.colorForegroundInverse100},colorForegroundInverse200:{color:e.colorForegroundInverse200},colorForegroundInverse300:{color:e.colorForegroundInverse300},colorForegroundInverse400:{color:e.colorForegroundInverse400},colorForegroundInverse500:{color:e.colorForegroundInverse500},colorForegroundInverse600:{color:e.colorForegroundInverse600},colorForegroundInverse700:{color:e.colorForegroundInverse700},colorForegroundInverse800:{color:e.colorForegroundInverse800},colorForegroundInverse900:{color:e.colorForegroundInverse900},fontFamilyBase:{fontFamily:e.fontFamilyBase},fontWeightBaseThin:{fontWeight:e.fontWeightBaseThin},fontWeightBaseExtraLight:{fontWeight:e.fontWeightBaseExtraLight},fontWeightBaseLight:{fontWeight:e.fontWeightBaseLight},fontWeightBaseRegular:{fontWeight:e.fontWeightBaseRegular},fontWeightBaseMedium:{fontWeight:e.fontWeightBaseMedium},fontWeightBaseSemibold:{fontWeight:e.fontWeightBaseSemibold},fontWeightBaseBold:{fontWeight:e.fontWeightBaseBold},fontWeightBaseExtraBold:{fontWeight:e.fontWeightBaseExtraBold},fontWeightBaseBlack:{fontWeight:e.fontWeightBaseBlack},fontSizeBaseX2S:{fontSize:e.fontSizeBaseX2S},fontSizeBaseXS:{fontSize:e.fontSizeBaseXS},fontSizeBaseSM:{fontSize:e.fontSizeBaseSM},fontSizeBaseMD:{fontSize:e.fontSizeBaseMD},fontSizeBaseLG:{fontSize:e.fontSizeBaseLG},fontSizeBaseXL:{fontSize:e.fontSizeBaseXL},fontSizeBaseX2L:{fontSize:e.fontSizeBaseX2L},fontSizeBaseX3L:{fontSize:e.fontSizeBaseX3L},fontSizeBaseX4L:{fontSize:e.fontSizeBaseX4L},fontSizeBaseX5L:{fontSize:e.fontSizeBaseX5L},marginTopBaseX2S:{marginTop:e.spacingBaseX2S},paddingTopBaseX2S:{paddingTop:e.spacingBaseX2S},marginLeftBaseX2S:{marginLeft:e.spacingBaseX2S},paddingLeftBaseX2S:{paddingLeft:e.spacingBaseX2S},marginRightBaseX2S:{marginRight:e.spacingBaseX2S},paddingRightBaseX2S:{paddingRight:e.spacingBaseX2S},marginBottomBaseX2S:{marginBottom:e.spacingBaseX2S},paddingBottomBaseX2S:{paddingBottom:e.spacingBaseX2S},marginTopBaseXS:{marginTop:e.spacingBaseXS},paddingTopBaseXS:{paddingTop:e.spacingBaseXS},marginLeftBaseXS:{marginLeft:e.spacingBaseXS},paddingLeftBaseXS:{paddingLeft:e.spacingBaseXS},marginRightBaseXS:{marginRight:e.spacingBaseXS},paddingRightBaseXS:{paddingRight:e.spacingBaseXS},marginBottomBaseXS:{marginBottom:e.spacingBaseXS},paddingBottomBaseXS:{paddingBottom:e.spacingBaseXS},marginTopBaseSM:{marginTop:e.spacingBaseSM},paddingTopBaseSM:{paddingTop:e.spacingBaseSM},marginLeftBaseSM:{marginLeft:e.spacingBaseSM},paddingLeftBaseSM:{paddingLeft:e.spacingBaseSM},marginRightBaseSM:{marginRight:e.spacingBaseSM},paddingRightBaseSM:{paddingRight:e.spacingBaseSM},marginBottomBaseSM:{marginBottom:e.spacingBaseSM},paddingBottomBaseSM:{paddingBottom:e.spacingBaseSM},marginTopBaseMD:{marginTop:e.spacingBaseMD},paddingTopBaseMD:{paddingTop:e.spacingBaseMD},marginLeftBaseMD:{marginLeft:e.spacingBaseMD},paddingLeftBaseMD:{paddingLeft:e.spacingBaseMD},marginRightBaseMD:{marginRight:e.spacingBaseMD},paddingRightBaseMD:{paddingRight:e.spacingBaseMD},marginBottomBaseMD:{marginBottom:e.spacingBaseMD},paddingBottomBaseMD:{paddingBottom:e.spacingBaseMD},marginTopBaseLG:{marginTop:e.spacingBaseLG},paddingTopBaseLG:{paddingTop:e.spacingBaseLG},marginLeftBaseLG:{marginLeft:e.spacingBaseLG},paddingLeftBaseLG:{paddingLeft:e.spacingBaseLG},marginRightBaseLG:{marginRight:e.spacingBaseLG},paddingRightBaseLG:{paddingRight:e.spacingBaseLG},marginBottomBaseLG:{marginBottom:e.spacingBaseLG},paddingBottomBaseLG:{paddingBottom:e.spacingBaseLG},marginTopBaseXL:{marginTop:e.spacingBaseXL},paddingTopBaseXL:{paddingTop:e.spacingBaseXL},marginLeftBaseXL:{marginLeft:e.spacingBaseXL},paddingLeftBaseXL:{paddingLeft:e.spacingBaseXL},marginRightBaseXL:{marginRight:e.spacingBaseXL},paddingRightBaseXL:{paddingRight:e.spacingBaseXL},marginBottomBaseXL:{marginBottom:e.spacingBaseXL},paddingBottomBaseXL:{paddingBottom:e.spacingBaseXL},marginTopBaseX2L:{marginTop:e.spacingBaseX2L},paddingTopBaseX2L:{paddingTop:e.spacingBaseX2L},marginLeftBaseX2L:{marginLeft:e.spacingBaseX2L},paddingLeftBaseX2L:{paddingLeft:e.spacingBaseX2L},marginRightBaseX2L:{marginRight:e.spacingBaseX2L},paddingRightBaseX2L:{paddingRight:e.spacingBaseX2L},marginBottomBaseX2L:{marginBottom:e.spacingBaseX2L},paddingBottomBaseX2L:{paddingBottom:e.spacingBaseX2L},marginTopBaseX3L:{marginTop:e.spacingBaseX3L},paddingTopBaseX3L:{paddingTop:e.spacingBaseX3L},marginLeftBaseX3L:{marginLeft:e.spacingBaseX3L},paddingLeftBaseX3L:{paddingLeft:e.spacingBaseX3L},marginRightBaseX3L:{marginRight:e.spacingBaseX3L},paddingRightBaseX3L:{paddingRight:e.spacingBaseX3L},marginBottomBaseX3L:{marginBottom:e.spacingBaseX3L},paddingBottomBaseX3L:{paddingBottom:e.spacingBaseX3L},marginTopBaseX4L:{marginTop:e.spacingBaseX4L},paddingTopBaseX4L:{paddingTop:e.spacingBaseX4L},marginLeftBaseX4L:{marginLeft:e.spacingBaseX4L},paddingLeftBaseX4L:{paddingLeft:e.spacingBaseX4L},marginRightBaseX4L:{marginRight:e.spacingBaseX4L},paddingRightBaseX4L:{paddingRight:e.spacingBaseX4L},marginBottomBaseX4L:{marginBottom:e.spacingBaseX4L},paddingBottomBaseX4L:{paddingBottom:e.spacingBaseX4L},marginTopBaseX5L:{marginTop:e.spacingBaseX5L},paddingTopBaseX5L:{paddingTop:e.spacingBaseX5L},marginLeftBaseX5L:{marginLeft:e.spacingBaseX5L},paddingLeftBaseX5L:{paddingLeft:e.spacingBaseX5L},marginRightBaseX5L:{marginRight:e.spacingBaseX5L},paddingRightBaseX5L:{paddingRight:e.spacingBaseX5L},marginBottomBaseX5L:{marginBottom:e.spacingBaseX5L},paddingBottomBaseX5L:{paddingBottom:e.spacingBaseX5L},marginTopBaseX6L:{marginTop:e.spacingBaseX6L},paddingTopBaseX6L:{paddingTop:e.spacingBaseX6L},marginLeftBaseX6L:{marginLeft:e.spacingBaseX6L},paddingLeftBaseX6L:{paddingLeft:e.spacingBaseX6L},marginRightBaseX6L:{marginRight:e.spacingBaseX6L},paddingRightBaseX6L:{paddingRight:e.spacingBaseX6L},marginBottomBaseX6L:{marginBottom:e.spacingBaseX6L},paddingBottomBaseX6L:{paddingBottom:e.spacingBaseX6L},marginTopBaseX7L:{marginTop:e.spacingBaseX7L},paddingTopBaseX7L:{paddingTop:e.spacingBaseX7L},marginLeftBaseX7L:{marginLeft:e.spacingBaseX7L},paddingLeftBaseX7L:{paddingLeft:e.spacingBaseX7L},marginRightBaseX7L:{marginRight:e.spacingBaseX7L},paddingRightBaseX7L:{paddingRight:e.spacingBaseX7L},marginBottomBaseX7L:{marginBottom:e.spacingBaseX7L},paddingBottomBaseX7L:{paddingBottom:e.spacingBaseX7L}})}),[e])}},20:(e,n,t)=>{var a=t(155),r=Symbol.for("react.element"),o=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),i=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function g(e,n,t){var a,g={},l=null,B=null;for(a in void 0!==t&&(l=""+t),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(B=n.ref),n)o.call(n,a)&&!s.hasOwnProperty(a)&&(g[a]=n[a]);if(e&&e.defaultProps)for(a in n=e.defaultProps)void 0===g[a]&&(g[a]=n[a]);return{$$typeof:r,type:e,key:l,ref:B,props:g,_owner:i.current}}n.jsx=g,n.jsxs=g},848:(e,n,t)=>{e.exports=t(20)},729:e=>{e.exports=t},155:n=>{n.exports=e},389:e=>{e.exports=n}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var t=r[e]={exports:{}};return a[e](t,t.exports,o),t.exports}o.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return o.d(n,{a:n}),n},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};o.r(i),o.d(i,{Media:()=>v.$U,MediaContextProvider:()=>v.tZ,Text:()=>T,ThemeContextProvider:()=>F.w,View:()=>R,useMediaContext:()=>v.$c,useThemeContext:()=>F.d,useThemeStyleSheet:()=>y.J});var s=o(695),g=o(909),l=o(155),B=o(389),u=function(e){return e[e.TRANSPARENT=0]="TRANSPARENT",e[e.BASE_100=1]="BASE_100",e[e.BASE_200=2]="BASE_200",e[e.BASE_300=3]="BASE_300",e[e.BASE_400=4]="BASE_400",e[e.BASE_500=5]="BASE_500",e[e.BASE_600=6]="BASE_600",e[e.BASE_700=7]="BASE_700",e[e.BASE_800=8]="BASE_800",e[e.BASE_900=9]="BASE_900",e[e.INVERSE_100=10]="INVERSE_100",e[e.INVERSE_200=11]="INVERSE_200",e[e.INVERSE_300=12]="INVERSE_300",e[e.INVERSE_400=13]="INVERSE_400",e[e.INVERSE_500=14]="INVERSE_500",e[e.INVERSE_600=15]="INVERSE_600",e[e.INVERSE_700=16]="INVERSE_700",e[e.INVERSE_800=17]="INVERSE_800",e[e.INVERSE_900=18]="INVERSE_900",e}({}),c=function(e){return e[e.THIN=0]="THIN",e[e.EXTRA_LIGHT=1]="EXTRA_LIGHT",e[e.LIGHT=2]="LIGHT",e[e.REGULAR=3]="REGULAR",e[e.MEDIUM=4]="MEDIUM",e[e.SEMIBOLD=5]="SEMIBOLD",e[e.BOLD=6]="BOLD",e[e.EXTRA_BOLD=7]="EXTRA_BOLD",e[e.BLACK=8]="BLACK",e}({}),d=function(e){return e[e.X2S=0]="X2S",e[e.XS=1]="XS",e[e.SM=2]="SM",e[e.MD=3]="MD",e[e.LG=4]="LG",e[e.XL=5]="XL",e[e.X2L=6]="X2L",e[e.X3L=7]="X3L",e[e.X4L=8]="X4L",e[e.X5L=9]="X5L",e}({}),f=function(e){return e.HEADING="heading",e.PARAGRAPH="paragraph",e}({}),L=function(e){return e[e.LEFT=0]="LEFT",e[e.CENTER=1]="CENTER",e[e.RIGHT=2]="RIGHT",e}({}),p=function(e){return e[e.NONE=0]="NONE",e[e.TIGHT=1]="TIGHT",e[e.SNUG=2]="SNUG",e[e.NORMAL=3]="NORMAL",e[e.RELAXED=4]="RELAXED",e[e.LOOSE=5]="LOOSE",e}({}),S=function(e){return e[e.H1=0]="H1",e[e.H2=1]="H2",e[e.H3=2]="H3",e[e.H4=3]="H4",e[e.H5=4]="H5",e[e.H6=5]="H6",e[e.P=6]="P",e}({}),X=[S.H1,S.H2,S.H3,S.H4,S.H5,S.H6],m=o(848),E=B.StyleSheet.create({textPositionStatic:{position:"static"},textAlignLeft:{textAlign:"left"},textAlignCenter:{textAlign:"center"},textAlignRight:{textAlign:"right"},textColorTransparent:{color:"transparent"}}),h=new Map,T=function(e){var n=e.type,t=e.align,a=void 0===t?L.LEFT:t,r=e.fontWeight,o=void 0===r?c.REGULAR:r,i=e.fontSize,T=void 0===i?d.MD:i,R=e.lineHeight,v=void 0===R?p.NONE:R,F=e.maxLines,y=e.color,b=void 0===y?u.BASE_800:y,I=e.children,A=(0,s.wR)(),C=(0,g.J)(),N=(0,l.useMemo)((function(){var e=function(e,n){var t=[e,n].join("-");if(h.has(t))return h.get(t);var a=B.StyleSheet.create({textLineHeight:{lineHeight:e*n}});return h.set(t,a),a}(function(){switch(T){case d.X2S:return A.fontSizeBaseX2S;case d.XS:return A.fontSizeBaseXS;case d.SM:return A.fontSizeBaseSM;case d.MD:return A.fontSizeBaseMD;case d.LG:return A.fontSizeBaseLG;case d.XL:return A.fontSizeBaseXL;case d.X2L:return A.fontSizeBaseX2L;case d.X3L:return A.fontSizeBaseX3L;case d.X4L:return A.fontSizeBaseX4L;case d.X5L:return A.fontSizeBaseX5L}}(),function(){switch(v){case p.NONE:return A.lineHeightBaseNone;case p.TIGHT:return A.lineHeightBaseTight;case p.SNUG:return A.lineHeightBaseSnug;case p.NORMAL:return A.lineHeightBaseNormal;case p.RELAXED:return A.lineHeightBaseRelaxed;case p.LOOSE:return A.lineHeightBaseLoose}}());return e.textLineHeight}),[T,v,A]);return(0,m.jsx)(B.Text,{role:S.P===n?f.PARAGRAPH:X.includes(n)?f.HEADING:void 0,"aria-level":function(){if(X.includes(n)){if(n===S.H1)return 1;if(n===S.H2)return 2;if(n===S.H3)return 3;if(n===S.H4)return 4;if(n===S.H5)return 5;if(n===S.H6)return 6}}(),style:[E.textPositionStatic,C.fontFamilyBase,function(){switch(a){case L.LEFT:return E.textAlignLeft;case L.CENTER:return E.textAlignCenter;case L.RIGHT:return E.textAlignRight}}(),function(){switch(o){case c.THIN:return C.fontWeightBaseThin;case c.EXTRA_LIGHT:return C.fontWeightBaseExtraLight;case c.LIGHT:return C.fontWeightBaseLight;case c.REGULAR:return C.fontWeightBaseRegular;case c.MEDIUM:return C.fontWeightBaseMedium;case c.SEMIBOLD:return C.fontWeightBaseSemibold;case c.BOLD:return C.fontWeightBaseBold;case c.EXTRA_BOLD:return C.fontWeightBaseExtraBold;case c.BLACK:return C.fontWeightBaseBlack}}(),function(){switch(T){case d.X2S:return C.fontSizeBaseX2S;case d.XS:return C.fontSizeBaseXS;case d.SM:return C.fontSizeBaseSM;case d.MD:return C.fontSizeBaseMD;case d.LG:return C.fontSizeBaseLG;case d.XL:return C.fontSizeBaseXL;case d.X2L:return C.fontSizeBaseX2L;case d.X3L:return C.fontSizeBaseX3L;case d.X4L:return C.fontSizeBaseX4L;case d.X5L:return C.fontSizeBaseX5L}}(),N,function(){switch(b){case u.TRANSPARENT:return E.textColorTransparent;case u.BASE_100:return C.colorForegroundBase100;case u.BASE_200:return C.colorForegroundBase200;case u.BASE_300:return C.colorForegroundBase300;case u.BASE_400:return C.colorForegroundBase400;case u.BASE_500:return C.colorForegroundBase500;case u.BASE_600:return C.colorForegroundBase600;case u.BASE_700:return C.colorForegroundBase700;case u.BASE_800:return C.colorForegroundBase800;case u.BASE_900:return C.colorForegroundBase900;case u.INVERSE_100:return C.colorForegroundInverse100;case u.INVERSE_200:return C.colorForegroundInverse200;case u.INVERSE_300:return C.colorForegroundInverse300;case u.INVERSE_400:return C.colorForegroundInverse400;case u.INVERSE_500:return C.colorForegroundInverse500;case u.INVERSE_600:return C.colorForegroundInverse600;case u.INVERSE_700:return C.colorForegroundInverse700;case u.INVERSE_800:return C.colorForegroundInverse800;case u.INVERSE_900:return C.colorForegroundInverse900}}()],numberOfLines:F,children:I})};T.Type=S,T.Align=L,T.FontWeight=c,T.FontSize=d,T.LineHeight=p,T.Color=u;var R=B.Platform.select({native:function(){return o(689).A},web:function(){return o(741).A}})(),v=o(410),F=o(156),y=o(408);return i})()));
|