@tamagui/web 3.0.0-beta.655.1 → 3.0.0-beta.669.1
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/cjs/createComponent.cjs +1 -1
- package/dist/cjs/createComponent.native.cjs +1 -1
- package/dist/cjs/createComponent.native.js +1 -1
- package/dist/cjs/createComponent.native.js.map +1 -1
- package/dist/cjs/createTamagui.cjs +1 -1
- package/dist/cjs/createTamagui.native.cjs +1 -1
- package/dist/cjs/createTamagui.native.js +1 -1
- package/dist/cjs/createTamagui.native.js.map +1 -1
- package/dist/cjs/helpers/directStyle.cjs +12 -12
- package/dist/cjs/helpers/directStyle.native.cjs +12 -12
- package/dist/cjs/helpers/directStyle.native.js +12 -12
- package/dist/cjs/helpers/directStyle.native.js.map +1 -1
- package/dist/cjs/helpers/formatDiagnostic.cjs +3 -0
- package/dist/cjs/helpers/formatDiagnostic.native.cjs +3 -0
- package/dist/cjs/helpers/formatDiagnostic.native.js +3 -0
- package/dist/cjs/helpers/formatDiagnostic.native.js.map +1 -1
- package/dist/cjs/helpers/getSplitStyles.cjs +2 -2
- package/dist/cjs/helpers/getSplitStyles.native.cjs +2 -2
- package/dist/cjs/helpers/getSplitStyles.native.js +2 -2
- package/dist/cjs/helpers/getSplitStyles.native.js.map +1 -1
- package/dist/cjs/helpers/mergeVariants.cjs +1 -1
- package/dist/cjs/helpers/mergeVariants.native.cjs +1 -1
- package/dist/cjs/helpers/mergeVariants.native.js +1 -1
- package/dist/cjs/helpers/mergeVariants.native.js.map +1 -1
- package/dist/cjs/helpers/propMapper.cjs +2 -2
- package/dist/cjs/helpers/propMapper.native.cjs +2 -2
- package/dist/cjs/helpers/propMapper.native.js +2 -2
- package/dist/cjs/helpers/propMapper.native.js.map +1 -1
- package/dist/cjs/hooks/getThemeProxied.native.cjs +1 -1
- package/dist/cjs/hooks/getThemeProxied.native.js +1 -1
- package/dist/cjs/hooks/getThemeProxied.native.js.map +1 -1
- package/dist/cjs/hooks/useComponentState.cjs +2 -2
- package/dist/cjs/hooks/useComponentState.native.cjs +2 -2
- package/dist/cjs/hooks/useComponentState.native.js +2 -2
- package/dist/cjs/hooks/useComponentState.native.js.map +1 -1
- package/dist/cjs/hooks/useProps.cjs +1 -1
- package/dist/cjs/hooks/useProps.native.cjs +1 -1
- package/dist/cjs/hooks/useProps.native.js +1 -1
- package/dist/cjs/hooks/useProps.native.js.map +1 -1
- package/dist/cjs/hooks/useThemeState.cjs +2 -2
- package/dist/cjs/hooks/useThemeState.native.cjs +2 -2
- package/dist/cjs/hooks/useThemeState.native.js +2 -2
- package/dist/cjs/hooks/useThemeState.native.js.map +1 -1
- package/dist/cjs/internal-runtime.cjs +3 -1
- package/dist/cjs/internal-runtime.native.cjs +3 -1
- package/dist/cjs/internal-runtime.native.js +3 -1
- package/dist/cjs/internal-runtime.native.js.map +1 -1
- package/dist/cjs/views/Theme.cjs +1 -1
- package/dist/cjs/views/Theme.native.cjs +1 -1
- package/dist/cjs/views/Theme.native.js +1 -1
- package/dist/cjs/views/Theme.native.js.map +1 -1
- package/dist/esm/createComponent.mjs +1 -1
- package/dist/esm/createComponent.mjs.map +1 -1
- package/dist/esm/createComponent.native.js +1 -1
- package/dist/esm/createComponent.native.js.map +1 -1
- package/dist/esm/createTamagui.mjs +1 -1
- package/dist/esm/createTamagui.mjs.map +1 -1
- package/dist/esm/createTamagui.native.js +1 -1
- package/dist/esm/createTamagui.native.js.map +1 -1
- package/dist/esm/helpers/directStyle.mjs +13 -13
- package/dist/esm/helpers/directStyle.mjs.map +1 -1
- package/dist/esm/helpers/directStyle.native.js +13 -13
- package/dist/esm/helpers/directStyle.native.js.map +1 -1
- package/dist/esm/helpers/formatDiagnostic.mjs +3 -0
- package/dist/esm/helpers/formatDiagnostic.mjs.map +1 -1
- package/dist/esm/helpers/formatDiagnostic.native.js +3 -0
- package/dist/esm/helpers/formatDiagnostic.native.js.map +1 -1
- package/dist/esm/helpers/getSplitStyles.mjs +2 -2
- package/dist/esm/helpers/getSplitStyles.mjs.map +1 -1
- package/dist/esm/helpers/getSplitStyles.native.js +2 -2
- package/dist/esm/helpers/getSplitStyles.native.js.map +1 -1
- package/dist/esm/helpers/mergeVariants.mjs +1 -1
- package/dist/esm/helpers/mergeVariants.mjs.map +1 -1
- package/dist/esm/helpers/mergeVariants.native.js +1 -1
- package/dist/esm/helpers/mergeVariants.native.js.map +1 -1
- package/dist/esm/helpers/propMapper.mjs +2 -2
- package/dist/esm/helpers/propMapper.mjs.map +1 -1
- package/dist/esm/helpers/propMapper.native.js +2 -2
- package/dist/esm/helpers/propMapper.native.js.map +1 -1
- package/dist/esm/hooks/getThemeProxied.native.js +1 -1
- package/dist/esm/hooks/getThemeProxied.native.js.map +1 -1
- package/dist/esm/hooks/useComponentState.mjs +2 -2
- package/dist/esm/hooks/useComponentState.mjs.map +1 -1
- package/dist/esm/hooks/useComponentState.native.js +2 -2
- package/dist/esm/hooks/useComponentState.native.js.map +1 -1
- package/dist/esm/hooks/useProps.mjs +1 -1
- package/dist/esm/hooks/useProps.mjs.map +1 -1
- package/dist/esm/hooks/useProps.native.js +1 -1
- package/dist/esm/hooks/useProps.native.js.map +1 -1
- package/dist/esm/hooks/useThemeState.mjs +2 -2
- package/dist/esm/hooks/useThemeState.mjs.map +1 -1
- package/dist/esm/hooks/useThemeState.native.js +2 -2
- package/dist/esm/hooks/useThemeState.native.js.map +1 -1
- package/dist/esm/internal-runtime.mjs +3 -1
- package/dist/esm/internal-runtime.mjs.map +1 -1
- package/dist/esm/internal-runtime.native.js +3 -1
- package/dist/esm/internal-runtime.native.js.map +1 -1
- package/dist/esm/views/Theme.mjs +1 -1
- package/dist/esm/views/Theme.mjs.map +1 -1
- package/dist/esm/views/Theme.native.js +2 -1
- package/dist/esm/views/Theme.native.js.map +1 -1
- package/package.json +15 -15
- package/src/createComponent.tsx +4 -1
- package/src/createTamagui.ts +6 -1
- package/src/helpers/directStyle.ts +23 -12
- package/src/helpers/formatDiagnostic.ts +3 -0
- package/src/helpers/getSplitStyles.tsx +8 -2
- package/src/helpers/mergeVariants.ts +3 -1
- package/src/helpers/propMapper.ts +6 -1
- package/src/hooks/getThemeProxied.ts +4 -3
- package/src/hooks/useComponentState.ts +4 -1
- package/src/hooks/useProps.tsx +4 -1
- package/src/hooks/useThemeState.ts +8 -2
- package/src/internal-runtime.ts +8 -1
- package/src/views/Theme.tsx +4 -1
- package/types/createComponent.d.ts.map +1 -1
- package/types/helpers/directStyle.d.ts.map +1 -1
- package/types/helpers/formatDiagnostic.d.ts.map +1 -1
- package/types/helpers/getSplitStyles.d.ts.map +1 -1
- package/types/helpers/mergeVariants.d.ts.map +1 -1
- package/types/helpers/propMapper.d.ts.map +1 -1
- package/types/hooks/getThemeProxied.d.ts.map +1 -1
- package/types/hooks/useComponentState.d.ts.map +1 -1
- package/types/hooks/useProps.d.ts.map +1 -1
- package/types/hooks/useThemeState.d.ts.map +1 -1
- package/types/internal-runtime.d.ts.map +1 -1
- package/types/views/Theme.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createComponent.js","names":[],"sources":["esm/createComponent.js"],"sourcesContent":["import { composeRefs } from \"@tamagui/compose-refs\";\nimport { getPlatformDriver, isClient, isNativeDesktop, isServer, isWeb, useIsomorphicLayoutEffect } from \"@tamagui/constants\";\nimport { composeEventHandlers } from \"@tamagui/helpers\";\nimport { isEqualShallow } from \"@tamagui/is-equal-shallow\";\nimport React, { useMemo } from \"react\";\nimport { devConfig, getConfig } from \"./config\";\nimport { isDevTools } from \"./constants/isDevTools\";\nimport { ComponentContext } from \"./contexts/ComponentContext\";\nimport { GroupContext } from \"./contexts/GroupContext\";\nimport { didGetVariableValue, setDidGetVariableValue } from \"./createVariable\";\nimport { defaultComponentStateMounted } from \"./defaultComponentState\";\nimport { getWebEvents } from \"./eventHandling\";\nimport { getDefaultProps } from \"./helpers/getDefaultProps\";\nimport { componentDisplayName } from \"./helpers/componentDisplayName\";\nimport { resolveAnimationDriver } from \"./helpers/resolveAnimationDriver\";\nimport { getSplitStyles, useSplitStyles } from \"./helpers/getSplitStyles\";\nimport { log } from \"./helpers/log\";\nimport { mergeComponentProps } from \"./helpers/mergeProps\";\nimport { mergeRenderElementProps } from \"./helpers/mergeRenderElementProps\";\nimport { objectIdentityKey } from \"./helpers/objectIdentityKey\";\nimport { usePointerEvents } from \"./helpers/pointerEvents\";\nimport { extractPseudoState } from \"./helpers/extractPseudoState\";\nimport { subscribeToSafeArea } from \"./helpers/resolveSafeAreaVariable\";\nimport { setElementProps } from \"./helpers/setElementProps\";\nimport { subscribeToContextGroup } from \"./helpers/subscribeToContextGroup\";\nimport { getStyleTags } from \"./helpers/wrapStyleTags\";\nimport { useComponentState } from \"./hooks/useComponentState\";\nimport { setMediaShouldUpdate, useMedia } from \"./hooks/useMedia\";\nimport { useThemeWithState } from \"./hooks/useTheme\";\nimport { hooks } from \"./setupHooks\";\nimport { Slot } from \"./views/Slot\";\nimport { getThemedChildren } from \"./views/Theme\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\n\nvar __require = /* @__PURE__ */ ((x) => typeof require !== \"undefined\" ? require : typeof Proxy !== \"undefined\" ? new Proxy(x, { get: (a, b) => (typeof require !== \"undefined\" ? require : a)[b] }) : x)(function(x) {\n\tif (typeof require !== \"undefined\") return require.apply(this, arguments);\n\tthrow Error(\"Calling `require` for \\\"\" + x + \"\\\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.\");\n});\n\nlet time;\nlet debugKeyListeners;\nlet startVisualizer;\nconst componentSetStates = /* @__PURE__ */ new Set();\nconst avoidReRenderKeys = /* @__PURE__ */ new Set([\n\t\"hover\",\n\t\"press\",\n\t\"pressIn\",\n\t\"group\",\n\t\"focus\",\n\t\"focusWithin\",\n\t\"media\",\n\t\"group\"\n]);\nconst groupPseudoKeys = [\n\t\"disabled\",\n\t\"hover\",\n\t\"press\",\n\t\"pressIn\",\n\t\"focus\",\n\t\"focusVisible\",\n\t\"focusWithin\"\n];\nfunction getStyledContextKeys(staticConfig, styledContextValue) {\n\tconst propKeys = staticConfig.contextProps || staticConfig.context?.propKeys;\n\tif (!propKeys) return styledContextValue;\n\tconst out = {};\n\tfor (const key of propKeys) out[key] = true;\n\tif (styledContextValue) Object.assign(out, styledContextValue);\n\treturn out;\n}\nif (typeof window !== \"undefined\") {\n\tconst cancelPresses = () => {\n\t\tcomponentSetStates.forEach((setState) => setState((prev) => {\n\t\t\tif (prev.press || prev.pressIn) return {\n\t\t\t\t...prev,\n\t\t\t\tpress: false,\n\t\t\t\tpressIn: false\n\t\t\t};\n\t\t\treturn prev;\n\t\t}));\n\t\tcomponentSetStates.clear();\n\t};\n\tconst cancelTouches = () => {\n\t\tcomponentSetStates.forEach((setState) => setState((prev) => {\n\t\t\tif (prev.press || prev.pressIn || prev.hover) return {\n\t\t\t\t...prev,\n\t\t\t\tpress: false,\n\t\t\t\tpressIn: false,\n\t\t\t\thover: false\n\t\t\t};\n\t\t\treturn prev;\n\t\t}));\n\t\tcomponentSetStates.clear();\n\t};\n\taddEventListener(\"mouseup\", cancelPresses);\n\taddEventListener(\"touchend\", cancelTouches);\n\taddEventListener(\"touchcancel\", cancelTouches);\n\tif (process.env.NODE_ENV === \"development\") startVisualizer = () => {\n\t\tconst devVisualizerConfig = devConfig?.visualizer;\n\t\tif (devVisualizerConfig && !globalThis.__tamaguiDevVisualizer) {\n\t\t\tlet show = function(val) {\n\t\t\t\tclearTimeout(tm);\n\t\t\t\tisShowing = val;\n\t\t\t\tdebugKeyListeners?.forEach((l) => l(val));\n\t\t\t\tif (!val && resizeListener) {\n\t\t\t\t\twindow.removeEventListener(\"resize\", resizeListener);\n\t\t\t\t\tresizeListener = null;\n\t\t\t\t}\n\t\t\t}, cancelShow = function() {\n\t\t\t\tclearTimeout(tm);\n\t\t\t\tif (resizeListener) {\n\t\t\t\t\twindow.removeEventListener(\"resize\", resizeListener);\n\t\t\t\t\tresizeListener = null;\n\t\t\t\t}\n\t\t\t};\n\t\t\tglobalThis.__tamaguiDevVisualizer = true;\n\t\t\tdebugKeyListeners = /* @__PURE__ */ new Set();\n\t\t\tlet tm;\n\t\t\tlet isShowing = false;\n\t\t\tlet resizeListener = null;\n\t\t\tconst options = {\n\t\t\t\tkey: \"Alt\",\n\t\t\t\tdelay: 800,\n\t\t\t\t...typeof devVisualizerConfig === \"object\" ? devVisualizerConfig : {}\n\t\t\t};\n\t\t\twindow.addEventListener(\"blur\", () => {\n\t\t\t\tshow(false);\n\t\t\t});\n\t\t\twindow.addEventListener(\"keydown\", ({ key, metaKey, defaultPrevented }) => {\n\t\t\t\tclearTimeout(tm);\n\t\t\t\tif (defaultPrevented) return;\n\t\t\t\tif (metaKey) return;\n\t\t\t\tif (key === options.key) {\n\t\t\t\t\tif (!resizeListener) {\n\t\t\t\t\t\tresizeListener = () => cancelShow();\n\t\t\t\t\t\twindow.addEventListener(\"resize\", resizeListener);\n\t\t\t\t\t}\n\t\t\t\t\ttm = setTimeout(() => {\n\t\t\t\t\t\tshow(true);\n\t\t\t\t\t}, options.delay);\n\t\t\t\t}\n\t\t\t});\n\t\t\twindow.addEventListener(\"keyup\", ({ defaultPrevented }) => {\n\t\t\t\tif (defaultPrevented) return;\n\t\t\t\tcancelShow();\n\t\t\t\tif (isShowing) show(false);\n\t\t\t});\n\t\t}\n\t};\n}\nconst lastInteractionWasKeyboard = { value: false };\nconst lastInteractionWasTouch = { value: false };\nif (isWeb && typeof document !== \"undefined\") {\n\tdocument.addEventListener(\"keydown\", () => {\n\t\tif (!lastInteractionWasKeyboard.value) lastInteractionWasKeyboard.value = true;\n\t});\n\tdocument.addEventListener(\"mousedown\", () => {\n\t\tif (lastInteractionWasKeyboard.value) lastInteractionWasKeyboard.value = false;\n\t});\n\tdocument.addEventListener(\"mousemove\", () => {\n\t\tif (lastInteractionWasKeyboard.value) lastInteractionWasKeyboard.value = false;\n\t\tlastInteractionWasTouch.value = false;\n\t});\n\tdocument.addEventListener(\"touchstart\", () => {\n\t\tlastInteractionWasTouch.value = true;\n\t});\n}\nfunction createComponent(staticConfig) {\n\tif (process.env.TAMAGUI_RUNTIME === \"zero\") throw new Error(`[tamagui zero-runtime] createComponent ran in a zero-runtime graph. No Tamagui component renderer ships in this mode, so a component reference survived compilation. Fix the site or move the owning module to a declared full-runtime island.`);\n\tlet config = null;\n\tlet resolvedDefaultProps;\n\tlet didResolveDefaultProps = false;\n\tconst { Component, isText, isHOC } = staticConfig;\n\tlet res;\n\tconst component = (propsInWithRef) => {\n\t\t\"use no memo\";\n\t\tconst displayName = res[componentDisplayName];\n\t\tconst forwardedRef = propsInWithRef.ref;\n\t\tconst propsIn = propsInWithRef;\n\t\tconfig = config || getConfig();\n\t\tconst internalID = process.env.NODE_ENV === \"development\" ? React.useId() : \"\";\n\t\tif (process.env.NODE_ENV === \"development\") {\n\t\t\tif (startVisualizer) {\n\t\t\t\tstartVisualizer();\n\t\t\t\tstartVisualizer = void 0;\n\t\t\t}\n\t\t}\n\t\tif (process.env.NODE_ENV === \"test\") {\n\t\t\tconst testRenderCount = propsIn[\"data-test-renders\"];\n\t\t\tif (testRenderCount && typeof testRenderCount === \"object\" && !Object.isFrozen(testRenderCount)) {\n\t\t\t\ttestRenderCount.current = testRenderCount.current ?? 0;\n\t\t\t\ttestRenderCount.current += 1;\n\t\t\t}\n\t\t}\n\t\tconst { context, isReactNative } = staticConfig;\n\t\tconst debugProp = propsIn[\"debug\"];\n\t\tconst styledContextValue = context ? React.useContext(context) : void 0;\n\t\tlet overriddenContextProps = null;\n\t\tconst componentContext = React.useContext(ComponentContext);\n\t\tconst hasTextAncestor = !!(isWeb && isText ? componentContext.inText : false);\n\t\tif (!process.env.TAMAGUI_IS_CORE_NODE && process.env.NODE_ENV === \"development\" && debugProp === \"profile\" && !time) {\n\t\t\ttime = require(\"@tamagui/timer\").timer().start();\n\t\t\tglobalThis[\"time\"] = time;\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && !time && globalThis.time) time = globalThis.time;\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`non-tamagui time (ignore)`;\n\t\tlet props = propsIn;\n\t\tif (!didResolveDefaultProps) {\n\t\t\tdidResolveDefaultProps = true;\n\t\t\tconst staticDefaultProps = getDefaultProps(staticConfig);\n\t\t\tresolvedDefaultProps = isWeb && !isText && config.settings.defaultPosition === \"relative\" && staticDefaultProps?.position === void 0 ? staticDefaultProps ? {\n\t\t\t\tposition: \"relative\",\n\t\t\t\t...staticDefaultProps\n\t\t\t} : { position: \"relative\" } : staticDefaultProps;\n\t\t}\n\t\tconst [nextProps, overrides] = mergeComponentProps(resolvedDefaultProps, styledContextValue, propsIn);\n\t\tprops = nextProps;\n\t\toverriddenContextProps = overrides;\n\t\tif (staticConfig.styleFrontend) props = staticConfig.styleFrontend.preprocessProps(props, config);\n\t\tif (process.env.NODE_ENV === \"development\" && isClient) React.useEffect(() => {\n\t\t\tlet node;\n\t\t\tlet overlay = null;\n\t\t\tconst remove = () => {\n\t\t\t\tif (overlay) try {\n\t\t\t\t\toverlay.parentNode?.removeChild(overlay);\n\t\t\t\t\toverlay = null;\n\t\t\t\t} catch {}\n\t\t\t};\n\t\t\tconst debugVisualizerHandler = (show = false) => {\n\t\t\t\tnode = stateRef.current.host;\n\t\t\t\tif (!node) return;\n\t\t\t\tif (show) {\n\t\t\t\t\tif (!overlay) {\n\t\t\t\t\t\toverlay = document.createElement(\"span\");\n\t\t\t\t\t\toverlay.style.inset = \"0px\";\n\t\t\t\t\t\toverlay.style.zIndex = \"1000000\";\n\t\t\t\t\t\toverlay.style.position = \"absolute\";\n\t\t\t\t\t\toverlay.style.borderColor = \"red\";\n\t\t\t\t\t\toverlay.style.borderWidth = \"1px\";\n\t\t\t\t\t\toverlay.style.borderStyle = \"dotted\";\n\t\t\t\t\t}\n\t\t\t\t\tconst dataAt = node.getAttribute(\"data-at\") || \"\";\n\t\t\t\t\tconst dataIn = node.getAttribute(\"data-in\") || \"\";\n\t\t\t\t\tconst tooltip = document.createElement(\"span\");\n\t\t\t\t\ttooltip.style.position = \"absolute\";\n\t\t\t\t\ttooltip.style.top = \"0px\";\n\t\t\t\t\ttooltip.style.left = \"0px\";\n\t\t\t\t\ttooltip.style.padding = \"3px\";\n\t\t\t\t\ttooltip.style.background = \"rgba(0,0,0,0.75)\";\n\t\t\t\t\ttooltip.style.color = \"rgba(255,255,255,1)\";\n\t\t\t\t\ttooltip.style.fontSize = \"12px\";\n\t\t\t\t\ttooltip.style.lineHeight = \"12px\";\n\t\t\t\t\ttooltip.style.fontFamily = \"monospace\";\n\t\t\t\t\ttooltip.innerText = `${displayName || \"\"} ${dataAt} ${dataIn}`.trim();\n\t\t\t\t\toverlay.appendChild(tooltip);\n\t\t\t\t\tnode.appendChild(overlay);\n\t\t\t\t} else remove();\n\t\t\t};\n\t\t\tdebugKeyListeners = debugKeyListeners || /* @__PURE__ */ new Set();\n\t\t\tdebugKeyListeners.add(debugVisualizerHandler);\n\t\t\treturn () => {\n\t\t\t\tremove();\n\t\t\t\tdebugKeyListeners?.delete(debugVisualizerHandler);\n\t\t\t};\n\t\t}, [displayName]);\n\t\tconst groupContextParent = React.useContext(GroupContext);\n\t\tconst animationDriver = (() => {\n\t\t\tif (props.animatedBy && config) {\n\t\t\t\tlet selectedDriver;\n\t\t\t\tif (config.animationDrivers) selectedDriver = config.animationDrivers[props.animatedBy] ?? config.animations;\n\t\t\t\telse selectedDriver = props.animatedBy === \"default\" ? config.animations : null;\n\t\t\t\treturn resolveAnimationDriver(selectedDriver);\n\t\t\t}\n\t\t\treturn resolveAnimationDriver(componentContext.animationDriver) ?? resolveAnimationDriver(config?.animations) ?? null;\n\t\t})();\n\t\tconst useAnimations = animationDriver?.isStub ? void 0 : animationDriver?.useAnimations;\n\t\tconst componentState = useComponentState(props, animationDriver?.isStub ? null : animationDriver, staticConfig, config);\n\t\tconst { disabled, groupName, hasAnimationProp, hasEnterStyle, isAnimated, isExiting, isHydrated, presence, presenceState, setState, noClass, state, stateRef, inputStyle, outputStyle, willBeAnimated, willBeAnimatedClient, platformPseudo, startedUnhydrated } = componentState;\n\t\tprops = componentState.props;\n\t\tstateRef.current.avoidReRenders ??= !!animationDriver?.avoidReRenders;\n\t\tif (stateRef.current.avoidReRenders) useIsomorphicLayoutEffect(() => {\n\t\t\tconst emitted = stateRef.current.prevPseudoState;\n\t\t\tif (emitted && (emitted.hover || emitted.press || emitted.focus)) stateRef.current.updateStyleListener?.();\n\t\t\tconst pendingState = stateRef.current.nextState;\n\t\t\tif (!pendingState) return;\n\t\t\tstateRef.current.nextState = void 0;\n\t\t\tif (!isEqualShallow(state, pendingState)) componentState.setStateShallow(pendingState);\n\t\t});\n\t\tuseIsomorphicLayoutEffect(() => {\n\t\t\tif (!platformPseudo || props.disabled) return;\n\t\t\tconst pseudoDriver = getPlatformDriver()?.pseudo;\n\t\t\tconst host = stateRef.current.host;\n\t\t\tif (!pseudoDriver || !host) return;\n\t\t\treturn pseudoDriver.subscribe(host, ({ hovered }) => {\n\t\t\t\tstateRef.current.setStateShallow?.({ hover: hovered });\n\t\t\t});\n\t\t}, [platformPseudo, props.disabled]);\n\t\tconst containerName = props.containerName;\n\t\tconst isContainer = !!(props.container || containerName || props.containerType && props.containerType !== \"normal\");\n\t\tconst allGroupContexts = useMemo(() => {\n\t\t\tif (!groupName && !isContainer || props.passThrough) return groupContextParent;\n\t\t\tconst listeners = /* @__PURE__ */ new Set();\n\t\t\tstateRef.current.group?.listeners?.clear();\n\t\t\tstateRef.current.group = {\n\t\t\t\tlisteners,\n\t\t\t\temit(state2) {\n\t\t\t\t\tlisteners.forEach((l) => l(state2));\n\t\t\t\t},\n\t\t\t\tsubscribe(cb) {\n\t\t\t\t\tlisteners.add(cb);\n\t\t\t\t\tif (listeners.size === 1) setStateShallow({ hasDynGroupChildren: true });\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tlisteners.delete(cb);\n\t\t\t\t\t\tif (listeners.size === 0) setStateShallow({ hasDynGroupChildren: false });\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t};\n\t\t\tconst entry = {\n\t\t\t\tstate: { pseudo: defaultComponentStateMounted },\n\t\t\t\tsubscribe: (listener) => {\n\t\t\t\t\tconst dispose = stateRef.current.group?.subscribe(listener);\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tdispose?.();\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t};\n\t\t\tconst next = { ...groupContextParent };\n\t\t\tif (groupName) next[groupName] = entry;\n\t\t\tif (isContainer) {\n\t\t\t\tnext[\"@\"] = entry;\n\t\t\t\tif (containerName) next[`@${containerName}`] = entry;\n\t\t\t}\n\t\t\treturn next;\n\t\t}, [\n\t\t\tstateRef,\n\t\t\tgroupName,\n\t\t\tcontainerName,\n\t\t\tisContainer,\n\t\t\tgroupContextParent\n\t\t]);\n\t\tlet setStateShallow = componentState.setStateShallow;\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`use-state`;\n\t\tconst renderProp = props.render;\n\t\tconst element = isWeb ? !Component || typeof Component === \"string\" ? renderProp || Component : Component : Component;\n\t\tconst BaseComponent = isText ? element || \"span\" : element || (hasTextAncestor ? \"span\" : \"div\");\n\t\tlet elementType = BaseComponent;\n\t\tconst isAnimatedCustomComponent = animationDriver && isAnimated && animationDriver.needsCustomComponent;\n\t\tif (isAnimatedCustomComponent) elementType = animationDriver[isText ? \"Text\" : \"View\"] || elementType;\n\t\tconst disableTheme = props[\"data-disable-theme\"] || isHOC;\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`theme-props`;\n\t\tconst themeStateProps = {\n\t\t\tdisable: disableTheme,\n\t\t\tshallow: props.themeShallow,\n\t\t\tdebug: debugProp\n\t\t};\n\t\tif (\"theme\" in props) themeStateProps.name = props.theme;\n\t\tif (!stateRef.current.optimizeForFirstRender) themeStateProps.needsUpdate = stateRef.current.themeNeedsUpdate || (stateRef.current.themeNeedsUpdate = () => !!stateRef.current.isListeningToTheme);\n\t\tif (process.env.NODE_ENV === \"development\") {\n\t\t\tif (debugProp && debugProp !== \"profile\") {\n\t\t\t\tconst name = `${displayName || Component?.displayName || Component?.name || \"[Unnamed Component]\"}`;\n\t\t\t\tconst type = (hasEnterStyle ? \"(hasEnter)\" : \" \") + (isAnimated ? \"(animated)\" : \" \") + (isReactNative ? \"(rnw)\" : \" \") + (noClass ? \"(noClass)\" : \" \") + (state.press || state.pressIn ? \"(PRESSED)\" : \" \") + (state.hover ? \"(HOVERED)\" : \" \") + (state.focus ? \"(FOCUSED)\" : \" \") + (state.focusWithin ? \"(WITHIN FOCUSED)\" : \" \") + (presenceState?.isPresent === false ? \"(EXIT)\" : \"\");\n\t\t\t\tconst dataIs = propsIn[\"data-is\"] || \"\";\n\t\t\t\tconst banner = `<${name} /> ${internalID} ${dataIs ? ` ${dataIs}` : \"\"} ${type.trim()} (hydrated: ${isHydrated}) (unmounted: ${state.unmounted})`;\n\t\t\t\tconst ch = propsIn.children;\n\t\t\t\tlet childLog = typeof ch === \"string\" ? ch.length > 4 ? ch.slice(0, 4) + \"...\" : ch : \"\";\n\t\t\t\tif (childLog.length) childLog = `(children: ${childLog})`;\n\t\t\t\tif (isWeb) {\n\t\t\t\t\tconsole.info(`%c ${banner}`, \"background: green; color: white;\");\n\t\t\t\t\tif (isServer) log({\n\t\t\t\t\t\tnoClass,\n\t\t\t\t\t\tisAnimated,\n\t\t\t\t\t\tisWeb,\n\t\t\t\t\t\tinputStyle\n\t\t\t\t\t});\n\t\t\t\t\telse {\n\t\t\t\t\t\tconsole.groupEnd();\n\t\t\t\t\t\tconsole.groupCollapsed(`${childLog} [inspect props, state, context \\u{1F447}]`);\n\t\t\t\t\t\tlog(\"props in:\", propsIn);\n\t\t\t\t\t\tlog(\"final props:\", props, Object.keys(props));\n\t\t\t\t\t\tlog({\n\t\t\t\t\t\t\tstate,\n\t\t\t\t\t\t\tstaticConfig,\n\t\t\t\t\t\t\telementType,\n\t\t\t\t\t\t\tthemeStateProps\n\t\t\t\t\t\t});\n\t\t\t\t\t\tlog({\n\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\toverriddenContextProps,\n\t\t\t\t\t\t\tcomponentContext\n\t\t\t\t\t\t});\n\t\t\t\t\t\tlog({\n\t\t\t\t\t\t\tpresence,\n\t\t\t\t\t\t\tisAnimated,\n\t\t\t\t\t\t\tisHOC,\n\t\t\t\t\t\t\thasAnimationProp,\n\t\t\t\t\t\t\tuseAnimations\n\t\t\t\t\t\t});\n\t\t\t\t\t\tconsole.groupEnd();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tconsole.info(`\n\n------------------------------\n${banner}\n------------------------------\n`);\n\t\t\t\t\tlog(`children:`, props.children);\n\t\t\t\t\tlog({\n\t\t\t\t\t\toverriddenContextProps,\n\t\t\t\t\t\tstyledContextValue\n\t\t\t\t\t});\n\t\t\t\t\tlog({\n\t\t\t\t\t\tnoClass,\n\t\t\t\t\t\tisAnimated,\n\t\t\t\t\t\tisWeb,\n\t\t\t\t\t\tinputStyle\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`pre-theme-media`;\n\t\tconst [theme, themeState] = useThemeWithState(themeStateProps);\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`theme`;\n\t\tif (!isAnimatedCustomComponent) elementType = element || elementType;\n\t\tconst isStringElement = typeof elementType === \"string\";\n\t\tconst mediaState = useMedia(componentContext, debugProp, stateRef.current);\n\t\tsetDidGetVariableValue(false);\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`media`;\n\t\tconst styleProps = {\n\t\t\tmediaState,\n\t\t\tnoClass,\n\t\t\tresolveValues: isAnimated && inputStyle !== \"css\" || isHOC && state.unmounted == false && hasAnimationProp ? \"value\" : \"auto\",\n\t\t\tisExiting,\n\t\t\tisAnimated,\n\t\t\twillBeAnimated,\n\t\t\tdisplayName,\n\t\t\tstyledContext: getStyledContextKeys(staticConfig, styledContextValue)\n\t\t};\n\t\tconst themeName = themeState?.name || \"\";\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`split-styles-prepare`;\n\t\tconst splitStyles = useSplitStyles(props, staticConfig, theme, themeName, state, styleProps, null, componentContext, allGroupContexts, elementType, startedUnhydrated, debugProp, animationDriver);\n\t\tconst isPassthrough = !splitStyles;\n\t\tlet contextForOverride = staticConfig.context;\n\t\tif (splitStyles?.overriddenContextProps) {\n\t\t\tconst contextForProps = staticConfig.context || staticConfig.parentStaticConfig?.context;\n\t\t\tif (contextForProps) {\n\t\t\t\tfor (const key in splitStyles.overriddenContextProps) {\n\t\t\t\t\toverriddenContextProps = overriddenContextProps || {};\n\t\t\t\t\toverriddenContextProps[key] = splitStyles.overriddenContextProps[key];\n\t\t\t\t}\n\t\t\t\tif (!staticConfig.context) contextForOverride = contextForProps;\n\t\t\t}\n\t\t}\n\t\tconst groupContext = groupName || isContainer ? allGroupContexts?.[groupName ?? \"@\"] || null : null;\n\t\tif (!isPassthrough && groupContext && props.containerType !== \"normal\") {\n\t\t\tconst groupState = groupContext?.state;\n\t\t\tif (groupState && groupState.layout === void 0) {\n\t\t\t\tif (splitStyles.style?.width || splitStyles.style?.height) groupState.layout = {\n\t\t\t\t\twidth: fromPx(splitStyles.style.width),\n\t\t\t\t\theight: fromPx(splitStyles.style.height)\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t\tconst hasEnterExitTransition = props.transition && typeof props.transition === \"object\" && !Array.isArray(props.transition) && (\"enter\" in props.transition || \"exit\" in props.transition);\n\t\tif (!isPassthrough && (hasAnimationProp || groupName || platformPseudo) && animationDriver?.avoidReRenders && !hasEnterExitTransition) {\n\t\t\tlet updateGroupListeners = function() {\n\t\t\t\tconst updatedState = stateRef.current.nextState;\n\t\t\t\tif (groupContext) {\n\t\t\t\t\tconst { group, hasDynGroupChildren, unmounted, transition, ...childrenGroupState } = updatedState;\n\t\t\t\t\tnotifyGroupSubscribers(groupContext, stateRef.current.group || null, childrenGroupState);\n\t\t\t\t}\n\t\t\t};\n\t\t\tconst ogSetStateShallow = setStateShallow;\n\t\t\tstateRef.current.updateStyleListener = () => {\n\t\t\t\tconst useStyleListener = stateRef.current.useStyleListener;\n\t\t\t\tif (!useStyleListener) {\n\t\t\t\t\tconst pendingState = stateRef.current.nextState;\n\t\t\t\t\tif (pendingState) ogSetStateShallow(pendingState);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst updatedState = stateRef.current.nextState || state;\n\t\t\t\tconst mediaState2 = stateRef.current.nextMedia;\n\t\t\t\tconst nextStyles = getSplitStyles(props, staticConfig, theme, themeName, updatedState, mediaState2 ? {\n\t\t\t\t\t...styleProps,\n\t\t\t\t\tmediaState: mediaState2\n\t\t\t\t} : styleProps, null, componentContext, allGroupContexts, elementType, startedUnhydrated, debugProp, animationDriver);\n\t\t\t\tconst effectiveTransition = nextStyles?.effectiveTransition ?? props.transition ?? (platformPseudo ? \"0ms\" : void 0);\n\t\t\t\tstateRef.current.prevPseudoState = extractPseudoState(updatedState);\n\t\t\t\tconst hasActivePseudo = Boolean(updatedState.hover || updatedState.press || updatedState.pressIn || updatedState.focus || updatedState.focusWithin);\n\t\t\t\tuseStyleListener(nextStyles?.style || {}, effectiveTransition, hasActivePseudo);\n\t\t\t};\n\t\t\tcomponentContext.mediaEmitListeners = componentContext.mediaEmitListeners || /* @__PURE__ */ new Set();\n\t\t\tif (!stateRef.current.mediaEmitCleanup) {\n\t\t\t\tconst updateListener = (next) => {\n\t\t\t\t\tstateRef.current.nextMedia = next;\n\t\t\t\t\tstateRef.current.updateStyleListener?.();\n\t\t\t\t};\n\t\t\t\tcomponentContext.mediaEmitListeners.add(updateListener);\n\t\t\t\tstateRef.current.mediaEmitCleanup = () => {\n\t\t\t\t\tcomponentContext.mediaEmitListeners?.delete(updateListener);\n\t\t\t\t};\n\t\t\t}\n\t\t\tcomponentContext.mediaEmit = componentContext.mediaEmit || ((next) => {\n\t\t\t\tfor (const listener of componentContext.mediaEmitListeners) listener(next);\n\t\t\t});\n\t\t\tstateRef.current.setStateShallow = (nextOrGetNext) => {\n\t\t\t\tconst prev = stateRef.current.nextState || state;\n\t\t\t\tconst next = typeof nextOrGetNext === \"function\" ? nextOrGetNext(prev) : nextOrGetNext;\n\t\t\t\tif (next === prev || isEqualShallow(prev, next)) return;\n\t\t\t\tconst canAvoidReRender = Object.keys(next).every((key) => avoidReRenderKeys.has(key));\n\t\t\t\tconst updatedState = {\n\t\t\t\t\t...prev,\n\t\t\t\t\t...next\n\t\t\t\t};\n\t\t\t\tstateRef.current.nextState = updatedState;\n\t\t\t\tif (canAvoidReRender) {\n\t\t\t\t\tif (process.env.NODE_ENV === \"development\" && debugProp && debugProp !== \"profile\") {\n\t\t\t\t\t\tconsole.groupCollapsed(`[\\u26A1\\uFE0F] avoid setState`, displayName, next, {\n\t\t\t\t\t\t\tupdatedState,\n\t\t\t\t\t\t\tprops\n\t\t\t\t\t\t});\n\t\t\t\t\t\tconsole.info(stateRef.current.host);\n\t\t\t\t\t\tconsole.groupEnd();\n\t\t\t\t\t}\n\t\t\t\t\tupdateGroupListeners();\n\t\t\t\t\tstateRef.current.updateStyleListener?.();\n\t\t\t\t} else {\n\t\t\t\t\tif (process.env.NODE_ENV === \"development\" && debugProp && debugProp !== \"profile\") console.info(`[\\u{1F40C}] re-render`, {\n\t\t\t\t\t\tcanAvoidReRender,\n\t\t\t\t\t\tnext\n\t\t\t\t\t});\n\t\t\t\t\togSetStateShallow(next);\n\t\t\t\t}\n\t\t\t};\n\t\t\tsetStateShallow = (state2) => {\n\t\t\t\tstateRef.current.setStateShallow?.(state2);\n\t\t\t};\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`split-styles`;\n\t\tif (splitStyles) {\n\t\t\tif (props.group && props.untilMeasured === \"hide\" && !stateRef.current.hasMeasured) {\n\t\t\t\tsplitStyles.style = splitStyles.style || {};\n\t\t\t\tsplitStyles.style.opacity = 0;\n\t\t\t}\n\t\t}\n\t\tconst hasRuntimeMediaKeys = splitStyles?.hasMedia && splitStyles.hasMedia !== true;\n\t\tconst shouldListenForMedia = didGetVariableValue() || hasRuntimeMediaKeys || noClass && splitStyles?.hasMedia === true;\n\t\tconst mediaListeningKeys = hasRuntimeMediaKeys ? splitStyles.hasMedia : null;\n\t\tif (process.env.NODE_ENV === \"development\" && debugProp === \"verbose\") console.info(`useMedia() createComponent`, shouldListenForMedia, mediaListeningKeys);\n\t\tsetMediaShouldUpdate(stateRef.current, shouldListenForMedia, mediaListeningKeys, stateRef.current.optimizeForFirstRender);\n\t\tconst { viewProps: viewPropsIn, style: splitStylesStyle, classNames, pseudoGroups, mediaGroups } = splitStyles || {};\n\t\tconst propsWithAnimation = props;\n\t\tconst { asChild, children, themeShallow, spaceDirection: _spaceDirection, onPress, onLongPress, onPressIn, onPressOut, onHoverIn, onHoverOut, onMouseUp, onMouseDown, onMouseEnter, onMouseLeave, onFocus, onBlur, onTransition, separator, passThrough, forceStyle: _forceStyle, onClick, theme: _themeProp, ...nonTamaguiProps } = viewPropsIn || {};\n\t\tlet viewProps = nonTamaguiProps;\n\t\tif (props.forceStyle) viewProps.forceStyle = props.forceStyle;\n\t\tif (isHOC) {\n\t\t\tif (typeof _themeProp !== \"undefined\") viewProps.theme = _themeProp;\n\t\t\tif (typeof passThrough !== \"undefined\") viewProps.passThrough = passThrough;\n\t\t\tif (typeof asChild !== \"undefined\") viewProps.asChild = asChild;\n\t\t\tif (typeof onTransition !== \"undefined\") viewProps.onTransition = onTransition;\n\t\t}\n\t\tlet animationStyles;\n\t\tconst shouldUseAnimation = (inputStyle === \"css\" ? willBeAnimatedClient : willBeAnimated) && useAnimations && !isHOC;\n\t\tlet animatedRef;\n\t\tif (shouldUseAnimation) {\n\t\t\tconst useStyleEmitter = animationDriver?.avoidReRenders ? (listener) => {\n\t\t\t\tstateRef.current.useStyleListener = listener;\n\t\t\t} : void 0;\n\t\t\tconst effectiveTransition = splitStyles?.effectiveTransition ?? props.transition ?? (platformPseudo ? \"0ms\" : void 0);\n\t\t\tif (splitStyles) splitStyles.effectiveTransition = effectiveTransition;\n\t\t\tstateRef.current.prevPseudoState = extractPseudoState(state);\n\t\t\tconst animations = useAnimations({\n\t\t\t\tprops: propsWithAnimation,\n\t\t\t\tstyle: isHydrated ? splitStylesStyle || {} : { ...splitStylesStyle },\n\t\t\t\tstyleState: splitStyles,\n\t\t\t\tuseStyleEmitter,\n\t\t\t\tpresence,\n\t\t\t\tcomponentState: state,\n\t\t\t\tstyleProps,\n\t\t\t\ttheme,\n\t\t\t\tthemeName,\n\t\t\t\tstaticConfig,\n\t\t\t\tstateRef,\n\t\t\t\tonTransition\n\t\t\t});\n\t\t\tif (animations) {\n\t\t\t\tif (animations.ref) animatedRef = animations.ref;\n\t\t\t\tif (isHydrated && animations) {\n\t\t\t\t\tanimationStyles = animations.style;\n\t\t\t\t\tviewProps.style = animationStyles;\n\t\t\t\t\tif (animations.className) viewProps.className = `${state.unmounted === \"should-enter\" ? \"t_unmounted \" : \"\"}${viewProps.className || \"\"} ${animations.className}`;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (process.env.NODE_ENV === \"development\" && time) time`animations`;\n\t\t}\n\t\tif (isWeb && isExiting) viewProps.className = `t_exiting ${viewProps.className || \"\"}`;\n\t\tif (process.env.NODE_ENV === \"development\" && props.untilMeasured && !props.group) console.warn(`You set the untilMeasured prop without setting group. This doesn't work, be sure to set untilMeasured on the parent that sets group, not the children that use a group clause.\n\nIf you meant to do this, you can disable this warning - either change untilMeasured and group at the same time, or do group={conditional ? 'name' : undefined}`);\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`destructure`;\n\t\tif (!isPassthrough && groupContext && props.containerType !== \"normal\") nonTamaguiProps.onLayout = composeEventHandlers(nonTamaguiProps.onLayout, (e) => {\n\t\t\tconst layout = e.nativeEvent.layout;\n\t\t\tgroupContext.state.layout = layout;\n\t\t\tstateRef.current.group?.emit({ layout });\n\t\t\tif (!stateRef.current.hasMeasured && props.untilMeasured === \"hide\") setState((prev) => ({ ...prev }));\n\t\t\tstateRef.current.hasMeasured = true;\n\t\t});\n\t\tviewProps = hooks.usePropsTransform?.(elementType, nonTamaguiProps, stateRef, stateRef.current.willHydrate) || nonTamaguiProps;\n\t\tif (!stateRef.current.composedRef) stateRef.current.composedRef = composeRefs((x) => {\n\t\t\tstateRef.current.host = x;\n\t\t}, forwardedRef, setElementProps, animatedRef);\n\t\tviewProps.ref = stateRef.current.composedRef;\n\t\tusePointerEvents(props, viewProps);\n\t\tif (process.env.NODE_ENV === \"development\") {\n\t\t\tif (!isReactNative && !isText && isWeb && !isHOC) React.Children.toArray(props.children).forEach((item) => {\n\t\t\t\tif (typeof item === \"string\" && item !== \"\\n\") console.error(`Unexpected text node: ${item}. A text node cannot be a child of a <${displayName || propsIn.tag || \"View\"}>.`, props);\n\t\t\t});\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`events-hooks`;\n\t\tconst unPress = () => {\n\t\t\tsetStateShallow({\n\t\t\t\tpress: false,\n\t\t\t\tpressIn: false\n\t\t\t});\n\t\t};\n\t\tif (process.env.NODE_ENV === \"development\" && isWeb) useIsomorphicLayoutEffect(() => {\n\t\t\tif (debugProp === \"verbose\") {\n\t\t\t\tlet cssStyleDeclarationToObject = function(style) {\n\t\t\t\t\tconst styleObject = {};\n\t\t\t\t\tfor (let i = 0; i < style.length; i++) {\n\t\t\t\t\t\tlet prop = style[i];\n\t\t\t\t\t\tstyleObject[prop] = style.getPropertyValue(prop);\n\t\t\t\t\t}\n\t\t\t\t\treturn styleObject;\n\t\t\t\t};\n\t\t\t\tconst computed = stateRef.current.host ? cssStyleDeclarationToObject(getComputedStyle(stateRef.current.host)) : {};\n\t\t\t\tconsole.groupCollapsed(`Rendered > (opacity: ${computed.opacity})`);\n\t\t\t\tconsole.warn(stateRef.current.host);\n\t\t\t\tconsole.warn(computed);\n\t\t\t\tconsole.groupEnd();\n\t\t\t}\n\t\t});\n\t\tuseIsomorphicLayoutEffect(() => {\n\t\t\tif (state.unmounted === true && hasEnterStyle) {\n\t\t\t\tsetStateShallow({ unmounted: \"should-enter\" });\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (state.unmounted) {\n\t\t\t\tif (inputStyle === \"css\") {\n\t\t\t\t\tlet cancelled = false;\n\t\t\t\t\trequestAnimationFrame(() => {\n\t\t\t\t\t\tif (cancelled) return;\n\t\t\t\t\t\trequestAnimationFrame(() => {\n\t\t\t\t\t\t\tif (cancelled) return;\n\t\t\t\t\t\t\tsetStateShallow({ unmounted: false });\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tcancelled = true;\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tsetStateShallow({ unmounted: false });\n\t\t\t}\n\t\t}, [state.unmounted, inputStyle]);\n\t\tuseIsomorphicLayoutEffect(() => {\n\t\t\treturn () => {\n\t\t\t\tcomponentSetStates.delete(setState);\n\t\t\t\tstateRef.current.mediaEmitCleanup?.();\n\t\t\t\tstateRef.current.mediaEmitCleanup = void 0;\n\t\t\t};\n\t\t}, []);\n\t\tuseIsomorphicLayoutEffect(() => {\n\t\t\tlet disposeSafeArea;\n\t\t\tif (splitStyles?.usesSafeArea) {\n\t\t\t\tconst updateSafeArea = () => {\n\t\t\t\t\tsetState((previous) => ({ ...previous }));\n\t\t\t\t};\n\t\t\t\tdisposeSafeArea = subscribeToSafeArea(updateSafeArea);\n\t\t\t\tupdateSafeArea();\n\t\t\t}\n\t\t\tif (disabled) return disposeSafeArea;\n\t\t\tif (!pseudoGroups && !mediaGroups) return disposeSafeArea;\n\t\t\tif (!allGroupContexts) return disposeSafeArea;\n\t\t\tconst disposeGroup = subscribeToContextGroup({\n\t\t\t\tgroupContext: allGroupContexts,\n\t\t\t\tsetStateShallow,\n\t\t\t\tmediaGroups,\n\t\t\t\tpseudoGroups\n\t\t\t});\n\t\t\tif (!disposeSafeArea) return disposeGroup;\n\t\t\treturn () => {\n\t\t\t\tdisposeSafeArea();\n\t\t\t\tdisposeGroup?.();\n\t\t\t};\n\t\t}, [\n\t\t\tallGroupContexts,\n\t\t\tdisabled,\n\t\t\tsplitStyles?.usesSafeArea,\n\t\t\tpseudoGroups ? objectIdentityKey(pseudoGroups) : 0,\n\t\t\tmediaGroups ? objectIdentityKey(mediaGroups) : 0\n\t\t]);\n\t\tconst groupEmitter = stateRef.current.group;\n\t\tuseIsomorphicLayoutEffect(() => {\n\t\t\tif (!groupContext || !groupEmitter) return;\n\t\t\tnotifyGroupSubscribers(groupContext, groupEmitter, state);\n\t\t}, [\n\t\t\tgroupContext,\n\t\t\tgroupEmitter,\n\t\t\tstate\n\t\t]);\n\t\tconst conditionalStates = !disabled ? splitStyles?.programStates : void 0;\n\t\tconst runtimePressStyle = !disabled && (conditionalStates?.has(\"press\") || conditionalStates?.has(\"active\"));\n\t\tconst runtimeFocusStyle = !disabled && conditionalStates?.has(\"focus\");\n\t\tconst runtimeFocusVisibleStyle = !disabled && conditionalStates?.has(\"focus-visible\");\n\t\tconst attachFocus = Boolean(runtimePressStyle || runtimeFocusStyle || runtimeFocusVisibleStyle || onFocus || onBlur || !!componentContext.setParentFocusState);\n\t\tconst hasDynamicGroupChildren = Boolean(groupName && state.hasDynGroupChildren);\n\t\tconst attachPress = Boolean(hasDynamicGroupChildren || runtimePressStyle || onPress || onPressOut || onPressIn || onMouseDown || onMouseUp || onLongPress || onClick);\n\t\tconst runtimeHoverStyle = !disabled && conditionalStates?.has(\"hover\");\n\t\tconst needsHoverState = Boolean(hasDynamicGroupChildren || runtimeHoverStyle && !platformPseudo);\n\t\tconst attachHover = (isWeb || isNativeDesktop) && !!(hasDynamicGroupChildren || needsHoverState || onMouseEnter || onMouseLeave);\n\t\tconst shouldAttach = !disabled && !props.asChild && Boolean(attachFocus || attachPress || attachHover || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle);\n\t\tconst needsPressState = Boolean(hasDynamicGroupChildren || runtimePressStyle);\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`events-setup`;\n\t\tif (process.env.NODE_ENV === \"development\" && debugProp === \"verbose\") log(`\\u{1FAA9} events()`, {\n\t\t\truntimeFocusStyle,\n\t\t\truntimePressStyle,\n\t\t\truntimeHoverStyle,\n\t\t\truntimeFocusVisibleStyle,\n\t\t\tattachPress,\n\t\t\tattachFocus,\n\t\t\tattachHover,\n\t\t\tshouldAttach,\n\t\t\tneedsHoverState\n\t\t});\n\t\tconst events = shouldAttach ? {\n\t\t\tonPressOut: attachPress ? (e) => {\n\t\t\t\tunPress();\n\t\t\t\tonPressOut?.(e);\n\t\t\t\tonMouseUp?.(e);\n\t\t\t} : void 0,\n\t\t\t...(attachHover || attachPress) && {\n\t\t\t\tonMouseEnter: (e) => {\n\t\t\t\t\tconst next = {};\n\t\t\t\t\tif (needsHoverState && !lastInteractionWasTouch.value) next.hover = true;\n\t\t\t\t\tif (needsPressState) {\n\t\t\t\t\t\tif (state.pressIn) next.press = true;\n\t\t\t\t\t}\n\t\t\t\t\tsetStateShallow(next);\n\t\t\t\t\tonHoverIn?.(e);\n\t\t\t\t\tonMouseEnter?.(e);\n\t\t\t\t},\n\t\t\t\tonMouseLeave: (e) => {\n\t\t\t\t\tconst next = {};\n\t\t\t\t\tif (needsHoverState) next.hover = false;\n\t\t\t\t\tif (needsPressState) {\n\t\t\t\t\t\tnext.press = false;\n\t\t\t\t\t\tnext.pressIn = false;\n\t\t\t\t\t}\n\t\t\t\t\tsetStateShallow(next);\n\t\t\t\t\tonHoverOut?.(e);\n\t\t\t\t\tonMouseLeave?.(e);\n\t\t\t\t}\n\t\t\t},\n\t\t\tonPressIn: attachPress ? (e) => {\n\t\t\t\tif (needsPressState) setStateShallow({\n\t\t\t\t\tpress: true,\n\t\t\t\t\tpressIn: true\n\t\t\t\t});\n\t\t\t\tonPressIn?.(e);\n\t\t\t\tonMouseDown?.(e);\n\t\t\t\tif (isWeb) componentSetStates.add(setState);\n\t\t\t} : void 0,\n\t\t\tonPress: attachPress ? (e) => {\n\t\t\t\tunPress();\n\t\t\t\tonClick?.(e);\n\t\t\t\tif (onPress || onClick) e.stopPropagation();\n\t\t\t\tonPress?.(e);\n\t\t\t\tonLongPress?.(e);\n\t\t\t} : void 0,\n\t\t\t...attachFocus && {\n\t\t\t\tonFocus: (e) => {\n\t\t\t\t\tconst next = {};\n\t\t\t\t\tif (componentContext.setParentFocusState) {\n\t\t\t\t\t\tcomponentContext.setParentFocusState({ focusWithin: true });\n\t\t\t\t\t\tnext.focusWithin = true;\n\t\t\t\t\t}\n\t\t\t\t\tif (conditionalStates?.has(\"focus-visible\")) if (lastInteractionWasKeyboard.value) next.focusVisible = true;\n\t\t\t\t\telse next.focus = true;\n\t\t\t\t\telse next.focus = true;\n\t\t\t\t\tsetStateShallow(next);\n\t\t\t\t\tonFocus?.(e);\n\t\t\t\t},\n\t\t\t\tonBlur: (e) => {\n\t\t\t\t\tif (componentContext.setParentFocusState) componentContext.setParentFocusState({ focusWithin: false });\n\t\t\t\t\tsetStateShallow({\n\t\t\t\t\t\tfocus: false,\n\t\t\t\t\t\tfocusVisible: false,\n\t\t\t\t\t\tfocusWithin: false\n\t\t\t\t\t});\n\t\t\t\t\tonBlur?.(e);\n\t\t\t\t}\n\t\t\t}\n\t\t} : null;\n\t\tif (events && !isReactNative) Object.assign(viewProps, getWebEvents(events));\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`events`;\n\t\tif (process.env.NODE_ENV === \"development\" && debugProp === \"verbose\") log(`events`, {\n\t\t\tevents,\n\t\t\tattachHover,\n\t\t\tattachPress\n\t\t});\n\t\tconst propsWithHref = props;\n\t\tconst propsInWithHref = propsIn;\n\t\t[displayName, props.testID ?? propsIn.testID ?? props.accessibilityLabel ?? propsIn.accessibilityLabel ?? (typeof propsWithHref.href === \"string\" ? propsWithHref.href : null) ?? (typeof propsInWithHref.href === \"string\" ? propsInWithHref.href : null)].filter(Boolean).join(\":\");\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`hooks`;\n\t\tif (asChild && !isHOC) {\n\t\t\telementType = Slot;\n\t\t\t{\n\t\t\t\tconst passEvents = getWebEvents({\n\t\t\t\t\tonPress,\n\t\t\t\t\tonLongPress,\n\t\t\t\t\tonPressIn,\n\t\t\t\t\tonPressOut,\n\t\t\t\t\tonMouseUp,\n\t\t\t\t\tonMouseDown,\n\t\t\t\t\tonMouseEnter,\n\t\t\t\t\tonMouseLeave\n\t\t\t\t}, asChild === \"web\" || asChild === \"except-style-web\");\n\t\t\t\tObject.assign(viewProps, passEvents);\n\t\t\t}\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`spaced-as-child`;\n\t\tlet content;\n\t\tconst childrenFromHooks = hooks.useChildren ? hooks.useChildren(elementType, children, viewProps, isPassthrough) : void 0;\n\t\tif (isPassthrough) content = React.createElement(BaseComponent, { style: { display: \"contents\" } }, propsIn.children);\n\t\telse {\n\t\t\tif (childrenFromHooks) content = childrenFromHooks;\n\t\t\tconst isRenderPropString = typeof renderProp === \"string\";\n\t\t\tif (renderProp && !isRenderPropString) {\n\t\t\t\tconst out = getCustomRender(renderProp, content || children, viewProps, componentState);\n\t\t\t\tif (out) {\n\t\t\t\t\tviewProps = out.viewProps;\n\t\t\t\t\tif (isAnimatedCustomComponent && elementType[\"acceptRenderProp\"] && typeof out.elementType === \"string\") viewProps.render = out.elementType;\n\t\t\t\t\telse elementType = out.elementType;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!content) {\n\t\t\t\tif (isRenderPropString && elementType[\"acceptRenderProp\"]) viewProps.render = renderProp;\n\t\t\t\tcontent = React.createElement(elementType, viewProps, content || children);\n\t\t\t}\n\t\t\tif (process.env.NODE_ENV === \"development\" && time) time`use-children`;\n\t\t}\n\t\tconst ResetPresence = animationDriver?.isStub ? void 0 : animationDriver?.ResetPresence;\n\t\tconst needsReset = Boolean(!asChild && splitStyles && !isHOC && ResetPresence && willBeAnimated && (hasEnterStyle || presenceState));\n\t\tconst hasEverReset = stateRef.current.hasEverResetPresence;\n\t\tif (needsReset && !hasEverReset) stateRef.current.hasEverResetPresence = true;\n\t\tif ((needsReset || hasEverReset) && ResetPresence) content = /* @__PURE__ */ jsx(ResetPresence, {\n\t\t\tdisabled: !needsReset,\n\t\t\tchildren: content\n\t\t});\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`create-element`;\n\t\tif (conditionalStates?.has(\"focus-within\")) content = /* @__PURE__ */ jsx(ComponentContext.Provider, {\n\t\t\t...componentContext,\n\t\t\tsetParentFocusState: setStateShallow,\n\t\t\tchildren: content\n\t\t});\n\t\tif (\"group\" in props || isContainer) content = /* @__PURE__ */ jsx(GroupContext.Provider, {\n\t\t\tvalue: allGroupContexts,\n\t\t\tchildren: content\n\t\t});\n\t\tif (!asChild && isText && !hasTextAncestor) content = /* @__PURE__ */ jsx(ComponentContext.Provider, {\n\t\t\t...componentContext,\n\t\t\tinText: true,\n\t\t\tchildren: content\n\t\t});\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`group-context`;\n\t\tcontent = disableTheme || !splitStyles ? content : getThemedChildren(themeState, content, themeStateProps, false, stateRef);\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`themed-children`;\n\t\tif (isReactNative && !asChild) content = /* @__PURE__ */ jsx(\"span\", {\n\t\t\tclassName: \"_dsp_contents\",\n\t\t\t...!isPassthrough && isHydrated && events && getWebEvents(events),\n\t\t\tchildren: content\n\t\t});\n\t\tif (overriddenContextProps && contextForOverride) {\n\t\t\tconst Provider = contextForOverride.Provider;\n\t\t\tfor (const key in styledContextValue) if (!(key in overriddenContextProps)) overriddenContextProps[key] = styledContextValue[key];\n\t\t\tcontent = /* @__PURE__ */ jsx(Provider, {\n\t\t\t\t__disableMergeDefaultValues: true,\n\t\t\t\t...overriddenContextProps,\n\t\t\t\tchildren: content\n\t\t\t});\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`context-override`;\n\t\tif (startedUnhydrated && splitStyles) content = /* @__PURE__ */ jsxs(Fragment, { children: [content, !isHydrated ? getStyleTags(Object.values(splitStyles.rulesToInsert)) : null] });\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`style-tags`;\n\t\tif (process.env.NODE_ENV === \"development\") {\n\t\t\tif (debugProp && debugProp !== \"profile\") {\n\t\t\t\tconst title = `render <${typeof elementType === \"string\" ? elementType : \"Component\"} /> (${internalID}) with props`;\n\t\t\t\tif (!isWeb || !isClient) {\n\t\t\t\t\tlog(title);\n\t\t\t\t\tlog(`state: `, state);\n\t\t\t\t\tif (isDevTools) log(\"viewProps\", viewProps);\n\t\t\t\t\tlog(`final styles:`);\n\t\t\t\t\tfor (const key in splitStylesStyle) log(key, splitStylesStyle[key]);\n\t\t\t\t} else {\n\t\t\t\t\tconsole.groupCollapsed(title);\n\t\t\t\t\ttry {\n\t\t\t\t\t\tlog(\"viewProps\", viewProps);\n\t\t\t\t\t\tlog(\"children\", content);\n\t\t\t\t\t\tif (typeof window !== \"undefined\") log({\n\t\t\t\t\t\t\tpropsIn,\n\t\t\t\t\t\t\tprops,\n\t\t\t\t\t\t\tattachPress,\n\t\t\t\t\t\t\tanimationStyles,\n\t\t\t\t\t\t\tclassNames,\n\t\t\t\t\t\t\tcontent,\n\t\t\t\t\t\t\telementType,\n\t\t\t\t\t\t\tevents,\n\t\t\t\t\t\t\tisAnimated,\n\t\t\t\t\t\t\thasRuntimeMediaKeys,\n\t\t\t\t\t\t\tisStringElement,\n\t\t\t\t\t\t\tmediaListeningKeys,\n\t\t\t\t\t\t\tshouldAttach,\n\t\t\t\t\t\t\tnoClass,\n\t\t\t\t\t\t\tshouldListenForMedia,\n\t\t\t\t\t\t\tsplitStyles,\n\t\t\t\t\t\t\tsplitStylesStyle,\n\t\t\t\t\t\t\tstate,\n\t\t\t\t\t\t\tstateRef,\n\t\t\t\t\t\t\tstaticConfig,\n\t\t\t\t\t\t\tstyleProps,\n\t\t\t\t\t\t\tthemeState,\n\t\t\t\t\t\t\tviewProps,\n\t\t\t\t\t\t\twillBeAnimated,\n\t\t\t\t\t\t\tstartedUnhydrated\n\t\t\t\t\t\t});\n\t\t\t\t\t} catch {} finally {\n\t\t\t\t\t\tconsole.groupEnd();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && time) {\n\t\t\ttime`rest`;\n\t\t\tif (!globalThis[\"willPrint\"]) {\n\t\t\t\tglobalThis[\"willPrint\"] = true;\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tdelete globalThis[\"willPrint\"];\n\t\t\t\t\ttime.print();\n\t\t\t\t\ttime = null;\n\t\t\t\t}, 50);\n\t\t\t}\n\t\t}\n\t\treturn content;\n\t};\n\tfunction notifyGroupSubscribers(groupContext, groupEmitter, pseudo) {\n\t\tif (!groupContext || !groupEmitter) return;\n\t\tconst prevPseudo = groupContext.state.pseudo;\n\t\tconst shouldReplacePseudo = !prevPseudo || \"unmounted\" in prevPseudo || \"group\" in prevPseudo || \"hasDynGroupChildren\" in prevPseudo || \"transition\" in prevPseudo;\n\t\tconst nextPseudo = shouldReplacePseudo ? {} : prevPseudo;\n\t\tlet didChange = shouldReplacePseudo;\n\t\tfor (let i = 0; i < groupPseudoKeys.length; i++) {\n\t\t\tconst key = groupPseudoKeys[i];\n\t\t\tconst value = pseudo[key];\n\t\t\tif (nextPseudo[key] !== value) {\n\t\t\t\tnextPseudo[key] = value;\n\t\t\t\tdidChange = true;\n\t\t\t} else if (didChange) nextPseudo[key] = value;\n\t\t}\n\t\tif (!didChange) return;\n\t\tgroupContext.state.pseudo = nextPseudo;\n\t\tgroupEmitter.emit(groupContext.state);\n\t}\n\tres = component;\n\tres = React.memo(res);\n\tres.staticConfig = staticConfig;\n\treturn res;\n}\nconst fromPx = (val) => {\n\tif (typeof val === \"number\") return val;\n\tif (typeof val === \"string\") return +val.replace(\"px\", \"\");\n\treturn 0;\n};\nconst getCustomRender = (renderProp, content, viewProps, state) => {\n\tif (typeof renderProp === \"function\") renderProp = getRenderElementForPlatform(renderProp(viewProps, state));\n\tif (renderProp) {\n\t\tif (typeof renderProp === \"object\" && React.isValidElement(renderProp)) {\n\t\t\tif (getRenderElementForPlatform(renderProp)) {\n\t\t\t\tconst elementProps = renderProp.props;\n\t\t\t\tconst mergedProps = elementProps ? mergeRenderElementProps(elementProps, viewProps, content) : viewProps;\n\t\t\t\treturn {\n\t\t\t\t\telementType: renderProp.type,\n\t\t\t\t\tviewProps: mergedProps\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t}\n};\nfunction getRenderElementForPlatform(potential) {\n\treturn potential;\n}\n\nexport { componentSetStates, createComponent };"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,IAAI,YAA4B,kBAAE,MAAM,uBAAmB,4BAAwB,OAAO,UAAU,cAAc,IAAI,MAAM,GAAG,EAAE,MAAM,GAAG,OAAO,uBAAmB,4BAAwB,GAAG,GAAG,CAAC,IAAI,GAAG,SAAS,GAAG;CACrN,IAAI,uBAAmB,aAAa,mBAAe,MAAM,MAAM,SAAS;CACxE,MAAM,MAAM,6BAA6B,IAAI,2JAA2J;AACzM,CAAC;AAED,IAAI;AACJ,IAAI;AACJ,IAAI;AACJ,MAAM,qCAAqC,IAAI,IAAI;AACnD,MAAM,oCAAoC,IAAI,IAAI;CACjD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,MAAM,kBAAkB;CACvB;CACA;CACA;CACA;CACA;CACA;CACA;AACD;AACA,SAAS,qBAAqB,cAAc,oBAAoB;CAC/D,MAAM,WAAW,aAAa,gBAAgB,aAAa,SAAS;CACpE,IAAI,CAAC,UAAU,OAAO;CACtB,MAAM,MAAM,CAAC;CACb,KAAK,MAAM,OAAO,UAAU,IAAI,OAAO;CACvC,IAAI,oBAAoB,OAAO,OAAO,KAAK,kBAAkB;CAC7D,OAAO;AACR;AACA,IAAI,OAAO,WAAW,aAAa;CAClC,MAAM,sBAAsB;EAC3B,mBAAmB,SAAS,aAAa,UAAU,SAAS;GAC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"createComponent.js","names":[],"sources":["esm/createComponent.js"],"sourcesContent":["import { composeRefs } from \"@tamagui/compose-refs\";\nimport { getPlatformDriver, isClient, isNativeDesktop, isServer, isWeb, useIsomorphicLayoutEffect } from \"@tamagui/constants\";\nimport { composeEventHandlers } from \"@tamagui/helpers\";\nimport { isEqualShallow } from \"@tamagui/is-equal-shallow\";\nimport React, { useMemo } from \"react\";\nimport { devConfig, getConfig } from \"./config\";\nimport { isDevTools } from \"./constants/isDevTools\";\nimport { ComponentContext } from \"./contexts/ComponentContext\";\nimport { GroupContext } from \"./contexts/GroupContext\";\nimport { didGetVariableValue, setDidGetVariableValue } from \"./createVariable\";\nimport { defaultComponentStateMounted } from \"./defaultComponentState\";\nimport { getWebEvents } from \"./eventHandling\";\nimport { getDefaultProps } from \"./helpers/getDefaultProps\";\nimport { componentDisplayName } from \"./helpers/componentDisplayName\";\nimport { resolveAnimationDriver } from \"./helpers/resolveAnimationDriver\";\nimport { getSplitStyles, useSplitStyles } from \"./helpers/getSplitStyles\";\nimport { log } from \"./helpers/log\";\nimport { mergeComponentProps } from \"./helpers/mergeProps\";\nimport { mergeRenderElementProps } from \"./helpers/mergeRenderElementProps\";\nimport { objectIdentityKey } from \"./helpers/objectIdentityKey\";\nimport { usePointerEvents } from \"./helpers/pointerEvents\";\nimport { extractPseudoState } from \"./helpers/extractPseudoState\";\nimport { subscribeToSafeArea } from \"./helpers/resolveSafeAreaVariable\";\nimport { setElementProps } from \"./helpers/setElementProps\";\nimport { subscribeToContextGroup } from \"./helpers/subscribeToContextGroup\";\nimport { getStyleTags } from \"./helpers/wrapStyleTags\";\nimport { useComponentState } from \"./hooks/useComponentState\";\nimport { setMediaShouldUpdate, useMedia } from \"./hooks/useMedia\";\nimport { useThemeWithState } from \"./hooks/useTheme\";\nimport { hooks } from \"./setupHooks\";\nimport { Slot } from \"./views/Slot\";\nimport { getThemedChildren } from \"./views/Theme\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\n\nvar __require = /* @__PURE__ */ ((x) => typeof require !== \"undefined\" ? require : typeof Proxy !== \"undefined\" ? new Proxy(x, { get: (a, b) => (typeof require !== \"undefined\" ? require : a)[b] }) : x)(function(x) {\n\tif (typeof require !== \"undefined\") return require.apply(this, arguments);\n\tthrow Error(\"Calling `require` for \\\"\" + x + \"\\\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.\");\n});\n\nlet time;\nlet debugKeyListeners;\nlet startVisualizer;\nconst componentSetStates = /* @__PURE__ */ new Set();\nconst avoidReRenderKeys = /* @__PURE__ */ new Set([\n\t\"hover\",\n\t\"press\",\n\t\"pressIn\",\n\t\"group\",\n\t\"focus\",\n\t\"focusWithin\",\n\t\"media\",\n\t\"group\"\n]);\nconst groupPseudoKeys = [\n\t\"disabled\",\n\t\"hover\",\n\t\"press\",\n\t\"pressIn\",\n\t\"focus\",\n\t\"focusVisible\",\n\t\"focusWithin\"\n];\nfunction getStyledContextKeys(staticConfig, styledContextValue) {\n\tconst propKeys = staticConfig.contextProps || staticConfig.context?.propKeys;\n\tif (!propKeys) return styledContextValue;\n\tconst out = {};\n\tfor (const key of propKeys) out[key] = true;\n\tif (styledContextValue) Object.assign(out, styledContextValue);\n\treturn out;\n}\nif (typeof window !== \"undefined\") {\n\tconst cancelPresses = () => {\n\t\tcomponentSetStates.forEach((setState) => setState((prev) => {\n\t\t\tif (prev.press || prev.pressIn) return {\n\t\t\t\t...prev,\n\t\t\t\tpress: false,\n\t\t\t\tpressIn: false\n\t\t\t};\n\t\t\treturn prev;\n\t\t}));\n\t\tcomponentSetStates.clear();\n\t};\n\tconst cancelTouches = () => {\n\t\tcomponentSetStates.forEach((setState) => setState((prev) => {\n\t\t\tif (prev.press || prev.pressIn || prev.hover) return {\n\t\t\t\t...prev,\n\t\t\t\tpress: false,\n\t\t\t\tpressIn: false,\n\t\t\t\thover: false\n\t\t\t};\n\t\t\treturn prev;\n\t\t}));\n\t\tcomponentSetStates.clear();\n\t};\n\taddEventListener(\"mouseup\", cancelPresses);\n\taddEventListener(\"touchend\", cancelTouches);\n\taddEventListener(\"touchcancel\", cancelTouches);\n\tif (process.env.NODE_ENV === \"development\") startVisualizer = () => {\n\t\tconst devVisualizerConfig = devConfig?.visualizer;\n\t\tif (devVisualizerConfig && !globalThis.__tamaguiDevVisualizer) {\n\t\t\tlet show = function(val) {\n\t\t\t\tclearTimeout(tm);\n\t\t\t\tisShowing = val;\n\t\t\t\tdebugKeyListeners?.forEach((l) => l(val));\n\t\t\t\tif (!val && resizeListener) {\n\t\t\t\t\twindow.removeEventListener(\"resize\", resizeListener);\n\t\t\t\t\tresizeListener = null;\n\t\t\t\t}\n\t\t\t}, cancelShow = function() {\n\t\t\t\tclearTimeout(tm);\n\t\t\t\tif (resizeListener) {\n\t\t\t\t\twindow.removeEventListener(\"resize\", resizeListener);\n\t\t\t\t\tresizeListener = null;\n\t\t\t\t}\n\t\t\t};\n\t\t\tglobalThis.__tamaguiDevVisualizer = true;\n\t\t\tdebugKeyListeners = /* @__PURE__ */ new Set();\n\t\t\tlet tm;\n\t\t\tlet isShowing = false;\n\t\t\tlet resizeListener = null;\n\t\t\tconst options = {\n\t\t\t\tkey: \"Alt\",\n\t\t\t\tdelay: 800,\n\t\t\t\t...typeof devVisualizerConfig === \"object\" ? devVisualizerConfig : {}\n\t\t\t};\n\t\t\twindow.addEventListener(\"blur\", () => {\n\t\t\t\tshow(false);\n\t\t\t});\n\t\t\twindow.addEventListener(\"keydown\", ({ key, metaKey, defaultPrevented }) => {\n\t\t\t\tclearTimeout(tm);\n\t\t\t\tif (defaultPrevented) return;\n\t\t\t\tif (metaKey) return;\n\t\t\t\tif (key === options.key) {\n\t\t\t\t\tif (!resizeListener) {\n\t\t\t\t\t\tresizeListener = () => cancelShow();\n\t\t\t\t\t\twindow.addEventListener(\"resize\", resizeListener);\n\t\t\t\t\t}\n\t\t\t\t\ttm = setTimeout(() => {\n\t\t\t\t\t\tshow(true);\n\t\t\t\t\t}, options.delay);\n\t\t\t\t}\n\t\t\t});\n\t\t\twindow.addEventListener(\"keyup\", ({ defaultPrevented }) => {\n\t\t\t\tif (defaultPrevented) return;\n\t\t\t\tcancelShow();\n\t\t\t\tif (isShowing) show(false);\n\t\t\t});\n\t\t}\n\t};\n}\nconst lastInteractionWasKeyboard = { value: false };\nconst lastInteractionWasTouch = { value: false };\nif (isWeb && typeof document !== \"undefined\") {\n\tdocument.addEventListener(\"keydown\", () => {\n\t\tif (!lastInteractionWasKeyboard.value) lastInteractionWasKeyboard.value = true;\n\t});\n\tdocument.addEventListener(\"mousedown\", () => {\n\t\tif (lastInteractionWasKeyboard.value) lastInteractionWasKeyboard.value = false;\n\t});\n\tdocument.addEventListener(\"mousemove\", () => {\n\t\tif (lastInteractionWasKeyboard.value) lastInteractionWasKeyboard.value = false;\n\t\tlastInteractionWasTouch.value = false;\n\t});\n\tdocument.addEventListener(\"touchstart\", () => {\n\t\tlastInteractionWasTouch.value = true;\n\t});\n}\nfunction createComponent(staticConfig) {\n\tif (process.env.TAMAGUI_RUNTIME === \"zero\") throw new Error(`[tamagui zero-runtime] createComponent ran in a zero-runtime graph. No Tamagui component renderer ships in this mode, so a component reference survived compilation. Fix the site or move the owning module to a declared full-runtime island.`);\n\tlet config = null;\n\tlet resolvedDefaultProps;\n\tlet didResolveDefaultProps = false;\n\tconst { Component, isText, isHOC } = staticConfig;\n\tlet res;\n\tconst component = (propsInWithRef) => {\n\t\t\"use no memo\";\n\t\tconst displayName = res[componentDisplayName];\n\t\tconst forwardedRef = propsInWithRef.ref;\n\t\tconst propsIn = propsInWithRef;\n\t\tconfig = config || getConfig();\n\t\tconst internalID = process.env.NODE_ENV === \"development\" ? React.useId() : \"\";\n\t\tif (process.env.NODE_ENV === \"development\") {\n\t\t\tif (startVisualizer) {\n\t\t\t\tstartVisualizer();\n\t\t\t\tstartVisualizer = void 0;\n\t\t\t}\n\t\t}\n\t\tif (process.env.NODE_ENV === \"test\") {\n\t\t\tconst testRenderCount = propsIn[\"data-test-renders\"];\n\t\t\tif (testRenderCount && typeof testRenderCount === \"object\" && !Object.isFrozen(testRenderCount)) {\n\t\t\t\ttestRenderCount.current = testRenderCount.current ?? 0;\n\t\t\t\ttestRenderCount.current += 1;\n\t\t\t}\n\t\t}\n\t\tconst { context, isReactNative } = staticConfig;\n\t\tconst debugProp = propsIn[\"debug\"];\n\t\tconst styledContextValue = context ? React.useContext(context) : void 0;\n\t\tlet overriddenContextProps = null;\n\t\tconst componentContext = React.useContext(ComponentContext);\n\t\tconst hasTextAncestor = !!(isWeb && isText ? componentContext.inText : false);\n\t\tif (!process.env.TAMAGUI_IS_CORE_NODE && process.env.NODE_ENV === \"development\" && debugProp === \"profile\" && !time) {\n\t\t\ttime = require(\"@tamagui/timer\").timer().start();\n\t\t\tglobalThis[\"time\"] = time;\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && !time && globalThis.time) time = globalThis.time;\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`non-tamagui time (ignore)`;\n\t\tlet props = propsIn;\n\t\tif (!didResolveDefaultProps) {\n\t\t\tdidResolveDefaultProps = true;\n\t\t\tconst staticDefaultProps = getDefaultProps(staticConfig);\n\t\t\tresolvedDefaultProps = isWeb && !isText && config.settings.defaultPosition === \"relative\" && staticDefaultProps?.position === void 0 ? staticDefaultProps ? {\n\t\t\t\tposition: \"relative\",\n\t\t\t\t...staticDefaultProps\n\t\t\t} : { position: \"relative\" } : staticDefaultProps;\n\t\t}\n\t\tconst [nextProps, overrides] = mergeComponentProps(resolvedDefaultProps, styledContextValue, propsIn);\n\t\tprops = nextProps;\n\t\toverriddenContextProps = overrides;\n\t\tif (staticConfig.styleFrontend) props = staticConfig.styleFrontend.preprocessProps(props, config);\n\t\tif (process.env.NODE_ENV === \"development\" && isClient) React.useEffect(() => {\n\t\t\tlet node;\n\t\t\tlet overlay = null;\n\t\t\tconst remove = () => {\n\t\t\t\tif (overlay) try {\n\t\t\t\t\toverlay.parentNode?.removeChild(overlay);\n\t\t\t\t\toverlay = null;\n\t\t\t\t} catch {}\n\t\t\t};\n\t\t\tconst debugVisualizerHandler = (show = false) => {\n\t\t\t\tnode = stateRef.current.host;\n\t\t\t\tif (!node) return;\n\t\t\t\tif (show) {\n\t\t\t\t\tif (!overlay) {\n\t\t\t\t\t\toverlay = document.createElement(\"span\");\n\t\t\t\t\t\toverlay.style.inset = \"0px\";\n\t\t\t\t\t\toverlay.style.zIndex = \"1000000\";\n\t\t\t\t\t\toverlay.style.position = \"absolute\";\n\t\t\t\t\t\toverlay.style.borderColor = \"red\";\n\t\t\t\t\t\toverlay.style.borderWidth = \"1px\";\n\t\t\t\t\t\toverlay.style.borderStyle = \"dotted\";\n\t\t\t\t\t}\n\t\t\t\t\tconst dataAt = node.getAttribute(\"data-at\") || \"\";\n\t\t\t\t\tconst dataIn = node.getAttribute(\"data-in\") || \"\";\n\t\t\t\t\tconst tooltip = document.createElement(\"span\");\n\t\t\t\t\ttooltip.style.position = \"absolute\";\n\t\t\t\t\ttooltip.style.top = \"0px\";\n\t\t\t\t\ttooltip.style.left = \"0px\";\n\t\t\t\t\ttooltip.style.padding = \"3px\";\n\t\t\t\t\ttooltip.style.background = \"rgba(0,0,0,0.75)\";\n\t\t\t\t\ttooltip.style.color = \"rgba(255,255,255,1)\";\n\t\t\t\t\ttooltip.style.fontSize = \"12px\";\n\t\t\t\t\ttooltip.style.lineHeight = \"12px\";\n\t\t\t\t\ttooltip.style.fontFamily = \"monospace\";\n\t\t\t\t\ttooltip.innerText = `${displayName || \"\"} ${dataAt} ${dataIn}`.trim();\n\t\t\t\t\toverlay.appendChild(tooltip);\n\t\t\t\t\tnode.appendChild(overlay);\n\t\t\t\t} else remove();\n\t\t\t};\n\t\t\tdebugKeyListeners = debugKeyListeners || /* @__PURE__ */ new Set();\n\t\t\tdebugKeyListeners.add(debugVisualizerHandler);\n\t\t\treturn () => {\n\t\t\t\tremove();\n\t\t\t\tdebugKeyListeners?.delete(debugVisualizerHandler);\n\t\t\t};\n\t\t}, [displayName]);\n\t\tconst groupContextParent = React.useContext(GroupContext);\n\t\tconst animationDriver = (() => {\n\t\t\tif (props.animatedBy && config) {\n\t\t\t\tlet selectedDriver;\n\t\t\t\tif (config.animationDrivers) selectedDriver = config.animationDrivers[props.animatedBy] ?? config.animations;\n\t\t\t\telse selectedDriver = props.animatedBy === \"default\" ? config.animations : null;\n\t\t\t\treturn resolveAnimationDriver(selectedDriver);\n\t\t\t}\n\t\t\treturn resolveAnimationDriver(componentContext.animationDriver) ?? resolveAnimationDriver(config?.animations) ?? null;\n\t\t})();\n\t\tconst useAnimations = animationDriver?.isStub ? void 0 : animationDriver?.useAnimations;\n\t\tconst componentState = useComponentState(props, animationDriver?.isStub ? null : animationDriver, staticConfig, config);\n\t\tconst { disabled, groupName, hasAnimationProp, hasEnterStyle, isAnimated, isExiting, isHydrated, presence, presenceState, setState, noClass, state, stateRef, inputStyle, outputStyle, willBeAnimated, willBeAnimatedClient, platformPseudo, startedUnhydrated } = componentState;\n\t\tprops = componentState.props;\n\t\tstateRef.current.avoidReRenders ??= !!animationDriver?.avoidReRenders;\n\t\tif (stateRef.current.avoidReRenders) useIsomorphicLayoutEffect(() => {\n\t\t\tconst emitted = stateRef.current.prevPseudoState;\n\t\t\tif (emitted && (emitted.hover || emitted.press || emitted.focus)) stateRef.current.updateStyleListener?.();\n\t\t\tconst pendingState = stateRef.current.nextState;\n\t\t\tif (!pendingState) return;\n\t\t\tstateRef.current.nextState = void 0;\n\t\t\tif (!isEqualShallow(state, pendingState)) componentState.setStateShallow(pendingState);\n\t\t});\n\t\tuseIsomorphicLayoutEffect(() => {\n\t\t\tif (!platformPseudo || props.disabled) return;\n\t\t\tconst pseudoDriver = getPlatformDriver()?.pseudo;\n\t\t\tconst host = stateRef.current.host;\n\t\t\tif (!pseudoDriver || !host) return;\n\t\t\treturn pseudoDriver.subscribe(host, ({ hovered }) => {\n\t\t\t\tstateRef.current.setStateShallow?.({ hover: hovered });\n\t\t\t});\n\t\t}, [platformPseudo, props.disabled]);\n\t\tconst containerName = props.containerName;\n\t\tconst isContainer = !!(props.container || containerName || props.containerType && props.containerType !== \"normal\");\n\t\tconst allGroupContexts = useMemo(() => {\n\t\t\tif (!groupName && !isContainer || props.passThrough) return groupContextParent;\n\t\t\tconst listeners = /* @__PURE__ */ new Set();\n\t\t\tstateRef.current.group?.listeners?.clear();\n\t\t\tstateRef.current.group = {\n\t\t\t\tlisteners,\n\t\t\t\temit(state2) {\n\t\t\t\t\tlisteners.forEach((l) => l(state2));\n\t\t\t\t},\n\t\t\t\tsubscribe(cb) {\n\t\t\t\t\tlisteners.add(cb);\n\t\t\t\t\tif (listeners.size === 1) setStateShallow({ hasDynGroupChildren: true });\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tlisteners.delete(cb);\n\t\t\t\t\t\tif (listeners.size === 0) setStateShallow({ hasDynGroupChildren: false });\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t};\n\t\t\tconst entry = {\n\t\t\t\tstate: { pseudo: defaultComponentStateMounted },\n\t\t\t\tsubscribe: (listener) => {\n\t\t\t\t\tconst dispose = stateRef.current.group?.subscribe(listener);\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tdispose?.();\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t};\n\t\t\tconst next = { ...groupContextParent };\n\t\t\tif (groupName) next[groupName] = entry;\n\t\t\tif (isContainer) {\n\t\t\t\tnext[\"@\"] = entry;\n\t\t\t\tif (containerName) next[`@${containerName}`] = entry;\n\t\t\t}\n\t\t\treturn next;\n\t\t}, [\n\t\t\tstateRef,\n\t\t\tgroupName,\n\t\t\tcontainerName,\n\t\t\tisContainer,\n\t\t\tgroupContextParent\n\t\t]);\n\t\tlet setStateShallow = componentState.setStateShallow;\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`use-state`;\n\t\tconst renderProp = props.render;\n\t\tconst element = isWeb ? !Component || typeof Component === \"string\" ? renderProp || Component : Component : Component;\n\t\tconst BaseComponent = isText ? element || \"span\" : element || (hasTextAncestor ? \"span\" : \"div\");\n\t\tlet elementType = BaseComponent;\n\t\tconst isAnimatedCustomComponent = animationDriver && isAnimated && animationDriver.needsCustomComponent;\n\t\tif (isAnimatedCustomComponent) elementType = animationDriver[isText ? \"Text\" : \"View\"] || elementType;\n\t\tconst disableTheme = props[\"data-disable-theme\"] || isHOC;\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`theme-props`;\n\t\tconst themeStateProps = {\n\t\t\tdisable: disableTheme,\n\t\t\tshallow: props.themeShallow,\n\t\t\tdebug: debugProp\n\t\t};\n\t\tif (\"theme\" in props) themeStateProps.name = props.theme;\n\t\tif (!stateRef.current.optimizeForFirstRender) themeStateProps.needsUpdate = stateRef.current.themeNeedsUpdate || (stateRef.current.themeNeedsUpdate = () => !!stateRef.current.isListeningToTheme);\n\t\tif (process.env.NODE_ENV === \"development\") {\n\t\t\tif (debugProp && debugProp !== \"profile\") {\n\t\t\t\tconst name = `${displayName || Component?.displayName || Component?.name || \"[Unnamed Component]\"}`;\n\t\t\t\tconst type = (hasEnterStyle ? \"(hasEnter)\" : \" \") + (isAnimated ? \"(animated)\" : \" \") + (isReactNative ? \"(rnw)\" : \" \") + (noClass ? \"(noClass)\" : \" \") + (state.press || state.pressIn ? \"(PRESSED)\" : \" \") + (state.hover ? \"(HOVERED)\" : \" \") + (state.focus ? \"(FOCUSED)\" : \" \") + (state.focusWithin ? \"(WITHIN FOCUSED)\" : \" \") + (presenceState?.isPresent === false ? \"(EXIT)\" : \"\");\n\t\t\t\tconst dataIs = propsIn[\"data-is\"] || \"\";\n\t\t\t\tconst banner = `<${name} /> ${internalID} ${dataIs ? ` ${dataIs}` : \"\"} ${type.trim()} (hydrated: ${isHydrated}) (unmounted: ${state.unmounted})`;\n\t\t\t\tconst ch = propsIn.children;\n\t\t\t\tlet childLog = typeof ch === \"string\" ? ch.length > 4 ? ch.slice(0, 4) + \"...\" : ch : \"\";\n\t\t\t\tif (childLog.length) childLog = `(children: ${childLog})`;\n\t\t\t\tif (isWeb) {\n\t\t\t\t\tconsole.info(`%c ${banner}`, \"background: green; color: white;\");\n\t\t\t\t\tif (isServer) log({\n\t\t\t\t\t\tnoClass,\n\t\t\t\t\t\tisAnimated,\n\t\t\t\t\t\tisWeb,\n\t\t\t\t\t\tinputStyle\n\t\t\t\t\t});\n\t\t\t\t\telse {\n\t\t\t\t\t\tconsole.groupEnd();\n\t\t\t\t\t\tconsole.groupCollapsed(`${childLog} [inspect props, state, context \\u{1F447}]`);\n\t\t\t\t\t\tlog(\"props in:\", propsIn);\n\t\t\t\t\t\tlog(\"final props:\", props, Object.keys(props));\n\t\t\t\t\t\tlog({\n\t\t\t\t\t\t\tstate,\n\t\t\t\t\t\t\tstaticConfig,\n\t\t\t\t\t\t\telementType,\n\t\t\t\t\t\t\tthemeStateProps\n\t\t\t\t\t\t});\n\t\t\t\t\t\tlog({\n\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\toverriddenContextProps,\n\t\t\t\t\t\t\tcomponentContext\n\t\t\t\t\t\t});\n\t\t\t\t\t\tlog({\n\t\t\t\t\t\t\tpresence,\n\t\t\t\t\t\t\tisAnimated,\n\t\t\t\t\t\t\tisHOC,\n\t\t\t\t\t\t\thasAnimationProp,\n\t\t\t\t\t\t\tuseAnimations\n\t\t\t\t\t\t});\n\t\t\t\t\t\tconsole.groupEnd();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tconsole.info(`\n\n------------------------------\n${banner}\n------------------------------\n`);\n\t\t\t\t\tlog(`children:`, props.children);\n\t\t\t\t\tlog({\n\t\t\t\t\t\toverriddenContextProps,\n\t\t\t\t\t\tstyledContextValue\n\t\t\t\t\t});\n\t\t\t\t\tlog({\n\t\t\t\t\t\tnoClass,\n\t\t\t\t\t\tisAnimated,\n\t\t\t\t\t\tisWeb,\n\t\t\t\t\t\tinputStyle\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`pre-theme-media`;\n\t\tconst [theme, themeState] = useThemeWithState(themeStateProps);\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`theme`;\n\t\tif (!isAnimatedCustomComponent) elementType = element || elementType;\n\t\tconst isStringElement = typeof elementType === \"string\";\n\t\tconst mediaState = useMedia(componentContext, debugProp, stateRef.current);\n\t\tsetDidGetVariableValue(false);\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`media`;\n\t\tconst styleProps = {\n\t\t\tmediaState,\n\t\t\tnoClass,\n\t\t\tresolveValues: isAnimated && inputStyle !== \"css\" || isHOC && state.unmounted == false && hasAnimationProp ? \"value\" : \"auto\",\n\t\t\tisExiting,\n\t\t\tisAnimated,\n\t\t\twillBeAnimated,\n\t\t\tdisplayName,\n\t\t\tstyledContext: getStyledContextKeys(staticConfig, styledContextValue)\n\t\t};\n\t\tconst themeName = themeState?.name || \"\";\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`split-styles-prepare`;\n\t\tconst splitStyles = useSplitStyles(props, staticConfig, theme, themeName, state, styleProps, null, componentContext, allGroupContexts, elementType, startedUnhydrated, debugProp, animationDriver);\n\t\tconst isPassthrough = !splitStyles;\n\t\tlet contextForOverride = staticConfig.context;\n\t\tif (splitStyles?.overriddenContextProps) {\n\t\t\tconst contextForProps = staticConfig.context || staticConfig.parentStaticConfig?.context;\n\t\t\tif (contextForProps) {\n\t\t\t\tfor (const key in splitStyles.overriddenContextProps) {\n\t\t\t\t\toverriddenContextProps = overriddenContextProps || {};\n\t\t\t\t\toverriddenContextProps[key] = splitStyles.overriddenContextProps[key];\n\t\t\t\t}\n\t\t\t\tif (!staticConfig.context) contextForOverride = contextForProps;\n\t\t\t}\n\t\t}\n\t\tconst groupContext = groupName || isContainer ? allGroupContexts?.[groupName ?? \"@\"] || null : null;\n\t\tif (!isPassthrough && groupContext && props.containerType !== \"normal\") {\n\t\t\tconst groupState = groupContext?.state;\n\t\t\tif (groupState && groupState.layout === void 0) {\n\t\t\t\tif (splitStyles.style?.width || splitStyles.style?.height) groupState.layout = {\n\t\t\t\t\twidth: fromPx(splitStyles.style.width),\n\t\t\t\t\theight: fromPx(splitStyles.style.height)\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t\tconst hasEnterExitTransition = props.transition && typeof props.transition === \"object\" && !Array.isArray(props.transition) && (\"enter\" in props.transition || \"exit\" in props.transition);\n\t\tif (!isPassthrough && (hasAnimationProp || groupName || platformPseudo) && animationDriver?.avoidReRenders && !hasEnterExitTransition) {\n\t\t\tlet updateGroupListeners = function() {\n\t\t\t\tconst updatedState = stateRef.current.nextState;\n\t\t\t\tif (groupContext) {\n\t\t\t\t\tconst { group, hasDynGroupChildren, unmounted, transition, ...childrenGroupState } = updatedState;\n\t\t\t\t\tnotifyGroupSubscribers(groupContext, stateRef.current.group || null, childrenGroupState);\n\t\t\t\t}\n\t\t\t};\n\t\t\tconst ogSetStateShallow = setStateShallow;\n\t\t\tstateRef.current.updateStyleListener = () => {\n\t\t\t\tconst useStyleListener = stateRef.current.useStyleListener;\n\t\t\t\tif (!useStyleListener) {\n\t\t\t\t\tconst pendingState = stateRef.current.nextState;\n\t\t\t\t\tif (pendingState) ogSetStateShallow(pendingState);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst updatedState = stateRef.current.nextState || state;\n\t\t\t\tconst mediaState2 = stateRef.current.nextMedia;\n\t\t\t\tconst nextStyles = getSplitStyles(props, staticConfig, theme, themeName, updatedState, mediaState2 ? {\n\t\t\t\t\t...styleProps,\n\t\t\t\t\tmediaState: mediaState2\n\t\t\t\t} : styleProps, null, componentContext, allGroupContexts, elementType, startedUnhydrated, debugProp, animationDriver);\n\t\t\t\tconst effectiveTransition = nextStyles?.effectiveTransition ?? props.transition ?? (platformPseudo ? \"0ms\" : void 0);\n\t\t\t\tstateRef.current.prevPseudoState = extractPseudoState(updatedState);\n\t\t\t\tconst hasActivePseudo = Boolean(updatedState.hover || updatedState.press || updatedState.pressIn || updatedState.focus || updatedState.focusWithin);\n\t\t\t\tuseStyleListener(nextStyles?.style || {}, effectiveTransition, hasActivePseudo);\n\t\t\t};\n\t\t\tcomponentContext.mediaEmitListeners = componentContext.mediaEmitListeners || /* @__PURE__ */ new Set();\n\t\t\tif (!stateRef.current.mediaEmitCleanup) {\n\t\t\t\tconst updateListener = (next) => {\n\t\t\t\t\tstateRef.current.nextMedia = next;\n\t\t\t\t\tstateRef.current.updateStyleListener?.();\n\t\t\t\t};\n\t\t\t\tcomponentContext.mediaEmitListeners.add(updateListener);\n\t\t\t\tstateRef.current.mediaEmitCleanup = () => {\n\t\t\t\t\tcomponentContext.mediaEmitListeners?.delete(updateListener);\n\t\t\t\t};\n\t\t\t}\n\t\t\tcomponentContext.mediaEmit = componentContext.mediaEmit || ((next) => {\n\t\t\t\tfor (const listener of componentContext.mediaEmitListeners) listener(next);\n\t\t\t});\n\t\t\tstateRef.current.setStateShallow = (nextOrGetNext) => {\n\t\t\t\tconst prev = stateRef.current.nextState || state;\n\t\t\t\tconst next = typeof nextOrGetNext === \"function\" ? nextOrGetNext(prev) : nextOrGetNext;\n\t\t\t\tif (next === prev || isEqualShallow(prev, next)) return;\n\t\t\t\tconst canAvoidReRender = Object.keys(next).every((key) => avoidReRenderKeys.has(key));\n\t\t\t\tconst updatedState = {\n\t\t\t\t\t...prev,\n\t\t\t\t\t...next\n\t\t\t\t};\n\t\t\t\tstateRef.current.nextState = updatedState;\n\t\t\t\tif (canAvoidReRender) {\n\t\t\t\t\tif (process.env.NODE_ENV === \"development\" && debugProp && debugProp !== \"profile\") {\n\t\t\t\t\t\tconsole.groupCollapsed(`[\\u26A1\\uFE0F] avoid setState`, displayName, next, {\n\t\t\t\t\t\t\tupdatedState,\n\t\t\t\t\t\t\tprops\n\t\t\t\t\t\t});\n\t\t\t\t\t\tconsole.info(stateRef.current.host);\n\t\t\t\t\t\tconsole.groupEnd();\n\t\t\t\t\t}\n\t\t\t\t\tupdateGroupListeners();\n\t\t\t\t\tstateRef.current.updateStyleListener?.();\n\t\t\t\t} else {\n\t\t\t\t\tif (process.env.NODE_ENV === \"development\" && debugProp && debugProp !== \"profile\") console.info(`[\\u{1F40C}] re-render`, {\n\t\t\t\t\t\tcanAvoidReRender,\n\t\t\t\t\t\tnext\n\t\t\t\t\t});\n\t\t\t\t\togSetStateShallow(next);\n\t\t\t\t}\n\t\t\t};\n\t\t\tsetStateShallow = (state2) => {\n\t\t\t\tstateRef.current.setStateShallow?.(state2);\n\t\t\t};\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`split-styles`;\n\t\tif (splitStyles) {\n\t\t\tif (props.group && props.untilMeasured === \"hide\" && !stateRef.current.hasMeasured) {\n\t\t\t\tsplitStyles.style = splitStyles.style || {};\n\t\t\t\tsplitStyles.style.opacity = 0;\n\t\t\t}\n\t\t}\n\t\tconst hasRuntimeMediaKeys = splitStyles?.hasMedia && splitStyles.hasMedia !== true;\n\t\tconst shouldListenForMedia = didGetVariableValue() || hasRuntimeMediaKeys || noClass && splitStyles?.hasMedia === true;\n\t\tconst mediaListeningKeys = hasRuntimeMediaKeys ? splitStyles.hasMedia : null;\n\t\tif (process.env.NODE_ENV === \"development\" && debugProp === \"verbose\") console.info(`useMedia() createComponent`, shouldListenForMedia, mediaListeningKeys);\n\t\tsetMediaShouldUpdate(stateRef.current, shouldListenForMedia, mediaListeningKeys, stateRef.current.optimizeForFirstRender);\n\t\tconst { viewProps: viewPropsIn, style: splitStylesStyle, classNames, pseudoGroups, mediaGroups } = splitStyles || {};\n\t\tconst propsWithAnimation = props;\n\t\tconst { asChild, children, themeShallow, spaceDirection: _spaceDirection, onPress, onLongPress, onPressIn, onPressOut, onHoverIn, onHoverOut, onMouseUp, onMouseDown, onMouseEnter, onMouseLeave, onFocus, onBlur, onTransition, separator, passThrough, forceStyle: _forceStyle, onClick, theme: _themeProp, ...nonTamaguiProps } = viewPropsIn || {};\n\t\tlet viewProps = nonTamaguiProps;\n\t\tif (props.forceStyle) viewProps.forceStyle = props.forceStyle;\n\t\tif (isHOC) {\n\t\t\tif (typeof _themeProp !== \"undefined\") viewProps.theme = _themeProp;\n\t\t\tif (typeof passThrough !== \"undefined\") viewProps.passThrough = passThrough;\n\t\t\tif (typeof asChild !== \"undefined\") viewProps.asChild = asChild;\n\t\t\tif (typeof onTransition !== \"undefined\") viewProps.onTransition = onTransition;\n\t\t}\n\t\tlet animationStyles;\n\t\tconst shouldUseAnimation = (inputStyle === \"css\" ? willBeAnimatedClient : willBeAnimated) && useAnimations && !isHOC;\n\t\tlet animatedRef;\n\t\tif (shouldUseAnimation) {\n\t\t\tconst useStyleEmitter = animationDriver?.avoidReRenders ? (listener) => {\n\t\t\t\tstateRef.current.useStyleListener = listener;\n\t\t\t} : void 0;\n\t\t\tconst effectiveTransition = splitStyles?.effectiveTransition ?? props.transition ?? (platformPseudo ? \"0ms\" : void 0);\n\t\t\tif (splitStyles) splitStyles.effectiveTransition = effectiveTransition;\n\t\t\tstateRef.current.prevPseudoState = extractPseudoState(state);\n\t\t\tconst animations = useAnimations({\n\t\t\t\tprops: propsWithAnimation,\n\t\t\t\tstyle: isHydrated ? splitStylesStyle || {} : { ...splitStylesStyle },\n\t\t\t\tstyleState: splitStyles,\n\t\t\t\tuseStyleEmitter,\n\t\t\t\tpresence,\n\t\t\t\tcomponentState: state,\n\t\t\t\tstyleProps,\n\t\t\t\ttheme,\n\t\t\t\tthemeName,\n\t\t\t\tstaticConfig,\n\t\t\t\tstateRef,\n\t\t\t\tonTransition\n\t\t\t});\n\t\t\tif (animations) {\n\t\t\t\tif (animations.ref) animatedRef = animations.ref;\n\t\t\t\tif (isHydrated && animations) {\n\t\t\t\t\tanimationStyles = animations.style;\n\t\t\t\t\tviewProps.style = animationStyles;\n\t\t\t\t\tif (animations.className) viewProps.className = `${state.unmounted === \"should-enter\" ? \"t_unmounted \" : \"\"}${viewProps.className || \"\"} ${animations.className}`;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (process.env.NODE_ENV === \"development\" && time) time`animations`;\n\t\t}\n\t\tif (isWeb && isExiting) viewProps.className = `t_exiting ${viewProps.className || \"\"}`;\n\t\tif (process.env.NODE_ENV === \"development\" && props.untilMeasured && !props.group) console.warn(`You set the untilMeasured prop without setting group. This doesn't work, be sure to set untilMeasured on the parent that sets group, not the children that use a group clause.\n\nIf you meant to do this, you can disable this warning - either change untilMeasured and group at the same time, or do group={conditional ? 'name' : undefined}`);\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`destructure`;\n\t\tif (!isPassthrough && groupContext && props.containerType !== \"normal\") nonTamaguiProps.onLayout = composeEventHandlers(nonTamaguiProps.onLayout, (e) => {\n\t\t\tconst layout = e.nativeEvent.layout;\n\t\t\tgroupContext.state.layout = layout;\n\t\t\tstateRef.current.group?.emit({ layout });\n\t\t\tif (!stateRef.current.hasMeasured && props.untilMeasured === \"hide\") setState((prev) => ({ ...prev }));\n\t\t\tstateRef.current.hasMeasured = true;\n\t\t});\n\t\tviewProps = hooks.usePropsTransform?.(elementType, nonTamaguiProps, stateRef, stateRef.current.willHydrate) || nonTamaguiProps;\n\t\tif (!stateRef.current.composedRef) stateRef.current.composedRef = composeRefs((x) => {\n\t\t\tstateRef.current.host = x;\n\t\t}, forwardedRef, setElementProps, animatedRef);\n\t\tviewProps.ref = stateRef.current.composedRef;\n\t\tusePointerEvents(props, viewProps);\n\t\tif (process.env.NODE_ENV === \"development\") {\n\t\t\tif (!isReactNative && !isText && isWeb && !isHOC) React.Children.toArray(props.children).forEach((item) => {\n\t\t\t\tif (typeof item === \"string\" && item !== \"\\n\") console.error(`Unexpected text node: ${item}. A text node cannot be a child of a <${displayName || propsIn.tag || \"View\"}>.`, props);\n\t\t\t});\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`events-hooks`;\n\t\tconst unPress = () => {\n\t\t\tsetStateShallow({\n\t\t\t\tpress: false,\n\t\t\t\tpressIn: false\n\t\t\t});\n\t\t};\n\t\tif (process.env.NODE_ENV === \"development\" && isWeb) useIsomorphicLayoutEffect(() => {\n\t\t\tif (debugProp === \"verbose\") {\n\t\t\t\tlet cssStyleDeclarationToObject = function(style) {\n\t\t\t\t\tconst styleObject = {};\n\t\t\t\t\tfor (let i = 0; i < style.length; i++) {\n\t\t\t\t\t\tlet prop = style[i];\n\t\t\t\t\t\tstyleObject[prop] = style.getPropertyValue(prop);\n\t\t\t\t\t}\n\t\t\t\t\treturn styleObject;\n\t\t\t\t};\n\t\t\t\tconst computed = stateRef.current.host ? cssStyleDeclarationToObject(getComputedStyle(stateRef.current.host)) : {};\n\t\t\t\tconsole.groupCollapsed(`Rendered > (opacity: ${computed.opacity})`);\n\t\t\t\tconsole.warn(stateRef.current.host);\n\t\t\t\tconsole.warn(computed);\n\t\t\t\tconsole.groupEnd();\n\t\t\t}\n\t\t});\n\t\tuseIsomorphicLayoutEffect(() => {\n\t\t\tif (state.unmounted === true && hasEnterStyle) {\n\t\t\t\tsetStateShallow({ unmounted: \"should-enter\" });\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (state.unmounted) {\n\t\t\t\tif (inputStyle === \"css\") {\n\t\t\t\t\tlet cancelled = false;\n\t\t\t\t\trequestAnimationFrame(() => {\n\t\t\t\t\t\tif (cancelled) return;\n\t\t\t\t\t\trequestAnimationFrame(() => {\n\t\t\t\t\t\t\tif (cancelled) return;\n\t\t\t\t\t\t\tsetStateShallow({ unmounted: false });\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t\treturn () => {\n\t\t\t\t\t\tcancelled = true;\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tsetStateShallow({ unmounted: false });\n\t\t\t}\n\t\t}, [state.unmounted, inputStyle]);\n\t\tuseIsomorphicLayoutEffect(() => {\n\t\t\treturn () => {\n\t\t\t\tcomponentSetStates.delete(setState);\n\t\t\t\tstateRef.current.mediaEmitCleanup?.();\n\t\t\t\tstateRef.current.mediaEmitCleanup = void 0;\n\t\t\t};\n\t\t}, []);\n\t\tuseIsomorphicLayoutEffect(() => {\n\t\t\tlet disposeSafeArea;\n\t\t\tif (process.env.TAMAGUI_RUNTIME_SAFE_AREA !== \"disabled\" && splitStyles?.usesSafeArea) {\n\t\t\t\tconst updateSafeArea = () => {\n\t\t\t\t\tsetState((previous) => ({ ...previous }));\n\t\t\t\t};\n\t\t\t\tdisposeSafeArea = subscribeToSafeArea(updateSafeArea);\n\t\t\t\tupdateSafeArea();\n\t\t\t}\n\t\t\tif (disabled) return disposeSafeArea;\n\t\t\tif (!pseudoGroups && !mediaGroups) return disposeSafeArea;\n\t\t\tif (!allGroupContexts) return disposeSafeArea;\n\t\t\tconst disposeGroup = subscribeToContextGroup({\n\t\t\t\tgroupContext: allGroupContexts,\n\t\t\t\tsetStateShallow,\n\t\t\t\tmediaGroups,\n\t\t\t\tpseudoGroups\n\t\t\t});\n\t\t\tif (!disposeSafeArea) return disposeGroup;\n\t\t\treturn () => {\n\t\t\t\tdisposeSafeArea();\n\t\t\t\tdisposeGroup?.();\n\t\t\t};\n\t\t}, [\n\t\t\tallGroupContexts,\n\t\t\tdisabled,\n\t\t\tsplitStyles?.usesSafeArea,\n\t\t\tpseudoGroups ? objectIdentityKey(pseudoGroups) : 0,\n\t\t\tmediaGroups ? objectIdentityKey(mediaGroups) : 0\n\t\t]);\n\t\tconst groupEmitter = stateRef.current.group;\n\t\tuseIsomorphicLayoutEffect(() => {\n\t\t\tif (!groupContext || !groupEmitter) return;\n\t\t\tnotifyGroupSubscribers(groupContext, groupEmitter, state);\n\t\t}, [\n\t\t\tgroupContext,\n\t\t\tgroupEmitter,\n\t\t\tstate\n\t\t]);\n\t\tconst conditionalStates = !disabled ? splitStyles?.programStates : void 0;\n\t\tconst runtimePressStyle = !disabled && (conditionalStates?.has(\"press\") || conditionalStates?.has(\"active\"));\n\t\tconst runtimeFocusStyle = !disabled && conditionalStates?.has(\"focus\");\n\t\tconst runtimeFocusVisibleStyle = !disabled && conditionalStates?.has(\"focus-visible\");\n\t\tconst attachFocus = Boolean(runtimePressStyle || runtimeFocusStyle || runtimeFocusVisibleStyle || onFocus || onBlur || !!componentContext.setParentFocusState);\n\t\tconst hasDynamicGroupChildren = Boolean(groupName && state.hasDynGroupChildren);\n\t\tconst attachPress = Boolean(hasDynamicGroupChildren || runtimePressStyle || onPress || onPressOut || onPressIn || onMouseDown || onMouseUp || onLongPress || onClick);\n\t\tconst runtimeHoverStyle = !disabled && conditionalStates?.has(\"hover\");\n\t\tconst needsHoverState = Boolean(hasDynamicGroupChildren || runtimeHoverStyle && !platformPseudo);\n\t\tconst attachHover = (isWeb || isNativeDesktop) && !!(hasDynamicGroupChildren || needsHoverState || onMouseEnter || onMouseLeave);\n\t\tconst shouldAttach = !disabled && !props.asChild && Boolean(attachFocus || attachPress || attachHover || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle);\n\t\tconst needsPressState = Boolean(hasDynamicGroupChildren || runtimePressStyle);\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`events-setup`;\n\t\tif (process.env.NODE_ENV === \"development\" && debugProp === \"verbose\") log(`\\u{1FAA9} events()`, {\n\t\t\truntimeFocusStyle,\n\t\t\truntimePressStyle,\n\t\t\truntimeHoverStyle,\n\t\t\truntimeFocusVisibleStyle,\n\t\t\tattachPress,\n\t\t\tattachFocus,\n\t\t\tattachHover,\n\t\t\tshouldAttach,\n\t\t\tneedsHoverState\n\t\t});\n\t\tconst events = shouldAttach ? {\n\t\t\tonPressOut: attachPress ? (e) => {\n\t\t\t\tunPress();\n\t\t\t\tonPressOut?.(e);\n\t\t\t\tonMouseUp?.(e);\n\t\t\t} : void 0,\n\t\t\t...(attachHover || attachPress) && {\n\t\t\t\tonMouseEnter: (e) => {\n\t\t\t\t\tconst next = {};\n\t\t\t\t\tif (needsHoverState && !lastInteractionWasTouch.value) next.hover = true;\n\t\t\t\t\tif (needsPressState) {\n\t\t\t\t\t\tif (state.pressIn) next.press = true;\n\t\t\t\t\t}\n\t\t\t\t\tsetStateShallow(next);\n\t\t\t\t\tonHoverIn?.(e);\n\t\t\t\t\tonMouseEnter?.(e);\n\t\t\t\t},\n\t\t\t\tonMouseLeave: (e) => {\n\t\t\t\t\tconst next = {};\n\t\t\t\t\tif (needsHoverState) next.hover = false;\n\t\t\t\t\tif (needsPressState) {\n\t\t\t\t\t\tnext.press = false;\n\t\t\t\t\t\tnext.pressIn = false;\n\t\t\t\t\t}\n\t\t\t\t\tsetStateShallow(next);\n\t\t\t\t\tonHoverOut?.(e);\n\t\t\t\t\tonMouseLeave?.(e);\n\t\t\t\t}\n\t\t\t},\n\t\t\tonPressIn: attachPress ? (e) => {\n\t\t\t\tif (needsPressState) setStateShallow({\n\t\t\t\t\tpress: true,\n\t\t\t\t\tpressIn: true\n\t\t\t\t});\n\t\t\t\tonPressIn?.(e);\n\t\t\t\tonMouseDown?.(e);\n\t\t\t\tif (isWeb) componentSetStates.add(setState);\n\t\t\t} : void 0,\n\t\t\tonPress: attachPress ? (e) => {\n\t\t\t\tunPress();\n\t\t\t\tonClick?.(e);\n\t\t\t\tif (onPress || onClick) e.stopPropagation();\n\t\t\t\tonPress?.(e);\n\t\t\t\tonLongPress?.(e);\n\t\t\t} : void 0,\n\t\t\t...attachFocus && {\n\t\t\t\tonFocus: (e) => {\n\t\t\t\t\tconst next = {};\n\t\t\t\t\tif (componentContext.setParentFocusState) {\n\t\t\t\t\t\tcomponentContext.setParentFocusState({ focusWithin: true });\n\t\t\t\t\t\tnext.focusWithin = true;\n\t\t\t\t\t}\n\t\t\t\t\tif (conditionalStates?.has(\"focus-visible\")) if (lastInteractionWasKeyboard.value) next.focusVisible = true;\n\t\t\t\t\telse next.focus = true;\n\t\t\t\t\telse next.focus = true;\n\t\t\t\t\tsetStateShallow(next);\n\t\t\t\t\tonFocus?.(e);\n\t\t\t\t},\n\t\t\t\tonBlur: (e) => {\n\t\t\t\t\tif (componentContext.setParentFocusState) componentContext.setParentFocusState({ focusWithin: false });\n\t\t\t\t\tsetStateShallow({\n\t\t\t\t\t\tfocus: false,\n\t\t\t\t\t\tfocusVisible: false,\n\t\t\t\t\t\tfocusWithin: false\n\t\t\t\t\t});\n\t\t\t\t\tonBlur?.(e);\n\t\t\t\t}\n\t\t\t}\n\t\t} : null;\n\t\tif (events && !isReactNative) Object.assign(viewProps, getWebEvents(events));\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`events`;\n\t\tif (process.env.NODE_ENV === \"development\" && debugProp === \"verbose\") log(`events`, {\n\t\t\tevents,\n\t\t\tattachHover,\n\t\t\tattachPress\n\t\t});\n\t\tconst propsWithHref = props;\n\t\tconst propsInWithHref = propsIn;\n\t\t[displayName, props.testID ?? propsIn.testID ?? props.accessibilityLabel ?? propsIn.accessibilityLabel ?? (typeof propsWithHref.href === \"string\" ? propsWithHref.href : null) ?? (typeof propsInWithHref.href === \"string\" ? propsInWithHref.href : null)].filter(Boolean).join(\":\");\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`hooks`;\n\t\tif (asChild && !isHOC) {\n\t\t\telementType = Slot;\n\t\t\t{\n\t\t\t\tconst passEvents = getWebEvents({\n\t\t\t\t\tonPress,\n\t\t\t\t\tonLongPress,\n\t\t\t\t\tonPressIn,\n\t\t\t\t\tonPressOut,\n\t\t\t\t\tonMouseUp,\n\t\t\t\t\tonMouseDown,\n\t\t\t\t\tonMouseEnter,\n\t\t\t\t\tonMouseLeave\n\t\t\t\t}, asChild === \"web\" || asChild === \"except-style-web\");\n\t\t\t\tObject.assign(viewProps, passEvents);\n\t\t\t}\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`spaced-as-child`;\n\t\tlet content;\n\t\tconst childrenFromHooks = hooks.useChildren ? hooks.useChildren(elementType, children, viewProps, isPassthrough) : void 0;\n\t\tif (isPassthrough) content = React.createElement(BaseComponent, { style: { display: \"contents\" } }, propsIn.children);\n\t\telse {\n\t\t\tif (childrenFromHooks) content = childrenFromHooks;\n\t\t\tconst isRenderPropString = typeof renderProp === \"string\";\n\t\t\tif (renderProp && !isRenderPropString) {\n\t\t\t\tconst out = getCustomRender(renderProp, content || children, viewProps, componentState);\n\t\t\t\tif (out) {\n\t\t\t\t\tviewProps = out.viewProps;\n\t\t\t\t\tif (isAnimatedCustomComponent && elementType[\"acceptRenderProp\"] && typeof out.elementType === \"string\") viewProps.render = out.elementType;\n\t\t\t\t\telse elementType = out.elementType;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!content) {\n\t\t\t\tif (isRenderPropString && elementType[\"acceptRenderProp\"]) viewProps.render = renderProp;\n\t\t\t\tcontent = React.createElement(elementType, viewProps, content || children);\n\t\t\t}\n\t\t\tif (process.env.NODE_ENV === \"development\" && time) time`use-children`;\n\t\t}\n\t\tconst ResetPresence = animationDriver?.isStub ? void 0 : animationDriver?.ResetPresence;\n\t\tconst needsReset = Boolean(!asChild && splitStyles && !isHOC && ResetPresence && willBeAnimated && (hasEnterStyle || presenceState));\n\t\tconst hasEverReset = stateRef.current.hasEverResetPresence;\n\t\tif (needsReset && !hasEverReset) stateRef.current.hasEverResetPresence = true;\n\t\tif ((needsReset || hasEverReset) && ResetPresence) content = /* @__PURE__ */ jsx(ResetPresence, {\n\t\t\tdisabled: !needsReset,\n\t\t\tchildren: content\n\t\t});\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`create-element`;\n\t\tif (conditionalStates?.has(\"focus-within\")) content = /* @__PURE__ */ jsx(ComponentContext.Provider, {\n\t\t\t...componentContext,\n\t\t\tsetParentFocusState: setStateShallow,\n\t\t\tchildren: content\n\t\t});\n\t\tif (\"group\" in props || isContainer) content = /* @__PURE__ */ jsx(GroupContext.Provider, {\n\t\t\tvalue: allGroupContexts,\n\t\t\tchildren: content\n\t\t});\n\t\tif (!asChild && isText && !hasTextAncestor) content = /* @__PURE__ */ jsx(ComponentContext.Provider, {\n\t\t\t...componentContext,\n\t\t\tinText: true,\n\t\t\tchildren: content\n\t\t});\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`group-context`;\n\t\tcontent = disableTheme || !splitStyles ? content : getThemedChildren(themeState, content, themeStateProps, false, stateRef);\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`themed-children`;\n\t\tif (isReactNative && !asChild) content = /* @__PURE__ */ jsx(\"span\", {\n\t\t\tclassName: \"_dsp_contents\",\n\t\t\t...!isPassthrough && isHydrated && events && getWebEvents(events),\n\t\t\tchildren: content\n\t\t});\n\t\tif (overriddenContextProps && contextForOverride) {\n\t\t\tconst Provider = contextForOverride.Provider;\n\t\t\tfor (const key in styledContextValue) if (!(key in overriddenContextProps)) overriddenContextProps[key] = styledContextValue[key];\n\t\t\tcontent = /* @__PURE__ */ jsx(Provider, {\n\t\t\t\t__disableMergeDefaultValues: true,\n\t\t\t\t...overriddenContextProps,\n\t\t\t\tchildren: content\n\t\t\t});\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`context-override`;\n\t\tif (startedUnhydrated && splitStyles) content = /* @__PURE__ */ jsxs(Fragment, { children: [content, !isHydrated ? getStyleTags(Object.values(splitStyles.rulesToInsert)) : null] });\n\t\tif (process.env.NODE_ENV === \"development\" && time) time`style-tags`;\n\t\tif (process.env.NODE_ENV === \"development\") {\n\t\t\tif (debugProp && debugProp !== \"profile\") {\n\t\t\t\tconst title = `render <${typeof elementType === \"string\" ? elementType : \"Component\"} /> (${internalID}) with props`;\n\t\t\t\tif (!isWeb || !isClient) {\n\t\t\t\t\tlog(title);\n\t\t\t\t\tlog(`state: `, state);\n\t\t\t\t\tif (isDevTools) log(\"viewProps\", viewProps);\n\t\t\t\t\tlog(`final styles:`);\n\t\t\t\t\tfor (const key in splitStylesStyle) log(key, splitStylesStyle[key]);\n\t\t\t\t} else {\n\t\t\t\t\tconsole.groupCollapsed(title);\n\t\t\t\t\ttry {\n\t\t\t\t\t\tlog(\"viewProps\", viewProps);\n\t\t\t\t\t\tlog(\"children\", content);\n\t\t\t\t\t\tif (typeof window !== \"undefined\") log({\n\t\t\t\t\t\t\tpropsIn,\n\t\t\t\t\t\t\tprops,\n\t\t\t\t\t\t\tattachPress,\n\t\t\t\t\t\t\tanimationStyles,\n\t\t\t\t\t\t\tclassNames,\n\t\t\t\t\t\t\tcontent,\n\t\t\t\t\t\t\telementType,\n\t\t\t\t\t\t\tevents,\n\t\t\t\t\t\t\tisAnimated,\n\t\t\t\t\t\t\thasRuntimeMediaKeys,\n\t\t\t\t\t\t\tisStringElement,\n\t\t\t\t\t\t\tmediaListeningKeys,\n\t\t\t\t\t\t\tshouldAttach,\n\t\t\t\t\t\t\tnoClass,\n\t\t\t\t\t\t\tshouldListenForMedia,\n\t\t\t\t\t\t\tsplitStyles,\n\t\t\t\t\t\t\tsplitStylesStyle,\n\t\t\t\t\t\t\tstate,\n\t\t\t\t\t\t\tstateRef,\n\t\t\t\t\t\t\tstaticConfig,\n\t\t\t\t\t\t\tstyleProps,\n\t\t\t\t\t\t\tthemeState,\n\t\t\t\t\t\t\tviewProps,\n\t\t\t\t\t\t\twillBeAnimated,\n\t\t\t\t\t\t\tstartedUnhydrated\n\t\t\t\t\t\t});\n\t\t\t\t\t} catch {} finally {\n\t\t\t\t\t\tconsole.groupEnd();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && time) {\n\t\t\ttime`rest`;\n\t\t\tif (!globalThis[\"willPrint\"]) {\n\t\t\t\tglobalThis[\"willPrint\"] = true;\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tdelete globalThis[\"willPrint\"];\n\t\t\t\t\ttime.print();\n\t\t\t\t\ttime = null;\n\t\t\t\t}, 50);\n\t\t\t}\n\t\t}\n\t\treturn content;\n\t};\n\tfunction notifyGroupSubscribers(groupContext, groupEmitter, pseudo) {\n\t\tif (!groupContext || !groupEmitter) return;\n\t\tconst prevPseudo = groupContext.state.pseudo;\n\t\tconst shouldReplacePseudo = !prevPseudo || \"unmounted\" in prevPseudo || \"group\" in prevPseudo || \"hasDynGroupChildren\" in prevPseudo || \"transition\" in prevPseudo;\n\t\tconst nextPseudo = shouldReplacePseudo ? {} : prevPseudo;\n\t\tlet didChange = shouldReplacePseudo;\n\t\tfor (let i = 0; i < groupPseudoKeys.length; i++) {\n\t\t\tconst key = groupPseudoKeys[i];\n\t\t\tconst value = pseudo[key];\n\t\t\tif (nextPseudo[key] !== value) {\n\t\t\t\tnextPseudo[key] = value;\n\t\t\t\tdidChange = true;\n\t\t\t} else if (didChange) nextPseudo[key] = value;\n\t\t}\n\t\tif (!didChange) return;\n\t\tgroupContext.state.pseudo = nextPseudo;\n\t\tgroupEmitter.emit(groupContext.state);\n\t}\n\tres = component;\n\tres = React.memo(res);\n\tres.staticConfig = staticConfig;\n\treturn res;\n}\nconst fromPx = (val) => {\n\tif (typeof val === \"number\") return val;\n\tif (typeof val === \"string\") return +val.replace(\"px\", \"\");\n\treturn 0;\n};\nconst getCustomRender = (renderProp, content, viewProps, state) => {\n\tif (typeof renderProp === \"function\") renderProp = getRenderElementForPlatform(renderProp(viewProps, state));\n\tif (renderProp) {\n\t\tif (typeof renderProp === \"object\" && React.isValidElement(renderProp)) {\n\t\t\tif (getRenderElementForPlatform(renderProp)) {\n\t\t\t\tconst elementProps = renderProp.props;\n\t\t\t\tconst mergedProps = elementProps ? mergeRenderElementProps(elementProps, viewProps, content) : viewProps;\n\t\t\t\treturn {\n\t\t\t\t\telementType: renderProp.type,\n\t\t\t\t\tviewProps: mergedProps\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t}\n};\nfunction getRenderElementForPlatform(potential) {\n\treturn potential;\n}\n\nexport { componentSetStates, createComponent };"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,IAAI,YAA4B,kBAAE,MAAM,uBAAmB,4BAAwB,OAAO,UAAU,cAAc,IAAI,MAAM,GAAG,EAAE,MAAM,GAAG,OAAO,uBAAmB,4BAAwB,GAAG,GAAG,CAAC,IAAI,GAAG,SAAS,GAAG;CACrN,IAAI,uBAAmB,aAAa,mBAAe,MAAM,MAAM,SAAS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GAAG;CACpB,IAAI,eAAe;CACnB,OAAO;AACR;AACA,MAAM,UAAU,QAAQ;CACvB,IAAI,OAAO,QAAQ,UAAU,OAAO;CACpC,IAAI,OAAO,QAAQ,UAAU,OAAO,CAAC,IAAI,QAAQ,MAAM,EAAE;CACzD,OAAO;AACR;AACA,MAAM,mBAAmB,YAAY,SAAS,WAAW,UAAU;CAClE,IAAI,OAAO,eAAe,YAAY,aAAa,4BAA4B,WAAW,WAAW,KAAK,CAAC;CAC3G,IAAI,YAAY;EACf,IAAI,OAAO,eAAe,YAAY,MAAM,eAAe,UAAU,GAAG;GACvE,IAAI,4BAA4B,UAAU,GAAG;IAC5C,MAAM,eAAe,WAAW;IAChC,MAAM,cAAc,eAAe,wBAAwB,cAAc,WAAW,OAAO,IAAI;IAC/F,OAAO;KACN,aAAa,WAAW;KACxB,WAAW;IACZ;GACD;EACD;CACD;AACD;AACA,SAAS,4BAA4B,WAAW;CAC/C,OAAO;AACR"}
|
|
@@ -788,7 +788,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
|
|
|
788
788
|
}, []);
|
|
789
789
|
useIsomorphicLayoutEffect(function() {
|
|
790
790
|
var disposeSafeArea;
|
|
791
|
-
if (splitStyles === null || splitStyles === void 0 ? void 0 : splitStyles.usesSafeArea) {
|
|
791
|
+
if (process.env.TAMAGUI_RUNTIME_SAFE_AREA !== "disabled" && (splitStyles === null || splitStyles === void 0 ? void 0 : splitStyles.usesSafeArea)) {
|
|
792
792
|
var updateSafeArea = function() {
|
|
793
793
|
setState(function(previous) {
|
|
794
794
|
return { ...previous };
|