(
type,
config,
maybeKey,
isStaticChildren,
source,
self
)
| 43899 | return type; |
| 43900 | } |
| 43901 | function jsxDEVImpl( |
| 43902 | type, |
| 43903 | config, |
| 43904 | maybeKey, |
| 43905 | isStaticChildren, |
| 43906 | source, |
| 43907 | self |
| 43908 | ) { |
| 43909 | if ( |
| 43910 | "string" === typeof type || |
| 43911 | "function" === typeof type || |
| 43912 | type === REACT_FRAGMENT_TYPE || |
| 43913 | type === REACT_PROFILER_TYPE || |
| 43914 | type === REACT_STRICT_MODE_TYPE || |
| 43915 | type === REACT_SUSPENSE_TYPE || |
| 43916 | type === REACT_SUSPENSE_LIST_TYPE || |
| 43917 | type === REACT_OFFSCREEN_TYPE || |
| 43918 | ("object" === typeof type && |
| 43919 | null !== type && |
| 43920 | (type.$$typeof === REACT_LAZY_TYPE || |
| 43921 | type.$$typeof === REACT_MEMO_TYPE || |
| 43922 | type.$$typeof === REACT_CONTEXT_TYPE || |
| 43923 | type.$$typeof === REACT_CONSUMER_TYPE || |
| 43924 | type.$$typeof === REACT_FORWARD_REF_TYPE || |
| 43925 | type.$$typeof === REACT_CLIENT_REFERENCE$1 || |
| 43926 | void 0 !== type.getModuleId)) |
| 43927 | ) { |
| 43928 | var children = config.children; |
| 43929 | if (void 0 !== children) |
| 43930 | if (isStaticChildren) |
| 43931 | if (isArrayImpl(children)) { |
| 43932 | for ( |
| 43933 | isStaticChildren = 0; |
| 43934 | isStaticChildren < children.length; |
| 43935 | isStaticChildren++ |
| 43936 | ) |
| 43937 | validateChildKeys(children[isStaticChildren], type); |
| 43938 | Object.freeze && Object.freeze(children); |
| 43939 | } else |
| 43940 | console.error( |
| 43941 | "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead." |
| 43942 | ); |
| 43943 | else validateChildKeys(children, type); |
| 43944 | } else { |
| 43945 | children = ""; |
| 43946 | if ( |
| 43947 | void 0 === type || |
| 43948 | ("object" === typeof type && |
| 43949 | null !== type && |
| 43950 | 0 === Object.keys(type).length) |
| 43951 | ) |
| 43952 | children += |
| 43953 | " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."; |
| 43954 | null === type |
| 43955 | ? (isStaticChildren = "null") |
| 43956 | : isArrayImpl(type) |
| 43957 | ? (isStaticChildren = "array") |
| 43958 | : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE |
no test coverage detected
searching dependent graphs…