@tamagui/static 2.7.7 → 3.0.0-beta.643.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.
Files changed (329) hide show
  1. package/dist/cjs/check-dep-versions.cjs +355 -0
  2. package/dist/cjs/checkDeps.cjs +302 -0
  3. package/dist/cjs/compiler.cjs +286 -0
  4. package/dist/cjs/compilerHost.cjs +1695 -0
  5. package/dist/cjs/constants.cjs +33 -0
  6. package/dist/cjs/domStructuralPass.cjs +112 -0
  7. package/dist/cjs/exports.cjs +42 -0
  8. package/dist/cjs/extractor/addLocalExports.cjs +64 -0
  9. package/dist/cjs/extractor/bundle.cjs +203 -0
  10. package/dist/cjs/extractor/bundleConfig.cjs +747 -0
  11. package/dist/cjs/extractor/concatClassName.cjs +117 -0
  12. package/dist/cjs/extractor/detectModuleFormat.cjs +54 -0
  13. package/dist/cjs/extractor/esbuildAliasPlugin.cjs +47 -0
  14. package/dist/cjs/extractor/esbuildTsconfigPaths.cjs +92 -0
  15. package/dist/cjs/extractor/getTamaguiConfigPathFromOptionsConfig.cjs +38 -0
  16. package/dist/cjs/extractor/loadTamagui.cjs +344 -0
  17. package/dist/cjs/extractor/regenerateConfig.cjs +161 -0
  18. package/dist/cjs/extractor/watchTamaguiConfig.cjs +64 -0
  19. package/dist/cjs/getPragmaOptions.cjs +67 -0
  20. package/dist/cjs/helpers/memoize.cjs +42 -0
  21. package/dist/cjs/helpers/requireTamaguiCore.cjs +40 -0
  22. package/dist/cjs/index.cjs +34 -0
  23. package/dist/cjs/registerRequire.cjs +220 -0
  24. package/dist/cjs/server.cjs +66 -0
  25. package/dist/cjs/staticEvaluationIgnoredModules.cjs +86 -0
  26. package/dist/cjs/types.cjs +17 -0
  27. package/dist/cjs/zero/artifact.cjs +145 -0
  28. package/dist/cjs/zero/graph.cjs +209 -0
  29. package/dist/cjs/zero/identity.cjs +61 -0
  30. package/dist/cjs/zero/index.cjs +26 -0
  31. package/dist/cjs/zero/islands.cjs +232 -0
  32. package/dist/cjs/zero/options.cjs +163 -0
  33. package/dist/cjs/zero/ownership.cjs +79 -0
  34. package/dist/cjs/zero/theme.cjs +328 -0
  35. package/dist/cjs/zero/transform.cjs +203 -0
  36. package/dist/esm/check-dep-versions.mjs +329 -0
  37. package/dist/esm/check-dep-versions.mjs.map +1 -0
  38. package/dist/esm/checkDeps.mjs +279 -0
  39. package/dist/esm/checkDeps.mjs.map +1 -0
  40. package/dist/esm/compiler.mjs +255 -0
  41. package/dist/esm/compiler.mjs.map +1 -0
  42. package/dist/esm/compilerHost.mjs +1675 -0
  43. package/dist/esm/compilerHost.mjs.map +1 -0
  44. package/dist/esm/constants.mjs +7 -0
  45. package/dist/esm/constants.mjs.map +1 -0
  46. package/dist/esm/domStructuralPass.mjs +92 -0
  47. package/dist/esm/domStructuralPass.mjs.map +1 -0
  48. package/dist/esm/exports.mjs +26 -0
  49. package/dist/esm/extractor/addLocalExports.mjs +44 -0
  50. package/dist/esm/extractor/addLocalExports.mjs.map +1 -0
  51. package/dist/esm/extractor/bundle.mjs +173 -0
  52. package/dist/esm/extractor/bundle.mjs.map +1 -0
  53. package/dist/esm/extractor/bundleConfig.mjs +706 -0
  54. package/dist/esm/extractor/bundleConfig.mjs.map +1 -0
  55. package/dist/esm/extractor/concatClassName.mjs +96 -0
  56. package/dist/esm/extractor/concatClassName.mjs.map +1 -0
  57. package/dist/esm/extractor/detectModuleFormat.mjs +31 -0
  58. package/dist/esm/extractor/detectModuleFormat.mjs.map +1 -0
  59. package/dist/esm/extractor/esbuildAliasPlugin.mjs +26 -0
  60. package/dist/esm/extractor/esbuildAliasPlugin.mjs.map +1 -0
  61. package/dist/esm/extractor/esbuildTsconfigPaths.mjs +63 -0
  62. package/dist/esm/extractor/esbuildTsconfigPaths.mjs.map +1 -0
  63. package/dist/esm/extractor/getTamaguiConfigPathFromOptionsConfig.mjs +18 -0
  64. package/dist/esm/extractor/getTamaguiConfigPathFromOptionsConfig.mjs.map +1 -0
  65. package/dist/esm/extractor/loadTamagui.mjs +306 -0
  66. package/dist/esm/extractor/loadTamagui.mjs.map +1 -0
  67. package/dist/esm/extractor/regenerateConfig.mjs +131 -0
  68. package/dist/esm/extractor/regenerateConfig.mjs.map +1 -0
  69. package/dist/esm/extractor/watchTamaguiConfig.mjs +43 -0
  70. package/dist/esm/extractor/watchTamaguiConfig.mjs.map +1 -0
  71. package/dist/esm/getPragmaOptions.mjs +46 -0
  72. package/dist/esm/getPragmaOptions.mjs.map +1 -0
  73. package/dist/esm/helpers/memoize.mjs +21 -0
  74. package/dist/esm/helpers/memoize.mjs.map +1 -0
  75. package/dist/esm/helpers/requireTamaguiCore.mjs +19 -0
  76. package/dist/esm/helpers/requireTamaguiCore.mjs.map +1 -0
  77. package/dist/esm/index.mjs +8 -0
  78. package/dist/esm/index.mjs.map +1 -0
  79. package/dist/esm/registerRequire.mjs +195 -0
  80. package/dist/esm/registerRequire.mjs.map +1 -0
  81. package/dist/esm/server.mjs +40 -0
  82. package/dist/esm/server.mjs.map +1 -0
  83. package/dist/esm/setup.mjs +0 -0
  84. package/dist/esm/staticEvaluationIgnoredModules.mjs +61 -0
  85. package/dist/esm/staticEvaluationIgnoredModules.mjs.map +1 -0
  86. package/dist/esm/types.mjs +0 -0
  87. package/dist/esm/zero/artifact.mjs +119 -0
  88. package/dist/esm/zero/artifact.mjs.map +1 -0
  89. package/dist/esm/zero/graph.mjs +170 -0
  90. package/dist/esm/zero/graph.mjs.map +1 -0
  91. package/dist/esm/zero/identity.mjs +36 -0
  92. package/dist/esm/zero/identity.mjs.map +1 -0
  93. package/dist/esm/zero/index.mjs +15 -0
  94. package/dist/esm/zero/islands.mjs +197 -0
  95. package/dist/esm/zero/islands.mjs.map +1 -0
  96. package/dist/esm/zero/options.mjs +129 -0
  97. package/dist/esm/zero/options.mjs.map +1 -0
  98. package/dist/esm/zero/ownership.mjs +48 -0
  99. package/dist/esm/zero/ownership.mjs.map +1 -0
  100. package/dist/esm/zero/theme.mjs +303 -0
  101. package/dist/esm/zero/theme.mjs.map +1 -0
  102. package/dist/esm/zero/transform.mjs +177 -0
  103. package/dist/esm/zero/transform.mjs.map +1 -0
  104. package/package.json +33 -43
  105. package/src/check-dep-versions.ts +2 -2
  106. package/src/checkDeps.ts +3 -2
  107. package/src/compiler.ts +425 -0
  108. package/src/compilerHost.ts +3125 -0
  109. package/src/constants.ts +0 -5
  110. package/src/domStructuralPass.ts +170 -0
  111. package/src/exports.ts +3 -6
  112. package/src/extractor/addLocalExports.ts +49 -0
  113. package/src/extractor/bundle.ts +20 -35
  114. package/src/extractor/bundleConfig.ts +334 -187
  115. package/src/extractor/concatClassName.ts +13 -20
  116. package/src/extractor/getTamaguiConfigPathFromOptionsConfig.ts +5 -4
  117. package/src/extractor/loadTamagui.ts +196 -143
  118. package/src/extractor/regenerateConfig.ts +65 -13
  119. package/src/extractor/watchTamaguiConfig.ts +6 -1
  120. package/src/helpers/requireTamaguiCore.ts +6 -1
  121. package/src/registerRequire.ts +94 -132
  122. package/src/staticEvaluationIgnoredModules.ts +74 -0
  123. package/src/types.ts +2 -107
  124. package/src/zero/artifact.ts +142 -0
  125. package/src/zero/graph.ts +359 -0
  126. package/src/zero/identity.ts +73 -0
  127. package/src/zero/index.ts +8 -0
  128. package/src/zero/islands.ts +262 -0
  129. package/src/zero/options.ts +239 -0
  130. package/src/zero/ownership.ts +113 -0
  131. package/src/zero/theme.ts +478 -0
  132. package/src/zero/transform.ts +320 -0
  133. package/types/check-dep-versions.d.ts.map +1 -1
  134. package/types/checkDeps.d.ts.map +1 -1
  135. package/types/compiler.d.ts +117 -0
  136. package/types/compiler.d.ts.map +1 -0
  137. package/types/compilerHost.d.ts +25 -0
  138. package/types/compilerHost.d.ts.map +1 -0
  139. package/types/constants.d.ts +0 -1
  140. package/types/constants.d.ts.map +1 -1
  141. package/types/domStructuralPass.d.ts +3 -0
  142. package/types/domStructuralPass.d.ts.map +1 -0
  143. package/types/exports.d.ts +3 -6
  144. package/types/exports.d.ts.map +1 -1
  145. package/types/extractor/addLocalExports.d.ts +3 -0
  146. package/types/extractor/addLocalExports.d.ts.map +1 -0
  147. package/types/extractor/bundle.d.ts +66 -65
  148. package/types/extractor/bundle.d.ts.map +1 -1
  149. package/types/extractor/bundleConfig.d.ts +19 -4
  150. package/types/extractor/bundleConfig.d.ts.map +1 -1
  151. package/types/extractor/esbuildAliasPlugin.d.ts.map +1 -1
  152. package/types/extractor/getTamaguiConfigPathFromOptionsConfig.d.ts +1 -1
  153. package/types/extractor/getTamaguiConfigPathFromOptionsConfig.d.ts.map +1 -1
  154. package/types/extractor/loadTamagui.d.ts +26 -3
  155. package/types/extractor/loadTamagui.d.ts.map +1 -1
  156. package/types/extractor/regenerateConfig.d.ts +1 -1
  157. package/types/extractor/regenerateConfig.d.ts.map +1 -1
  158. package/types/extractor/watchTamaguiConfig.d.ts.map +1 -1
  159. package/types/getPragmaOptions.d.ts +1 -1
  160. package/types/helpers/memoize.d.ts +1 -1
  161. package/types/helpers/memoize.d.ts.map +1 -1
  162. package/types/helpers/requireTamaguiCore.d.ts.map +1 -1
  163. package/types/index.d.ts.map +1 -1
  164. package/types/registerRequire.d.ts +2 -2
  165. package/types/registerRequire.d.ts.map +1 -1
  166. package/types/staticEvaluationIgnoredModules.d.ts +9 -0
  167. package/types/staticEvaluationIgnoredModules.d.ts.map +1 -0
  168. package/types/types.d.ts +2 -90
  169. package/types/types.d.ts.map +1 -1
  170. package/types/zero/artifact.d.ts +44 -0
  171. package/types/zero/artifact.d.ts.map +1 -0
  172. package/types/zero/graph.d.ts +139 -0
  173. package/types/zero/graph.d.ts.map +1 -0
  174. package/types/zero/identity.d.ts +33 -0
  175. package/types/zero/identity.d.ts.map +1 -0
  176. package/types/zero/index.d.ts +9 -0
  177. package/types/zero/index.d.ts.map +1 -0
  178. package/types/zero/islands.d.ts +56 -0
  179. package/types/zero/islands.d.ts.map +1 -0
  180. package/types/zero/options.d.ts +58 -0
  181. package/types/zero/options.d.ts.map +1 -0
  182. package/types/zero/ownership.d.ts +51 -0
  183. package/types/zero/ownership.d.ts.map +1 -0
  184. package/types/zero/theme.d.ts +83 -0
  185. package/types/zero/theme.d.ts.map +1 -0
  186. package/types/zero/transform.d.ts +53 -0
  187. package/types/zero/transform.d.ts.map +1 -0
  188. package/dist/check-dep-versions.cjs +0 -372
  189. package/dist/checkDeps.cjs +0 -271
  190. package/dist/constants.cjs +0 -51
  191. package/dist/exports.cjs +0 -48
  192. package/dist/extractor/accessSafe.cjs +0 -48
  193. package/dist/extractor/babelParse.cjs +0 -56
  194. package/dist/extractor/buildClassName.cjs +0 -86
  195. package/dist/extractor/bundle.cjs +0 -234
  196. package/dist/extractor/bundleConfig.cjs +0 -729
  197. package/dist/extractor/concatClassName.cjs +0 -129
  198. package/dist/extractor/createEvaluator.cjs +0 -88
  199. package/dist/extractor/createExtractor.cjs +0 -1968
  200. package/dist/extractor/createLogger.cjs +0 -50
  201. package/dist/extractor/detectModuleFormat.cjs +0 -55
  202. package/dist/extractor/ensureImportingConcat.cjs +0 -54
  203. package/dist/extractor/errors.cjs +0 -28
  204. package/dist/extractor/esbuildAliasPlugin.cjs +0 -56
  205. package/dist/extractor/esbuildTsconfigPaths.cjs +0 -108
  206. package/dist/extractor/evaluateAstNode.cjs +0 -128
  207. package/dist/extractor/extractHelpers.cjs +0 -182
  208. package/dist/extractor/extractMediaStyle.cjs +0 -169
  209. package/dist/extractor/extractToClassNames.cjs +0 -475
  210. package/dist/extractor/extractToNative.cjs +0 -369
  211. package/dist/extractor/findTopmostFunction.cjs +0 -43
  212. package/dist/extractor/generatedUid.cjs +0 -58
  213. package/dist/extractor/getPrefixLogs.cjs +0 -31
  214. package/dist/extractor/getPropValueFromAttributes.cjs +0 -85
  215. package/dist/extractor/getSourceModule.cjs +0 -100
  216. package/dist/extractor/getStaticBindingsForScope.cjs +0 -213
  217. package/dist/extractor/getTamaguiConfigPathFromOptionsConfig.cjs +0 -41
  218. package/dist/extractor/hasTopLevelAwait.cjs +0 -62
  219. package/dist/extractor/hoistClassNames.cjs +0 -76
  220. package/dist/extractor/literalToAst.cjs +0 -109
  221. package/dist/extractor/loadFile.cjs +0 -17
  222. package/dist/extractor/loadTamagui.cjs +0 -373
  223. package/dist/extractor/logLines.cjs +0 -43
  224. package/dist/extractor/normalizeTernaries.cjs +0 -100
  225. package/dist/extractor/propsToFontFamilyCache.cjs +0 -42
  226. package/dist/extractor/regenerateConfig.cjs +0 -178
  227. package/dist/extractor/removeUnusedHooks.cjs +0 -108
  228. package/dist/extractor/timer.cjs +0 -52
  229. package/dist/extractor/validHTMLAttributes.cjs +0 -79
  230. package/dist/extractor/watchTamaguiConfig.cjs +0 -70
  231. package/dist/getPragmaOptions.cjs +0 -73
  232. package/dist/helpers/memoize.cjs +0 -45
  233. package/dist/helpers/requireTamaguiCore.cjs +0 -40
  234. package/dist/index.cjs +0 -42
  235. package/dist/registerRequire.cjs +0 -209
  236. package/dist/server.cjs +0 -82
  237. package/dist/types.cjs +0 -18
  238. package/dist/worker.cjs +0 -111
  239. package/src/extractor/accessSafe.ts +0 -22
  240. package/src/extractor/babelParse.ts +0 -38
  241. package/src/extractor/buildClassName.ts +0 -76
  242. package/src/extractor/createEvaluator.ts +0 -82
  243. package/src/extractor/createExtractor.ts +0 -2970
  244. package/src/extractor/createLogger.ts +0 -41
  245. package/src/extractor/ensureImportingConcat.ts +0 -36
  246. package/src/extractor/errors.ts +0 -1
  247. package/src/extractor/evaluateAstNode.ts +0 -136
  248. package/src/extractor/extractHelpers.ts +0 -211
  249. package/src/extractor/extractMediaStyle.ts +0 -194
  250. package/src/extractor/extractToClassNames.ts +0 -733
  251. package/src/extractor/extractToNative.ts +0 -506
  252. package/src/extractor/findTopmostFunction.ts +0 -24
  253. package/src/extractor/generatedUid.ts +0 -41
  254. package/src/extractor/getPrefixLogs.ts +0 -9
  255. package/src/extractor/getPropValueFromAttributes.ts +0 -95
  256. package/src/extractor/getSourceModule.ts +0 -96
  257. package/src/extractor/getStaticBindingsForScope.ts +0 -237
  258. package/src/extractor/hasTopLevelAwait.ts +0 -28
  259. package/src/extractor/hoistClassNames.ts +0 -52
  260. package/src/extractor/literalToAst.ts +0 -85
  261. package/src/extractor/loadFile.ts +0 -17
  262. package/src/extractor/logLines.ts +0 -16
  263. package/src/extractor/normalizeTernaries.ts +0 -89
  264. package/src/extractor/propsToFontFamilyCache.ts +0 -18
  265. package/src/extractor/removeUnusedHooks.ts +0 -83
  266. package/src/extractor/timer.ts +0 -25
  267. package/src/extractor/validHTMLAttributes.ts +0 -52
  268. package/src/worker.ts +0 -142
  269. package/types/extractor/accessSafe.d.ts +0 -3
  270. package/types/extractor/accessSafe.d.ts.map +0 -1
  271. package/types/extractor/babelParse.d.ts +0 -5
  272. package/types/extractor/babelParse.d.ts.map +0 -1
  273. package/types/extractor/buildClassName.d.ts +0 -7
  274. package/types/extractor/buildClassName.d.ts.map +0 -1
  275. package/types/extractor/createEvaluator.d.ts +0 -12
  276. package/types/extractor/createEvaluator.d.ts.map +0 -1
  277. package/types/extractor/createExtractor.d.ts +0 -32
  278. package/types/extractor/createExtractor.d.ts.map +0 -1
  279. package/types/extractor/createLogger.d.ts +0 -3
  280. package/types/extractor/createLogger.d.ts.map +0 -1
  281. package/types/extractor/ensureImportingConcat.d.ts +0 -4
  282. package/types/extractor/ensureImportingConcat.d.ts.map +0 -1
  283. package/types/extractor/errors.d.ts +0 -3
  284. package/types/extractor/errors.d.ts.map +0 -1
  285. package/types/extractor/evaluateAstNode.d.ts +0 -3
  286. package/types/extractor/evaluateAstNode.d.ts.map +0 -1
  287. package/types/extractor/extractHelpers.d.ts +0 -28
  288. package/types/extractor/extractHelpers.d.ts.map +0 -1
  289. package/types/extractor/extractMediaStyle.d.ts +0 -11
  290. package/types/extractor/extractMediaStyle.d.ts.map +0 -1
  291. package/types/extractor/extractToClassNames.d.ts +0 -25
  292. package/types/extractor/extractToClassNames.d.ts.map +0 -1
  293. package/types/extractor/extractToNative.d.ts +0 -13
  294. package/types/extractor/extractToNative.d.ts.map +0 -1
  295. package/types/extractor/findTopmostFunction.d.ts +0 -4
  296. package/types/extractor/findTopmostFunction.d.ts.map +0 -1
  297. package/types/extractor/generatedUid.d.ts +0 -5
  298. package/types/extractor/generatedUid.d.ts.map +0 -1
  299. package/types/extractor/getPrefixLogs.d.ts +0 -3
  300. package/types/extractor/getPrefixLogs.d.ts.map +0 -1
  301. package/types/extractor/getPropValueFromAttributes.d.ts +0 -19
  302. package/types/extractor/getPropValueFromAttributes.d.ts.map +0 -1
  303. package/types/extractor/getSourceModule.d.ts +0 -16
  304. package/types/extractor/getSourceModule.d.ts.map +0 -1
  305. package/types/extractor/getStaticBindingsForScope.d.ts +0 -5
  306. package/types/extractor/getStaticBindingsForScope.d.ts.map +0 -1
  307. package/types/extractor/hasTopLevelAwait.d.ts +0 -2
  308. package/types/extractor/hasTopLevelAwait.d.ts.map +0 -1
  309. package/types/extractor/hoistClassNames.d.ts +0 -6
  310. package/types/extractor/hoistClassNames.d.ts.map +0 -1
  311. package/types/extractor/literalToAst.d.ts +0 -4
  312. package/types/extractor/literalToAst.d.ts.map +0 -1
  313. package/types/extractor/loadFile.d.ts +0 -1
  314. package/types/extractor/loadFile.d.ts.map +0 -1
  315. package/types/extractor/logLines.d.ts +0 -2
  316. package/types/extractor/logLines.d.ts.map +0 -1
  317. package/types/extractor/normalizeTernaries.d.ts +0 -5
  318. package/types/extractor/normalizeTernaries.d.ts.map +0 -1
  319. package/types/extractor/propsToFontFamilyCache.d.ts +0 -4
  320. package/types/extractor/propsToFontFamilyCache.d.ts.map +0 -1
  321. package/types/extractor/removeUnusedHooks.d.ts +0 -3
  322. package/types/extractor/removeUnusedHooks.d.ts.map +0 -1
  323. package/types/extractor/timer.d.ts +0 -5
  324. package/types/extractor/timer.d.ts.map +0 -1
  325. package/types/extractor/validHTMLAttributes.d.ts +0 -52
  326. package/types/extractor/validHTMLAttributes.d.ts.map +0 -1
  327. package/types/worker.d.ts +0 -46
  328. package/types/worker.d.ts.map +0 -1
  329. /package/dist/{setup.cjs → cjs/setup.cjs} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compilerHost.js","names":[],"sources":["esm/compilerHost.js"],"sourcesContent":["import { zeroRuleMessage, zeroThemeBoundaryMessage } from \"@tamagui/compiler-core\";\nimport { StyleObjectIdentifier, StyleObjectProperty, StyleObjectRules, 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\";\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 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\tif (previousTarget === void 0) delete \"web\";\n\t\t\telse process.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 (resolvedCssTransition !== 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 !== \"opacity\" && name !== \"scale\" || 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\tseen.add(name);\n\t\t\t\t\tfor (const owner of owners) dynamicOwners.add(owner);\n\t\t\t\t\tconst expression = input.source.slice(entry.value.span.start, entry.value.span.end);\n\t\t\t\t\tproperties.push(name === \"opacity\" ? `opacity: (${expression})` : `transform: \"scale(\" + (${expression}) + \")\"`);\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);\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))))) 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)))));\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;CAC7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ChB,KAAK,MAAM,QAAQ,MAAM,MAAM,MAAM,UAAU,KAAK,QAAQ,MAAM,KAAK,GAAG;EACzE,MAAM,WAAW,OAAO,GAAG,CAAC,CAAC;EAC7B,IAAI,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;EACA;CACD;CACA,MAAM;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACA,YAAY;EACX;EACA;EACA;EACA;EACA;EACA;CACD;AACD;AACA,MAAM,sBAAsB;iBACX,IAAI,IAAI;EACvB;EACA;EACA;EACA;EACA;EACA;EACA;CACD,CAAC;iBACe,IAAI,IAAI;EACvB;EACA;EACA;EACA;EACA;EACA;EACA;CACD,CAAC;iBACe,IAAI,IAAI;EACvB;EACA;EACA;EACA;EACA;EACA;EACA;CACD,CAAC;iBACe,IAAI,IAAI;EACvB;EACA;EACA;EACA;EACA;EACA;EACA;CACD,CAAC;iBACe,IAAI,IAAI;EACvB;EACA;EACA;EACA;EACA;EACA;EACA;CACD,CAAC;iBACe,IAAI,IAAI;EACvB;EACA;EACA;EACA;EACA;EACA;EACA;CACD,CAAC;AACF;AACA,SAAS,kBAAkB,MAAM,OAAO;CACvC,KAAK,MAAM,aAAa,MAAM,KAAK,MAAM,cAAc,OAAO,IAAI,cAAc,cAAc,sBAAsB,YAAY,SAAS,UAAU,KAAK,sBAAsB,aAAa,SAAS,SAAS,KAAK,oBAAoB,MAAM,WAAW,OAAO,IAAI,SAAS,KAAK,OAAO,IAAI,UAAU,CAAC,GAAG,OAAO;CAChT,OAAO;AACR;AACA,MAAM,oCAAoC,IAAI,IAAI;CACjD;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,MAAM,uBAAuB,IAAI,IAAI,OAAO,QAAQ,UAAU,EAAE,QAAQ,CAAC,MAAM,SAAS,IAAI,WAAW,UAAU,IAAI,cAAc,IAAI,eAAe,QAAQ,IAAI,cAAc,cAAc,EAAE,KAAK,CAAC,MAAM,SAAS,CAAC,MAAM,IAAI,UAAU,CAAC,C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";
