@tamagui/web 3.0.0-beta.653.1 → 3.0.0-beta.655.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 (31) hide show
  1. package/dist/cjs/helpers/directStyle.cjs +2 -1
  2. package/dist/cjs/helpers/directStyle.native.cjs +3 -2
  3. package/dist/cjs/helpers/directStyle.native.js +3 -2
  4. package/dist/cjs/helpers/directStyle.native.js.map +1 -1
  5. package/dist/cjs/helpers/getSplitStyles.cjs +0 -12
  6. package/dist/cjs/helpers/getSplitStyles.native.cjs +35 -35
  7. package/dist/cjs/helpers/getSplitStyles.native.js +35 -35
  8. package/dist/cjs/helpers/getSplitStyles.native.js.map +1 -1
  9. package/dist/cjs/helpers/registerCSSVariable.cjs +7 -15
  10. package/dist/cjs/helpers/registerCSSVariable.native.cjs +7 -15
  11. package/dist/cjs/helpers/registerCSSVariable.native.js +7 -15
  12. package/dist/cjs/helpers/registerCSSVariable.native.js.map +1 -1
  13. package/dist/esm/helpers/directStyle.mjs +3 -2
  14. package/dist/esm/helpers/directStyle.mjs.map +1 -1
  15. package/dist/esm/helpers/directStyle.native.js +4 -3
  16. package/dist/esm/helpers/directStyle.native.js.map +1 -1
  17. package/dist/esm/helpers/getSplitStyles.mjs +3 -15
  18. package/dist/esm/helpers/getSplitStyles.mjs.map +1 -1
  19. package/dist/esm/helpers/getSplitStyles.native.js +35 -35
  20. package/dist/esm/helpers/getSplitStyles.native.js.map +1 -1
  21. package/dist/esm/helpers/registerCSSVariable.mjs +7 -15
  22. package/dist/esm/helpers/registerCSSVariable.mjs.map +1 -1
  23. package/dist/esm/helpers/registerCSSVariable.native.js +7 -15
  24. package/dist/esm/helpers/registerCSSVariable.native.js.map +1 -1
  25. package/package.json +15 -15
  26. package/src/helpers/directStyle.ts +12 -4
  27. package/src/helpers/getSplitStyles.tsx +1 -38
  28. package/src/helpers/registerCSSVariable.ts +7 -29
  29. package/types/helpers/directStyle.d.ts.map +1 -1
  30. package/types/helpers/getSplitStyles.d.ts.map +1 -1
  31. package/types/helpers/registerCSSVariable.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(_, key9, val2) {\n\t\t\tif (!Reflect.has(props, key9)) return Reflect.get(fallbackProps, key9);\n\t\t\treturn Reflect.get(props, key9);\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 key9 in style2) (0, import_directStyle.clearDirectStyle)(styleState, key9);\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(key9, val2, originalVal, conditionSource) {\n\t\t\tvar _parentStaticConfig_variants;\n\t\t\tvar isStyledContextProp = styledContext && key9 in styledContext;\n\t\t\tif (key9 === \"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 (key9 in import_helpers.stylePropsAll && !isValidStyleKey(key9, validStyles, accept)) {\n\t\t\t\t\tif (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key9}\" 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[key9] = 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, \"=>\", key9);\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 && key9 in accept) {\n\t\t\t\tviewProps[key9] = val2;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar isHostStyleKey = !isHOC && isValidStyleKey(key9, validStyles, accept) || import_constants.isAndroid && key9 === \"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, key9, val2, conditionSource, mergeStyle, originalVal, !isHostStyleKey);\n\t\t\t\telse if (isHOC) {\n\t\t\t\t\tvar appended = (0, import_propMapper.appendFlatClause)(viewProps[key9], conditionSource, val2);\n\t\t\t\t\tif (appended !== void 0) viewProps[key9] = appended;\n\t\t\t\t\telse if (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] conditional variant value for \"${key9}\" is not string-representable; dropping the clause`);\n\t\t\t\t} else if (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key9}\" 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, key9, val2, mergeStyle, originalVal, !isHostStyleKey);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tisVariant = variants && key9 in variants;\n\t\t\tif (inlineProps === null || inlineProps === void 0 ? void 0 : inlineProps.has(key9)) {\n\t\t\t\tvar _props_key;\n\t\t\t\tviewProps[key9] = (_props_key = props[key9]) !== 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, key9, val2);\n\t\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\t\t\tconsole.groupCollapsed(` - passing down prop ${key9}`);\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[key9] }\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 (key9 in import_helpers.stylePropsAll && !isValidStyleKey(key9, validStyles, accept)) {\n\t\t\t\t\tif (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key9}\" 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[key9] = 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 key6 in styleState.tokenProvenance) {\n\t\t\tprovenance[key6] = {\n\t\t\t\ttoken: styleState.tokenProvenance[key6],\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 key9 = _step4.value;\n\t\t\t\t\tout.add(key9 === \"--t-x\" || key9 === \"--t-y\" ? \"translate\" : key9 === \"--t-scale-x\" || key9 === \"--t-scale-y\" ? \"scale\" : key9);\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 key8 in logs) (0, import_log.log)(key8, logs[key8]);\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,aAAa,GAAG,CAAC,IAAI,CAAC,GAAG,YAKpG,cAAc,CAAC,OAAO,CAAC,IAAI,aAAa,UAAU,QAAQ,WAAW;CACpE,OAAO;CACP,YAAY;AACb,CAAC,IAAI,QACL,GACD;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,yBAAyB,CAAC;AAC9B,SAAS,wBAAwB;CAChC,kCAAkC,wBAAwB;CA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AO,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"}
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,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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, {
34
34
  variableToCSS: () => variableToCSS
35
35
  });
