@tamagui/web 3.0.0-beta.655.1 → 3.0.0-beta.669.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/dist/cjs/createComponent.cjs +1 -1
  2. package/dist/cjs/createComponent.native.cjs +1 -1
  3. package/dist/cjs/createComponent.native.js +1 -1
  4. package/dist/cjs/createComponent.native.js.map +1 -1
  5. package/dist/cjs/createTamagui.cjs +1 -1
  6. package/dist/cjs/createTamagui.native.cjs +1 -1
  7. package/dist/cjs/createTamagui.native.js +1 -1
  8. package/dist/cjs/createTamagui.native.js.map +1 -1
  9. package/dist/cjs/helpers/directStyle.cjs +12 -12
  10. package/dist/cjs/helpers/directStyle.native.cjs +12 -12
  11. package/dist/cjs/helpers/directStyle.native.js +12 -12
  12. package/dist/cjs/helpers/directStyle.native.js.map +1 -1
  13. package/dist/cjs/helpers/formatDiagnostic.cjs +3 -0
  14. package/dist/cjs/helpers/formatDiagnostic.native.cjs +3 -0
  15. package/dist/cjs/helpers/formatDiagnostic.native.js +3 -0
  16. package/dist/cjs/helpers/formatDiagnostic.native.js.map +1 -1
  17. package/dist/cjs/helpers/getSplitStyles.cjs +2 -2
  18. package/dist/cjs/helpers/getSplitStyles.native.cjs +2 -2
  19. package/dist/cjs/helpers/getSplitStyles.native.js +2 -2
  20. package/dist/cjs/helpers/getSplitStyles.native.js.map +1 -1
  21. package/dist/cjs/helpers/mergeVariants.cjs +1 -1
  22. package/dist/cjs/helpers/mergeVariants.native.cjs +1 -1
  23. package/dist/cjs/helpers/mergeVariants.native.js +1 -1
  24. package/dist/cjs/helpers/mergeVariants.native.js.map +1 -1
  25. package/dist/cjs/helpers/propMapper.cjs +2 -2
  26. package/dist/cjs/helpers/propMapper.native.cjs +2 -2
  27. package/dist/cjs/helpers/propMapper.native.js +2 -2
  28. package/dist/cjs/helpers/propMapper.native.js.map +1 -1
  29. package/dist/cjs/hooks/getThemeProxied.native.cjs +1 -1
  30. package/dist/cjs/hooks/getThemeProxied.native.js +1 -1
  31. package/dist/cjs/hooks/getThemeProxied.native.js.map +1 -1
  32. package/dist/cjs/hooks/useComponentState.cjs +2 -2
  33. package/dist/cjs/hooks/useComponentState.native.cjs +2 -2
  34. package/dist/cjs/hooks/useComponentState.native.js +2 -2
  35. package/dist/cjs/hooks/useComponentState.native.js.map +1 -1
  36. package/dist/cjs/hooks/useProps.cjs +1 -1
  37. package/dist/cjs/hooks/useProps.native.cjs +1 -1
  38. package/dist/cjs/hooks/useProps.native.js +1 -1
  39. package/dist/cjs/hooks/useProps.native.js.map +1 -1
  40. package/dist/cjs/hooks/useThemeState.cjs +2 -2
  41. package/dist/cjs/hooks/useThemeState.native.cjs +2 -2
  42. package/dist/cjs/hooks/useThemeState.native.js +2 -2
  43. package/dist/cjs/hooks/useThemeState.native.js.map +1 -1
  44. package/dist/cjs/internal-runtime.cjs +3 -1
  45. package/dist/cjs/internal-runtime.native.cjs +3 -1
  46. package/dist/cjs/internal-runtime.native.js +3 -1
  47. package/dist/cjs/internal-runtime.native.js.map +1 -1
  48. package/dist/cjs/views/Theme.cjs +1 -1
  49. package/dist/cjs/views/Theme.native.cjs +1 -1
  50. package/dist/cjs/views/Theme.native.js +1 -1
  51. package/dist/cjs/views/Theme.native.js.map +1 -1
  52. package/dist/esm/createComponent.mjs +1 -1
  53. package/dist/esm/createComponent.mjs.map +1 -1
  54. package/dist/esm/createComponent.native.js +1 -1
  55. package/dist/esm/createComponent.native.js.map +1 -1
  56. package/dist/esm/createTamagui.mjs +1 -1
  57. package/dist/esm/createTamagui.mjs.map +1 -1
  58. package/dist/esm/createTamagui.native.js +1 -1
  59. package/dist/esm/createTamagui.native.js.map +1 -1
  60. package/dist/esm/helpers/directStyle.mjs +13 -13
  61. package/dist/esm/helpers/directStyle.mjs.map +1 -1
  62. package/dist/esm/helpers/directStyle.native.js +13 -13
  63. package/dist/esm/helpers/directStyle.native.js.map +1 -1
  64. package/dist/esm/helpers/formatDiagnostic.mjs +3 -0
  65. package/dist/esm/helpers/formatDiagnostic.mjs.map +1 -1
  66. package/dist/esm/helpers/formatDiagnostic.native.js +3 -0
  67. package/dist/esm/helpers/formatDiagnostic.native.js.map +1 -1
  68. package/dist/esm/helpers/getSplitStyles.mjs +2 -2
  69. package/dist/esm/helpers/getSplitStyles.mjs.map +1 -1
  70. package/dist/esm/helpers/getSplitStyles.native.js +2 -2
  71. package/dist/esm/helpers/getSplitStyles.native.js.map +1 -1
  72. package/dist/esm/helpers/mergeVariants.mjs +1 -1
  73. package/dist/esm/helpers/mergeVariants.mjs.map +1 -1
  74. package/dist/esm/helpers/mergeVariants.native.js +1 -1
  75. package/dist/esm/helpers/mergeVariants.native.js.map +1 -1
  76. package/dist/esm/helpers/propMapper.mjs +2 -2
  77. package/dist/esm/helpers/propMapper.mjs.map +1 -1
  78. package/dist/esm/helpers/propMapper.native.js +2 -2
  79. package/dist/esm/helpers/propMapper.native.js.map +1 -1
  80. package/dist/esm/hooks/getThemeProxied.native.js +1 -1
  81. package/dist/esm/hooks/getThemeProxied.native.js.map +1 -1
  82. package/dist/esm/hooks/useComponentState.mjs +2 -2
  83. package/dist/esm/hooks/useComponentState.mjs.map +1 -1
  84. package/dist/esm/hooks/useComponentState.native.js +2 -2
  85. package/dist/esm/hooks/useComponentState.native.js.map +1 -1
  86. package/dist/esm/hooks/useProps.mjs +1 -1
  87. package/dist/esm/hooks/useProps.mjs.map +1 -1
  88. package/dist/esm/hooks/useProps.native.js +1 -1
  89. package/dist/esm/hooks/useProps.native.js.map +1 -1
  90. package/dist/esm/hooks/useThemeState.mjs +2 -2
  91. package/dist/esm/hooks/useThemeState.mjs.map +1 -1
  92. package/dist/esm/hooks/useThemeState.native.js +2 -2
  93. package/dist/esm/hooks/useThemeState.native.js.map +1 -1
  94. package/dist/esm/internal-runtime.mjs +3 -1
  95. package/dist/esm/internal-runtime.mjs.map +1 -1
  96. package/dist/esm/internal-runtime.native.js +3 -1
  97. package/dist/esm/internal-runtime.native.js.map +1 -1
  98. package/dist/esm/views/Theme.mjs +1 -1
  99. package/dist/esm/views/Theme.mjs.map +1 -1
  100. package/dist/esm/views/Theme.native.js +2 -1
  101. package/dist/esm/views/Theme.native.js.map +1 -1
  102. package/package.json +15 -15
  103. package/src/createComponent.tsx +4 -1
  104. package/src/createTamagui.ts +6 -1
  105. package/src/helpers/directStyle.ts +23 -12
  106. package/src/helpers/formatDiagnostic.ts +3 -0
  107. package/src/helpers/getSplitStyles.tsx +8 -2
  108. package/src/helpers/mergeVariants.ts +3 -1
  109. package/src/helpers/propMapper.ts +6 -1
  110. package/src/hooks/getThemeProxied.ts +4 -3
  111. package/src/hooks/useComponentState.ts +4 -1
  112. package/src/hooks/useProps.tsx +4 -1
  113. package/src/hooks/useThemeState.ts +8 -2
  114. package/src/internal-runtime.ts +8 -1
  115. package/src/views/Theme.tsx +4 -1
  116. package/types/createComponent.d.ts.map +1 -1
  117. package/types/helpers/directStyle.d.ts.map +1 -1
  118. package/types/helpers/formatDiagnostic.d.ts.map +1 -1
  119. package/types/helpers/getSplitStyles.d.ts.map +1 -1
  120. package/types/helpers/mergeVariants.d.ts.map +1 -1
  121. package/types/helpers/propMapper.d.ts.map +1 -1
  122. package/types/hooks/getThemeProxied.d.ts.map +1 -1
  123. package/types/hooks/useComponentState.d.ts.map +1 -1
  124. package/types/hooks/useProps.d.ts.map +1 -1
  125. package/types/hooks/useThemeState.d.ts.map +1 -1
  126. package/types/internal-runtime.d.ts.map +1 -1
  127. package/types/views/Theme.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"getSplitStyles.native.js","names":[],"sources":["cjs/helpers/getSplitStyles.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n\tfor (var name in all) __defProp(target, name, {\n\t\tget: all[name],\n\t\tenumerable: true\n\t});\n};\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {\n\t\t\tget: () => from[key],\n\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t});\n\t}\n\treturn to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n\t// If the importer is in node compatibility mode or this is not an ESM\n\t// file that has been converted to a CommonJS file using a Babel-\n\t// compatible transform (i.e. \"__esModule\" has not been set), then set\n\t// \"default\" to the CommonJS \"module.exports\" for node compatibility.\n\tisNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", {\n\t\tvalue: mod,\n\t\tenumerable: true\n\t}) : target,\n\tmod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar getSplitStyles_exports = {};\n__export(getSplitStyles_exports, {\n\tSTYLE_TOKEN_PROVENANCE_KEY: () => import_styleProvenance2.STYLE_TOKEN_PROVENANCE_KEY,\n\tgetSplitStyles: () => getSplitStyles,\n\tgetStyleTokenProvenance: () => import_styleProvenance2.getStyleTokenProvenance,\n\tgetSubStyle: () => getSubStyle,\n\tisValidStyleKey: () => isValidStyleKey,\n\tstyleOriginalValues: () => import_styleOriginalValues.styleOriginalValues,\n\tuseSplitStyles: () => useSplitStyles\n});\nmodule.exports = __toCommonJS(getSplitStyles_exports);\nvar import_constants = require(\"@tamagui/constants\");\nvar import_helpers = require(\"@tamagui/helpers\");\nvar import_react = __toESM(require(\"react\"), 1);\nvar import_styleFrontend = require(\"./styleFrontend\");\nvar import_config = require(\"../config\");\nvar import_isDevTools = require(\"../constants/isDevTools\");\nvar import_mediaState = require(\"./mediaState\");\nvar import_expandStyles = require(\"./expandStyles\");\nvar import_getCSSStylesAtomic = require(\"./getCSSStylesAtomic\");\nvar import_getDefaultProps = require(\"./getDefaultProps\");\nrequire(\"./insertStyleRule\");\nvar import_isObj = require(\"./isObj\");\nvar import_log = require(\"./log\");\nvar import_normalizeValueWithProperty = require(\"./normalizeValueWithProperty\");\nvar import_propMapper = require(\"./propMapper\");\nvar import_directStyle = require(\"./directStyle\");\nvar import_frontendProgram = require(\"./frontendProgram\");\nvar import_skipProps = require(\"./skipProps\");\nvar import_sortString = require(\"./sortString\");\nvar import_styleOriginalValues = require(\"./styleOriginalValues\");\nvar import_styleProvenance = require(\"./styleProvenance\");\nvar import_transformsToString = require(\"./transformsToString\");\nvar import_styleProvenance2 = require(\"./styleProvenance\");\nfunction _type_of(obj) {\n\t\"@swc/helpers - typeof\";\n\treturn obj && typeof Symbol !== \"undefined\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nvar shouldTrackStyleTokenProvenance = process.env.NODE_ENV === \"development\" && process.env.TAMAGUI_ENABLE_STYLE_TOKEN_PROVENANCE === \"1\";\nfunction compoundMatcherMatches(expected, actual) {\n\tif (Array.isArray(expected)) return expected.some(function(value) {\n\t\treturn Object.is(value, actual);\n\t});\n\treturn Object.is(expected, actual);\n}\nfunction compoundVariantMatches(compoundVariant, props) {\n\tfor (var key in compoundVariant) {\n\t\tif (key === \"style\") continue;\n\t\tif (!compoundMatcherMatches(compoundVariant[key], props[key])) return false;\n\t}\n\treturn true;\n}\nvar styledDefaultsCache = /* @__PURE__ */ new WeakMap();\nfunction getStyledDefaults(staticConfig) {\n\tvar entries = styledDefaultsCache.get(staticConfig);\n\tif (entries === void 0) {\n\t\tentries = null;\n\t\tvar defaults = staticConfig.defaultProps;\n\t\tif (defaults) for (var key in defaults) (entries || (entries = [])).push([key, defaults[key]]);\n\t\tstyledDefaultsCache.set(staticConfig, entries);\n\t}\n\treturn entries;\n}\nfunction contributeDisplacedStyledDefaults(styledDefaults, processedProps, shorthands, contribute) {\n\tif (!styledDefaults) return;\n\tfor (var index = 0; index < styledDefaults.length; index++) {\n\t\tvar key = styledDefaults[index][0];\n\t\tvar styledValue = styledDefaults[index][1];\n\t\tvar propValue = processedProps[key];\n\t\tif (!(key in import_helpers.stylePropsAll) && !(key in shorthands)) continue;\n\t\tif (propValue !== void 0 && propValue !== styledValue && (typeof styledValue === \"string\" && styledValue.includes(\":\") || typeof propValue === \"string\" && propValue.includes(\":\"))) contribute(key, styledValue);\n\t}\n}\nfunction forEachPropInForwardOrder(processedProps, staticConfig, shorthands, contribute) {\n\tvar processedBaseStyle = staticConfig.baseStyle;\n\tvar compoundVariants = staticConfig.compoundVariants;\n\tvar styledDefaults = getStyledDefaults(staticConfig);\n\tif (!(compoundVariants === null || compoundVariants === void 0 ? void 0 : compoundVariants.length)) {\n\t\tif (processedBaseStyle) for (var key in processedBaseStyle) contribute(key, processedBaseStyle[key]);\n\t\tcontributeDisplacedStyledDefaults(styledDefaults, processedProps, shorthands, contribute);\n\t\tfor (var key1 in processedProps) contribute(key1, processedProps[key1]);\n\t\treturn;\n\t}\n\tvar propEntries = Object.entries(processedProps);\n\tvar orderedEntries = processedBaseStyle ? Object.entries(processedBaseStyle) : [];\n\tcontributeDisplacedStyledDefaults(styledDefaults, processedProps, shorthands, function(k, v) {\n\t\treturn orderedEntries.push([k, v]);\n\t});\n\tvar compoundsByAnchor = /* @__PURE__ */ new Map();\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = compoundVariants[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar compoundVariant = _step.value;\n\t\t\tif (!compoundVariantMatches(compoundVariant, processedProps)) continue;\n\t\t\tvar { style } = compoundVariant;\n\t\t\tif (!(0, import_isObj.isPlainObject)(style)) continue;\n\t\t\tvar anchor = -1;\n\t\t\tfor (var selectorKey in compoundVariant) {\n\t\t\t\tif (selectorKey === \"style\") continue;\n\t\t\t\tfor (var index = propEntries.length - 1; index >= 0; index--) if (propEntries[index][0] === selectorKey) {\n\t\t\t\t\tanchor = Math.max(anchor, index);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar entries = compoundsByAnchor.get(anchor) || [];\n\t\t\tfor (var key2 in style) entries.push([key2, style[key2]]);\n\t\t\tcompoundsByAnchor.set(anchor, entries);\n\t\t}\n\t} catch (err) {\n\t\t_didIteratorError = true;\n\t\t_iteratorError = err;\n\t} finally {\n\t\ttry {\n\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t} finally {\n\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t}\n\t}\n\tfor (var index1 = 0; index1 < orderedEntries.length; index1++) contribute(orderedEntries[index1][0], orderedEntries[index1][1]);\n\tvar beforeProps = compoundsByAnchor.get(-1);\n\tif (beforeProps) for (var index2 = 0; index2 < beforeProps.length; index2++) contribute(beforeProps[index2][0], beforeProps[index2][1]);\n\tfor (var index3 = 0; index3 < propEntries.length; index3++) {\n\t\tcontribute(propEntries[index3][0], propEntries[index3][1]);\n\t\tvar compounds = compoundsByAnchor.get(index3);\n\t\tif (compounds) for (var i = 0; i < compounds.length; i++) contribute(compounds[i][0], compounds[i][1]);\n\t}\n}\nfunction isValidStyleKey(key, validStyles, accept) {\n\treturn Boolean(key in validStyles || import_constants.isWeb && (key === \"transitionProperty\" || key === \"transitionDuration\" || key === \"transitionTimingFunction\" || key === \"transitionDelay\" || key === \"transitionBehavior\") || accept && key in accept);\n}\nvar getSplitStyles = function(props, staticConfig, theme, themeName, componentState, styleProps, parentSplitStyles, componentContext, groupContext, elementType, startedUnhydrated, debug, animationDriver) {\n\tvar _staticConfig_styleFrontend, _styleState_flatMediaKeys, _styleState_flatGroupKeys, _styleState_flatGroupMedia, _styleState_style;\n\tvar conf = (0, import_config.getConfig)();\n\tif ((_staticConfig_styleFrontend = staticConfig.styleFrontend) === null || _staticConfig_styleFrontend === void 0 ? void 0 : _staticConfig_styleFrontend.normalizeStaticConfig) staticConfig = staticConfig.styleFrontend.normalizeStaticConfig(staticConfig, conf);\n\tvar driver = animationDriver || (componentContext === null || componentContext === void 0 ? void 0 : componentContext.animationDriver) || conf.animations;\n\tvar resolvedDriver = (driver === null || driver === void 0 ? void 0 : driver.isStub) ? null : driver;\n\tif (props.passThrough) return null;\n\tif (import_constants.isWeb && styleProps.isAnimated && (driver === null || driver === void 0 ? void 0 : driver.isReactNative) && !styleProps.noNormalize) styleProps.noNormalize = \"values\";\n\tvar { shorthands } = conf;\n\tvar { isHOC, isText, isInput, variants, isReactNative, inlineProps, parentStaticConfig, acceptsClassName } = staticConfig;\n\tvar viewProps = {};\n\tvar mediaState = styleProps.mediaState || import_mediaState.mediaState;\n\tvar shouldDoClasses = acceptsClassName && import_constants.isWeb && !styleProps.noClass;\n\tvar rulesToInsert = void 0;\n\tvar classNames = {};\n\tprops.space;\n\tvar hasMedia = false;\n\tvar pseudoGroups;\n\tvar mediaGroups;\n\tvar className = staticConfig.passthroughClassName || \"\";\n\tif (className) shouldDoClasses = false;\n\tvar validStyles = staticConfig.validStyles || (staticConfig.isText || staticConfig.isInput ? import_helpers.stylePropsText : import_helpers.validStyles);\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-setup`;\n\tvar styleState = {\n\t\tclassNames,\n\t\tconf,\n\t\tprops,\n\t\tstyleProps,\n\t\tcomponentState,\n\t\tstaticConfig,\n\t\tstyle: null,\n\t\ttheme,\n\t\tviewProps,\n\t\tcontext: componentContext,\n\t\tdebug,\n\t\tflatRulesToInsert: rulesToInsert,\n\t\tflatShouldDoClasses: shouldDoClasses,\n\t\tflatThemeName: themeName,\n\t\tflatMediaState: mediaState,\n\t\tflatGroupContext: groupContext,\n\t\tanimationDriver: resolvedDriver\n\t};\n\tif (process.env.IS_STATIC === \"is_static\") {\n\t\tvar { fallbackProps } = styleProps;\n\t\tif (fallbackProps) styleState.props = new Proxy(props, { get(_, key8, val2) {\n\t\t\tif (!Reflect.has(props, key8)) return Reflect.get(fallbackProps, key8);\n\t\t\treturn Reflect.get(props, key8);\n\t\t} });\n\t}\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`style-state`;\n\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\" && import_constants.isClient) {\n\t\tif (import_isDevTools.isDevTools) {\n\t\t\tconsole.groupCollapsed(\"🔹 getSplitStyles 👇\");\n\t\t\t(0, import_log.log)({\n\t\t\t\tprops,\n\t\t\t\tstaticConfig,\n\t\t\t\tshouldDoClasses,\n\t\t\t\tstyleProps,\n\t\t\t\trulesToInsert,\n\t\t\t\tcomponentState,\n\t\t\t\tstyleState,\n\t\t\t\ttheme: { ...theme }\n\t\t\t});\n\t\t}\n\t}\n\tvar { asChild } = props;\n\tvar { accept, neverSkipProps } = staticConfig;\n\tvar { noSkip, disableExpandShorthands, noExpand, styledContext } = styleProps;\n\tvar processedProps;\n\tvar styleFrontend = staticConfig.styleFrontend;\n\tif (styleFrontend && !props[import_styleFrontend.STYLE_FRONTEND_PREPROCESSED]) processedProps = styleFrontend.preprocessProps(props, conf);\n\telse processedProps = props;\n\tvar { webContainerType } = conf.settings;\n\tvar parentVariants = parentStaticConfig === null || parentStaticConfig === void 0 ? void 0 : parentStaticConfig.variants;\n\tvar mergeStylePropAtCurrentPosition = function(styleProp) {\n\t\tif (styleProps.noMergeStyle || !styleProp) return;\n\t\tif (isHOC) {\n\t\t\tviewProps.style = normalizeStyle(styleProp);\n\t\t\treturn;\n\t\t}\n\t\tvar isArray = Array.isArray(styleProp);\n\t\tvar length = isArray ? styleProp.length : 1;\n\t\tfor (var index = 0; index < length; index++) {\n\t\t\tvar style2 = isArray ? styleProp[index] : styleProp;\n\t\t\tif (!style2) continue;\n\t\t\tif (style2[\"$$css\"]) {\n\t\t\t\tfor (var key8 in style2) (0, import_directStyle.clearDirectStyle)(styleState, key8);\n\t\t\t\tObject.assign(styleState.classNames, style2);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tvar normalized = normalizeStyle(style2);\n\t\t\tvar styleOriginals = shouldTrackStyleTokenProvenance ? import_styleOriginalValues.styleOriginalValues.get(style2) : void 0;\n\t\t\tfor (var key12 in normalized) {\n\t\t\t\tif (normalized[key12] == null) continue;\n\t\t\t\t(0, import_directStyle.contributeStyleValue)(styleState, key12, normalized[key12], mergeStyle, styleOriginals === null || styleOriginals === void 0 ? void 0 : styleOriginals[key12]);\n\t\t\t}\n\t\t}\n\t};\n\tvar flushForwardStylesToClasses = function() {\n\t\tif (!shouldDoClasses) return;\n\t\t(0, import_directStyle.flushDirectStyles)(styleState, true);\n\t};\n\tvar contributeProp = function(keyOg, valOg) {\n\t\tvar keyInit = keyOg;\n\t\tvar valInit = valOg;\n\t\tif (styleFrontend && keyInit.startsWith(import_styleFrontend.STYLE_FRONTEND_PASSTHROUGH_PREFIX)) keyInit = \"className\";\n\t\tif (keyInit === \"children\") {\n\t\t\tviewProps[keyInit] = valInit;\n\t\t\treturn;\n\t\t}\n\t\tif (keyInit === \"ref\") return;\n\t\tif (keyInit[0] === \"d\" && keyInit.startsWith(\"data-\")) return;\n\t\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`before-prop-${keyInit}`;\n\t\tif (process.env.NODE_ENV === \"test\" && keyInit === \"jestAnimatedStyle\") return;\n\t\tif (keyInit === \"transition\" || keyInit === \"transitionProperty\" || keyInit === \"transitionDuration\" || keyInit === \"transitionTimingFunction\" || keyInit === \"transitionDelay\" || keyInit === \"transitionBehavior\") return;\n\t\tif (accept) {\n\t\t\tvar accepted = accept[keyInit];\n\t\t\tif ((accepted === \"style\" || accepted === \"textStyle\") && valInit && (typeof valInit === \"undefined\" ? \"undefined\" : _type_of(valInit)) === \"object\") {\n\t\t\t\tviewProps[keyInit] = getSubStyle(styleState, keyInit, valInit, styleProps.noClass);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tif (!disableExpandShorthands) {\n\t\t\tif (keyInit in shorthands) keyInit = shorthands[keyInit];\n\t\t}\n\t\tif (keyInit === \"className\") {\n\t\t\tif (typeof valInit === \"string\" && valInit) {\n\t\t\t\tclassName = `${className} ${valInit}`.trim();\n\t\t\t\tif (styleFrontend) {\n\t\t\t\t\tflushForwardStylesToClasses();\n\t\t\t\t\tshouldDoClasses = false;\n\t\t\t\t\tstyleState.flatShouldDoClasses = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tif (keyInit === \"style\") {\n\t\t\tmergeStylePropAtCurrentPosition(valInit);\n\t\t\treturn;\n\t\t}\n\t\tif (asChild) {\n\t\t\tvar defaults = (0, import_getDefaultProps.getDefaultProps)(staticConfig);\n\t\t\tif (defaults) {\n\t\t\t\tvar _defaults_keyOg;\n\t\t\t\tvar defaultVal = (_defaults_keyOg = defaults[keyOg]) !== null && _defaults_keyOg !== void 0 ? _defaults_keyOg : defaults[keyInit];\n\t\t\t\tif (defaultVal !== void 0 && valInit === defaultVal) return;\n\t\t\t}\n\t\t}\n\t\tif (keyInit in import_skipProps.skipProps && !noSkip && !isHOC && !(neverSkipProps === null || neverSkipProps === void 0 ? void 0 : neverSkipProps[keyInit])) {\n\t\t\tif (keyInit === \"group\");\n\t\t\tif (keyInit === \"container\" && valInit) {}\n\t\t\tif (keyInit === \"transition\" && typeof valInit === \"string\") {\n\t\t\t\tvar _driver_animations;\n\t\t\t\tvar animationConfig = driver === null || driver === void 0 ? void 0 : (_driver_animations = driver.animations) === null || _driver_animations === void 0 ? void 0 : _driver_animations[valInit];\n\t\t\t\tif (animationConfig && (driver === null || driver === void 0 ? void 0 : driver.outputStyle) === \"css\" && process.env.IS_STATIC === \"is_static\") valInit = `all ${animationConfig}`;\n\t\t\t\telse if (animationConfig) return;\n\t\t\t} else return;\n\t\t}\n\t\tif ((0, import_frontendProgram.isFrontendProgram)(valInit)) {\n\t\t\tif (isValidStyleKey(valInit.property, validStyles, accept)) (0, import_frontendProgram.contributeFrontendProgram)(styleState, valInit, mergeStyle);\n\t\t\telse if (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${valInit.property}\" is not a valid style on this component; the frontend value is dropped.`);\n\t\t\treturn;\n\t\t}\n\t\tvar isValidStyleKeyInit = isValidStyleKey(keyInit, validStyles, accept);\n\t\tif (import_constants.isWeb) {\n\t\t\tvar _driver_View;\n\t\t\tif ((staticConfig.isReactNative || styleProps.isAnimated && (driver === null || driver === void 0 ? void 0 : driver.isReactNative) && !((_driver_View = driver.View) === null || _driver_View === void 0 ? void 0 : _driver_View.acceptRenderProp)) && keyInit.startsWith(\"data-\")) {\n\t\t\t\tvar _viewProps2, _dataSet;\n\t\t\t\tkeyInit = keyInit.replace(\"data-\", \"\");\n\t\t\t\t(_viewProps2 = viewProps)[_dataSet = \"dataSet\"] || (_viewProps2[_dataSet] = {});\n\t\t\t\tviewProps[\"dataSet\"][keyInit] = valInit;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (keyInit.startsWith(\"data-\")) {\n\t\t\t\tviewProps[keyInit] = valInit;\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tif (!isValidStyleKeyInit) {\n\t\t\tif (!import_constants.isAndroid) {\n\t\t\t\tif (keyInit === \"elevationAndroid\") return;\n\t\t\t}\n\t\t\tif (keyInit === \"userSelect\") {\n\t\t\t\tkeyInit = \"selectable\";\n\t\t\t\tvalInit = valInit !== \"none\";\n\t\t\t} else if (keyInit === \"textOverflow\") {\n\t\t\t\tif (isText && valInit === \"ellipsis\") {\n\t\t\t\t\tvar _viewProps1, _viewProps22;\n\t\t\t\t\tvar _numberOfLines;\n\t\t\t\t\t(_numberOfLines = (_viewProps1 = viewProps).numberOfLines) !== null && _numberOfLines !== void 0 || (_viewProps1.numberOfLines = 1);\n\t\t\t\t\tvar _ellipsizeMode;\n\t\t\t\t\t(_ellipsizeMode = (_viewProps22 = viewProps).ellipsizeMode) !== null && _ellipsizeMode !== void 0 || (_viewProps22.ellipsizeMode = \"tail\");\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t} else if (keyInit.startsWith(\"data-\")) return;\n\t\t}\n\t\tvar isVariant = !isValidStyleKeyInit && variants && keyInit in variants;\n\t\tvar isStyleLikeKey = isValidStyleKeyInit || isVariant;\n\t\tvar isStyleProp = isValidStyleKeyInit || isVariant && !noExpand;\n\t\tif (isStyleProp && (asChild === \"except-style\" || asChild === \"except-style-web\")) return;\n\t\tvar shouldPassProp = !isStyleProp && isHOC || isHOC && parentVariants && keyInit in parentVariants || (inlineProps === null || inlineProps === void 0 ? void 0 : inlineProps.has(keyInit));\n\t\tvar parentVariant = parentVariants === null || parentVariants === void 0 ? void 0 : parentVariants[keyInit];\n\t\tvar isHOCShouldPassThrough = Boolean(isHOC && (isValidStyleKeyInit || parentVariant || keyInit in import_skipProps.skipProps));\n\t\tvar shouldPassThrough = shouldPassProp || isHOCShouldPassThrough;\n\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\tconsole.groupCollapsed(` \\u{1F511} ${keyOg}${keyInit !== keyOg ? ` (shorthand for ${keyInit})` : \"\"} ${shouldPassThrough ? \"(pass)\" : \"\"}`);\n\t\t\t(0, import_log.log)({\n\t\t\t\tisVariant,\n\t\t\t\tvalInit,\n\t\t\t\tshouldPassProp\n\t\t\t});\n\t\t\tif (import_constants.isClient) (0, import_log.log)({\n\t\t\t\tvariants,\n\t\t\t\tvariant: variants === null || variants === void 0 ? void 0 : variants[keyInit],\n\t\t\t\tisVariant,\n\t\t\t\tisHOCShouldPassThrough,\n\t\t\t\tparentStaticConfig\n\t\t\t});\n\t\t}\n\t\tif (shouldPassThrough) {\n\t\t\tpassDownProp(viewProps, keyInit, valInit);\n\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") console.groupEnd();\n\t\t\tif (!isVariant) return;\n\t\t}\n\t\tif (!noSkip && !(neverSkipProps === null || neverSkipProps === void 0 ? void 0 : neverSkipProps[keyInit])) {\n\t\t\tvar _driver_animations1;\n\t\t\tif (keyInit in import_skipProps.skipProps && !(keyInit === \"transition\" && typeof valInit === \"string\" && !(driver === null || driver === void 0 ? void 0 : (_driver_animations1 = driver.animations) === null || _driver_animations1 === void 0 ? void 0 : _driver_animations1[valInit]))) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") console.groupEnd();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tif (isText || isInput) {\n\t\t\tif (valInit && (keyInit === \"fontFamily\" || keyInit === shorthands[\"fontFamily\"]) && valInit in conf.fontsParsed) styleState.fontFamily = valInit;\n\t\t}\n\t\tvar disablePropMap = !isStyleLikeKey;\n\t\tif (!isHOC && isValidStyleKeyInit && valInit != null && !(valInit === \"unset\") && !(variants && keyInit in variants) && !(accept && keyInit in accept) && !(styledContext && keyInit in styledContext)) {\n\t\t\t(0, import_directStyle.contributeStyleValue)(styleState, keyInit, valInit, mergeStyle);\n\t\t\treturn;\n\t\t}\n\t\t(0, import_propMapper.propMapper)(keyInit, valInit, styleState, disablePropMap, function(key8, val2, originalVal, conditionSource) {\n\t\t\tvar _parentStaticConfig_variants;\n\t\t\tvar isStyledContextProp = styledContext && key8 in styledContext;\n\t\t\tif (key8 === \"className\") {\n\t\t\t\tif (typeof val2 === \"string\" && val2) className = `${className} ${val2}`.trim();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!isHOC && disablePropMap && !isStyledContextProp) {\n\t\t\t\tif (key8 in import_helpers.stylePropsAll && !isValidStyleKey(key8, validStyles, accept)) {\n\t\t\t\t\tif (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key8}\" is a text style prop and this component is not text \\u2014 it would render on neither platform. Use a Text-based component, or html.* for raw web elements.`);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tviewProps[key8] = val2;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\t\tconsole.groupCollapsed(\" 💠 expanded\", keyInit, \"=>\", key8);\n\t\t\t\t(0, import_log.log)(val2);\n\t\t\t\tconsole.groupEnd();\n\t\t\t}\n\t\t\tif (val2 == null) return;\n\t\t\tif (accept && key8 in accept) {\n\t\t\t\tviewProps[key8] = val2;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar isHostStyleKey = !isHOC && isValidStyleKey(key8, validStyles, accept) || import_constants.isAndroid && key8 === \"elevation\";\n\t\t\tvar isContextProgramKey = !isHOC && Boolean(isStyledContextProp);\n\t\t\tif (conditionSource !== void 0) {\n\t\t\t\tif (isHostStyleKey || isContextProgramKey) (0, import_directStyle.contributeVariantClauseValue)(styleState, key8, val2, conditionSource, mergeStyle, originalVal, !isHostStyleKey);\n\t\t\t\telse if (isHOC) {\n\t\t\t\t\tvar appended = (0, import_propMapper.appendFlatClause)(viewProps[key8], conditionSource, val2);\n\t\t\t\t\tif (appended !== void 0) viewProps[key8] = appended;\n\t\t\t\t\telse if (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] conditional variant value for \"${key8}\" is not string-representable; dropping the clause`);\n\t\t\t\t} else if (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key8}\" is not a valid style on this component; the conditional variant value is dropped.`);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (isHostStyleKey || isContextProgramKey) {\n\t\t\t\t(0, import_directStyle.contributeStyleValue)(styleState, key8, val2, mergeStyle, originalVal, !isHostStyleKey);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tisVariant = variants && key8 in variants;\n\t\t\tif (inlineProps === null || inlineProps === void 0 ? void 0 : inlineProps.has(key8)) {\n\t\t\t\tvar _props_key;\n\t\t\t\tviewProps[key8] = (_props_key = props[key8]) !== null && _props_key !== void 0 ? _props_key : val2;\n\t\t\t}\n\t\t\tif (isHOC && Boolean(parentStaticConfig === null || parentStaticConfig === void 0 ? void 0 : (_parentStaticConfig_variants = parentStaticConfig.variants) === null || _parentStaticConfig_variants === void 0 ? void 0 : _parentStaticConfig_variants[keyInit])) {\n\t\t\t\tpassDownProp(viewProps, key8, val2);\n\t\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\t\t\tconsole.groupCollapsed(` - passing down prop ${key8}`);\n\t\t\t\t\t(0, import_log.log)({\n\t\t\t\t\t\tval: val2,\n\t\t\t\t\t\tafter: { ...viewProps[key8] }\n\t\t\t\t\t});\n\t\t\t\t\tconsole.groupEnd();\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!isVariant) {\n\t\t\t\tif (isStyledContextProp) return;\n\t\t\t\tif (key8 in import_helpers.stylePropsAll && !isValidStyleKey(key8, validStyles, accept)) {\n\t\t\t\t\tif (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key8}\" is a text style prop and this component is not text \\u2014 it would render on neither platform. Use a Text-based component, or html.* for raw web elements.`);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tviewProps[key8] = val2;\n\t\t\t}\n\t\t});\n\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\ttry {\n\t\t\t\t(0, import_log.log)(` \\u2714\\uFE0F expand complete`, keyInit);\n\t\t\t\t(0, import_log.log)(\"style\", { ...styleState.style });\n\t\t\t\t(0, import_log.log)(\"viewProps\", { ...viewProps });\n\t\t\t\t(0, import_log.log)(\"transforms\", { ...styleState.flatTransforms });\n\t\t\t} catch (e) {}\n\t\t\tconsole.groupEnd();\n\t\t}\n\t};\n\tforEachPropInForwardOrder(processedProps, staticConfig, shorthands, contributeProp);\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-propsend`;\n\tvar conditionalStates = styleState.flatStateKeys || null;\n\tvar usesSafeArea = !!styleState.flatUsesSafeArea;\n\tif ((_styleState_flatMediaKeys = styleState.flatMediaKeys) === null || _styleState_flatMediaKeys === void 0 ? void 0 : _styleState_flatMediaKeys.size) {\n\t\tif (!hasMedia) hasMedia = /* @__PURE__ */ new Set();\n\t\tif (typeof hasMedia !== \"boolean\") {\n\t\t\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\t\t\ttry {\n\t\t\t\tfor (var _iterator = styleState.flatMediaKeys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\t\t\tvar key = _step.value;\n\t\t\t\t\thasMedia.add(key);\n\t\t\t\t}\n\t\t\t} catch (err) {\n\t\t\t\t_didIteratorError = true;\n\t\t\t\t_iteratorError = err;\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t\t\t} finally {\n\t\t\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tif ((_styleState_flatGroupKeys = styleState.flatGroupKeys) === null || _styleState_flatGroupKeys === void 0 ? void 0 : _styleState_flatGroupKeys.size) {\n\t\tpseudoGroups || (pseudoGroups = /* @__PURE__ */ new Set());\n\t\tvar _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator1 = styleState.flatGroupKeys[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {\n\t\t\t\tvar key1 = _step1.value;\n\t\t\t\tpseudoGroups.add(key1);\n\t\t\t}\n\t\t} catch (err) {\n\t\t\t_didIteratorError1 = true;\n\t\t\t_iteratorError1 = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion1 && _iterator1.return != null) _iterator1.return();\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError1) throw _iteratorError1;\n\t\t\t}\n\t\t}\n\t}\n\tif ((_styleState_flatGroupMedia = styleState.flatGroupMedia) === null || _styleState_flatGroupMedia === void 0 ? void 0 : _styleState_flatGroupMedia.size) {\n\t\tmediaGroups || (mediaGroups = /* @__PURE__ */ new Set());\n\t\tvar _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator2 = styleState.flatGroupMedia[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n\t\t\t\tvar key2 = _step2.value;\n\t\t\t\tmediaGroups.add(key2);\n\t\t\t}\n\t\t} catch (err) {\n\t\t\t_didIteratorError2 = true;\n\t\t\t_iteratorError2 = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion2 && _iterator2.return != null) _iterator2.return();\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError2) throw _iteratorError2;\n\t\t\t}\n\t\t}\n\t}\n\tvar effectiveTransition = (_styleState_style = styleState.style) === null || _styleState_style === void 0 ? void 0 : _styleState_style.transition;\n\tif (effectiveTransition != null && styleState.style && true) delete styleState.style.transition;\n\tif (styleState.style) {\n\t\tif (\"containerType\" in styleState.style) delete styleState.style.containerType;\n\t\tif (\"containerName\" in styleState.style) delete styleState.style.containerName;\n\t}\n\tif (!(styleProps.noNormalize === false)) {\n\t\tif (styleState.style) {\n\t\t\t(0, import_expandStyles.fixStyles)(styleState.style);\n\t\t\tif (!styleProps.noExpand && !styleProps.noMergeStyle) {\n\t\t\t\tif (import_constants.isWeb && (isReactNative ? (driver === null || driver === void 0 ? void 0 : driver.inputStyle) !== \"css\" : true)) (0, import_getCSSStylesAtomic.styleToCSS)(styleState.style);\n\t\t\t}\n\t\t}\n\t\tif (styleState.flatTransforms) {\n\t\t\tvar _styleState;\n\t\t\t(_styleState = styleState).style || (_styleState.style = {});\n\t\t\tmergeFlatTransforms(styleState.style, styleState.flatTransforms);\n\t\t}\n\t\tif (parentSplitStyles) {\n\t\t\tif (!shouldDoClasses) for (var key4 in parentSplitStyles.style) {\n\t\t\t\tvar _styleState1;\n\t\t\t\tif (key4 in classNames || styleState.style && key4 in styleState.style) continue;\n\t\t\t\t(_styleState1 = styleState).style || (_styleState1.style = {});\n\t\t\t\tstyleState.style[key4] = parentSplitStyles.style[key4];\n\t\t\t}\n\t\t}\n\t}\n\tif (viewProps.tabIndex === 0) {\n\t\tvar _viewProps;\n\t\tvar _accessible;\n\t\t(_accessible = (_viewProps = viewProps).accessible) !== null && _accessible !== void 0 || (_viewProps.accessible = true);\n\t}\n\tvar style = styleState.style;\n\tif (style === null || style === void 0 ? void 0 : style.fontFamily) {\n\t\tvar _getFont;\n\t\tvar faceInfo = (_getFont = (0, import_config.getFont)(style.fontFamily)) === null || _getFont === void 0 ? void 0 : _getFont.face;\n\t\tif (faceInfo) {\n\t\t\tvar _faceInfo_style_fontWeight_, _faceInfo_style_fontWeight;\n\t\t\tvar overrideFace = (_faceInfo_style_fontWeight = faceInfo[style.fontWeight]) === null || _faceInfo_style_fontWeight === void 0 ? void 0 : (_faceInfo_style_fontWeight_ = _faceInfo_style_fontWeight[style.fontStyle || \"normal\"]) === null || _faceInfo_style_fontWeight_ === void 0 ? void 0 : _faceInfo_style_fontWeight_.val;\n\t\t\tif (overrideFace) {\n\t\t\t\tstyle.fontFamily = overrideFace;\n\t\t\t\tstyleState.fontFamily = overrideFace;\n\t\t\t\tdelete style.fontWeight;\n\t\t\t\tdelete style.fontStyle;\n\t\t\t}\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && debug && debug !== \"profile\") (0, import_log.log)(`Found fontFamily native: ${style.fontFamily}`, faceInfo);\n\t}\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-pre-result`;\n\tif (shouldTrackStyleTokenProvenance && styleState.style && styleState.tokenProvenance) {\n\t\tvar provenance = {};\n\t\tvar hasProvenance = false;\n\t\tfor (var key5 in styleState.tokenProvenance) {\n\t\t\tprovenance[key5] = {\n\t\t\t\ttoken: styleState.tokenProvenance[key5],\n\t\t\t\ttheme: themeName\n\t\t\t};\n\t\t\thasProvenance = true;\n\t\t}\n\t\tif (hasProvenance) (0, import_styleProvenance.setStyleTokenProvenance)(styleState.style, provenance);\n\t}\n\tvar result = {\n\t\thasMedia,\n\t\tfontFamily: styleState.fontFamily,\n\t\tviewProps,\n\t\tstyle: styleState.style,\n\t\tclassNames,\n\t\trulesToInsert,\n\t\tpseudoGroups,\n\t\tmediaGroups,\n\t\toverriddenContextProps: styleState.overriddenContextProps\n\t};\n\tif (effectiveTransition != null) result.effectiveTransition = effectiveTransition;\n\tif (conditionalStates) result.programStates = conditionalStates;\n\tif (usesSafeArea) result.usesSafeArea = true;\n\tif ((0, import_directStyle.getDirectDynamicThemeAccess)(styleState)) result.dynamicThemeAccess = true;\n\tif (styleState.flatEnterKeys || styleState.flatExitKeys) {\n\t\tvar effectiveKeys = function(keys) {\n\t\t\tif (!keys) return;\n\t\t\tvar out = /* @__PURE__ */ new Set();\n\t\t\tvar _iteratorNormalCompletion4 = true, _didIteratorError4 = false, _iteratorError4 = void 0;\n\t\t\ttry {\n\t\t\t\tfor (var _iterator4 = keys[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {\n\t\t\t\t\tvar key8 = _step4.value;\n\t\t\t\t\tout.add(key8 === \"--t-x\" || key8 === \"--t-y\" ? \"translate\" : key8 === \"--t-scale-x\" || key8 === \"--t-scale-y\" ? \"scale\" : key8);\n\t\t\t\t}\n\t\t\t} catch (err) {\n\t\t\t\t_didIteratorError4 = true;\n\t\t\t\t_iteratorError4 = err;\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tif (!_iteratorNormalCompletion4 && _iterator4.return != null) _iterator4.return();\n\t\t\t\t} finally {\n\t\t\t\t\tif (_didIteratorError4) throw _iteratorError4;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn out;\n\t\t};\n\t\tresult.programLifecycleStyleKeys = {\n\t\t\tenter: effectiveKeys(styleState.flatEnterKeys),\n\t\t\texit: effectiveKeys(styleState.flatExitKeys)\n\t\t};\n\t}\n\tvar asChildExceptStyleLike = asChild === \"except-style\" || asChild === \"except-style-web\";\n\tif (!styleProps.noMergeStyle) {\n\t\tif (!asChildExceptStyleLike) {\n\t\t\tvar style1 = styleState.style;\n\t\t\tif (style1) viewProps.style = style1;\n\t\t}\n\t}\n\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\tif (import_constants.isClient && import_isDevTools.isDevTools) {\n\t\t\tconsole.groupEnd();\n\t\t\tconsole.groupCollapsed(\"🔹 getSplitStyles ===>\");\n\t\t\ttry {\n\t\t\t\tvar logs = {\n\t\t\t\t\t...props.__tamaguiStyleDebugReceipt && { receipt: props.__tamaguiStyleDebugReceipt },\n\t\t\t\t\t...result,\n\t\t\t\t\tclassName,\n\t\t\t\t\tcomponentState,\n\t\t\t\t\tviewProps,\n\t\t\t\t\trulesToInsert,\n\t\t\t\t\tparentSplitStyles\n\t\t\t\t};\n\t\t\t\tfor (var key7 in logs) (0, import_log.log)(key7, logs[key7]);\n\t\t\t} catch (e) {}\n\t\t\tconsole.groupEnd();\n\t\t}\n\t}\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-done`;\n\treturn result;\n};\nfunction mergeFlatTransforms(target, flatTransforms) {\n\tvar transform = [];\n\tif (\"x\" in flatTransforms) transform.push({ translateX: flatTransforms.x });\n\tif (\"y\" in flatTransforms) transform.push({ translateY: flatTransforms.y });\n\tif (\"rotate\" in flatTransforms) transform.push({ rotate: flatTransforms.rotate });\n\tvar hasScaleX = \"scaleX\" in flatTransforms;\n\tvar hasScaleY = \"scaleY\" in flatTransforms;\n\tif (hasScaleX && hasScaleY && Object.is(flatTransforms.scaleX, flatTransforms.scaleY)) transform.push({ scale: flatTransforms.scaleX });\n\telse {\n\t\tif (hasScaleX) transform.push({ scaleX: flatTransforms.scaleX });\n\t\tif (hasScaleY) transform.push({ scaleY: flatTransforms.scaleY });\n\t\tif (!hasScaleX && !hasScaleY && \"scale\" in flatTransforms) transform.push({ scale: flatTransforms.scale });\n\t}\n\tvar keys = [];\n\tfor (var key in flatTransforms) if (key !== \"x\" && key !== \"y\" && key !== \"rotate\" && key !== \"scale\" && key !== \"scaleX\" && key !== \"scaleY\") keys.push(key);\n\tkeys.sort(import_sortString.sortString);\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = keys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar key1 = _step.value;\n\t\t\ttransform.push({ [mapTransformKeys[key1] || key1]: flatTransforms[key1] });\n\t\t}\n\t} catch (err) {\n\t\t_didIteratorError = true;\n\t\t_iteratorError = err;\n\t} finally {\n\t\ttry {\n\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t} finally {\n\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t}\n\t}\n\tif (Array.isArray(target.transform)) transform.push(...target.transform);\n\ttarget.transform = transform;\n}\nfunction mergeStyle(styleState, key, val, _importance) {\n\tvar disableNormalize = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : false, originalVal = arguments.length > 5 ? arguments[5] : void 0;\n\tvar _staticConfig_parentStaticConfig, _staticConfig_parentStaticConfig1, _staticConfig_parentStaticConfig2, _contextConfig_propKeys;\n\tvar { viewProps, styleProps, staticConfig } = styleState;\n\tvar contextConfig = staticConfig.context || ((_staticConfig_parentStaticConfig = staticConfig.parentStaticConfig) === null || _staticConfig_parentStaticConfig === void 0 ? void 0 : _staticConfig_parentStaticConfig.context);\n\tvar contextProps = contextConfig === null || contextConfig === void 0 ? void 0 : contextConfig.props;\n\tvar inheritedContextPropKeys = !staticConfig.context || staticConfig.context === ((_staticConfig_parentStaticConfig1 = staticConfig.parentStaticConfig) === null || _staticConfig_parentStaticConfig1 === void 0 ? void 0 : _staticConfig_parentStaticConfig1.context) ? (_staticConfig_parentStaticConfig2 = staticConfig.parentStaticConfig) === null || _staticConfig_parentStaticConfig2 === void 0 ? void 0 : _staticConfig_parentStaticConfig2.contextProps : void 0;\n\tvar contextPropKeys = staticConfig.contextProps || inheritedContextPropKeys;\n\tif (contextProps && key in contextProps || (contextPropKeys === null || contextPropKeys === void 0 ? void 0 : contextPropKeys.includes(key)) || (contextConfig === null || contextConfig === void 0 ? void 0 : (_contextConfig_propKeys = contextConfig.propKeys) === null || _contextConfig_propKeys === void 0 ? void 0 : _contextConfig_propKeys.includes(key))) {\n\t\tvar _styleState_originalContextPropValues;\n\t\tvar _styleState;\n\t\t(_styleState = styleState).overriddenContextProps || (_styleState.overriddenContextProps = {});\n\t\tvar originalFromState = (_styleState_originalContextPropValues = styleState.originalContextPropValues) === null || _styleState_originalContextPropValues === void 0 ? void 0 : _styleState_originalContextPropValues[key];\n\t\tvar _ref;\n\t\tstyleState.overriddenContextProps[key] = (_ref = originalVal !== null && originalVal !== void 0 ? originalVal : originalFromState) !== null && _ref !== void 0 ? _ref : val;\n\t}\n\tif (key in import_helpers.stylePropsTransform) {\n\t\tvar _styleState1;\n\t\t(_styleState1 = styleState).flatTransforms || (_styleState1.flatTransforms = {});\n\t\tstyleState.flatTransforms[key] = val;\n\t} else {\n\t\tvar out = import_constants.isWeb && !disableNormalize && !styleProps.noNormalize ? (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(val, key) : val;\n\t\tif (staticConfig.accept && key in staticConfig.accept) viewProps[key] = out;\n\t\telse {\n\t\t\tvar _styleState2;\n\t\t\t(_styleState2 = styleState).style || (_styleState2.style = {});\n\t\t\tstyleState.style[key] = key === \"transform\" && Array.isArray(out) ? [...out] : out;\n\t\t\tif (shouldTrackStyleTokenProvenance) recordStyleTokenProvenance(styleState, key, originalVal);\n\t\t}\n\t}\n}\nfunction recordStyleTokenProvenance(styleState, key, originalVal) {\n\tvar _styleState_conf_themes;\n\tvar tokenName = typeof originalVal === \"string\" ? originalVal : \"\";\n\tif (tokenName) {\n\t\tvar slash = tokenName.lastIndexOf(\"/\");\n\t\tvar opacity = slash === -1 ? NaN : Number(tokenName.slice(slash + 1));\n\t\tif (Number.isInteger(opacity) && opacity >= 0 && opacity <= 100) tokenName = tokenName.slice(0, slash);\n\t}\n\tif (tokenName !== \"\" && (Object.prototype.hasOwnProperty.call(styleState.theme, tokenName) || Object.prototype.hasOwnProperty.call(((_styleState_conf_themes = styleState.conf.themes) === null || _styleState_conf_themes === void 0 ? void 0 : _styleState_conf_themes[styleState.flatThemeName || \"\"]) || {}, tokenName) || Object.values(styleState.conf.tokensParsed).some(function(category) {\n\t\treturn Object.prototype.hasOwnProperty.call(category, tokenName);\n\t}))) {\n\t\tvar _styleState;\n\t\t((_styleState = styleState).tokenProvenance || (_styleState.tokenProvenance = {}))[key] = originalVal;\n\t} else if (styleState.tokenProvenance && key in styleState.tokenProvenance) delete styleState.tokenProvenance[key];\n}\nvar getSubStyle = function(styleState, _subKey, styleIn, avoidMergeTransform) {\n\tvar { staticConfig, conf, styleProps } = styleState;\n\tvar styleOut = {};\n\tvar originalValues;\n\tvar styleInOriginalValues = import_styleOriginalValues.styleOriginalValues.get(styleIn);\n\tvar parentProps = styleState.props;\n\tstyleState.props = Object.create(parentProps, Object.getOwnPropertyDescriptors(styleIn));\n\ttry {\n\t\tvar _loop = function(key1) {\n\t\t\tvar val = styleIn[key1];\n\t\t\tkey1 = conf.shorthands[key1] || key1;\n\t\t\tif (!staticConfig.isHOC && key1 in import_skipProps.skipProps && !styleProps.noSkip) return key = key1, \"continue\";\n\t\t\t(0, import_propMapper.propMapper)(key1, val, styleState, false, function(skey, sval, originalVal) {\n\t\t\t\tvar _styleInOriginalValues_skey;\n\t\t\t\tvar trackedOriginalVal = (_styleInOriginalValues_skey = styleInOriginalValues === null || styleInOriginalValues === void 0 ? void 0 : styleInOriginalValues[skey]) !== null && _styleInOriginalValues_skey !== void 0 ? _styleInOriginalValues_skey : originalVal;\n\t\t\t\tif (trackedOriginalVal !== void 0) {\n\t\t\t\t\toriginalValues || (originalValues = {});\n\t\t\t\t\toriginalValues[skey] = trackedOriginalVal;\n\t\t\t\t}\n\t\t\t\tif (!avoidMergeTransform && skey in import_helpers.stylePropsTransform) mergeTransform(styleOut, skey, sval);\n\t\t\t\telse styleOut[skey] = styleProps.noNormalize ? sval : (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(sval, key1);\n\t\t\t});\n\t\t\tkey = key1;\n\t\t};\n\t\tfor (var key in styleIn) _loop(key);\n\t} finally {\n\t\tstyleState.props = parentProps;\n\t}\n\tif (!avoidMergeTransform) {\n\t\tvar _styleState_style;\n\t\tvar parentTransform = (_styleState_style = styleState.style) === null || _styleState_style === void 0 ? void 0 : _styleState_style.transform;\n\t\tvar flatTransforms = styleState.flatTransforms;\n\t\tvar styleOutTransform = styleOut.transform;\n\t\tif (Array.isArray(styleOutTransform) && styleOutTransform.length) {\n\t\t\tvar len = styleOutTransform.length;\n\t\t\tif (Array.isArray(parentTransform)) {\n\t\t\t\tvar merged = [];\n\t\t\t\touter: for (var i = 0; i < parentTransform.length; i++) {\n\t\t\t\t\tvar pt = parentTransform[i];\n\t\t\t\t\tfor (var pk in pt) {\n\t\t\t\t\t\tfor (var j = 0; j < len; j++) for (var sk in styleOutTransform[j]) {\n\t\t\t\t\t\t\tif (pk === sk) continue outer;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmerged.push(pt);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor (var i1 = 0; i1 < len; i1++) merged.push(styleOutTransform[i1]);\n\t\t\t\tstyleOut.transform = merged;\n\t\t\t}\n\t\t\tif (flatTransforms) outer: for (var fk in flatTransforms) {\n\t\t\t\tvar ck = fk === \"x\" ? \"translateX\" : fk === \"y\" ? \"translateY\" : fk;\n\t\t\t\tfor (var j1 = 0; j1 < len; j1++) for (var sk1 in styleOutTransform[j1]) {\n\t\t\t\t\tif (ck === sk1) continue outer;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tmergeTransform(styleOut, fk, flatTransforms[fk]);\n\t\t\t}\n\t\t} else if (flatTransforms) mergeFlatTransforms(styleOut, flatTransforms);\n\t}\n\tif (!styleProps.noNormalize) (0, import_expandStyles.fixStyles)(styleOut);\n\tif (originalValues) import_styleOriginalValues.styleOriginalValues.set(styleOut, originalValues);\n\treturn styleOut;\n};\nimport_constants.isWeb && (import_react.default.useInsertionEffect || import_constants.useIsomorphicLayoutEffect);\nvar useSplitStyles = function(a, b, c, d, e, f, g, h, i, j, k, l, m) {\n\t\"use no memo\";\n\treturn getSplitStyles(a, b, c, d, e, f, g, h, i, j, k, l, m);\n};\nvar mergeTransform = function(obj, key, val) {\n\tvar backwards = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;\n\tvar _obj;\n\tif (typeof obj.transform === \"string\") return;\n\t(_obj = obj).transform || (_obj.transform = []);\n\tobj.transform[backwards ? \"unshift\" : \"push\"]({ [mapTransformKeys[key] || key]: val });\n};\nvar mapTransformKeys = {\n\tx: \"translateX\",\n\ty: \"translateY\"\n};\nfunction passDownProp(viewProps, key, val) {\n\tviewProps[key] = val;\n}\nfunction normalizeStyle(style) {\n\tvar out = {};\n\tfor (var key in style) {\n\t\tvar val = style[key];\n\t\tif (key in import_helpers.stylePropsTransform) mergeTransform(out, key, val);\n\t\telse out[key] = (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(val, key);\n\t}\n\tif (import_constants.isWeb && Array.isArray(out.transform)) out.transform = (0, import_transformsToString.transformsToString)(out.transform);\n\t(0, import_expandStyles.fixStyles)(out);\n\treturn out;\n}\n//# sourceMappingURL=getSplitStyles.js.map\n"],"mappings":";;;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,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AAM,MAAM;EAChB,IAAI,OAAO,eAAe,qBAAqB,eAAe,KAAK,KAAK,GAAG;OACtE,IAAI,QAAQ,GAAG,kCAAkC,4BAA4B,KAAK,GAAG;CAC3F;CACA,IAAI,iBAAiB,SAAS,MAAM,QAAQ,IAAI,SAAS,GAAG,IAAI,aAAa,GAAG,0BAA0B,oBAAoB,IAAI,SAAS;CAC3I,CAAC,GAAG,oBAAoB,WAAW,GAAG;CACtC,OAAO;AACR"}
1
+ {"version":3,"file":"getSplitStyles.native.js","names":[],"sources":["cjs/helpers/getSplitStyles.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n\tfor (var name in all) __defProp(target, name, {\n\t\tget: all[name],\n\t\tenumerable: true\n\t});\n};\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {\n\t\t\tget: () => from[key],\n\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t});\n\t}\n\treturn to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n\t// If the importer is in node compatibility mode or this is not an ESM\n\t// file that has been converted to a CommonJS file using a Babel-\n\t// compatible transform (i.e. \"__esModule\" has not been set), then set\n\t// \"default\" to the CommonJS \"module.exports\" for node compatibility.\n\tisNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", {\n\t\tvalue: mod,\n\t\tenumerable: true\n\t}) : target,\n\tmod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar getSplitStyles_exports = {};\n__export(getSplitStyles_exports, {\n\tSTYLE_TOKEN_PROVENANCE_KEY: () => import_styleProvenance2.STYLE_TOKEN_PROVENANCE_KEY,\n\tgetSplitStyles: () => getSplitStyles,\n\tgetStyleTokenProvenance: () => import_styleProvenance2.getStyleTokenProvenance,\n\tgetSubStyle: () => getSubStyle,\n\tisValidStyleKey: () => isValidStyleKey,\n\tstyleOriginalValues: () => import_styleOriginalValues.styleOriginalValues,\n\tuseSplitStyles: () => useSplitStyles\n});\nmodule.exports = __toCommonJS(getSplitStyles_exports);\nvar import_constants = require(\"@tamagui/constants\");\nvar import_helpers = require(\"@tamagui/helpers\");\nvar import_react = __toESM(require(\"react\"), 1);\nvar import_styleFrontend = require(\"./styleFrontend\");\nvar import_config = require(\"../config\");\nvar import_isDevTools = require(\"../constants/isDevTools\");\nvar import_mediaState = require(\"./mediaState\");\nvar import_expandStyles = require(\"./expandStyles\");\nvar import_getCSSStylesAtomic = require(\"./getCSSStylesAtomic\");\nvar import_getDefaultProps = require(\"./getDefaultProps\");\nrequire(\"./insertStyleRule\");\nvar import_isObj = require(\"./isObj\");\nvar import_log = require(\"./log\");\nvar import_normalizeValueWithProperty = require(\"./normalizeValueWithProperty\");\nvar import_propMapper = require(\"./propMapper\");\nvar import_directStyle = require(\"./directStyle\");\nvar import_frontendProgram = require(\"./frontendProgram\");\nvar import_skipProps = require(\"./skipProps\");\nvar import_sortString = require(\"./sortString\");\nvar import_styleOriginalValues = require(\"./styleOriginalValues\");\nvar import_styleProvenance = require(\"./styleProvenance\");\nvar import_transformsToString = require(\"./transformsToString\");\nvar import_styleProvenance2 = require(\"./styleProvenance\");\nfunction _type_of(obj) {\n\t\"@swc/helpers - typeof\";\n\treturn obj && typeof Symbol !== \"undefined\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nvar shouldTrackStyleTokenProvenance = process.env.NODE_ENV === \"development\" && process.env.TAMAGUI_ENABLE_STYLE_TOKEN_PROVENANCE === \"1\";\nfunction compoundMatcherMatches(expected, actual) {\n\tif (Array.isArray(expected)) return expected.some(function(value) {\n\t\treturn Object.is(value, actual);\n\t});\n\treturn Object.is(expected, actual);\n}\nfunction compoundVariantMatches(compoundVariant, props) {\n\tfor (var key in compoundVariant) {\n\t\tif (key === \"style\") continue;\n\t\tif (!compoundMatcherMatches(compoundVariant[key], props[key])) return false;\n\t}\n\treturn true;\n}\nvar styledDefaultsCache = /* @__PURE__ */ new WeakMap();\nfunction getStyledDefaults(staticConfig) {\n\tvar entries = styledDefaultsCache.get(staticConfig);\n\tif (entries === void 0) {\n\t\tentries = null;\n\t\tvar defaults = staticConfig.defaultProps;\n\t\tif (defaults) for (var key in defaults) (entries || (entries = [])).push([key, defaults[key]]);\n\t\tstyledDefaultsCache.set(staticConfig, entries);\n\t}\n\treturn entries;\n}\nfunction contributeDisplacedStyledDefaults(styledDefaults, processedProps, shorthands, contribute) {\n\tif (!styledDefaults) return;\n\tfor (var index = 0; index < styledDefaults.length; index++) {\n\t\tvar key = styledDefaults[index][0];\n\t\tvar styledValue = styledDefaults[index][1];\n\t\tvar propValue = processedProps[key];\n\t\tif (!(key in import_helpers.stylePropsAll) && !(key in shorthands)) continue;\n\t\tif (propValue !== void 0 && propValue !== styledValue && (typeof styledValue === \"string\" && styledValue.includes(\":\") || typeof propValue === \"string\" && propValue.includes(\":\"))) contribute(key, styledValue);\n\t}\n}\nfunction forEachPropInForwardOrder(processedProps, staticConfig, shorthands, contribute) {\n\tvar processedBaseStyle = staticConfig.baseStyle;\n\tvar compoundVariants = staticConfig.compoundVariants;\n\tvar styledDefaults = getStyledDefaults(staticConfig);\n\tif (!(compoundVariants === null || compoundVariants === void 0 ? void 0 : compoundVariants.length)) {\n\t\tif (processedBaseStyle) for (var key in processedBaseStyle) contribute(key, processedBaseStyle[key]);\n\t\tcontributeDisplacedStyledDefaults(styledDefaults, processedProps, shorthands, contribute);\n\t\tfor (var key1 in processedProps) contribute(key1, processedProps[key1]);\n\t\treturn;\n\t}\n\tvar propEntries = Object.entries(processedProps);\n\tvar orderedEntries = processedBaseStyle ? Object.entries(processedBaseStyle) : [];\n\tcontributeDisplacedStyledDefaults(styledDefaults, processedProps, shorthands, function(k, v) {\n\t\treturn orderedEntries.push([k, v]);\n\t});\n\tvar compoundsByAnchor = /* @__PURE__ */ new Map();\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = compoundVariants[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar compoundVariant = _step.value;\n\t\t\tif (!compoundVariantMatches(compoundVariant, processedProps)) continue;\n\t\t\tvar { style } = compoundVariant;\n\t\t\tif (!(0, import_isObj.isPlainObject)(style)) continue;\n\t\t\tvar anchor = -1;\n\t\t\tfor (var selectorKey in compoundVariant) {\n\t\t\t\tif (selectorKey === \"style\") continue;\n\t\t\t\tfor (var index = propEntries.length - 1; index >= 0; index--) if (propEntries[index][0] === selectorKey) {\n\t\t\t\t\tanchor = Math.max(anchor, index);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar entries = compoundsByAnchor.get(anchor) || [];\n\t\t\tfor (var key2 in style) entries.push([key2, style[key2]]);\n\t\t\tcompoundsByAnchor.set(anchor, entries);\n\t\t}\n\t} catch (err) {\n\t\t_didIteratorError = true;\n\t\t_iteratorError = err;\n\t} finally {\n\t\ttry {\n\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t} finally {\n\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t}\n\t}\n\tfor (var index1 = 0; index1 < orderedEntries.length; index1++) contribute(orderedEntries[index1][0], orderedEntries[index1][1]);\n\tvar beforeProps = compoundsByAnchor.get(-1);\n\tif (beforeProps) for (var index2 = 0; index2 < beforeProps.length; index2++) contribute(beforeProps[index2][0], beforeProps[index2][1]);\n\tfor (var index3 = 0; index3 < propEntries.length; index3++) {\n\t\tcontribute(propEntries[index3][0], propEntries[index3][1]);\n\t\tvar compounds = compoundsByAnchor.get(index3);\n\t\tif (compounds) for (var i = 0; i < compounds.length; i++) contribute(compounds[i][0], compounds[i][1]);\n\t}\n}\nfunction isValidStyleKey(key, validStyles, accept) {\n\treturn Boolean(key in validStyles || import_constants.isWeb && (key === \"transitionProperty\" || key === \"transitionDuration\" || key === \"transitionTimingFunction\" || key === \"transitionDelay\" || key === \"transitionBehavior\") || accept && key in accept);\n}\nvar getSplitStyles = function(props, staticConfig, theme, themeName, componentState, styleProps, parentSplitStyles, componentContext, groupContext, elementType, startedUnhydrated, debug, animationDriver) {\n\tvar _staticConfig_styleFrontend, _styleState_flatMediaKeys, _styleState_flatGroupKeys, _styleState_flatGroupMedia, _styleState_style;\n\tvar conf = (0, import_config.getConfig)();\n\tif ((_staticConfig_styleFrontend = staticConfig.styleFrontend) === null || _staticConfig_styleFrontend === void 0 ? void 0 : _staticConfig_styleFrontend.normalizeStaticConfig) staticConfig = staticConfig.styleFrontend.normalizeStaticConfig(staticConfig, conf);\n\tvar driver = animationDriver || (componentContext === null || componentContext === void 0 ? void 0 : componentContext.animationDriver) || conf.animations;\n\tvar resolvedDriver = (driver === null || driver === void 0 ? void 0 : driver.isStub) ? null : driver;\n\tif (props.passThrough) return null;\n\tif (import_constants.isWeb && styleProps.isAnimated && (driver === null || driver === void 0 ? void 0 : driver.isReactNative) && !styleProps.noNormalize) styleProps.noNormalize = \"values\";\n\tvar { shorthands } = conf;\n\tvar { isHOC, isText, isInput, variants, isReactNative, inlineProps, parentStaticConfig, acceptsClassName } = staticConfig;\n\tvar viewProps = {};\n\tvar mediaState = styleProps.mediaState || import_mediaState.mediaState;\n\tvar shouldDoClasses = acceptsClassName && import_constants.isWeb && !styleProps.noClass;\n\tvar rulesToInsert = void 0;\n\tvar classNames = {};\n\tprops.space;\n\tvar hasMedia = false;\n\tvar pseudoGroups;\n\tvar mediaGroups;\n\tvar className = staticConfig.passthroughClassName || \"\";\n\tif (className) shouldDoClasses = false;\n\tvar validStyles = staticConfig.validStyles || (staticConfig.isText || staticConfig.isInput ? import_helpers.stylePropsText : import_helpers.validStyles);\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-setup`;\n\tvar styleState = {\n\t\tclassNames,\n\t\tconf,\n\t\tprops,\n\t\tstyleProps,\n\t\tcomponentState,\n\t\tstaticConfig,\n\t\tstyle: null,\n\t\ttheme,\n\t\tviewProps,\n\t\tcontext: componentContext,\n\t\tdebug,\n\t\tflatRulesToInsert: rulesToInsert,\n\t\tflatShouldDoClasses: shouldDoClasses,\n\t\tflatThemeName: themeName,\n\t\tflatMediaState: mediaState,\n\t\tflatGroupContext: groupContext,\n\t\tanimationDriver: resolvedDriver\n\t};\n\tif (process.env.IS_STATIC === \"is_static\") {\n\t\tvar { fallbackProps } = styleProps;\n\t\tif (fallbackProps) styleState.props = new Proxy(props, { get(_, key8, val2) {\n\t\t\tif (!Reflect.has(props, key8)) return Reflect.get(fallbackProps, key8);\n\t\t\treturn Reflect.get(props, key8);\n\t\t} });\n\t}\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`style-state`;\n\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\" && import_constants.isClient) {\n\t\tif (import_isDevTools.isDevTools) {\n\t\t\tconsole.groupCollapsed(\"🔹 getSplitStyles 👇\");\n\t\t\t(0, import_log.log)({\n\t\t\t\tprops,\n\t\t\t\tstaticConfig,\n\t\t\t\tshouldDoClasses,\n\t\t\t\tstyleProps,\n\t\t\t\trulesToInsert,\n\t\t\t\tcomponentState,\n\t\t\t\tstyleState,\n\t\t\t\ttheme: { ...theme }\n\t\t\t});\n\t\t}\n\t}\n\tvar { asChild } = props;\n\tvar { accept, neverSkipProps } = staticConfig;\n\tvar { noSkip, disableExpandShorthands, noExpand, styledContext } = styleProps;\n\tvar processedProps;\n\tvar styleFrontend = staticConfig.styleFrontend;\n\tif (styleFrontend && !props[import_styleFrontend.STYLE_FRONTEND_PREPROCESSED]) processedProps = styleFrontend.preprocessProps(props, conf);\n\telse processedProps = props;\n\tvar { webContainerType } = conf.settings;\n\tvar parentVariants = parentStaticConfig === null || parentStaticConfig === void 0 ? void 0 : parentStaticConfig.variants;\n\tvar mergeStylePropAtCurrentPosition = function(styleProp) {\n\t\tif (styleProps.noMergeStyle || !styleProp) return;\n\t\tif (isHOC) {\n\t\t\tviewProps.style = normalizeStyle(styleProp);\n\t\t\treturn;\n\t\t}\n\t\tvar isArray = Array.isArray(styleProp);\n\t\tvar length = isArray ? styleProp.length : 1;\n\t\tfor (var index = 0; index < length; index++) {\n\t\t\tvar style2 = isArray ? styleProp[index] : styleProp;\n\t\t\tif (!style2) continue;\n\t\t\tif (style2[\"$$css\"]) {\n\t\t\t\tfor (var key8 in style2) (0, import_directStyle.clearDirectStyle)(styleState, key8);\n\t\t\t\tObject.assign(styleState.classNames, style2);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tvar normalized = normalizeStyle(style2);\n\t\t\tvar styleOriginals = shouldTrackStyleTokenProvenance ? import_styleOriginalValues.styleOriginalValues.get(style2) : void 0;\n\t\t\tfor (var key12 in normalized) {\n\t\t\t\tif (normalized[key12] == null) continue;\n\t\t\t\t(0, import_directStyle.contributeStyleValue)(styleState, key12, normalized[key12], mergeStyle, styleOriginals === null || styleOriginals === void 0 ? void 0 : styleOriginals[key12]);\n\t\t\t}\n\t\t}\n\t};\n\tvar flushForwardStylesToClasses = function() {\n\t\tif (!shouldDoClasses) return;\n\t\t(0, import_directStyle.flushDirectStyles)(styleState, true);\n\t};\n\tvar contributeProp = function(keyOg, valOg) {\n\t\tvar keyInit = keyOg;\n\t\tvar valInit = valOg;\n\t\tif (styleFrontend && keyInit.startsWith(import_styleFrontend.STYLE_FRONTEND_PASSTHROUGH_PREFIX)) keyInit = \"className\";\n\t\tif (keyInit === \"children\") {\n\t\t\tviewProps[keyInit] = valInit;\n\t\t\treturn;\n\t\t}\n\t\tif (keyInit === \"ref\") return;\n\t\tif (keyInit[0] === \"d\" && keyInit.startsWith(\"data-\")) return;\n\t\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`before-prop-${keyInit}`;\n\t\tif (process.env.NODE_ENV === \"test\" && keyInit === \"jestAnimatedStyle\") return;\n\t\tif (keyInit === \"transition\" || keyInit === \"transitionProperty\" || keyInit === \"transitionDuration\" || keyInit === \"transitionTimingFunction\" || keyInit === \"transitionDelay\" || keyInit === \"transitionBehavior\") return;\n\t\tif (accept) {\n\t\t\tvar accepted = accept[keyInit];\n\t\t\tif ((accepted === \"style\" || accepted === \"textStyle\") && valInit && (typeof valInit === \"undefined\" ? \"undefined\" : _type_of(valInit)) === \"object\") {\n\t\t\t\tviewProps[keyInit] = getSubStyle(styleState, keyInit, valInit, styleProps.noClass);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tif (!disableExpandShorthands) {\n\t\t\tif (keyInit in shorthands) keyInit = shorthands[keyInit];\n\t\t}\n\t\tif (keyInit === \"className\") {\n\t\t\tif (typeof valInit === \"string\" && valInit) {\n\t\t\t\tclassName = `${className} ${valInit}`.trim();\n\t\t\t\tif (styleFrontend) {\n\t\t\t\t\tflushForwardStylesToClasses();\n\t\t\t\t\tshouldDoClasses = false;\n\t\t\t\t\tstyleState.flatShouldDoClasses = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tif (keyInit === \"style\") {\n\t\t\tmergeStylePropAtCurrentPosition(valInit);\n\t\t\treturn;\n\t\t}\n\t\tif (asChild) {\n\t\t\tvar defaults = (0, import_getDefaultProps.getDefaultProps)(staticConfig);\n\t\t\tif (defaults) {\n\t\t\t\tvar _defaults_keyOg;\n\t\t\t\tvar defaultVal = (_defaults_keyOg = defaults[keyOg]) !== null && _defaults_keyOg !== void 0 ? _defaults_keyOg : defaults[keyInit];\n\t\t\t\tif (defaultVal !== void 0 && valInit === defaultVal) return;\n\t\t\t}\n\t\t}\n\t\tif (keyInit in import_skipProps.skipProps && !noSkip && !isHOC && !(neverSkipProps === null || neverSkipProps === void 0 ? void 0 : neverSkipProps[keyInit])) {\n\t\t\tif (keyInit === \"group\");\n\t\t\tif (keyInit === \"container\" && valInit) {}\n\t\t\tif (keyInit === \"transition\" && typeof valInit === \"string\") {\n\t\t\t\tvar _driver_animations;\n\t\t\t\tvar animationConfig = driver === null || driver === void 0 ? void 0 : (_driver_animations = driver.animations) === null || _driver_animations === void 0 ? void 0 : _driver_animations[valInit];\n\t\t\t\tif (animationConfig && (driver === null || driver === void 0 ? void 0 : driver.outputStyle) === \"css\" && process.env.IS_STATIC === \"is_static\") valInit = `all ${animationConfig}`;\n\t\t\t\telse if (animationConfig) return;\n\t\t\t} else return;\n\t\t}\n\t\tif (process.env.TAMAGUI_RUNTIME_STYLE_VALUE_GRAMMAR !== \"disabled\" && (0, import_frontendProgram.isFrontendProgram)(valInit)) {\n\t\t\tif (isValidStyleKey(valInit.property, validStyles, accept)) (0, import_frontendProgram.contributeFrontendProgram)(styleState, valInit, mergeStyle);\n\t\t\telse if (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${valInit.property}\" is not a valid style on this component; the frontend value is dropped.`);\n\t\t\treturn;\n\t\t}\n\t\tvar isValidStyleKeyInit = isValidStyleKey(keyInit, validStyles, accept);\n\t\tif (import_constants.isWeb) {\n\t\t\tvar _driver_View;\n\t\t\tif ((staticConfig.isReactNative || styleProps.isAnimated && (driver === null || driver === void 0 ? void 0 : driver.isReactNative) && !((_driver_View = driver.View) === null || _driver_View === void 0 ? void 0 : _driver_View.acceptRenderProp)) && keyInit.startsWith(\"data-\")) {\n\t\t\t\tvar _viewProps2, _dataSet;\n\t\t\t\tkeyInit = keyInit.replace(\"data-\", \"\");\n\t\t\t\t(_viewProps2 = viewProps)[_dataSet = \"dataSet\"] || (_viewProps2[_dataSet] = {});\n\t\t\t\tviewProps[\"dataSet\"][keyInit] = valInit;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (keyInit.startsWith(\"data-\")) {\n\t\t\t\tviewProps[keyInit] = valInit;\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tif (!isValidStyleKeyInit) {\n\t\t\tif (!import_constants.isAndroid) {\n\t\t\t\tif (keyInit === \"elevationAndroid\") return;\n\t\t\t}\n\t\t\tif (keyInit === \"userSelect\") {\n\t\t\t\tkeyInit = \"selectable\";\n\t\t\t\tvalInit = valInit !== \"none\";\n\t\t\t} else if (keyInit === \"textOverflow\") {\n\t\t\t\tif (isText && valInit === \"ellipsis\") {\n\t\t\t\t\tvar _viewProps1, _viewProps22;\n\t\t\t\t\tvar _numberOfLines;\n\t\t\t\t\t(_numberOfLines = (_viewProps1 = viewProps).numberOfLines) !== null && _numberOfLines !== void 0 || (_viewProps1.numberOfLines = 1);\n\t\t\t\t\tvar _ellipsizeMode;\n\t\t\t\t\t(_ellipsizeMode = (_viewProps22 = viewProps).ellipsizeMode) !== null && _ellipsizeMode !== void 0 || (_viewProps22.ellipsizeMode = \"tail\");\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t} else if (keyInit.startsWith(\"data-\")) return;\n\t\t}\n\t\tvar isVariant = !isValidStyleKeyInit && variants && keyInit in variants;\n\t\tvar isStyleLikeKey = isValidStyleKeyInit || isVariant;\n\t\tvar isStyleProp = isValidStyleKeyInit || isVariant && !noExpand;\n\t\tif (isStyleProp && (asChild === \"except-style\" || asChild === \"except-style-web\")) return;\n\t\tvar shouldPassProp = !isStyleProp && isHOC || isHOC && parentVariants && keyInit in parentVariants || (inlineProps === null || inlineProps === void 0 ? void 0 : inlineProps.has(keyInit));\n\t\tvar parentVariant = parentVariants === null || parentVariants === void 0 ? void 0 : parentVariants[keyInit];\n\t\tvar isHOCShouldPassThrough = Boolean(isHOC && (isValidStyleKeyInit || parentVariant || keyInit in import_skipProps.skipProps));\n\t\tvar shouldPassThrough = shouldPassProp || isHOCShouldPassThrough;\n\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\tconsole.groupCollapsed(` \\u{1F511} ${keyOg}${keyInit !== keyOg ? ` (shorthand for ${keyInit})` : \"\"} ${shouldPassThrough ? \"(pass)\" : \"\"}`);\n\t\t\t(0, import_log.log)({\n\t\t\t\tisVariant,\n\t\t\t\tvalInit,\n\t\t\t\tshouldPassProp\n\t\t\t});\n\t\t\tif (import_constants.isClient) (0, import_log.log)({\n\t\t\t\tvariants,\n\t\t\t\tvariant: variants === null || variants === void 0 ? void 0 : variants[keyInit],\n\t\t\t\tisVariant,\n\t\t\t\tisHOCShouldPassThrough,\n\t\t\t\tparentStaticConfig\n\t\t\t});\n\t\t}\n\t\tif (shouldPassThrough) {\n\t\t\tpassDownProp(viewProps, keyInit, valInit);\n\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") console.groupEnd();\n\t\t\tif (!isVariant) return;\n\t\t}\n\t\tif (!noSkip && !(neverSkipProps === null || neverSkipProps === void 0 ? void 0 : neverSkipProps[keyInit])) {\n\t\t\tvar _driver_animations1;\n\t\t\tif (keyInit in import_skipProps.skipProps && !(keyInit === \"transition\" && typeof valInit === \"string\" && !(driver === null || driver === void 0 ? void 0 : (_driver_animations1 = driver.animations) === null || _driver_animations1 === void 0 ? void 0 : _driver_animations1[valInit]))) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") console.groupEnd();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tif (isText || isInput) {\n\t\t\tif (valInit && (keyInit === \"fontFamily\" || keyInit === shorthands[\"fontFamily\"]) && valInit in conf.fontsParsed) styleState.fontFamily = valInit;\n\t\t}\n\t\tvar disablePropMap = !isStyleLikeKey;\n\t\tif (!isHOC && isValidStyleKeyInit && valInit != null && !(valInit === \"unset\") && !(variants && keyInit in variants) && !(accept && keyInit in accept) && !(styledContext && keyInit in styledContext)) {\n\t\t\t(0, import_directStyle.contributeStyleValue)(styleState, keyInit, valInit, mergeStyle);\n\t\t\treturn;\n\t\t}\n\t\t(0, import_propMapper.propMapper)(keyInit, valInit, styleState, disablePropMap, function(key8, val2, originalVal, conditionSource) {\n\t\t\tvar _parentStaticConfig_variants;\n\t\t\tvar isStyledContextProp = styledContext && key8 in styledContext;\n\t\t\tif (key8 === \"className\") {\n\t\t\t\tif (typeof val2 === \"string\" && val2) className = `${className} ${val2}`.trim();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!isHOC && disablePropMap && !isStyledContextProp) {\n\t\t\t\tif (key8 in import_helpers.stylePropsAll && !isValidStyleKey(key8, validStyles, accept)) {\n\t\t\t\t\tif (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key8}\" is a text style prop and this component is not text \\u2014 it would render on neither platform. Use a Text-based component, or html.* for raw web elements.`);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tviewProps[key8] = val2;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\t\tconsole.groupCollapsed(\" 💠 expanded\", keyInit, \"=>\", key8);\n\t\t\t\t(0, import_log.log)(val2);\n\t\t\t\tconsole.groupEnd();\n\t\t\t}\n\t\t\tif (val2 == null) return;\n\t\t\tif (accept && key8 in accept) {\n\t\t\t\tviewProps[key8] = val2;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar isHostStyleKey = !isHOC && isValidStyleKey(key8, validStyles, accept) || import_constants.isAndroid && key8 === \"elevation\";\n\t\t\tvar isContextProgramKey = !isHOC && Boolean(isStyledContextProp);\n\t\t\tif (process.env.TAMAGUI_RUNTIME_STYLE_VALUE_GRAMMAR !== \"disabled\" && conditionSource !== void 0) {\n\t\t\t\tif (isHostStyleKey || isContextProgramKey) (0, import_directStyle.contributeVariantClauseValue)(styleState, key8, val2, conditionSource, mergeStyle, originalVal, !isHostStyleKey);\n\t\t\t\telse if (isHOC) {\n\t\t\t\t\tvar appended = (0, import_propMapper.appendFlatClause)(viewProps[key8], conditionSource, val2);\n\t\t\t\t\tif (appended !== void 0) viewProps[key8] = appended;\n\t\t\t\t\telse if (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] conditional variant value for \"${key8}\" is not string-representable; dropping the clause`);\n\t\t\t\t} else if (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key8}\" is not a valid style on this component; the conditional variant value is dropped.`);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (isHostStyleKey || isContextProgramKey) {\n\t\t\t\t(0, import_directStyle.contributeStyleValue)(styleState, key8, val2, mergeStyle, originalVal, !isHostStyleKey);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tisVariant = variants && key8 in variants;\n\t\t\tif (inlineProps === null || inlineProps === void 0 ? void 0 : inlineProps.has(key8)) {\n\t\t\t\tvar _props_key;\n\t\t\t\tviewProps[key8] = (_props_key = props[key8]) !== null && _props_key !== void 0 ? _props_key : val2;\n\t\t\t}\n\t\t\tif (isHOC && Boolean(parentStaticConfig === null || parentStaticConfig === void 0 ? void 0 : (_parentStaticConfig_variants = parentStaticConfig.variants) === null || _parentStaticConfig_variants === void 0 ? void 0 : _parentStaticConfig_variants[keyInit])) {\n\t\t\t\tpassDownProp(viewProps, key8, val2);\n\t\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\t\t\tconsole.groupCollapsed(` - passing down prop ${key8}`);\n\t\t\t\t\t(0, import_log.log)({\n\t\t\t\t\t\tval: val2,\n\t\t\t\t\t\tafter: { ...viewProps[key8] }\n\t\t\t\t\t});\n\t\t\t\t\tconsole.groupEnd();\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!isVariant) {\n\t\t\t\tif (isStyledContextProp) return;\n\t\t\t\tif (key8 in import_helpers.stylePropsAll && !isValidStyleKey(key8, validStyles, accept)) {\n\t\t\t\t\tif (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key8}\" is a text style prop and this component is not text \\u2014 it would render on neither platform. Use a Text-based component, or html.* for raw web elements.`);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tviewProps[key8] = val2;\n\t\t\t}\n\t\t});\n\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\ttry {\n\t\t\t\t(0, import_log.log)(` \\u2714\\uFE0F expand complete`, keyInit);\n\t\t\t\t(0, import_log.log)(\"style\", { ...styleState.style });\n\t\t\t\t(0, import_log.log)(\"viewProps\", { ...viewProps });\n\t\t\t\t(0, import_log.log)(\"transforms\", { ...styleState.flatTransforms });\n\t\t\t} catch (e) {}\n\t\t\tconsole.groupEnd();\n\t\t}\n\t};\n\tforEachPropInForwardOrder(processedProps, staticConfig, shorthands, contributeProp);\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-propsend`;\n\tvar conditionalStates = styleState.flatStateKeys || null;\n\tvar usesSafeArea = !!styleState.flatUsesSafeArea;\n\tif ((_styleState_flatMediaKeys = styleState.flatMediaKeys) === null || _styleState_flatMediaKeys === void 0 ? void 0 : _styleState_flatMediaKeys.size) {\n\t\tif (!hasMedia) hasMedia = /* @__PURE__ */ new Set();\n\t\tif (typeof hasMedia !== \"boolean\") {\n\t\t\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\t\t\ttry {\n\t\t\t\tfor (var _iterator = styleState.flatMediaKeys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\t\t\tvar key = _step.value;\n\t\t\t\t\thasMedia.add(key);\n\t\t\t\t}\n\t\t\t} catch (err) {\n\t\t\t\t_didIteratorError = true;\n\t\t\t\t_iteratorError = err;\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t\t\t} finally {\n\t\t\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tif ((_styleState_flatGroupKeys = styleState.flatGroupKeys) === null || _styleState_flatGroupKeys === void 0 ? void 0 : _styleState_flatGroupKeys.size) {\n\t\tpseudoGroups || (pseudoGroups = /* @__PURE__ */ new Set());\n\t\tvar _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator1 = styleState.flatGroupKeys[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {\n\t\t\t\tvar key1 = _step1.value;\n\t\t\t\tpseudoGroups.add(key1);\n\t\t\t}\n\t\t} catch (err) {\n\t\t\t_didIteratorError1 = true;\n\t\t\t_iteratorError1 = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion1 && _iterator1.return != null) _iterator1.return();\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError1) throw _iteratorError1;\n\t\t\t}\n\t\t}\n\t}\n\tif ((_styleState_flatGroupMedia = styleState.flatGroupMedia) === null || _styleState_flatGroupMedia === void 0 ? void 0 : _styleState_flatGroupMedia.size) {\n\t\tmediaGroups || (mediaGroups = /* @__PURE__ */ new Set());\n\t\tvar _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator2 = styleState.flatGroupMedia[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n\t\t\t\tvar key2 = _step2.value;\n\t\t\t\tmediaGroups.add(key2);\n\t\t\t}\n\t\t} catch (err) {\n\t\t\t_didIteratorError2 = true;\n\t\t\t_iteratorError2 = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion2 && _iterator2.return != null) _iterator2.return();\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError2) throw _iteratorError2;\n\t\t\t}\n\t\t}\n\t}\n\tvar effectiveTransition = (_styleState_style = styleState.style) === null || _styleState_style === void 0 ? void 0 : _styleState_style.transition;\n\tif (effectiveTransition != null && styleState.style && true) delete styleState.style.transition;\n\tif (styleState.style) {\n\t\tif (\"containerType\" in styleState.style) delete styleState.style.containerType;\n\t\tif (\"containerName\" in styleState.style) delete styleState.style.containerName;\n\t}\n\tif (!(styleProps.noNormalize === false)) {\n\t\tif (styleState.style) {\n\t\t\t(0, import_expandStyles.fixStyles)(styleState.style);\n\t\t\tif (!styleProps.noExpand && !styleProps.noMergeStyle) {\n\t\t\t\tif (import_constants.isWeb && (isReactNative ? (driver === null || driver === void 0 ? void 0 : driver.inputStyle) !== \"css\" : true)) (0, import_getCSSStylesAtomic.styleToCSS)(styleState.style);\n\t\t\t}\n\t\t}\n\t\tif (styleState.flatTransforms) {\n\t\t\tvar _styleState;\n\t\t\t(_styleState = styleState).style || (_styleState.style = {});\n\t\t\tmergeFlatTransforms(styleState.style, styleState.flatTransforms);\n\t\t}\n\t\tif (parentSplitStyles) {\n\t\t\tif (!shouldDoClasses) for (var key4 in parentSplitStyles.style) {\n\t\t\t\tvar _styleState1;\n\t\t\t\tif (key4 in classNames || styleState.style && key4 in styleState.style) continue;\n\t\t\t\t(_styleState1 = styleState).style || (_styleState1.style = {});\n\t\t\t\tstyleState.style[key4] = parentSplitStyles.style[key4];\n\t\t\t}\n\t\t}\n\t}\n\tif (viewProps.tabIndex === 0) {\n\t\tvar _viewProps;\n\t\tvar _accessible;\n\t\t(_accessible = (_viewProps = viewProps).accessible) !== null && _accessible !== void 0 || (_viewProps.accessible = true);\n\t}\n\tvar style = styleState.style;\n\tif (style === null || style === void 0 ? void 0 : style.fontFamily) {\n\t\tvar _getFont;\n\t\tvar faceInfo = (_getFont = (0, import_config.getFont)(style.fontFamily)) === null || _getFont === void 0 ? void 0 : _getFont.face;\n\t\tif (faceInfo) {\n\t\t\tvar _faceInfo_style_fontWeight_, _faceInfo_style_fontWeight;\n\t\t\tvar overrideFace = (_faceInfo_style_fontWeight = faceInfo[style.fontWeight]) === null || _faceInfo_style_fontWeight === void 0 ? void 0 : (_faceInfo_style_fontWeight_ = _faceInfo_style_fontWeight[style.fontStyle || \"normal\"]) === null || _faceInfo_style_fontWeight_ === void 0 ? void 0 : _faceInfo_style_fontWeight_.val;\n\t\t\tif (overrideFace) {\n\t\t\t\tstyle.fontFamily = overrideFace;\n\t\t\t\tstyleState.fontFamily = overrideFace;\n\t\t\t\tdelete style.fontWeight;\n\t\t\t\tdelete style.fontStyle;\n\t\t\t}\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && debug && debug !== \"profile\") (0, import_log.log)(`Found fontFamily native: ${style.fontFamily}`, faceInfo);\n\t}\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-pre-result`;\n\tif (shouldTrackStyleTokenProvenance && styleState.style && styleState.tokenProvenance) {\n\t\tvar provenance = {};\n\t\tvar hasProvenance = false;\n\t\tfor (var key5 in styleState.tokenProvenance) {\n\t\t\tprovenance[key5] = {\n\t\t\t\ttoken: styleState.tokenProvenance[key5],\n\t\t\t\ttheme: themeName\n\t\t\t};\n\t\t\thasProvenance = true;\n\t\t}\n\t\tif (hasProvenance) (0, import_styleProvenance.setStyleTokenProvenance)(styleState.style, provenance);\n\t}\n\tvar result = {\n\t\thasMedia,\n\t\tfontFamily: styleState.fontFamily,\n\t\tviewProps,\n\t\tstyle: styleState.style,\n\t\tclassNames,\n\t\trulesToInsert,\n\t\tpseudoGroups,\n\t\tmediaGroups,\n\t\toverriddenContextProps: styleState.overriddenContextProps\n\t};\n\tif (effectiveTransition != null) result.effectiveTransition = effectiveTransition;\n\tif (conditionalStates) result.programStates = conditionalStates;\n\tif (usesSafeArea) result.usesSafeArea = true;\n\tif ((0, import_directStyle.getDirectDynamicThemeAccess)(styleState)) result.dynamicThemeAccess = true;\n\tif (styleState.flatEnterKeys || styleState.flatExitKeys) {\n\t\tvar effectiveKeys = function(keys) {\n\t\t\tif (!keys) return;\n\t\t\tvar out = /* @__PURE__ */ new Set();\n\t\t\tvar _iteratorNormalCompletion4 = true, _didIteratorError4 = false, _iteratorError4 = void 0;\n\t\t\ttry {\n\t\t\t\tfor (var _iterator4 = keys[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {\n\t\t\t\t\tvar key8 = _step4.value;\n\t\t\t\t\tout.add(key8 === \"--t-x\" || key8 === \"--t-y\" ? \"translate\" : key8 === \"--t-scale-x\" || key8 === \"--t-scale-y\" ? \"scale\" : key8);\n\t\t\t\t}\n\t\t\t} catch (err) {\n\t\t\t\t_didIteratorError4 = true;\n\t\t\t\t_iteratorError4 = err;\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tif (!_iteratorNormalCompletion4 && _iterator4.return != null) _iterator4.return();\n\t\t\t\t} finally {\n\t\t\t\t\tif (_didIteratorError4) throw _iteratorError4;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn out;\n\t\t};\n\t\tresult.programLifecycleStyleKeys = {\n\t\t\tenter: effectiveKeys(styleState.flatEnterKeys),\n\t\t\texit: effectiveKeys(styleState.flatExitKeys)\n\t\t};\n\t}\n\tvar asChildExceptStyleLike = asChild === \"except-style\" || asChild === \"except-style-web\";\n\tif (!styleProps.noMergeStyle) {\n\t\tif (!asChildExceptStyleLike) {\n\t\t\tvar style1 = styleState.style;\n\t\t\tif (style1) viewProps.style = style1;\n\t\t}\n\t}\n\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\tif (import_constants.isClient && import_isDevTools.isDevTools) {\n\t\t\tconsole.groupEnd();\n\t\t\tconsole.groupCollapsed(\"🔹 getSplitStyles ===>\");\n\t\t\ttry {\n\t\t\t\tvar logs = {\n\t\t\t\t\t...props.__tamaguiStyleDebugReceipt && { receipt: props.__tamaguiStyleDebugReceipt },\n\t\t\t\t\t...result,\n\t\t\t\t\tclassName,\n\t\t\t\t\tcomponentState,\n\t\t\t\t\tviewProps,\n\t\t\t\t\trulesToInsert,\n\t\t\t\t\tparentSplitStyles\n\t\t\t\t};\n\t\t\t\tfor (var key7 in logs) (0, import_log.log)(key7, logs[key7]);\n\t\t\t} catch (e) {}\n\t\t\tconsole.groupEnd();\n\t\t}\n\t}\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-done`;\n\treturn result;\n};\nfunction mergeFlatTransforms(target, flatTransforms) {\n\tvar transform = [];\n\tif (\"x\" in flatTransforms) transform.push({ translateX: flatTransforms.x });\n\tif (\"y\" in flatTransforms) transform.push({ translateY: flatTransforms.y });\n\tif (\"rotate\" in flatTransforms) transform.push({ rotate: flatTransforms.rotate });\n\tvar hasScaleX = \"scaleX\" in flatTransforms;\n\tvar hasScaleY = \"scaleY\" in flatTransforms;\n\tif (hasScaleX && hasScaleY && Object.is(flatTransforms.scaleX, flatTransforms.scaleY)) transform.push({ scale: flatTransforms.scaleX });\n\telse {\n\t\tif (hasScaleX) transform.push({ scaleX: flatTransforms.scaleX });\n\t\tif (hasScaleY) transform.push({ scaleY: flatTransforms.scaleY });\n\t\tif (!hasScaleX && !hasScaleY && \"scale\" in flatTransforms) transform.push({ scale: flatTransforms.scale });\n\t}\n\tvar keys = [];\n\tfor (var key in flatTransforms) if (key !== \"x\" && key !== \"y\" && key !== \"rotate\" && key !== \"scale\" && key !== \"scaleX\" && key !== \"scaleY\") keys.push(key);\n\tkeys.sort(import_sortString.sortString);\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = keys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar key1 = _step.value;\n\t\t\ttransform.push({ [mapTransformKeys[key1] || key1]: flatTransforms[key1] });\n\t\t}\n\t} catch (err) {\n\t\t_didIteratorError = true;\n\t\t_iteratorError = err;\n\t} finally {\n\t\ttry {\n\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t} finally {\n\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t}\n\t}\n\tif (Array.isArray(target.transform)) transform.push(...target.transform);\n\ttarget.transform = transform;\n}\nfunction mergeStyle(styleState, key, val, _importance) {\n\tvar disableNormalize = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : false, originalVal = arguments.length > 5 ? arguments[5] : void 0;\n\tvar _staticConfig_parentStaticConfig, _staticConfig_parentStaticConfig1, _staticConfig_parentStaticConfig2, _contextConfig_propKeys;\n\tvar { viewProps, styleProps, staticConfig } = styleState;\n\tvar contextConfig = staticConfig.context || ((_staticConfig_parentStaticConfig = staticConfig.parentStaticConfig) === null || _staticConfig_parentStaticConfig === void 0 ? void 0 : _staticConfig_parentStaticConfig.context);\n\tvar contextProps = contextConfig === null || contextConfig === void 0 ? void 0 : contextConfig.props;\n\tvar inheritedContextPropKeys = !staticConfig.context || staticConfig.context === ((_staticConfig_parentStaticConfig1 = staticConfig.parentStaticConfig) === null || _staticConfig_parentStaticConfig1 === void 0 ? void 0 : _staticConfig_parentStaticConfig1.context) ? (_staticConfig_parentStaticConfig2 = staticConfig.parentStaticConfig) === null || _staticConfig_parentStaticConfig2 === void 0 ? void 0 : _staticConfig_parentStaticConfig2.contextProps : void 0;\n\tvar contextPropKeys = staticConfig.contextProps || inheritedContextPropKeys;\n\tif (contextProps && key in contextProps || (contextPropKeys === null || contextPropKeys === void 0 ? void 0 : contextPropKeys.includes(key)) || (contextConfig === null || contextConfig === void 0 ? void 0 : (_contextConfig_propKeys = contextConfig.propKeys) === null || _contextConfig_propKeys === void 0 ? void 0 : _contextConfig_propKeys.includes(key))) {\n\t\tvar _styleState_originalContextPropValues;\n\t\tvar _styleState;\n\t\t(_styleState = styleState).overriddenContextProps || (_styleState.overriddenContextProps = {});\n\t\tvar originalFromState = (_styleState_originalContextPropValues = styleState.originalContextPropValues) === null || _styleState_originalContextPropValues === void 0 ? void 0 : _styleState_originalContextPropValues[key];\n\t\tvar _ref;\n\t\tstyleState.overriddenContextProps[key] = (_ref = originalVal !== null && originalVal !== void 0 ? originalVal : originalFromState) !== null && _ref !== void 0 ? _ref : val;\n\t}\n\tif (key in import_helpers.stylePropsTransform) {\n\t\tvar _styleState1;\n\t\t(_styleState1 = styleState).flatTransforms || (_styleState1.flatTransforms = {});\n\t\tstyleState.flatTransforms[key] = val;\n\t} else {\n\t\tvar out = import_constants.isWeb && !disableNormalize && !styleProps.noNormalize ? (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(val, key) : val;\n\t\tif (staticConfig.accept && key in staticConfig.accept) viewProps[key] = out;\n\t\telse {\n\t\t\tvar _styleState2;\n\t\t\t(_styleState2 = styleState).style || (_styleState2.style = {});\n\t\t\tstyleState.style[key] = key === \"transform\" && Array.isArray(out) ? [...out] : out;\n\t\t\tif (shouldTrackStyleTokenProvenance) recordStyleTokenProvenance(styleState, key, originalVal);\n\t\t}\n\t}\n}\nfunction recordStyleTokenProvenance(styleState, key, originalVal) {\n\tvar _styleState_conf_themes;\n\tvar tokenName = typeof originalVal === \"string\" ? originalVal : \"\";\n\tif (tokenName) {\n\t\tvar slash = tokenName.lastIndexOf(\"/\");\n\t\tvar opacity = slash === -1 ? NaN : Number(tokenName.slice(slash + 1));\n\t\tif (Number.isInteger(opacity) && opacity >= 0 && opacity <= 100) tokenName = tokenName.slice(0, slash);\n\t}\n\tif (tokenName !== \"\" && (Object.prototype.hasOwnProperty.call(styleState.theme, tokenName) || Object.prototype.hasOwnProperty.call(((_styleState_conf_themes = styleState.conf.themes) === null || _styleState_conf_themes === void 0 ? void 0 : _styleState_conf_themes[styleState.flatThemeName || \"\"]) || {}, tokenName) || Object.values(styleState.conf.tokensParsed).some(function(category) {\n\t\treturn Object.prototype.hasOwnProperty.call(category, tokenName);\n\t}))) {\n\t\tvar _styleState;\n\t\t((_styleState = styleState).tokenProvenance || (_styleState.tokenProvenance = {}))[key] = originalVal;\n\t} else if (styleState.tokenProvenance && key in styleState.tokenProvenance) delete styleState.tokenProvenance[key];\n}\nvar getSubStyle = function(styleState, _subKey, styleIn, avoidMergeTransform) {\n\tvar { staticConfig, conf, styleProps } = styleState;\n\tvar styleOut = {};\n\tvar originalValues;\n\tvar styleInOriginalValues = import_styleOriginalValues.styleOriginalValues.get(styleIn);\n\tvar parentProps = styleState.props;\n\tstyleState.props = Object.create(parentProps, Object.getOwnPropertyDescriptors(styleIn));\n\ttry {\n\t\tvar _loop = function(key1) {\n\t\t\tvar val = styleIn[key1];\n\t\t\tkey1 = conf.shorthands[key1] || key1;\n\t\t\tif (!staticConfig.isHOC && key1 in import_skipProps.skipProps && !styleProps.noSkip) return key = key1, \"continue\";\n\t\t\t(0, import_propMapper.propMapper)(key1, val, styleState, false, function(skey, sval, originalVal) {\n\t\t\t\tvar _styleInOriginalValues_skey;\n\t\t\t\tvar trackedOriginalVal = (_styleInOriginalValues_skey = styleInOriginalValues === null || styleInOriginalValues === void 0 ? void 0 : styleInOriginalValues[skey]) !== null && _styleInOriginalValues_skey !== void 0 ? _styleInOriginalValues_skey : originalVal;\n\t\t\t\tif (trackedOriginalVal !== void 0) {\n\t\t\t\t\toriginalValues || (originalValues = {});\n\t\t\t\t\toriginalValues[skey] = trackedOriginalVal;\n\t\t\t\t}\n\t\t\t\tif (!avoidMergeTransform && skey in import_helpers.stylePropsTransform) mergeTransform(styleOut, skey, sval);\n\t\t\t\telse styleOut[skey] = styleProps.noNormalize ? sval : (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(sval, key1);\n\t\t\t});\n\t\t\tkey = key1;\n\t\t};\n\t\tfor (var key in styleIn) _loop(key);\n\t} finally {\n\t\tstyleState.props = parentProps;\n\t}\n\tif (!avoidMergeTransform) {\n\t\tvar _styleState_style;\n\t\tvar parentTransform = (_styleState_style = styleState.style) === null || _styleState_style === void 0 ? void 0 : _styleState_style.transform;\n\t\tvar flatTransforms = styleState.flatTransforms;\n\t\tvar styleOutTransform = styleOut.transform;\n\t\tif (Array.isArray(styleOutTransform) && styleOutTransform.length) {\n\t\t\tvar len = styleOutTransform.length;\n\t\t\tif (Array.isArray(parentTransform)) {\n\t\t\t\tvar merged = [];\n\t\t\t\touter: for (var i = 0; i < parentTransform.length; i++) {\n\t\t\t\t\tvar pt = parentTransform[i];\n\t\t\t\t\tfor (var pk in pt) {\n\t\t\t\t\t\tfor (var j = 0; j < len; j++) for (var sk in styleOutTransform[j]) {\n\t\t\t\t\t\t\tif (pk === sk) continue outer;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmerged.push(pt);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor (var i1 = 0; i1 < len; i1++) merged.push(styleOutTransform[i1]);\n\t\t\t\tstyleOut.transform = merged;\n\t\t\t}\n\t\t\tif (flatTransforms) outer: for (var fk in flatTransforms) {\n\t\t\t\tvar ck = fk === \"x\" ? \"translateX\" : fk === \"y\" ? \"translateY\" : fk;\n\t\t\t\tfor (var j1 = 0; j1 < len; j1++) for (var sk1 in styleOutTransform[j1]) {\n\t\t\t\t\tif (ck === sk1) continue outer;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tmergeTransform(styleOut, fk, flatTransforms[fk]);\n\t\t\t}\n\t\t} else if (flatTransforms) mergeFlatTransforms(styleOut, flatTransforms);\n\t}\n\tif (!styleProps.noNormalize) (0, import_expandStyles.fixStyles)(styleOut);\n\tif (originalValues) import_styleOriginalValues.styleOriginalValues.set(styleOut, originalValues);\n\treturn styleOut;\n};\nimport_constants.isWeb && (import_react.default.useInsertionEffect || import_constants.useIsomorphicLayoutEffect);\nvar useSplitStyles = function(a, b, c, d, e, f, g, h, i, j, k, l, m) {\n\t\"use no memo\";\n\treturn getSplitStyles(a, b, c, d, e, f, g, h, i, j, k, l, m);\n};\nvar mergeTransform = function(obj, key, val) {\n\tvar backwards = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;\n\tvar _obj;\n\tif (typeof obj.transform === \"string\") return;\n\t(_obj = obj).transform || (_obj.transform = []);\n\tobj.transform[backwards ? \"unshift\" : \"push\"]({ [mapTransformKeys[key] || key]: val });\n};\nvar mapTransformKeys = {\n\tx: \"translateX\",\n\ty: \"translateY\"\n};\nfunction passDownProp(viewProps, key, val) {\n\tviewProps[key] = val;\n}\nfunction normalizeStyle(style) {\n\tvar out = {};\n\tfor (var key in style) {\n\t\tvar val = style[key];\n\t\tif (key in import_helpers.stylePropsTransform) mergeTransform(out, key, val);\n\t\telse out[key] = (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(val, key);\n\t}\n\tif (import_constants.isWeb && Array.isArray(out.transform)) out.transform = (0, import_transformsToString.transformsToString)(out.transform);\n\t(0, import_expandStyles.fixStyles)(out);\n\treturn out;\n}\n//# sourceMappingURL=getSplitStyles.js.map\n"],"mappings":";;;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC/B,KAAK,IAAI,QAAQ,KAAK,UAAU,QAAQ,MAAM;EAC7C,KAAK,IAAI;EACT,YAAY;CACb,CAAC;AACF;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC7C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EACnE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GAAG,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QAAQ,UAAU,IAAI,KAAK;GAC9G,WAAW,KAAK;GAChB,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAC3D,CAAC;CACF;CACA,OAAO;AACR;AACA,IAAI,WAAW,KAAK,YAAY,YAAY,SAAS,OAAO,OAAO,SAAS,aAA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iBAAiB;AACvF,IAAI,iBAAiB,SAAS,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG;CACpE;CACA,OAAO,eAAe,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAC5D;AACA,IAAI,iBAAiB,SAAS,KAAK,KAAK,KAAK;CAC5C,IAAI,YAAY,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK;CACjF,IAAI;CACJ,IAAI,OAAO,IAAI,cAAc,UAAU;CACvC,CAAC,OAAO,KAAK,cAAc,KAAK,YAAY,CAAC;CAC7C,IAAI,UAAU,YAAY,YAAY,QAAQ,GAAG,iBAAiB,QAAQ,MAAM,IAAI,CAAC;AACtF;AACA,IAAI,mBAAmB;CACtB,GAAG;CACH,GAAG;AACJ;AACA,SAAS,aAAa,WAAW,KAAK,KAAK;CAC1C,UAAU,OAAO;AAClB;AACA,SAAS,eAAe,OAAO;CAC9B,IAAI,MAAM,CAAC;CACX,KAAK,IAAI,OAAO,OAAO;EACtB,IAAI,MAAM,MAAM;EAChB,IAAI,OAAO,eAAe,qBAAqB,eAAe,KAAK,KAAK,GAAG;OACtE,IAAI,QAAQ,GAAG,kCAAkC,4BAA4B,KAAK,GAAG;CAC3F;CACA,IAAI,iBAAiB,SAAS,MAAM,QAAQ,IAAI,SAAS,GAAG,IAAI,aAAa,GAAG,0BAA0B,oBAAoB,IAAI,SAAS;CAC3I,CAAC,GAAG,oBAAoB,WAAW,GAAG;CACtC,OAAO;AACR"}
@@ -31,7 +31,7 @@ function mergeStyleBranch(parentBranch, ourBranch) {
31
31
  out[key] = parentBranch[key];
32
32
  }
33
33
  for (const key in ourBranch) {
34
- out[key] = key in parentBranch ? (0, import_runtime.mergeFlatValues)(parentBranch[key], ourBranch[key]) : ourBranch[key];
34
+ out[key] = key in parentBranch ? process.env.TAMAGUI_RUNTIME_STYLE_VALUE_GRAMMAR === "disabled" ? ourBranch[key] : (0, import_runtime.mergeFlatValues)(parentBranch[key], ourBranch[key]) : ourBranch[key];
35
35
  }
36
36
  return out;
37
37
  }
@@ -33,7 +33,7 @@ function mergeStyleBranch(parentBranch, ourBranch) {
33
33
  out[key] = parentBranch[key];
34
34
  }
35
35
  for (var key1 in ourBranch) {
36
- out[key1] = key1 in parentBranch ? (0, import_runtime.mergeFlatValues)(parentBranch[key1], ourBranch[key1]) : ourBranch[key1];
36
+ out[key1] = key1 in parentBranch ? process.env.TAMAGUI_RUNTIME_STYLE_VALUE_GRAMMAR === "disabled" ? ourBranch[key1] : (0, import_runtime.mergeFlatValues)(parentBranch[key1], ourBranch[key1]) : ourBranch[key1];
37
37
  }
38
38
  return out;
39
39
  }
@@ -33,7 +33,7 @@ function mergeStyleBranch(parentBranch, ourBranch) {
33
33
  out[key] = parentBranch[key];
34
34
  }
35
35
  for (var key1 in ourBranch) {
36
- out[key1] = key1 in parentBranch ? (0, import_runtime.mergeFlatValues)(parentBranch[key1], ourBranch[key1]) : ourBranch[key1];
36
+ out[key1] = key1 in parentBranch ? process.env.TAMAGUI_RUNTIME_STYLE_VALUE_GRAMMAR === "disabled" ? ourBranch[key1] : (0, import_runtime.mergeFlatValues)(parentBranch[key1], ourBranch[key1]) : ourBranch[key1];
37
37
  }
38
38
  return out;
39
39
  }
@@ -1 +1 @@
1
- {"version":3,"file":"mergeVariants.native.js","names":[],"sources":["cjs/helpers/mergeVariants.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar mergeVariants_exports = {};\n__export(mergeVariants_exports, {\n mergeVariants: () => mergeVariants\n});\nmodule.exports = __toCommonJS(mergeVariants_exports);\nvar import_runtime = require(\"@tamagui/style-grammar/runtime\");\nvar import_isObj = require(\"./isObj\");\nfunction mergeStyleBranch(parentBranch, ourBranch) {\n var out = {};\n for (var key in parentBranch) {\n if (key in ourBranch) continue;\n out[key] = parentBranch[key];\n }\n for (var key1 in ourBranch) {\n out[key1] = key1 in parentBranch ? (0, import_runtime.mergeFlatValues)(parentBranch[key1], ourBranch[key1]) : ourBranch[key1];\n }\n return out;\n}\nvar mergeVariants = function(parentVariants, ourVariants) {\n var level = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0;\n if (!ourVariants) {\n return parentVariants || {};\n }\n if (!parentVariants) {\n return ourVariants || {};\n }\n var variants = {};\n for (var key in ourVariants) {\n var parentVariant = parentVariants === null || parentVariants === void 0 ? void 0 : parentVariants[key];\n var ourVariant = ourVariants[key];\n if (!(0, import_isObj.isPlainObject)(parentVariant) || !(0, import_isObj.isPlainObject)(ourVariant)) {\n variants[key] = ourVariant;\n } else {\n if (level === 0) {\n variants[key] = mergeVariants(parentVariant, ourVariant, level + 1);\n } else {\n variants[key] = mergeStyleBranch(parentVariant, ourVariant);\n }\n }\n }\n return {\n ...parentVariants,\n ...variants\n };\n};\n//# sourceMappingURL=mergeVariants.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAA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AAQ,mBAAmB,KAAK,IAAI,KAAK,IAAI,eAAe;EACnG,IAAI,aAAa,YAAY;EAC7B,IAAI,EAAE,GAAG,aAAa,eAAe,aAAa,KAAK,EAAE,GAAG,aAAa,eAAe,UAAU,GAAG;GACnG,SAAS,OAAO;EAClB,OAAO;GACL,IAAI,UAAU,GAAG;IACf,SAAS,OAAO,cAAc,eAAe,YAAY,QAAQ,CAAC;GACpE,OAAO;IACL,SAAS,OAAO,iBAAiB,eAAe,UAAU;GAC5D;EACF;CACF;CACA,OAAO;EACL,GAAG;EACH,GAAG;CACL;AACF"}
1
+ {"version":3,"file":"mergeVariants.native.js","names":[],"sources":["cjs/helpers/mergeVariants.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar mergeVariants_exports = {};\n__export(mergeVariants_exports, {\n mergeVariants: () => mergeVariants\n});\nmodule.exports = __toCommonJS(mergeVariants_exports);\nvar import_runtime = require(\"@tamagui/style-grammar/runtime\");\nvar import_isObj = require(\"./isObj\");\nfunction mergeStyleBranch(parentBranch, ourBranch) {\n var out = {};\n for (var key in parentBranch) {\n if (key in ourBranch) continue;\n out[key] = parentBranch[key];\n }\n for (var key1 in ourBranch) {\n out[key1] = key1 in parentBranch ? process.env.TAMAGUI_RUNTIME_STYLE_VALUE_GRAMMAR === \"disabled\" ? ourBranch[key1] : (0, import_runtime.mergeFlatValues)(parentBranch[key1], ourBranch[key1]) : ourBranch[key1];\n }\n return out;\n}\nvar mergeVariants = function(parentVariants, ourVariants) {\n var level = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0;\n if (!ourVariants) {\n return parentVariants || {};\n }\n if (!parentVariants) {\n return ourVariants || {};\n }\n var variants = {};\n for (var key in ourVariants) {\n var parentVariant = parentVariants === null || parentVariants === void 0 ? void 0 : parentVariants[key];\n var ourVariant = ourVariants[key];\n if (!(0, import_isObj.isPlainObject)(parentVariant) || !(0, import_isObj.isPlainObject)(ourVariant)) {\n variants[key] = ourVariant;\n } else {\n if (level === 0) {\n variants[key] = mergeVariants(parentVariant, ourVariant, level + 1);\n } else {\n variants[key] = mergeStyleBranch(parentVariant, ourVariant);\n }\n }\n }\n return {\n ...parentVariants,\n ...variants\n };\n};\n//# sourceMappingURL=mergeVariants.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,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, value, styleState, disabled, map) => {
65
65
  if (key in conf.shorthands) key = conf.shorthands[key];
66
66
  }
67
67
  const originalValue = value;
68
- if (value === "safe" && (0, import_resolveSafeArea.isSafeAreaKey)(key)) {
68
+ if (process.env.TAMAGUI_RUNTIME_SAFE_AREA !== "disabled" && value === "safe" && (0, import_resolveSafeArea.isSafeAreaKey)(key)) {
69
69
  const expanded = (0, import_resolveSafeArea.expandSafeAreaValue)(key);
70
70
  if (expanded) {
71
71
  for (let i = 0; i < expanded.length; i++) {
@@ -96,7 +96,7 @@ const propMapper = (key, value, styleState, disabled, map) => {
96
96
  };
97
97
  const resolveVariants = (key, value, styleProps, styleState, parentVariantKey) => {
98
98
  const variantDefinition = styleState.staticConfig.variants?.[key];
99
- if (typeof value === "string" && value.indexOf(":") !== -1 && !(variantDefinition && typeof variantDefinition === "object" && value in variantDefinition)) {
99
+ if (process.env.TAMAGUI_RUNTIME_STYLE_VALUE_GRAMMAR !== "disabled" && typeof value === "string" && value.indexOf(":") !== -1 && !(variantDefinition && typeof variantDefinition === "object" && value in variantDefinition)) {
100
100
  const starts = [];
101
101
  const ends = [];
102
102
  const modifiers = [];
@@ -111,7 +111,7 @@ var propMapper = function(key, value, styleState, disabled, map) {
111
111
  if (key in conf.shorthands) key = conf.shorthands[key];
112
112
  }
113
113
  var originalValue = value;
114
- if (value === "safe" && (0, import_resolveSafeArea.isSafeAreaKey)(key)) {
114
+ if (process.env.TAMAGUI_RUNTIME_SAFE_AREA !== "disabled" && value === "safe" && (0, import_resolveSafeArea.isSafeAreaKey)(key)) {
115
115
  var expanded1 = (0, import_resolveSafeArea.expandSafeAreaValue)(key);
116
116
  if (expanded1) {
117
117
  for (var i = 0; i < expanded1.length; i++) {
@@ -143,7 +143,7 @@ var propMapper = function(key, value, styleState, disabled, map) {
143
143
  var resolveVariants = function(key, value, styleProps, styleState, parentVariantKey) {
144
144
  var _styleState_staticConfig_variants;
145
145
  var variantDefinition = (_styleState_staticConfig_variants = styleState.staticConfig.variants) === null || _styleState_staticConfig_variants === void 0 ? void 0 : _styleState_staticConfig_variants[key];
146
- if (typeof value === "string" && value.indexOf(":") !== -1 && !(variantDefinition && (typeof variantDefinition === "undefined" ? "undefined" : _type_of(variantDefinition)) === "object" && value in variantDefinition)) {
146
+ if (process.env.TAMAGUI_RUNTIME_STYLE_VALUE_GRAMMAR !== "disabled" && typeof value === "string" && value.indexOf(":") !== -1 && !(variantDefinition && (typeof variantDefinition === "undefined" ? "undefined" : _type_of(variantDefinition)) === "object" && value in variantDefinition)) {
147
147
  var starts = [];
148
148
  var ends = [];
149
149
  var modifiers = [];
@@ -111,7 +111,7 @@ var propMapper = function(key, value, styleState, disabled, map) {
111
111
  if (key in conf.shorthands) key = conf.shorthands[key];
112
112
  }
113
113
  var originalValue = value;
114
- if (value === "safe" && (0, import_resolveSafeArea.isSafeAreaKey)(key)) {
114
+ if (process.env.TAMAGUI_RUNTIME_SAFE_AREA !== "disabled" && value === "safe" && (0, import_resolveSafeArea.isSafeAreaKey)(key)) {
115
115
  var expanded1 = (0, import_resolveSafeArea.expandSafeAreaValue)(key);
116
116
  if (expanded1) {
117
117
  for (var i = 0; i < expanded1.length; i++) {
@@ -143,7 +143,7 @@ var propMapper = function(key, value, styleState, disabled, map) {
143
143
  var resolveVariants = function(key, value, styleProps, styleState, parentVariantKey) {
144
144
  var _styleState_staticConfig_variants;
145
145
  var variantDefinition = (_styleState_staticConfig_variants = styleState.staticConfig.variants) === null || _styleState_staticConfig_variants === void 0 ? void 0 : _styleState_staticConfig_variants[key];
146
- if (typeof value === "string" && value.indexOf(":") !== -1 && !(variantDefinition && (typeof variantDefinition === "undefined" ? "undefined" : _type_of(variantDefinition)) === "object" && value in variantDefinition)) {
146
+ if (process.env.TAMAGUI_RUNTIME_STYLE_VALUE_GRAMMAR !== "disabled" && typeof value === "string" && value.indexOf(":") !== -1 && !(variantDefinition && (typeof variantDefinition === "undefined" ? "undefined" : _type_of(variantDefinition)) === "object" && value in variantDefinition)) {
147
147
  var starts = [];
148
148
  var ends = [];
149
149
  var modifiers = [];