@kubb/react-fabric 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App-BSJU0vg2.d.ts +177 -0
- package/dist/App-Cdnk4C-T.d.cts +177 -0
- package/dist/{globals-BQ_tJj2b.d.ts → KubbFile-D4gyyfL-.d.ts} +1 -52
- package/dist/{globals-C-9ezLk9.d.cts → KubbFile-FGXV713i.d.cts} +1 -52
- package/dist/Runtime-CmpwGMfo.js +15482 -0
- package/dist/Runtime-CmpwGMfo.js.map +1 -0
- package/dist/Runtime-DuxjdecG.cjs +15520 -0
- package/dist/Runtime-DuxjdecG.cjs.map +1 -0
- package/dist/devtools.cjs +5 -5
- package/dist/devtools.cjs.map +1 -1
- package/dist/devtools.js +5 -5
- package/dist/devtools.js.map +1 -1
- package/dist/globals-BRG2DOJd.d.cts +52 -0
- package/dist/globals-D_1Lfe9-.d.ts +52 -0
- package/dist/globals.d.cts +3 -2
- package/dist/globals.d.ts +3 -2
- package/dist/index.cjs +152 -15637
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +49 -201
- package/dist/index.d.ts +49 -201
- package/dist/index.js +7 -15495
- package/dist/index.js.map +1 -1
- package/dist/{jsx-runtime-B3MMb3PL.cjs → jsx-runtime-CxtdoFyp.cjs} +8 -8
- package/dist/jsx-runtime-CxtdoFyp.cjs.map +1 -0
- package/dist/{jsx-runtime-BPQkRAg2.js → jsx-runtime-dzWW5eHB.js} +8 -8
- package/dist/jsx-runtime-dzWW5eHB.js.map +1 -0
- package/dist/jsx-runtime.cjs +2 -2
- package/dist/jsx-runtime.d.cts +3 -2
- package/dist/jsx-runtime.d.ts +3 -2
- package/dist/jsx-runtime.js +2 -2
- package/dist/parsers.cjs +9 -0
- package/dist/parsers.d.cts +18 -0
- package/dist/parsers.d.ts +18 -0
- package/dist/parsers.js +3 -0
- package/dist/plugins.cjs +40 -0
- package/dist/plugins.cjs.map +1 -0
- package/dist/plugins.d.cts +74 -0
- package/dist/plugins.d.ts +74 -0
- package/dist/plugins.js +34 -0
- package/dist/plugins.js.map +1 -0
- package/dist/{react-BBkwFtZV.js → react-DA-4hb8R.js} +7 -7
- package/dist/react-DA-4hb8R.js.map +1 -0
- package/dist/{react-Bq0UOw6S.cjs → react-m108td-u.cjs} +7 -7
- package/dist/react-m108td-u.cjs.map +1 -0
- package/dist/{types-D9OfSq91.d.ts → types-Brnyan9B.d.ts} +1 -1
- package/dist/{types-CUKR3KZn.d.cts → types-C3p0Ljxf.d.cts} +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +16 -2
- package/src/{kubbRenderer.ts → Renderer.ts} +1 -1
- package/src/{ReactTemplate.tsx → Runtime.tsx} +36 -30
- package/src/index.ts +9 -1
- package/src/parsers/index.ts +1 -0
- package/src/plugins/index.ts +3 -0
- package/src/plugins/reactPlugin.ts +59 -0
- package/src/utils/processFiles.ts +5 -4
- package/dist/jsx-runtime-B3MMb3PL.cjs.map +0 -1
- package/dist/jsx-runtime-BPQkRAg2.js.map +0 -1
- package/dist/react-BBkwFtZV.js.map +0 -1
- package/dist/react-Bq0UOw6S.cjs.map +0 -1
- package/src/createApp.ts +0 -19
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import process from 'node:process'
|
|
2
|
-
import type { AppContext } from '@kubb/fabric-core/types'
|
|
3
2
|
import type { ReactNode } from 'react'
|
|
4
3
|
import { ConcurrentRoot } from 'react-reconciler/constants'
|
|
5
4
|
import { onExit } from 'signal-exit'
|
|
6
5
|
import { Root } from './components/Root.tsx'
|
|
7
6
|
import { createNode } from './dom.ts'
|
|
8
|
-
import type { FiberRoot } from './
|
|
9
|
-
import {
|
|
7
|
+
import type { FiberRoot } from './Renderer.ts'
|
|
8
|
+
import { Renderer } from './Renderer.ts'
|
|
10
9
|
import type { DOMElement } from './types.ts'
|
|
11
10
|
import { squashTextNodes } from './utils/squashTextNodes.ts'
|
|
12
11
|
import { processFiles } from './utils/processFiles.ts'
|
|
12
|
+
import type { FileManager } from '@kubb/fabric-core'
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
type Options = {
|
|
15
|
+
fileManager: FileManager
|
|
15
16
|
stdout?: NodeJS.WriteStream
|
|
16
17
|
stdin?: NodeJS.ReadStream
|
|
17
18
|
stderr?: NodeJS.WriteStream
|
|
@@ -19,10 +20,10 @@ export type ReactAppContext = AppContext<{
|
|
|
19
20
|
* Set this to true to always see the result of the render in the console(line per render)
|
|
20
21
|
*/
|
|
21
22
|
debug?: boolean
|
|
22
|
-
}
|
|
23
|
+
}
|
|
23
24
|
|
|
24
|
-
export class
|
|
25
|
-
readonly #
|
|
25
|
+
export class Runtime {
|
|
26
|
+
readonly #options: Options
|
|
26
27
|
// Ignore last render after unmounting a tree to prevent empty output before exit
|
|
27
28
|
#isUnmounted: boolean
|
|
28
29
|
|
|
@@ -30,8 +31,8 @@ export class ReactTemplate {
|
|
|
30
31
|
readonly #container: FiberRoot
|
|
31
32
|
readonly #rootNode: DOMElement
|
|
32
33
|
|
|
33
|
-
constructor(
|
|
34
|
-
this.#
|
|
34
|
+
constructor(options: Options) {
|
|
35
|
+
this.#options = options
|
|
35
36
|
|
|
36
37
|
this.#rootNode = createNode('kubb-root')
|
|
37
38
|
this.#rootNode.onRender = this.onRender
|
|
@@ -85,7 +86,7 @@ export class ReactTemplate {
|
|
|
85
86
|
const onRecoverableError = logRecoverableError
|
|
86
87
|
const transitionCallbacks = null
|
|
87
88
|
|
|
88
|
-
this.#container =
|
|
89
|
+
this.#container = Renderer.createContainer(
|
|
89
90
|
this.#rootNode,
|
|
90
91
|
rootTag,
|
|
91
92
|
hydrationCallbacks,
|
|
@@ -106,12 +107,17 @@ export class ReactTemplate {
|
|
|
106
107
|
{ alwaysLast: false },
|
|
107
108
|
).bind(this)
|
|
108
109
|
|
|
109
|
-
|
|
110
|
+
Renderer.injectIntoDevTools({
|
|
110
111
|
bundleType: 0, // 0 for PROD, 1 for DEV
|
|
111
112
|
version: '19.1.1', // should be React version and not Kubb's custom version
|
|
112
113
|
rendererPackageName: 'kubb', // package name
|
|
113
114
|
})
|
|
114
115
|
}
|
|
116
|
+
|
|
117
|
+
get fileManager() {
|
|
118
|
+
return this.#options.fileManager
|
|
119
|
+
}
|
|
120
|
+
|
|
115
121
|
resolveExitPromise: () => void = () => {}
|
|
116
122
|
rejectExitPromise: (reason?: Error) => void = () => {}
|
|
117
123
|
unsubscribeExit: () => void = () => {}
|
|
@@ -120,25 +126,25 @@ export class ReactTemplate {
|
|
|
120
126
|
return
|
|
121
127
|
}
|
|
122
128
|
|
|
123
|
-
this
|
|
129
|
+
this.fileManager.clear()
|
|
124
130
|
|
|
125
|
-
processFiles(this.#rootNode, this
|
|
131
|
+
processFiles(this.#rootNode, this.fileManager)
|
|
126
132
|
|
|
127
|
-
if (!this.#
|
|
133
|
+
if (!this.#options?.debug && !this.#options?.stdout) {
|
|
128
134
|
return
|
|
129
135
|
}
|
|
130
136
|
|
|
131
|
-
const output = await this.#getOutput(this.#rootNode
|
|
137
|
+
const output = await this.#getOutput(this.#rootNode)
|
|
132
138
|
|
|
133
|
-
if (this.#
|
|
139
|
+
if (this.#options?.debug) {
|
|
134
140
|
console.log('Rendering: \n')
|
|
135
141
|
console.log(output)
|
|
136
142
|
}
|
|
137
143
|
|
|
138
|
-
if (this.#
|
|
139
|
-
this.#
|
|
140
|
-
this.#
|
|
141
|
-
this.#
|
|
144
|
+
if (this.#options?.stdout && process.env.NODE_ENV !== 'test') {
|
|
145
|
+
this.#options.stdout.clearLine(0)
|
|
146
|
+
this.#options.stdout.cursorTo(0)
|
|
147
|
+
this.#options.stdout.write(output)
|
|
142
148
|
}
|
|
143
149
|
}
|
|
144
150
|
onError(error: Error): void {
|
|
@@ -152,9 +158,9 @@ export class ReactTemplate {
|
|
|
152
158
|
this.unmount(error)
|
|
153
159
|
}
|
|
154
160
|
|
|
155
|
-
async #getOutput(node: DOMElement
|
|
161
|
+
async #getOutput(node: DOMElement): Promise<string> {
|
|
156
162
|
const text = squashTextNodes(node)
|
|
157
|
-
const files =
|
|
163
|
+
const files = this.fileManager.files
|
|
158
164
|
|
|
159
165
|
return files.length
|
|
160
166
|
? [...files]
|
|
@@ -171,8 +177,8 @@ export class ReactTemplate {
|
|
|
171
177
|
</Root>
|
|
172
178
|
)
|
|
173
179
|
|
|
174
|
-
|
|
175
|
-
|
|
180
|
+
Renderer.updateContainerSync(element, this.#container, null, null)
|
|
181
|
+
Renderer.flushSyncWork()
|
|
176
182
|
}
|
|
177
183
|
|
|
178
184
|
async renderToString(node: ReactNode): Promise<string> {
|
|
@@ -182,12 +188,12 @@ export class ReactTemplate {
|
|
|
182
188
|
</Root>
|
|
183
189
|
)
|
|
184
190
|
|
|
185
|
-
|
|
186
|
-
|
|
191
|
+
Renderer.updateContainerSync(element, this.#container, null, null)
|
|
192
|
+
Renderer.flushSyncWork()
|
|
187
193
|
|
|
188
|
-
this
|
|
194
|
+
this.fileManager.clear()
|
|
189
195
|
|
|
190
|
-
return this.#getOutput(this.#rootNode
|
|
196
|
+
return this.#getOutput(this.#rootNode)
|
|
191
197
|
}
|
|
192
198
|
|
|
193
199
|
unmount(error?: Error | number | null): void {
|
|
@@ -195,7 +201,7 @@ export class ReactTemplate {
|
|
|
195
201
|
return
|
|
196
202
|
}
|
|
197
203
|
|
|
198
|
-
if (this.#
|
|
204
|
+
if (this.#options?.debug) {
|
|
199
205
|
console.log('Unmount', error)
|
|
200
206
|
}
|
|
201
207
|
|
|
@@ -204,7 +210,7 @@ export class ReactTemplate {
|
|
|
204
210
|
|
|
205
211
|
this.#isUnmounted = true
|
|
206
212
|
|
|
207
|
-
|
|
213
|
+
Renderer.updateContainerSync(null, this.#container, null, null)
|
|
208
214
|
|
|
209
215
|
if (error instanceof Error) {
|
|
210
216
|
this.rejectExitPromise(error)
|
package/src/index.ts
CHANGED
|
@@ -2,18 +2,26 @@ import './globals.ts'
|
|
|
2
2
|
|
|
3
3
|
import * as React from 'react'
|
|
4
4
|
|
|
5
|
+
// components
|
|
5
6
|
export { App } from './components/App.tsx'
|
|
6
7
|
export { Const } from './components/Const.tsx'
|
|
7
8
|
export { File } from './components/File.tsx'
|
|
8
9
|
export { Function } from './components/Function.tsx'
|
|
9
10
|
export { Indent } from './components/Indent.tsx'
|
|
10
11
|
export { Type } from './components/Type.tsx'
|
|
11
|
-
|
|
12
|
+
|
|
12
13
|
export { useApp } from './composables/useApp.ts'
|
|
13
14
|
export { useFile } from './composables/useFile.ts'
|
|
14
15
|
export { useLifecycle } from './composables/useLifecycle.tsx'
|
|
16
|
+
|
|
17
|
+
// expose fabric core helpers
|
|
18
|
+
export { createApp } from '@kubb/fabric-core'
|
|
19
|
+
|
|
20
|
+
// utils
|
|
15
21
|
export { createFunctionParams, FunctionParams } from './utils/getFunctionParams.ts'
|
|
22
|
+
export { Runtime } from './Runtime.tsx'
|
|
16
23
|
|
|
24
|
+
// react helpers
|
|
17
25
|
export const createContext = React.createContext
|
|
18
26
|
export const createElement = React.createElement
|
|
19
27
|
export const useContext = React.useContext
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@kubb/fabric-core/parsers'
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { createPlugin } from '@kubb/fabric-core/plugins'
|
|
2
|
+
import { Runtime } from '../Runtime.tsx'
|
|
3
|
+
import { createElement, type ElementType } from 'react'
|
|
4
|
+
|
|
5
|
+
type Options = {
|
|
6
|
+
stdout?: NodeJS.WriteStream
|
|
7
|
+
stdin?: NodeJS.ReadStream
|
|
8
|
+
stderr?: NodeJS.WriteStream
|
|
9
|
+
/**
|
|
10
|
+
* Set this to true to always see the result of the render in the console(line per render)
|
|
11
|
+
*/
|
|
12
|
+
debug?: boolean
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
type ExtendOptions = {
|
|
16
|
+
render(App: ElementType): Promise<void> | void
|
|
17
|
+
renderToString(App: ElementType): Promise<string> | string
|
|
18
|
+
waitUntilExit(): Promise<void>
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// biome-ignore lint/suspicious/noTsIgnore: production ready
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
declare module '@kubb/fabric-core' {
|
|
24
|
+
interface App {
|
|
25
|
+
render(App: ElementType): Promise<void> | void
|
|
26
|
+
renderToString(App: ElementType): Promise<string> | string
|
|
27
|
+
waitUntilExit(): Promise<void>
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare global {
|
|
32
|
+
namespace Kubb {
|
|
33
|
+
interface App {
|
|
34
|
+
render(App: ElementType): Promise<void> | void
|
|
35
|
+
renderToString(App: ElementType): Promise<string> | string
|
|
36
|
+
waitUntilExit(): Promise<void>
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export const reactPlugin = createPlugin<Options, ExtendOptions>({
|
|
42
|
+
name: 'react',
|
|
43
|
+
install() {},
|
|
44
|
+
inject(app, options: Options = {}) {
|
|
45
|
+
const runtime = new Runtime({ fileManager: app.context.fileManager, ...options })
|
|
46
|
+
|
|
47
|
+
return {
|
|
48
|
+
async render(App) {
|
|
49
|
+
runtime.render(createElement(App))
|
|
50
|
+
},
|
|
51
|
+
async renderToString(App) {
|
|
52
|
+
return runtime.renderToString(createElement(App))
|
|
53
|
+
},
|
|
54
|
+
waitUntilExit() {
|
|
55
|
+
return runtime.waitUntilExit()
|
|
56
|
+
},
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
})
|
|
@@ -3,12 +3,13 @@ import { squashExportNodes } from './squashExportNodes.ts'
|
|
|
3
3
|
import { squashImportNodes } from './squashImportNodes.ts'
|
|
4
4
|
import { squashSourceNodes } from './squashSourceNodes.ts'
|
|
5
5
|
|
|
6
|
-
import type {
|
|
6
|
+
import type { KubbFile } from '@kubb/fabric-core/types'
|
|
7
7
|
import type React from 'react'
|
|
8
8
|
import type { File } from '../components/File.tsx'
|
|
9
9
|
import type { DOMElement } from '../types.ts'
|
|
10
|
+
import type { FileManager } from '@kubb/fabric-core'
|
|
10
11
|
|
|
11
|
-
export function processFiles(node: DOMElement,
|
|
12
|
+
export function processFiles(node: DOMElement, fileManager: FileManager) {
|
|
12
13
|
for (let index = 0; index < node.childNodes.length; index++) {
|
|
13
14
|
const childNode = node.childNodes[index]
|
|
14
15
|
|
|
@@ -17,7 +18,7 @@ export function processFiles(node: DOMElement, context: AppContext) {
|
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
if (childNode.nodeName !== '#text' && childNode.nodeName !== 'kubb-file' && nodeNames.includes(childNode.nodeName)) {
|
|
20
|
-
processFiles(childNode,
|
|
21
|
+
processFiles(childNode, fileManager)
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
if (childNode.nodeName === 'kubb-file') {
|
|
@@ -37,7 +38,7 @@ export function processFiles(node: DOMElement, context: AppContext) {
|
|
|
37
38
|
banner: attributes.banner,
|
|
38
39
|
}
|
|
39
40
|
|
|
40
|
-
|
|
41
|
+
fileManager.add(file)
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-runtime-B3MMb3PL.cjs","names":["REACT_FRAGMENT_TYPE","REACT_ELEMENT_TYPE"],"sources":["../../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.production.js","../../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/.pnpm/react@19.2.0/node_modules/react/jsx-runtime.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%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://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"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 validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"x_google_ignoreList":[0,1,2],"mappings":";;;;CAWA,IAAI,qBAAqB,OAAO,IAAI,6BAA6B,EAC/D,sBAAsB,OAAO,IAAI,iBAAiB;CACpD,SAAS,QAAQ,MAAM,QAAQ,UAAU;EACvC,IAAI,MAAM;AACV,OAAK,MAAM,aAAa,MAAM,KAAK;AACnC,OAAK,MAAM,OAAO,QAAQ,MAAM,KAAK,OAAO;AAC5C,MAAI,SAAS,QAAQ;AACnB,cAAW,EAAE;AACb,QAAK,IAAI,YAAY,OACnB,WAAU,aAAa,SAAS,YAAY,OAAO;QAChD,YAAW;AAClB,WAAS,SAAS;AAClB,SAAO;GACL,UAAU;GACJ;GACD;GACL,KAAK,KAAK,MAAM,SAAS,SAAS;GAClC,OAAO;GACR;;AAEH,SAAQ,WAAW;AACnB,SAAQ,MAAM;AACd,SAAQ,OAAO;;;;;;ACtBf,kBAAiB,QAAQ,IAAI,aAC1B,WAAY;EACX,SAAS,yBAAyB,MAAM;AACtC,OAAI,QAAQ,KAAM,QAAO;AACzB,OAAI,eAAe,OAAO,KACxB,QAAO,KAAK,aAAa,yBACrB,OACA,KAAK,eAAe,KAAK,QAAQ;AACvC,OAAI,aAAa,OAAO,KAAM,QAAO;AACrC,WAAQ,MAAR;IACE,KAAKA,sBACH,QAAO;IACT,KAAK,oBACH,QAAO;IACT,KAAK,uBACH,QAAO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AAmB;KAE7B;EACD,IAAI;EACJ,IAAI,yBAAyB,EAAE;EAC/B,IAAI,yBAAyB,MAAM,yBAAyB,KAC1D,OACA,aACD,EAAE;EACH,IAAI,wBAAwB,WAAW,YAAY,aAAa,CAAC;EACjE,IAAI,wBAAwB,EAAE;AAC9B,UAAQ,WAAWA;AACnB,UAAQ,MAAM,SAAU,MAAM,QAAQ,UAAU;GAC9C,IAAI,mBACF,MAAM,qBAAqB;AAC7B,UAAO,WACL,MACA,QACA,UACA,CAAC,GACD,mBACI,MAAM,wBAAwB,GAC9B,wBACJ,mBAAmB,WAAW,YAAY,KAAK,CAAC,GAAG,sBACpD;;AAEH,UAAQ,OAAO,SAAU,MAAM,QAAQ,UAAU;GAC/C,IAAI,mBACF,MAAM,qBAAqB;AAC7B,UAAO,WACL,MACA,QACA,UACA,CAAC,GACD,mBACI,MAAM,wBAAwB,GAC9B,wBACJ,mBAAmB,WAAW,YAAY,KAAK,CAAC,GAAG,sBACpD;;KAED;;;;;;AC7VN,KAAI,QAAQ,IAAI,aAAa,aAC3B,QAAO;KAEP,QAAO"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-runtime-BPQkRAg2.js","names":["REACT_FRAGMENT_TYPE","REACT_ELEMENT_TYPE"],"sources":["../../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.production.js","../../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/.pnpm/react@19.2.0/node_modules/react/jsx-runtime.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and 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\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%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://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"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 validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"x_google_ignoreList":[0,1,2],"mappings":";;;;CAWA,IAAI,qBAAqB,OAAO,IAAI,6BAA6B,EAC/D,sBAAsB,OAAO,IAAI,iBAAiB;CACpD,SAAS,QAAQ,MAAM,QAAQ,UAAU;EACvC,IAAI,MAAM;AACV,OAAK,MAAM,aAAa,MAAM,KAAK;AACnC,OAAK,MAAM,OAAO,QAAQ,MAAM,KAAK,OAAO;AAC5C,MAAI,SAAS,QAAQ;AACnB,cAAW,EAAE;AACb,QAAK,IAAI,YAAY,OACnB,WAAU,aAAa,SAAS,YAAY,OAAO;QAChD,YAAW;AAClB,WAAS,SAAS;AAClB,SAAO;GACL,UAAU;GACJ;GACD;GACL,KAAK,KAAK,MAAM,SAAS,SAAS;GAClC,OAAO;GACR;;AAEH,SAAQ,WAAW;AACnB,SAAQ,MAAM;AACd,SAAQ,OAAO;;;;;;ACtBf,kBAAiB,QAAQ,IAAI,aAC1B,WAAY;EACX,SAAS,yBAAyB,MAAM;AACtC,OAAI,QAAQ,KAAM,QAAO;AACzB,OAAI,eAAe,OAAO,KACxB,QAAO,KAAK,aAAa,yBACrB,OACA,KAAK,eAAe,KAAK,QAAQ;AACvC,OAAI,aAAa,OAAO,KAAM,QAAO;AACrC,WAAQ,MAAR;IACE,KAAKA,sBACH,QAAO;IACT,KAAK,oBACH,QAAO;IACT,KAAK,uBACH,QAAO;IACT,KAAK,oB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