36
36
  module.exports = __toCommonJS(registerCSSVariable_exports);
37
- var import_normalize_css_color = require("@tamagui/normalize-css-color");
38
37
  var import_createVariable = require("../createVariable.cjs");
39
- const variableKey = (val) => {
40
- if (typeof val !== "string") return val;
41
- const color = (0, import_normalize_css_color.normalizeCSSColor)(val);
42
- return color == null ? val : `#${color.toString(16).padStart(8, "0")}`;
43
- };
44
38
  let variableGeneration = 0;
45
39
  const getVariableGeneration = () => variableGeneration;
46
40
  const registerCSSVariable = (v) => {
47
41
  if (!process.env.TAMAGUI_DID_OUTPUT_CSS) {
48
- const key = variableKey((0, import_createVariable.getVariableValue)(v));
42
+ const key = (0, import_createVariable.getVariableValue)(v);
49
43
  if (tokensValueToVariable.has(key) || tokensValueToVariable.size < 1e4) {
50
44
  tokensValueToVariable.set(key, v);
51
45
  variableGeneration++;
@@ -64,9 +58,8 @@ const autoVariables = [];
64
58
  const serializeVariables = (variables) => variables.map((v) => `--${v.name}:${v.val}`).join(";");
65
59
  const getAutoVariableCSS = () => serializeVariables(autoVariables);
66
60
  const getOrCreateVariable = (val) => {
67
- const key = variableKey(val);
68
- if (tokensValueToVariable.has(key)) {
69
- return tokensValueToVariable.get(key);
61
+ if (tokensValueToVariable.has(val)) {
62
+ return tokensValueToVariable.get(val);
70
63
  }
71
64
  if (tokensValueToVariable.size >= 1e4) {
72
65
  return {
@@ -82,7 +75,7 @@ const getOrCreateVariable = (val) => {
82
75
  name,
83
76
  variable
84
77
  };
85
- tokensValueToVariable.set(key, v);
78
+ tokensValueToVariable.set(val, v);
86
79
  autoVariables.push(v);
87
80
  variableGeneration++;
88
81
  return v;
@@ -92,9 +85,8 @@ const mutatedAutoVariables = [];
92
85
  const mutatedTokensValueToVariable = /* @__PURE__ */ new Map();
93
86
  const getMutatedAutoVariableCSS = () => serializeVariables(mutatedAutoVariables);
94
87
  const getOrCreateMutatedVariable = (val) => {
95
- const key = variableKey(val);
96
- if (mutatedTokensValueToVariable.has(key)) {
97
- return mutatedTokensValueToVariable.get(key);
88
+ if (mutatedTokensValueToVariable.has(val)) {
89
+ return mutatedTokensValueToVariable.get(val);
98
90
  }
99
91
  if (mutatedTokensValueToVariable.size >= 1e4) {
100
92
  return {
@@ -110,7 +102,7 @@ const getOrCreateMutatedVariable = (val) => {
110
102
  name,
111
103
  variable
112
104
  };
113
- mutatedTokensValueToVariable.set(key, v);
105
+ mutatedTokensValueToVariable.set(val, v);
114
106
  mutatedAutoVariables.push(v);
115
107
  return v;
116
108
  };
@@ -36,20 +36,14 @@ __export(registerCSSVariable_exports, {
36
36
  variableToCSS: () => variableToCSS
37
37
  });
38
38
  module.exports = __toCommonJS(registerCSSVariable_exports);
39
- var import_normalize_css_color = require("@tamagui/normalize-css-color");
40
39
  var import_createVariable = require("../createVariable.native.js");
41
- var variableKey = function(val) {
42
- if (typeof val !== "string") return val;
43
- var color = (0, import_normalize_css_color.normalizeCSSColor)(val);
44
- return color == null ? val : `#${color.toString(16).padStart(8, "0")}`;
45
- };
46
40
  var variableGeneration = 0;
47
41
  var getVariableGeneration = function() {
48
42
  return variableGeneration;
49
43
  };
50
44
  var registerCSSVariable = function(v) {
51
45
  if (!process.env.TAMAGUI_DID_OUTPUT_CSS) {
52
- var key = variableKey((0, import_createVariable.getVariableValue)(v));
46
+ var key = (0, import_createVariable.getVariableValue)(v);
53
47
  if (tokensValueToVariable.has(key) || tokensValueToVariable.size < 1e4) {
54
48
  tokensValueToVariable.set(key, v);
55
49
  variableGeneration++;
@@ -75,9 +69,8 @@ var getAutoVariableCSS = function() {
75
69
  return serializeVariables(autoVariables);
76
70
  };
77
71
  var getOrCreateVariable = function(val) {
78
- var key = variableKey(val);
79
- if (tokensValueToVariable.has(key)) {
80
- return tokensValueToVariable.get(key);
72
+ if (tokensValueToVariable.has(val)) {
73
+ return tokensValueToVariable.get(val);
81
74
  }
82
75
  if (tokensValueToVariable.size >= 1e4) {
83
76
  return {
@@ -93,7 +86,7 @@ var getOrCreateVariable = function(val) {
93
86
  name,
94
87
  variable
95
88
  };
96
- tokensValueToVariable.set(key, v);
89
+ tokensValueToVariable.set(val, v);
97
90
  autoVariables.push(v);
98
91
  variableGeneration++;
99
92
  return v;
@@ -105,9 +98,8 @@ var getMutatedAutoVariableCSS = function() {
105
98
  return serializeVariables(mutatedAutoVariables);
106
99
  };
107
100
  var getOrCreateMutatedVariable = function(val) {
108
- var key = variableKey(val);
109
- if (mutatedTokensValueToVariable.has(key)) {
110
- return mutatedTokensValueToVariable.get(key);
101
+ if (mutatedTokensValueToVariable.has(val)) {
102
+ return mutatedTokensValueToVariable.get(val);
111
103
  }
112
104
  if (mutatedTokensValueToVariable.size >= 1e4) {
113
105
  return {
@@ -123,7 +115,7 @@ var getOrCreateMutatedVariable = function(val) {
123
115
  name,
124
116
  variable
125
117
  };
126
- mutatedTokensValueToVariable.set(key, v);
118
+ mutatedTokensValueToVariable.set(val, v);
127
119
  mutatedAutoVariables.push(v);
128
120
  return v;
129
121
  };
@@ -36,20 +36,14 @@ __export(registerCSSVariable_exports, {
36
36
  variableToCSS: () => variableToCSS
37
37
  });
38
38
  module.exports = __toCommonJS(registerCSSVariable_exports);
39
- var import_normalize_css_color = require("@tamagui/normalize-css-color");
40
39
  var import_createVariable = require("../createVariable.native.js");
41
- var variableKey = function(val) {
42
- if (typeof val !== "string") return val;
43
- var color = (0, import_normalize_css_color.normalizeCSSColor)(val);
44
- return color == null ? val : `#${color.toString(16).padStart(8, "0")}`;
45
- };
46
40
  var variableGeneration = 0;
47
41
  var getVariableGeneration = function() {
48
42
  return variableGeneration;
49
43
  };
50
44
  var registerCSSVariable = function(v) {
51
45
  if (!process.env.TAMAGUI_DID_OUTPUT_CSS) {
52
- var key = variableKey((0, import_createVariable.getVariableValue)(v));
46
+ var key = (0, import_createVariable.getVariableValue)(v);
53
47
  if (tokensValueToVariable.has(key) || tokensValueToVariable.size < 1e4) {
54
48
  tokensValueToVariable.set(key, v);
55
49
  variableGeneration++;
@@ -75,9 +69,8 @@ var getAutoVariableCSS = function() {
75
69
  return serializeVariables(autoVariables);
76
70
  };
77
71
  var getOrCreateVariable = function(val) {
78
- var key = variableKey(val);
79
- if (tokensValueToVariable.has(key)) {
80
- return tokensValueToVariable.get(key);
72
+ if (tokensValueToVariable.has(val)) {
73
+ return tokensValueToVariable.get(val);
81
74
  }
82
75
  if (tokensValueToVariable.size >= 1e4) {
83
76
  return {
@@ -93,7 +86,7 @@ var getOrCreateVariable = function(val) {
93
86
  name,
94
87
  variable
95
88
  };
96
- tokensValueToVariable.set(key, v);
89
+ tokensValueToVariable.set(val, v);
97
90
  autoVariables.push(v);
98
91
  variableGeneration++;
99
92
  return v;
@@ -105,9 +98,8 @@ var getMutatedAutoVariableCSS = function() {
105
98
  return serializeVariables(mutatedAutoVariables);
106
99
  };
107
100
  var getOrCreateMutatedVariable = function(val) {
108
- var key = variableKey(val);
109
- if (mutatedTokensValueToVariable.has(key)) {
110
- return mutatedTokensValueToVariable.get(key);
101
+ if (mutatedTokensValueToVariable.has(val)) {
102
+ return mutatedTokensValueToVariable.get(val);
111
103
  }
112
104
  if (mutatedTokensValueToVariable.size >= 1e4) {
113
105
  return {
@@ -123,7 +115,7 @@ var getOrCreateMutatedVariable = function(val) {
123
115
  name,
124
116
  variable
125
117
  };
126
- mutatedTokensValueToVariable.set(key, v);
118
+ mutatedTokensValueToVariable.set(val, v);
127
119
  mutatedAutoVariables.push(v);
128
120
  return v;
129
121
  };
@@ -1 +1 @@
1
- {"version":3,"file":"registerCSSVariable.native.js","names":[],"sources":["cjs/helpers/registerCSSVariable.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 registerCSSVariable_exports = {};\n__export(registerCSSVariable_exports, {\n autoVariables: () => autoVariables,\n getAutoVariableCSS: () => getAutoVariableCSS,\n getCSSVariableCacheStats: () => getCSSVariableCacheStats,\n getMutatedAutoVariableCSS: () => getMutatedAutoVariableCSS,\n getOrCreateMutatedVariable: () => getOrCreateMutatedVariable,\n getOrCreateVariable: () => getOrCreateVariable,\n getVariableGeneration: () => getVariableGeneration,\n mutatedAutoVariables: () => mutatedAutoVariables,\n registerCSSVariable: () => registerCSSVariable,\n tokensValueToVariable: () => tokensValueToVariable,\n variableToCSS: () => variableToCSS\n});\nmodule.exports = __toCommonJS(registerCSSVariable_exports);\nvar import_normalize_css_color = require(\"@tamagui/normalize-css-color\");\nvar import_createVariable = require(\"../createVariable\");\nvar variableKey = function(val) {\n if (typeof val !== \"string\") return val;\n var color = (0, import_normalize_css_color.normalizeCSSColor)(val);\n return color == null ? val : `#${color.toString(16).padStart(8, \"0\")}`;\n};\nvar variableGeneration = 0;\nvar getVariableGeneration = function() {\n return variableGeneration;\n};\nvar registerCSSVariable = function(v) {\n if (!process.env.TAMAGUI_DID_OUTPUT_CSS) {\n var key = variableKey((0, import_createVariable.getVariableValue)(v));\n if (tokensValueToVariable.has(key) || tokensValueToVariable.size < 1e4) {\n tokensValueToVariable.set(key, v);\n variableGeneration++;\n }\n }\n};\nvar variableToCSS = function(v) {\n var unitless = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;\n if (!process.env.TAMAGUI_DID_OUTPUT_CSS) {\n return `--${process.env.TAMAGUI_CSS_VARIABLE_PREFIX || \"\"}${(0, import_createVariable.createCSSVariable)(v.name, false)}:${!unitless && typeof v.val === \"number\" ? `${v.val}px` : v.val}`;\n }\n return \"\";\n};\nvar tokensValueToVariable = /* @__PURE__ */ new Map();\nvar autoVarId = 0;\nvar autoVariables = [];\nvar serializeVariables = function(variables) {\n return variables.map(function(v) {\n return `--${v.name}:${v.val}`;\n }).join(\";\");\n};\nvar getAutoVariableCSS = function() {\n return serializeVariables(autoVariables);\n};\nvar getOrCreateVariable = function(val) {\n var key = variableKey(val);\n if (tokensValueToVariable.has(key)) {\n return tokensValueToVariable.get(key);\n }\n if (tokensValueToVariable.size >= 1e4) {\n return {\n val,\n name: \"\",\n variable: String(val)\n };\n }\n var name = `t${autoVarId++}`;\n var variable = `var(--${name})`;\n var v = {\n val,\n name,\n variable\n };\n tokensValueToVariable.set(key, v);\n autoVariables.push(v);\n variableGeneration++;\n return v;\n};\nvar mutatedVarId = 1e4;\nvar mutatedAutoVariables = [];\nvar mutatedTokensValueToVariable = /* @__PURE__ */ new Map();\nvar getMutatedAutoVariableCSS = function() {\n return serializeVariables(mutatedAutoVariables);\n};\nvar getOrCreateMutatedVariable = function(val) {\n var key = variableKey(val);\n if (mutatedTokensValueToVariable.has(key)) {\n return mutatedTokensValueToVariable.get(key);\n }\n if (mutatedTokensValueToVariable.size >= 1e4) {\n return {\n val,\n name: \"\",\n variable: String(val)\n };\n }\n var name = `t${mutatedVarId++}`;\n var variable = `var(--${name})`;\n var v = {\n val,\n name,\n variable\n };\n mutatedTokensValueToVariable.set(key, v);\n mutatedAutoVariables.push(v);\n return v;\n};\nvar getCSSVariableCacheStats = function() {\n return {\n auto: tokensValueToVariable.size,\n autoDeclarations: autoVariables.length,\n mutated: mutatedTokensValueToVariable.size,\n mutatedDeclarations: mutatedAutoVariables.length,\n autoRetainedBytes: [\n ...tokensValueToVariable\n ].reduce(function(bytes, param) {\n var [key, value] = param;\n var variable = value;\n var _variable_val, _variable_name, _variable_variable;\n return bytes + String(key).length + String((_variable_val = variable.val) !== null && _variable_val !== void 0 ? _variable_val : \"\").length + String((_variable_name = variable.name) !== null && _variable_name !== void 0 ? _variable_name : \"\").length + String((_variable_variable = variable.variable) !== null && _variable_variable !== void 0 ? _variable_variable : \"\").length;\n }, 0),\n autoCSSBytes: getAutoVariableCSS().length\n };\n};\n//# sourceMappingURL=registerCSSVariable.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,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,8BAA8B,CAAC;AACnC,SAAS,6BAA6B;CACpC,qBAAqB;CACrB,0BAA0B;CAC1B,gCAAgC;CAChC,iCAAiC;CACjC,kCAAkC;CAClC,2BAA2B;CAC3B,6BAA6B;CAC7B,4BAA4B;CAC5B,2BAA2B;CAC3B,6BAA6B;CAC7B,qBAAqB;AACvB,CAAC;AACD,OAAO,UAAU,aAAa,2BAA2B;AACzD,IAAI,6BAA6B,QAAQ,8BAA8B;AACvE,IAAI,wBAAwB,QAAQ,6BAAmB;AACvD,IAAI,cAAc,SAAS,KAAK;CAC9B,IAAI,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,EAAE,EAAE,SAAS,QAAQ,qBAAqB,SAAS,cAAc,QAAQ,uBAAuB,KAAK,IAAI,qBAAqB,EAAE,EAAE;EACnX,GAAG,CAAC;EACJ,cAAc,mBAAmB,EAAE;CACrC;AACF"}
1
+ {"version":3,"file":"registerCSSVariable.native.js","names":[],"sources":["cjs/helpers/registerCSSVariable.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 registerCSSVariable_exports = {};\n__export(registerCSSVariable_exports, {\n autoVariables: () => autoVariables,\n getAutoVariableCSS: () => getAutoVariableCSS,\n getCSSVariableCacheStats: () => getCSSVariableCacheStats,\n getMutatedAutoVariableCSS: () => getMutatedAutoVariableCSS,\n getOrCreateMutatedVariable: () => getOrCreateMutatedVariable,\n getOrCreateVariable: () => getOrCreateVariable,\n getVariableGeneration: () => getVariableGeneration,\n mutatedAutoVariables: () => mutatedAutoVariables,\n registerCSSVariable: () => registerCSSVariable,\n tokensValueToVariable: () => tokensValueToVariable,\n variableToCSS: () => variableToCSS\n});\nmodule.exports = __toCommonJS(registerCSSVariable_exports);\nvar import_createVariable = require(\"../createVariable\");\nvar variableGeneration = 0;\nvar getVariableGeneration = function() {\n return variableGeneration;\n};\nvar registerCSSVariable = function(v) {\n if (!process.env.TAMAGUI_DID_OUTPUT_CSS) {\n var key = (0, import_createVariable.getVariableValue)(v);\n if (tokensValueToVariable.has(key) || tokensValueToVariable.size < 1e4) {\n tokensValueToVariable.set(key, v);\n variableGeneration++;\n }\n }\n};\nvar variableToCSS = function(v) {\n var unitless = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;\n if (!process.env.TAMAGUI_DID_OUTPUT_CSS) {\n return `--${process.env.TAMAGUI_CSS_VARIABLE_PREFIX || \"\"}${(0, import_createVariable.createCSSVariable)(v.name, false)}:${!unitless && typeof v.val === \"number\" ? `${v.val}px` : v.val}`;\n }\n return \"\";\n};\nvar tokensValueToVariable = /* @__PURE__ */ new Map();\nvar autoVarId = 0;\nvar autoVariables = [];\nvar serializeVariables = function(variables) {\n return variables.map(function(v) {\n return `--${v.name}:${v.val}`;\n }).join(\";\");\n};\nvar getAutoVariableCSS = function() {\n return serializeVariables(autoVariables);\n};\nvar getOrCreateVariable = function(val) {\n if (tokensValueToVariable.has(val)) {\n return tokensValueToVariable.get(val);\n }\n if (tokensValueToVariable.size >= 1e4) {\n return {\n val,\n name: \"\",\n variable: String(val)\n };\n }\n var name = `t${autoVarId++}`;\n var variable = `var(--${name})`;\n var v = {\n val,\n name,\n variable\n };\n tokensValueToVariable.set(val, v);\n autoVariables.push(v);\n variableGeneration++;\n return v;\n};\nvar mutatedVarId = 1e4;\nvar mutatedAutoVariables = [];\nvar mutatedTokensValueToVariable = /* @__PURE__ */ new Map();\nvar getMutatedAutoVariableCSS = function() {\n return serializeVariables(mutatedAutoVariables);\n};\nvar getOrCreateMutatedVariable = function(val) {\n if (mutatedTokensValueToVariable.has(val)) {\n return mutatedTokensValueToVariable.get(val);\n }\n if (mutatedTokensValueToVariable.size >= 1e4) {\n return {\n val,\n name: \"\",\n variable: String(val)\n };\n }\n var name = `t${mutatedVarId++}`;\n var variable = `var(--${name})`;\n var v = {\n val,\n name,\n variable\n };\n mutatedTokensValueToVariable.set(val, v);\n mutatedAutoVariables.push(v);\n return v;\n};\nvar getCSSVariableCacheStats = function() {\n return {\n auto: tokensValueToVariable.size,\n autoDeclarations: autoVariables.length,\n mutated: mutatedTokensValueToVariable.size,\n mutatedDeclarations: mutatedAutoVariables.length,\n autoRetainedBytes: [\n ...tokensValueToVariable\n ].reduce(function(bytes, param) {\n var [key, value] = param;\n var variable = value;\n var _variable_val, _variable_name, _variable_variable;\n return bytes + String(key).length + String((_variable_val = variable.val) !== null && _variable_val !== void 0 ? _variable_val : \"\").length + String((_variable_name = variable.name) !== null && _variable_name !== void 0 ? _variable_name : \"\").length + String((_variable_variable = variable.variable) !== null && _variable_variable !== void 0 ? _variable_variable : \"\").length;\n }, 0),\n autoCSSBytes: getAutoVariableCSS().length\n };\n};\n//# sourceMappingURL=registerCSSVariable.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,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,8BAA8B,CAAC;AACnC,SAAS,6BAA6B;CACpC,qBAAqB;CACrB,0BAA0B;CAC1B,gCAAgC;CAChC,iC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SAAS,cAAc,QAAQ,uBAAuB,KAAK,IAAI,qBAAqB,EAAE,EAAE;EACnX,GAAG,CAAC;EACJ,cAAc,mBAAmB,EAAE;CACrC;AACF"}
@@ -1,5 +1,5 @@
1
1
  import { isAndroid, isIos, isTV, isWeb, supportsDynamicColorIOS } from "@tamagui/constants";
2
- import { StyleObjectIdentifier, StyleObjectRules, tokenCategories } from "@tamagui/helpers";
2
+ import { StyleObjectIdentifier, StyleObjectRules, nonAnimatableStyleProps, tokenCategories } from "@tamagui/helpers";
3
3
  import { canonicalClauseModifier, clauseConditionSetKey, clauseSubjectClassRepetitions, compareClausePrecedence, createClausePrecedenceOrder, getClausePrecedenceKeyFromKinds, isRootThemeName, scanFlatValue } from "@tamagui/style-grammar/runtime";
4
4
  import { isVariable } from "../createVariable.mjs";
5
5
  import { mediaKeyMatch } from "../hooks/useMedia.mjs";
@@ -548,7 +548,8 @@ function emitProperty(state, property, value, condition, merge, originalValue, c
548
548
  if (!condition || condition.active) (state.overriddenContextProps ||= {})[property] = originalValue;
549
549
  return;
550
550
  }
551
- if (isWeb && state.flatShouldDoClasses) {
551
+ const shouldPromoteAnimatedStyle = isWeb && !condition && !state.flatShouldDoClasses && !state.styleProps.noMergeStyle && state.styleProps.isAnimated && !state.animationDriver?.isReactNative && property in nonAnimatableStyleProps;
552
+ if (isWeb && (state.flatShouldDoClasses || shouldPromoteAnimatedStyle)) {
552
553
  if (!condition) {
553
554
  if (state.style) delete state.style[property];
554
555
  }