@tamagui/static 3.0.0-beta.765.1 → 3.0.0-beta.804.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/compiler.cjs +12 -1
- package/dist/cjs/compilerHost.cjs +642 -315
- package/dist/cjs/extractor/bundle.cjs +41 -17
- package/dist/cjs/extractor/getTamaguiConfigPathFromOptionsConfig.cjs +6 -1
- package/dist/cjs/extractor/loadTamagui.cjs +115 -64
- package/dist/esm/compiler.mjs +12 -1
- package/dist/esm/compiler.mjs.map +1 -1
- package/dist/esm/compilerHost.mjs +644 -316
- package/dist/esm/compilerHost.mjs.map +1 -1
- package/dist/esm/extractor/bundle.mjs +39 -16
- package/dist/esm/extractor/bundle.mjs.map +1 -1
- package/dist/esm/extractor/getTamaguiConfigPathFromOptionsConfig.mjs +6 -1
- package/dist/esm/extractor/getTamaguiConfigPathFromOptionsConfig.mjs.map +1 -1
- package/dist/esm/extractor/loadTamagui.mjs +115 -64
- package/dist/esm/extractor/loadTamagui.mjs.map +1 -1
- package/package.json +19 -19
- package/src/compiler.ts +16 -1
- package/src/compilerHost.ts +282 -93
- package/src/extractor/bundle.ts +7 -1
- package/src/extractor/getTamaguiConfigPathFromOptionsConfig.ts +9 -2
- package/types/compiler.d.ts.map +1 -1
- package/types/compilerHost.d.ts.map +1 -1
- package/types/extractor/bundle.d.ts.map +1 -1
- package/types/extractor/getTamaguiConfigPathFromOptionsConfig.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compilerHost.js","names":[],"sources":["esm/compilerHost.js"],"sourcesContent":["import { zeroRuleMessage, zeroThemeBoundaryMessage } from \"@tamagui/compiler-core\";\nimport { StyleObjectIdentifier, StyleObjectProperty, StyleObjectRules, StyleObjectValue, stylePropsAll, stylePropsText, validStyles } from \"@tamagui/helpers\";\nimport { ATTRIBUTES, DISPLAY_WEB_RESET, EVENTS, NATIVE_BACKING, NATIVE_BLOCK_DEFAULTS, NATIVE_ELEMENT_DEFAULTS, NATIVE_FLEX_DEFAULTS, NATIVE_INPUT_TYPES, NATIVE_PRIMITIVE_MODULE, TAGS, TAG_WEB_DEFAULTS } from \"@tamagui/dom\";\nimport { createModifierRegistry, parseTransition, parseValue } from \"@tamagui/style-grammar/tooling\";\nimport { isValidStyleKey } from \"@tamagui/web\";\nimport { concatClassName } from \"./extractor/concatClassName\";\nimport { requireTamaguiCore } from \"./helpers/requireTamaguiCore\";\n\nconst DOM_FRONTENDS = /* @__PURE__ */ new Set([\n\t\"tamagui\",\n\t\"tamagui/dom\",\n\t\"@tamagui/core\",\n\t\"@tamagui/core/dom\",\n\t\"@tamagui/tailwind\"\n]);\nconst componentState = {\n\tfocus: false,\n\tfocusVisible: false,\n\tfocusWithin: false,\n\thover: false,\n\tunmounted: true,\n\tpress: false,\n\tpressIn: false,\n\tdisabled: false\n};\nfunction staticObject(value) {\n\treturn !!value && typeof value === \"object\" && !Array.isArray(value);\n}\nconst flatClausePattern = /(?:^|\\s)@?[A-Za-z][A-Za-z0-9-]*(?:\\/[A-Za-z0-9_-]+)?:/;\nconst nativeInheritedKeywordPattern = /(?:^|:)(?:inherit|unset)(?=\\s|$)/;\nconst nativeInitialKeywordPattern = /(?:^|:)initial(?=\\s|$)/;\nconst nativeRuntimeOnlyStyleProperties = /* @__PURE__ */ new Set([\"textIndent\"]);\nfunction componentKey(resolvedId, exportName) {\n\treturn `${resolvedId}#${exportName}`;\n}\nfunction cssFromRules(rules) {\n\treturn Object.values(rules).flatMap((styleObject) => {\n\t\tconst identifier = styleObject?.[StyleObjectIdentifier];\n\t\tconst styleRules = styleObject?.[StyleObjectRules];\n\t\treturn identifier && Array.isArray(styleRules) ? styleRules : [];\n\t});\n}\nfunction jsxClassName(value) {\n\treturn `className=${JSON.stringify(value)}`;\n}\nfunction objectClassName(value) {\n\treturn `className: ${JSON.stringify(value)}`;\n}\nfunction serializedStyle(style, dynamicProperties) {\n\tif (dynamicProperties.length === 0) return style ? JSON.stringify(style) : \"\";\n\treturn `{ ${[...style ? Object.entries(style).map(([name, value]) => `${JSON.stringify(name)}: ${JSON.stringify(value)}`) : [], ...dynamicProperties].join(\", \")} }`;\n}\nfunction jsxStyleAttributes(className, style, dynamicProperties = []) {\n\tconst serialized = serializedStyle(style, dynamicProperties);\n\treturn [className ? jsxClassName(className) : \"\", serialized ? `style={${serialized}}` : \"\"].filter(Boolean).join(\" \");\n}\nfunction objectStyleProperties(className, style, dynamicProperties = []) {\n\tconst serialized = serializedStyle(style, dynamicProperties);\n\treturn [className ? objectClassName(className) : \"\", serialized ? `style: ${serialized}` : \"\"].filter(Boolean).join(\", \");\n}\nfunction extractedStyleArtifacts(split, props, config, includeRuntimeBase = true, hasStyleFrontend = false) {\n\tconst callerClassName = !hasStyleFrontend && typeof props.className === \"string\" ? props.className : \"\";\n\tconst viewClassName = typeof split.viewProps?.className === \"string\" ? split.viewProps.className : \"\";\n\tconst classNameWithoutCaller = callerClassName && viewClassName.endsWith(callerClassName) ? viewClassName.slice(0, -callerClassName.length).trimEnd() : viewClassName;\n\tconst rules = split.rulesToInsert ?? {};\n\tconst mediaNames = new Set(Object.keys(config.media ?? {}));\n\tconst pseudoNames = [\n\t\t\"hover\",\n\t\t\"press\",\n\t\t\"focus\",\n\t\t\"focusVisible\",\n\t\t\"focusWithin\",\n\t\t\"disabled\"\n\t];\n\tconst buckets = {\n\t\tgroup: [],\n\t\tnormal: [],\n\t\tpseudo: [],\n\t\ttheme: [],\n\t\tmedia: []\n\t};\n\tconst classKeys = /* @__PURE__ */ new Map();\n\tfor (const [key, identifier] of Object.entries(split.classNames ?? {})) if (typeof identifier === \"string\") classKeys.set(identifier, key);\n\tconst identifiers = /* @__PURE__ */ new Set([...classKeys.keys(), ...Object.values(rules).flatMap((styleObject) => {\n\t\tconst identifier = styleObject?.[StyleObjectIdentifier];\n\t\treturn typeof identifier === \"string\" ? [identifier] : [];\n\t})]);\n\tfor (const identifier of identifiers) {\n\t\tconst key = classKeys.get(identifier) ?? \"\";\n\t\tconst css2 = cssFromRules(Object.fromEntries(Object.entries(rules).filter(([, styleObject]) => styleObject?.[StyleObjectIdentifier] === identifier))).join(\"\");\n\t\tif (identifier.startsWith(\"t_group_\")) buckets.group.push(identifier);\n\t\telse if (pseudoNames.some((name) => key.endsWith(`-${name}`))) buckets.pseudo.push(identifier);\n\t\telse if (css2.includes(\".t_\")) buckets.theme.push(identifier);\n\t\telse if ([...mediaNames].some((name) => key.endsWith(`-${name}`))) buckets.media.push(identifier);\n\t\telse buckets.normal.push(identifier);\n\t}\n\tconst orderedIdentifiers = [\n\t\t...buckets.group,\n\t\t...buckets.normal,\n\t\t...buckets.pseudo,\n\t\t...buckets.theme,\n\t\t...buckets.media\n\t];\n\tconst orderedSet = new Set(orderedIdentifiers);\n\tconst baseViewClassName = includeRuntimeBase ? classNameWithoutCaller.split(/\\s+/).filter((token) => token && !orderedSet.has(token)).join(\" \") : \"\";\n\tconst css = orderedIdentifiers.flatMap((identifier) => {\n\t\tconst identifierRules = cssFromRules(Object.fromEntries(Object.entries(rules).filter(([, styleObject]) => styleObject?.[StyleObjectIdentifier] === identifier)));\n\t\treturn buckets.theme.includes(identifier) ? identifierRules.map((rule) => rule.replace(\":root:root:root.t_\", \":root:root:root:root.t_\")) : identifierRules;\n\t});\n\treturn {\n\t\tclassName: concatClassName(baseViewClassName, orderedIdentifiers, callerClassName),\n\t\tcss\n\t};\n}\nfunction compiledPropsEdits(input, styleEntries, replacement) {\n\tconst propsSpan = input.element.propsSpan;\n\tif (!propsSpan) return null;\n\tconst original = input.source.slice(propsSpan.start, propsSpan.end);\n\tconst trimmed = original.trim();\n\tif (!trimmed.startsWith(\"{\") || !trimmed.endsWith(\"}\")) return [{\n\t\tstart: propsSpan.start,\n\t\tend: propsSpan.end,\n\t\tcontent: `{ ${replacement} }`,\n\t\torigin: propsSpan\n\t}];\n\tif (styleEntries.length === 0) {\n\t\tconst close = original.lastIndexOf(\"}\");\n\t\tconst separator = original.slice(1, close).trim() ? \", \" : \" \";\n\t\tconst position = propsSpan.start + close;\n\t\treturn [{\n\t\t\tstart: position,\n\t\t\tend: position,\n\t\t\tcontent: `${separator}${replacement} `,\n\t\t\torigin: propsSpan\n\t\t}];\n\t}\n\tconst edits = [];\n\tfor (const [index, entry] of styleEntries.entries()) {\n\t\tlet start = entry.span.start;\n\t\tlet end = entry.span.end;\n\t\tif (index === 0) {\n\t\t\tedits.push({\n\t\t\t\tstart,\n\t\t\t\tend,\n\t\t\t\tcontent: replacement,\n\t\t\t\torigin: entry.span\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tlet cursor = end - propsSpan.start;\n\t\twhile (cursor < original.length - 1 && /\\s/.test(original[cursor])) cursor++;\n\t\tif (original[cursor] === \",\") end = propsSpan.start + cursor + 1;\n\t\telse {\n\t\t\tcursor = start - propsSpan.start - 1;\n\t\t\twhile (cursor > 0 && /\\s/.test(original[cursor])) cursor--;\n\t\t\tif (original[cursor] === \",\") start = propsSpan.start + cursor;\n\t\t}\n\t\tedits.push({\n\t\t\tstart,\n\t\t\tend,\n\t\t\tcontent: \"\",\n\t\t\torigin: entry.span\n\t\t});\n\t}\n\tconst merged = [];\n\tfor (const edit of edits.sort((left, right) => left.start - right.start)) {\n\t\tconst previous = merged.at(-1);\n\t\tif (previous && edit.start <= previous.end && !previous.content && !edit.content) previous.end = Math.max(previous.end, edit.end);\n\t\telse merged.push(edit);\n\t}\n\treturn merged;\n}\nconst compilerStyleProps = /* @__PURE__ */ new Set([\n\t\"className\",\n\t\"style\",\n\t\"group\",\n\t\"transition\",\n\t\"animation\",\n\t\"animateOnly\",\n\t\"animatePresence\",\n\t\"animatedBy\",\n\t\"fontFamily\",\n\t\"render\"\n]);\nconst runtimeAnimationProps = /* @__PURE__ */ new Set([\n\t\"transition\",\n\t\"animation\",\n\t\"animateOnly\",\n\t\"animatePresence\",\n\t\"animatedBy\"\n]);\nconst cssShorthandConflicts = {\n\tbackground: [\n\t\t\"backgroundAttachment\",\n\t\t\"backgroundBlendMode\",\n\t\t\"backgroundClip\",\n\t\t\"backgroundColor\",\n\t\t\"backgroundImage\",\n\t\t\"backgroundOrigin\",\n\t\t\"backgroundPosition\",\n\t\t\"backgroundRepeat\",\n\t\t\"backgroundSize\"\n\t],\n\tborder: [\n\t\t\"borderTop\",\n\t\t\"borderTopColor\",\n\t\t\"borderTopStyle\",\n\t\t\"borderTopWidth\",\n\t\t\"borderRight\",\n\t\t\"borderRightColor\",\n\t\t\"borderRightStyle\",\n\t\t\"borderRightWidth\",\n\t\t\"borderBottom\",\n\t\t\"borderBottomColor\",\n\t\t\"borderBottomStyle\",\n\t\t\"borderBottomWidth\",\n\t\t\"borderLeft\",\n\t\t\"borderLeftColor\",\n\t\t\"borderLeftStyle\",\n\t\t\"borderLeftWidth\",\n\t\t\"borderColor\",\n\t\t\"borderStyle\",\n\t\t\"borderWidth\",\n\t\t\"borderImage\",\n\t\t\"borderImageOutset\",\n\t\t\"borderImageRepeat\",\n\t\t\"borderImageSlice\",\n\t\t\"borderImageSource\",\n\t\t\"borderImageWidth\",\n\t\t\"borderInlineColor\",\n\t\t\"borderInlineEndColor\",\n\t\t\"borderInlineEndStyle\",\n\t\t\"borderInlineEndWidth\",\n\t\t\"borderInlineStartColor\",\n\t\t\"borderInlineStartStyle\",\n\t\t\"borderInlineStartWidth\",\n\t\t\"borderInlineStyle\",\n\t\t\"borderInlineWidth\"\n\t],\n\tborderTop: [\n\t\t\"borderTopColor\",\n\t\t\"borderTopStyle\",\n\t\t\"borderTopWidth\"\n\t],\n\tborderRight: [\n\t\t\"borderRightColor\",\n\t\t\"borderRightStyle\",\n\t\t\"borderRightWidth\",\n\t\t\"borderInlineColor\",\n\t\t\"borderInlineEndColor\",\n\t\t\"borderInlineEndStyle\",\n\t\t\"borderInlineEndWidth\",\n\t\t\"borderInlineStartColor\",\n\t\t\"borderInlineStartStyle\",\n\t\t\"borderInlineStartWidth\",\n\t\t\"borderInlineStyle\",\n\t\t\"borderInlineWidth\"\n\t],\n\tborderBottom: [\n\t\t\"borderBottomColor\",\n\t\t\"borderBottomStyle\",\n\t\t\"borderBottomWidth\"\n\t],\n\tborderLeft: [\n\t\t\"borderLeftColor\",\n\t\t\"borderLeftStyle\",\n\t\t\"borderLeftWidth\",\n\t\t\"borderInlineColor\",\n\t\t\"borderInlineEndColor\",\n\t\t\"borderInlineEndStyle\",\n\t\t\"borderInlineEndWidth\",\n\t\t\"borderInlineStartColor\",\n\t\t\"borderInlineStartStyle\",\n\t\t\"borderInlineStartWidth\",\n\t\t\"borderInlineStyle\",\n\t\t\"borderInlineWidth\"\n\t],\n\tborderImage: [\n\t\t\"borderImageOutset\",\n\t\t\"borderImageRepeat\",\n\t\t\"borderImageSlice\",\n\t\t\"borderImageSource\",\n\t\t\"borderImageWidth\"\n\t],\n\toutline: [\n\t\t\"outlineColor\",\n\t\t\"outlineStyle\",\n\t\t\"outlineWidth\"\n\t],\n\tgap: [\"columnGap\", \"rowGap\"],\n\tgridColumn: [\"gridColumnEnd\", \"gridColumnStart\"],\n\tgridRow: [\"gridRowEnd\", \"gridRowStart\"],\n\tmarginInline: [\n\t\t\"marginInlineEnd\",\n\t\t\"marginInlineStart\",\n\t\t\"marginEnd\",\n\t\t\"marginStart\",\n\t\t\"marginLeft\",\n\t\t\"marginRight\"\n\t],\n\tpaddingInline: [\n\t\t\"paddingInlineEnd\",\n\t\t\"paddingInlineStart\",\n\t\t\"paddingEnd\",\n\t\t\"paddingStart\",\n\t\t\"paddingLeft\",\n\t\t\"paddingRight\"\n\t],\n\tinsetInline: [\n\t\t\"insetInlineEnd\",\n\t\t\"insetInlineStart\",\n\t\t\"end\",\n\t\t\"start\",\n\t\t\"left\",\n\t\t\"right\"\n\t],\n\tborderInlineColor: [\n\t\t\"borderInlineEndColor\",\n\t\t\"borderInlineStartColor\",\n\t\t\"borderEndColor\",\n\t\t\"borderStartColor\",\n\t\t\"borderLeftColor\",\n\t\t\"borderRightColor\"\n\t],\n\tborderInlineStyle: [\n\t\t\"borderInlineEndStyle\",\n\t\t\"borderInlineStartStyle\",\n\t\t\"borderEndStyle\",\n\t\t\"borderStartStyle\",\n\t\t\"borderLeftStyle\",\n\t\t\"borderRightStyle\"\n\t],\n\tborderInlineWidth: [\n\t\t\"borderInlineEndWidth\",\n\t\t\"borderInlineStartWidth\",\n\t\t\"borderEndWidth\",\n\t\t\"borderStartWidth\",\n\t\t\"borderLeftWidth\",\n\t\t\"borderRightWidth\"\n\t],\n\tmask: [\n\t\t\"maskBorder\",\n\t\t\"maskBorderMode\",\n\t\t\"maskBorderOutset\",\n\t\t\"maskBorderRepeat\",\n\t\t\"maskBorderSlice\",\n\t\t\"maskBorderSource\",\n\t\t\"maskBorderWidth\",\n\t\t\"maskClip\",\n\t\t\"maskComposite\",\n\t\t\"maskImage\",\n\t\t\"maskMode\",\n\t\t\"maskOrigin\",\n\t\t\"maskPosition\",\n\t\t\"maskRepeat\",\n\t\t\"maskSize\"\n\t],\n\tmaskBorder: [\n\t\t\"maskBorderMode\",\n\t\t\"maskBorderOutset\",\n\t\t\"maskBorderRepeat\",\n\t\t\"maskBorderSlice\",\n\t\t\"maskBorderSource\",\n\t\t\"maskBorderWidth\"\n\t]\n};\nconst cssConflictFamilies = [\n\t/* @__PURE__ */ new Set([\n\t\t\"marginInline\",\n\t\t\"marginInlineEnd\",\n\t\t\"marginInlineStart\",\n\t\t\"marginEnd\",\n\t\t\"marginStart\",\n\t\t\"marginLeft\",\n\t\t\"marginRight\"\n\t]),\n\t/* @__PURE__ */ new Set([\n\t\t\"paddingInline\",\n\t\t\"paddingInlineEnd\",\n\t\t\"paddingInlineStart\",\n\t\t\"paddingEnd\",\n\t\t\"paddingStart\",\n\t\t\"paddingLeft\",\n\t\t\"paddingRight\"\n\t]),\n\t/* @__PURE__ */ new Set([\n\t\t\"insetInline\",\n\t\t\"insetInlineEnd\",\n\t\t\"insetInlineStart\",\n\t\t\"end\",\n\t\t\"start\",\n\t\t\"left\",\n\t\t\"right\"\n\t]),\n\t/* @__PURE__ */ new Set([\n\t\t\"borderInlineColor\",\n\t\t\"borderInlineEndColor\",\n\t\t\"borderInlineStartColor\",\n\t\t\"borderEndColor\",\n\t\t\"borderStartColor\",\n\t\t\"borderLeftColor\",\n\t\t\"borderRightColor\"\n\t]),\n\t/* @__PURE__ */ new Set([\n\t\t\"borderInlineStyle\",\n\t\t\"borderInlineEndStyle\",\n\t\t\"borderInlineStartStyle\",\n\t\t\"borderEndStyle\",\n\t\t\"borderStartStyle\",\n\t\t\"borderLeftStyle\",\n\t\t\"borderRightStyle\"\n\t]),\n\t/* @__PURE__ */ new Set([\n\t\t\"borderInlineWidth\",\n\t\t\"borderInlineEndWidth\",\n\t\t\"borderInlineStartWidth\",\n\t\t\"borderEndWidth\",\n\t\t\"borderStartWidth\",\n\t\t\"borderLeftWidth\",\n\t\t\"borderRightWidth\"\n\t])\n];\nfunction cssOwnersConflict(left, right) {\n\tfor (const leftOwner of left) for (const rightOwner of right) if (leftOwner === rightOwner || cssShorthandConflicts[leftOwner]?.includes(rightOwner) || cssShorthandConflicts[rightOwner]?.includes(leftOwner) || cssConflictFamilies.some((family) => family.has(leftOwner) && family.has(rightOwner))) return true;\n\treturn false;\n}\nconst runtimeEventProps = /* @__PURE__ */ new Set([\n\t\"onHoverIn\",\n\t\"onHoverOut\",\n\t\"onLongPress\",\n\t\"onPress\",\n\t\"onPressIn\",\n\t\"onPressOut\"\n]);\nconst DOM_STYLE_ATTRIBUTES = new Map(Object.entries(ATTRIBUTES).filter(([name, row]) => row.native !== \"none\" && row.nativeProp && row.nativeProp !== name && row.nativeProp in stylePropsText).map(([name, row]) => [name, row.nativeProp]));\nconst nativePointerEventProps = /* @__PURE__ */ new Set([\n\t\"onPointerCancel\",\n\t\"onPointerDown\",\n\t\"onPointerEnter\",\n\t\"onPointerLeave\",\n\t\"onPointerMove\",\n\t\"onPointerUp\"\n]);\nfunction isSerializableNativeStyle(value) {\n\tif (value == null || typeof value === \"number\" || typeof value === \"boolean\") return true;\n\tif (typeof value === \"string\") return true;\n\tif (Array.isArray(value)) return value.every(isSerializableNativeStyle);\n\tif (!staticObject(value)) return false;\n\tconst prototype = Object.getPrototypeOf(value);\n\tif (prototype !== Object.prototype && prototype !== null) return false;\n\treturn Object.values(value).every(isSerializableNativeStyle);\n}\nfunction unusedIdentifier(source, base) {\n\tlet candidate = base;\n\tlet suffix = 0;\n\twhile (new RegExp(`\\\\b${candidate}\\\\b`).test(source)) candidate = `${base}${++suffix}`;\n\treturn candidate;\n}\nconst VIEW_WRAPPER_PROPS = /^(aria-|accessibilityState$|accessibilityValue$|id$|tabIndex$|nativeID$)/;\nfunction isBareHostView(element) {\n\treturn !element.entries.some((entry) => entry.kind === \"child\" || entry.kind === \"spread\" || entry.kind === \"prop\" && VIEW_WRAPPER_PROPS.test(entry.name));\n}\nfunction entrySource(input, entry) {\n\treturn entry.value.kind === \"static\" ? JSON.stringify(entry.value.value) : input.source.slice(entry.value.span.start, entry.value.span.end);\n}\nfunction renamedPropEdit(input, entry, name) {\n\tif (entry.name === name) return null;\n\tconst content = input.source.slice(entry.span.start, entry.span.end);\n\tconst offset = content.indexOf(entry.name);\n\tif (offset === -1) return null;\n\tconst quoted = content[offset - 1] === \"\\\"\" || content[offset - 1] === \"'\";\n\treturn {\n\t\tstart: entry.span.start + offset,\n\t\tend: entry.span.start + offset + entry.name.length,\n\t\tcontent: input.element.form === \"jsx\" || quoted ? name : JSON.stringify(name),\n\t\torigin: entry.span\n\t};\n}\nfunction serializedProps(form, props) {\n\treturn props.map(([name, value]) => form === \"jsx\" ? `${name}={${value}}` : `${JSON.stringify(name)}: ${value}`).join(form === \"jsx\" ? \" \" : \", \");\n}\nfunction nativeDOMProps(input, tag) {\n\tconst consumed = [];\n\tconst edits = [];\n\tconst additions = [];\n\tconst nested = /* @__PURE__ */ new Map();\n\tconst entries = input.element.entries.filter((entry) => entry.kind === \"prop\");\n\tconst names = new Set(entries.map((entry) => entry.name));\n\tif (names.has(\"ref\") || tag === \"br\") additions.push([\"__tag\", JSON.stringify(tag)]);\n\tif (TAGS[tag].backing === \"text\" || TAGS[tag].backing === \"textinput\") additions.push([\"__inherit\", \"true\"]);\n\tconst add = (name, value) => additions.push([name, value]);\n\tconst consume = (entry) => consumed.push(entry);\n\tfor (const entry of entries) {\n\t\tconst value = entrySource(input, entry);\n\t\tconst attribute = (Object.hasOwn(ATTRIBUTES, entry.name) ? ATTRIBUTES[entry.name] : void 0) ?? (entry.name.startsWith(\"data-\") ? ATTRIBUTES[\"data-*\"] : void 0);\n\t\tconst event = Object.hasOwn(EVENTS, entry.name) ? EVENTS[entry.name] : void 0;\n\t\tif (event) {\n\t\t\tif (event.native === \"none\") return {\n\t\t\t\tconsumed,\n\t\t\t\tedits,\n\t\t\t\tadditions,\n\t\t\t\tdiagnostic: `${entry.name} has no native DOM event equivalent`,\n\t\t\t\tdiagnosticSpan: entry.span\n\t\t\t};\n\t\t\tif (entry.name === \"onKeyDown\" && tag !== \"input\" && tag !== \"textarea\") return {\n\t\t\t\tconsumed,\n\t\t\t\tedits,\n\t\t\t\tadditions,\n\t\t\t\tdiagnostic: `onKeyDown requires a native text-entry control`,\n\t\t\t\tdiagnosticSpan: entry.span\n\t\t\t};\n\t\t\tif ([\n\t\t\t\t\"onClick\",\n\t\t\t\t\"onLoad\",\n\t\t\t\t\"onError\",\n\t\t\t\t\"onChange\",\n\t\t\t\t\"onInput\",\n\t\t\t\t\"onKeyDown\"\n\t\t\t].includes(entry.name)) continue;\n\t\t\tif (event.nativeProp) {\n\t\t\t\tconst edit2 = renamedPropEdit(input, entry, event.nativeProp);\n\t\t\t\tif (edit2) edits.push(edit2);\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\t\tif (!attribute || attribute.native === \"none\" || entry.name === \"style\") continue;\n\t\tif (DOM_STYLE_ATTRIBUTES.has(entry.name)) {\n\t\t\tif (entry.value.kind !== \"static\") return {\n\t\t\t\tconsumed,\n\t\t\t\tedits,\n\t\t\t\tadditions,\n\t\t\t\tdiagnostic: `html.${tag} ${entry.name} must be statically known for native lowering`,\n\t\t\t\tdiagnosticSpan: entry.span\n\t\t\t};\n\t\t\tconsume(entry);\n\t\t\tcontinue;\n\t\t}\n\t\tif (entry.name === \"hidden\") {\n\t\t\tif (entry.value.kind !== \"static\") return {\n\t\t\t\tconsumed,\n\t\t\t\tedits,\n\t\t\t\tadditions,\n\t\t\t\tdiagnostic: `html.${tag} hidden must be statically known for native lowering`,\n\t\t\t\tdiagnosticSpan: entry.span\n\t\t\t};\n\t\t\tconsume(entry);\n\t\t\tcontinue;\n\t\t}\n\t\tif (entry.name === \"tabIndex\") {\n\t\t\tconsume(entry);\n\t\t\tadd(\"focusable\", `(${value}) === 0`);\n\t\t\tcontinue;\n\t\t}\n\t\tif (entry.name === \"readOnly\") {\n\t\t\tconsume(entry);\n\t\t\tadd(\"editable\", `!(${value})`);\n\t\t\tcontinue;\n\t\t}\n\t\tif (entry.name === \"disabled\") {\n\t\t\tconsume(entry);\n\t\t\tadd(\"disabled\", value);\n\t\t\tadd(\"focusable\", `!(${value})`);\n\t\t\tif (tag === \"input\" || tag === \"textarea\") add(\"editable\", `!(${value})`);\n\t\t\tconst state = nested.get(\"accessibilityState\") ?? [];\n\t\t\tstate.push([\"disabled\", value]);\n\t\t\tnested.set(\"accessibilityState\", state);\n\t\t\tcontinue;\n\t\t}\n\t\tif (entry.name === \"type\") {\n\t\t\tconsume(entry);\n\t\t\tif (tag === \"input\" && entry.value.kind !== \"static\") return {\n\t\t\t\tconsumed,\n\t\t\t\tedits,\n\t\t\t\tadditions,\n\t\t\t\tdiagnostic: `html.input type must be statically known for native lowering`,\n\t\t\t\tdiagnosticSpan: entry.span\n\t\t\t};\n\t\t\tif (tag === \"input\" && entry.value.kind === \"static\") {\n\t\t\t\tconst type = entry.value.value;\n\t\t\t\tif (type === \"password\") add(\"secureTextEntry\", \"true\");\n\t\t\t\telse if (typeof type === \"string\" && type !== \"text\" && NATIVE_INPUT_TYPES.includes(type)) {\n\t\t\t\t\tif (!names.has(\"inputMode\")) add(\"inputMode\", JSON.stringify(type === \"number\" ? \"numeric\" : type));\n\t\t\t\t}\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\t\tif (entry.name === \"aria-hidden\") {\n\t\t\tconsume(entry);\n\t\t\tadd(\"accessibilityElementsHidden\", value);\n\t\t\tadd(\"importantForAccessibility\", `(${value}) ? \"no-hide-descendants\" : \"auto\"`);\n\t\t\tcontinue;\n\t\t}\n\t\tif (entry.name === \"aria-live\") {\n\t\t\tconsume(entry);\n\t\t\tadd(\"accessibilityLiveRegion\", entry.value.kind === \"static\" && entry.value.value === \"off\" ? \"\\\"none\\\"\" : value);\n\t\t\tcontinue;\n\t\t}\n\t\tconst nativeProp = attribute.nativeProp;\n\t\tif (!nativeProp) continue;\n\t\tif (nativeProp.includes(\".\")) {\n\t\t\tconsume(entry);\n\t\t\tconst [parent, child] = nativeProp.split(\".\");\n\t\t\tconst values = nested.get(parent) ?? [];\n\t\t\tvalues.push([child, value]);\n\t\t\tnested.set(parent, values);\n\t\t\tcontinue;\n\t\t}\n\t\tconst edit = renamedPropEdit(input, entry, nativeProp);\n\t\tif (edit) edits.push(edit);\n\t}\n\tfor (const [name, values] of nested) add(name, `{ ${values.map(([key, value]) => `${key}: ${value}`).join(\", \")} }`);\n\tif (!names.has(\"role\") && TAGS[tag].role) add(\"role\", JSON.stringify(TAGS[tag].role));\n\tif (tag === \"textarea\") add(\"multiline\", \"true\");\n\treturn {\n\t\tconsumed,\n\t\tedits,\n\t\tadditions\n\t};\n}\nfunction webDOMProps(input, tag) {\n\tconst edits = [];\n\tconst additions = [];\n\tconst entries = input.element.entries.filter((entry) => entry.kind === \"prop\");\n\tconst names = new Set(entries.map((entry) => entry.name));\n\tfor (const entry of entries) {\n\t\tif (entry.name === \"for\") {\n\t\t\tconst edit = renamedPropEdit(input, entry, \"htmlFor\");\n\t\t\tif (edit) edits.push(edit);\n\t\t}\n\t\tif (entry.name === \"role\" && entry.value.kind === \"static\" && entry.value.value === \"none\") edits.push({\n\t\t\tstart: entry.value.span.start,\n\t\t\tend: entry.value.span.end,\n\t\t\tcontent: JSON.stringify(\"presentation\"),\n\t\t\torigin: entry.value.span\n\t\t});\n\t}\n\tif (tag === \"button\" && !names.has(\"type\")) additions.push([\"type\", \"\\\"button\\\"\"]);\n\tif ((tag === \"input\" || tag === \"textarea\") && !names.has(\"dir\")) additions.push([\"dir\", \"\\\"auto\\\"\"]);\n\treturn {\n\t\tedits,\n\t\tadditions\n\t};\n}\nfunction createTamaguiCompilerHost(options) {\n\tconst platform = options.target === \"native\" ? \"native\" : \"web\";\n\tconst core = requireTamaguiCore(platform);\n\tconst firstThemeName = Object.keys(options.tamaguiConfig.themes ?? {})[0] ?? \"\";\n\tconst theme = options.tamaguiConfig.themes?.[firstThemeName] ?? {};\n\tconst modifierRegistry = createModifierRegistry({\n\t\tmediaNames: options.tamaguiConfig.media ?? {},\n\t\tthemeNames: options.tamaguiConfig.themes ?? {}\n\t}).registry;\n\tconst isClauseObjectValue = (value) => {\n\t\tif (!staticObject(value)) return false;\n\t\tif (\"default\" in value) return true;\n\t\tfor (const key in value) {\n\t\t\tif (key.length === 0) return false;\n\t\t\tlet start = 0;\n\t\t\tfor (let index = 0; index <= key.length; index++) {\n\t\t\t\tif (index !== key.length && key.charCodeAt(index) !== 58) continue;\n\t\t\t\tif (modifierRegistry.get(key.slice(start, index)) === void 0) return false;\n\t\t\t\tstart = index + 1;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t};\n\tconst configuredAnimationDriver = options.tamaguiConfig.animations;\n\tconst configuredCssAnimationDriver = platform === \"web\" && configuredAnimationDriver?.outputStyle === \"css\" && !options.tamaguiConfig.animationDrivers ? configuredAnimationDriver : null;\n\tconst resolveStaticCssTransition = (value, transitionPresets) => {\n\t\tif (platform !== \"web\" || typeof value !== \"string\") return null;\n\t\tconst transitionPresetNames = new Set(Object.keys(transitionPresets));\n\t\tconst program = parseValue(value, modifierRegistry);\n\t\tif (!program.ok) return null;\n\t\tconst resolvedPayloads = [];\n\t\tconst payloads = [program.value.base, ...program.value.clauses.map((clause) => clause.payload)].filter((payload) => payload !== null);\n\t\tif (payloads.length === 0) return null;\n\t\tfor (const payload of payloads) {\n\t\t\tconst transition = parseTransition(payload, transitionPresetNames);\n\t\t\tif (!transition.ok) return null;\n\t\t\tif (transition.value.kind === \"global\" || transition.value.entries.every((entry) => entry.timing.type === \"css\")) {\n\t\t\t\tresolvedPayloads.push(payload);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (transition.value.entries.length !== 1 || transition.value.entries[0].timing.type !== \"preset\") return null;\n\t\t\tconst preset = transitionPresets[transition.value.entries[0].timing.name];\n\t\t\tif (typeof preset !== \"string\") return null;\n\t\t\tconst parsedPreset = parseTransition(preset);\n\t\t\tif (!parsedPreset.ok || parsedPreset.value.kind !== \"transition\" || parsedPreset.value.entries.length !== 1 || parsedPreset.value.entries[0].property !== \"all\" || parsedPreset.value.entries[0].timing.type !== \"css\") return null;\n\t\t\tresolvedPayloads.push(`all ${preset}`);\n\t\t}\n\t\tlet payloadIndex = 0;\n\t\tconst resolved = [];\n\t\tif (program.value.base !== null) resolved.push(resolvedPayloads[payloadIndex++]);\n\t\tfor (const clause of program.value.clauses) resolved.push(`${clause.modifiers.join(\":\")}:${resolvedPayloads[payloadIndex++]}`);\n\t\treturn resolved.join(\" \");\n\t};\n\tconst modulesById = new Map(options.componentModules.map((module) => [module.resolvedId, module.moduleName]));\n\tconst componentsByModule = new Map(options.components.map((component) => [component.moduleName, component]));\n\tconst normalizeStaticConfig = (staticConfig) => staticConfig.styleFrontend?.normalizeStaticConfig?.(staticConfig, options.tamaguiConfig) ?? staticConfig;\n\tconst directStaticConfig = (element) => {\n\t\tconst identity = element.component.provenance;\n\t\tif (!identity) return null;\n\t\tconst moduleName = modulesById.get(identity.resolvedId);\n\t\tconst info = (moduleName ? componentsByModule.get(moduleName) : void 0)?.nameToInfo[identity.importedName];\n\t\treturn info ? {\n\t\t\tkey: componentKey(identity.resolvedId, identity.importedName),\n\t\t\tstaticConfig: normalizeStaticConfig(info.staticConfig),\n\t\t\tdisplayName: info.displayName\n\t\t} : null;\n\t};\n\tconst domStaticConfig = (element) => {\n\t\tconst identity = element.component.provenance;\n\t\tconst tag = element.component.name;\n\t\tif (identity?.importedName !== \"html\" || !DOM_FRONTENDS.has(identity.specifier) || !Object.hasOwn(TAGS, tag)) return null;\n\t\tconst row = TAGS[tag];\n\t\tconst base = (row.backing === \"text\" || row.backing === \"textinput\" ? core.Text : core.View)?.staticConfig;\n\t\tif (!base) return null;\n\t\tconst platformDefaults = platform === \"web\" ? {\n\t\t\t...DISPLAY_WEB_RESET[row.display],\n\t\t\t...row.defaults,\n\t\t\t...TAG_WEB_DEFAULTS[tag]\n\t\t} : {\n\t\t\t...NATIVE_ELEMENT_DEFAULTS,\n\t\t\t...row.display === \"block\" ? NATIVE_BLOCK_DEFAULTS : null,\n\t\t\t...row.defaults,\n\t\t\t...row.nativeDefaults\n\t\t};\n\t\treturn {\n\t\t\tkey: componentKey(identity.resolvedId, `html.${tag}`),\n\t\t\ttag,\n\t\t\tdisplayName: tag,\n\t\t\tstaticConfig: normalizeStaticConfig({\n\t\t\t\t...base,\n\t\t\t\tisInput: row.backing === \"textinput\",\n\t\t\t\tvalidStyles: {\n\t\t\t\t\t...validStyles,\n\t\t\t\t\t...stylePropsText\n\t\t\t\t},\n\t\t\t\tdefaultProps: {\n\t\t\t\t\t...base.defaultProps,\n\t\t\t\t\t...platformDefaults\n\t\t\t\t}\n\t\t\t})\n\t\t};\n\t};\n\tconst styledStaticConfig = (definition) => {\n\t\tif (!definition || definition.options.kind !== \"static\") return null;\n\t\tconst base = directStaticConfig({\n\t\t\tkind: \"element\",\n\t\t\tform: \"jsx\",\n\t\t\tid: definition.id,\n\t\t\tspan: definition.span,\n\t\t\tpropsSpan: null,\n\t\t\tcomponent: definition.base,\n\t\t\tcomplete: true,\n\t\t\tentries: [],\n\t\t\tbailouts: []\n\t\t});\n\t\tif (!base || !staticObject(definition.options.value)) return null;\n\t\tconst { variants, defaultVariants, compoundVariants, displayName, context, contextProps, ...defaultProps } = definition.options.value;\n\t\tconst baseClassName = definition.baseClassName?.kind === \"static\" && typeof definition.baseClassName.value === \"string\" ? definition.baseClassName.value : void 0;\n\t\treturn {\n\t\t\tkey: componentKey(definition.id, definition.name),\n\t\t\tdisplayName: displayName || base.displayName,\n\t\t\tstaticConfig: normalizeStaticConfig({\n\t\t\t\t...base.staticConfig,\n\t\t\t\tvariants: {\n\t\t\t\t\t...base.staticConfig.variants,\n\t\t\t\t\t...variants\n\t\t\t\t},\n\t\t\t\tcompoundVariants: [...base.staticConfig.compoundVariants ?? [], ...compoundVariants ?? []],\n\t\t\t\tdefaultProps: {\n\t\t\t\t\t...base.staticConfig.defaultProps,\n\t\t\t\t\t...defaultProps,\n\t\t\t\t\t...defaultVariants\n\t\t\t\t},\n\t\t\t\tdefaultVariants,\n\t\t\t\tbaseClassName: [base.staticConfig.baseClassName, baseClassName].filter(Boolean).join(\" \"),\n\t\t\t\tcontext: context ?? base.staticConfig.context,\n\t\t\t\tcontextProps: context ? contextProps : contextProps ?? base.staticConfig.contextProps\n\t\t\t})\n\t\t};\n\t};\n\tconst resolve = (element, styledDefinition) => {\n\t\tconst dom = domStaticConfig(element);\n\t\tconst resolved = dom ?? styledStaticConfig(styledDefinition) ?? directStaticConfig(element);\n\t\tif (!resolved) return null;\n\t\tconst defaultProps = core.getDefaultProps(resolved.staticConfig) ?? {};\n\t\treturn {\n\t\t\tkey: resolved.key,\n\t\t\tcanFlatten: resolved.staticConfig.acceptsClassName !== false && !resolved.staticConfig.neverFlatten && !resolved.staticConfig.context,\n\t\t\tstaticConfig: resolved.staticConfig,\n\t\t\tdisplayName: resolved.displayName,\n\t\t\t...dom && { domTag: dom.tag },\n\t\t\tpartialRuntimeSafe: !dom && !styledDefinition && Object.keys(defaultProps).length === 0 && !resolved.staticConfig.defaultVariants && !resolved.staticConfig.baseClassName && !resolved.staticConfig.baseStyle && (resolved.staticConfig.compoundVariants?.length ?? 0) === 0\n\t\t};\n\t};\n\tconst isStyleProp = (name, component) => {\n\t\tconst staticConfig = component.staticConfig;\n\t\treturn compilerStyleProps.has(name) || name in (options.tamaguiConfig.shorthands ?? {}) || !!staticConfig.validStyles?.[name] || !!staticConfig.variants?.[name];\n\t};\n\tconst runtimeOnlyStyleProps = /* @__PURE__ */ new Set([\n\t\t\"className\",\n\t\t\"style\",\n\t\t\"group\",\n\t\t\"transition\",\n\t\t\"animation\",\n\t\t\"animateOnly\",\n\t\t\"animatePresence\",\n\t\t\"animatedBy\",\n\t\t\"render\"\n\t]);\n\tconst canLowerConditionalStyleProp = (name, component) => isStyleProp(name, component) && !runtimeOnlyStyleProps.has(name);\n\tconst isInvalidHostStyleProp = (name, component) => {\n\t\tconst staticConfig = component.staticConfig;\n\t\tconst validStyles$1 = staticConfig.validStyles || (staticConfig.isText || staticConfig.isInput ? stylePropsText : validStyles);\n\t\treturn name in stylePropsAll && !isValidStyleKey(name, validStyles$1, staticConfig.accept);\n\t};\n\tconst directStyleName = (name, component) => {\n\t\tif (compilerStyleProps.has(name) || name === \"style\") return null;\n\t\tconst staticConfig = component.staticConfig;\n\t\tif (staticConfig.variants?.[name]) return null;\n\t\tconst expanded = options.tamaguiConfig.shorthands?.[name] ?? name;\n\t\treturn staticConfig.validStyles?.[expanded] ? expanded : null;\n\t};\n\tconst resolveSplitStyles = (props, staticConfig, animationDriver, displayName) => {\n\t\tconst previousStatic = process.env.IS_STATIC;\n\t\tconst previousTarget = \"web\";\n\t\tif (platform === \"native\") process.env.IS_STATIC = \"is_static\";\n\t\telse delete process.env.IS_STATIC;\n\t\tprocess.env.TAMAGUI_TARGET = platform;\n\t\ttry {\n\t\t\treturn core.getSplitStyles(props, staticConfig, theme, firstThemeName, componentState, {\n\t\t\t\tresolveValues: platform === \"native\" ? \"except-theme\" : \"variable\",\n\t\t\t\tnoClass: platform === \"native\",\n\t\t\t\tisAnimated: false,\n\t\t\t\tdisplayName\n\t\t\t}, void 0, void 0, void 0, void 0, void 0, void 0, animationDriver);\n\t\t} finally {\n\t\t\tif (previousStatic === void 0) delete process.env.IS_STATIC;\n\t\t\telse process.env.IS_STATIC = previousStatic;\n\t\t\tprocess.env.TAMAGUI_TARGET = previousTarget;\n\t\t}\n\t};\n\tconst partialStaticConfig = (staticConfig) => ({\n\t\t...staticConfig,\n\t\tbaseStyle: void 0,\n\t\tdefaultProps: {},\n\t\tdefaultVariants: void 0,\n\t\tcompoundVariants: [],\n\t\tvariants: {}\n\t});\n\tconst styleOwners = (name, value, staticConfig) => {\n\t\tconst split = resolveSplitStyles({ [name]: value }, partialStaticConfig(staticConfig));\n\t\tif (!split) return null;\n\t\tconst inlineStyle = split.viewProps?.style;\n\t\tif (staticObject(inlineStyle) && !inlineStyle[\"$$css\"] && Object.keys(inlineStyle).length > 0) return null;\n\t\tconst owners = new Set(Object.keys(split.classNames ?? {}));\n\t\tfor (const styleObject of Object.values(split.rulesToInsert ?? {})) {\n\t\t\tconst property = styleObject?.[StyleObjectProperty];\n\t\t\tif (typeof property === \"string\") owners.add(property);\n\t\t}\n\t\treturn owners.size > 0 ? owners : null;\n\t};\n\tconst dynamicStyleOwners = (name, staticConfig) => {\n\t\tconst owners = styleOwners(name, name === \"transform\" ? [{ scale: 1 }] : name === \"transformMatrix\" ? [\n\t\t\t1,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1,\n\t\t\t0,\n\t\t\t0\n\t\t] : name === \"shadowOffset\" ? {\n\t\t\twidth: 0,\n\t\t\theight: 0\n\t\t} : name === \"shadowColor\" ? \"black\" : name === \"border\" || name === \"outline\" ? \"0 solid transparent\" : name === \"position\" ? \"relative\" : name === \"objectFit\" ? \"contain\" : 0, staticConfig);\n\t\tif (!owners || name !== \"flex\") return owners;\n\t\tconst shorthandOwners = styleOwners(name, \"0 1 auto\", staticConfig);\n\t\tif (!shorthandOwners) return null;\n\t\tfor (const owner of shorthandOwners) owners.add(owner);\n\t\treturn owners;\n\t};\n\tconst developmentDebugInstrumentation = (input, result) => {\n\t\tif (process.env.NODE_ENV !== \"development\") return;\n\t\tconst debugEntry = input.element.entries.find((entry) => entry.kind === \"prop\" && entry.name === \"debug\" && entry.value.kind === \"static\" && entry.value.value === \"verbose\");\n\t\tif (!debugEntry) return;\n\t\tconst component = input.component;\n\t\tconst styleEntries = input.element.entries.filter((entry) => entry.kind === \"prop\" && entry.name !== \"debug\" && (entry.name === \"style\" || isStyleProp(entry.name, component)));\n\t\tconst flattened = result.ok && !!result.flattened;\n\t\tconst tiers = result.ok ? [\n\t\t\t\"lowered\",\n\t\t\t...flattened ? [\"flattened\"] : [],\n\t\t\t...input.styledDefinition ? [\"styled\"] : []\n\t\t] : [\"bailed\"];\n\t\tconst why = result.ok ? flattened ? \"Static styles were lowered and the component was flattened to a host element.\" : \"Static styles were lowered while the Tamagui component remained at runtime.\" : result.bailout.message;\n\t\tconst styles = styleEntries.map((entry) => {\n\t\t\tif (!result.ok) return {\n\t\t\t\tprop: entry.name,\n\t\t\t\ttier: \"bailed\",\n\t\t\t\truntime: true,\n\t\t\t\twhy: `${result.bailout.message}. The Tamagui runtime resolved this prop.`\n\t\t\t};\n\t\t\tconst edited = result.edits.some((edit) => edit.start < entry.span.end && edit.end > entry.span.start);\n\t\t\tif (!flattened && !edited) return {\n\t\t\t\tprop: entry.name,\n\t\t\t\ttier: \"bailed\",\n\t\t\t\truntime: true,\n\t\t\t\twhy: \"This prop remained for Tamagui runtime resolution.\"\n\t\t\t};\n\t\t\tif (entry.value.kind === \"static\") {\n\t\t\t\tconst split = resolveSplitStyles({ [entry.name]: entry.value.value }, partialStaticConfig(component.staticConfig));\n\t\t\t\tif (!Boolean(split && (Object.keys(split.classNames ?? {}).length > 0 || Object.keys(split.rulesToInsert ?? {}).length > 0 || staticObject(split.style) && Object.keys(split.style).length > 0 || staticObject(split.viewProps?.style) && Object.keys(split.viewProps.style).length > 0))) return {\n\t\t\t\t\tprop: entry.name,\n\t\t\t\t\ttier: flattened ? \"flattened\" : \"lowered\",\n\t\t\t\t\tdropped: true,\n\t\t\t\t\twhy: `No ${platform} style output was produced for this prop.`\n\t\t\t\t};\n\t\t\t}\n\t\t\treturn {\n\t\t\t\tprop: entry.name,\n\t\t\t\ttier: flattened ? \"flattened\" : \"lowered\",\n\t\t\t\twhy: flattened ? \"The compiler emitted this prop on the flattened host element.\" : \"The compiler lowered this prop while retaining the Tamagui component.\"\n\t\t\t};\n\t\t});\n\t\tconst receipt = JSON.stringify({\n\t\t\tcomponent: input.element.component.name,\n\t\t\ttiers,\n\t\t\twhy,\n\t\t\tstyles\n\t\t});\n\t\tconst content = flattened ? input.element.form === \"jsx\" ? `{...(console.info('\\u{1F539} Tamagui style receipt', ${receipt}), {})}` : `...(console.info('\\u{1F539} Tamagui style receipt', ${receipt}), {})` : input.element.form === \"jsx\" ? `debug=\"verbose\" __tamaguiStyleDebugReceipt={${receipt}}` : `debug: \"verbose\", __tamaguiStyleDebugReceipt: ${receipt}`;\n\t\treturn [{\n\t\t\tstart: debugEntry.span.start,\n\t\t\tend: debugEntry.span.end,\n\t\t\tcontent,\n\t\t\torigin: debugEntry.span\n\t\t}];\n\t};\n\treturn {\n\t\tresolveComponent: resolve,\n\t\tisStyleProp,\n\t\tcanLowerDynamicStyleProp(name, component, valueKind) {\n\t\t\tif (!options.disablePartialExtraction && valueKind === \"conditional\" && canLowerConditionalStyleProp(name, component)) return true;\n\t\t\treturn !options.disablePartialExtraction && (platform === \"web\" && !!directStyleName(name, component) || platform === \"native\" && directStyleName(name, component) === \"opacity\");\n\t\t},\n\t\tdevelopmentDebugInstrumentation,\n\t\tlowerCandidate(input) {\n\t\t\tconst component = input.component;\n\t\t\tif (!component.canFlatten) return bailout(input, \"local/unsupported-target\", component.staticConfig.acceptsClassName === false ? `${component.key} does not accept className` : component.staticConfig.neverFlatten ? `${component.key} is never flattened (behavior HOC)` : `${component.key} provides a styled context`, input.element.span, { rule: 6 });\n\t\t\tif (options.zeroRuntime) {\n\t\t\t\tconst spread = input.element.entries.find((entry) => entry.kind === \"spread\");\n\t\t\t\tif (spread) return bailout(input, \"local/unsafe-style-spread\", \"Zero-runtime rejects prop spreads\", spread.span, {\n\t\t\t\t\trule: 1,\n\t\t\t\t\tmessage: zeroRuleMessage(1, { component: input.element.component.name })\n\t\t\t\t});\n\t\t\t}\n\t\t\tconst props = {};\n\t\t\tfor (const entry of input.element.entries) {\n\t\t\t\tif (entry.kind === \"child\" || entry.value.kind !== \"static\") continue;\n\t\t\t\tif (entry.kind === \"spread\") {\n\t\t\t\t\tif (!staticObject(entry.value.value)) return bailout(input, \"local/unsafe-style-spread\", \"Static spread did not materialize to an object\", entry.span);\n\t\t\t\t\tObject.assign(props, entry.value.value);\n\t\t\t\t} else props[entry.name] = entry.value.value;\n\t\t\t}\n\t\t\tconst disableOptimizationEntry = input.element.entries.find((entry) => entry.kind === \"prop\" && entry.name === \"disableOptimization\");\n\t\t\tif (disableOptimizationEntry || Object.hasOwn(props, \"disableOptimization\")) return bailout(input, \"local/unsupported-target\", \"disableOptimization keeps the component on the runtime path\", disableOptimizationEntry?.span);\n\t\t\tif (component.domTag && props.hidden) props.display = \"none\";\n\t\t\tif (component.domTag && platform === \"native\") {\n\t\t\t\tfor (const [name, styleKey] of DOM_STYLE_ATTRIBUTES) if (name in props) {\n\t\t\t\t\tprops[styleKey] = props[name];\n\t\t\t\t\tdelete props[name];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (platform === \"native\" && component.domTag === \"input\" && typeof props.type === \"string\" && !NATIVE_INPUT_TYPES.includes(props.type)) return bailout(input, \"local/unsupported-target\", `input type ${props.type} has no native text-entry control`);\n\t\t\tconst dynamicStyleEntries = input.element.entries.filter((entry) => entry.kind === \"prop\" && (entry.value.kind === \"bailout\" || entry.value.kind === \"conditional\") && isStyleProp(entry.name, component));\n\t\t\t{\n\t\t\t\tconst needsRuntimeMapping = (name) => runtimeEventProps.has(name) || platform === \"native\" && !component.domTag && nativePointerEventProps.has(name);\n\t\t\t\tconst directRuntimeEvent = input.element.entries.find((entry) => entry.kind === \"prop\" && needsRuntimeMapping(entry.name));\n\t\t\t\tconst runtimeEvent = directRuntimeEvent?.kind === \"prop\" ? directRuntimeEvent.name : Object.keys(props).find(needsRuntimeMapping);\n\t\t\t\tif (runtimeEvent) return bailout(input, \"local/unsupported-target\", `${runtimeEvent} requires Tamagui runtime event mapping`);\n\t\t\t}\n\t\t\tconst animationDefaultProps = core.getDefaultProps(component.staticConfig) ?? {};\n\t\t\tconst animationProps = core.mergeProps(animationDefaultProps, props);\n\t\t\tconst animationNames = /* @__PURE__ */ new Set([...input.element.entries.flatMap((entry) => entry.kind === \"prop\" && runtimeAnimationProps.has(entry.name) ? [entry.name] : []), ...Object.keys(animationProps).filter((name) => runtimeAnimationProps.has(name) && animationProps[name] !== void 0)]);\n\t\t\tconst animateOnlyEntry = input.element.entries.find((entry) => entry.kind === \"prop\" && entry.name === \"animateOnly\");\n\t\t\tif (animationNames.has(\"animateOnly\")) return bailout(input, \"local/unsupported-target\", \"Animated candidates remain on the runtime path\", animateOnlyEntry?.span, {\n\t\t\t\trule: 5,\n\t\t\t\tmessage: zeroRuleMessage(5, { detail: animateOnlyEntry ? `animateOnly on ${input.element.component.name}` : `animateOnly in the styled() definition of ${input.element.component.name}` })\n\t\t\t});\n\t\t\tconst transitionEntry = input.element.entries.find((entry) => entry.kind === \"prop\" && entry.name === \"transition\");\n\t\t\tconst animatedBy = typeof animationProps.animatedBy === \"string\" ? animationProps.animatedBy.trim() : null;\n\t\t\tconst namedAnimationDriver = animatedBy === null ? null : options.tamaguiConfig.animationDrivers?.[animatedBy];\n\t\t\tconst cssAnimationDriver = (platform === \"web\" && namedAnimationDriver?.outputStyle === \"css\" ? namedAnimationDriver : null) ?? (animatedBy === null || animatedBy === \"default\" ? configuredCssAnimationDriver : null);\n\t\t\tconst resolvedCssTransition = animationNames.has(\"transition\") && cssAnimationDriver ? resolveStaticCssTransition(animationProps.transition, cssAnimationDriver.animations ?? {}) : null;\n\t\t\tif (resolvedCssTransition !== null) props.transition = resolvedCssTransition;\n\t\t\tconst animatedByNeedsRuntime = animationNames.has(\"animatedBy\") && !animationNames.has(\"transition\") && (dynamicStyleEntries.length > 0 || Object.keys(animationProps).some((name) => name !== \"animatedBy\" && (isStyleProp(name, component) && typeof animationProps[name] === \"string\" && animationProps[name].includes(\":\") || name === \"animationConfig\" || name === \"forceStyle\" || name === \"onTransition\")));\n\t\t\tconst runtimeAnimationRequired = animationNames.has(\"transition\") && resolvedCssTransition === null || [...animationNames].some((name) => name !== \"transition\" && name !== \"animatedBy\" && name !== \"animateOnly\") || animatedByNeedsRuntime;\n\t\t\tlet dynamicHostStyleProperties = null;\n\t\t\tif (platform === \"web\" && !options.disablePartialExtraction && (input.element.form === \"jsx\" || input.element.propsSpan !== null) && dynamicStyleEntries.length > 0 && !input.element.entries.some((entry) => entry.kind === \"spread\")) {\n\t\t\t\tconst seen = /* @__PURE__ */ new Set();\n\t\t\t\tconst properties = [];\n\t\t\t\tconst dynamicOwners = /* @__PURE__ */ new Set();\n\t\t\t\tfor (const entry of dynamicStyleEntries) {\n\t\t\t\t\tif (entry.kind !== \"prop\" || entry.value.kind !== \"bailout\" && entry.value.kind !== \"conditional\") continue;\n\t\t\t\t\tconst name = directStyleName(entry.name, component);\n\t\t\t\t\tif (!name || seen.has(name)) {\n\t\t\t\t\t\tproperties.length = 0;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tconst owners = dynamicStyleOwners(name, component.staticConfig);\n\t\t\t\t\tif (!owners) {\n\t\t\t\t\t\tproperties.length = 0;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tlet property = null;\n\t\t\t\t\tconst expression = input.source.slice(entry.value.span.start, entry.value.span.end);\n\t\t\t\t\tif (resolvedCssTransition !== null && (name === \"opacity\" || name === \"scale\")) property = name === \"opacity\" ? `opacity: (${expression})` : `transform: \"scale(\" + (${expression}) + \")\"`;\n\t\t\t\t\telse if (entry.value.kind === \"bailout\" && owners.size === 1 && owners.has(name)) {\n\t\t\t\t\t\tconst dynamic = entry.value.dynamic;\n\t\t\t\t\t\tif (dynamic?.type === \"number\") property = `${JSON.stringify(name)}: (${expression})`;\n\t\t\t\t\t\telse if (dynamic?.type === \"string\" && dynamic.values?.length) {\n\t\t\t\t\t\t\tlet valuesStayLiteral = true;\n\t\t\t\t\t\t\tfor (const value of dynamic.values) {\n\t\t\t\t\t\t\t\tconst split2 = resolveSplitStyles({ [entry.name]: value }, partialStaticConfig(component.staticConfig));\n\t\t\t\t\t\t\t\tconst atomics = Object.values(split2?.rulesToInsert ?? {});\n\t\t\t\t\t\t\t\tif (atomics.length !== 1 || atomics[0]?.[StyleObjectProperty] !== name || atomics[0]?.[StyleObjectValue] !== value) {\n\t\t\t\t\t\t\t\t\tvaluesStayLiteral = false;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (valuesStayLiteral) property = `${JSON.stringify(name)}: (${expression})`;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (!property) {\n\t\t\t\t\t\tproperties.length = 0;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tseen.add(name);\n\t\t\t\t\tfor (const owner of owners) dynamicOwners.add(owner);\n\t\t\t\t\tproperties.push(property);\n\t\t\t\t}\n\t\t\t\tif (properties.length === dynamicStyleEntries.length && !input.element.entries.some((entry) => {\n\t\t\t\t\tif (entry.kind !== \"prop\" || entry.value.kind !== \"static\") return false;\n\t\t\t\t\tconst name = directStyleName(entry.name, component);\n\t\t\t\t\tif (!name) return false;\n\t\t\t\t\tconst owners = styleOwners(name, entry.value.value, component.staticConfig);\n\t\t\t\t\treturn !!owners && cssOwnersConflict(owners, dynamicOwners);\n\t\t\t\t})) dynamicHostStyleProperties = properties;\n\t\t\t}\n\t\t\tconst supportsWebConditionalClasses = platform === \"web\" && !options.disablePartialExtraction && (input.element.form === \"jsx\" || input.element.propsSpan !== null) && dynamicHostStyleProperties === null && dynamicStyleEntries.length === 1 && dynamicStyleEntries.every((entry) => entry.kind === \"prop\" && entry.value.kind === \"conditional\" && canLowerConditionalStyleProp(entry.name, component));\n\t\t\tif (\"theme\" in props || \"themeInverse\" in props) {\n\t\t\t\tconst themeProp = \"theme\" in props ? \"theme\" : \"themeInverse\";\n\t\t\t\treturn bailout(input, \"local/unsupported-target\", \"Theme boundary candidates remain on the runtime path\", input.element.span, {\n\t\t\t\t\trule: 4,\n\t\t\t\t\tmessage: zeroThemeBoundaryMessage(input.element.component.name, themeProp)\n\t\t\t\t});\n\t\t\t}\n\t\t\tconst asChildEntry = input.element.entries.find((entry) => entry.kind === \"prop\" && entry.name === \"asChild\");\n\t\t\tif (asChildEntry || Object.hasOwn(props, \"asChild\")) return bailout(input, \"local/unsupported-target\", \"asChild renders a Slot, not a host view\", asChildEntry?.span);\n\t\t\tif (platform === \"native\" && (\"group\" in props || \"container\" in props || \"containerName\" in props || \"containerType\" in props)) return bailout(input, \"local/unsupported-target\", \"Native group containers remain on the runtime path\");\n\t\t\tif (runtimeAnimationRequired && !cssAnimationDriver) return bailout(input, \"local/unsupported-target\", \"Animated candidates remain on the runtime path\", transitionEntry?.span, {\n\t\t\t\trule: 5,\n\t\t\t\tmessage: zeroRuleMessage(5, { detail: `the animation configured on ${input.element.component.name}` })\n\t\t\t});\n\t\t\tif (platform === \"web\" && (dynamicStyleEntries.length > 0 || runtimeAnimationRequired) && dynamicHostStyleProperties === null && !supportsWebConditionalClasses && component.partialRuntimeSafe) {\n\t\t\t\tconst hasSpread = input.element.entries.some((entry) => entry.kind === \"spread\");\n\t\t\t\tconst unsupportedRuntimeStyle = input.element.entries.find((entry) => entry.kind === \"prop\" && isStyleProp(entry.name, component) && !runtimeAnimationProps.has(entry.name) && !directStyleName(entry.name, component));\n\t\t\t\tif (!hasSpread && !unsupportedRuntimeStyle) {\n\t\t\t\t\tconst dynamicOwners = /* @__PURE__ */ new Set();\n\t\t\t\t\tlet canProveDynamicOwnership = true;\n\t\t\t\t\tfor (const entry of dynamicStyleEntries) {\n\t\t\t\t\t\tif (entry.kind !== \"prop\") continue;\n\t\t\t\t\t\tconst name = directStyleName(entry.name, component);\n\t\t\t\t\t\tif (!name) {\n\t\t\t\t\t\t\tcanProveDynamicOwnership = false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst owners = dynamicStyleOwners(name, component.staticConfig);\n\t\t\t\t\t\tif (!owners) {\n\t\t\t\t\t\t\tcanProveDynamicOwnership = false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const owner of owners) dynamicOwners.add(owner);\n\t\t\t\t\t}\n\t\t\t\t\tconst staticStyleEntries = canProveDynamicOwnership ? input.element.entries.filter((entry) => {\n\t\t\t\t\t\tif (entry.kind !== \"prop\" || entry.value.kind !== \"static\") return false;\n\t\t\t\t\t\tif (runtimeAnimationProps.has(entry.name)) return false;\n\t\t\t\t\t\tconst name = directStyleName(entry.name, component);\n\t\t\t\t\t\tif (!name) return false;\n\t\t\t\t\t\tconst owners = styleOwners(name, entry.value.value, component.staticConfig);\n\t\t\t\t\t\treturn !!owners && !cssOwnersConflict(owners, dynamicOwners);\n\t\t\t\t\t}) : [];\n\t\t\t\t\tif (staticStyleEntries.length > 0) {\n\t\t\t\t\t\tconst partialProps = {};\n\t\t\t\t\t\tfor (const entry of staticStyleEntries) if (entry.kind === \"prop\" && entry.value.kind === \"static\") partialProps[entry.name] = entry.value.value;\n\t\t\t\t\t\tconst partialSplit = resolveSplitStyles(partialProps, partialStaticConfig(component.staticConfig));\n\t\t\t\t\t\tconst partialInlineStyle = partialSplit?.viewProps?.style;\n\t\t\t\t\t\tconst hasPartialInlineStyle = staticObject(partialInlineStyle) && !partialInlineStyle[\"$$css\"] && Object.keys(partialInlineStyle).length > 0;\n\t\t\t\t\t\tif (partialSplit && !hasPartialInlineStyle) {\n\t\t\t\t\t\t\tconst artifacts2 = extractedStyleArtifacts(partialSplit, partialProps, options.tamaguiConfig, false);\n\t\t\t\t\t\t\tif (artifacts2.className) if (input.element.form !== \"jsx\") {\n\t\t\t\t\t\t\t\tconst propsEdits = compiledPropsEdits(input, staticStyleEntries, objectClassName(artifacts2.className));\n\t\t\t\t\t\t\t\tif (propsEdits) return {\n\t\t\t\t\t\t\t\t\tok: true,\n\t\t\t\t\t\t\t\t\tedits: propsEdits,\n\t\t\t\t\t\t\t\t\tcss: artifacts2.css,\n\t\t\t\t\t\t\t\t\timports: [],\n\t\t\t\t\t\t\t\t\tflattened: false\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconst [first2, ...rest2] = staticStyleEntries;\n\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\tok: true,\n\t\t\t\t\t\t\t\t\tedits: [{\n\t\t\t\t\t\t\t\t\t\tstart: first2.span.start,\n\t\t\t\t\t\t\t\t\t\tend: first2.span.end,\n\t\t\t\t\t\t\t\t\t\tcontent: jsxClassName(artifacts2.className),\n\t\t\t\t\t\t\t\t\t\torigin: first2.span\n\t\t\t\t\t\t\t\t\t}, ...rest2.map((entry) => ({\n\t\t\t\t\t\t\t\t\t\tstart: entry.span.start,\n\t\t\t\t\t\t\t\t\t\tend: entry.span.end,\n\t\t\t\t\t\t\t\t\t\tcontent: \"\",\n\t\t\t\t\t\t\t\t\t\torigin: entry.span\n\t\t\t\t\t\t\t\t\t}))],\n\t\t\t\t\t\t\t\t\tcss: artifacts2.css,\n\t\t\t\t\t\t\t\t\timports: [],\n\t\t\t\t\t\t\t\t\tflattened: false\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (runtimeAnimationRequired) return bailout(input, \"local/unsupported-target\", \"Animated candidates remain on the runtime path\", transitionEntry?.span, {\n\t\t\t\trule: 5,\n\t\t\t\tmessage: zeroRuleMessage(5, { detail: `the animation configured on ${input.element.component.name}` })\n\t\t\t});\n\t\t\tconst supportsNativeDynamicStyles = platform === \"native\" && !options.disablePartialExtraction && (input.element.form === \"jsx\" || input.element.propsSpan !== null) && dynamicStyleEntries.every((entry) => entry.kind === \"prop\" && (directStyleName(entry.name, component) === \"opacity\" || entry.value.kind === \"conditional\" && canLowerConditionalStyleProp(entry.name, component)));\n\t\t\tif (dynamicStyleEntries.length > 0 && dynamicHostStyleProperties === null && !supportsNativeDynamicStyles && !supportsWebConditionalClasses) {\n\t\t\t\tconst entry = dynamicStyleEntries[0];\n\t\t\t\treturn bailout(input, \"local/dynamic-style-value\", `Style prop ${entry.kind === \"prop\" ? entry.name : \"unknown\"} could not be safely extracted`, entry.span);\n\t\t\t}\n\t\t\tconst staticDefaultProps = core.getDefaultProps(component.staticConfig) ?? {};\n\t\t\tconst defaultProps = platform === \"web\" && !component.staticConfig.isText && options.tamaguiConfig.settings.defaultPosition === \"relative\" && staticDefaultProps.position === void 0 ? core.mergeProps({ position: \"relative\" }, staticDefaultProps) : staticDefaultProps;\n\t\t\tlet completeProps = core.mergeProps(defaultProps, props);\n\t\t\tif (platform === \"native\" && component.domTag && props.display === \"flex\") completeProps = core.mergeProps(core.mergeProps(defaultProps, NATIVE_FLEX_DEFAULTS), props);\n\t\t\tif (platform === \"native\") {\n\t\t\t\tconst isClauseValue = (name, value) => isStyleProp(name, component) && (typeof value === \"string\" && flatClausePattern.test(value) || isClauseObjectValue(value));\n\t\t\t\tconst defaultVariants = component.staticConfig.defaultVariants ?? {};\n\t\t\t\tif (Object.entries(completeProps).some(([name, value]) => isClauseValue(name, value)) || Object.entries(component.staticConfig.variants ?? {}).some(([variantName, definitions]) => (completeProps[variantName] !== void 0 || defaultVariants[variantName] !== void 0) && staticObject(definitions) && Object.values(definitions).some((definition) => staticObject(definition) && Object.entries(definition).some(([name, value]) => isClauseValue(name, value)))) || (component.staticConfig.compoundVariants ?? []).some((compound) => staticObject(compound) && staticObject(compound.style) && Object.entries(compound.style).some(([name, value]) => isClauseValue(name, value)))) return bailout(input, \"local/unsupported-target\", \"Native conditional value programs remain on the runtime path\");\n\t\t\t}\n\t\t\tconst split = resolveSplitStyles(completeProps, component.staticConfig, cssAnimationDriver, component.displayName);\n\t\t\tif (!split) return bailout(input, \"local/style-resolution-failed\", \"getSplitStyles returned no static result\");\n\t\t\tif (split.programLifecycleStyleKeys?.enter?.size || split.programLifecycleStyleKeys?.exit?.size) return bailout(input, \"local/unsupported-target\", \"Lifecycle value programs remain on the runtime path\", input.element.span, {\n\t\t\t\trule: 5,\n\t\t\t\tmessage: zeroRuleMessage(5, { detail: `an enter or exit style program on ${input.element.component.name}` })\n\t\t\t});\n\t\t\tconst domStyleProgram = input.element.entries.find((entry) => entry.kind === \"prop\" && entry.name === \"style\" && entry.value.kind === \"dom-style\");\n\t\t\tconst flatTag = component.domTag ?? (typeof props.render === \"string\" ? props.render : typeof defaultProps.render === \"string\" ? defaultProps.render : component.staticConfig.isText ? \"span\" : \"div\");\n\t\t\tconst tagEdits = [input.element.component.span, input.element.component.closingSpan].filter((span) => !!span).map((span) => ({\n\t\t\t\tstart: span.start,\n\t\t\t\tend: span.end,\n\t\t\t\tcontent: input.element.form === \"jsx\" ? flatTag : JSON.stringify(flatTag),\n\t\t\t\torigin: span\n\t\t\t}));\n\t\t\tlet styleEntries = input.element.entries.filter((entry) => entry.kind === \"prop\" && (isStyleProp(entry.name, component) || isInvalidHostStyleProp(entry.name, component)) || entry.kind === \"spread\" && entry.value.kind === \"static\" && staticObject(entry.value.value) && Object.keys(entry.value.value).every((name) => isStyleProp(name, component) || isInvalidHostStyleProp(name, component)));\n\t\t\tlet invalidHostStyle;\n\t\t\tfor (const entry of input.element.entries) {\n\t\t\t\tif (entry.kind === \"prop\") {\n\t\t\t\t\tif (isInvalidHostStyleProp(entry.name, component)) {\n\t\t\t\t\t\tinvalidHostStyle = {\n\t\t\t\t\t\t\tentry,\n\t\t\t\t\t\t\tname: entry.name\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (entry.kind === \"spread\" && entry.value.kind === \"static\" && staticObject(entry.value.value)) {\n\t\t\t\t\tconst name = Object.keys(entry.value.value).find((name2) => isInvalidHostStyleProp(name2, component));\n\t\t\t\t\tif (name) {\n\t\t\t\t\t\tinvalidHostStyle = {\n\t\t\t\t\t\t\tentry,\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (invalidHostStyle) return bailout(input, \"local/unsupported-target\", `\"${invalidHostStyle.name}\" is a text style prop and this component is not text. Use a Text-based component, or html.* for raw web elements.`, invalidHostStyle.entry.span);\n\t\t\tconst webPropEdits = platform === \"web\" ? input.element.entries.flatMap((entry) => {\n\t\t\t\tif (entry.kind !== \"prop\" || entry.name !== \"testID\") return [];\n\t\t\t\tconst content = input.source.slice(entry.span.start, entry.span.end);\n\t\t\t\tconst nameOffset = content.indexOf(\"testID\");\n\t\t\t\tif (nameOffset === -1) return [];\n\t\t\t\tconst alreadyQuoted = content[nameOffset - 1] === \"\\\"\" || content[nameOffset - 1] === \"'\";\n\t\t\t\treturn [{\n\t\t\t\t\tstart: entry.span.start + nameOffset,\n\t\t\t\t\tend: entry.span.start + nameOffset + 6,\n\t\t\t\t\tcontent: input.element.form === \"jsx\" || alreadyQuoted ? \"data-testid\" : `'data-testid'`,\n\t\t\t\t\torigin: entry.span\n\t\t\t\t}];\n\t\t\t}) : [];\n\t\t\tconst webDOMResult = platform === \"web\" && component.domTag ? webDOMProps(input, component.domTag) : {\n\t\t\t\tedits: [],\n\t\t\t\tadditions: []\n\t\t\t};\n\t\t\twebPropEdits.push(...webDOMResult.edits);\n\t\t\tconst unsafeSpread = input.element.entries.find((entry) => entry.kind === \"spread\" && !styleEntries.includes(entry) && entry.value.kind === \"static\" && staticObject(entry.value.value) && Object.keys(entry.value.value).some((name) => isStyleProp(name, component)));\n\t\t\tif (unsafeSpread) return bailout(input, \"local/unsafe-style-spread\", \"A mixed style/non-style spread cannot be removed transactionally\", unsafeSpread.span);\n\t\t\tif (platform === \"native\") {\n\t\t\t\tconst nativeStyleResolved = split.viewProps?.style;\n\t\t\t\tlet themedStyleKeys = null;\n\t\t\t\tlet nativeStyle = nativeStyleResolved;\n\t\t\t\tif (staticObject(nativeStyleResolved)) {\n\t\t\t\t\tfor (const [styleKey, styleValue] of Object.entries(nativeStyleResolved)) {\n\t\t\t\t\t\tif (!core.containsThemeRef(styleValue)) continue;\n\t\t\t\t\t\tconst themeKey = core.themeRefKey(styleValue);\n\t\t\t\t\t\tif (!themeKey) return bailout(input, \"local/dynamic-style-value\", `Style ${styleKey} uses a theme value in a compound or modified position that compiled output cannot represent`);\n\t\t\t\t\t\t(themedStyleKeys ||= {})[styleKey] = themeKey;\n\t\t\t\t\t}\n\t\t\t\t\tif (themedStyleKeys) {\n\t\t\t\t\t\tconst plain = {};\n\t\t\t\t\t\tfor (const [styleKey, styleValue] of Object.entries(nativeStyleResolved)) if (!(styleKey in themedStyleKeys)) plain[styleKey] = styleValue;\n\t\t\t\t\t\tnativeStyle = plain;\n\t\t\t\t\t}\n\t\t\t\t} else if (core.containsThemeRef(nativeStyleResolved)) return bailout(input, \"local/dynamic-style-value\", \"Theme values inside non-object native style output stay on the runtime path\");\n\t\t\t\tif (!isSerializableNativeStyle(nativeStyle)) return bailout(input, \"local/unsupported-target\", \"Native style output is not a static serializable value\");\n\t\t\t\tconst nativeStyleLocal = unusedIdentifier(input.source, `__TamaguiNativeStyle${input.element.span.start}`);\n\t\t\t\tconst nativeStyleImports = [{\n\t\t\t\t\tcontent: `\nfunction ${nativeStyleLocal}() { return ${nativeStyleLocal}._ ?? (${nativeStyleLocal}._ = ${JSON.stringify(nativeStyle ?? {})}); } ${nativeStyleLocal}();`,\n\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t}];\n\t\t\t\tconst nativeStyleSource = `${nativeStyleLocal}._ ?? ${nativeStyleLocal}()`;\n\t\t\t\tlet nativeFastPath;\n\t\t\t\tif (themedStyleKeys && options.experimentalNativeFastPath && dynamicStyleEntries.length === 0 && !input.element.entries.some((entry) => entry.kind === \"spread\")) {\n\t\t\t\t\tconst mappingLocal = unusedIdentifier(input.source, `__TamaguiNativeMapping${input.element.span.start}`);\n\t\t\t\t\tnativeFastPath = {\n\t\t\t\t\t\tmappingLocal,\n\t\t\t\t\t\timports: [{\n\t\t\t\t\t\t\tcontent: `\nconst ${mappingLocal} = ${JSON.stringify(themedStyleKeys)};`,\n\t\t\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t\t\t}]\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tif (component.domTag) {\n\t\t\t\t\tif (themedStyleKeys) return bailout(input, \"local/unsupported-target\", \"Theme values on DOM-tag native output stay on the runtime path\");\n\t\t\t\t\tconst row = TAGS[component.domTag];\n\t\t\t\t\tconst basePrimitive = NATIVE_BACKING[row.backing].primitive;\n\t\t\t\t\tlet primitive = basePrimitive;\n\t\t\t\t\tconst propsResult = nativeDOMProps(input, component.domTag);\n\t\t\t\t\tif (propsResult.diagnostic) return bailout(input, \"local/unsupported-target\", propsResult.diagnostic, propsResult.diagnosticSpan);\n\t\t\t\t\tstyleEntries = [.../* @__PURE__ */ new Set([...styleEntries, ...propsResult.consumed])];\n\t\t\t\t\tlet nativeDOMStyleSource = nativeStyleSource;\n\t\t\t\t\tlet runtimeStyleSource = null;\n\t\t\t\t\tif (domStyleProgram?.kind === \"prop\" && domStyleProgram.value.kind === \"dom-style\") {\n\t\t\t\t\t\tconst needsRuntime = domStyleProgram.value.items.some((item) => item.value.kind === \"static\" && staticObject(item.value.value) && (Object.keys(item.value.value).some((property) => nativeRuntimeOnlyStyleProperties.has(property)) || Object.values(item.value.value).some((value) => typeof value === \"string\" && (flatClausePattern.test(value) || nativeInheritedKeywordPattern.test(value)) || isClauseObjectValue(value))));\n\t\t\t\t\t\tconst itemSources = [];\n\t\t\t\t\t\tfor (const item of domStyleProgram.value.items) {\n\t\t\t\t\t\t\tif (item.value.kind !== \"static\" || !staticObject(item.value.value)) return bailout(input, \"local/dynamic-style-value\", \"Every style() handle in a style array must be statically evaluable\", item.value.span);\n\t\t\t\t\t\t\tif (Object.values(item.value.value).some((value2) => typeof value2 === \"string\" && nativeInitialKeywordPattern.test(value2))) return bailout(input, \"local/unsupported-target\", \"Native DOM style() does not support the CSS initial keyword, matching the pinned upstream limitation\", item.value.span);\n\t\t\t\t\t\t\tlet value;\n\t\t\t\t\t\t\tif (needsRuntime) value = JSON.stringify(item.value.value);\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tconst itemStyle = resolveSplitStyles(item.value.value, partialStaticConfig(component.staticConfig))?.viewProps?.style;\n\t\t\t\t\t\t\t\tif (!isSerializableNativeStyle(itemStyle) || core.containsThemeRef(itemStyle)) return bailout(input, \"local/unsupported-target\", \"Native style() output is not serializable\", item.value.span);\n\t\t\t\t\t\t\t\tvalue = JSON.stringify(itemStyle ?? {});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst condition = item.condition ? input.source.slice(item.condition.start, item.condition.end) : null;\n\t\t\t\t\t\t\titemSources.push(condition ? `(${condition}) && ${value}` : value);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (needsRuntime) {\n\t\t\t\t\t\t\tprimitive = `DOMRuntime${basePrimitive.slice(3)}`;\n\t\t\t\t\t\t\truntimeStyleSource = `[${itemSources.join(\", \")}]`;\n\t\t\t\t\t\t} else nativeDOMStyleSource = `[${[nativeDOMStyleSource, ...itemSources].join(\", \")}]`;\n\t\t\t\t\t}\n\t\t\t\t\tconst nativeLocal2 = unusedIdentifier(input.source, `__Tamagui${primitive}`);\n\t\t\t\t\tconst propertyContent = [\n\t\t\t\t\t\tinput.element.form === \"jsx\" ? `style={${nativeDOMStyleSource}}` : `style: ${nativeDOMStyleSource}`,\n\t\t\t\t\t\truntimeStyleSource ? input.element.form === \"jsx\" ? `__styles={${runtimeStyleSource}}` : `__styles: ${runtimeStyleSource}` : \"\",\n\t\t\t\t\t\tserializedProps(input.element.form, propsResult.additions)\n\t\t\t\t\t].filter(Boolean).join(input.element.form === \"jsx\" ? \" \" : \", \");\n\t\t\t\t\tconst primitiveTagEdits = [input.element.component.span, input.element.component.closingSpan].filter((span) => !!span).map((span) => ({\n\t\t\t\t\t\tstart: span.start,\n\t\t\t\t\t\tend: span.end,\n\t\t\t\t\t\tcontent: input.element.form === \"jsx\" ? nativeLocal2 : JSON.stringify(nativeLocal2).slice(1, -1),\n\t\t\t\t\t\torigin: span\n\t\t\t\t\t}));\n\t\t\t\t\tconst literalEdits = [];\n\t\t\t\t\tconst imports = [...nativeStyleImports, {\n\t\t\t\t\t\tcontent: `\nimport { ${primitive} as ${nativeLocal2} } from ${JSON.stringify(NATIVE_PRIMITIVE_MODULE)}\n`,\n\t\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t\t}];\n\t\t\t\t\tif (NATIVE_BACKING[row.backing].wrapsLiteralText) {\n\t\t\t\t\t\tconst textLocal = unusedIdentifier(input.source, \"__TamaguiDOMText\");\n\t\t\t\t\t\tconst createElementLocal = unusedIdentifier(input.source, \"__TamaguiCreateElement\");\n\t\t\t\t\t\tlet needsText = false;\n\t\t\t\t\t\tlet needsCreateElement = false;\n\t\t\t\t\t\tfor (const entry of input.element.entries) {\n\t\t\t\t\t\t\tif (entry.kind !== \"child\") continue;\n\t\t\t\t\t\t\tif (entry.value.kind === \"empty\" || entry.value.kind === \"element\" || entry.value.kind === \"static\" && (entry.value.value === null || typeof entry.value.value === \"boolean\")) continue;\n\t\t\t\t\t\t\tif (entry.value.kind !== \"static\" || entry.value.literalOrigin !== true || typeof entry.value.value !== \"string\" && typeof entry.value.value !== \"number\") return bailout(input, \"local/unsupported-child\", `html.${component.domTag} has a direct child that may render unwrapped native text; write a literal as JSX text or wrap the child in html.span`, entry.span);\n\t\t\t\t\t\t\tneedsText = true;\n\t\t\t\t\t\t\tconst child = input.source.slice(entry.span.start, entry.span.end);\n\t\t\t\t\t\t\tif (input.element.form === \"jsx\") literalEdits.push({\n\t\t\t\t\t\t\t\tstart: entry.span.start,\n\t\t\t\t\t\t\t\tend: entry.span.end,\n\t\t\t\t\t\t\t\tcontent: `<${textLocal} __inherit>${child}</${textLocal}>`,\n\t\t\t\t\t\t\t\torigin: entry.span\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tneedsCreateElement = true;\n\t\t\t\t\t\t\t\tliteralEdits.push({\n\t\t\t\t\t\t\t\t\tstart: entry.span.start,\n\t\t\t\t\t\t\t\t\tend: entry.span.end,\n\t\t\t\t\t\t\t\t\tcontent: `${createElementLocal}(${textLocal}, { __inherit: true }, ${child})`,\n\t\t\t\t\t\t\t\t\torigin: entry.span\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (needsText) imports.push({\n\t\t\t\t\t\t\tcontent: `\nimport { DOMText as ${textLocal} } from ${JSON.stringify(NATIVE_PRIMITIVE_MODULE)}\n`,\n\t\t\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif (needsCreateElement) imports.push({\n\t\t\t\t\t\t\tcontent: `\nimport { createElement as ${createElementLocal} } from \"react\"\n`,\n\t\t\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tconst propsEdits = input.element.form === \"jsx\" ? styleEntries.length === 0 ? [{\n\t\t\t\t\t\tstart: input.element.component.span.end,\n\t\t\t\t\t\tend: input.element.component.span.end,\n\t\t\t\t\t\tcontent: ` ${propertyContent}`,\n\t\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t\t}] : [{\n\t\t\t\t\t\tstart: styleEntries[0].span.start,\n\t\t\t\t\t\tend: styleEntries[0].span.end,\n\t\t\t\t\t\tcontent: propertyContent,\n\t\t\t\t\t\torigin: styleEntries[0].span\n\t\t\t\t\t}, ...styleEntries.slice(1).map((entry) => ({\n\t\t\t\t\t\tstart: entry.span.start,\n\t\t\t\t\t\tend: entry.span.end,\n\t\t\t\t\t\tcontent: \"\",\n\t\t\t\t\t\torigin: entry.span\n\t\t\t\t\t}))] : compiledPropsEdits(input, styleEntries, propertyContent);\n\t\t\t\t\tif (!propsEdits) return bailout(input, \"local/unsupported-target\", `Compiled ${input.element.form} call has no editable props argument`);\n\t\t\t\t\treturn {\n\t\t\t\t\t\tok: true,\n\t\t\t\t\t\tedits: [\n\t\t\t\t\t\t\t...primitiveTagEdits,\n\t\t\t\t\t\t\t...propsResult.edits,\n\t\t\t\t\t\t\t...propsEdits,\n\t\t\t\t\t\t\t...literalEdits\n\t\t\t\t\t\t],\n\t\t\t\t\t\tcss: [],\n\t\t\t\t\t\timports,\n\t\t\t\t\t\tflattened: true\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tconst nativeName = component.staticConfig.isText ? \"Text\" : \"View\";\n\t\t\t\tconst useHostView = options.experimentalNativeFastPath && nativeName === \"View\" && isBareHostView(input.element);\n\t\t\t\tconst nativeExport = useHostView ? \"unstable_NativeView\" : nativeName;\n\t\t\t\tconst nativeLocal = unusedIdentifier(input.source, `__TamaguiNative${useHostView ? \"HostView\" : nativeName}`);\n\t\t\t\tif (themedStyleKeys && options.disablePartialExtraction) return bailout(input, \"local/dynamic-style-value\", \"Theme values require partial extraction, which is disabled\");\n\t\t\t\tif (dynamicStyleEntries.length > 0 || themedStyleKeys) {\n\t\t\t\t\tif (nativeFastPath) {\n\t\t\t\t\t\tconst fastLocal = `__TamaguiNativeFast${nativeName}${input.element.span.start}`;\n\t\t\t\t\t\tconst tagEdits4 = [input.element.component.span, input.element.component.closingSpan].filter((span) => !!span).map((span) => ({\n\t\t\t\t\t\t\tstart: span.start,\n\t\t\t\t\t\t\tend: span.end,\n\t\t\t\t\t\t\tcontent: fastLocal,\n\t\t\t\t\t\t\torigin: span\n\t\t\t\t\t\t}));\n\t\t\t\t\t\tconst [first4, ...rest4] = styleEntries;\n\t\t\t\t\t\tconst styleEdits = styleEntries.length === 0 ? [] : input.element.form === \"jsx\" ? [{\n\t\t\t\t\t\t\tstart: first4.span.start,\n\t\t\t\t\t\t\tend: first4.span.end,\n\t\t\t\t\t\t\tcontent: \"\",\n\t\t\t\t\t\t\torigin: first4.span\n\t\t\t\t\t\t}, ...rest4.map((entry) => ({\n\t\t\t\t\t\t\tstart: entry.span.start,\n\t\t\t\t\t\t\tend: entry.span.end,\n\t\t\t\t\t\t\tcontent: \"\",\n\t\t\t\t\t\t\torigin: entry.span\n\t\t\t\t\t\t}))] : compiledPropsEdits(input, styleEntries, `_expressions: []`);\n\t\t\t\t\t\tif (!styleEdits) return bailout(input, \"local/unsupported-target\", `Compiled ${input.element.form} call has no editable props argument`);\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tok: true,\n\t\t\t\t\t\t\tedits: [...tagEdits4, ...styleEdits],\n\t\t\t\t\t\t\tcss: [],\n\t\t\t\t\t\t\timports: [\n\t\t\t\t\t\t\t\t...nativeStyleImports,\n\t\t\t\t\t\t\t\t...nativeFastPath.imports,\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tcontent: `\nconst ${nativeLocal} = require('react-native').${nativeExport};`,\n\t\t\t\t\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tcontent: `\nconst ${fastLocal} = require('@tamagui/core')._withNativeStyle(${nativeLocal}, ${nativeStyleSource}, ${nativeFastPath.mappingLocal});`,\n\t\t\t\t\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tflattened: true\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t\tconst stableLocal = `__TamaguiStable${nativeName}${input.element.span.start}`;\n\t\t\t\t\tconst expressions = [];\n\t\t\t\t\tconst plainDynamicParts = [];\n\t\t\t\t\tconst conditionalParts = [];\n\t\t\t\t\tconst conditionalKeys = /* @__PURE__ */ new Set();\n\t\t\t\t\tconst baseStyleForDiff = staticObject(nativeStyleResolved) ? nativeStyleResolved : {};\n\t\t\t\t\tfor (const entry of dynamicStyleEntries) if (entry.value.kind === \"conditional\" && directStyleName(entry.name, component) !== \"opacity\") {\n\t\t\t\t\t\tconst branchDiffs = [];\n\t\t\t\t\t\tfor (const branchValue of [entry.value.whenTrue, entry.value.whenFalse]) {\n\t\t\t\t\t\t\tconst branchSplit = resolveSplitStyles({\n\t\t\t\t\t\t\t\t...completeProps,\n\t\t\t\t\t\t\t\t[entry.name]: branchValue\n\t\t\t\t\t\t\t}, component.staticConfig, cssAnimationDriver, component.displayName);\n\t\t\t\t\t\t\tconst branchStyle = branchSplit?.viewProps?.style;\n\t\t\t\t\t\t\tif (!staticObject(branchStyle)) return bailout(input, \"local/dynamic-style-value\", `Conditional ${entry.name} branch did not resolve to a static native style`, entry.value.span);\n\t\t\t\t\t\t\tfor (const viewPropsKey of /* @__PURE__ */ new Set([...Object.keys(branchSplit?.viewProps ?? {}), ...Object.keys(split.viewProps ?? {})])) {\n\t\t\t\t\t\t\t\tif (viewPropsKey === \"style\") continue;\n\t\t\t\t\t\t\t\tif (JSON.stringify(branchSplit?.viewProps?.[viewPropsKey]) !== JSON.stringify(split.viewProps?.[viewPropsKey])) return bailout(input, \"local/dynamic-style-value\", `Conditional ${entry.name} branch changes ${viewPropsKey}, which the compiled style array cannot express`, entry.value.span);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor (const key of Object.keys(baseStyleForDiff)) if (!(key in branchStyle)) return bailout(input, \"local/dynamic-style-value\", `Conditional ${entry.name} branch removes ${key}, which an additive style array cannot express`, entry.value.span);\n\t\t\t\t\t\t\tconst diff = {};\n\t\t\t\t\t\t\tfor (const [key, value] of Object.entries(branchStyle)) if (JSON.stringify(baseStyleForDiff[key]) !== JSON.stringify(value)) diff[key] = value;\n\t\t\t\t\t\t\tif (!isSerializableNativeStyle(diff) || core.containsThemeRef(diff)) return bailout(input, \"local/dynamic-style-value\", `Conditional ${entry.name} branch style is not statically representable`, entry.value.span);\n\t\t\t\t\t\t\tfor (const key of Object.keys(diff)) if (conditionalKeys.has(key)) return bailout(input, \"local/dynamic-style-value\", `Multiple conditionals contribute ${key}; their interaction cannot be resolved per-branch`, entry.value.span);\n\t\t\t\t\t\t\tbranchDiffs.push(diff);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const diff of branchDiffs) for (const key of Object.keys(diff)) conditionalKeys.add(key);\n\t\t\t\t\t\tconst index = expressions.length;\n\t\t\t\t\t\texpressions.push(input.source.slice(entry.value.test.start, entry.value.test.end));\n\t\t\t\t\t\tconditionalParts.push(`expressions[${index}] ? ${JSON.stringify(branchDiffs[0])} : ${JSON.stringify(branchDiffs[1])}`);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst index = expressions.length;\n\t\t\t\t\t\texpressions.push(input.source.slice(entry.value.span.start, entry.value.span.end));\n\t\t\t\t\t\tplainDynamicParts.push(`${JSON.stringify(directStyleName(entry.name, component))}: expressions[${index}]`);\n\t\t\t\t\t}\n\t\t\t\t\tconst dynamicStyle = plainDynamicParts.join(\", \");\n\t\t\t\t\tconst themedStyle = themedStyleKeys ? Object.entries(themedStyleKeys).map(([styleKey, themeKey]) => `${JSON.stringify(styleKey)}: _theme[${JSON.stringify(themeKey)}]?.get()`).join(\", \") : null;\n\t\t\t\t\tconst styleParts = [\n\t\t\t\t\t\tnativeStyleSource,\n\t\t\t\t\t\t...themedStyle ? [`{ ${themedStyle} }`] : [],\n\t\t\t\t\t\t...conditionalParts,\n\t\t\t\t\t\t...dynamicStyle ? [`{ ${dynamicStyle} }`] : []\n\t\t\t\t\t];\n\t\t\t\t\tconst tagEdits3 = [input.element.component.span, input.element.component.closingSpan].filter((span) => !!span).map((span) => ({\n\t\t\t\t\t\tstart: span.start,\n\t\t\t\t\t\tend: span.end,\n\t\t\t\t\t\tcontent: stableLocal,\n\t\t\t\t\t\torigin: span\n\t\t\t\t\t}));\n\t\t\t\t\tconst [first3, ...rest3] = styleEntries;\n\t\t\t\t\tconst expressionEdits = styleEntries.length === 0 ? [] : input.element.form === \"jsx\" ? [{\n\t\t\t\t\t\tstart: first3.span.start,\n\t\t\t\t\t\tend: first3.span.end,\n\t\t\t\t\t\tcontent: expressions.length > 0 ? `_expressions={[${expressions.join(\", \")}]}` : \"\",\n\t\t\t\t\t\torigin: first3.span\n\t\t\t\t\t}, ...rest3.map((entry) => ({\n\t\t\t\t\t\tstart: entry.span.start,\n\t\t\t\t\t\tend: entry.span.end,\n\t\t\t\t\t\tcontent: \"\",\n\t\t\t\t\t\torigin: entry.span\n\t\t\t\t\t}))] : compiledPropsEdits(input, styleEntries, `_expressions: [${expressions.join(\", \")}]`);\n\t\t\t\t\tif (!expressionEdits) return bailout(input, \"local/unsupported-target\", `Compiled ${input.element.form} call has no editable props argument`);\n\t\t\t\t\treturn {\n\t\t\t\t\t\tok: true,\n\t\t\t\t\t\tedits: [...tagEdits3, ...expressionEdits],\n\t\t\t\t\t\tcss: [],\n\t\t\t\t\t\timports: [\n\t\t\t\t\t\t\t...nativeStyleImports,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tcontent: `\nconst ${nativeLocal} = require('react-native').${nativeExport};`,\n\t\t\t\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tcontent: `\nconst ${stableLocal} = require('@tamagui/core')._withStableStyle(${nativeLocal}, (_theme, expressions) => [${styleParts.join(\", \")}], ${themedStyleKeys ? \"true\" : \"false\"}, false);`,\n\t\t\t\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t],\n\t\t\t\t\t\tflattened: true\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tconst styleContent = `style: ${nativeStyleSource}`;\n\t\t\t\tconst tagEdits2 = [input.element.component.span, input.element.component.closingSpan].filter((span) => !!span).map((span) => ({\n\t\t\t\t\tstart: span.start,\n\t\t\t\t\tend: span.end,\n\t\t\t\t\tcontent: nativeLocal,\n\t\t\t\t\torigin: span\n\t\t\t\t}));\n\t\t\t\tif (input.element.form !== \"jsx\") {\n\t\t\t\t\tconst propsEdits = compiledPropsEdits(input, styleEntries, styleContent);\n\t\t\t\t\tif (!propsEdits) return bailout(input, \"local/unsupported-target\", `Compiled ${input.element.form} call has no editable props argument`);\n\t\t\t\t\treturn {\n\t\t\t\t\t\tok: true,\n\t\t\t\t\t\tedits: [...tagEdits2, ...propsEdits],\n\t\t\t\t\t\tcss: [],\n\t\t\t\t\t\timports: [...nativeStyleImports, {\n\t\t\t\t\t\t\tcontent: `\nconst ${nativeLocal} = require('react-native').${nativeExport};`,\n\t\t\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t\t\t}],\n\t\t\t\t\t\tflattened: true\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tif (styleEntries.length === 0) return {\n\t\t\t\t\tok: true,\n\t\t\t\t\tedits: [...tagEdits2, {\n\t\t\t\t\t\tstart: input.element.component.span.end,\n\t\t\t\t\t\tend: input.element.component.span.end,\n\t\t\t\t\t\tcontent: ` style={${nativeStyleSource}}`,\n\t\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t\t}],\n\t\t\t\t\tcss: [],\n\t\t\t\t\timports: [...nativeStyleImports, {\n\t\t\t\t\t\tcontent: `\nconst ${nativeLocal} = require('react-native').${nativeExport};`,\n\t\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t\t}],\n\t\t\t\t\tflattened: true\n\t\t\t\t};\n\t\t\t\tconst [first2, ...rest2] = styleEntries;\n\t\t\t\treturn {\n\t\t\t\t\tok: true,\n\t\t\t\t\tedits: [\n\t\t\t\t\t\t...tagEdits2,\n\t\t\t\t\t\t...webPropEdits,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tstart: first2.span.start,\n\t\t\t\t\t\t\tend: first2.span.end,\n\t\t\t\t\t\t\tcontent: `style={${nativeStyleSource}}`,\n\t\t\t\t\t\t\torigin: first2.span\n\t\t\t\t\t\t},\n\t\t\t\t\t\t...rest2.map((entry) => ({\n\t\t\t\t\t\t\tstart: entry.span.start,\n\t\t\t\t\t\t\tend: entry.span.end,\n\t\t\t\t\t\t\tcontent: \"\",\n\t\t\t\t\t\t\torigin: entry.span\n\t\t\t\t\t\t}))\n\t\t\t\t\t],\n\t\t\t\t\tcss: [],\n\t\t\t\t\timports: [...nativeStyleImports, {\n\t\t\t\t\t\tcontent: `\nconst ${nativeLocal} = require('react-native').${nativeExport};`,\n\t\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t\t}],\n\t\t\t\t\tflattened: true\n\t\t\t\t};\n\t\t\t}\n\t\t\tconst artifacts = extractedStyleArtifacts(split, props, options.tamaguiConfig, !component.domTag, Boolean(component.staticConfig.styleFrontend));\n\t\t\tconst className = artifacts.className;\n\t\t\tconst rawInlineStyle = split.viewProps?.style;\n\t\t\tconst inlineStyle = staticObject(rawInlineStyle) && !rawInlineStyle[\"$$css\"] && Object.keys(rawInlineStyle).length > 0 ? rawInlineStyle : null;\n\t\t\tif (rawInlineStyle && !inlineStyle && !isSerializableNativeStyle(rawInlineStyle)) return bailout(input, \"local/unsupported-target\", \"Web inline style output is not a static serializable value\");\n\t\t\tconst programCSS = [];\n\t\t\tconst programClassSources = [];\n\t\t\tif (domStyleProgram?.kind === \"prop\" && domStyleProgram.value.kind === \"dom-style\") for (const item of domStyleProgram.value.items) {\n\t\t\t\tif (item.value.kind !== \"static\" || !staticObject(item.value.value)) return bailout(input, \"local/dynamic-style-value\", \"Every style() handle in a style array must be statically evaluable\", item.value.span);\n\t\t\t\tconst itemSplit = resolveSplitStyles(item.value.value, partialStaticConfig(component.staticConfig));\n\t\t\t\tif (!itemSplit) return bailout(input, \"local/style-resolution-failed\", \"A style() handle could not be resolved\", item.value.span);\n\t\t\t\tconst itemInline = itemSplit.viewProps?.style;\n\t\t\t\tif (staticObject(itemInline) && !itemInline[\"$$css\"] && Object.keys(itemInline).length > 0) return bailout(input, \"local/unsupported-target\", \"Conditional web style() handles must lower to CSS classes\", item.value.span);\n\t\t\t\tconst itemArtifacts = extractedStyleArtifacts(itemSplit, item.value.value, options.tamaguiConfig, false);\n\t\t\t\tprogramCSS.push(...itemArtifacts.css);\n\t\t\t\tif (itemArtifacts.className) {\n\t\t\t\t\tconst condition = item.condition ? input.source.slice(item.condition.start, item.condition.end) : null;\n\t\t\t\t\tprogramClassSources.push(condition ? `(${condition}) && ${JSON.stringify(itemArtifacts.className)}` : JSON.stringify(itemArtifacts.className));\n\t\t\t\t}\n\t\t\t}\n\t\t\tlet webClassName = className;\n\t\t\tconst webConditionalCSS = [];\n\t\t\tconst webConditionalEntries = supportsWebConditionalClasses ? dynamicStyleEntries.filter((entry) => entry.value.kind === \"conditional\") : [];\n\t\t\tfor (const entry of webConditionalEntries) {\n\t\t\t\tif (entry.value.kind !== \"conditional\") continue;\n\t\t\t\tconst branches = [];\n\t\t\t\tfor (const branchValue of [entry.value.whenTrue, entry.value.whenFalse]) {\n\t\t\t\t\tconst branchSplit = resolveSplitStyles({\n\t\t\t\t\t\t...completeProps,\n\t\t\t\t\t\t[entry.name]: branchValue\n\t\t\t\t\t}, component.staticConfig, cssAnimationDriver, component.displayName);\n\t\t\t\t\tif (!branchSplit) return bailout(input, \"local/dynamic-style-value\", `Conditional ${entry.name} branch could not be resolved`, entry.value.span);\n\t\t\t\t\tfor (const viewPropsKey of /* @__PURE__ */ new Set([...Object.keys(branchSplit.viewProps ?? {}), ...Object.keys(split.viewProps ?? {})])) {\n\t\t\t\t\t\tif (viewPropsKey === \"className\") continue;\n\t\t\t\t\t\tif (JSON.stringify(branchSplit.viewProps?.[viewPropsKey]) !== JSON.stringify(split.viewProps?.[viewPropsKey])) return bailout(input, \"local/dynamic-style-value\", `Conditional ${entry.name} branch changes ${viewPropsKey}, which conditional classes cannot express`, entry.value.span);\n\t\t\t\t\t}\n\t\t\t\t\tconst branchArtifacts = extractedStyleArtifacts(branchSplit, {\n\t\t\t\t\t\t...props,\n\t\t\t\t\t\t[entry.name]: branchValue\n\t\t\t\t\t}, options.tamaguiConfig, !component.domTag, Boolean(component.staticConfig.styleFrontend));\n\t\t\t\t\tbranches.push({\n\t\t\t\t\t\tclasses: branchArtifacts.className.split(\" \").filter(Boolean),\n\t\t\t\t\t\tcss: branchArtifacts.css\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tconst [whenTrue, whenFalse] = branches;\n\t\t\t\tconst shared = new Set(whenTrue.classes.filter((item) => whenFalse.classes.includes(item)));\n\t\t\t\tconst trueOnly = whenTrue.classes.filter((item) => !shared.has(item));\n\t\t\t\tconst falseOnly = whenFalse.classes.filter((item) => !shared.has(item));\n\t\t\t\twebClassName = [...shared].join(\" \");\n\t\t\t\twebConditionalCSS.push(...whenTrue.css, ...whenFalse.css);\n\t\t\t\tif (trueOnly.length > 0 || falseOnly.length > 0) {\n\t\t\t\t\tconst test = input.source.slice(entry.value.test.start, entry.value.test.end);\n\t\t\t\t\tprogramClassSources.push(`(${test}) ? ${JSON.stringify(trueOnly.join(\" \"))} : ${JSON.stringify(falseOnly.join(\" \"))}`);\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst classNameExpression = programClassSources.length > 0 ? `[${[JSON.stringify(webClassName), ...programClassSources].join(\", \")}].filter(Boolean).join(\" \")` : null;\n\t\t\tconst serializedInlineStyle = serializedStyle(inlineStyle, dynamicHostStyleProperties ?? []);\n\t\t\tconst jsxWebStyle = classNameExpression ? [`className={${classNameExpression}}`, serializedInlineStyle ? `style={${serializedInlineStyle}}` : \"\"].filter(Boolean).join(\" \") : jsxStyleAttributes(webClassName, inlineStyle, dynamicHostStyleProperties ?? []);\n\t\t\tconst objectWebStyle = classNameExpression ? [`className: ${classNameExpression}`, serializedInlineStyle ? `style: ${serializedInlineStyle}` : \"\"].filter(Boolean).join(\", \") : objectStyleProperties(webClassName, inlineStyle, dynamicHostStyleProperties ?? []);\n\t\t\tconst webCSS = [.../* @__PURE__ */ new Set([\n\t\t\t\t...artifacts.css,\n\t\t\t\t...programCSS,\n\t\t\t\t...webConditionalCSS\n\t\t\t])];\n\t\t\tconst webExtraProps = serializedProps(input.element.form, webDOMResult.additions);\n\t\t\tif (input.element.form !== \"jsx\") {\n\t\t\t\tconst replacement = [objectWebStyle, webExtraProps].filter(Boolean).join(\", \");\n\t\t\t\tconst propsEdits = compiledPropsEdits(input, styleEntries, replacement);\n\t\t\t\tif (!propsEdits) return bailout(input, \"local/unsupported-target\", `Compiled ${input.element.form} call has no editable props argument`);\n\t\t\t\treturn {\n\t\t\t\t\tok: true,\n\t\t\t\t\tedits: [\n\t\t\t\t\t\t...tagEdits,\n\t\t\t\t\t\t...webPropEdits,\n\t\t\t\t\t\t...propsEdits\n\t\t\t\t\t],\n\t\t\t\t\tcss: webCSS,\n\t\t\t\t\timports: [],\n\t\t\t\t\tflattened: true\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (styleEntries.length === 0) {\n\t\t\t\tconst attributes2 = [jsxWebStyle, webExtraProps].filter(Boolean).join(\" \");\n\t\t\t\treturn {\n\t\t\t\t\tok: true,\n\t\t\t\t\tedits: attributes2 ? [\n\t\t\t\t\t\t...tagEdits,\n\t\t\t\t\t\t...webPropEdits,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tstart: input.element.component.span.end,\n\t\t\t\t\t\t\tend: input.element.component.span.end,\n\t\t\t\t\t\t\tcontent: ` ${attributes2}`,\n\t\t\t\t\t\t\torigin: input.element.component.span\n\t\t\t\t\t\t}\n\t\t\t\t\t] : [...tagEdits, ...webPropEdits],\n\t\t\t\t\tcss: webCSS,\n\t\t\t\t\timports: [],\n\t\t\t\t\tflattened: true\n\t\t\t\t};\n\t\t\t}\n\t\t\tconst [first, ...rest] = styleEntries;\n\t\t\tconst attributes = [jsxWebStyle, webExtraProps].filter(Boolean).join(\" \");\n\t\t\treturn {\n\t\t\t\tok: true,\n\t\t\t\tedits: [\n\t\t\t\t\t...tagEdits,\n\t\t\t\t\t...webPropEdits,\n\t\t\t\t\t{\n\t\t\t\t\t\tstart: first.span.start,\n\t\t\t\t\t\tend: first.span.end,\n\t\t\t\t\t\tcontent: attributes,\n\t\t\t\t\t\torigin: first.span\n\t\t\t\t\t},\n\t\t\t\t\t...rest.map((entry) => ({\n\t\t\t\t\t\tstart: entry.span.start,\n\t\t\t\t\t\tend: entry.span.end,\n\t\t\t\t\t\tcontent: \"\",\n\t\t\t\t\t\torigin: entry.span\n\t\t\t\t\t}))\n\t\t\t\t],\n\t\t\t\tcss: webCSS,\n\t\t\t\timports: [],\n\t\t\t\tflattened: true\n\t\t\t};\n\t\t}\n\t};\n}\nfunction bailout(input, code, message, span = input.element.span, zero) {\n\treturn {\n\t\tok: false,\n\t\tbailout: {\n\t\t\tcode,\n\t\t\tkind: \"local\",\n\t\t\tmessage,\n\t\t\tspan,\n\t\t\tcomponent: input.element.component.name,\n\t\t\t...zero && {\n\t\t\t\tzeroRule: zero.rule,\n\t\t\t\tzeroMessage: zero.message\n\t\t\t}\n\t\t}\n\t};\n}\n\nexport { createTamaguiCompilerHost };"],"mappings":";;;;;;;;;AAQA,MAAM,gCAAgC,IAAI,IAAI;CAC7C;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,MAAM,iBAAiB;CACtB,OAAO;CACP,cAAc;CACd,aAAa;CACb,OAAO;CACP,WAAW;CACX,OAAO;CACP,SAAS;CACT,UAAU;AACX;AACA,SAAS,aAAa,OAAO;CAC5B,OAAO,CAAC,CAAC,SAAS,OAAO,UAAU,YAAY,CAAC,MAA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AI,YAAY,KAAK,SAAS,SAAS,OAAO,CAAC,SAAS,WAAW,CAAC,KAAK,SAAS,SAAS,MAAM,KAAK,IAAI,SAAS,KAAK,KAAK,GAAG;OAC3H,OAAO,KAAK,IAAI;CACtB;CACA,OAAO;AACR;AACA,MAAM,qCAAqC,IAAI,IAAI;CAClD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,MAAM,wCAAwC,IAAI,IAAI;CACrD;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,MAAM,wBAAwB;CAC7B,YAAY;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACA,QAAQ;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACA,WAAW;EACV;EACA;EACA;CACD;CACA,aAAa;EACZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACA,cAAc;EACb;EACA;EACA;CACD;CACA,YAAY;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACA,aAAa;EACZ;EACA;EACA;EACA;EACA;CACD;CACA,SAAS;EACR;EACA;EACA;CACD;CACA,KAAK,CAAC,aAAa,QAAQ;CAC3B,YAAY,CAAC,iBAAiB,iBAAiB;CAC/C,SAAS,CAAC,cAAc,cAAc;CACtC,cAAc;EACb;EACA;EACA;EACA;EACA;EACA;CACD;CACA,eAAe;EACd;EACA;EACA;EACA;EACA;EACA;CACD;CACA,aAAa;EACZ;EACA;EACA;EACA;EACA;EACA;CACD;CACA,mBAAmB;EAClB;EACA;EACA;EACA;EACA;EACA;CACD;CACA,mBAAmB;EAClB;EACA;EACA;EACA;EACA;EACA;CACD;CACA,mBAAmB;EAClB;EACA;EACA;EACA;EACA;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OAAO;IACN,IAAI;IACJ,OAAO;KACN,GAAG;KACH,GAAG;KACH;MACC,OAAO,MAAM,KAAK;MAClB,KAAK,MAAM,KAAK;MAChB,SAAS;MACT,QAAQ,MAAM;KACf;KACA,GAAG,KAAK,KAAK,WAAW;MACvB,OAAO,MAAM,KAAK;MAClB,KAAK,MAAM,KAAK;MAChB,SAAS;MACT,QAAQ,MAAM;KACf,EAAE;IACH;IACA,KAAK;IACL,SAAS,CAAC;IACV,WAAW;GACZ;EACD;CACD;AACD;AACA,SAAS,QAAQ,OAAO,MAAM,SAAS,OAAO,MAAM,QAAQ,MAAM,MAAM;CACvE,OAAO;EACN,IAAI;EACJ,SAAS;GACR;GACA,MAAM;GACN;GACA;GACA,WAAW,MAAM,QAAQ,UAAU;GACnC,GAAG,QAAQ;IACV,UAAU,KAAK;IACf,aAAa,KAAK;GACnB;EACD;CACD;AACD"}
|
|
1
|
+
{"version":3,"file":"compilerHost.js","names":["validStylesView","validStyles"],"sources":["esm/compilerHost.js"],"sourcesContent":["import {\n collectLeaves,\n zeroRuleMessage,\n zeroThemeBoundaryMessage\n} from \"@tamagui/compiler-core\";\nimport {\n StyleObjectIdentifier,\n StyleObjectProperty,\n StyleObjectRules,\n StyleObjectValue,\n stylePropsAll,\n stylePropsText,\n validStyles as validStylesView\n} from \"@tamagui/helpers\";\nimport {\n ATTRIBUTES,\n DISPLAY_WEB_RESET,\n EVENTS,\n NATIVE_BACKING,\n NATIVE_BLOCK_DEFAULTS,\n NATIVE_ELEMENT_DEFAULTS,\n NATIVE_FLEX_DEFAULTS,\n NATIVE_INPUT_TYPES,\n NATIVE_PRIMITIVE_MODULE,\n TAGS,\n TAG_WEB_DEFAULTS\n} from \"@tamagui/dom\";\nimport {\n createModifierRegistry,\n parseTransition,\n parseValue\n} from \"@tamagui/style-grammar/tooling\";\nimport { isValidStyleKey } from \"@tamagui/web\";\nimport { concatClassName } from \"./extractor/concatClassName\";\nimport { requireTamaguiCore } from \"./helpers/requireTamaguiCore\";\nconst DOM_FRONTENDS = /* @__PURE__ */ new Set([\n \"tamagui\",\n \"tamagui/dom\",\n \"@tamagui/core\",\n \"@tamagui/core/dom\",\n \"@tamagui/tailwind\"\n]);\nconst componentState = {\n focus: false,\n focusVisible: false,\n focusWithin: false,\n hover: false,\n unmounted: true,\n press: false,\n pressIn: false,\n disabled: false\n};\nfunction staticObject(value) {\n return !!value && typeof value === \"object\" && !Array.isArray(value);\n}\nconst flatClausePattern = /(?:^|\\s)@?[A-Za-z][A-Za-z0-9-]*(?:\\/[A-Za-z0-9_-]+)?:/;\nconst nativeInheritedKeywordPattern = /(?:^|:)(?:inherit|unset)(?=\\s|$)/;\nconst nativeInitialKeywordPattern = /(?:^|:)initial(?=\\s|$)/;\nconst nativeRuntimeOnlyStyleProperties = /* @__PURE__ */ new Set([\"textIndent\"]);\nfunction componentKey(resolvedId, exportName) {\n return `${resolvedId}#${exportName}`;\n}\nfunction cssFromRules(rules) {\n return Object.values(rules).flatMap((styleObject) => {\n const identifier = styleObject?.[StyleObjectIdentifier];\n const styleRules = styleObject?.[StyleObjectRules];\n return identifier && Array.isArray(styleRules) ? styleRules : [];\n });\n}\nfunction jsxClassName(value) {\n return `className=${JSON.stringify(value)}`;\n}\nfunction objectClassName(value) {\n return `className: ${JSON.stringify(value)}`;\n}\nfunction serializedStyle(style, dynamicProperties) {\n if (dynamicProperties.length === 0) return style ? JSON.stringify(style) : \"\";\n return `{ ${[\n ...style ? Object.entries(style).map(\n ([name, value]) => `${JSON.stringify(name)}: ${JSON.stringify(value)}`\n ) : [],\n ...dynamicProperties\n ].join(\", \")} }`;\n}\nfunction jsxStyleAttributes(className, style, dynamicProperties = []) {\n const serialized = serializedStyle(style, dynamicProperties);\n return [\n className ? jsxClassName(className) : \"\",\n serialized ? `style={${serialized}}` : \"\"\n ].filter(Boolean).join(\" \");\n}\nfunction objectStyleProperties(className, style, dynamicProperties = []) {\n const serialized = serializedStyle(style, dynamicProperties);\n return [\n className ? objectClassName(className) : \"\",\n serialized ? `style: ${serialized}` : \"\"\n ].filter(Boolean).join(\", \");\n}\nfunction extractedStyleArtifacts(split, props, config, includeRuntimeBase = true, hasStyleFrontend = false) {\n const callerClassName = !hasStyleFrontend && typeof props.className === \"string\" ? props.className : \"\";\n const viewClassName = typeof split.viewProps?.className === \"string\" ? split.viewProps.className : \"\";\n const classNameWithoutCaller = callerClassName && viewClassName.endsWith(callerClassName) ? viewClassName.slice(0, -callerClassName.length).trimEnd() : viewClassName;\n const rules = split.rulesToInsert ?? {};\n const mediaNames = new Set(Object.keys(config.media ?? {}));\n const pseudoNames = [\n \"hover\",\n \"press\",\n \"focus\",\n \"focusVisible\",\n \"focusWithin\",\n \"disabled\"\n ];\n const buckets = {\n group: [],\n normal: [],\n pseudo: [],\n theme: [],\n media: []\n };\n const classKeys = /* @__PURE__ */ new Map();\n for (const [key, identifier] of Object.entries(split.classNames ?? {})) {\n if (typeof identifier === \"string\") classKeys.set(identifier, key);\n }\n const identifiers = /* @__PURE__ */ new Set([\n ...classKeys.keys(),\n ...Object.values(rules).flatMap((styleObject) => {\n const identifier = styleObject?.[StyleObjectIdentifier];\n return typeof identifier === \"string\" ? [identifier] : [];\n })\n ]);\n for (const identifier of identifiers) {\n const key = classKeys.get(identifier) ?? \"\";\n const css2 = cssFromRules(\n Object.fromEntries(\n Object.entries(rules).filter(\n ([, styleObject]) => styleObject?.[StyleObjectIdentifier] === identifier\n )\n )\n ).join(\"\");\n if (identifier.startsWith(\"t_group_\")) {\n buckets.group.push(identifier);\n } else if (pseudoNames.some((name) => key.endsWith(`-${name}`))) {\n buckets.pseudo.push(identifier);\n } else if (css2.includes(\".t_\")) {\n buckets.theme.push(identifier);\n } else if ([...mediaNames].some((name) => key.endsWith(`-${name}`))) {\n buckets.media.push(identifier);\n } else {\n buckets.normal.push(identifier);\n }\n }\n const orderedIdentifiers = [\n ...buckets.group,\n ...buckets.normal,\n ...buckets.pseudo,\n ...buckets.theme,\n ...buckets.media\n ];\n const orderedSet = new Set(orderedIdentifiers);\n const baseViewClassName = includeRuntimeBase ? classNameWithoutCaller.split(/\\s+/).filter((token) => token && !orderedSet.has(token)).join(\" \") : \"\";\n const css = orderedIdentifiers.flatMap((identifier) => {\n const identifierRules = cssFromRules(\n Object.fromEntries(\n Object.entries(rules).filter(\n ([, styleObject]) => styleObject?.[StyleObjectIdentifier] === identifier\n )\n )\n );\n return buckets.theme.includes(identifier) ? identifierRules.map(\n (rule) => rule.replace(\":root:root:root.t_\", \":root:root:root:root.t_\")\n ) : identifierRules;\n });\n return {\n className: concatClassName(baseViewClassName, orderedIdentifiers, callerClassName),\n css\n };\n}\nfunction spreadNonStyleReplacement(form, entry, isPropIgnored, rewriteProp) {\n if (entry.kind !== \"spread\" || entry.value.kind !== \"static\" || !staticObject(entry.value.value)) {\n return \"\";\n }\n const nonStyleEntries = Object.entries(entry.value.value).filter(([key]) => !isPropIgnored(key)).map(([key, value]) => rewriteProp(key, value));\n if (nonStyleEntries.length === 0) return \"\";\n const objectSource = `{ ${nonStyleEntries.map(([key, value]) => `${JSON.stringify(key)}: ${JSON.stringify(value)}`).join(\", \")} }`;\n return form === \"jsx\" ? `{...${objectSource}}` : `...${objectSource}`;\n}\nfunction compiledPropsEdits(input, styleEntries, replacement, spreadReplacement) {\n const propsSpan = input.element.propsSpan;\n if (!propsSpan) return null;\n const original = input.source.slice(propsSpan.start, propsSpan.end);\n const trimmed = original.trim();\n if (!trimmed.startsWith(\"{\") || !trimmed.endsWith(\"}\")) {\n return [\n {\n start: propsSpan.start,\n end: propsSpan.end,\n content: `{ ${replacement} }`,\n origin: propsSpan\n }\n ];\n }\n if (styleEntries.length === 0) {\n const close = original.lastIndexOf(\"}\");\n const separator = original.slice(1, close).trim() ? \", \" : \" \";\n const position = propsSpan.start + close;\n return [\n {\n start: position,\n end: position,\n content: `${separator}${replacement} `,\n origin: propsSpan\n }\n ];\n }\n const edits = [];\n for (const [index, entry] of styleEntries.entries()) {\n let start = entry.span.start;\n let end = entry.span.end;\n const nonStyle = spreadReplacement?.(entry) ?? \"\";\n if (index === 0) {\n const content = [replacement, nonStyle].filter(Boolean).join(\", \");\n edits.push({ start, end, content, origin: entry.span });\n continue;\n }\n let cursor = end - propsSpan.start;\n while (cursor < original.length - 1 && /\\s/.test(original[cursor])) cursor++;\n if (original[cursor] === \",\") {\n end = propsSpan.start + cursor + 1;\n } else {\n cursor = start - propsSpan.start - 1;\n while (cursor > 0 && /\\s/.test(original[cursor])) cursor--;\n if (original[cursor] === \",\") start = propsSpan.start + cursor;\n }\n edits.push({ start, end, content: nonStyle, origin: entry.span });\n }\n const merged = [];\n for (const edit of edits.sort((left, right) => left.start - right.start)) {\n const previous = merged.at(-1);\n if (previous && edit.start <= previous.end && !previous.content && !edit.content) {\n previous.end = Math.max(previous.end, edit.end);\n } else {\n merged.push(edit);\n }\n }\n return merged;\n}\nconst compilerStyleProps = /* @__PURE__ */ new Set([\n \"className\",\n \"style\",\n \"group\",\n \"transition\",\n \"animation\",\n \"animateOnly\",\n \"animatePresence\",\n \"animatedBy\",\n \"fontFamily\",\n \"render\"\n]);\nconst runtimeAnimationProps = /* @__PURE__ */ new Set([\n \"transition\",\n \"animation\",\n \"animateOnly\",\n \"animatePresence\",\n \"animatedBy\"\n]);\nconst cssShorthandConflicts = {\n background: [\n \"backgroundAttachment\",\n \"backgroundBlendMode\",\n \"backgroundClip\",\n \"backgroundColor\",\n \"backgroundImage\",\n \"backgroundOrigin\",\n \"backgroundPosition\",\n \"backgroundRepeat\",\n \"backgroundSize\"\n ],\n border: [\n \"borderTop\",\n \"borderTopColor\",\n \"borderTopStyle\",\n \"borderTopWidth\",\n \"borderRight\",\n \"borderRightColor\",\n \"borderRightStyle\",\n \"borderRightWidth\",\n \"borderBottom\",\n \"borderBottomColor\",\n \"borderBottomStyle\",\n \"borderBottomWidth\",\n \"borderLeft\",\n \"borderLeftColor\",\n \"borderLeftStyle\",\n \"borderLeftWidth\",\n \"borderColor\",\n \"borderStyle\",\n \"borderWidth\",\n \"borderImage\",\n \"borderImageOutset\",\n \"borderImageRepeat\",\n \"borderImageSlice\",\n \"borderImageSource\",\n \"borderImageWidth\",\n \"borderInlineColor\",\n \"borderInlineEndColor\",\n \"borderInlineEndStyle\",\n \"borderInlineEndWidth\",\n \"borderInlineStartColor\",\n \"borderInlineStartStyle\",\n \"borderInlineStartWidth\",\n \"borderInlineStyle\",\n \"borderInlineWidth\"\n ],\n borderTop: [\"borderTopColor\", \"borderTopStyle\", \"borderTopWidth\"],\n borderRight: [\n \"borderRightColor\",\n \"borderRightStyle\",\n \"borderRightWidth\",\n \"borderInlineColor\",\n \"borderInlineEndColor\",\n \"borderInlineEndStyle\",\n \"borderInlineEndWidth\",\n \"borderInlineStartColor\",\n \"borderInlineStartStyle\",\n \"borderInlineStartWidth\",\n \"borderInlineStyle\",\n \"borderInlineWidth\"\n ],\n borderBottom: [\"borderBottomColor\", \"borderBottomStyle\", \"borderBottomWidth\"],\n borderLeft: [\n \"borderLeftColor\",\n \"borderLeftStyle\",\n \"borderLeftWidth\",\n \"borderInlineColor\",\n \"borderInlineEndColor\",\n \"borderInlineEndStyle\",\n \"borderInlineEndWidth\",\n \"borderInlineStartColor\",\n \"borderInlineStartStyle\",\n \"borderInlineStartWidth\",\n \"borderInlineStyle\",\n \"borderInlineWidth\"\n ],\n borderImage: [\n \"borderImageOutset\",\n \"borderImageRepeat\",\n \"borderImageSlice\",\n \"borderImageSource\",\n \"borderImageWidth\"\n ],\n outline: [\"outlineColor\", \"outlineStyle\", \"outlineWidth\"],\n gap: [\"columnGap\", \"rowGap\"],\n gridColumn: [\"gridColumnEnd\", \"gridColumnStart\"],\n gridRow: [\"gridRowEnd\", \"gridRowStart\"],\n marginInline: [\n \"marginInlineEnd\",\n \"marginInlineStart\",\n \"marginEnd\",\n \"marginStart\",\n \"marginLeft\",\n \"marginRight\"\n ],\n paddingInline: [\n \"paddingInlineEnd\",\n \"paddingInlineStart\",\n \"paddingEnd\",\n \"paddingStart\",\n \"paddingLeft\",\n \"paddingRight\"\n ],\n insetInline: [\"insetInlineEnd\", \"insetInlineStart\", \"end\", \"start\", \"left\", \"right\"],\n borderInlineColor: [\n \"borderInlineEndColor\",\n \"borderInlineStartColor\",\n \"borderEndColor\",\n \"borderStartColor\",\n \"borderLeftColor\",\n \"borderRightColor\"\n ],\n borderInlineStyle: [\n \"borderInlineEndStyle\",\n \"borderInlineStartStyle\",\n \"borderEndStyle\",\n \"borderStartStyle\",\n \"borderLeftStyle\",\n \"borderRightStyle\"\n ],\n borderInlineWidth: [\n \"borderInlineEndWidth\",\n \"borderInlineStartWidth\",\n \"borderEndWidth\",\n \"borderStartWidth\",\n \"borderLeftWidth\",\n \"borderRightWidth\"\n ],\n mask: [\n \"maskBorder\",\n \"maskBorderMode\",\n \"maskBorderOutset\",\n \"maskBorderRepeat\",\n \"maskBorderSlice\",\n \"maskBorderSource\",\n \"maskBorderWidth\",\n \"maskClip\",\n \"maskComposite\",\n \"maskImage\",\n \"maskMode\",\n \"maskOrigin\",\n \"maskPosition\",\n \"maskRepeat\",\n \"maskSize\"\n ],\n maskBorder: [\n \"maskBorderMode\",\n \"maskBorderOutset\",\n \"maskBorderRepeat\",\n \"maskBorderSlice\",\n \"maskBorderSource\",\n \"maskBorderWidth\"\n ]\n};\nconst cssConflictFamilies = [\n /* @__PURE__ */ new Set([\n \"marginInline\",\n \"marginInlineEnd\",\n \"marginInlineStart\",\n \"marginEnd\",\n \"marginStart\",\n \"marginLeft\",\n \"marginRight\"\n ]),\n /* @__PURE__ */ new Set([\n \"paddingInline\",\n \"paddingInlineEnd\",\n \"paddingInlineStart\",\n \"paddingEnd\",\n \"paddingStart\",\n \"paddingLeft\",\n \"paddingRight\"\n ]),\n /* @__PURE__ */ new Set([\n \"insetInline\",\n \"insetInlineEnd\",\n \"insetInlineStart\",\n \"end\",\n \"start\",\n \"left\",\n \"right\"\n ]),\n /* @__PURE__ */ new Set([\n \"borderInlineColor\",\n \"borderInlineEndColor\",\n \"borderInlineStartColor\",\n \"borderEndColor\",\n \"borderStartColor\",\n \"borderLeftColor\",\n \"borderRightColor\"\n ]),\n /* @__PURE__ */ new Set([\n \"borderInlineStyle\",\n \"borderInlineEndStyle\",\n \"borderInlineStartStyle\",\n \"borderEndStyle\",\n \"borderStartStyle\",\n \"borderLeftStyle\",\n \"borderRightStyle\"\n ]),\n /* @__PURE__ */ new Set([\n \"borderInlineWidth\",\n \"borderInlineEndWidth\",\n \"borderInlineStartWidth\",\n \"borderEndWidth\",\n \"borderStartWidth\",\n \"borderLeftWidth\",\n \"borderRightWidth\"\n ])\n];\nfunction cssOwnersConflict(left, right) {\n for (const leftOwner of left) {\n for (const rightOwner of right) {\n if (leftOwner === rightOwner || cssShorthandConflicts[leftOwner]?.includes(rightOwner) || cssShorthandConflicts[rightOwner]?.includes(leftOwner) || cssConflictFamilies.some(\n (family) => family.has(leftOwner) && family.has(rightOwner)\n )) {\n return true;\n }\n }\n }\n return false;\n}\nconst runtimeEventProps = /* @__PURE__ */ new Set([\n \"onHoverIn\",\n \"onHoverOut\",\n \"onLongPress\",\n \"onPress\",\n \"onPressIn\",\n \"onPressOut\"\n]);\nconst DOM_STYLE_ATTRIBUTES = new Map(\n Object.entries(ATTRIBUTES).filter(\n ([name, row]) => row.native !== \"none\" && row.nativeProp && row.nativeProp !== name && row.nativeProp in stylePropsText\n ).map(([name, row]) => [name, row.nativeProp])\n);\nconst nativePointerEventProps = /* @__PURE__ */ new Set([\n \"onPointerCancel\",\n \"onPointerDown\",\n \"onPointerEnter\",\n \"onPointerLeave\",\n \"onPointerMove\",\n \"onPointerUp\"\n]);\nfunction isSerializableNativeStyle(value) {\n if (value == null || typeof value === \"number\" || typeof value === \"boolean\") {\n return true;\n }\n if (typeof value === \"string\") return true;\n if (Array.isArray(value)) return value.every(isSerializableNativeStyle);\n if (!staticObject(value)) return false;\n const prototype = Object.getPrototypeOf(value);\n if (prototype !== Object.prototype && prototype !== null) return false;\n return Object.values(value).every(isSerializableNativeStyle);\n}\nfunction unusedIdentifier(source, base) {\n let candidate = base;\n let suffix = 0;\n while (new RegExp(`\\\\b${candidate}\\\\b`).test(source)) {\n candidate = `${base}${++suffix}`;\n }\n return candidate;\n}\nconst VIEW_WRAPPER_PROPS = /^(aria-|accessibilityState$|accessibilityValue$|id$|tabIndex$|nativeID$)/;\nfunction isBareHostView(element) {\n return !element.entries.some(\n (entry) => entry.kind === \"child\" || entry.kind === \"spread\" || entry.kind === \"prop\" && VIEW_WRAPPER_PROPS.test(entry.name)\n );\n}\nfunction entrySource(input, entry) {\n return entry.value.kind === \"static\" ? JSON.stringify(entry.value.value) : input.source.slice(entry.value.span.start, entry.value.span.end);\n}\nfunction renamedPropEdit(input, entry, name) {\n if (entry.name === name) return null;\n const content = input.source.slice(entry.span.start, entry.span.end);\n const offset = content.indexOf(entry.name);\n if (offset === -1) return null;\n const quoted = content[offset - 1] === '\"' || content[offset - 1] === \"'\";\n return {\n start: entry.span.start + offset,\n end: entry.span.start + offset + entry.name.length,\n content: input.element.form === \"jsx\" || quoted ? name : JSON.stringify(name),\n origin: entry.span\n };\n}\nfunction serializedProps(form, props) {\n return props.map(\n ([name, value]) => form === \"jsx\" ? `${name}={${value}}` : `${JSON.stringify(name)}: ${value}`\n ).join(form === \"jsx\" ? \" \" : \", \");\n}\nfunction nativeDOMProps(input, tag) {\n const consumed = [];\n const edits = [];\n const additions = [];\n const nested = /* @__PURE__ */ new Map();\n const entries = input.element.entries.filter(\n (entry) => entry.kind === \"prop\"\n );\n const names = new Set(entries.map((entry) => entry.name));\n if (names.has(\"ref\") || tag === \"br\") additions.push([\"__tag\", JSON.stringify(tag)]);\n if (TAGS[tag].backing === \"text\" || TAGS[tag].backing === \"textinput\") {\n additions.push([\"__inherit\", \"true\"]);\n }\n const add = (name, value) => additions.push([name, value]);\n const consume = (entry) => consumed.push(entry);\n for (const entry of entries) {\n const value = entrySource(input, entry);\n const attribute = (Object.hasOwn(ATTRIBUTES, entry.name) ? ATTRIBUTES[entry.name] : void 0) ?? (entry.name.startsWith(\"data-\") ? ATTRIBUTES[\"data-*\"] : void 0);\n const event = Object.hasOwn(EVENTS, entry.name) ? EVENTS[entry.name] : void 0;\n if (event) {\n if (event.native === \"none\") {\n return {\n consumed,\n edits,\n additions,\n diagnostic: `${entry.name} has no native DOM event equivalent`,\n diagnosticSpan: entry.span\n };\n }\n if (entry.name === \"onKeyDown\" && tag !== \"input\" && tag !== \"textarea\") {\n return {\n consumed,\n edits,\n additions,\n diagnostic: `onKeyDown requires a native text-entry control`,\n diagnosticSpan: entry.span\n };\n }\n if ([\"onClick\", \"onLoad\", \"onError\", \"onChange\", \"onInput\", \"onKeyDown\"].includes(\n entry.name\n )) {\n continue;\n }\n if (event.nativeProp) {\n const edit2 = renamedPropEdit(input, entry, event.nativeProp);\n if (edit2) edits.push(edit2);\n }\n continue;\n }\n if (!attribute || attribute.native === \"none\" || entry.name === \"style\") continue;\n if (DOM_STYLE_ATTRIBUTES.has(entry.name)) {\n if (entry.value.kind !== \"static\") {\n return {\n consumed,\n edits,\n additions,\n diagnostic: `html.${tag} ${entry.name} must be statically known for native lowering`,\n diagnosticSpan: entry.span\n };\n }\n consume(entry);\n continue;\n }\n if (entry.name === \"hidden\") {\n if (entry.value.kind !== \"static\") {\n return {\n consumed,\n edits,\n additions,\n diagnostic: `html.${tag} hidden must be statically known for native lowering`,\n diagnosticSpan: entry.span\n };\n }\n consume(entry);\n continue;\n }\n if (entry.name === \"tabIndex\") {\n consume(entry);\n add(\"focusable\", `(${value}) === 0`);\n continue;\n }\n if (entry.name === \"readOnly\") {\n consume(entry);\n add(\"editable\", `!(${value})`);\n continue;\n }\n if (entry.name === \"disabled\") {\n consume(entry);\n add(\"disabled\", value);\n add(\"focusable\", `!(${value})`);\n if (tag === \"input\" || tag === \"textarea\") add(\"editable\", `!(${value})`);\n const state = nested.get(\"accessibilityState\") ?? [];\n state.push([\"disabled\", value]);\n nested.set(\"accessibilityState\", state);\n continue;\n }\n if (entry.name === \"type\") {\n consume(entry);\n if (tag === \"input\" && entry.value.kind !== \"static\") {\n return {\n consumed,\n edits,\n additions,\n diagnostic: `html.input type must be statically known for native lowering`,\n diagnosticSpan: entry.span\n };\n }\n if (tag === \"input\" && entry.value.kind === \"static\") {\n const type = entry.value.value;\n if (type === \"password\") add(\"secureTextEntry\", \"true\");\n else if (typeof type === \"string\" && type !== \"text\" && NATIVE_INPUT_TYPES.includes(type)) {\n if (!names.has(\"inputMode\")) {\n add(\"inputMode\", JSON.stringify(type === \"number\" ? \"numeric\" : type));\n }\n }\n }\n continue;\n }\n if (entry.name === \"aria-hidden\") {\n consume(entry);\n add(\"accessibilityElementsHidden\", value);\n add(\"importantForAccessibility\", `(${value}) ? \"no-hide-descendants\" : \"auto\"`);\n continue;\n }\n if (entry.name === \"aria-live\") {\n consume(entry);\n add(\n \"accessibilityLiveRegion\",\n entry.value.kind === \"static\" && entry.value.value === \"off\" ? '\"none\"' : value\n );\n continue;\n }\n const nativeProp = attribute.nativeProp;\n if (!nativeProp) continue;\n if (nativeProp.includes(\".\")) {\n consume(entry);\n const [parent, child] = nativeProp.split(\".\");\n const values = nested.get(parent) ?? [];\n values.push([child, value]);\n nested.set(parent, values);\n continue;\n }\n const edit = renamedPropEdit(input, entry, nativeProp);\n if (edit) edits.push(edit);\n }\n for (const [name, values] of nested) {\n add(name, `{ ${values.map(([key, value]) => `${key}: ${value}`).join(\", \")} }`);\n }\n if (!names.has(\"role\") && TAGS[tag].role) add(\"role\", JSON.stringify(TAGS[tag].role));\n if (tag === \"textarea\") add(\"multiline\", \"true\");\n return { consumed, edits, additions };\n}\nfunction webDOMProps(input, tag) {\n const edits = [];\n const additions = [];\n const entries = input.element.entries.filter(\n (entry) => entry.kind === \"prop\"\n );\n const names = new Set(entries.map((entry) => entry.name));\n for (const entry of entries) {\n if (entry.name === \"for\") {\n const edit = renamedPropEdit(input, entry, \"htmlFor\");\n if (edit) edits.push(edit);\n }\n if (entry.name === \"role\" && entry.value.kind === \"static\" && entry.value.value === \"none\") {\n edits.push({\n start: entry.value.span.start,\n end: entry.value.span.end,\n content: JSON.stringify(\"presentation\"),\n origin: entry.value.span\n });\n }\n }\n if (tag === \"button\" && !names.has(\"type\")) additions.push([\"type\", '\"button\"']);\n if ((tag === \"input\" || tag === \"textarea\") && !names.has(\"dir\")) {\n additions.push([\"dir\", '\"auto\"']);\n }\n return { edits, additions };\n}\nfunction createTamaguiCompilerHost(options) {\n const platform = options.target === \"native\" ? \"native\" : \"web\";\n const core = requireTamaguiCore(platform);\n const firstThemeName = Object.keys(options.tamaguiConfig.themes ?? {})[0] ?? \"\";\n const firstTheme = options.tamaguiConfig.themes?.[firstThemeName] ?? {};\n const theme = firstTheme;\n const modifierRegistry = createModifierRegistry({\n mediaNames: options.tamaguiConfig.media ?? {},\n themeNames: options.tamaguiConfig.themes ?? {}\n }).registry;\n const isClauseObjectValue = (value) => {\n if (!staticObject(value)) return false;\n if (\"default\" in value) return true;\n for (const key in value) {\n if (key.length === 0) return false;\n let start = 0;\n for (let index = 0; index <= key.length; index++) {\n if (index !== key.length && key.charCodeAt(index) !== 58) continue;\n if (modifierRegistry.get(key.slice(start, index)) === void 0) return false;\n start = index + 1;\n }\n return true;\n }\n return false;\n };\n const configuredAnimationDriver = options.tamaguiConfig.animations;\n const configuredCssAnimationDriver = platform === \"web\" && configuredAnimationDriver?.outputStyle === \"css\" && !options.tamaguiConfig.animationDrivers ? configuredAnimationDriver : null;\n const resolveStaticCssTransition = (value, transitionPresets) => {\n if (platform !== \"web\" || typeof value !== \"string\") return null;\n const transitionPresetNames = new Set(Object.keys(transitionPresets));\n const program = parseValue(value, modifierRegistry);\n if (!program.ok) return null;\n const resolvedPayloads = [];\n const payloads = [\n program.value.base,\n ...program.value.clauses.map((clause) => clause.payload)\n ].filter((payload) => payload !== null);\n if (payloads.length === 0) return null;\n for (const payload of payloads) {\n const transition = parseTransition(payload, transitionPresetNames);\n if (!transition.ok) return null;\n if (transition.value.kind === \"global\" || transition.value.entries.every((entry) => entry.timing.type === \"css\")) {\n resolvedPayloads.push(payload);\n continue;\n }\n if (transition.value.entries.length !== 1 || transition.value.entries[0].timing.type !== \"preset\") {\n return null;\n }\n const preset = transitionPresets[transition.value.entries[0].timing.name];\n if (typeof preset !== \"string\") return null;\n const parsedPreset = parseTransition(preset);\n if (!parsedPreset.ok || parsedPreset.value.kind !== \"transition\" || parsedPreset.value.entries.length !== 1 || parsedPreset.value.entries[0].property !== \"all\" || parsedPreset.value.entries[0].timing.type !== \"css\") {\n return null;\n }\n resolvedPayloads.push(`all ${preset}`);\n }\n let payloadIndex = 0;\n const resolved = [];\n if (program.value.base !== null) {\n resolved.push(resolvedPayloads[payloadIndex++]);\n }\n for (const clause of program.value.clauses) {\n resolved.push(`${clause.modifiers.join(\":\")}:${resolvedPayloads[payloadIndex++]}`);\n }\n return resolved.join(\" \");\n };\n const modulesById = new Map(\n options.componentModules.map((module) => [module.resolvedId, module.moduleName])\n );\n const componentsByModule = new Map(\n options.components.map((component) => [component.moduleName, component])\n );\n const normalizeStaticConfig = (staticConfig) => staticConfig.styleFrontend?.normalizeStaticConfig?.(\n staticConfig,\n options.tamaguiConfig\n ) ?? staticConfig;\n const directStaticConfig = (element) => {\n const identity = element.component.provenance;\n if (!identity) return null;\n const moduleName = modulesById.get(identity.resolvedId);\n const component = moduleName ? componentsByModule.get(moduleName) : void 0;\n const info = component?.nameToInfo[identity.importedName];\n return info ? {\n key: componentKey(identity.resolvedId, identity.importedName),\n staticConfig: normalizeStaticConfig(info.staticConfig),\n displayName: info.displayName\n } : null;\n };\n const domStaticConfig = (element) => {\n const identity = element.component.provenance;\n const tag = element.component.name;\n if (identity?.importedName !== \"html\" || !DOM_FRONTENDS.has(identity.specifier) || !Object.hasOwn(TAGS, tag)) {\n return null;\n }\n const row = TAGS[tag];\n const textLike = row.backing === \"text\" || row.backing === \"textinput\";\n const base = (textLike ? core.Text : core.View)?.staticConfig;\n if (!base) return null;\n const platformDefaults = platform === \"web\" ? {\n ...DISPLAY_WEB_RESET[row.display],\n ...row.defaults,\n ...TAG_WEB_DEFAULTS[tag]\n } : {\n ...NATIVE_ELEMENT_DEFAULTS,\n ...row.display === \"block\" ? NATIVE_BLOCK_DEFAULTS : null,\n ...row.defaults,\n ...row.nativeDefaults\n };\n return {\n key: componentKey(identity.resolvedId, `html.${tag}`),\n tag,\n displayName: tag,\n staticConfig: normalizeStaticConfig({\n ...base,\n isInput: row.backing === \"textinput\",\n // CSS text properties may be authored on any element and inherited by\n // descendant text, including from a View-backed tag on native.\n validStyles: { ...validStylesView, ...stylePropsText },\n defaultProps: {\n ...base.defaultProps,\n ...platformDefaults\n }\n })\n };\n };\n const styledStaticConfig = (definition) => {\n if (!definition || definition.options.kind !== \"static\") return null;\n const base = directStaticConfig({\n kind: \"element\",\n form: \"jsx\",\n id: definition.id,\n span: definition.span,\n propsSpan: null,\n component: definition.base,\n complete: true,\n entries: [],\n bailouts: []\n });\n if (!base || !staticObject(definition.options.value)) return null;\n const {\n variants,\n defaultVariants,\n compoundVariants,\n displayName,\n context,\n contextProps,\n ...defaultProps\n } = definition.options.value;\n const baseClassName = definition.baseClassName?.kind === \"static\" && typeof definition.baseClassName.value === \"string\" ? definition.baseClassName.value : void 0;\n return {\n key: componentKey(definition.id, definition.name),\n displayName: displayName || base.displayName,\n staticConfig: normalizeStaticConfig({\n ...base.staticConfig,\n variants: {\n ...base.staticConfig.variants,\n ...variants\n },\n compoundVariants: [\n ...base.staticConfig.compoundVariants ?? [],\n ...compoundVariants ?? []\n ],\n defaultProps: {\n ...base.staticConfig.defaultProps,\n ...defaultProps,\n ...defaultVariants\n },\n defaultVariants,\n baseClassName: [base.staticConfig.baseClassName, baseClassName].filter(Boolean).join(\" \"),\n context: context ?? base.staticConfig.context,\n contextProps: context ? contextProps : contextProps ?? base.staticConfig.contextProps\n })\n };\n };\n const resolve = (element, styledDefinition) => {\n const dom = domStaticConfig(element);\n const resolved = dom ?? styledStaticConfig(styledDefinition) ?? directStaticConfig(element);\n if (!resolved) return null;\n const defaultProps = core.getDefaultProps(resolved.staticConfig) ?? {};\n return {\n key: resolved.key,\n canFlatten: resolved.staticConfig.acceptsClassName !== false && !resolved.staticConfig.neverFlatten && !resolved.staticConfig.context,\n staticConfig: resolved.staticConfig,\n displayName: resolved.displayName,\n ...dom && { domTag: dom.tag },\n // retaining the component also retains these runtime style sources.\n // splitting their output into equal-specificity atomic classes would\n // make stylesheet insertion order decide the winner.\n partialRuntimeSafe: !dom && !styledDefinition && Object.keys(defaultProps).length === 0 && !resolved.staticConfig.defaultVariants && !resolved.staticConfig.baseClassName && !resolved.staticConfig.baseStyle && (resolved.staticConfig.compoundVariants?.length ?? 0) === 0\n };\n };\n const isStyleProp = (name, component) => {\n const staticConfig = component.staticConfig;\n return compilerStyleProps.has(name) || name in (options.tamaguiConfig.shorthands ?? {}) || !!staticConfig.validStyles?.[name] || !!staticConfig.variants?.[name];\n };\n const runtimeOnlyStyleProps = /* @__PURE__ */ new Set([\n \"className\",\n \"style\",\n \"group\",\n \"transition\",\n \"animation\",\n \"animateOnly\",\n \"animatePresence\",\n \"animatedBy\",\n \"render\"\n ]);\n const canLowerConditionalStyleProp = (name, component) => isStyleProp(name, component) && !runtimeOnlyStyleProps.has(name);\n const isInvalidHostStyleProp = (name, component) => {\n const staticConfig = component.staticConfig;\n const validStyles = staticConfig.validStyles || (staticConfig.isText || staticConfig.isInput ? stylePropsText : validStylesView);\n return name in stylePropsAll && !isValidStyleKey(name, validStyles, staticConfig.accept);\n };\n const directStyleName = (name, component) => {\n if (compilerStyleProps.has(name) || name === \"style\") {\n return null;\n }\n const staticConfig = component.staticConfig;\n if (staticConfig.variants?.[name]) return null;\n const expanded = options.tamaguiConfig.shorthands?.[name] ?? name;\n return staticConfig.validStyles?.[expanded] ? expanded : null;\n };\n const resolveSplitStyles = (props, staticConfig, animationDriver, displayName) => {\n const previousStatic = process.env.IS_STATIC;\n const previousTarget = process.env.TAMAGUI_TARGET;\n if (platform === \"native\") {\n process.env.IS_STATIC = \"is_static\";\n } else {\n delete process.env.IS_STATIC;\n }\n process.env.TAMAGUI_TARGET = platform;\n try {\n core.prepareStyleStaticConfig(staticConfig);\n return core.getSplitStyles(\n props,\n staticConfig,\n theme,\n firstThemeName,\n componentState,\n {\n resolveValues: platform === \"native\" ? \"except-theme\" : \"variable\",\n noClass: platform === \"native\",\n isAnimated: false,\n displayName\n },\n void 0,\n void 0,\n void 0,\n void 0,\n void 0,\n void 0,\n animationDriver\n );\n } finally {\n if (previousStatic === void 0) delete process.env.IS_STATIC;\n else process.env.IS_STATIC = previousStatic;\n if (previousTarget === void 0) delete process.env.TAMAGUI_TARGET;\n else process.env.TAMAGUI_TARGET = previousTarget;\n }\n };\n const partialStaticConfig = (staticConfig) => ({\n ...staticConfig,\n baseStyle: void 0,\n defaultProps: {},\n defaultVariants: void 0,\n compoundVariants: [],\n variants: {}\n });\n const styleOwners = (name, value, staticConfig) => {\n const split = resolveSplitStyles({ [name]: value }, partialStaticConfig(staticConfig));\n if (!split) return null;\n const inlineStyle = split.viewProps?.style;\n if (staticObject(inlineStyle) && Object.keys(inlineStyle).length > 0) {\n return null;\n }\n const owners = new Set(Object.keys(split.classNames ?? {}));\n for (const styleObject of Object.values(split.rulesToInsert ?? {})) {\n const property = styleObject?.[StyleObjectProperty];\n if (typeof property === \"string\") owners.add(property);\n }\n return owners.size > 0 ? owners : null;\n };\n const dynamicStyleOwners = (name, staticConfig) => {\n const probeValue = name === \"transform\" ? [{ scale: 1 }] : name === \"transformMatrix\" ? [1, 0, 0, 1, 0, 0] : name === \"shadowOffset\" ? { width: 0, height: 0 } : name === \"shadowColor\" ? \"black\" : name === \"border\" || name === \"outline\" ? \"0 solid transparent\" : name === \"position\" ? \"relative\" : name === \"objectFit\" ? \"contain\" : 0;\n const owners = styleOwners(name, probeValue, staticConfig);\n if (!owners || name !== \"flex\") return owners;\n const shorthandOwners = styleOwners(name, \"0 1 auto\", staticConfig);\n if (!shorthandOwners) return null;\n for (const owner of shorthandOwners) owners.add(owner);\n return owners;\n };\n const developmentDebugInstrumentation = (input, result) => {\n if (process.env.NODE_ENV !== \"development\") return;\n const debugEntry = input.element.entries.find(\n (entry) => entry.kind === \"prop\" && entry.name === \"debug\" && entry.value.kind === \"static\" && entry.value.value === \"verbose\"\n );\n if (!debugEntry) return;\n const component = input.component;\n const styleEntries = input.element.entries.filter(\n (entry) => entry.kind === \"prop\" && entry.name !== \"debug\" && (entry.name === \"style\" || isStyleProp(entry.name, component))\n );\n const flattened = result.ok && !!result.flattened;\n const tiers = result.ok ? [\n \"lowered\",\n ...flattened ? [\"flattened\"] : [],\n ...input.styledDefinition ? [\"styled\"] : []\n ] : [\"bailed\"];\n const why = result.ok ? flattened ? \"Static styles were lowered and the component was flattened to a host element.\" : \"Static styles were lowered while the Tamagui component remained at runtime.\" : result.bailout.message;\n const styles = styleEntries.map((entry) => {\n if (!result.ok) {\n return {\n prop: entry.name,\n tier: \"bailed\",\n runtime: true,\n why: `${result.bailout.message}. The Tamagui runtime resolved this prop.`\n };\n }\n const edited = result.edits.some(\n (edit) => edit.start < entry.span.end && edit.end > entry.span.start\n );\n if (!flattened && !edited) {\n return {\n prop: entry.name,\n tier: \"bailed\",\n runtime: true,\n why: \"This prop remained for Tamagui runtime resolution.\"\n };\n }\n if (entry.value.kind === \"static\") {\n const split = resolveSplitStyles(\n { [entry.name]: entry.value.value },\n partialStaticConfig(component.staticConfig)\n );\n const hasOutput = Boolean(\n split && (Object.keys(split.classNames ?? {}).length > 0 || Object.keys(split.rulesToInsert ?? {}).length > 0 || staticObject(split.style) && Object.keys(split.style).length > 0 || staticObject(split.viewProps?.style) && Object.keys(split.viewProps.style).length > 0)\n );\n if (!hasOutput) {\n return {\n prop: entry.name,\n tier: flattened ? \"flattened\" : \"lowered\",\n dropped: true,\n why: `No ${platform} style output was produced for this prop.`\n };\n }\n }\n return {\n prop: entry.name,\n tier: flattened ? \"flattened\" : \"lowered\",\n why: flattened ? \"The compiler emitted this prop on the flattened host element.\" : \"The compiler lowered this prop while retaining the Tamagui component.\"\n };\n });\n const receipt = JSON.stringify({\n component: input.element.component.name,\n tiers,\n why,\n styles\n });\n const content = flattened ? input.element.form === \"jsx\" ? `{...(console.info('\\u{1F539} Tamagui style receipt', ${receipt}), {})}` : `...(console.info('\\u{1F539} Tamagui style receipt', ${receipt}), {})` : input.element.form === \"jsx\" ? `debug=\"verbose\" __tamaguiStyleDebugReceipt={${receipt}}` : `debug: \"verbose\", __tamaguiStyleDebugReceipt: ${receipt}`;\n return [\n {\n start: debugEntry.span.start,\n end: debugEntry.span.end,\n content,\n origin: debugEntry.span\n }\n ];\n };\n return {\n resolveComponent: resolve,\n isStyleProp,\n canLowerDynamicStyleProp(name, component, valueKind) {\n if (!options.disablePartialExtraction && valueKind === \"conditional\" && canLowerConditionalStyleProp(name, component)) {\n return true;\n }\n return !options.disablePartialExtraction && (platform === \"web\" && !!directStyleName(name, component) || platform === \"native\" && directStyleName(name, component) === \"opacity\");\n },\n developmentDebugInstrumentation,\n lowerCandidate(input) {\n const component = input.component;\n if (!component.canFlatten) {\n const reason = component.staticConfig.acceptsClassName === false ? `${component.key} does not accept className` : component.staticConfig.neverFlatten ? `${component.key} is never flattened (behavior HOC)` : `${component.key} provides a styled context`;\n return bailout(input, \"local/unsupported-target\", reason, input.element.span, {\n rule: 6\n });\n }\n if (options.zeroRuntime) {\n const spread = input.element.entries.find((entry) => entry.kind === \"spread\");\n if (spread) {\n return bailout(\n input,\n \"local/unsafe-style-spread\",\n \"Zero-runtime rejects prop spreads\",\n spread.span,\n {\n rule: 1,\n message: zeroRuleMessage(1, { component: input.element.component.name })\n }\n );\n }\n }\n const props = {};\n for (const entry of input.element.entries) {\n if (entry.kind === \"child\" || entry.value.kind !== \"static\") continue;\n if (entry.kind === \"spread\") {\n if (!staticObject(entry.value.value)) {\n return bailout(\n input,\n \"local/unsafe-style-spread\",\n \"Static spread did not materialize to an object\",\n entry.span\n );\n }\n Object.assign(props, entry.value.value);\n } else {\n props[entry.name] = entry.value.value;\n }\n }\n const disableOptimizationEntry = input.element.entries.find(\n (entry) => entry.kind === \"prop\" && entry.name === \"disableOptimization\"\n );\n if (disableOptimizationEntry || Object.hasOwn(props, \"disableOptimization\")) {\n return bailout(\n input,\n \"local/unsupported-target\",\n \"disableOptimization keeps the component on the runtime path\",\n disableOptimizationEntry?.span\n );\n }\n if (component.domTag && props.hidden) props.display = \"none\";\n if (component.domTag && platform === \"native\") {\n for (const [name, styleKey] of DOM_STYLE_ATTRIBUTES) {\n if (name in props) {\n props[styleKey] = props[name];\n delete props[name];\n }\n }\n }\n if (platform === \"native\" && component.domTag === \"input\" && typeof props.type === \"string\" && !NATIVE_INPUT_TYPES.includes(props.type)) {\n return bailout(\n input,\n \"local/unsupported-target\",\n `input type ${props.type} has no native text-entry control`\n );\n }\n const dynamicStyleEntries = input.element.entries.filter(\n (entry) => entry.kind === \"prop\" && (entry.value.kind === \"bailout\" || entry.value.kind === \"conditional\") && isStyleProp(entry.name, component)\n );\n {\n const needsRuntimeMapping = (name) => runtimeEventProps.has(name) || platform === \"native\" && !component.domTag && nativePointerEventProps.has(name);\n const directRuntimeEvent = input.element.entries.find(\n (entry) => entry.kind === \"prop\" && needsRuntimeMapping(entry.name)\n );\n const runtimeEvent = directRuntimeEvent?.kind === \"prop\" ? directRuntimeEvent.name : Object.keys(props).find(needsRuntimeMapping);\n if (runtimeEvent) {\n return bailout(\n input,\n \"local/unsupported-target\",\n `${runtimeEvent} requires Tamagui runtime event mapping`\n );\n }\n }\n const animationDefaultProps = core.getDefaultProps(component.staticConfig) ?? {};\n const animationProps = core.mergeProps(animationDefaultProps, props);\n const animationNames = /* @__PURE__ */ new Set([\n ...input.element.entries.flatMap(\n (entry) => entry.kind === \"prop\" && runtimeAnimationProps.has(entry.name) ? [entry.name] : []\n ),\n ...Object.keys(animationProps).filter(\n (name) => runtimeAnimationProps.has(name) && animationProps[name] !== void 0\n )\n ]);\n const animateOnlyEntry = input.element.entries.find(\n (entry) => entry.kind === \"prop\" && entry.name === \"animateOnly\"\n );\n if (animationNames.has(\"animateOnly\")) {\n return bailout(\n input,\n \"local/unsupported-target\",\n \"Animated candidates remain on the runtime path\",\n animateOnlyEntry?.span,\n {\n rule: 5,\n message: zeroRuleMessage(5, {\n // without the origin an author reads this against JSX that does\n // not carry the prop, because the styled() definition does\n detail: animateOnlyEntry ? `animateOnly on ${input.element.component.name}` : `animateOnly in the styled() definition of ${input.element.component.name}`\n })\n }\n );\n }\n const transitionEntry = input.element.entries.find(\n (entry) => entry.kind === \"prop\" && entry.name === \"transition\"\n );\n const animatedBy = typeof animationProps.animatedBy === \"string\" ? animationProps.animatedBy.trim() : null;\n const namedAnimationDriver = animatedBy === null ? null : options.tamaguiConfig.animationDrivers?.[animatedBy];\n const namedCssAnimationDriver = platform === \"web\" && namedAnimationDriver && !namedAnimationDriver.isStub && namedAnimationDriver.outputStyle === \"css\" ? namedAnimationDriver : null;\n const cssAnimationDriver = namedCssAnimationDriver ?? (animatedBy === null || animatedBy === \"default\" ? configuredCssAnimationDriver : null);\n const resolvedCssTransition = animationNames.has(\"transition\") && cssAnimationDriver ? resolveStaticCssTransition(\n animationProps.transition,\n cssAnimationDriver.animations ?? {}\n ) : null;\n if (resolvedCssTransition !== null) {\n props.transition = resolvedCssTransition;\n }\n const animatedByNeedsRuntime = animationNames.has(\"animatedBy\") && !animationNames.has(\"transition\") && (dynamicStyleEntries.length > 0 || Object.keys(animationProps).some(\n (name) => name !== \"animatedBy\" && (isStyleProp(name, component) && typeof animationProps[name] === \"string\" && animationProps[name].includes(\":\") || name === \"animationConfig\" || name === \"forceStyle\" || name === \"onTransition\")\n ));\n const runtimeAnimationRequired = animationNames.has(\"transition\") && resolvedCssTransition === null || [...animationNames].some(\n (name) => name !== \"transition\" && name !== \"animatedBy\" && name !== \"animateOnly\"\n ) || animatedByNeedsRuntime;\n let dynamicHostStyleProperties = null;\n if (platform === \"web\" && !options.disablePartialExtraction && (input.element.form === \"jsx\" || input.element.propsSpan !== null) && dynamicStyleEntries.length > 0 && !input.element.entries.some(\n (entry) => entry.kind === \"spread\" && entry.value.kind !== \"static\"\n )) {\n const seen = /* @__PURE__ */ new Set();\n const properties = [];\n const dynamicOwners = /* @__PURE__ */ new Set();\n for (const entry of dynamicStyleEntries) {\n if (entry.kind !== \"prop\" || entry.value.kind !== \"bailout\" && entry.value.kind !== \"conditional\") {\n continue;\n }\n const name = directStyleName(entry.name, component);\n if (!name || seen.has(name)) {\n properties.length = 0;\n break;\n }\n const owners = dynamicStyleOwners(name, component.staticConfig);\n if (!owners) {\n properties.length = 0;\n break;\n }\n let property = null;\n const expression = input.source.slice(\n entry.value.span.start,\n entry.value.span.end\n );\n if (resolvedCssTransition !== null && (name === \"opacity\" || name === \"scale\")) {\n property = name === \"opacity\" ? `opacity: (${expression})` : `transform: \"scale(\" + (${expression}) + \")\"`;\n } else if (entry.value.kind === \"bailout\" && owners.size === 1 && owners.has(name)) {\n const dynamic = entry.value.dynamic;\n if (dynamic?.type === \"number\") {\n property = `${JSON.stringify(name)}: (${expression})`;\n } else if (dynamic?.type === \"string\" && dynamic.values?.length) {\n let valuesStayLiteral = true;\n for (const value of dynamic.values) {\n const split2 = resolveSplitStyles(\n { [entry.name]: value },\n partialStaticConfig(component.staticConfig)\n );\n const atomics = Object.values(split2?.rulesToInsert ?? {});\n if (atomics.length !== 1 || atomics[0]?.[StyleObjectProperty] !== name || atomics[0]?.[StyleObjectValue] !== value) {\n valuesStayLiteral = false;\n break;\n }\n }\n if (valuesStayLiteral) {\n property = `${JSON.stringify(name)}: (${expression})`;\n }\n }\n }\n if (!property) {\n properties.length = 0;\n break;\n }\n seen.add(name);\n for (const owner of owners) dynamicOwners.add(owner);\n properties.push(property);\n }\n if (properties.length === dynamicStyleEntries.length && !input.element.entries.some((entry) => {\n if (entry.kind !== \"prop\" || entry.value.kind !== \"static\") return false;\n const name = directStyleName(entry.name, component);\n if (!name) return false;\n const owners = styleOwners(\n name,\n entry.value.value,\n component.staticConfig\n );\n return !!owners && cssOwnersConflict(owners, dynamicOwners);\n })) {\n dynamicHostStyleProperties = properties;\n }\n }\n const supportsWebConditionalClasses = platform === \"web\" && !options.disablePartialExtraction && (input.element.form === \"jsx\" || input.element.propsSpan !== null) && dynamicHostStyleProperties === null && dynamicStyleEntries.length > 0 && dynamicStyleEntries.every(\n (entry) => entry.kind === \"prop\" && entry.value.kind === \"conditional\" && canLowerConditionalStyleProp(entry.name, component)\n );\n if (\"theme\" in props || \"themeInverse\" in props) {\n const themeProp = \"theme\" in props ? \"theme\" : \"themeInverse\";\n return bailout(\n input,\n \"local/unsupported-target\",\n \"Theme boundary candidates remain on the runtime path\",\n input.element.span,\n {\n rule: 4,\n message: zeroThemeBoundaryMessage(input.element.component.name, themeProp)\n }\n );\n }\n const asChildEntry = input.element.entries.find(\n (entry) => entry.kind === \"prop\" && entry.name === \"asChild\"\n );\n if (asChildEntry || Object.hasOwn(props, \"asChild\")) {\n return bailout(\n input,\n \"local/unsupported-target\",\n \"asChild renders a Slot, not a host view\",\n asChildEntry?.span\n );\n }\n if (platform === \"native\" && (\"group\" in props || \"container\" in props || \"containerName\" in props || \"containerType\" in props)) {\n return bailout(\n input,\n \"local/unsupported-target\",\n \"Native group and container providers remain on the runtime path\"\n );\n }\n if (runtimeAnimationRequired && !cssAnimationDriver) {\n return bailout(\n input,\n \"local/unsupported-target\",\n \"Animated candidates remain on the runtime path\",\n transitionEntry?.span,\n {\n rule: 5,\n message: zeroRuleMessage(5, {\n detail: `the animation configured on ${input.element.component.name}`\n })\n }\n );\n }\n if (platform === \"web\" && (dynamicStyleEntries.length > 0 || runtimeAnimationRequired) && dynamicHostStyleProperties === null && !supportsWebConditionalClasses && component.partialRuntimeSafe) {\n const hasSpread = input.element.entries.some(\n (entry) => entry.kind === \"spread\" && entry.value.kind !== \"static\"\n );\n const unsupportedRuntimeStyle = input.element.entries.find(\n (entry) => entry.kind === \"prop\" && isStyleProp(entry.name, component) && !runtimeAnimationProps.has(entry.name) && !directStyleName(entry.name, component)\n );\n if (!hasSpread && !unsupportedRuntimeStyle) {\n const dynamicOwners = /* @__PURE__ */ new Set();\n let canProveDynamicOwnership = true;\n for (const entry of dynamicStyleEntries) {\n if (entry.kind !== \"prop\") continue;\n const name = directStyleName(entry.name, component);\n if (!name) {\n canProveDynamicOwnership = false;\n break;\n }\n const owners = dynamicStyleOwners(\n name,\n component.staticConfig\n );\n if (!owners) {\n canProveDynamicOwnership = false;\n break;\n }\n for (const owner of owners) dynamicOwners.add(owner);\n }\n const staticStyleEntries = canProveDynamicOwnership ? input.element.entries.filter((entry) => {\n if (entry.kind !== \"prop\" || entry.value.kind !== \"static\") return false;\n if (runtimeAnimationProps.has(entry.name)) return false;\n const name = directStyleName(entry.name, component);\n if (!name) return false;\n const owners = styleOwners(\n name,\n entry.value.value,\n component.staticConfig\n );\n return !!owners && !cssOwnersConflict(owners, dynamicOwners);\n }) : [];\n if (staticStyleEntries.length > 0) {\n const partialProps = {};\n for (const entry of staticStyleEntries) {\n if (entry.kind === \"prop\" && entry.value.kind === \"static\") {\n partialProps[entry.name] = entry.value.value;\n }\n }\n const partialSplit = resolveSplitStyles(\n partialProps,\n partialStaticConfig(component.staticConfig)\n );\n const partialInlineStyle = partialSplit?.viewProps?.style;\n const hasPartialInlineStyle = staticObject(partialInlineStyle) && Object.keys(partialInlineStyle).length > 0;\n if (partialSplit && !hasPartialInlineStyle) {\n const artifacts2 = extractedStyleArtifacts(\n partialSplit,\n partialProps,\n options.tamaguiConfig,\n false\n );\n if (artifacts2.className) {\n if (input.element.form !== \"jsx\") {\n const propsEdits = compiledPropsEdits(\n input,\n staticStyleEntries,\n objectClassName(artifacts2.className)\n );\n if (propsEdits) {\n return {\n ok: true,\n edits: propsEdits,\n css: artifacts2.css,\n imports: [],\n flattened: false\n };\n }\n } else {\n const [first2, ...rest2] = staticStyleEntries;\n return {\n ok: true,\n edits: [\n {\n start: first2.span.start,\n end: first2.span.end,\n content: jsxClassName(artifacts2.className),\n origin: first2.span\n },\n ...rest2.map((entry) => ({\n start: entry.span.start,\n end: entry.span.end,\n content: \"\",\n origin: entry.span\n }))\n ],\n css: artifacts2.css,\n imports: [],\n flattened: false\n };\n }\n }\n }\n }\n }\n }\n if (runtimeAnimationRequired) {\n return bailout(\n input,\n \"local/unsupported-target\",\n \"Animated candidates remain on the runtime path\",\n transitionEntry?.span,\n {\n rule: 5,\n message: zeroRuleMessage(5, {\n detail: `the animation configured on ${input.element.component.name}`\n })\n }\n );\n }\n const supportsNativeDynamicStyles = platform === \"native\" && !options.disablePartialExtraction && (input.element.form === \"jsx\" || input.element.propsSpan !== null) && dynamicStyleEntries.every(\n (entry) => entry.kind === \"prop\" && (directStyleName(entry.name, component) === \"opacity\" || entry.value.kind === \"conditional\" && canLowerConditionalStyleProp(entry.name, component))\n );\n if (dynamicStyleEntries.length > 0 && dynamicHostStyleProperties === null && !supportsNativeDynamicStyles && !supportsWebConditionalClasses) {\n const entry = dynamicStyleEntries[0];\n return bailout(\n input,\n \"local/dynamic-style-value\",\n `Style prop ${entry.kind === \"prop\" ? entry.name : \"unknown\"} could not be safely extracted`,\n entry.span\n );\n }\n const staticDefaultProps = core.getDefaultProps(component.staticConfig) ?? {};\n const defaultProps = platform === \"web\" && !component.staticConfig.isText && options.tamaguiConfig.settings.defaultPosition === \"relative\" && staticDefaultProps.position === void 0 ? core.mergeProps({ position: \"relative\" }, staticDefaultProps) : staticDefaultProps;\n let completeProps = core.mergeProps(defaultProps, props);\n if (platform === \"native\" && component.domTag && props.display === \"flex\") {\n completeProps = core.mergeProps(\n core.mergeProps(defaultProps, NATIVE_FLEX_DEFAULTS),\n props\n );\n }\n const propsForConditional = (target, value) => {\n const branchProps = {};\n for (const entry of input.element.entries) {\n if (entry === target) {\n branchProps[target.name] = value;\n continue;\n }\n if (entry.kind === \"child\" || entry.value.kind !== \"static\") continue;\n if (entry.kind === \"spread\") {\n if (staticObject(entry.value.value))\n Object.assign(branchProps, entry.value.value);\n } else {\n branchProps[entry.name] = entry.value.value;\n }\n }\n if (component.domTag && branchProps.hidden) branchProps.display = \"none\";\n if (resolvedCssTransition !== null) {\n branchProps.transition = resolvedCssTransition;\n }\n if (component.domTag && platform === \"native\") {\n for (const [name, styleKey] of DOM_STYLE_ATTRIBUTES) {\n if (name in branchProps) {\n branchProps[styleKey] = branchProps[name];\n delete branchProps[name];\n }\n }\n }\n const branchCompleteProps = platform === \"native\" && component.domTag && branchProps.display === \"flex\" ? core.mergeProps(\n core.mergeProps(defaultProps, NATIVE_FLEX_DEFAULTS),\n branchProps\n ) : core.mergeProps(defaultProps, branchProps);\n return { branchProps, branchCompleteProps };\n };\n if (platform === \"native\") {\n const isClauseValue = (name, value) => isStyleProp(name, component) && (typeof value === \"string\" && flatClausePattern.test(value) || isClauseObjectValue(value));\n const defaultVariants = component.staticConfig.defaultVariants ?? {};\n const carriesClause = Object.entries(completeProps).some(\n ([name, value]) => isClauseValue(name, value)\n ) || Object.entries(component.staticConfig.variants ?? {}).some(\n ([variantName, definitions]) => (completeProps[variantName] !== void 0 || defaultVariants[variantName] !== void 0) && staticObject(definitions) && Object.values(definitions).some(\n (definition) => staticObject(definition) && Object.entries(definition).some(\n ([name, value]) => isClauseValue(name, value)\n )\n )\n ) || // compound variant styles are contributed by resolveSplitStyles too,\n // so a clause there would also freeze build-machine state if folded\n (component.staticConfig.compoundVariants ?? []).some(\n (compound) => staticObject(compound) && staticObject(compound.style) && Object.entries(compound.style).some(\n ([name, value]) => isClauseValue(name, value)\n )\n );\n if (carriesClause) {\n return bailout(\n input,\n \"local/unsupported-target\",\n \"Native conditional value programs remain on the runtime path\"\n );\n }\n }\n const split = resolveSplitStyles(\n completeProps,\n component.staticConfig,\n cssAnimationDriver,\n component.displayName\n );\n if (!split) {\n return bailout(\n input,\n \"local/style-resolution-failed\",\n \"getSplitStyles returned no static result\"\n );\n }\n if (split.programLifecycleStyleKeys?.enter?.size || split.programLifecycleStyleKeys?.exit?.size) {\n return bailout(\n input,\n \"local/unsupported-target\",\n \"Lifecycle value programs remain on the runtime path\",\n input.element.span,\n {\n rule: 5,\n message: zeroRuleMessage(5, {\n detail: `an enter or exit style program on ${input.element.component.name}`\n })\n }\n );\n }\n const domStyleProgram = input.element.entries.find(\n (entry) => entry.kind === \"prop\" && entry.name === \"style\" && entry.value.kind === \"dom-style\"\n );\n const flatTag = component.domTag ?? (typeof props.render === \"string\" ? props.render : typeof defaultProps.render === \"string\" ? defaultProps.render : component.staticConfig.isText ? \"span\" : \"div\");\n const tagEdits = [input.element.component.span, input.element.component.closingSpan].filter((span) => !!span).map((span) => ({\n start: span.start,\n end: span.end,\n content: input.element.form === \"jsx\" ? flatTag : JSON.stringify(flatTag),\n origin: span\n }));\n const isPropIgnored = (name) => isStyleProp(name, component) || isInvalidHostStyleProp(name, component);\n const spreadReplacement = (form, entry) => spreadNonStyleReplacement(form, entry, isPropIgnored, (name, value) => {\n if (platform !== \"web\") return [name, value];\n if (name === \"testID\") return [\"data-testid\", value];\n if (component.domTag && name === \"for\") return [\"htmlFor\", value];\n if (component.domTag && name === \"role\" && value === \"none\") {\n return [\"role\", \"presentation\"];\n }\n return [name, value];\n });\n let styleEntries = input.element.entries.filter(\n (entry) => entry.kind === \"prop\" && (isStyleProp(entry.name, component) || isInvalidHostStyleProp(entry.name, component)) || entry.kind === \"spread\" && entry.value.kind === \"static\" && staticObject(entry.value.value) && Object.keys(entry.value.value).some(\n (name) => isStyleProp(name, component) || isInvalidHostStyleProp(name, component)\n )\n );\n let invalidHostStyle;\n for (const entry of input.element.entries) {\n if (entry.kind === \"prop\") {\n if (isInvalidHostStyleProp(entry.name, component)) {\n invalidHostStyle = { entry, name: entry.name };\n break;\n }\n continue;\n }\n if (entry.kind === \"spread\" && entry.value.kind === \"static\" && staticObject(entry.value.value)) {\n const name = Object.keys(entry.value.value).find(\n (name2) => isInvalidHostStyleProp(name2, component)\n );\n if (name) {\n invalidHostStyle = { entry, name };\n break;\n }\n }\n }\n if (invalidHostStyle) {\n return bailout(\n input,\n \"local/unsupported-target\",\n `\"${invalidHostStyle.name}\" is a text style prop and this component is not text. Use a Text-based component, or html.* for raw web elements.`,\n invalidHostStyle.entry.span\n );\n }\n if (platform === \"native\" && component.domTag) {\n const mixedSpread = styleEntries.find(\n (entry) => entry.kind === \"spread\" && entry.value.kind === \"static\" && staticObject(entry.value.value) && Object.keys(entry.value.value).some((name) => !isPropIgnored(name))\n );\n if (mixedSpread) {\n return bailout(\n input,\n \"local/unsafe-style-spread\",\n \"Native DOM prop mapping requires non-style spread props to remain on the runtime path\",\n mixedSpread.span\n );\n }\n }\n const webPropEdits = platform === \"web\" ? input.element.entries.flatMap((entry) => {\n if (entry.kind !== \"prop\" || entry.name !== \"testID\") return [];\n const content = input.source.slice(entry.span.start, entry.span.end);\n const nameOffset = content.indexOf(\"testID\");\n if (nameOffset === -1) return [];\n const alreadyQuoted = content[nameOffset - 1] === '\"' || content[nameOffset - 1] === \"'\";\n return [\n {\n start: entry.span.start + nameOffset,\n end: entry.span.start + nameOffset + \"testID\".length,\n content: input.element.form === \"jsx\" || alreadyQuoted ? \"data-testid\" : `'data-testid'`,\n origin: entry.span\n }\n ];\n }) : [];\n const webDOMResult = platform === \"web\" && component.domTag ? webDOMProps(input, component.domTag) : { edits: [], additions: [] };\n webPropEdits.push(...webDOMResult.edits);\n if (platform === \"native\") {\n const nativeStyleResolved = split.viewProps?.style;\n let themedStyleKeys = null;\n let nativeStyle = nativeStyleResolved;\n if (staticObject(nativeStyleResolved)) {\n for (const [styleKey, styleValue] of Object.entries(nativeStyleResolved)) {\n if (!core.containsThemeRef(styleValue)) continue;\n const themeKey = core.themeRefKey(styleValue);\n if (!themeKey) {\n return bailout(\n input,\n \"local/dynamic-style-value\",\n `Style ${styleKey} uses a theme value in a compound or modified position that compiled output cannot represent`\n );\n }\n ;\n (themedStyleKeys ||= {})[styleKey] = themeKey;\n }\n if (themedStyleKeys) {\n const plain = {};\n for (const [styleKey, styleValue] of Object.entries(nativeStyleResolved)) {\n if (!(styleKey in themedStyleKeys)) plain[styleKey] = styleValue;\n }\n nativeStyle = plain;\n }\n } else if (core.containsThemeRef(nativeStyleResolved)) {\n return bailout(\n input,\n \"local/dynamic-style-value\",\n \"Theme values inside non-object native style output stay on the runtime path\"\n );\n }\n if (!isSerializableNativeStyle(nativeStyle)) {\n return bailout(\n input,\n \"local/unsupported-target\",\n \"Native style output is not a static serializable value\"\n );\n }\n const nativeStyleLocal = unusedIdentifier(\n input.source,\n `__TamaguiNativeStyle${input.element.span.start}`\n );\n const nativeStyleImports = [\n {\n content: `\nfunction ${nativeStyleLocal}() { return ${nativeStyleLocal}._ ?? (${nativeStyleLocal}._ = ${JSON.stringify(nativeStyle ?? {})}); } ${nativeStyleLocal}();`,\n origin: input.element.component.span\n }\n ];\n const nativeStyleSource = `${nativeStyleLocal}._ ?? ${nativeStyleLocal}()`;\n let nativeFastPath;\n if (themedStyleKeys && options.experimentalNativeFastPath && dynamicStyleEntries.length === 0 && !input.element.entries.some((entry) => entry.kind === \"spread\")) {\n const mappingLocal = unusedIdentifier(\n input.source,\n `__TamaguiNativeMapping${input.element.span.start}`\n );\n nativeFastPath = {\n mappingLocal,\n imports: [\n {\n content: `\nconst ${mappingLocal} = ${JSON.stringify(themedStyleKeys)};`,\n origin: input.element.component.span\n }\n ]\n };\n }\n if (component.domTag) {\n if (themedStyleKeys) {\n return bailout(\n input,\n \"local/unsupported-target\",\n \"Theme values on DOM-tag native output stay on the runtime path\"\n );\n }\n const row = TAGS[component.domTag];\n const basePrimitive = NATIVE_BACKING[row.backing].primitive;\n let primitive = basePrimitive;\n const propsResult = nativeDOMProps(input, component.domTag);\n if (propsResult.diagnostic) {\n return bailout(\n input,\n \"local/unsupported-target\",\n propsResult.diagnostic,\n propsResult.diagnosticSpan\n );\n }\n styleEntries = [.../* @__PURE__ */ new Set([...styleEntries, ...propsResult.consumed])];\n let nativeDOMStyleSource = nativeStyleSource;\n let runtimeStyleSource = null;\n if (domStyleProgram?.kind === \"prop\" && domStyleProgram.value.kind === \"dom-style\") {\n const needsRuntime = domStyleProgram.value.items.some(\n (item) => item.value.kind === \"static\" && staticObject(item.value.value) && (Object.keys(item.value.value).some(\n (property) => nativeRuntimeOnlyStyleProperties.has(property)\n ) || Object.values(item.value.value).some(\n (value) => typeof value === \"string\" && (flatClausePattern.test(value) || nativeInheritedKeywordPattern.test(value)) || isClauseObjectValue(value)\n ))\n );\n const itemSources = [];\n for (const item of domStyleProgram.value.items) {\n if (item.value.kind !== \"static\" || !staticObject(item.value.value)) {\n return bailout(\n input,\n \"local/dynamic-style-value\",\n \"Every style() handle in a style array must be statically evaluable\",\n item.value.span\n );\n }\n if (Object.values(item.value.value).some(\n (value2) => typeof value2 === \"string\" && nativeInitialKeywordPattern.test(value2)\n )) {\n return bailout(\n input,\n \"local/unsupported-target\",\n \"Native DOM style() does not support the CSS initial keyword, matching the pinned upstream limitation\",\n item.value.span\n );\n }\n let value;\n if (needsRuntime) {\n value = JSON.stringify(item.value.value);\n } else {\n const itemSplit = resolveSplitStyles(\n item.value.value,\n partialStaticConfig(component.staticConfig)\n );\n const itemStyle = itemSplit?.viewProps?.style;\n if (!isSerializableNativeStyle(itemStyle) || core.containsThemeRef(itemStyle)) {\n return bailout(\n input,\n \"local/unsupported-target\",\n \"Native style() output is not serializable\",\n item.value.span\n );\n }\n value = JSON.stringify(itemStyle ?? {});\n }\n const condition = item.condition ? input.source.slice(item.condition.start, item.condition.end) : null;\n itemSources.push(condition ? `(${condition}) && ${value}` : value);\n }\n if (needsRuntime) {\n primitive = `DOMRuntime${basePrimitive.slice(\"DOM\".length)}`;\n runtimeStyleSource = `[${itemSources.join(\", \")}]`;\n } else {\n nativeDOMStyleSource = `[${[nativeDOMStyleSource, ...itemSources].join(\", \")}]`;\n }\n }\n const nativeLocal2 = unusedIdentifier(input.source, `__Tamagui${primitive}`);\n const propertyContent = [\n input.element.form === \"jsx\" ? `style={${nativeDOMStyleSource}}` : `style: ${nativeDOMStyleSource}`,\n runtimeStyleSource ? input.element.form === \"jsx\" ? `__styles={${runtimeStyleSource}}` : `__styles: ${runtimeStyleSource}` : \"\",\n serializedProps(input.element.form, propsResult.additions)\n ].filter(Boolean).join(input.element.form === \"jsx\" ? \" \" : \", \");\n const primitiveTagEdits = [\n input.element.component.span,\n input.element.component.closingSpan\n ].filter((span) => !!span).map((span) => ({\n start: span.start,\n end: span.end,\n content: input.element.form === \"jsx\" ? nativeLocal2 : JSON.stringify(nativeLocal2).slice(1, -1),\n origin: span\n }));\n const literalEdits = [];\n const imports = [\n ...nativeStyleImports,\n {\n content: `\nimport { ${primitive} as ${nativeLocal2} } from ${JSON.stringify(NATIVE_PRIMITIVE_MODULE)}\n`,\n origin: input.element.component.span\n }\n ];\n if (NATIVE_BACKING[row.backing].wrapsLiteralText) {\n const textLocal = unusedIdentifier(input.source, \"__TamaguiDOMText\");\n const createElementLocal = unusedIdentifier(\n input.source,\n \"__TamaguiCreateElement\"\n );\n let needsText = false;\n let needsCreateElement = false;\n for (const entry of input.element.entries) {\n if (entry.kind !== \"child\") continue;\n if (entry.value.kind === \"empty\" || entry.value.kind === \"element\" || entry.value.kind === \"static\" && (entry.value.value === null || typeof entry.value.value === \"boolean\")) {\n continue;\n }\n if (entry.value.kind !== \"static\" || entry.value.literalOrigin !== true || typeof entry.value.value !== \"string\" && typeof entry.value.value !== \"number\") {\n return bailout(\n input,\n \"local/unsupported-child\",\n `html.${component.domTag} has a direct child that may render unwrapped native text; write a literal as JSX text or wrap the child in html.span`,\n entry.span\n );\n }\n needsText = true;\n const child = input.source.slice(entry.span.start, entry.span.end);\n if (input.element.form === \"jsx\") {\n literalEdits.push({\n start: entry.span.start,\n end: entry.span.end,\n content: `<${textLocal} __inherit>${child}</${textLocal}>`,\n origin: entry.span\n });\n } else {\n needsCreateElement = true;\n literalEdits.push({\n start: entry.span.start,\n end: entry.span.end,\n content: `${createElementLocal}(${textLocal}, { __inherit: true }, ${child})`,\n origin: entry.span\n });\n }\n }\n if (needsText) {\n imports.push({\n content: `\nimport { DOMText as ${textLocal} } from ${JSON.stringify(NATIVE_PRIMITIVE_MODULE)}\n`,\n origin: input.element.component.span\n });\n }\n if (needsCreateElement) {\n imports.push({\n content: `\nimport { createElement as ${createElementLocal} } from \"react\"\n`,\n origin: input.element.component.span\n });\n }\n }\n const [first3, ...rest3] = styleEntries;\n const firstNonStyle3 = first3 ? spreadReplacement(\"jsx\", first3) : \"\";\n const propsEdits = input.element.form === \"jsx\" ? styleEntries.length === 0 ? [\n {\n start: input.element.component.span.end,\n end: input.element.component.span.end,\n content: ` ${propertyContent}`,\n origin: input.element.component.span\n }\n ] : [\n {\n start: first3.span.start,\n end: first3.span.end,\n content: [propertyContent, firstNonStyle3].filter(Boolean).join(\" \"),\n origin: first3.span\n },\n ...rest3.map((entry) => ({\n start: entry.span.start,\n end: entry.span.end,\n content: spreadReplacement(\"jsx\", entry),\n origin: entry.span\n }))\n ] : compiledPropsEdits(\n input,\n styleEntries,\n propertyContent,\n (entry) => spreadReplacement(input.element.form, entry)\n );\n if (!propsEdits) {\n return bailout(\n input,\n \"local/unsupported-target\",\n `Compiled ${input.element.form} call has no editable props argument`\n );\n }\n return {\n ok: true,\n edits: [\n ...primitiveTagEdits,\n ...propsResult.edits,\n ...propsEdits,\n ...literalEdits\n ],\n css: [],\n imports,\n flattened: true\n };\n }\n const nativeName = component.staticConfig.isText ? \"Text\" : \"View\";\n const useHostView = options.experimentalNativeFastPath && nativeName === \"View\" && isBareHostView(input.element);\n const nativeExport = useHostView ? \"unstable_NativeView\" : nativeName;\n const nativeLocal = unusedIdentifier(\n input.source,\n `__TamaguiNative${useHostView ? \"HostView\" : nativeName}`\n );\n if (themedStyleKeys && options.disablePartialExtraction) {\n return bailout(\n input,\n \"local/dynamic-style-value\",\n \"Theme values require partial extraction, which is disabled\"\n );\n }\n if (dynamicStyleEntries.length > 0 || themedStyleKeys) {\n if (nativeFastPath) {\n const fastLocal = `__TamaguiNativeFast${nativeName}${input.element.span.start}`;\n const tagEdits4 = [\n input.element.component.span,\n input.element.component.closingSpan\n ].filter((span) => !!span).map((span) => ({\n start: span.start,\n end: span.end,\n content: fastLocal,\n origin: span\n }));\n const [first4, ...rest4] = styleEntries;\n const styleEdits = styleEntries.length === 0 ? [] : input.element.form === \"jsx\" ? [\n {\n start: first4.span.start,\n end: first4.span.end,\n content: \"\",\n origin: first4.span\n },\n ...rest4.map((entry) => ({\n start: entry.span.start,\n end: entry.span.end,\n content: \"\",\n origin: entry.span\n }))\n ] : compiledPropsEdits(input, styleEntries, `_expressions: []`);\n if (!styleEdits) {\n return bailout(\n input,\n \"local/unsupported-target\",\n `Compiled ${input.element.form} call has no editable props argument`\n );\n }\n return {\n ok: true,\n edits: [...tagEdits4, ...styleEdits],\n css: [],\n imports: [\n ...nativeStyleImports,\n ...nativeFastPath.imports,\n {\n content: `\nconst ${nativeLocal} = require('react-native').${nativeExport};`,\n origin: input.element.component.span\n },\n {\n content: `\nconst ${fastLocal} = require('@tamagui/core')._withNativeStyle(${nativeLocal}, ${nativeStyleSource}, ${nativeFastPath.mappingLocal});`,\n origin: input.element.component.span\n }\n ],\n flattened: true\n };\n }\n const stableLocal = `__TamaguiStable${nativeName}${input.element.span.start}`;\n const expressions = [];\n const plainDynamicParts = [];\n const conditionalParts = [];\n const conditionalKeys = /* @__PURE__ */ new Set();\n const baseStyleForDiff = staticObject(nativeStyleResolved) ? nativeStyleResolved : {};\n for (const entry of dynamicStyleEntries) {\n if (entry.value.kind === \"conditional\" && directStyleName(entry.name, component) !== \"opacity\") {\n let serializeNativeTree = function(node) {\n if (node.kind === \"leaf\") {\n const diff = leafDiffs.get(node) ?? {};\n return JSON.stringify(diff);\n }\n const index = expressions.length;\n expressions.push(input.source.slice(node.test.start, node.test.end));\n return `expressions[${index}] ? ${serializeNativeTree(node.whenTrue)} : ${serializeNativeTree(node.whenFalse)}`;\n };\n const tree = entry.value.tree;\n const leaves = collectLeaves(tree);\n const leafDiffs = /* @__PURE__ */ new Map();\n for (const leaf of leaves) {\n const { branchCompleteProps } = propsForConditional(entry, leaf.value);\n const branchSplit = resolveSplitStyles(\n branchCompleteProps,\n component.staticConfig,\n cssAnimationDriver,\n component.displayName\n );\n const branchStyle = branchSplit?.viewProps?.style ?? {};\n if (!staticObject(branchStyle)) {\n return bailout(\n input,\n \"local/dynamic-style-value\",\n `Conditional ${entry.name} branch did not resolve to a static native style`,\n entry.value.span\n );\n }\n for (const viewPropsKey of /* @__PURE__ */ new Set([\n ...Object.keys(branchSplit?.viewProps ?? {}),\n ...Object.keys(split.viewProps ?? {})\n ])) {\n if (viewPropsKey === \"style\") continue;\n if (JSON.stringify(branchSplit?.viewProps?.[viewPropsKey]) !== JSON.stringify(split.viewProps?.[viewPropsKey])) {\n return bailout(\n input,\n \"local/dynamic-style-value\",\n `Conditional ${entry.name} branch changes ${viewPropsKey}, which the compiled style array cannot express`,\n entry.value.span\n );\n }\n }\n for (const key of Object.keys(baseStyleForDiff)) {\n if (!(key in branchStyle)) {\n return bailout(\n input,\n \"local/dynamic-style-value\",\n `Conditional ${entry.name} branch removes ${key}, which an additive style array cannot express`,\n entry.value.span\n );\n }\n }\n const diff = {};\n for (const [key, value] of Object.entries(branchStyle)) {\n if (JSON.stringify(baseStyleForDiff[key]) !== JSON.stringify(value)) {\n diff[key] = value;\n }\n }\n if (!isSerializableNativeStyle(diff) || core.containsThemeRef(diff)) {\n return bailout(\n input,\n \"local/dynamic-style-value\",\n `Conditional ${entry.name} branch style is not statically representable`,\n entry.value.span\n );\n }\n for (const key of Object.keys(diff)) {\n if (conditionalKeys.has(key)) {\n return bailout(\n input,\n \"local/dynamic-style-value\",\n `Multiple conditionals contribute ${key}; their interaction cannot be resolved per-branch`,\n entry.value.span\n );\n }\n }\n leafDiffs.set(leaf, diff);\n }\n for (const diff of leafDiffs.values()) {\n for (const key of Object.keys(diff)) conditionalKeys.add(key);\n }\n conditionalParts.push(serializeNativeTree(tree));\n } else {\n const index = expressions.length;\n expressions.push(\n input.source.slice(entry.value.span.start, entry.value.span.end)\n );\n plainDynamicParts.push(\n `${JSON.stringify(directStyleName(entry.name, component))}: expressions[${index}]`\n );\n }\n }\n const dynamicStyle = plainDynamicParts.join(\", \");\n const themedStyle = themedStyleKeys ? Object.entries(themedStyleKeys).map(\n ([styleKey, themeKey]) => `${JSON.stringify(styleKey)}: _theme[${JSON.stringify(themeKey)}]?.get()`\n ).join(\", \") : null;\n const styleParts = [\n nativeStyleSource,\n ...themedStyle ? [`{ ${themedStyle} }`] : [],\n ...conditionalParts,\n ...dynamicStyle ? [`{ ${dynamicStyle} }`] : []\n ];\n const tagEdits3 = [\n input.element.component.span,\n input.element.component.closingSpan\n ].filter((span) => !!span).map((span) => ({\n start: span.start,\n end: span.end,\n content: stableLocal,\n origin: span\n }));\n const [first3, ...rest3] = styleEntries;\n const firstNonStyle3 = first3 ? spreadReplacement(\"jsx\", first3) : \"\";\n const expressionEdits = styleEntries.length === 0 ? [] : input.element.form === \"jsx\" ? [\n {\n start: first3.span.start,\n end: first3.span.end,\n content: [\n expressions.length > 0 ? `_expressions={[${expressions.join(\", \")}]}` : \"\",\n firstNonStyle3\n ].filter(Boolean).join(\" \"),\n origin: first3.span\n },\n ...rest3.map((entry) => ({\n start: entry.span.start,\n end: entry.span.end,\n content: spreadReplacement(\"jsx\", entry),\n origin: entry.span\n }))\n ] : compiledPropsEdits(\n input,\n styleEntries,\n `_expressions: [${expressions.join(\", \")}]`,\n (entry) => spreadReplacement(input.element.form, entry)\n );\n if (!expressionEdits) {\n return bailout(\n input,\n \"local/unsupported-target\",\n `Compiled ${input.element.form} call has no editable props argument`\n );\n }\n return {\n ok: true,\n edits: [...tagEdits3, ...expressionEdits],\n css: [],\n imports: [\n ...nativeStyleImports,\n {\n content: `\nconst ${nativeLocal} = require('react-native').${nativeExport};`,\n origin: input.element.component.span\n },\n {\n content: `\nconst ${stableLocal} = require('@tamagui/core')._withStableStyle(${nativeLocal}, (_theme, expressions) => [${styleParts.join(\", \")}], ${themedStyleKeys ? \"true\" : \"false\"}, false);`,\n origin: input.element.component.span\n }\n ],\n flattened: true\n };\n }\n const styleContent = `style: ${nativeStyleSource}`;\n const tagEdits2 = [\n input.element.component.span,\n input.element.component.closingSpan\n ].filter((span) => !!span).map((span) => ({\n start: span.start,\n end: span.end,\n content: nativeLocal,\n origin: span\n }));\n if (input.element.form !== \"jsx\") {\n const propsEdits = compiledPropsEdits(\n input,\n styleEntries,\n styleContent,\n (entry) => spreadReplacement(input.element.form, entry)\n );\n if (!propsEdits) {\n return bailout(\n input,\n \"local/unsupported-target\",\n `Compiled ${input.element.form} call has no editable props argument`\n );\n }\n return {\n ok: true,\n edits: [...tagEdits2, ...propsEdits],\n css: [],\n imports: [\n ...nativeStyleImports,\n {\n content: `\nconst ${nativeLocal} = require('react-native').${nativeExport};`,\n origin: input.element.component.span\n }\n ],\n flattened: true\n };\n }\n if (styleEntries.length === 0) {\n return {\n ok: true,\n edits: [\n ...tagEdits2,\n {\n start: input.element.component.span.end,\n end: input.element.component.span.end,\n content: ` style={${nativeStyleSource}}`,\n origin: input.element.component.span\n }\n ],\n css: [],\n imports: [\n ...nativeStyleImports,\n {\n content: `\nconst ${nativeLocal} = require('react-native').${nativeExport};`,\n origin: input.element.component.span\n }\n ],\n flattened: true\n };\n }\n const [first2, ...rest2] = styleEntries;\n const firstNonStyle2 = first2 ? spreadReplacement(\"jsx\", first2) : \"\";\n return {\n ok: true,\n edits: [\n ...tagEdits2,\n ...webPropEdits,\n {\n start: first2.span.start,\n end: first2.span.end,\n content: [`style={${nativeStyleSource}}`, firstNonStyle2].filter(Boolean).join(\" \"),\n origin: first2.span\n },\n ...rest2.map((entry) => ({\n start: entry.span.start,\n end: entry.span.end,\n content: spreadReplacement(\"jsx\", entry),\n origin: entry.span\n }))\n ],\n css: [],\n imports: [\n ...nativeStyleImports,\n {\n content: `\nconst ${nativeLocal} = require('react-native').${nativeExport};`,\n origin: input.element.component.span\n }\n ],\n flattened: true\n };\n }\n const artifacts = extractedStyleArtifacts(\n split,\n props,\n options.tamaguiConfig,\n !component.domTag,\n Boolean(component.staticConfig.styleFrontend)\n );\n const className = artifacts.className;\n const rawInlineStyle = split.viewProps?.style;\n const inlineStyle = staticObject(rawInlineStyle) && Object.keys(rawInlineStyle).length > 0 ? rawInlineStyle : null;\n if (rawInlineStyle && !inlineStyle && !isSerializableNativeStyle(rawInlineStyle)) {\n return bailout(\n input,\n \"local/unsupported-target\",\n \"Web inline style output is not a static serializable value\"\n );\n }\n const programCSS = [];\n const programClassSources = [];\n if (domStyleProgram?.kind === \"prop\" && domStyleProgram.value.kind === \"dom-style\") {\n for (const item of domStyleProgram.value.items) {\n if (item.value.kind !== \"static\" || !staticObject(item.value.value)) {\n return bailout(\n input,\n \"local/dynamic-style-value\",\n \"Every style() handle in a style array must be statically evaluable\",\n item.value.span\n );\n }\n const itemSplit = resolveSplitStyles(\n item.value.value,\n partialStaticConfig(component.staticConfig)\n );\n if (!itemSplit) {\n return bailout(\n input,\n \"local/style-resolution-failed\",\n \"A style() handle could not be resolved\",\n item.value.span\n );\n }\n const itemInline = itemSplit.viewProps?.style;\n if (staticObject(itemInline) && Object.keys(itemInline).length > 0) {\n return bailout(\n input,\n \"local/unsupported-target\",\n \"Conditional web style() handles must lower to CSS classes\",\n item.value.span\n );\n }\n const itemArtifacts = extractedStyleArtifacts(\n itemSplit,\n item.value.value,\n options.tamaguiConfig,\n false\n );\n programCSS.push(...itemArtifacts.css);\n if (itemArtifacts.className) {\n const condition = item.condition ? input.source.slice(item.condition.start, item.condition.end) : null;\n programClassSources.push(\n condition ? `(${condition}) && ${JSON.stringify(itemArtifacts.className)}` : JSON.stringify(itemArtifacts.className)\n );\n }\n }\n }\n const baseStaticClasses = new Set(className.split(\" \").filter(Boolean));\n const staticClasses = new Set(baseStaticClasses);\n const webConditionalCSS = [];\n const webConditionalKeys = /* @__PURE__ */ new Set();\n const webConditionalEntries = supportsWebConditionalClasses ? dynamicStyleEntries.filter((entry) => entry.value.kind === \"conditional\") : [];\n for (const entry of webConditionalEntries) {\n let serializeWebTree = function(node) {\n if (node.kind === \"leaf\") {\n const artifacts2 = leafArtifactsMap.get(node);\n const only = artifacts2 ? artifacts2.classes.filter((item) => !sharedInConditional.has(item)) : [];\n return JSON.stringify(only.join(\" \"));\n }\n const test = input.source.slice(node.test.start, node.test.end);\n const truePart = serializeWebTree(node.whenTrue);\n const falsePart = serializeWebTree(node.whenFalse);\n return `(${test}) ? ${truePart} : ${falsePart}`;\n };\n if (entry.value.kind !== \"conditional\") continue;\n const tree = entry.value.tree;\n const leaves = collectLeaves(tree);\n const leafArtifactsMap = /* @__PURE__ */ new Map();\n const entryConditionalKeys = /* @__PURE__ */ new Set();\n for (const leaf of leaves) {\n const { branchProps, branchCompleteProps } = propsForConditional(\n entry,\n leaf.value\n );\n const branchSplit = resolveSplitStyles(\n branchCompleteProps,\n component.staticConfig,\n cssAnimationDriver,\n component.displayName\n );\n if (!branchSplit) {\n return bailout(\n input,\n \"local/dynamic-style-value\",\n `Conditional ${entry.name} branch could not be resolved`,\n entry.value.span\n );\n }\n for (const viewPropsKey of /* @__PURE__ */ new Set([\n ...Object.keys(branchSplit.viewProps ?? {}),\n ...Object.keys(split.viewProps ?? {})\n ])) {\n if (viewPropsKey === \"className\") continue;\n if (JSON.stringify(branchSplit.viewProps?.[viewPropsKey]) !== JSON.stringify(split.viewProps?.[viewPropsKey])) {\n return bailout(\n input,\n \"local/dynamic-style-value\",\n `Conditional ${entry.name} branch changes ${viewPropsKey}, which conditional classes cannot express`,\n entry.value.span\n );\n }\n }\n const changedKeys = /* @__PURE__ */ new Set();\n for (const key of /* @__PURE__ */ new Set([\n ...Object.keys(branchSplit.classNames ?? {}),\n ...Object.keys(split.classNames ?? {})\n ])) {\n if (JSON.stringify(branchSplit.classNames?.[key]) !== JSON.stringify(split.classNames?.[key])) {\n changedKeys.add(key);\n }\n }\n const branchStyle = branchSplit.viewProps?.style;\n const baseStyle = split.viewProps?.style;\n if (staticObject(branchStyle) || staticObject(baseStyle)) {\n for (const key of /* @__PURE__ */ new Set([\n ...Object.keys(staticObject(branchStyle) ? branchStyle : {}),\n ...Object.keys(staticObject(baseStyle) ? baseStyle : {})\n ])) {\n if (JSON.stringify(\n staticObject(branchStyle) ? branchStyle[key] : void 0\n ) !== JSON.stringify(staticObject(baseStyle) ? baseStyle[key] : void 0)) {\n changedKeys.add(key);\n }\n }\n }\n for (const key of changedKeys) {\n if (webConditionalKeys.has(key)) {\n return bailout(\n input,\n \"local/dynamic-style-value\",\n `Multiple conditionals contribute ${key}; their interaction cannot be resolved per-branch`,\n entry.value.span\n );\n }\n entryConditionalKeys.add(key);\n }\n const branchArtifacts = extractedStyleArtifacts(\n branchSplit,\n branchProps,\n options.tamaguiConfig,\n !component.domTag,\n Boolean(component.staticConfig.styleFrontend)\n );\n leafArtifactsMap.set(leaf, {\n classes: branchArtifacts.className.split(\" \").filter(Boolean),\n css: branchArtifacts.css\n });\n }\n for (const key of entryConditionalKeys) webConditionalKeys.add(key);\n for (const artifacts2 of leafArtifactsMap.values()) {\n webConditionalCSS.push(...artifacts2.css);\n }\n const allLeafArtifacts = leaves.map((l) => leafArtifactsMap.get(l));\n const sharedInConditional = new Set(\n allLeafArtifacts[0]?.classes.filter(\n (c) => allLeafArtifacts.every((a) => a.classes.includes(c))\n ) ?? []\n );\n for (const cls of baseStaticClasses) {\n if (!sharedInConditional.has(cls)) staticClasses.delete(cls);\n }\n for (const cls of sharedInConditional) {\n if (!baseStaticClasses.has(cls)) staticClasses.add(cls);\n }\n const classExpr = serializeWebTree(tree);\n programClassSources.push(classExpr);\n }\n const webClassName = [...staticClasses].join(\" \");\n const hasStyleProgram = programClassSources.length > 0;\n const classNameExpression = hasStyleProgram ? `[${[JSON.stringify(webClassName), ...programClassSources].join(\", \")}].filter(Boolean).join(\" \")` : null;\n const serializedInlineStyle = serializedStyle(\n inlineStyle,\n dynamicHostStyleProperties ?? []\n );\n const jsxWebStyle = classNameExpression ? [\n `className={${classNameExpression}}`,\n serializedInlineStyle ? `style={${serializedInlineStyle}}` : \"\"\n ].filter(Boolean).join(\" \") : jsxStyleAttributes(webClassName, inlineStyle, dynamicHostStyleProperties ?? []);\n const objectWebStyle = classNameExpression ? [\n `className: ${classNameExpression}`,\n serializedInlineStyle ? `style: ${serializedInlineStyle}` : \"\"\n ].filter(Boolean).join(\", \") : objectStyleProperties(\n webClassName,\n inlineStyle,\n dynamicHostStyleProperties ?? []\n );\n const webCSS = [.../* @__PURE__ */ new Set([...artifacts.css, ...programCSS, ...webConditionalCSS])];\n const webExtraProps = serializedProps(input.element.form, webDOMResult.additions);\n if (input.element.form !== \"jsx\") {\n const replacement = [objectWebStyle, webExtraProps].filter(Boolean).join(\", \");\n const propsEdits = compiledPropsEdits(\n input,\n styleEntries,\n replacement,\n (entry) => spreadReplacement(input.element.form, entry)\n );\n if (!propsEdits) {\n return bailout(\n input,\n \"local/unsupported-target\",\n `Compiled ${input.element.form} call has no editable props argument`\n );\n }\n return {\n ok: true,\n edits: [...tagEdits, ...webPropEdits, ...propsEdits],\n css: webCSS,\n imports: [],\n flattened: true\n };\n }\n if (styleEntries.length === 0) {\n const attributes2 = [jsxWebStyle, webExtraProps].filter(Boolean).join(\" \");\n return {\n ok: true,\n edits: attributes2 ? [\n ...tagEdits,\n ...webPropEdits,\n {\n start: input.element.component.span.end,\n end: input.element.component.span.end,\n content: ` ${attributes2}`,\n origin: input.element.component.span\n }\n ] : [...tagEdits, ...webPropEdits],\n css: webCSS,\n imports: [],\n flattened: true\n };\n }\n const [first, ...rest] = styleEntries;\n const firstNonStyle = first ? spreadReplacement(\"jsx\", first) : \"\";\n const attributes = [jsxWebStyle, webExtraProps, firstNonStyle].filter(Boolean).join(\" \");\n return {\n ok: true,\n edits: [\n ...tagEdits,\n ...webPropEdits,\n {\n start: first.span.start,\n end: first.span.end,\n content: attributes,\n origin: first.span\n },\n ...rest.map((entry) => ({\n start: entry.span.start,\n end: entry.span.end,\n content: spreadReplacement(\"jsx\", entry),\n origin: entry.span\n }))\n ],\n css: webCSS,\n imports: [],\n flattened: true\n };\n }\n };\n}\nfunction bailout(input, code, message, span = input.element.span, zero) {\n return {\n ok: false,\n bailout: {\n code,\n kind: \"local\",\n message,\n span,\n component: input.element.component.name,\n ...zero && { zeroRule: zero.rule, zeroMessage: zero.message }\n }\n };\n}\nexport {\n createTamaguiCompilerHost\n};\n//# sourceMappingURL=compilerHost.js.map\n"],"mappings":";;;;;;;;;AAmCA,MAAM,gCAAgC,IAAI,IAAI;CAC5C;CACA;CACA;CACA;CACA;AACF,CAAC;AACD,MAAM,iBAAiB;CACrB,OAAO;CACP,cAAc;CACd,aAAa;CACb,OAAO;CACP,WAAW;CACX,OAAO;CACP,SAAS;CACT,UAAU;AACZ;AACA,SAAS,aAAa,OAAO;CAC3B,OAAO,CAAC,CAAC,SAAS,OAAO,UAAU,YAAY,CAAC,MAAM,QAAQ,KAAK;AACrE;AACA,MAAM,oBAAoB;AAC1B,MAAM,gCAAgC;AACtC,MAAM,8BAA8B;AACpC,MAAM,mDAAmD,IAAI,IAAI,CAAC,YAAY,CAAC;AAC/E,SAAS,aAAa,YAAY,YAAY;CAC5C,OAAO,GAAG,WAAW,GAAG;AAC1B;AACA,SAAS,aAAa,OAAO;CAC3B,OAAO,OAAO,OAAO,KAAK,CAAC,CAAC,SAAS,gBAAgB;EACnD,MAAM,aAAa,cAAc;EACjC,MAAM,aAAa,cAAc;EACjC,OAAO,cAAc,MAAM,QAAQ,UAAU,IAAI,aAAa,CAAC;CACjE,CAAC;AACH;AACA,SAAS,aAAa,OAAO;CAC3B,OAAO,aAAa,KAAK,UAAU,KAAK;AAC1C;AACA,SAAS,gBAAgB,OAAO;CAC9B,OAAO,cAAc,KAAK,UAAU,KAAK;AAC3C;AACA,SAAS,gBAAgB,OAAO,mBAAmB;CACjD,IAAI,kBAAkB,WAAW,GAAG,OAAO,QAAQ,KAAK,UAAU,KAAK,IAAI;CAC3E,OAAO,KAAK,CACV,GAAG,QAAQ,OAAO,QAAQ,KAAK,CAAC,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AK,GAAG;EACxE,MAAM,WAAW,OAAO,GAAG,CAAC,CAAC;EAC7B,IAAI,YAAY,KAAK,SAAS,SAAS,OAAO,CAAC,SAAS,WAAW,CAAC,KAAK,SAAS;GAChF,SAAS,MAAM,KAAK,IAAI,SAAS,KAAK,KAAK,GAAG;EAChD,OAAO;GACL,OAAO,KAAK,IAAI;EAClB;CACF;CACA,OAAO;AACT;AACA,MAAM,qCAAqC,IAAI,IAAI;CACjD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AACD,MAAM,wCAAwC,IAAI,IAAI;CACpD;CACA;CACA;CACA;CACA;AACF,CAAC;AACD,MAAM,wBAAwB;CAC5B,YAAY;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,WAAW;EAAC;EAAkB;EAAkB;CAAgB;CAChE,aAAa;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,cAAc;EAAC;EAAqB;EAAqB;CAAmB;CAC5E,YAAY;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,aAAa;EACX;EACA;EACA;EACA;EACA;CACF;CACA,SAAS;EAAC;EAAgB;EAAgB;CAAc;CACxD,KAAK,CAAC,aAAa,QAAQ;CAC3B,YAAY,CAAC,iBAAiB,iBAAiB;CAC/C,SAAS,CAAC,cAAc,cAAc;CACtC,cAAc;EACZ;EACA;EACA;EACA;EACA;EACA;CACF;CACA,eAAe;EACb;EACA;EACA;EACA;EACA;EACA;CACF;CACA,aAAa;EAAC;EAAkB;EAAoB;EAAO;EAAS;EAAQ;CAAO;CACnF,mBAAmB;EACjB;EACA;EACA;EACA;EACA;EACA;CACF;CACA,mBAAmB;EACjB;EACA;EACA;EACA;EACA;EACA;CACF;CACA,mBAAmB;EACjB;EACA;EACA;EACA;EACA;EACA;CACF;CACA,MAAM;EACJ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,YAAY;EACV;EACA;EACA;EACA;EACA;EACA;CACF;AACF;AACA,MAAM,sBAAsB;iBACV,IAAI,IAAI;EACtB;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;iBACe,IAAI,IAAI;EACtB;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;iBACe,IAAI,IAAI;EACtB;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;iBACe,IAAI,IAAI;EACtB;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;iBACe,IAAI,IAAI;EACtB;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;iBACe,IAAI,IAAI;EACtB;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;AACH;AACA,SAAS,kBAAkB,MAAM,OAAO;CACtC,KAAK,MAAM,aAAa,MAAM;EAC5B,KAAK,MAAM,cAAc,OAAO;GAC9B,IAAI,cAAc,cAAc,sBAAsB,UAAU,EAAE,SAAS,UAAU,KAAK,sBAAsB,WAAW,EAAE,SAAS,SAAS,KAAK,oBAAoB,MACrK,WAAW,OAAO,IAAI,SAAS,KAAK,OAAO,IAAI,UAAU,CAC5D,GAAG;IACD,OAAO;GACT;EACF;CACF;CACA,OAAO;AACT;AACA,MAAM,oCAAoC,IAAI,IAAI;CAChD;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AACD,MAAM,uBAAuB,IAAI,IAC/B,OAAO,QAAQ,UAAU,CAAC,CAAC,QACxB,CAAC,MAAM,SAAS,IAAI,WAAW,UAAU,IAAI,cAAc,IAAI,eAAe,QAAQ,IAAI,cAAc,cAC3G,CAAC,CAAC,KAA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