3
+ const FAILED_EVAL = /* @__PURE__ */ Symbol("failed_style_eval");
4
+ const SHOULD_DEBUG = process.env.DEBUG === "*" || process.env.DEBUG?.startsWith("tamagui");
5
+
6
+ export { CSS_FILE_NAME, FAILED_EVAL, MEDIA_SEP, SHOULD_DEBUG };
7
+ //# sourceMappingURL=constants.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","names":[],"sources":["esm/constants.js"],"sourcesContent":["const CSS_FILE_NAME = \"__snack.css\";\nconst MEDIA_SEP = \"_\";\nconst FAILED_EVAL = /* @__PURE__ */ Symbol(\"failed_style_eval\");\nconst SHOULD_DEBUG = process.env.DEBUG === \"*\" || process.env.DEBUG?.startsWith(\"tamagui\");\nexport {\n CSS_FILE_NAME,\n FAILED_EVAL,\n MEDIA_SEP,\n SHOULD_DEBUG\n};\n//# sourceMappingURL=constants.js.map\n"],"mappings":";AAAA,MAAM,gBAAgB;AACtB,MAAM,YAAY;AAClB,MAAM,cAA8B,uBAAO,mBAAmB;AAC9D,MAAM,eAAe,QAAQ,IAAI,UAAU,OAAO,QAAQ,IAAI,OAAO,WAAW,SAAS"}
@@ -0,0 +1,92 @@
1
+ import { ATTRIBUTES, EVENTS, NATIVE_BACKING, TAGS } from "@tamagui/dom";
2
+ import { localBailout } from "@tamagui/compiler-core";
3
+ import { createHash } from "node:crypto";
4
+
5
+ const DOM_FRONTENDS = /* @__PURE__ */ new Set([
6
+ "tamagui",
7
+ "tamagui/dom",
8
+ "@tamagui/core",
9
+ "@tamagui/core/dom",
10
+ "@tamagui/tailwind"
11
+ ]);
12
+ const acceptsTag = (accepted, tag) => accepted === "*" || accepted.includes(tag);
13
+ function isDOMElement(element) {
14
+ const provenance = element.component.provenance;
15
+ return provenance?.importedName === "html" && DOM_FRONTENDS.has(provenance.specifier);
16
+ }
17
+ const versionHash = createHash("sha256").update(JSON.stringify({
18
+ ATTRIBUTES,
19
+ EVENTS,
20
+ NATIVE_BACKING,
21
+ TAGS
22
+ })).digest("hex");
23
+ const domStructuralPass = {
24
+ versionHash: `dom-structural-v3-${versionHash}`,
25
+ transform({ module, source, target }) {
26
+ const edits = [];
27
+ const diagnostics = [];
28
+ const domElements = module.elements.filter(isDOMElement);
29
+ const supportedDOMElements = domElements.filter((element) => Object.hasOwn(TAGS, element.component.name));
30
+ const domBySpan = new Map(supportedDOMElements.map((element) => [`${element.span.start}:${element.span.end}`, element]));
31
+ for (const element of domElements) {
32
+ const tagName = element.component.name;
33
+ if (!Object.hasOwn(TAGS, tagName)) {
34
+ diagnostics.push(localBailout("local/unsupported-target", element.component.span, `html.${element.component.name} is not part of the Tamagui DOM contract`));
35
+ continue;
36
+ }
37
+ const tag = TAGS[tagName];
38
+ if (target === "native" && tag.native === "none") {
39
+ diagnostics.push(localBailout("local/unsupported-target", element.component.span, `html.${tagName} is not supported on native: ${tag.note ?? "no native backing"}`));
40
+ continue;
41
+ }
42
+ for (const entry of element.entries) {
43
+ if (entry.kind !== "prop") continue;
44
+ const attribute = (Object.hasOwn(ATTRIBUTES, entry.name) ? ATTRIBUTES[entry.name] : void 0) ?? (entry.name.startsWith("data-") ? ATTRIBUTES["data-*"] : void 0);
45
+ const event = Object.hasOwn(EVENTS, entry.name) ? EVENTS[entry.name] : void 0;
46
+ const row = attribute ?? event;
47
+ if (!row) continue;
48
+ if (!acceptsTag(row.tags, tagName)) {
49
+ diagnostics.push(localBailout("local/unsupported-prop-key", entry.span, `${entry.name} is not supported on html.${tagName}`));
50
+ continue;
51
+ }
52
+ if (target === "native" && row.native === "none") {
53
+ if (event) continue;
54
+ diagnostics.push(localBailout("local/unsupported-prop-key", entry.span, `${entry.name} is not supported on native html.${tagName}: ${row.note ?? "no native equivalent"}`));
55
+ }
56
+ }
57
+ for (const entry of element.entries) {
58
+ if (entry.kind !== "child" || entry.value.kind !== "element") continue;
59
+ const child = domBySpan.get(`${entry.value.span.start}:${entry.value.span.end}`);
60
+ if (!child) continue;
61
+ const childTag = child.component.name;
62
+ const invalid = tag.content === "void" || tag.content === "text" || tag.content === "phrasing" && TAGS[childTag].display === "block" || tag.content === "tags" && !tag.childTags?.includes(childTag);
63
+ if (invalid) {
64
+ diagnostics.push(localBailout("local/unsupported-child", child.component.span, `html.${childTag} cannot be nested directly inside html.${tagName}`));
65
+ }
66
+ }
67
+ }
68
+ for (const definition of module.domStyleDefinitions) {
69
+ if (definition.value.kind !== "static") {
70
+ diagnostics.push(localBailout("local/dynamic-style-value", definition.value.span, `style() definition ${definition.name} must be statically evaluable`));
71
+ continue;
72
+ }
73
+ edits.push({
74
+ start: definition.span.start,
75
+ end: definition.span.end,
76
+ content: "undefined",
77
+ origin: definition.span
78
+ });
79
+ }
80
+ const nextModule = module;
81
+ return {
82
+ module: nextModule,
83
+ edits,
84
+ imports: [],
85
+ diagnostics,
86
+ dependencies: []
87
+ };
88
+ }
89
+ };
90
+
91
+ export { domStructuralPass };
92
+ //# sourceMappingURL=domStructuralPass.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domStructuralPass.js","names":[],"sources":["esm/domStructuralPass.js"],"sourcesContent":["import {\n ATTRIBUTES,\n EVENTS,\n NATIVE_BACKING,\n TAGS\n} from \"@tamagui/dom\";\nimport {\n localBailout\n} from \"@tamagui/compiler-core\";\nimport { createHash } from \"node:crypto\";\nconst DOM_FRONTENDS = /* @__PURE__ */ new Set([\n \"tamagui\",\n \"tamagui/dom\",\n \"@tamagui/core\",\n \"@tamagui/core/dom\",\n \"@tamagui/tailwind\"\n]);\nconst acceptsTag = (accepted, tag) => accepted === \"*\" || accepted.includes(tag);\nfunction isDOMElement(element) {\n const provenance = element.component.provenance;\n return provenance?.importedName === \"html\" && DOM_FRONTENDS.has(provenance.specifier);\n}\nconst versionHash = createHash(\"sha256\").update(\n JSON.stringify({\n ATTRIBUTES,\n EVENTS,\n NATIVE_BACKING,\n TAGS\n })\n).digest(\"hex\");\nconst domStructuralPass = {\n versionHash: `dom-structural-v3-${versionHash}`,\n transform({ module, source, target }) {\n const edits = [];\n const diagnostics = [];\n const domElements = module.elements.filter(isDOMElement);\n const supportedDOMElements = domElements.filter(\n (element) => Object.hasOwn(TAGS, element.component.name)\n );\n const domBySpan = new Map(\n supportedDOMElements.map((element) => [\n `${element.span.start}:${element.span.end}`,\n element\n ])\n );\n for (const element of domElements) {\n const tagName = element.component.name;\n if (!Object.hasOwn(TAGS, tagName)) {\n diagnostics.push(\n localBailout(\n \"local/unsupported-target\",\n element.component.span,\n `html.${element.component.name} is not part of the Tamagui DOM contract`\n )\n );\n continue;\n }\n const tag = TAGS[tagName];\n if (target === \"native\" && tag.native === \"none\") {\n diagnostics.push(\n localBailout(\n \"local/unsupported-target\",\n element.component.span,\n `html.${tagName} is not supported on native: ${tag.note ?? \"no native backing\"}`\n )\n );\n continue;\n }\n for (const entry of element.entries) {\n if (entry.kind !== \"prop\") continue;\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 const row = attribute ?? event;\n if (!row) continue;\n if (!acceptsTag(row.tags, tagName)) {\n diagnostics.push(\n localBailout(\n \"local/unsupported-prop-key\",\n entry.span,\n `${entry.name} is not supported on html.${tagName}`\n )\n );\n continue;\n }\n if (target === \"native\" && row.native === \"none\") {\n if (event) continue;\n diagnostics.push(\n localBailout(\n \"local/unsupported-prop-key\",\n entry.span,\n `${entry.name} is not supported on native html.${tagName}: ${row.note ?? \"no native equivalent\"}`\n )\n );\n }\n }\n for (const entry of element.entries) {\n if (entry.kind !== \"child\" || entry.value.kind !== \"element\") continue;\n const child = domBySpan.get(`${entry.value.span.start}:${entry.value.span.end}`);\n if (!child) continue;\n const childTag = child.component.name;\n const invalid = tag.content === \"void\" || tag.content === \"text\" || tag.content === \"phrasing\" && TAGS[childTag].display === \"block\" || tag.content === \"tags\" && !tag.childTags?.includes(childTag);\n if (invalid) {\n diagnostics.push(\n localBailout(\n \"local/unsupported-child\",\n child.component.span,\n `html.${childTag} cannot be nested directly inside html.${tagName}`\n )\n );\n }\n }\n }\n for (const definition of module.domStyleDefinitions) {\n if (definition.value.kind !== \"static\") {\n diagnostics.push(\n localBailout(\n \"local/dynamic-style-value\",\n definition.value.span,\n `style() definition ${definition.name} must be statically evaluable`\n )\n );\n continue;\n }\n edits.push({\n start: definition.span.start,\n end: definition.span.end,\n content: \"undefined\",\n origin: definition.span\n });\n }\n const nextModule = module;\n return {\n module: nextModule,\n edits,\n imports: [],\n diagnostics,\n dependencies: []\n };\n }\n};\nexport {\n domStructuralPass\n};\n//# sourceMappingURL=domStructuralPass.js.map\n"],"mappings":";;;;;AAUA,MAAM,gCAAgC,IAAI,IAAI;CAC5C;CACA;CACA;CACA;CACA;AACF,CAAC;AACD,MAAM,cAAc,UAAU,QAAQ,aAAa,OAAO,SAAS,SAAS,GAAG;AAC/E,SAAS,aAAa,SAAS;CAC7B,MAAM,aAAa,QAAQ,UAAU;CACrC,OAAO,YAAY,iBAAiB,UAAU,cAAc,IAAI,WAAW,SAAS;AACtF;AACA,MAAM,cAAc,WAAW,QAAQ,EAAE,OACvC,KAAK,UAAU;CACb;CACA;CACA;CACA;AACF,CAAC,CACH,EAAE,OAAO,KAAK;AACd,MAAM,oBAAoB;CACxB,aAAa,qBAAqB;CAClC,UAAU,EAAE,QAAQ,QAAQ,UAAU;EACpC,MAAM,QAAQ,CAAC;EACf,MAAM,cAAc,CAAC;EACrB,MAAM,cAAc,OAAO,SAAS,OAAO,YAAY;EACvD,MAAM,uBAAuB,YAAY,QACtC,YAAY,OAAO,OAAO,MAAM,QAAQ,UAAU,IAAI,CACzD;EACA,MAAM,YAAY,IAAI,IACpB,qBAAqB,KAAK,YAAY,CACpC,GAAG,QAAQ,KAAK,MAAM,GAAG,QAAQ,KAAK,OACtC,OACF,CAAC,CACH;EACA,KAAK,MAAM,WAAW,aAAa;GACjC,MAAM,UAAU,QAAQ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,UAAU,IAAI,YAAY,UAAU,IAAI,YAAY,cAAc,KAAK,UAAU,YAAY,WAAW,IAAI,YAAY,UAAU,CAAC,IAAI,WAAW,SAAS,QAAQ;IACnM,IAAI,SAAS;KACX,YAAY,KACV,aACE,2BACA,MAAM,UAAU,MAChB,QAAQ,SAAS,yCAAyC,SAC5D,CACF;IACF;GACF;EACF;EACA,KAAK,MAAM,cAAc,OAAO,qBAAqB;GACnD,IAAI,WAAW,MAAM,SAAS,UAAU;IACtC,YAAY,KACV,aACE,6BACA,WAAW,MAAM,MACjB,sBAAsB,WAAW,KAAK,8BACxC,CACF;IACA;GACF;GACA,MAAM,KAAK;IACT,OAAO,WAAW,KAAK;IACvB,KAAK,WAAW,KAAK;IACrB,SAAS;IACT,QAAQ,WAAW;GACrB,CAAC;EACH;EACA,MAAM,aAAa;EACnB,OAAO;GACL,QAAQ;GACR;GACA,SAAS,CAAC;GACV;GACA,cAAc,CAAC;EACjB;CACF;AACF"}
@@ -0,0 +1,26 @@
1
+ import { clearFormatCache, detectModuleFormat } from "./extractor/detectModuleFormat.mjs";
2
+ import { esbundleTamaguiConfig } from "./extractor/bundle.mjs";
3
+
4
+ export * from "./checkDeps.mjs"
5
+
6
+ export * from "./compilerHost.mjs"
7
+
8
+ export * from "./compiler.mjs"
9
+
10
+ export * from "./types.mjs"
11
+
12
+ export * from "./constants.mjs"
13
+
14
+ export * from "./extractor/concatClassName.mjs"
15
+
16
+ export * from "./extractor/loadTamagui.mjs"
17
+
18
+ export * from "./extractor/watchTamaguiConfig.mjs"
19
+
20
+ export * from "./registerRequire.mjs"
21
+
22
+ export * from "./getPragmaOptions.mjs"
23
+
24
+ export * from "./zero/index.mjs"
25
+
26
+ export { clearFormatCache, detectModuleFormat, esbundleTamaguiConfig };
@@ -0,0 +1,44 @@
1
+ import { childNode, childNodes, identifierName, parseModuleAst } from "@tamagui/compiler-core";
2
+
3
+ function declarationName(node) {
4
+ return identifierName(node ? childNode(node, "id") : null);
5
+ }
6
+ function addLocalExports(source, id) {
7
+ const program = parseModuleAst(source, id);
8
+ const usedNames = /* @__PURE__ */ new Set();
9
+ const candidates = [];
10
+ for (const statement of childNodes(program, "body")) {
11
+ if (statement.type === "ExportNamedDeclaration") {
12
+ for (const specifier of childNodes(statement, "specifiers")) {
13
+ const exported = childNode(specifier, "exported");
14
+ const name2 = identifierName(exported);
15
+ if (name2) usedNames.add(name2);
16
+ }
17
+ const declaration2 = childNode(statement, "declaration");
18
+ if (declaration2?.type === "VariableDeclaration") {
19
+ for (const declarator of childNodes(declaration2, "declarations")) {
20
+ const name2 = declarationName(declarator);
21
+ if (name2) usedNames.add(name2);
22
+ }
23
+ } else {
24
+ const name2 = declarationName(declaration2);
25
+ if (name2) usedNames.add(name2);
26
+ }
27
+ continue;
28
+ }
29
+ if (statement.type !== "VariableDeclaration") continue;
30
+ const declarations = childNodes(statement, "declarations");
31
+ if (declarations.length !== 1) continue;
32
+ const declaration = declarations[0];
33
+ const name = declarationName(declaration);
34
+ if (!name || !childNode(declaration, "init") || usedNames.has(name)) continue;
35
+ candidates.push(name);
36
+ }
37
+ const names = candidates.filter((name) => !usedNames.has(name));
38
+ return names.length ? `${source}
39
+ export { ${names.join(", ")} }
40
+ ` : source;
41
+ }
42
+
43
+ export { addLocalExports };
44
+ //# sourceMappingURL=addLocalExports.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addLocalExports.js","names":[],"sources":["esm/extractor/addLocalExports.js"],"sourcesContent":["import {\n childNode,\n childNodes,\n identifierName,\n parseModuleAst\n} from \"@tamagui/compiler-core\";\nfunction declarationName(node) {\n return identifierName(node ? childNode(node, \"id\") : null);\n}\nfunction addLocalExports(source, id) {\n const program = parseModuleAst(source, id);\n const usedNames = /* @__PURE__ */ new Set();\n const candidates = [];\n for (const statement of childNodes(program, \"body\")) {\n if (statement.type === \"ExportNamedDeclaration\") {\n for (const specifier of childNodes(statement, \"specifiers\")) {\n const exported = childNode(specifier, \"exported\");\n const name2 = identifierName(exported);\n if (name2) usedNames.add(name2);\n }\n const declaration2 = childNode(statement, \"declaration\");\n if (declaration2?.type === \"VariableDeclaration\") {\n for (const declarator of childNodes(declaration2, \"declarations\")) {\n const name2 = declarationName(declarator);\n if (name2) usedNames.add(name2);\n }\n } else {\n const name2 = declarationName(declaration2);\n if (name2) usedNames.add(name2);\n }\n continue;\n }\n if (statement.type !== \"VariableDeclaration\") continue;\n const declarations = childNodes(statement, \"declarations\");\n if (declarations.length !== 1) continue;\n const declaration = declarations[0];\n const name = declarationName(declaration);\n if (!name || !childNode(declaration, \"init\") || usedNames.has(name)) continue;\n candidates.push(name);\n }\n const names = candidates.filter((name) => !usedNames.has(name));\n return names.length ? `${source}\nexport { ${names.join(\", \")} }\n` : source;\n}\nexport {\n addLocalExports\n};\n//# sourceMappingURL=addLocalExports.js.map\n"],"mappings":";;;AAMA,SAAS,gBAAgB,MAAM;CAC7B,OAAO,eAAe,OAAO,UAAU,MAAM,IAAI,IAAI,IAAI;AAC3D;AACA,SAAS,gBAAgB,QAAQ,IAAI;CACnC,MAAM,UAAU,eAAe,QAAQ,EAAE;CACzC,MAAM,4BAA4B,IAAI,IAAI;CAC1C,MAAM,aAAa,CAAC;CACpB,KAAK,MAAM,aAAa,WAAW,SAAS,MAAM,GAAG;EACnD,IAAI,UAAU,SAAS,0BAA0B;GAC/C,KAAK,MAAM,aAAa,WAAW,WAAW,YAAY,GAAG;IAC3D,MAAM,WAAW,UAAU,WAAW,UAAU;IAChD,MAAM,QAAQ,eAAe,QAAQ;IACrC,IAAI,OAAO,UAAU,IAAI,KAAK;GAChC;GACA,MAAM,eAAe,UAAU,WAAW,aAAa;GACvD,IAAI,cAAc,SAAS,uBAAuB;IAChD,KAAK,MAAM,cAAc,WAAW,cAAc,cAAc,GAAG;KACjE,MAAM,QAAQ,gBAAgB,UAAU;KACxC,IAAI,OAAO,UAAU,IAAI,KAAK;IAChC;GACF,OAAO;IACL,MAAM,QAAQ,gBAAgB,YAAY;IAC1C,IAAI,OA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