@tamagui/web 3.0.0-beta.745.1 → 3.0.0-beta.752.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 (55) hide show
  1. package/dist/cjs/helpers/directStyle.cjs +7 -3
  2. package/dist/cjs/helpers/directStyle.native.cjs +7 -3
  3. package/dist/cjs/helpers/directStyle.native.js +7 -3
  4. package/dist/cjs/helpers/directStyle.native.js.map +1 -1
  5. package/dist/cjs/helpers/getCSSStylesAtomic.cjs +6 -7
  6. package/dist/cjs/helpers/getSplitStyles.cjs +106 -10
  7. package/dist/cjs/helpers/getSplitStyles.native.cjs +168 -10
  8. package/dist/cjs/helpers/getSplitStyles.native.js +168 -10
  9. package/dist/cjs/helpers/getSplitStyles.native.js.map +1 -1
  10. package/dist/cjs/helpers/propMapper.cjs +32 -6
  11. package/dist/cjs/helpers/propMapper.native.cjs +45 -6
  12. package/dist/cjs/helpers/propMapper.native.js +45 -6
  13. package/dist/cjs/helpers/propMapper.native.js.map +1 -1
  14. package/dist/cjs/hooks/useComponentState.cjs +6 -4
  15. package/dist/cjs/hooks/useComponentState.native.cjs +6 -4
  16. package/dist/cjs/hooks/useComponentState.native.js +6 -4
  17. package/dist/cjs/hooks/useComponentState.native.js.map +1 -1
  18. package/dist/esm/helpers/directStyle.mjs +7 -4
  19. package/dist/esm/helpers/directStyle.mjs.map +1 -1
  20. package/dist/esm/helpers/directStyle.native.js +7 -4
  21. package/dist/esm/helpers/directStyle.native.js.map +1 -1
  22. package/dist/esm/helpers/getCSSStylesAtomic.mjs +6 -7
  23. package/dist/esm/helpers/getCSSStylesAtomic.mjs.map +1 -1
  24. package/dist/esm/helpers/getSplitStyles.mjs +107 -11
  25. package/dist/esm/helpers/getSplitStyles.mjs.map +1 -1
  26. package/dist/esm/helpers/getSplitStyles.native.js +169 -11
  27. package/dist/esm/helpers/getSplitStyles.native.js.map +1 -1
  28. package/dist/esm/helpers/propMapper.mjs +33 -7
  29. package/dist/esm/helpers/propMapper.mjs.map +1 -1
  30. package/dist/esm/helpers/propMapper.native.js +46 -7
  31. package/dist/esm/helpers/propMapper.native.js.map +1 -1
  32. package/dist/esm/hooks/useComponentState.mjs +6 -4
  33. package/dist/esm/hooks/useComponentState.mjs.map +1 -1
  34. package/dist/esm/hooks/useComponentState.native.js +6 -4
  35. package/dist/esm/hooks/useComponentState.native.js.map +1 -1
  36. package/package.json +15 -15
  37. package/src/helpers/directStyle.ts +10 -4
  38. package/src/helpers/getCSSStylesAtomic.ts +16 -10
  39. package/src/helpers/getSplitStyles.tsx +183 -17
  40. package/src/helpers/propMapper.ts +64 -13
  41. package/src/hooks/useComponentState.ts +15 -4
  42. package/src/styled.tsx +4 -0
  43. package/src/types.tsx +13 -2
  44. package/types/dom/html.d.ts +49 -49
  45. package/types/dom/html.native.d.ts +46 -46
  46. package/types/helpers/directStyle.d.ts +1 -0
  47. package/types/helpers/directStyle.d.ts.map +1 -1
  48. package/types/helpers/getCSSStylesAtomic.d.ts.map +1 -1
  49. package/types/helpers/getSplitStyles.d.ts.map +1 -1
  50. package/types/helpers/propMapper.d.ts +2 -2
  51. package/types/helpers/propMapper.d.ts.map +1 -1
  52. package/types/hooks/useComponentState.d.ts.map +1 -1
  53. package/types/styled.d.ts.map +1 -1
  54. package/types/types.d.ts +4 -1
  55. package/types/types.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"directStyle.native.js","names":[],"sources":["esm/helpers/directStyle.native.js"],"sourcesContent":["import { isAndroid, isIos, isTV, isWeb, supportsDynamicColorIOS } from \"@tamagui/constants\";\nimport { StyleObjectIdentifier, StyleObjectRules, nonAnimatableStyleProps, tokenCategories } from \"@tamagui/helpers\";\nimport { canonicalStateModifierNames, isContainerSizeQueryText, isModifierName, modifierKindMedia, modifierKindPlatform, modifierKindState, modifierKindTheme, scanFlatValue, stateModifierSelectors } from \"@tamagui/style-grammar/runtime\";\nimport { isVariable } from \"../createVariable\";\nimport { mediaKeyMatch } from \"../hooks/useMedia\";\nimport { warnOnce, warnRefusedValue } from \"./warnOnce\";\nimport { expandStyle } from \"./expandStyle\";\nimport { getCSSStyleAtomic } from \"./getCSSStylesAtomic\";\nimport { getConfigRevisionState } from \"./grammarConfig\";\nimport { isColorStyleKey } from \"./getDynamicVal\";\nimport { shouldInsertStyleRules, updateRules } from \"./insertStyleRule\";\nimport { normalizeColor } from \"./normalizeColor\";\nimport { parseNativeStyle } from \"./parseNativeStyle.native\";\nimport { parseNativeTransform } from \"./parseNativeTransform.native\";\nimport { getTokenCategoryForProperty, tokenCategoryByProperty } from \"./tokenCategories\";\nimport { resolveSafeAreaVariable } from \"./resolveSafeAreaVariable\";\nimport { expandSafeAreaValue, isSafeAreaKey } from \"./resolveSafeArea\";\nimport { resolveVariableValue } from \"./resolveVariableValue\";\nimport { THEME_REF_PREFIX } from \"./themeRef\";\nimport { transformsToString } from \"./transformsToString\";\n\nfunction _type_of(obj) {\n\t\"@swc/helpers - typeof\";\n\treturn obj && typeof Symbol !== \"undefined\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nvar directStyleHandler = {\n\tsegment(state, start, end, isBase, valid, source, chainStart, chainEnd, chainValid, chainCount, _result, failure, failureIndex, property, merge, originalValue, contextOnly) {\n\t\tif (isBase) {\n\t\t\tif (start === end) return;\n\t\t\tif (!valid) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, failure === \"invalid-character\" ? `\"${source[failureIndex]}\" would end the declaration or rule` : failure === \"unterminated-string\" ? \"an unterminated string\" : failure === \"unterminated-comment\" ? \"an unterminated \\\"/*\\\" comment\" : failure === \"stray-comment-close\" ? \"a stray \\\"*/\\\"\" : \"an unterminated \\\"(\\\"\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar value = source.slice(start, end);\n\t\t\temitValue(state, property, value, 0, \"\", void 0, \"\", \"\", merge, value, contextOnly);\n\t\t\treturn 5;\n\t\t}\n\t\tif (!chainValid) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, failure === \"invalid-character\" ? `\"${source[failureIndex]}\" would end the declaration or rule` : failure === \"unterminated-string\" ? \"an unterminated string\" : failure === \"unterminated-comment\" ? \"an unterminated \\\"/*\\\" comment\" : failure === \"stray-comment-close\" ? \"a stray \\\"*/\\\"\" : \"an unterminated \\\"(\\\"\");\n\t\t\treturn;\n\t\t}\n\t\tif (start === end) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, \"a conditional clause has no value\");\n\t\t\treturn;\n\t\t}\n\t\tif (property === \"aspectRatio\" && chainCount === 1) {\n\t\t\tvar left = Number(source.slice(chainStart, chainEnd));\n\t\t\tvar right = Number(source.slice(start, end));\n\t\t\tif (chainStart < chainEnd && Number.isFinite(left) && left > 0 && Number.isFinite(right) && right > 0) return 12;\n\t\t}\n\t\tvar condition = resolveClauseChain(state, source, chainStart, chainEnd, property, void 0, valid ? merge : void 0, void 0, contextOnly, start, end, 1);\n\t\tif (!condition) return;\n\t\tif (!valid) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, failure === \"invalid-character\" ? `\"${source[failureIndex]}\" would end the declaration or rule` : failure === \"unterminated-string\" ? \"an unterminated string\" : failure === \"unterminated-comment\" ? \"an unterminated \\\"/*\\\" comment\" : failure === \"stray-comment-close\" ? \"a stray \\\"*/\\\"\" : \"an unterminated \\\"(\\\"\");\n\t\t\treturn;\n\t\t}\n\t\treturn 4 | (condition & 12 ? 2 : 0);\n\t},\n\tchain() {\n\t\treturn true;\n\t},\n\tend(state, source, result, lastPayloadStart, chainCount, property, merge, originalValue, contextOnly) {\n\t\tvar hasBase = !!(result & 1);\n\t\tif (result & 8 && chainCount === 1) {\n\t\t\temitValue(state, property, source, 0, \"\", void 0, \"\", \"\", merge, originalValue !== null && originalValue !== void 0 ? originalValue : source, contextOnly);\n\t\t\thasBase = true;\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && !hasBase && result & 4 && (property in tokenCategories.color || property in tokenCategoryByProperty) && splitComponents(source.slice(lastPayloadStart)).length > 1) warnOnce(`${property}=\"${source}\" has multiple values after its first conditional. Write the base value before the first conditional.`);\n\t\tif ((!isWeb || !state.flatShouldDoClasses) && result & 2 && !hasBase) {\n\t\t\tvar value = implicitLifecycleBase(property);\n\t\t\tif (value !== null) emitValue(state, property, value, 0, \"\", void 0, \"\", \"\", merge, value, contextOnly);\n\t\t}\n\t}\n};\nfunction implicitLifecycleBase(property) {\n\treturn property === \"opacity\" || property === \"scale\" || property === \"scaleX\" || property === \"scaleY\" ? 1 : property === \"rotate\" ? \"0deg\" : property === \"x\" || property === \"y\" ? 0 : null;\n}\nvar legacyTransformParts = /* @__PURE__ */ new Set([\n\t\"matrix\",\n\t\"perspective\",\n\t\"rotateX\",\n\t\"rotateY\",\n\t\"rotateZ\",\n\t\"scaleZ\",\n\t\"skewX\",\n\t\"skewY\"\n]);\nvar webShadowParts = /* @__PURE__ */ new Set([\n\t\"shadowColor\",\n\t\"shadowOffset\",\n\t\"shadowOpacity\",\n\t\"shadowRadius\"\n]);\nvar webTextShadowParts = /* @__PURE__ */ new Set([\n\t\"textShadowColor\",\n\t\"textShadowOffset\",\n\t\"textShadowRadius\"\n]);\nvar lineStyles = /* @__PURE__ */ new Set([\n\t\"none\",\n\t\"hidden\",\n\t\"dotted\",\n\t\"dashed\",\n\t\"solid\",\n\t\"double\",\n\t\"groove\",\n\t\"ridge\",\n\t\"inset\",\n\t\"outset\"\n]);\nvar borderTargets = {\n\tborder: {\n\t\twidth: [\n\t\t\t\"borderTopWidth\",\n\t\t\t\"borderRightWidth\",\n\t\t\t\"borderBottomWidth\",\n\t\t\t\"borderLeftWidth\"\n\t\t],\n\t\tstyle: [\n\t\t\t\"borderTopStyle\",\n\t\t\t\"borderRightStyle\",\n\t\t\t\"borderBottomStyle\",\n\t\t\t\"borderLeftStyle\"\n\t\t],\n\t\tcolor: [\n\t\t\t\"borderTopColor\",\n\t\t\t\"borderRightColor\",\n\t\t\t\"borderBottomColor\",\n\t\t\t\"borderLeftColor\"\n\t\t]\n\t},\n\tborderTop: {\n\t\twidth: [\"borderTopWidth\"],\n\t\tstyle: [\"borderTopStyle\"],\n\t\tcolor: [\"borderTopColor\"]\n\t},\n\tborderRight: {\n\t\twidth: [\"borderRightWidth\"],\n\t\tstyle: [\"borderRightStyle\"],\n\t\tcolor: [\"borderRightColor\"]\n\t},\n\tborderBottom: {\n\t\twidth: [\"borderBottomWidth\"],\n\t\tstyle: [\"borderBottomStyle\"],\n\t\tcolor: [\"borderBottomColor\"]\n\t},\n\tborderLeft: {\n\t\twidth: [\"borderLeftWidth\"],\n\t\tstyle: [\"borderLeftStyle\"],\n\t\tcolor: [\"borderLeftColor\"]\n\t},\n\toutline: {\n\t\twidth: [\"outlineWidth\"],\n\t\tstyle: [\"outlineStyle\"],\n\t\tcolor: [\"outlineColor\"]\n\t},\n\tborderBlock: {\n\t\twidth: [\"borderBlockStartWidth\", \"borderBlockEndWidth\"],\n\t\tstyle: [\"borderBlockStartStyle\", \"borderBlockEndStyle\"],\n\t\tcolor: [\"borderBlockStartColor\", \"borderBlockEndColor\"]\n\t},\n\tborderInline: {\n\t\twidth: [\"borderInlineStartWidth\", \"borderInlineEndWidth\"],\n\t\tstyle: [\"borderInlineStartStyle\", \"borderInlineEndStyle\"],\n\t\tcolor: [\"borderInlineStartColor\", \"borderInlineEndColor\"]\n\t}\n};\nvar borderStyleDefaults = {\n\tborderWidth: \"borderStyle\",\n\tborderTopWidth: \"borderTopStyle\",\n\tborderRightWidth: \"borderRightStyle\",\n\tborderBottomWidth: \"borderBottomStyle\",\n\tborderLeftWidth: \"borderLeftStyle\"\n};\nfunction platformMatches(name) {\n\tif (name === \"web\") return isWeb;\n\tif (name === \"native\") return !isWeb;\n\tif (name === \"ios\") return isIos;\n\tif (name === \"android\") return isAndroid;\n\tif (name === \"tvos\") return isIos && isTV;\n\tif (name === \"androidtv\") return isAndroid && isTV;\n\treturn name === \"tv\" && isTV;\n}\nfunction resolveClauseChain(state, source, start, end, property, raw, merge, originalValue) {\n\tvar contextOnly = arguments.length > 8 && arguments[8] !== void 0 ? arguments[8] : false, payloadStart = arguments.length > 9 && arguments[9] !== void 0 ? arguments[9] : -1, payloadEnd = arguments.length > 10 && arguments[10] !== void 0 ? arguments[10] : -1, warning = arguments.length > 11 && arguments[11] !== void 0 ? arguments[11] : 0;\n\tvar compiled = getConfigRevisionState(state.conf);\n\tvar sourceStart = start;\n\tvar key = \"\";\n\tvar active = true;\n\tvar emit = true;\n\tvar selector = \"\";\n\tvar wrappers;\n\tvar theme = \"\";\n\tvar enter = false;\n\tvar exit = false;\n\tvar unsupportedState = \"\";\n\tvar platformRank = 0;\n\tvar depth = 0;\n\tvar categoryRank = 0;\n\tvar withinRank = 0;\n\tvar selfStateSpecificity = 0;\n\tfor (var index = start; index <= end; index++) {\n\t\tif (index !== end && source.charCodeAt(index) !== 58) continue;\n\t\tvar modifier = source.slice(start, index);\n\t\tstart = index + 1;\n\t\tvar code = compiled.modifiers[modifier];\n\t\tvar kind = code & 7;\n\t\tvar rank = code >> 3;\n\t\tvar stateSelector = \"\";\n\t\tvar conditionStateName = \"\";\n\t\tvar groupName = \"\";\n\t\tvar containerSize = \"\";\n\t\tvar containerName = \"\";\n\t\tvar containerQuery = \"\";\n\t\tif (kind === modifierKindState) {\n\t\t\tmodifier = canonicalStateModifierNames[rank];\n\t\t\tstateSelector = stateModifierSelectors[rank];\n\t\t} else if (!kind && modifier.startsWith(\"group-\")) {\n\t\t\tvar slash = modifier.indexOf(\"/\");\n\t\t\tvar authoredState = modifier.slice(6, slash === -1 ? void 0 : slash);\n\t\t\tcode = compiled.modifiers[authoredState];\n\t\t\tif ((code & 7) !== modifierKindState) kind = 0;\n\t\t\telse {\n\t\t\t\trank = code >> 3;\n\t\t\t\tgroupName = slash === -1 ? \"true\" : modifier.slice(slash + 1);\n\t\t\t\tif (rank === 6 || rank === 7 || slash !== -1 && !isModifierName(groupName, 0, groupName.length)) kind = 0;\n\t\t\t\telse {\n\t\t\t\t\tkind = 5;\n\t\t\t\t\tvar stateName = canonicalStateModifierNames[rank];\n\t\t\t\t\tconditionStateName = stateName;\n\t\t\t\t\tstateSelector = stateModifierSelectors[rank];\n\t\t\t\t\tmodifier = `group-${stateName}${slash === -1 ? \"\" : modifier.slice(slash)}`;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (!kind && modifier.charCodeAt(0) === 64) {\n\t\t\tvar slash1 = modifier.indexOf(\"/\");\n\t\t\tcontainerSize = modifier.slice(1, slash1 === -1 ? void 0 : slash1);\n\t\t\tcontainerName = slash1 === -1 ? \"\" : modifier.slice(slash1 + 1);\n\t\t\tif (isModifierName(containerSize, 0, containerSize.length) && (slash1 === -1 || isModifierName(containerName, 0, containerName.length)) && ((code = compiled.modifiers[containerSize]) & 7) === modifierKindMedia && (containerQuery = compiled.mediaQueries[containerSize]) && isContainerSizeQueryText(containerQuery)) {\n\t\t\t\tkind = 6;\n\t\t\t\trank = code >> 3;\n\t\t\t}\n\t\t}\n\t\tif (!kind) {\n\t\t\tif (warning && process.env.NODE_ENV === \"development\") warnRefusedValue(property, warning === 1 ? source : raw, `unknown modifier \"${source.slice(sourceStart, end)}\"`);\n\t\t\treturn 0;\n\t\t}\n\t\tvar slotStart = 0;\n\t\tvar duplicate = false;\n\t\tvar inserted = !key;\n\t\tif (!key) key = modifier;\n\t\telse {\n\t\t\twhile (slotStart <= key.length) {\n\t\t\t\tvar slotEnd = key.indexOf(\":\", slotStart);\n\t\t\t\tif (slotEnd === -1) slotEnd = key.length;\n\t\t\t\tvar order = 0;\n\t\t\t\tvar compareLength = Math.min(modifier.length, slotEnd - slotStart);\n\t\t\t\tfor (var offset = 0; offset < compareLength; offset++) {\n\t\t\t\t\torder = modifier.charCodeAt(offset) - key.charCodeAt(slotStart + offset);\n\t\t\t\t\tif (order) break;\n\t\t\t\t}\n\t\t\t\torder || (order = modifier.length - (slotEnd - slotStart));\n\t\t\t\tif (!order) {\n\t\t\t\t\tduplicate = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (order < 0) {\n\t\t\t\t\tkey = `${key.slice(0, slotStart)}${modifier}:${key.slice(slotStart)}`;\n\t\t\t\t\tinserted = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (slotEnd === key.length) break;\n\t\t\t\tslotStart = slotEnd + 1;\n\t\t\t}\n\t\t\tif (!duplicate && !inserted) key += `:${modifier}`;\n\t\t}\n\t\tif (duplicate) continue;\n\t\tif (kind === modifierKindPlatform) {\n\t\t\tif (rank > platformRank) platformRank = rank;\n\t\t\tvar matches = platformMatches(modifier);\n\t\t\tactive && (active = matches);\n\t\t\temit && (emit = matches);\n\t\t\tcontinue;\n\t\t}\n\t\tdepth++;\n\t\tvar nextCategory = kind === modifierKindMedia ? 0 : kind === 6 ? 1 : kind === modifierKindTheme ? 2 : kind === 5 ? 3 : 4;\n\t\tif (nextCategory > categoryRank) {\n\t\t\tcategoryRank = nextCategory;\n\t\t\twithinRank = rank;\n\t\t} else if (nextCategory === categoryRank && rank > withinRank) withinRank = rank;\n\t\tif (kind === modifierKindMedia) {\n\t\t\tvar _state_flatMediaState;\n\t\t\tvar _state;\n\t\t\tvar query = compiled.mediaQueries[modifier];\n\t\t\tif (!query) return 0;\n\t\t\t(wrappers || (wrappers = [])).push(`@media ${query}`);\n\t\t\tactive && (active = !!((_state_flatMediaState = state.flatMediaState) === null || _state_flatMediaState === void 0 ? void 0 : _state_flatMediaState[modifier]));\n\t\t\t((_state = state).flatMediaKeys || (_state.flatMediaKeys = /* @__PURE__ */ new Set())).add(modifier);\n\t\t} else if (kind === modifierKindTheme) {\n\t\t\tvar _state_flatThemeName;\n\t\t\ttheme = modifier;\n\t\t\tselector += `:where(.t_${modifier}, .t_${modifier} *)`;\n\t\t\tactive && (active = state.flatThemeName === modifier || ((_state_flatThemeName = state.flatThemeName) === null || _state_flatThemeName === void 0 ? void 0 : _state_flatThemeName.startsWith(`${modifier}_`)) === true);\n\t\t} else if (kind === 5) {\n\t\t\tvar _state_componentState_group, _state_flatGroupContext, _this;\n\t\t\tvar _state1;\n\t\t\tselector += `:where(.t_group_${groupName}${stateSelector} *)`;\n\t\t\tif (rank === 0) (wrappers || (wrappers = [])).push(\"@media (hover: hover)\");\n\t\t\tvar component = (_state_componentState_group = state.componentState.group) === null || _state_componentState_group === void 0 ? void 0 : _state_componentState_group[groupName];\n\t\t\tvar context = (_state_flatGroupContext = state.flatGroupContext) === null || _state_flatGroupContext === void 0 ? void 0 : _state_flatGroupContext[groupName];\n\t\t\tvar _component_pseudo;\n\t\t\tactive && (active = !!((_this = (_component_pseudo = component === null || component === void 0 ? void 0 : component.pseudo) !== null && _component_pseudo !== void 0 ? _component_pseudo : context === null || context === void 0 ? void 0 : context.state.pseudo) === null || _this === void 0 ? void 0 : _this[conditionStateName]));\n\t\t\t((_state1 = state).flatGroupKeys || (_state1.flatGroupKeys = /* @__PURE__ */ new Set())).add(groupName);\n\t\t} else if (kind === 6) {\n\t\t\tvar _state_componentState_group1, _state_flatGroupContext1, _component_media;\n\t\t\tvar _state2, _state3;\n\t\t\tvar groupKey = `@${containerName}`;\n\t\t\t(wrappers || (wrappers = [])).push(containerName ? `@container ${containerName} ${containerQuery}` : `@container ${containerQuery}`);\n\t\t\tvar component1 = (_state_componentState_group1 = state.componentState.group) === null || _state_componentState_group1 === void 0 ? void 0 : _state_componentState_group1[groupKey];\n\t\t\tvar context1 = (_state_flatGroupContext1 = state.flatGroupContext) === null || _state_flatGroupContext1 === void 0 ? void 0 : _state_flatGroupContext1[groupKey];\n\t\t\tvar match = component1 === null || component1 === void 0 ? void 0 : (_component_media = component1.media) === null || _component_media === void 0 ? void 0 : _component_media[containerSize];\n\t\t\tactive && (active = match === void 0 ? !!((context1 === null || context1 === void 0 ? void 0 : context1.state.layout) && mediaKeyMatch(containerSize, context1.state.layout)) : !!match);\n\t\t\t((_state2 = state).flatGroupKeys || (_state2.flatGroupKeys = /* @__PURE__ */ new Set())).add(groupKey);\n\t\t\t((_state3 = state).flatGroupMedia || (_state3.flatGroupMedia = /* @__PURE__ */ new Set())).add(containerSize);\n\t\t} else {\n\t\t\tselfStateSpecificity++;\n\t\t\tif (!isWeb && stateSelector[0] === \"[\" && modifier !== \"disabled\") unsupportedState = modifier;\n\t\t\tif (stateSelector[0] === \".\") {\n\t\t\t\tselector += `:is(${stateSelector}, ${stateSelector} *)`;\n\t\t\t\tif (rank === 6) enter = true;\n\t\t\t\telse exit = true;\n\t\t\t} else selector += stateSelector;\n\t\t\tif (rank === 0) (wrappers || (wrappers = [])).push(\"@media (hover: hover)\");\n\t\t\tvar component2 = state.componentState;\n\t\t\tactive && (active = rank === 0 ? !!component2.hover : rank === 4 ? !!(component2.press || component2.pressIn) : rank === 2 ? !!component2.focus : rank === 3 ? !!component2.focusVisible : rank === 1 ? !!component2.focusWithin : rank === 5 ? !!(component2.disabled || state.props.disabled) : rank === 6 ? !!component2.unmounted : rank === 7 ? !!state.styleProps.isExiting : false);\n\t\t\tif (stateSelector[0] === \":\") {\n\t\t\t\tvar _state4;\n\t\t\t\t((_state4 = state).flatStateKeys || (_state4.flatStateKeys = /* @__PURE__ */ new Set())).add(modifier);\n\t\t\t}\n\t\t}\n\t}\n\tif (depth > 5) throw new Error(`a flat value clause supports at most 5 non-platform conditions; received ${depth} in \"${source.slice(sourceStart, end)}:\"`);\n\tvar condition = (platformRank << 26 | depth << 23 | categoryRank << 20 | withinRank) * 256 + selfStateSpecificity * 32 + 16 + (active ? 1 : 0) + (emit ? 2 : 0) + (enter ? 4 : 0) + (exit ? 8 : 0);\n\tif (warning && unsupportedState && process.env.NODE_ENV === \"development\") warnOnce(`${property}: \"${unsupportedState}:\" has no native component-state source; dropping the clause`);\n\tif (merge && property && condition & 2 && (condition & 1 || isWeb && state.flatShouldDoClasses || warning === 1 && !isWeb && theme && supportsDynamicColorIOS && isColorStyleKey(property))) {\n\t\tvar value = payloadStart === -1 ? raw : source.slice(payloadStart, payloadEnd);\n\t\temitValue(state, property, value, condition, key, wrappers, selector, theme, merge, warning === 2 ? originalValue : originalValue !== null && originalValue !== void 0 ? originalValue : value, contextOnly);\n\t}\n\treturn condition;\n}\nvar tokenLookup = {\n\tvalue: void 0,\n\tfromTheme: false,\n\tthemeKey: \"\"\n};\nfunction fillTokenLookup(value, fromTheme, themeKey) {\n\ttokenLookup.value = value;\n\ttokenLookup.fromTheme = fromTheme;\n\ttokenLookup.themeKey = themeKey;\n\treturn tokenLookup;\n}\nfunction tokenVariable(state, property, name) {\n\tvar _state_theme, _state_conf_themes_, _state_conf_themes, _state_conf_tokensParsed_space, _state_conf_tokensParsed_color;\n\tvar lookupName = name.charCodeAt(0) === 36 ? name.slice(1) : name;\n\tif (property === \"fontFamily\") {\n\t\tvar _state_conf_fontsParsed_lookupName;\n\t\tvar family = (_state_conf_fontsParsed_lookupName = state.conf.fontsParsed[lookupName]) === null || _state_conf_fontsParsed_lookupName === void 0 ? void 0 : _state_conf_fontsParsed_lookupName.family;\n\t\treturn family ? fillTokenLookup(family, false, lookupName) : void 0;\n\t}\n\tvar fontKey = property === \"fontSize\" ? \"size\" : property === \"fontWeight\" ? \"weight\" : property === \"lineHeight\" || property === \"letterSpacing\" ? property : void 0;\n\tif (fontKey) {\n\t\tvar _font_fontKey;\n\t\tvar font = state.conf.fontsParsed[state.fontFamily || state.conf.defaultFontToken] || state.conf.fontsParsed[state.conf.defaultFontToken];\n\t\tvar value = font === null || font === void 0 ? void 0 : (_font_fontKey = font[fontKey]) === null || _font_fontKey === void 0 ? void 0 : _font_fontKey[lookupName];\n\t\treturn value ? fillTokenLookup(value, false, lookupName) : void 0;\n\t}\n\tvar category = getTokenCategoryForProperty(property);\n\tvar dot = lookupName.indexOf(\".\");\n\tif (dot !== -1) {\n\t\tvar prefix = lookupName.slice(0, dot);\n\t\tif (!category || prefix === category || prefix === \"color\") lookupName = lookupName.slice(dot + 1);\n\t}\n\tif (category) {\n\t\tvar _state_conf_tokensParsed_category;\n\t\tvar own = (_state_conf_tokensParsed_category = state.conf.tokensParsed[category]) === null || _state_conf_tokensParsed_category === void 0 ? void 0 : _state_conf_tokensParsed_category[lookupName];\n\t\tif (own) return fillTokenLookup(own, false, lookupName);\n\t\tfor (var _i = 0, _iter = [\n\t\t\t\"color\",\n\t\t\t\"space\",\n\t\t\t\"size\",\n\t\t\t\"radius\",\n\t\t\t\"zIndex\"\n\t\t]; _i < _iter.length; _i++) {\n\t\t\tvar sibling = _iter[_i];\n\t\t\tvar _state_conf_tokensParsed_sibling;\n\t\t\tif (sibling !== category && ((_state_conf_tokensParsed_sibling = state.conf.tokensParsed[sibling]) === null || _state_conf_tokensParsed_sibling === void 0 ? void 0 : _state_conf_tokensParsed_sibling[lookupName])) return;\n\t\t}\n\t} else {\n\t\tvar first = lookupName.charCodeAt(0);\n\t\tif (first >= 48 && first <= 57 || first === 43 || first === 45 || first === 46) return;\n\t}\n\tvar theme = ((_state_theme = state.theme) === null || _state_theme === void 0 ? void 0 : _state_theme[lookupName]) || ((_state_conf_themes = state.conf.themes) === null || _state_conf_themes === void 0 ? void 0 : (_state_conf_themes_ = _state_conf_themes[state.flatThemeName || \"\"]) === null || _state_conf_themes_ === void 0 ? void 0 : _state_conf_themes_[lookupName]);\n\tif (theme) return fillTokenLookup(theme, true, lookupName);\n\tif (category) return;\n\tvar token = ((_state_conf_tokensParsed_space = state.conf.tokensParsed.space) === null || _state_conf_tokensParsed_space === void 0 ? void 0 : _state_conf_tokensParsed_space[lookupName]) || ((_state_conf_tokensParsed_color = state.conf.tokensParsed.color) === null || _state_conf_tokensParsed_color === void 0 ? void 0 : _state_conf_tokensParsed_color[lookupName]);\n\treturn token ? fillTokenLookup(token, false, lookupName) : void 0;\n}\nfunction configuredValue(state, property, raw) {\n\tvar name = raw;\n\tvar opacity;\n\tvar slash = raw.lastIndexOf(\"/\");\n\tif (slash > 0) {\n\t\tvar amount = Number(raw.slice(slash + 1));\n\t\tif (Number.isInteger(amount) && amount >= 0 && amount <= 100) {\n\t\t\tname = raw.slice(0, slash);\n\t\t\topacity = amount;\n\t\t}\n\t}\n\tvar safeArea = resolveSafeAreaVariable(name);\n\tif (safeArea !== void 0) {\n\t\tstate.flatUsesSafeArea = true;\n\t\treturn safeArea;\n\t}\n\tvar lookup = tokenVariable(state, property, name);\n\tif (!lookup || !isVariable(lookup.value)) {\n\t\tvar _state_conf_tokensParsed_color;\n\t\tif (process.env.NODE_ENV === \"development\" && tokenCategoryByProperty[property] && ((_state_conf_tokensParsed_color = state.conf.tokensParsed.color) === null || _state_conf_tokensParsed_color === void 0 ? void 0 : _state_conf_tokensParsed_color[name])) warnOnce(`\"${name}\" contributes to \"color\", not \"${property}\"; keeping it literal`);\n\t\treturn raw;\n\t}\n\tvar resolveValues = isWeb && !state.flatShouldDoClasses && state.styleProps.resolveValues === \"auto\" ? \"value\" : state.styleProps.resolveValues;\n\tif (resolveValues === \"except-theme\" && lookup.fromTheme) return `${THEME_REF_PREFIX}${lookup.themeKey}${opacity !== void 0 ? `/${opacity}` : \"\"}`;\n\tvar value = resolveVariableValue(property, lookup.value, resolveValues);\n\tif (opacity !== void 0) value = isWeb ? `color-mix(in srgb, ${value} ${opacity}%, transparent)` : normalizeColor(value, opacity / 100);\n\treturn value;\n}\nvar letterFreeCallPattern = /^[A-Za-z-]+\\([^A-Za-z]*\\)$/;\nfunction resolveEmbeddedTokens(state, property, raw) {\n\tif (letterFreeCallPattern.test(raw)) return raw;\n\treturn raw.replace(/[$A-Za-z_][\\w.$-]*(?:\\/\\d+)?/g, function(word, index) {\n\t\tif (word.charCodeAt(0) !== 36) {\n\t\t\tvar before = raw.charCodeAt(index - 1);\n\t\t\tif (before >= 48 && before <= 57 || before === 35 || before === 45 && raw.charCodeAt(index - 2) === 45 || raw.charCodeAt(index + word.length) === 40) return word;\n\t\t}\n\t\tvar value = configuredValue(state, property, word);\n\t\treturn value === word ? word : String(value);\n\t});\n}\nfunction normalizeTransitionNames(state, raw) {\n\tvar quote = 0;\n\tvar depth = 0;\n\tvar copyFrom = 0;\n\tvar out = \"\";\n\tfor (var index = 0; index < raw.length; index++) {\n\t\tvar code = raw.charCodeAt(index);\n\t\tif (quote) {\n\t\t\tif (code === 92) index++;\n\t\t\telse if (code === quote) quote = 0;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 34 || code === 39) {\n\t\t\tquote = code;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 40) {\n\t\t\tdepth++;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 41) {\n\t\t\tdepth--;\n\t\t\tcontinue;\n\t\t}\n\t\tif (depth || !(code >= 65 && code <= 90 || code >= 97 && code <= 122 || code === 95) || index > 1 && raw.charCodeAt(index - 1) === 45 && raw.charCodeAt(index - 2) === 45) continue;\n\t\tvar end = index + 1;\n\t\twhile (end < raw.length) {\n\t\t\tvar next = raw.charCodeAt(end);\n\t\t\tif (next >= 48 && next <= 57 || next >= 65 && next <= 90 || next >= 97 && next <= 122 || next === 45 || next === 95) end++;\n\t\t\telse break;\n\t\t}\n\t\tif (raw.charCodeAt(end) !== 40) {\n\t\t\tvar authored = raw.slice(index, end);\n\t\t\tvar property = state.conf.shorthands[authored] || authored;\n\t\t\tif (property === \"x\" || property === \"y\") property = \"translate\";\n\t\t\telse if (property === \"scaleX\" || property === \"scaleY\") property = \"scale\";\n\t\t\telse if (legacyTransformParts.has(property)) property = \"transform\";\n\t\t\tif (property !== authored || /[A-Z]/.test(property)) {\n\t\t\t\tout += raw.slice(copyFrom, index);\n\t\t\t\tout += property.replace(/[A-Z]/g, function(letter) {\n\t\t\t\t\treturn `-${letter.toLowerCase()}`;\n\t\t\t\t});\n\t\t\t\tcopyFrom = end;\n\t\t\t}\n\t\t}\n\t\tindex = end - 1;\n\t}\n\treturn copyFrom ? out + raw.slice(copyFrom) : raw;\n}\nfunction directStyleSignature(property, value) {\n\treturn `\u001f${property}\u001f${arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : \"\"}\u001e${String(value)}`;\n}\nfunction directAtomic(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector) {\n\tvar isDefault = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : false;\n\tvar _state;\n\tvar atomics = (_state = state).flatAtomics || (_state.flatAtomics = {});\n\tvar atomicKey = property.startsWith(\"transition\") ? \"transition\" : property;\n\tvar existing = atomics[atomicKey];\n\tvar contribution = directStyleSignature(property, value, conditionKey);\n\tvar signature = existing ? existing.signature + contribution : contribution;\n\tvar next = getCSSStyleAtomic(property, value, conditionSelector, conditionWrappers, signature, true, atomicKey, condition ? 1 + (Math.floor(condition / 256) >>> 23 & 7) + (Math.floor(condition / 256) >>> 26) * 6 - (condition >>> 5 & 7) : void 0);\n\tif (!next) return;\n\tvar identifier = next[StyleObjectIdentifier];\n\tvar nextRules = next[StyleObjectRules];\n\tvar slotted = condition || atomicKey === \"transition\";\n\tif (!existing) {\n\t\tvar atomic = {\n\t\t\tbaseRules: slotted ? 0 : nextRules.length,\n\t\t\tconditions: void 0,\n\t\t\tsignature,\n\t\t\tstyleObject: next\n\t\t};\n\t\tif (slotted) atomic.conditions = { [atomicKey === \"transition\" ? `${conditionKey}\\0${property}` : conditionKey]: {\n\t\t\tcount: nextRules.length,\n\t\t\tindex: 0,\n\t\t\tprecedence: condition ? Math.floor(condition / 256) : 0,\n\t\t\tdefault: isDefault\n\t\t} };\n\t\tatomics[atomicKey] = atomic;\n\t} else {\n\t\tvar previousIdentifier = existing.styleObject[StyleObjectIdentifier];\n\t\tvar rules = existing.styleObject[StyleObjectRules];\n\t\tif (!condition && !isDefault && existing.conditions) for (var key in existing.conditions) {\n\t\t\tvar entry = existing.conditions[key];\n\t\t\tif (!entry.default) continue;\n\t\t\trules.splice(entry.index, entry.count);\n\t\t\tdelete existing.conditions[key];\n\t\t\tfor (var otherKey in existing.conditions) {\n\t\t\t\tvar other = existing.conditions[otherKey];\n\t\t\t\tif (other.index > entry.index) other.index -= entry.count;\n\t\t\t}\n\t\t}\n\t\tif (previousIdentifier !== identifier) {\n\t\t\tvar oldSelector = `.${previousIdentifier}`;\n\t\t\tvar newSelector = `.${identifier}`;\n\t\t\tfor (var index = 0; index < rules.length; index++) rules[index] = rules[index].replaceAll(oldSelector, newSelector);\n\t\t}\n\t\tif (slotted) {\n\t\t\tvar _existing_conditions;\n\t\t\tvar _existing;\n\t\t\tvar slot = atomicKey === \"transition\" ? `${conditionKey}\\0${property}` : conditionKey;\n\t\t\tvar previous = (_existing_conditions = existing.conditions) === null || _existing_conditions === void 0 ? void 0 : _existing_conditions[slot];\n\t\t\tif (previous) {\n\t\t\t\trules.splice(previous.index, previous.count);\n\t\t\t\tif (existing.conditions) for (var key1 in existing.conditions) {\n\t\t\t\t\tvar entry1 = existing.conditions[key1];\n\t\t\t\t\tif (entry1 !== previous && entry1.index > previous.index) entry1.index -= previous.count;\n\t\t\t\t}\n\t\t\t\tdelete existing.conditions[slot];\n\t\t\t}\n\t\t\tvar precedence = condition ? Math.floor(condition / 256) : 0;\n\t\t\tvar insertionIndex = rules.length;\n\t\t\tif (existing.conditions) {\n\t\t\t\tfor (var key2 in existing.conditions) {\n\t\t\t\t\tvar entry2 = existing.conditions[key2];\n\t\t\t\t\tif (entry2.precedence > precedence && entry2.index < insertionIndex) insertionIndex = entry2.index;\n\t\t\t\t}\n\t\t\t\tfor (var key3 in existing.conditions) {\n\t\t\t\t\tvar entry3 = existing.conditions[key3];\n\t\t\t\t\tif (entry3.index >= insertionIndex) entry3.index += nextRules.length;\n\t\t\t\t}\n\t\t\t}\n\t\t\t((_existing = existing).conditions || (_existing.conditions = {}))[slot] = {\n\t\t\t\tcount: nextRules.length,\n\t\t\t\tindex: insertionIndex,\n\t\t\t\tprecedence,\n\t\t\t\tdefault: isDefault\n\t\t\t};\n\t\t\trules.splice(insertionIndex, 0, ...nextRules);\n\t\t} else {\n\t\t\tvar difference = nextRules.length - existing.baseRules;\n\t\t\trules.splice(0, existing.baseRules, ...nextRules);\n\t\t\tif (difference && existing.conditions) for (var key4 in existing.conditions) existing.conditions[key4].index += difference;\n\t\t\texisting.baseRules = nextRules.length;\n\t\t}\n\t\texisting.signature = signature;\n\t\texisting.styleObject[StyleObjectIdentifier] = identifier;\n\t\texisting.styleObject[1] = next[1];\n\t}\n\tstate.classNames[atomicKey] = identifier;\n}\nfunction emitBorderStyleDefault(state, property, condition, conditionKey, conditionWrappers, conditionSelector) {\n\tvar _state_flatAtomics, _atomic_conditions;\n\tif (!isWeb || !state.flatShouldDoClasses || state.styleProps.noNormalize === false) return;\n\tvar target = borderStyleDefaults[property];\n\tif (!target) return;\n\tvar atomic = (_state_flatAtomics = state.flatAtomics) === null || _state_flatAtomics === void 0 ? void 0 : _state_flatAtomics[target];\n\tif ((atomic === null || atomic === void 0 ? void 0 : atomic.baseRules) || state.classNames[target] && !atomic || condition && (atomic === null || atomic === void 0 ? void 0 : (_atomic_conditions = atomic.conditions) === null || _atomic_conditions === void 0 ? void 0 : _atomic_conditions[conditionKey])) return;\n\tdirectAtomic(state, target, \"solid\", condition, conditionKey, conditionWrappers, conditionSelector, true);\n}\nfunction flushDirectStyles(state) {\n\tvar clear = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;\n\tvar direct = state;\n\tvar atomics = direct.flatAtomics;\n\tif (!atomics) return;\n\tfor (var property in atomics) {\n\t\tvar styleObject = atomics[property].styleObject;\n\t\tvar identifier = styleObject[StyleObjectIdentifier];\n\t\tif (shouldInsertStyleRules(identifier)) {\n\t\t\tupdateRules(identifier, styleObject[StyleObjectRules]);\n\t\t\tstate.flatRulesToInsert[identifier] = styleObject;\n\t\t}\n\t}\n\tif (clear) direct.flatAtomics = void 0;\n}\nfunction getDirectDynamicThemeAccess(state) {\n\treturn state.flatDynamicThemeAccess;\n}\nfunction emitProperty(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tvar _state_animationDriver, _state_flatActiveConditions;\n\tvar _state, _state1;\n\tvar direct = state;\n\tif (condition & 4) ((_state = state).flatEnterKeys || (_state.flatEnterKeys = /* @__PURE__ */ new Set())).add(property);\n\tif (condition & 8) ((_state1 = state).flatExitKeys || (_state1.flatExitKeys = /* @__PURE__ */ new Set())).add(property);\n\tif (!isWeb && conditionTheme) {\n\t\tif (supportsDynamicColorIOS && isColorStyleKey(property)) {\n\t\t\tvar _direct, _ref, _property;\n\t\t\tvar schemes = (_ref = (_direct = direct).flatDynamicColors || (_direct.flatDynamicColors = {}))[_property = property] || (_ref[_property] = {});\n\t\t\tschemes[conditionTheme] = typeof originalValue === \"string\" && /^[a-z]+$/i.test(originalValue) ? originalValue : value;\n\t\t\tmerge(state, property, { dynamic: { ...schemes } }, 1, false, originalValue);\n\t\t\treturn;\n\t\t}\n\t\tdirect.flatDynamicThemeAccess = true;\n\t}\n\tif (contextOnly) {\n\t\tif (!condition || condition & 1) {\n\t\t\tvar _state2;\n\t\t\t((_state2 = state).overriddenContextProps || (_state2.overriddenContextProps = {}))[property] = originalValue;\n\t\t}\n\t\treturn;\n\t}\n\tvar shouldPromoteAnimatedStyle = isWeb && !condition && !state.flatShouldDoClasses && !state.styleProps.noMergeStyle && state.styleProps.isAnimated && !((_state_animationDriver = state.animationDriver) === null || _state_animationDriver === void 0 ? void 0 : _state_animationDriver.isReactNative) && property in nonAnimatableStyleProps;\n\tif (isWeb && (state.flatShouldDoClasses || shouldPromoteAnimatedStyle)) {\n\t\tif (!condition) {\n\t\t\tif (state.style) delete state.style[property];\n\t\t}\n\t\tdirectAtomic(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector);\n\t\treturn;\n\t}\n\tif (condition) {\n\t\tvar _direct_flatPrecedence;\n\t\tvar _direct1, _state3;\n\t\tif (!(condition & 1)) return;\n\t\tvar precedence = Math.floor(condition / 256);\n\t\tvar previous = (_direct_flatPrecedence = direct.flatPrecedence) === null || _direct_flatPrecedence === void 0 ? void 0 : _direct_flatPrecedence[property];\n\t\tif (previous !== void 0 && precedence < previous) return;\n\t\t((_direct1 = direct).flatPrecedence || (_direct1.flatPrecedence = {}))[property] = precedence;\n\t\t((_state3 = state).flatActiveConditions || (_state3.flatActiveConditions = {}))[property] = true;\n\t} else if ((_state_flatActiveConditions = state.flatActiveConditions) === null || _state_flatActiveConditions === void 0 ? void 0 : _state_flatActiveConditions[property]) return;\n\tmerge(state, property, value, 1, true, originalValue);\n}\nfunction splitComponents(value) {\n\tvar parts = [];\n\tvar start = 0;\n\tvar quote = 0;\n\tvar depth = 0;\n\tfor (var index = 0; index <= value.length; index++) {\n\t\tvar code = index === value.length ? 32 : value.charCodeAt(index);\n\t\tif (quote) {\n\t\t\tif (code === 92) index++;\n\t\t\telse if (code === quote) quote = 0;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 34 || code === 39) quote = code;\n\t\telse if (code === 40) depth++;\n\t\telse if (code === 41) depth--;\n\t\telse if (!depth && code <= 32) {\n\t\t\tif (index > start) parts.push(value.slice(start, index));\n\t\t\tstart = index + 1;\n\t\t}\n\t}\n\treturn parts;\n}\nfunction emitBorder(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tif (!isWeb && (property === \"borderBlock\" || property === \"borderInline\")) {\n\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`RN has no logical border shorthand \"${property}\"; dropping it`);\n\t\treturn;\n\t}\n\tvar targets = borderTargets[property];\n\tvar width;\n\tvar style;\n\tvar color;\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = splitComponents(raw)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar part = _step.value;\n\t\t\tvar lower = part.toLowerCase();\n\t\t\tif (lineStyles.has(lower) || property === \"outline\" && lower === \"auto\") style = part;\n\t\t\telse if (lower === \"thin\" || lower === \"medium\" || lower === \"thick\" || /^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:[a-z%]+)?$/i.test(part) || /^(?:calc|var|min|max|clamp)\\(/i.test(part)) width = part;\n\t\t\telse color = part;\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 (style === \"none\" && width === void 0) width = \"0\";\n\tif (width !== void 0) {\n\t\tvar _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator1 = targets.width[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {\n\t\t\t\tvar target = _step1.value;\n\t\t\t\temitResolved(state, target, width, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\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 (style !== void 0) {\n\t\tvar styleTargets = !isWeb && property === \"border\" ? [\"borderStyle\"] : targets.style;\n\t\tvar _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator2 = styleTargets[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n\t\t\t\tvar target1 = _step2.value;\n\t\t\t\temitProperty(state, target1, style, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\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\tif (color !== void 0) {\n\t\tvar _iteratorNormalCompletion3 = true, _didIteratorError3 = false, _iteratorError3 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator3 = targets.color[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n\t\t\t\tvar target2 = _step3.value;\n\t\t\t\temitResolved(state, target2, color, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\t}\n\t\t} catch (err) {\n\t\t\t_didIteratorError3 = true;\n\t\t\t_iteratorError3 = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion3 && _iterator3.return != null) _iterator3.return();\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError3) throw _iteratorError3;\n\t\t\t}\n\t\t}\n\t}\n}\nfunction emitTextDecoration(state, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = splitComponents(raw)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar part = _step.value;\n\t\t\temitResolved(state, part === \"solid\" || part === \"double\" || part === \"dotted\" || part === \"dashed\" || part === \"wavy\" ? \"textDecorationStyle\" : part === \"underline\" || part === \"overline\" || part === \"line-through\" || part === \"none\" ? \"textDecorationLine\" : \"textDecorationColor\", part, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\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}\nfunction addComposition(state, property) {\n\tif (state.classNames[property]) return;\n\tvar value = property === \"translate\" ? \"var(--t-x, 0px) var(--t-y, 0px)\" : \"var(--t-scale-x, 1) var(--t-scale-y, 1)\";\n\tvar defaults = property === \"translate\" ? \"--t-x:0px;--t-y:0px\" : \"--t-scale-x:1;--t-scale-y:1\";\n\tvar styleObject = getCSSStyleAtomic(property, value, \"\", void 0, void 0, true);\n\tvar identifier = styleObject[StyleObjectIdentifier];\n\tstyleObject[StyleObjectRules].unshift(`:where(.${identifier}){${defaults}}`);\n\tif (shouldInsertStyleRules(identifier)) {\n\t\tupdateRules(identifier, styleObject[StyleObjectRules]);\n\t\tstate.flatRulesToInsert[identifier] = styleObject;\n\t}\n\tstate.classNames[property] = identifier;\n}\nfunction emitTransform(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tif (!isWeb || !state.flatShouldDoClasses) {\n\t\tif (!isWeb && property === \"scale\") {\n\t\t\temitProperty(state, \"scaleX\", value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\temitProperty(state, \"scaleY\", value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t} else emitProperty(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tvar targets = property === \"scale\" ? [\"--t-scale-x\", \"--t-scale-y\"] : [property === \"x\" ? \"--t-x\" : property === \"y\" ? \"--t-y\" : property === \"scaleX\" ? \"--t-scale-x\" : property === \"scaleY\" ? \"--t-scale-y\" : \"rotate\"];\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = targets[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar target = _step.value;\n\t\t\tvar targetValue = value;\n\t\t\tif (typeof targetValue === \"number\") {\n\t\t\t\tif (target === \"--t-x\" || target === \"--t-y\") targetValue = `${targetValue}px`;\n\t\t\t\telse if (target === \"rotate\") targetValue = `${targetValue}deg`;\n\t\t\t}\n\t\t\temitProperty(state, target, targetValue, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\tif (target === \"--t-x\" || target === \"--t-y\") addComposition(state, \"translate\");\n\t\t\telse if (target.startsWith(\"--t-scale\")) addComposition(state, \"scale\");\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}\nfunction emitResolved(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tvar value = configuredValue(state, property, raw);\n\tif (value === raw && /[\\s,(]/.test(raw)) value = resolveEmbeddedTokens(state, property, raw);\n\tif ((!isWeb || !state.flatShouldDoClasses) && typeof value === \"string\") {\n\t\tif (/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:px|dp)$/i.test(value)) value = Number.parseFloat(value);\n\t\telse if (value !== \"\" && Number.isFinite(Number(value))) value = Number(value);\n\t}\n\temitProperty(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n}\nfunction shadowUnit(part) {\n\treturn typeof part === \"number\" ? `${part}px` : part || \"0px\";\n}\nfunction emitWebShadow(state, property, value, merge, originalValue, contextOnly) {\n\tvar _state;\n\tvar shadow = (_state = state).flatWebShadow || (_state.flatWebShadow = {});\n\tshadow[property] = value;\n\tvar offset = shadow.shadowOffset || {\n\t\twidth: 0,\n\t\theight: 0\n\t};\n\tvar _shadow_shadowOpacity;\n\tvar color = normalizeColor(shadow.shadowColor, (_shadow_shadowOpacity = shadow.shadowOpacity) !== null && _shadow_shadowOpacity !== void 0 ? _shadow_shadowOpacity : 1);\n\tif (!color) return;\n\tvar next = `${shadowUnit(offset.width)} ${shadowUnit(offset.height)} ${shadowUnit(shadow.shadowRadius)} ${color}`;\n\temitProperty(state, \"boxShadow\", state.flatBoxShadow ? `${state.flatBoxShadow}, ${next}` : next, 0, \"\", void 0, \"\", \"\", merge, originalValue, contextOnly);\n}\nfunction emitWebTextShadow(state, property, value, merge, originalValue, contextOnly) {\n\tvar _state;\n\tvar shadow = (_state = state).flatTextShadow || (_state.flatTextShadow = {});\n\tshadow[property] = value;\n\tvar offset = shadow.textShadowOffset || {\n\t\twidth: 0,\n\t\theight: 0\n\t};\n\tif (!shadow.textShadowColor) return;\n\temitProperty(state, \"textShadow\", `${shadowUnit(offset.width)} ${shadowUnit(offset.height)} ${shadowUnit(shadow.textShadowRadius)} ${shadow.textShadowColor}`, 0, \"\", void 0, \"\", \"\", merge, originalValue, contextOnly);\n}\nfunction emitValue(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tif (typeof raw === \"string\") raw = raw.trim();\n\tif (isVariable(raw)) raw = resolveVariableValue(property, raw, isWeb && !state.flatShouldDoClasses && state.styleProps.resolveValues === \"auto\" ? \"value\" : state.styleProps.resolveValues);\n\temitBorderStyleDefault(state, property, condition, conditionKey, conditionWrappers, conditionSelector);\n\tif (typeof raw === \"string\" && (property === \"transition\" || property === \"transitionProperty\")) raw = normalizeTransitionNames(state, raw);\n\tif (legacyTransformParts.has(property)) {\n\t\tif (isWeb && state.flatShouldDoClasses && state.classNames.transform) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`legacy transform part \"${property}\" is dropped because \"transform\" owns the property`);\n\t\t\treturn;\n\t\t}\n\t\tvar value = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif (isWeb && state.flatShouldDoClasses && !condition) {\n\t\t\tvar _direct;\n\t\t\tvar direct = state;\n\t\t\t((_direct = direct).flatLegacyTransforms || (_direct.flatLegacyTransforms = {}))[property] = value;\n\t\t\temitProperty(state, \"transform\", transformsToString(Object.keys(direct.flatLegacyTransforms).sort().map(function(key2) {\n\t\t\t\treturn { [key2]: direct.flatLegacyTransforms[key2] };\n\t\t\t})), 0, \"\", void 0, \"\", \"\", merge, originalValue, contextOnly);\n\t\t} else if (condition && isWeb && state.flatShouldDoClasses) emitProperty(state, \"transform\", `${property}(${value})`, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\telse merge(state, property, value, 1, false, originalValue);\n\t\treturn;\n\t}\n\tif (isWeb && webShadowParts.has(property)) {\n\t\tvar value1 = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif (state.flatShouldDoClasses) emitWebShadow(state, property, value1, merge, originalValue, contextOnly);\n\t\telse merge(state, property, value1, 1, false, originalValue);\n\t\treturn;\n\t}\n\tif (isWeb && webTextShadowParts.has(property)) {\n\t\tvar value2 = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif (state.flatShouldDoClasses) emitWebTextShadow(state, property, value2, merge, originalValue, contextOnly);\n\t\telse merge(state, property, value2, 1, false, originalValue);\n\t\treturn;\n\t}\n\tif (isWeb && state.flatShouldDoClasses) {\n\t\tif (property === \"transform\") {\n\t\t\tvar direct1 = state;\n\t\t\tif (process.env.NODE_ENV === \"development\" && direct1.flatLegacyTransforms) for (var part in direct1.flatLegacyTransforms) warnOnce(`legacy transform part \"${part}\" is dropped because \"transform\" owns the property`);\n\t\t\tdirect1.flatLegacyTransforms = void 0;\n\t\t\tif (state.flatTransforms) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\") for (var part1 in state.flatTransforms) warnOnce(`legacy transform part \"${part1}\" is dropped because \"transform\" owns the property`);\n\t\t\t\tstate.flatTransforms = void 0;\n\t\t\t}\n\t\t}\n\t}\n\tif (isWeb && state.flatShouldDoClasses && property === \"transform\" && Array.isArray(raw)) raw = transformsToString(raw);\n\tif (typeof raw === \"string\" && property in borderTargets) {\n\t\temitBorder(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (typeof raw === \"string\" && property === \"textDecoration\") {\n\t\temitTextDecoration(state, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (typeof raw === \"string\" && property === \"background\") {\n\t\tvar parts = splitComponents(raw);\n\t\tif (parts.length === 1 && !/^(?:url|image-set|.*gradient)\\(/i.test(parts[0])) {\n\t\t\temitResolved(state, \"backgroundColor\", parts[0], condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\treturn;\n\t\t}\n\t\tif (!isWeb) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`native background cannot represent \"${raw}\"; dropping it`);\n\t\t\treturn;\n\t\t}\n\t}\n\tif (property === \"x\" || property === \"y\" || property === \"scale\" || property === \"scaleX\" || property === \"scaleY\" || property === \"rotate\") {\n\t\tvar value3 = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif ((!isWeb || !state.flatShouldDoClasses) && typeof value3 === \"string\" && !value3.startsWith(THEME_REF_PREFIX)) {\n\t\t\tif (property === \"rotate\" && !/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:deg|rad)$/i.test(value3)) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`native transform \"${property}\" cannot represent \"${value3}\"; dropping it`);\n\t\t\t\tif (condition & 1 && state.flatTransforms) delete state.flatTransforms[property];\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:px|dp)$/i.test(value3)) value3 = Number.parseFloat(value3);\n\t\t\telse if (Number.isFinite(Number(value3))) value3 = Number(value3);\n\t\t}\n\t\temitTransform(state, property, value3, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (isWeb && !state.flatShouldDoClasses && !condition && property === \"borderRadius\") {\n\t\tif (typeof raw === \"string\") emitResolved(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\telse emitProperty(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (property === \"transform\" && typeof raw === \"string\") {\n\t\tvar transform = parseNativeTransform(raw);\n\t\tif (transform) {\n\t\t\temitProperty(state, property, transform, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\treturn;\n\t\t}\n\t}\n\tvar value4 = raw;\n\tif (typeof raw === \"string\") {\n\t\tvalue4 = configuredValue(state, property, raw);\n\t\tif (value4 === raw && /[\\s,(]/.test(raw)) value4 = resolveEmbeddedTokens(state, property, raw);\n\t}\n\tif ((!isWeb || !state.flatShouldDoClasses) && typeof value4 === \"string\") {\n\t\tif (/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:px|dp)$/i.test(value4)) value4 = Number.parseFloat(value4);\n\t\telse if (value4 !== \"\" && Number.isFinite(Number(value4))) value4 = Number(value4);\n\t}\n\tif (isWeb && state.flatShouldDoClasses && property === \"boxShadow\" && !condition) state.flatBoxShadow = value4;\n\tif (typeof value4 === \"string\" && (property === \"backgroundImage\" || property === \"boxShadow\" || property === \"textShadow\")) {\n\t\tvar parsed = parseNativeStyle(property, value4);\n\t\tif (parsed) {\n\t\t\tif (property === \"textShadow\") {\n\t\t\t\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\t\t\t\ttry {\n\t\t\t\t\tfor (var _iterator = parsed[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\t\t\t\tvar [key, parsedValue] = _step.value;\n\t\t\t\t\t\temitProperty(state, key, parsedValue, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\t\t\t}\n\t\t\t\t} catch (err) {\n\t\t\t\t\t_didIteratorError = true;\n\t\t\t\t\t_iteratorError = err;\n\t\t\t\t} finally {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else emitProperty(state, property === \"backgroundImage\" ? \"experimental_backgroundImage\" : property, parsed, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\treturn;\n\t\t}\n\t}\n\tif (!isWeb && property === \"fontVariant\" && typeof value4 === \"string\") value4 = value4.split(/[,\\s]+/).filter(Boolean);\n\tvar expanded = state.styleProps.noExpand ? null : expandStyle(property, value4, state.conf.settings.styleCompat || \"web\");\n\tif (!expanded) {\n\t\temitProperty(state, property, value4, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (typeof raw === \"string\" && expanded.length > 1) {\n\t\tvar parts1 = splitComponents(raw);\n\t\tif (parts1.length > 0 && parts1.length <= (expanded.length === 4 ? 4 : 2)) {\n\t\t\tfor (var index = 0; index < expanded.length; index++) {\n\t\t\t\tvar partIndex = index === 0 || parts1.length === 1 ? 0 : index === 1 || index === 3 && parts1.length < 4 ? 1 : index === 2 && parts1.length < 3 ? 0 : index;\n\t\t\t\temitResolved(state, expanded[index][0], parts1[partIndex], condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t}\n\tfor (var index1 = 0; index1 < expanded.length; index1++) emitProperty(state, expanded[index1][0], expanded[index1][1], condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n}\nfunction contributeStyleString(state, property, source, merge, originalValue) {\n\tvar contextOnly = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : false;\n\tif (isWeb && source.indexOf(\":\") !== -1 && (webShadowParts.has(property) || legacyTransformParts.has(property))) {\n\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`conditional \"${property}\" needs its composite property; dropping it`);\n\t\treturn true;\n\t}\n\tif (source.indexOf(\":\") === -1) {\n\t\temitValue(state, property, source, 0, \"\", void 0, \"\", \"\", merge, originalValue !== null && originalValue !== void 0 ? originalValue : source, contextOnly);\n\t\treturn true;\n\t}\n\tscanFlatValue(source, directStyleHandler, state, property, merge, originalValue, contextOnly);\n\treturn true;\n}\nfunction contributeFrontendValue(state, property, value, merge) {\n\tvar contextOnly = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : false;\n\tif (value.base !== null) emitValue(state, property, value.base, 0, \"\", void 0, \"\", \"\", merge, value.base, contextOnly);\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = value.clauses[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar clause = _step.value;\n\t\t\tvar source = clause.modifiers.join(\":\");\n\t\t\tresolveClauseChain(state, source, 0, source.length, property, clause.payload, merge, clause.payload, contextOnly);\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\treturn true;\n}\nfunction isConditionalStyleObject(state, value) {\n\tif (Object.prototype.hasOwnProperty.call(value, \"default\")) return true;\n\tfor (var key in value) return key.length > 0 && !!resolveClauseChain(state, key, 0, key.length);\n\treturn false;\n}\nfunction contributeVariantClauseValue(state, property, value, conditionSource, merge, originalValue) {\n\tvar contextOnly = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : false;\n\tif (value && (typeof value === \"undefined\" ? \"undefined\" : _type_of(value)) === \"object\" && !Array.isArray(value) && !isVariable(value) && isConditionalStyleObject(state, value)) {\n\t\tfor (var key in value) {\n\t\t\tvar payload = value[key];\n\t\t\tif (payload == null) continue;\n\t\t\tvar source = key === \"default\" ? conditionSource : `${conditionSource}:${key}`;\n\t\t\tresolveClauseChain(state, source, 0, source.length, property, payload, merge, payload, contextOnly, -1, -1, 2);\n\t\t}\n\t\treturn;\n\t}\n\tresolveClauseChain(state, conditionSource, 0, conditionSource.length, property, value, merge, originalValue, contextOnly, -1, -1, 2);\n}\nfunction contributeStyleObject(state, property, value, merge, contextOnly) {\n\tif (!isConditionalStyleObject(state, value)) return false;\n\tif (isWeb && (webShadowParts.has(property) || legacyTransformParts.has(property))) {\n\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`conditional \"${property}\" needs its composite property; dropping it`);\n\t\treturn true;\n\t}\n\tvar hasBase = false;\n\tvar base = value.default;\n\tif (base != null) {\n\t\temitValue(state, property, base, 0, \"\", void 0, \"\", \"\", merge, base, contextOnly);\n\t\thasBase = true;\n\t}\n\tvar conditions = 0;\n\tfor (var key in value) {\n\t\tif (key === \"default\") continue;\n\t\tvar payload = value[key];\n\t\tif (payload == null) continue;\n\t\tconditions |= resolveClauseChain(state, key, 0, key.length, property, payload, merge, payload, contextOnly, -1, -1, 1);\n\t}\n\tif ((!isWeb || !state.flatShouldDoClasses) && conditions & 12 && !hasBase) {\n\t\tvar resting = implicitLifecycleBase(property);\n\t\tif (resting !== null) emitValue(state, property, resting, 0, \"\", void 0, \"\", \"\", merge, resting, contextOnly);\n\t}\n\treturn true;\n}\nfunction contributeStyleValue(state, property, value, merge, originalValue) {\n\tvar contextOnly = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : false;\n\tif (value === \"safe\" && isSafeAreaKey(property)) {\n\t\tvar expanded = expandSafeAreaValue(property);\n\t\tif (expanded) {\n\t\t\tstate.flatUsesSafeArea = true;\n\t\t\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\t\t\ttry {\n\t\t\t\tfor (var _iterator = expanded[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\t\t\tvar [key, resolved] = _step.value;\n\t\t\t\t\temitValue(state, key, resolved, 0, \"\", void 0, \"\", \"\", merge, originalValue !== null && originalValue !== void 0 ? originalValue : value, contextOnly);\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\treturn true;\n\t\t}\n\t}\n\tif (typeof value === \"string\") return contributeStyleString(state, property, value, merge, originalValue, contextOnly);\n\tif (value && (typeof value === \"undefined\" ? \"undefined\" : _type_of(value)) === \"object\" && !Array.isArray(value) && !isVariable(value) && contributeStyleObject(state, property, value, merge, contextOnly)) return true;\n\tif (value != null) {\n\t\temitValue(state, property, value, 0, \"\", void 0, \"\", \"\", merge, originalValue !== null && originalValue !== void 0 ? originalValue : value, contextOnly);\n\t\treturn true;\n\t}\n\treturn false;\n}\nfunction clearDirectStyle(state, property) {\n\tvar direct = state;\n\tvar atomicKey = property.startsWith(\"transition\") ? \"transition\" : webShadowParts.has(property) ? \"boxShadow\" : webTextShadowParts.has(property) ? \"textShadow\" : legacyTransformParts.has(property) ? \"transform\" : property;\n\tif (direct.flatAtomics) delete direct.flatAtomics[atomicKey];\n\tdelete state.classNames[atomicKey];\n}\n\nexport { clearDirectStyle, contributeFrontendValue, contributeStyleString, contributeStyleValue, contributeVariantClauseValue, directStyleSignature, flushDirectStyles, getDirectDynamicThemeAccess, platformMatches, resolveClauseChain };"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAqBA,SAAS,SAAS,KAAK;CACtB;CACA,OAAO,OAAO,OAAO,WAAW,eAAe,IAAI,gBAAgB,SAAS,WAAW,OAAO;AAC/F;AACA,IAAI,qBAAqB;CACxB,QAAQ,OAAO,OAAO,KAAK,QAAQ,OAAO,QAAQ,YAAY,UAAU,YAAY,YAAY,SAAS,SAAS,cAAc,UAAU,OAAO,eAAe,aAAa;EAC5K,IAAI,QAAQ;GACX,IAAI,UAAU,KAAK;GACnB,IAAI,CAAC,OAAO;IACX,IAAI,QAAQ,IAAI,aAAa,eAAe,iBAAiB,UAAU,QAAQ,YAAY,sBAAsB,IAAI,OAAO,cAAc,uCAAuC,YAAY,wBAAwB,2BAA2B,YAAY,yBAAyB,mCAAmC,YAAY,wBAAwB,mBAAmB,uBAAuB;IACtY;GACD;GACA,IAAI,QAAQ,OAAO,MAAM,OAAO,GAAG;GACnC,UAAU,OAAO,UAAU,OAAO,GAAG,IAAI,KAAK,GAAG,IAAI,IAAI,OAAO,OAAO,WAAW;GAClF,OAAO;EACR;EACA,IAAI,CAAC,YAAY;GAChB,IAAI,QAAQ,IAAI,aAAa,eAAe,iBAAiB,UAAU,QAAQ,YAAY,sBAAsB,IAAI,OAAO,cAAc,uCAAuC,YAAY,wBAAwB,2BAA2B,YAAY,yBAAyB,mCAAmC,YAAY,wBAAwB,mBAAmB,uBAAuB;GACtY;EACD;EACA,IAAI,UAAU,KAAK;GAClB,IAAI,QAAQ,IAAI,aAAa,eAAe,iBAAiB,UAAU,QAAQ,mCAAmC;GAClH;EACD;EACA,IAAI,aAAa,iBAAiB,eAAe,GAAG;GACnD,IAA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AAM,WAAW;AACzB"}
1
+ {"version":3,"file":"directStyle.native.js","names":[],"sources":["esm/helpers/directStyle.native.js"],"sourcesContent":["import { isAndroid, isIos, isTV, isWeb, supportsDynamicColorIOS } from \"@tamagui/constants\";\nimport { StyleObjectIdentifier, StyleObjectRules, nonAnimatableStyleProps, tokenCategories } from \"@tamagui/helpers\";\nimport { canonicalStateModifierNames, isContainerSizeQueryText, isModifierName, modifierKindMedia, modifierKindPlatform, modifierKindState, modifierKindTheme, scanFlatValue, stateModifierSelectors } from \"@tamagui/style-grammar/runtime\";\nimport { isVariable } from \"../createVariable\";\nimport { mediaKeyMatch } from \"../hooks/useMedia\";\nimport { warnOnce, warnRefusedValue } from \"./warnOnce\";\nimport { expandStyle } from \"./expandStyle\";\nimport { getCSSStyleAtomic } from \"./getCSSStylesAtomic\";\nimport { getConfigRevisionState } from \"./grammarConfig\";\nimport { isColorStyleKey } from \"./getDynamicVal\";\nimport { shouldInsertStyleRules, updateRules } from \"./insertStyleRule\";\nimport { normalizeColor } from \"./normalizeColor\";\nimport { parseNativeStyle } from \"./parseNativeStyle.native\";\nimport { parseNativeTransform } from \"./parseNativeTransform.native\";\nimport { getTokenCategoryForProperty, tokenCategoryByProperty } from \"./tokenCategories\";\nimport { resolveSafeAreaVariable } from \"./resolveSafeAreaVariable\";\nimport { expandSafeAreaValue, isSafeAreaKey } from \"./resolveSafeArea\";\nimport { resolveVariableValue } from \"./resolveVariableValue\";\nimport { THEME_REF_PREFIX } from \"./themeRef\";\nimport { transformsToString } from \"./transformsToString\";\n\nfunction _type_of(obj) {\n\t\"@swc/helpers - typeof\";\n\treturn obj && typeof Symbol !== \"undefined\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nvar directStyleHandler = {\n\tsegment(state, start, end, isBase, valid, source, chainStart, chainEnd, chainValid, chainCount, _result, failure, failureIndex, property, merge, originalValue, contextOnly) {\n\t\tif (isBase) {\n\t\t\tif (start === end) return;\n\t\t\tif (!valid) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, failure === \"invalid-character\" ? `\"${source[failureIndex]}\" would end the declaration or rule` : failure === \"unterminated-string\" ? \"an unterminated string\" : failure === \"unterminated-comment\" ? \"an unterminated \\\"/*\\\" comment\" : failure === \"stray-comment-close\" ? \"a stray \\\"*/\\\"\" : \"an unterminated \\\"(\\\"\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar value = source.slice(start, end);\n\t\t\temitValue(state, property, value, 0, \"\", void 0, \"\", \"\", merge, value, contextOnly);\n\t\t\treturn 5;\n\t\t}\n\t\tif (!chainValid) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, failure === \"invalid-character\" ? `\"${source[failureIndex]}\" would end the declaration or rule` : failure === \"unterminated-string\" ? \"an unterminated string\" : failure === \"unterminated-comment\" ? \"an unterminated \\\"/*\\\" comment\" : failure === \"stray-comment-close\" ? \"a stray \\\"*/\\\"\" : \"an unterminated \\\"(\\\"\");\n\t\t\treturn;\n\t\t}\n\t\tif (start === end) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, \"a conditional clause has no value\");\n\t\t\treturn;\n\t\t}\n\t\tif (property === \"aspectRatio\" && chainCount === 1) {\n\t\t\tvar left = Number(source.slice(chainStart, chainEnd));\n\t\t\tvar right = Number(source.slice(start, end));\n\t\t\tif (chainStart < chainEnd && Number.isFinite(left) && left > 0 && Number.isFinite(right) && right > 0) return 12;\n\t\t}\n\t\tvar condition = resolveClauseChain(state, source, chainStart, chainEnd, property, void 0, valid ? merge : void 0, void 0, contextOnly, start, end, 1);\n\t\tif (!condition) return;\n\t\tif (!valid) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, failure === \"invalid-character\" ? `\"${source[failureIndex]}\" would end the declaration or rule` : failure === \"unterminated-string\" ? \"an unterminated string\" : failure === \"unterminated-comment\" ? \"an unterminated \\\"/*\\\" comment\" : failure === \"stray-comment-close\" ? \"a stray \\\"*/\\\"\" : \"an unterminated \\\"(\\\"\");\n\t\t\treturn;\n\t\t}\n\t\treturn 4 | (condition & 12 ? 2 : 0);\n\t},\n\tchain() {\n\t\treturn true;\n\t},\n\tend(state, source, result, lastPayloadStart, chainCount, property, merge, originalValue, contextOnly) {\n\t\tvar hasBase = !!(result & 1);\n\t\tif (result & 8 && chainCount === 1) {\n\t\t\temitValue(state, property, source, 0, \"\", void 0, \"\", \"\", merge, originalValue !== null && originalValue !== void 0 ? originalValue : source, contextOnly);\n\t\t\thasBase = true;\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && !hasBase && result & 4 && (property in tokenCategories.color || property in tokenCategoryByProperty) && splitComponents(source.slice(lastPayloadStart)).length > 1) warnOnce(`${property}=\"${source}\" has multiple values after its first conditional. Write the base value before the first conditional.`);\n\t\tif ((!isWeb || !state.flatShouldDoClasses) && result & 2 && !hasBase) {\n\t\t\tvar value = implicitLifecycleBase(property);\n\t\t\tif (value !== null) emitValue(state, property, value, 0, \"\", void 0, \"\", \"\", merge, value, contextOnly);\n\t\t}\n\t}\n};\nfunction implicitLifecycleBase(property) {\n\treturn property === \"opacity\" || property === \"scale\" || property === \"scaleX\" || property === \"scaleY\" ? 1 : property === \"rotate\" ? \"0deg\" : property === \"x\" || property === \"y\" ? 0 : null;\n}\nvar legacyTransformParts = /* @__PURE__ */ new Set([\n\t\"matrix\",\n\t\"perspective\",\n\t\"rotateX\",\n\t\"rotateY\",\n\t\"rotateZ\",\n\t\"scaleZ\",\n\t\"skewX\",\n\t\"skewY\"\n]);\nvar webShadowParts = /* @__PURE__ */ new Set([\n\t\"shadowColor\",\n\t\"shadowOffset\",\n\t\"shadowOpacity\",\n\t\"shadowRadius\"\n]);\nvar webTextShadowParts = /* @__PURE__ */ new Set([\n\t\"textShadowColor\",\n\t\"textShadowOffset\",\n\t\"textShadowRadius\"\n]);\nvar lineStyles = /* @__PURE__ */ new Set([\n\t\"none\",\n\t\"hidden\",\n\t\"dotted\",\n\t\"dashed\",\n\t\"solid\",\n\t\"double\",\n\t\"groove\",\n\t\"ridge\",\n\t\"inset\",\n\t\"outset\"\n]);\nvar borderTargets = {\n\tborder: {\n\t\twidth: [\n\t\t\t\"borderTopWidth\",\n\t\t\t\"borderRightWidth\",\n\t\t\t\"borderBottomWidth\",\n\t\t\t\"borderLeftWidth\"\n\t\t],\n\t\tstyle: [\n\t\t\t\"borderTopStyle\",\n\t\t\t\"borderRightStyle\",\n\t\t\t\"borderBottomStyle\",\n\t\t\t\"borderLeftStyle\"\n\t\t],\n\t\tcolor: [\n\t\t\t\"borderTopColor\",\n\t\t\t\"borderRightColor\",\n\t\t\t\"borderBottomColor\",\n\t\t\t\"borderLeftColor\"\n\t\t]\n\t},\n\tborderTop: {\n\t\twidth: [\"borderTopWidth\"],\n\t\tstyle: [\"borderTopStyle\"],\n\t\tcolor: [\"borderTopColor\"]\n\t},\n\tborderRight: {\n\t\twidth: [\"borderRightWidth\"],\n\t\tstyle: [\"borderRightStyle\"],\n\t\tcolor: [\"borderRightColor\"]\n\t},\n\tborderBottom: {\n\t\twidth: [\"borderBottomWidth\"],\n\t\tstyle: [\"borderBottomStyle\"],\n\t\tcolor: [\"borderBottomColor\"]\n\t},\n\tborderLeft: {\n\t\twidth: [\"borderLeftWidth\"],\n\t\tstyle: [\"borderLeftStyle\"],\n\t\tcolor: [\"borderLeftColor\"]\n\t},\n\toutline: {\n\t\twidth: [\"outlineWidth\"],\n\t\tstyle: [\"outlineStyle\"],\n\t\tcolor: [\"outlineColor\"]\n\t},\n\tborderBlock: {\n\t\twidth: [\"borderBlockStartWidth\", \"borderBlockEndWidth\"],\n\t\tstyle: [\"borderBlockStartStyle\", \"borderBlockEndStyle\"],\n\t\tcolor: [\"borderBlockStartColor\", \"borderBlockEndColor\"]\n\t},\n\tborderInline: {\n\t\twidth: [\"borderInlineStartWidth\", \"borderInlineEndWidth\"],\n\t\tstyle: [\"borderInlineStartStyle\", \"borderInlineEndStyle\"],\n\t\tcolor: [\"borderInlineStartColor\", \"borderInlineEndColor\"]\n\t}\n};\nvar borderStyleDefaults = {\n\tborderWidth: \"borderStyle\",\n\tborderTopWidth: \"borderTopStyle\",\n\tborderRightWidth: \"borderRightStyle\",\n\tborderBottomWidth: \"borderBottomStyle\",\n\tborderLeftWidth: \"borderLeftStyle\"\n};\nfunction platformMatches(name) {\n\tif (name === \"web\") return isWeb;\n\tif (name === \"native\") return !isWeb;\n\tif (name === \"ios\") return isIos;\n\tif (name === \"android\") return isAndroid;\n\tif (name === \"tvos\") return isIos && isTV;\n\tif (name === \"androidtv\") return isAndroid && isTV;\n\treturn name === \"tv\" && isTV;\n}\nfunction resolveClauseChain(state, source, start, end, property, raw, merge, originalValue) {\n\tvar contextOnly = arguments.length > 8 && arguments[8] !== void 0 ? arguments[8] : false, payloadStart = arguments.length > 9 && arguments[9] !== void 0 ? arguments[9] : -1, payloadEnd = arguments.length > 10 && arguments[10] !== void 0 ? arguments[10] : -1, warning = arguments.length > 11 && arguments[11] !== void 0 ? arguments[11] : 0;\n\tvar compiled = getConfigRevisionState(state.conf);\n\tvar sourceStart = start;\n\tvar key = \"\";\n\tvar active = true;\n\tvar emit = true;\n\tvar selector = \"\";\n\tvar wrappers;\n\tvar theme = \"\";\n\tvar enter = false;\n\tvar exit = false;\n\tvar unsupportedState = \"\";\n\tvar platformRank = 0;\n\tvar depth = 0;\n\tvar categoryRank = 0;\n\tvar withinRank = 0;\n\tvar selfStateSpecificity = 0;\n\tfor (var index = start; index <= end; index++) {\n\t\tif (index !== end && source.charCodeAt(index) !== 58) continue;\n\t\tvar modifier = source.slice(start, index);\n\t\tstart = index + 1;\n\t\tvar code = compiled.modifiers[modifier];\n\t\tvar kind = code & 7;\n\t\tvar rank = code >> 3;\n\t\tvar stateSelector = \"\";\n\t\tvar conditionStateName = \"\";\n\t\tvar groupName = \"\";\n\t\tvar containerSize = \"\";\n\t\tvar containerName = \"\";\n\t\tvar containerQuery = \"\";\n\t\tif (kind === modifierKindState) {\n\t\t\tmodifier = canonicalStateModifierNames[rank];\n\t\t\tstateSelector = stateModifierSelectors[rank];\n\t\t} else if (!kind && modifier.startsWith(\"group-\")) {\n\t\t\tvar slash = modifier.indexOf(\"/\");\n\t\t\tvar authoredState = modifier.slice(6, slash === -1 ? void 0 : slash);\n\t\t\tcode = compiled.modifiers[authoredState];\n\t\t\tif ((code & 7) !== modifierKindState) kind = 0;\n\t\t\telse {\n\t\t\t\trank = code >> 3;\n\t\t\t\tgroupName = slash === -1 ? \"true\" : modifier.slice(slash + 1);\n\t\t\t\tif (rank === 6 || rank === 7 || slash !== -1 && !isModifierName(groupName, 0, groupName.length)) kind = 0;\n\t\t\t\telse {\n\t\t\t\t\tkind = 5;\n\t\t\t\t\tvar stateName = canonicalStateModifierNames[rank];\n\t\t\t\t\tconditionStateName = stateName;\n\t\t\t\t\tstateSelector = stateModifierSelectors[rank];\n\t\t\t\t\tmodifier = `group-${stateName}${slash === -1 ? \"\" : modifier.slice(slash)}`;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (!kind && modifier.charCodeAt(0) === 64) {\n\t\t\tvar slash1 = modifier.indexOf(\"/\");\n\t\t\tcontainerSize = modifier.slice(1, slash1 === -1 ? void 0 : slash1);\n\t\t\tcontainerName = slash1 === -1 ? \"\" : modifier.slice(slash1 + 1);\n\t\t\tif (isModifierName(containerSize, 0, containerSize.length) && (slash1 === -1 || isModifierName(containerName, 0, containerName.length)) && ((code = compiled.modifiers[containerSize]) & 7) === modifierKindMedia && (containerQuery = compiled.mediaQueries[containerSize]) && isContainerSizeQueryText(containerQuery)) {\n\t\t\t\tkind = 6;\n\t\t\t\trank = code >> 3;\n\t\t\t}\n\t\t}\n\t\tif (!kind) {\n\t\t\tif (warning && process.env.NODE_ENV === \"development\") warnRefusedValue(property, warning === 1 ? source : raw, `unknown modifier \"${source.slice(sourceStart, end)}\"`);\n\t\t\treturn 0;\n\t\t}\n\t\tvar slotStart = 0;\n\t\tvar duplicate = false;\n\t\tvar inserted = !key;\n\t\tif (!key) key = modifier;\n\t\telse {\n\t\t\twhile (slotStart <= key.length) {\n\t\t\t\tvar slotEnd = key.indexOf(\":\", slotStart);\n\t\t\t\tif (slotEnd === -1) slotEnd = key.length;\n\t\t\t\tvar order = 0;\n\t\t\t\tvar compareLength = Math.min(modifier.length, slotEnd - slotStart);\n\t\t\t\tfor (var offset = 0; offset < compareLength; offset++) {\n\t\t\t\t\torder = modifier.charCodeAt(offset) - key.charCodeAt(slotStart + offset);\n\t\t\t\t\tif (order) break;\n\t\t\t\t}\n\t\t\t\torder || (order = modifier.length - (slotEnd - slotStart));\n\t\t\t\tif (!order) {\n\t\t\t\t\tduplicate = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (order < 0) {\n\t\t\t\t\tkey = `${key.slice(0, slotStart)}${modifier}:${key.slice(slotStart)}`;\n\t\t\t\t\tinserted = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (slotEnd === key.length) break;\n\t\t\t\tslotStart = slotEnd + 1;\n\t\t\t}\n\t\t\tif (!duplicate && !inserted) key += `:${modifier}`;\n\t\t}\n\t\tif (duplicate) continue;\n\t\tif (kind === modifierKindPlatform) {\n\t\t\tif (rank > platformRank) platformRank = rank;\n\t\t\tvar matches = platformMatches(modifier);\n\t\t\tactive && (active = matches);\n\t\t\temit && (emit = matches);\n\t\t\tcontinue;\n\t\t}\n\t\tdepth++;\n\t\tvar nextCategory = kind === modifierKindMedia ? 0 : kind === 6 ? 1 : kind === modifierKindTheme ? 2 : kind === 5 ? 3 : 4;\n\t\tif (nextCategory > categoryRank) {\n\t\t\tcategoryRank = nextCategory;\n\t\t\twithinRank = rank;\n\t\t} else if (nextCategory === categoryRank && rank > withinRank) withinRank = rank;\n\t\tif (kind === modifierKindMedia) {\n\t\t\tvar _state_flatMediaState;\n\t\t\tvar _state;\n\t\t\tvar query = compiled.mediaQueries[modifier];\n\t\t\tif (!query) return 0;\n\t\t\t(wrappers || (wrappers = [])).push(`@media ${query}`);\n\t\t\tactive && (active = !!((_state_flatMediaState = state.flatMediaState) === null || _state_flatMediaState === void 0 ? void 0 : _state_flatMediaState[modifier]));\n\t\t\t((_state = state).flatMediaKeys || (_state.flatMediaKeys = /* @__PURE__ */ new Set())).add(modifier);\n\t\t} else if (kind === modifierKindTheme) {\n\t\t\tvar _state_flatThemeName;\n\t\t\ttheme = modifier;\n\t\t\tselector += `:where(.t_${modifier}, .t_${modifier} *)`;\n\t\t\tactive && (active = state.flatThemeName === modifier || ((_state_flatThemeName = state.flatThemeName) === null || _state_flatThemeName === void 0 ? void 0 : _state_flatThemeName.startsWith(`${modifier}_`)) === true);\n\t\t} else if (kind === 5) {\n\t\t\tvar _state_componentState_group, _state_flatGroupContext, _this;\n\t\t\tvar _state1;\n\t\t\tselector += `:where(.t_group_${groupName}${stateSelector} *)`;\n\t\t\tif (rank === 0) (wrappers || (wrappers = [])).push(\"@media (hover: hover)\");\n\t\t\tvar component = (_state_componentState_group = state.componentState.group) === null || _state_componentState_group === void 0 ? void 0 : _state_componentState_group[groupName];\n\t\t\tvar context = (_state_flatGroupContext = state.flatGroupContext) === null || _state_flatGroupContext === void 0 ? void 0 : _state_flatGroupContext[groupName];\n\t\t\tvar _component_pseudo;\n\t\t\tactive && (active = !!((_this = (_component_pseudo = component === null || component === void 0 ? void 0 : component.pseudo) !== null && _component_pseudo !== void 0 ? _component_pseudo : context === null || context === void 0 ? void 0 : context.state.pseudo) === null || _this === void 0 ? void 0 : _this[conditionStateName]));\n\t\t\t((_state1 = state).flatGroupKeys || (_state1.flatGroupKeys = /* @__PURE__ */ new Set())).add(groupName);\n\t\t} else if (kind === 6) {\n\t\t\tvar _state_componentState_group1, _state_flatGroupContext1, _component_media;\n\t\t\tvar _state2, _state3;\n\t\t\tvar groupKey = `@${containerName}`;\n\t\t\t(wrappers || (wrappers = [])).push(containerName ? `@container ${containerName} ${containerQuery}` : `@container ${containerQuery}`);\n\t\t\tvar component1 = (_state_componentState_group1 = state.componentState.group) === null || _state_componentState_group1 === void 0 ? void 0 : _state_componentState_group1[groupKey];\n\t\t\tvar context1 = (_state_flatGroupContext1 = state.flatGroupContext) === null || _state_flatGroupContext1 === void 0 ? void 0 : _state_flatGroupContext1[groupKey];\n\t\t\tvar match = component1 === null || component1 === void 0 ? void 0 : (_component_media = component1.media) === null || _component_media === void 0 ? void 0 : _component_media[containerSize];\n\t\t\tactive && (active = match === void 0 ? !!((context1 === null || context1 === void 0 ? void 0 : context1.state.layout) && mediaKeyMatch(containerSize, context1.state.layout)) : !!match);\n\t\t\t((_state2 = state).flatGroupKeys || (_state2.flatGroupKeys = /* @__PURE__ */ new Set())).add(groupKey);\n\t\t\t((_state3 = state).flatGroupMedia || (_state3.flatGroupMedia = /* @__PURE__ */ new Set())).add(containerSize);\n\t\t} else {\n\t\t\tselfStateSpecificity++;\n\t\t\tif (!isWeb && stateSelector[0] === \"[\" && modifier !== \"disabled\") unsupportedState = modifier;\n\t\t\tif (stateSelector[0] === \".\") {\n\t\t\t\tselector += `:is(${stateSelector}, ${stateSelector} *)`;\n\t\t\t\tif (rank === 6) enter = true;\n\t\t\t\telse exit = true;\n\t\t\t} else selector += stateSelector;\n\t\t\tif (rank === 0) (wrappers || (wrappers = [])).push(\"@media (hover: hover)\");\n\t\t\tvar component2 = state.componentState;\n\t\t\tactive && (active = rank === 0 ? !!component2.hover : rank === 4 ? !!(component2.press || component2.pressIn) : rank === 2 ? !!component2.focus : rank === 3 ? !!component2.focusVisible : rank === 1 ? !!component2.focusWithin : rank === 5 ? !!(component2.disabled || state.props.disabled) : rank === 6 ? !!component2.unmounted : rank === 7 ? !!state.styleProps.isExiting : false);\n\t\t\tif (stateSelector[0] === \":\") {\n\t\t\t\tvar _state4;\n\t\t\t\t((_state4 = state).flatStateKeys || (_state4.flatStateKeys = /* @__PURE__ */ new Set())).add(modifier);\n\t\t\t}\n\t\t}\n\t}\n\tif (depth > 5) throw new Error(`a flat value clause supports at most 5 non-platform conditions; received ${depth} in \"${source.slice(sourceStart, end)}:\"`);\n\tvar condition = (platformRank << 26 | depth << 23 | categoryRank << 20 | withinRank) * 256 + selfStateSpecificity * 32 + 16 + (active ? 1 : 0) + (emit ? 2 : 0) + (enter ? 4 : 0) + (exit ? 8 : 0);\n\tif (warning && unsupportedState && process.env.NODE_ENV === \"development\") warnOnce(`${property}: \"${unsupportedState}:\" has no native component-state source; dropping the clause`);\n\tif (merge && property && condition & 2 && (condition & 1 || isWeb && state.flatShouldDoClasses || warning === 1 && !isWeb && theme && supportsDynamicColorIOS && isColorStyleKey(property))) {\n\t\tvar value = payloadStart === -1 ? raw : source.slice(payloadStart, payloadEnd);\n\t\temitValue(state, property, value, condition, key, wrappers, selector, theme, merge, warning === 2 ? originalValue : originalValue !== null && originalValue !== void 0 ? originalValue : value, contextOnly);\n\t}\n\treturn condition;\n}\nvar tokenLookup = {\n\tvalue: void 0,\n\tfromTheme: false,\n\tthemeKey: \"\"\n};\nfunction fillTokenLookup(value, fromTheme, themeKey) {\n\ttokenLookup.value = value;\n\ttokenLookup.fromTheme = fromTheme;\n\ttokenLookup.themeKey = themeKey;\n\treturn tokenLookup;\n}\nfunction tokenVariable(state, property, name) {\n\tvar _state_theme, _state_conf_themes_, _state_conf_themes, _state_conf_tokensParsed_space, _state_conf_tokensParsed_color;\n\tvar lookupName = name.charCodeAt(0) === 36 ? name.slice(1) : name;\n\tif (property === \"fontFamily\") {\n\t\tvar _state_conf_fontsParsed_lookupName;\n\t\tvar family = (_state_conf_fontsParsed_lookupName = state.conf.fontsParsed[lookupName]) === null || _state_conf_fontsParsed_lookupName === void 0 ? void 0 : _state_conf_fontsParsed_lookupName.family;\n\t\treturn family ? fillTokenLookup(family, false, lookupName) : void 0;\n\t}\n\tvar fontKey = property === \"fontSize\" ? \"size\" : property === \"fontWeight\" ? \"weight\" : property === \"lineHeight\" || property === \"letterSpacing\" ? property : void 0;\n\tif (fontKey) {\n\t\tvar _font_fontKey;\n\t\tvar font = state.conf.fontsParsed[state.fontFamily || state.conf.defaultFontToken] || state.conf.fontsParsed[state.conf.defaultFontToken];\n\t\tvar value = font === null || font === void 0 ? void 0 : (_font_fontKey = font[fontKey]) === null || _font_fontKey === void 0 ? void 0 : _font_fontKey[lookupName];\n\t\treturn value ? fillTokenLookup(value, false, lookupName) : void 0;\n\t}\n\tvar category = getTokenCategoryForProperty(property);\n\tvar dot = lookupName.indexOf(\".\");\n\tif (dot !== -1) {\n\t\tvar prefix = lookupName.slice(0, dot);\n\t\tif (!category || prefix === category || prefix === \"color\") lookupName = lookupName.slice(dot + 1);\n\t}\n\tif (category) {\n\t\tvar _state_conf_tokensParsed_category;\n\t\tvar own = (_state_conf_tokensParsed_category = state.conf.tokensParsed[category]) === null || _state_conf_tokensParsed_category === void 0 ? void 0 : _state_conf_tokensParsed_category[lookupName];\n\t\tif (own) return fillTokenLookup(own, false, lookupName);\n\t\tfor (var _i = 0, _iter = [\n\t\t\t\"color\",\n\t\t\t\"space\",\n\t\t\t\"size\",\n\t\t\t\"radius\",\n\t\t\t\"zIndex\"\n\t\t]; _i < _iter.length; _i++) {\n\t\t\tvar sibling = _iter[_i];\n\t\t\tvar _state_conf_tokensParsed_sibling;\n\t\t\tif (sibling !== category && ((_state_conf_tokensParsed_sibling = state.conf.tokensParsed[sibling]) === null || _state_conf_tokensParsed_sibling === void 0 ? void 0 : _state_conf_tokensParsed_sibling[lookupName])) return;\n\t\t}\n\t} else {\n\t\tvar first = lookupName.charCodeAt(0);\n\t\tif (first >= 48 && first <= 57 || first === 43 || first === 45 || first === 46) return;\n\t}\n\tvar theme = ((_state_theme = state.theme) === null || _state_theme === void 0 ? void 0 : _state_theme[lookupName]) || ((_state_conf_themes = state.conf.themes) === null || _state_conf_themes === void 0 ? void 0 : (_state_conf_themes_ = _state_conf_themes[state.flatThemeName || \"\"]) === null || _state_conf_themes_ === void 0 ? void 0 : _state_conf_themes_[lookupName]);\n\tif (theme) return fillTokenLookup(theme, true, lookupName);\n\tif (category) return;\n\tvar token = ((_state_conf_tokensParsed_space = state.conf.tokensParsed.space) === null || _state_conf_tokensParsed_space === void 0 ? void 0 : _state_conf_tokensParsed_space[lookupName]) || ((_state_conf_tokensParsed_color = state.conf.tokensParsed.color) === null || _state_conf_tokensParsed_color === void 0 ? void 0 : _state_conf_tokensParsed_color[lookupName]);\n\treturn token ? fillTokenLookup(token, false, lookupName) : void 0;\n}\nfunction configuredValue(state, property, raw) {\n\tvar name = raw;\n\tvar opacity;\n\tvar slash = raw.lastIndexOf(\"/\");\n\tif (slash > 0) {\n\t\tvar amount = Number(raw.slice(slash + 1));\n\t\tif (Number.isInteger(amount) && amount >= 0 && amount <= 100) {\n\t\t\tname = raw.slice(0, slash);\n\t\t\topacity = amount;\n\t\t}\n\t}\n\tvar safeArea = resolveSafeAreaVariable(name);\n\tif (safeArea !== void 0) {\n\t\tstate.flatUsesSafeArea = true;\n\t\treturn safeArea;\n\t}\n\tvar lookup = tokenVariable(state, property, name);\n\tif (!lookup || !isVariable(lookup.value)) {\n\t\tvar _state_conf_tokensParsed_color;\n\t\tif (process.env.NODE_ENV === \"development\" && tokenCategoryByProperty[property] && ((_state_conf_tokensParsed_color = state.conf.tokensParsed.color) === null || _state_conf_tokensParsed_color === void 0 ? void 0 : _state_conf_tokensParsed_color[name])) warnOnce(`\"${name}\" contributes to \"color\", not \"${property}\"; keeping it literal`);\n\t\treturn raw;\n\t}\n\tvar resolveValues = isWeb && !state.flatShouldDoClasses && state.styleProps.resolveValues === \"auto\" ? \"value\" : state.styleProps.resolveValues;\n\tif (resolveValues === \"except-theme\" && lookup.fromTheme) return `${THEME_REF_PREFIX}${lookup.themeKey}${opacity !== void 0 ? `/${opacity}` : \"\"}`;\n\tvar value = resolveVariableValue(property, lookup.value, resolveValues);\n\tif (opacity !== void 0) value = isWeb ? `color-mix(in srgb, ${value} ${opacity}%, transparent)` : normalizeColor(value, opacity / 100);\n\treturn value;\n}\nvar letterFreeCallPattern = /^[A-Za-z-]+\\([^A-Za-z]*\\)$/;\nfunction resolveEmbeddedTokens(state, property, raw) {\n\tif (letterFreeCallPattern.test(raw)) return raw;\n\treturn raw.replace(/[$A-Za-z_][\\w.$-]*(?:\\/\\d+)?/g, function(word, index) {\n\t\tif (word.charCodeAt(0) !== 36) {\n\t\t\tvar before = raw.charCodeAt(index - 1);\n\t\t\tif (before >= 48 && before <= 57 || before === 35 || before === 45 && raw.charCodeAt(index - 2) === 45 || raw.charCodeAt(index + word.length) === 40) return word;\n\t\t}\n\t\tvar value = configuredValue(state, property, word);\n\t\treturn value === word ? word : String(value);\n\t});\n}\nfunction normalizeTransitionNames(state, raw) {\n\tvar quote = 0;\n\tvar depth = 0;\n\tvar copyFrom = 0;\n\tvar out = \"\";\n\tfor (var index = 0; index < raw.length; index++) {\n\t\tvar code = raw.charCodeAt(index);\n\t\tif (quote) {\n\t\t\tif (code === 92) index++;\n\t\t\telse if (code === quote) quote = 0;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 34 || code === 39) {\n\t\t\tquote = code;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 40) {\n\t\t\tdepth++;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 41) {\n\t\t\tdepth--;\n\t\t\tcontinue;\n\t\t}\n\t\tif (depth || !(code >= 65 && code <= 90 || code >= 97 && code <= 122 || code === 95) || index > 1 && raw.charCodeAt(index - 1) === 45 && raw.charCodeAt(index - 2) === 45) continue;\n\t\tvar end = index + 1;\n\t\twhile (end < raw.length) {\n\t\t\tvar next = raw.charCodeAt(end);\n\t\t\tif (next >= 48 && next <= 57 || next >= 65 && next <= 90 || next >= 97 && next <= 122 || next === 45 || next === 95) end++;\n\t\t\telse break;\n\t\t}\n\t\tif (raw.charCodeAt(end) !== 40) {\n\t\t\tvar authored = raw.slice(index, end);\n\t\t\tvar property = state.conf.shorthands[authored] || authored;\n\t\t\tif (property === \"x\" || property === \"y\") property = \"translate\";\n\t\t\telse if (property === \"scaleX\" || property === \"scaleY\") property = \"scale\";\n\t\t\telse if (legacyTransformParts.has(property)) property = \"transform\";\n\t\t\tif (property !== authored || /[A-Z]/.test(property)) {\n\t\t\t\tout += raw.slice(copyFrom, index);\n\t\t\t\tout += property.replace(/[A-Z]/g, function(letter) {\n\t\t\t\t\treturn `-${letter.toLowerCase()}`;\n\t\t\t\t});\n\t\t\t\tcopyFrom = end;\n\t\t\t}\n\t\t}\n\t\tindex = end - 1;\n\t}\n\treturn copyFrom ? out + raw.slice(copyFrom) : raw;\n}\nfunction directStyleSignature(property, value) {\n\treturn `\u001f${property}\u001f${arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : \"\"}\u001e${String(value)}`;\n}\nfunction directAtomic(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector) {\n\tvar isDefault = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : false;\n\tvar _state;\n\tvar atomics = (_state = state).flatAtomics || (_state.flatAtomics = {});\n\tvar atomicKey = property.startsWith(\"transition\") ? \"transition\" : property;\n\tvar existing = atomics[atomicKey];\n\tvar contribution = directStyleSignature(property, value, conditionKey);\n\tvar signature = existing ? existing.signature + contribution : contribution;\n\tvar next = getCSSStyleAtomic(property, value, conditionSelector, conditionWrappers, signature, 2, atomicKey, condition ? 1 + (Math.floor(condition / 256) >>> 23 & 7) + (Math.floor(condition / 256) >>> 26) * 6 - (condition >>> 5 & 7) : void 0);\n\tif (!next) return;\n\tvar identifier = next[StyleObjectIdentifier];\n\tvar nextRules = next[StyleObjectRules];\n\tvar slotted = condition || atomicKey === \"transition\";\n\tif (!existing) {\n\t\tvar atomic = {\n\t\t\tbaseRules: slotted ? 0 : nextRules.length,\n\t\t\tconditions: void 0,\n\t\t\tsignature,\n\t\t\tstyleObject: next\n\t\t};\n\t\tif (slotted) atomic.conditions = { [atomicKey === \"transition\" ? `${conditionKey}\\0${property}` : conditionKey]: {\n\t\t\tcount: nextRules.length,\n\t\t\tindex: 0,\n\t\t\tprecedence: condition ? Math.floor(condition / 256) : 0,\n\t\t\tdefault: isDefault\n\t\t} };\n\t\tatomics[atomicKey] = atomic;\n\t} else {\n\t\tvar previousIdentifier = existing.styleObject[StyleObjectIdentifier];\n\t\tvar rules = existing.styleObject[StyleObjectRules].slice();\n\t\texisting.styleObject[StyleObjectRules] = rules;\n\t\tif (!condition && !isDefault && existing.conditions) for (var key in existing.conditions) {\n\t\t\tvar entry = existing.conditions[key];\n\t\t\tif (!entry.default) continue;\n\t\t\trules.splice(entry.index, entry.count);\n\t\t\tdelete existing.conditions[key];\n\t\t\tfor (var otherKey in existing.conditions) {\n\t\t\t\tvar other = existing.conditions[otherKey];\n\t\t\t\tif (other.index > entry.index) other.index -= entry.count;\n\t\t\t}\n\t\t}\n\t\tif (previousIdentifier !== identifier) {\n\t\t\tvar oldSelector = `.${previousIdentifier}`;\n\t\t\tvar newSelector = `.${identifier}`;\n\t\t\tfor (var index = 0; index < rules.length; index++) rules[index] = rules[index].replaceAll(oldSelector, newSelector);\n\t\t}\n\t\tif (slotted) {\n\t\t\tvar _existing_conditions;\n\t\t\tvar _existing;\n\t\t\tvar slot = atomicKey === \"transition\" ? `${conditionKey}\\0${property}` : conditionKey;\n\t\t\tvar previous = (_existing_conditions = existing.conditions) === null || _existing_conditions === void 0 ? void 0 : _existing_conditions[slot];\n\t\t\tif (previous) {\n\t\t\t\trules.splice(previous.index, previous.count);\n\t\t\t\tif (existing.conditions) for (var key1 in existing.conditions) {\n\t\t\t\t\tvar entry1 = existing.conditions[key1];\n\t\t\t\t\tif (entry1 !== previous && entry1.index > previous.index) entry1.index -= previous.count;\n\t\t\t\t}\n\t\t\t\tdelete existing.conditions[slot];\n\t\t\t}\n\t\t\tvar precedence = condition ? Math.floor(condition / 256) : 0;\n\t\t\tvar insertionIndex = rules.length;\n\t\t\tif (existing.conditions) {\n\t\t\t\tfor (var key2 in existing.conditions) {\n\t\t\t\t\tvar entry2 = existing.conditions[key2];\n\t\t\t\t\tif (entry2.precedence > precedence && entry2.index < insertionIndex) insertionIndex = entry2.index;\n\t\t\t\t}\n\t\t\t\tfor (var key3 in existing.conditions) {\n\t\t\t\t\tvar entry3 = existing.conditions[key3];\n\t\t\t\t\tif (entry3.index >= insertionIndex) entry3.index += nextRules.length;\n\t\t\t\t}\n\t\t\t}\n\t\t\t((_existing = existing).conditions || (_existing.conditions = {}))[slot] = {\n\t\t\t\tcount: nextRules.length,\n\t\t\t\tindex: insertionIndex,\n\t\t\t\tprecedence,\n\t\t\t\tdefault: isDefault\n\t\t\t};\n\t\t\trules.splice(insertionIndex, 0, ...nextRules);\n\t\t} else {\n\t\t\tvar difference = nextRules.length - existing.baseRules;\n\t\t\trules.splice(0, existing.baseRules, ...nextRules);\n\t\t\tif (difference && existing.conditions) for (var key4 in existing.conditions) existing.conditions[key4].index += difference;\n\t\t\texisting.baseRules = nextRules.length;\n\t\t}\n\t\texisting.signature = signature;\n\t\texisting.styleObject[StyleObjectIdentifier] = identifier;\n\t\texisting.styleObject[1] = next[1];\n\t}\n\tstate.classNames[atomicKey] = identifier;\n}\nfunction emitBorderStyleDefault(state, property, condition, conditionKey, conditionWrappers, conditionSelector) {\n\tvar _state_flatAtomics, _atomic_conditions;\n\tif (!isWeb || !state.flatShouldDoClasses || state.styleProps.noNormalize === false) return;\n\tvar target = borderStyleDefaults[property];\n\tif (!target) return;\n\tvar atomic = (_state_flatAtomics = state.flatAtomics) === null || _state_flatAtomics === void 0 ? void 0 : _state_flatAtomics[target];\n\tif ((atomic === null || atomic === void 0 ? void 0 : atomic.baseRules) || state.classNames[target] && !atomic || condition && (atomic === null || atomic === void 0 ? void 0 : (_atomic_conditions = atomic.conditions) === null || _atomic_conditions === void 0 ? void 0 : _atomic_conditions[conditionKey])) return;\n\tdirectAtomic(state, target, \"solid\", condition, conditionKey, conditionWrappers, conditionSelector, true);\n}\nfunction flushDirectStyles(state) {\n\tvar clear = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;\n\tvar direct = state;\n\tvar atomics = direct.flatAtomics;\n\tif (!atomics) return;\n\tfor (var property in atomics) {\n\t\tvar styleObject = atomics[property].styleObject;\n\t\tvar identifier = styleObject[StyleObjectIdentifier];\n\t\tif (shouldInsertStyleRules(identifier)) {\n\t\t\tvar rules = styleObject[StyleObjectRules].slice();\n\t\t\tstyleObject[StyleObjectRules] = rules;\n\t\t\tupdateRules(identifier, rules);\n\t\t\tstate.flatRulesToInsert[identifier] = styleObject;\n\t\t}\n\t}\n\tif (clear) direct.flatAtomics = void 0;\n}\nfunction getDirectDynamicThemeAccess(state) {\n\treturn state.flatDynamicThemeAccess;\n}\nfunction emitProperty(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tvar _state_animationDriver, _state_flatActiveConditions;\n\tvar _state, _state1;\n\tvar direct = state;\n\tif (condition & 4) ((_state = state).flatEnterKeys || (_state.flatEnterKeys = /* @__PURE__ */ new Set())).add(property);\n\tif (condition & 8) ((_state1 = state).flatExitKeys || (_state1.flatExitKeys = /* @__PURE__ */ new Set())).add(property);\n\tif (!isWeb && conditionTheme) {\n\t\tif (supportsDynamicColorIOS && isColorStyleKey(property)) {\n\t\t\tvar _direct, _ref, _property;\n\t\t\tvar schemes = (_ref = (_direct = direct).flatDynamicColors || (_direct.flatDynamicColors = {}))[_property = property] || (_ref[_property] = {});\n\t\t\tschemes[conditionTheme] = typeof originalValue === \"string\" && /^[a-z]+$/i.test(originalValue) ? originalValue : value;\n\t\t\tmerge(state, property, { dynamic: { ...schemes } }, 1, false, originalValue);\n\t\t\treturn;\n\t\t}\n\t\tdirect.flatDynamicThemeAccess = true;\n\t}\n\tif (contextOnly) {\n\t\tif (!condition || condition & 1) {\n\t\t\tvar _state2;\n\t\t\t((_state2 = state).overriddenContextProps || (_state2.overriddenContextProps = {}))[property] = originalValue;\n\t\t}\n\t\treturn;\n\t}\n\tvar shouldPromoteAnimatedStyle = isWeb && !condition && !state.flatShouldDoClasses && !state.styleProps.noMergeStyle && state.styleProps.isAnimated && !((_state_animationDriver = state.animationDriver) === null || _state_animationDriver === void 0 ? void 0 : _state_animationDriver.isReactNative) && property in nonAnimatableStyleProps;\n\tif (isWeb && (state.flatShouldDoClasses || shouldPromoteAnimatedStyle)) {\n\t\tif (!condition) {\n\t\t\tif (state.style) delete state.style[property];\n\t\t}\n\t\tdirectAtomic(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector);\n\t\treturn;\n\t}\n\tif (condition) {\n\t\tvar _direct_flatPrecedence;\n\t\tvar _direct1, _state3;\n\t\tif (!(condition & 1)) return;\n\t\tvar precedence = Math.floor(condition / 256);\n\t\tvar previous = (_direct_flatPrecedence = direct.flatPrecedence) === null || _direct_flatPrecedence === void 0 ? void 0 : _direct_flatPrecedence[property];\n\t\tif (previous !== void 0 && precedence < previous) return;\n\t\t((_direct1 = direct).flatPrecedence || (_direct1.flatPrecedence = {}))[property] = precedence;\n\t\t((_state3 = state).flatActiveConditions || (_state3.flatActiveConditions = {}))[property] = true;\n\t} else if ((_state_flatActiveConditions = state.flatActiveConditions) === null || _state_flatActiveConditions === void 0 ? void 0 : _state_flatActiveConditions[property]) return;\n\tmerge(state, property, value, 1, true, originalValue);\n}\nfunction splitComponents(value) {\n\tvar parts = [];\n\tvar start = 0;\n\tvar quote = 0;\n\tvar depth = 0;\n\tfor (var index = 0; index <= value.length; index++) {\n\t\tvar code = index === value.length ? 32 : value.charCodeAt(index);\n\t\tif (quote) {\n\t\t\tif (code === 92) index++;\n\t\t\telse if (code === quote) quote = 0;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 34 || code === 39) quote = code;\n\t\telse if (code === 40) depth++;\n\t\telse if (code === 41) depth--;\n\t\telse if (!depth && code <= 32) {\n\t\t\tif (index > start) parts.push(value.slice(start, index));\n\t\t\tstart = index + 1;\n\t\t}\n\t}\n\treturn parts;\n}\nfunction emitBorder(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tif (!isWeb && (property === \"borderBlock\" || property === \"borderInline\")) {\n\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`RN has no logical border shorthand \"${property}\"; dropping it`);\n\t\treturn;\n\t}\n\tvar targets = borderTargets[property];\n\tvar width;\n\tvar style;\n\tvar color;\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = splitComponents(raw)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar part = _step.value;\n\t\t\tvar lower = part.toLowerCase();\n\t\t\tif (lineStyles.has(lower) || property === \"outline\" && lower === \"auto\") style = part;\n\t\t\telse if (lower === \"thin\" || lower === \"medium\" || lower === \"thick\" || /^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:[a-z%]+)?$/i.test(part) || /^(?:calc|var|min|max|clamp)\\(/i.test(part)) width = part;\n\t\t\telse color = part;\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 (style === \"none\" && width === void 0) width = \"0\";\n\tif (width !== void 0) {\n\t\tvar _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator1 = targets.width[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {\n\t\t\t\tvar target = _step1.value;\n\t\t\t\temitResolved(state, target, width, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\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 (style !== void 0) {\n\t\tvar styleTargets = !isWeb && property === \"border\" ? [\"borderStyle\"] : targets.style;\n\t\tvar _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator2 = styleTargets[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n\t\t\t\tvar target1 = _step2.value;\n\t\t\t\temitProperty(state, target1, style, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\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\tif (color !== void 0) {\n\t\tvar _iteratorNormalCompletion3 = true, _didIteratorError3 = false, _iteratorError3 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator3 = targets.color[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n\t\t\t\tvar target2 = _step3.value;\n\t\t\t\temitResolved(state, target2, color, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\t}\n\t\t} catch (err) {\n\t\t\t_didIteratorError3 = true;\n\t\t\t_iteratorError3 = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion3 && _iterator3.return != null) _iterator3.return();\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError3) throw _iteratorError3;\n\t\t\t}\n\t\t}\n\t}\n}\nfunction emitTextDecoration(state, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = splitComponents(raw)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar part = _step.value;\n\t\t\temitResolved(state, part === \"solid\" || part === \"double\" || part === \"dotted\" || part === \"dashed\" || part === \"wavy\" ? \"textDecorationStyle\" : part === \"underline\" || part === \"overline\" || part === \"line-through\" || part === \"none\" ? \"textDecorationLine\" : \"textDecorationColor\", part, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\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}\nfunction addComposition(state, property) {\n\tif (state.classNames[property]) return;\n\tvar value = property === \"translate\" ? \"var(--t-x, 0px) var(--t-y, 0px)\" : \"var(--t-scale-x, 1) var(--t-scale-y, 1)\";\n\tvar defaults = property === \"translate\" ? \"--t-x:0px;--t-y:0px\" : \"--t-scale-x:1;--t-scale-y:1\";\n\tvar styleObject = getCSSStyleAtomic(property, value, \"\", void 0, void 0, true);\n\tvar identifier = styleObject[StyleObjectIdentifier];\n\tstyleObject[StyleObjectRules].unshift(`:where(.${identifier}){${defaults}}`);\n\tif (shouldInsertStyleRules(identifier)) {\n\t\tupdateRules(identifier, styleObject[StyleObjectRules]);\n\t\tstate.flatRulesToInsert[identifier] = styleObject;\n\t}\n\tstate.classNames[property] = identifier;\n}\nfunction emitTransform(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tif (!isWeb || !state.flatShouldDoClasses) {\n\t\tif (!isWeb && property === \"scale\") {\n\t\t\temitProperty(state, \"scaleX\", value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\temitProperty(state, \"scaleY\", value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t} else emitProperty(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tvar targets = property === \"scale\" ? [\"--t-scale-x\", \"--t-scale-y\"] : [property === \"x\" ? \"--t-x\" : property === \"y\" ? \"--t-y\" : property === \"scaleX\" ? \"--t-scale-x\" : property === \"scaleY\" ? \"--t-scale-y\" : \"rotate\"];\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = targets[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar target = _step.value;\n\t\t\tvar targetValue = value;\n\t\t\tif (typeof targetValue === \"number\") {\n\t\t\t\tif (target === \"--t-x\" || target === \"--t-y\") targetValue = `${targetValue}px`;\n\t\t\t\telse if (target === \"rotate\") targetValue = `${targetValue}deg`;\n\t\t\t}\n\t\t\temitProperty(state, target, targetValue, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\tif (target === \"--t-x\" || target === \"--t-y\") addComposition(state, \"translate\");\n\t\t\telse if (target.startsWith(\"--t-scale\")) addComposition(state, \"scale\");\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}\nfunction emitResolved(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tvar value = configuredValue(state, property, raw);\n\tif (value === raw && /[\\s,(]/.test(raw)) value = resolveEmbeddedTokens(state, property, raw);\n\tif ((!isWeb || !state.flatShouldDoClasses) && typeof value === \"string\") {\n\t\tif (/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:px|dp)$/i.test(value)) value = Number.parseFloat(value);\n\t\telse if (value !== \"\" && Number.isFinite(Number(value))) value = Number(value);\n\t}\n\temitProperty(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n}\nfunction shadowUnit(part) {\n\treturn typeof part === \"number\" ? `${part}px` : part || \"0px\";\n}\nfunction emitWebShadow(state, property, value, merge, originalValue, contextOnly) {\n\tvar _state;\n\tvar shadow = (_state = state).flatWebShadow || (_state.flatWebShadow = {});\n\tshadow[property] = value;\n\tvar offset = shadow.shadowOffset || {\n\t\twidth: 0,\n\t\theight: 0\n\t};\n\tvar _shadow_shadowOpacity;\n\tvar color = normalizeColor(shadow.shadowColor, (_shadow_shadowOpacity = shadow.shadowOpacity) !== null && _shadow_shadowOpacity !== void 0 ? _shadow_shadowOpacity : 1);\n\tif (!color) return;\n\tvar next = `${shadowUnit(offset.width)} ${shadowUnit(offset.height)} ${shadowUnit(shadow.shadowRadius)} ${color}`;\n\temitProperty(state, \"boxShadow\", state.flatBoxShadow ? `${state.flatBoxShadow}, ${next}` : next, 0, \"\", void 0, \"\", \"\", merge, originalValue, contextOnly);\n}\nfunction emitWebTextShadow(state, property, value, merge, originalValue, contextOnly) {\n\tvar _state;\n\tvar shadow = (_state = state).flatTextShadow || (_state.flatTextShadow = {});\n\tshadow[property] = value;\n\tvar offset = shadow.textShadowOffset || {\n\t\twidth: 0,\n\t\theight: 0\n\t};\n\tif (!shadow.textShadowColor) return;\n\temitProperty(state, \"textShadow\", `${shadowUnit(offset.width)} ${shadowUnit(offset.height)} ${shadowUnit(shadow.textShadowRadius)} ${shadow.textShadowColor}`, 0, \"\", void 0, \"\", \"\", merge, originalValue, contextOnly);\n}\nfunction emitValue(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tif (typeof raw === \"string\") raw = raw.trim();\n\tif (isVariable(raw)) raw = resolveVariableValue(property, raw, isWeb && !state.flatShouldDoClasses && state.styleProps.resolveValues === \"auto\" ? \"value\" : state.styleProps.resolveValues);\n\temitBorderStyleDefault(state, property, condition, conditionKey, conditionWrappers, conditionSelector);\n\tif (typeof raw === \"string\" && (property === \"transition\" || property === \"transitionProperty\")) raw = normalizeTransitionNames(state, raw);\n\tif (legacyTransformParts.has(property)) {\n\t\tif (isWeb && state.flatShouldDoClasses && state.classNames.transform) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`legacy transform part \"${property}\" is dropped because \"transform\" owns the property`);\n\t\t\treturn;\n\t\t}\n\t\tvar value = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif (isWeb && state.flatShouldDoClasses && !condition) {\n\t\t\tvar _direct;\n\t\t\tvar direct = state;\n\t\t\t((_direct = direct).flatLegacyTransforms || (_direct.flatLegacyTransforms = {}))[property] = value;\n\t\t\temitProperty(state, \"transform\", transformsToString(Object.keys(direct.flatLegacyTransforms).sort().map(function(key2) {\n\t\t\t\treturn { [key2]: direct.flatLegacyTransforms[key2] };\n\t\t\t})), 0, \"\", void 0, \"\", \"\", merge, originalValue, contextOnly);\n\t\t} else if (condition && isWeb && state.flatShouldDoClasses) emitProperty(state, \"transform\", `${property}(${value})`, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\telse merge(state, property, value, 1, false, originalValue);\n\t\treturn;\n\t}\n\tif (isWeb && webShadowParts.has(property)) {\n\t\tvar value1 = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif (state.flatShouldDoClasses) emitWebShadow(state, property, value1, merge, originalValue, contextOnly);\n\t\telse merge(state, property, value1, 1, false, originalValue);\n\t\treturn;\n\t}\n\tif (isWeb && webTextShadowParts.has(property)) {\n\t\tvar value2 = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif (state.flatShouldDoClasses) emitWebTextShadow(state, property, value2, merge, originalValue, contextOnly);\n\t\telse merge(state, property, value2, 1, false, originalValue);\n\t\treturn;\n\t}\n\tif (isWeb && state.flatShouldDoClasses) {\n\t\tif (property === \"transform\") {\n\t\t\tvar direct1 = state;\n\t\t\tif (process.env.NODE_ENV === \"development\" && direct1.flatLegacyTransforms) for (var part in direct1.flatLegacyTransforms) warnOnce(`legacy transform part \"${part}\" is dropped because \"transform\" owns the property`);\n\t\t\tdirect1.flatLegacyTransforms = void 0;\n\t\t\tif (state.flatTransforms) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\") for (var part1 in state.flatTransforms) warnOnce(`legacy transform part \"${part1}\" is dropped because \"transform\" owns the property`);\n\t\t\t\tstate.flatTransforms = void 0;\n\t\t\t}\n\t\t}\n\t}\n\tif (isWeb && state.flatShouldDoClasses && property === \"transform\" && Array.isArray(raw)) raw = transformsToString(raw);\n\tif (typeof raw === \"string\" && property in borderTargets) {\n\t\temitBorder(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (typeof raw === \"string\" && property === \"textDecoration\") {\n\t\temitTextDecoration(state, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (typeof raw === \"string\" && property === \"background\") {\n\t\tvar parts = splitComponents(raw);\n\t\tif (parts.length === 1 && !/^(?:url|image-set|.*gradient)\\(/i.test(parts[0])) {\n\t\t\temitResolved(state, \"backgroundColor\", parts[0], condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\treturn;\n\t\t}\n\t\tif (!isWeb) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`native background cannot represent \"${raw}\"; dropping it`);\n\t\t\treturn;\n\t\t}\n\t}\n\tif (property === \"x\" || property === \"y\" || property === \"scale\" || property === \"scaleX\" || property === \"scaleY\" || property === \"rotate\") {\n\t\tvar value3 = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif ((!isWeb || !state.flatShouldDoClasses) && typeof value3 === \"string\" && !value3.startsWith(THEME_REF_PREFIX)) {\n\t\t\tif (property === \"rotate\" && !/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:deg|rad)$/i.test(value3)) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`native transform \"${property}\" cannot represent \"${value3}\"; dropping it`);\n\t\t\t\tif (condition & 1 && state.flatTransforms) delete state.flatTransforms[property];\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:px|dp)$/i.test(value3)) value3 = Number.parseFloat(value3);\n\t\t\telse if (Number.isFinite(Number(value3))) value3 = Number(value3);\n\t\t}\n\t\temitTransform(state, property, value3, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (isWeb && !state.flatShouldDoClasses && !condition && property === \"borderRadius\") {\n\t\tif (typeof raw === \"string\") emitResolved(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\telse emitProperty(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (property === \"transform\" && typeof raw === \"string\") {\n\t\tvar transform = parseNativeTransform(raw);\n\t\tif (transform) {\n\t\t\temitProperty(state, property, transform, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\treturn;\n\t\t}\n\t}\n\tvar value4 = raw;\n\tif (typeof raw === \"string\") {\n\t\tvalue4 = configuredValue(state, property, raw);\n\t\tif (value4 === raw && /[\\s,(]/.test(raw)) value4 = resolveEmbeddedTokens(state, property, raw);\n\t}\n\tif ((!isWeb || !state.flatShouldDoClasses) && typeof value4 === \"string\") {\n\t\tif (/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:px|dp)$/i.test(value4)) value4 = Number.parseFloat(value4);\n\t\telse if (value4 !== \"\" && Number.isFinite(Number(value4))) value4 = Number(value4);\n\t}\n\tif (isWeb && state.flatShouldDoClasses && property === \"boxShadow\" && !condition) state.flatBoxShadow = value4;\n\tif (typeof value4 === \"string\" && (property === \"backgroundImage\" || property === \"boxShadow\" || property === \"textShadow\")) {\n\t\tvar parsed = parseNativeStyle(property, value4);\n\t\tif (parsed) {\n\t\t\tif (property === \"textShadow\") {\n\t\t\t\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\t\t\t\ttry {\n\t\t\t\t\tfor (var _iterator = parsed[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\t\t\t\tvar [key, parsedValue] = _step.value;\n\t\t\t\t\t\temitProperty(state, key, parsedValue, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\t\t\t}\n\t\t\t\t} catch (err) {\n\t\t\t\t\t_didIteratorError = true;\n\t\t\t\t\t_iteratorError = err;\n\t\t\t\t} finally {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else emitProperty(state, property === \"backgroundImage\" ? \"experimental_backgroundImage\" : property, parsed, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\treturn;\n\t\t}\n\t}\n\tif (!isWeb && property === \"fontVariant\" && typeof value4 === \"string\") value4 = value4.split(/[,\\s]+/).filter(Boolean);\n\tvar expanded = state.styleProps.noExpand ? null : expandStyle(property, value4, state.conf.settings.styleCompat || \"web\");\n\tif (!expanded) {\n\t\temitProperty(state, property, value4, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (typeof raw === \"string\" && expanded.length > 1) {\n\t\tvar parts1 = splitComponents(raw);\n\t\tif (parts1.length > 0 && parts1.length <= (expanded.length === 4 ? 4 : 2)) {\n\t\t\tfor (var index = 0; index < expanded.length; index++) {\n\t\t\t\tvar partIndex = index === 0 || parts1.length === 1 ? 0 : index === 1 || index === 3 && parts1.length < 4 ? 1 : index === 2 && parts1.length < 3 ? 0 : index;\n\t\t\t\temitResolved(state, expanded[index][0], parts1[partIndex], condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t}\n\tfor (var index1 = 0; index1 < expanded.length; index1++) emitProperty(state, expanded[index1][0], expanded[index1][1], condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n}\nfunction contributeStyleString(state, property, source, merge, originalValue) {\n\tvar contextOnly = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : false;\n\tif (isWeb && source.indexOf(\":\") !== -1 && (webShadowParts.has(property) || legacyTransformParts.has(property))) {\n\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`conditional \"${property}\" needs its composite property; dropping it`);\n\t\treturn true;\n\t}\n\tif (source.indexOf(\":\") === -1) {\n\t\temitValue(state, property, source, 0, \"\", void 0, \"\", \"\", merge, originalValue !== null && originalValue !== void 0 ? originalValue : source, contextOnly);\n\t\treturn true;\n\t}\n\tscanFlatValue(source, directStyleHandler, state, property, merge, originalValue, contextOnly);\n\treturn true;\n}\nfunction contributeFrontendValue(state, property, value, merge) {\n\tvar contextOnly = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : false;\n\tif (value.base !== null) emitValue(state, property, value.base, 0, \"\", void 0, \"\", \"\", merge, value.base, contextOnly);\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = value.clauses[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar clause = _step.value;\n\t\t\tvar source = clause.modifiers.join(\":\");\n\t\t\tresolveClauseChain(state, source, 0, source.length, property, clause.payload, merge, clause.payload, contextOnly);\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\treturn true;\n}\nfunction isConditionalStyleObject(state, value) {\n\tif (Object.prototype.hasOwnProperty.call(value, \"default\")) return true;\n\tfor (var key in value) return key.length > 0 && !!resolveClauseChain(state, key, 0, key.length);\n\treturn false;\n}\nfunction contributeVariantClauseValue(state, property, value, conditionSource, merge, originalValue) {\n\tvar contextOnly = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : false;\n\tif (value && (typeof value === \"undefined\" ? \"undefined\" : _type_of(value)) === \"object\" && !Array.isArray(value) && !isVariable(value) && isConditionalStyleObject(state, value)) {\n\t\tfor (var key in value) {\n\t\t\tvar payload = value[key];\n\t\t\tif (payload == null) continue;\n\t\t\tvar source = key === \"default\" ? conditionSource : `${conditionSource}:${key}`;\n\t\t\tresolveClauseChain(state, source, 0, source.length, property, payload, merge, payload, contextOnly, -1, -1, 2);\n\t\t}\n\t\treturn;\n\t}\n\tresolveClauseChain(state, conditionSource, 0, conditionSource.length, property, value, merge, originalValue, contextOnly, -1, -1, 2);\n}\nfunction contributeStyleObject(state, property, value, merge, contextOnly) {\n\tif (!isConditionalStyleObject(state, value)) return false;\n\tif (isWeb && (webShadowParts.has(property) || legacyTransformParts.has(property))) {\n\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`conditional \"${property}\" needs its composite property; dropping it`);\n\t\treturn true;\n\t}\n\tvar hasBase = false;\n\tvar base = value.default;\n\tif (base != null) {\n\t\temitValue(state, property, base, 0, \"\", void 0, \"\", \"\", merge, base, contextOnly);\n\t\thasBase = true;\n\t}\n\tvar conditions = 0;\n\tfor (var key in value) {\n\t\tif (key === \"default\") continue;\n\t\tvar payload = value[key];\n\t\tif (payload == null) continue;\n\t\tconditions |= resolveClauseChain(state, key, 0, key.length, property, payload, merge, payload, contextOnly, -1, -1, 1);\n\t}\n\tif ((!isWeb || !state.flatShouldDoClasses) && conditions & 12 && !hasBase) {\n\t\tvar resting = implicitLifecycleBase(property);\n\t\tif (resting !== null) emitValue(state, property, resting, 0, \"\", void 0, \"\", \"\", merge, resting, contextOnly);\n\t}\n\treturn true;\n}\nfunction contributeStyleValue(state, property, value, merge, originalValue) {\n\tvar contextOnly = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : false;\n\tif (value === \"safe\" && isSafeAreaKey(property)) {\n\t\tvar expanded = expandSafeAreaValue(property);\n\t\tif (expanded) {\n\t\t\tstate.flatUsesSafeArea = true;\n\t\t\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\t\t\ttry {\n\t\t\t\tfor (var _iterator = expanded[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\t\t\tvar [key, resolved] = _step.value;\n\t\t\t\t\temitValue(state, key, resolved, 0, \"\", void 0, \"\", \"\", merge, originalValue !== null && originalValue !== void 0 ? originalValue : value, contextOnly);\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\treturn true;\n\t\t}\n\t}\n\tif (typeof value === \"string\") return contributeStyleString(state, property, value, merge, originalValue, contextOnly);\n\tif (value && (typeof value === \"undefined\" ? \"undefined\" : _type_of(value)) === \"object\" && !Array.isArray(value) && !isVariable(value) && contributeStyleObject(state, property, value, merge, contextOnly)) return true;\n\tif (value != null) {\n\t\temitValue(state, property, value, 0, \"\", void 0, \"\", \"\", merge, originalValue !== null && originalValue !== void 0 ? originalValue : value, contextOnly);\n\t\treturn true;\n\t}\n\treturn false;\n}\nfunction clearDirectStyle(state, property) {\n\tvar direct = state;\n\tvar atomicKey = property.startsWith(\"transition\") ? \"transition\" : webShadowParts.has(property) ? \"boxShadow\" : webTextShadowParts.has(property) ? \"textShadow\" : legacyTransformParts.has(property) ? \"transform\" : property;\n\tif (direct.flatAtomics) delete direct.flatAtomics[atomicKey];\n\tdelete state.classNames[atomicKey];\n}\n\nexport { clearDirectStyle, contributeFrontendValue, contributeStyleString, contributeStyleValue, contributeVariantClauseValue, directStyleSignature, flushDirectStyles, getDirectDynamicThemeAccess, isConditionalStyleObject, platformMatches, resolveClauseChain };"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAqBA,SAAS,SAAS,KAAK;CACtB;CACA,OAAO,OAAO,OAAO,WAAW,eAAe,IAAI,gBAAgB,SAAS,WAAW,OAAO;AAC/F;AACA,IAAI,qBAAqB;CACxB,QAAQ,OAAO,OAAO,KAAK,QAAQ,OAAO,QAAQ,YAAY,UAAU,YAAY,YAAY,SAAS,SAAS,cAAc,UAAU,OAAO,eAAe,aAAa;EAC5K,IAAI,QAAQ;GACX,IAAI,UAAU,KAAK;GACnB,IAAI,CAAC,OAAO;IACX,IAAI,QAAQ,IAAI,aAAa,eAAe,iBAAiB,UAAU,QAAQ,YAAY,sBAAsB,IAAI,OAAO,cAAc,uCAAuC,YAAY,wBAAwB,2BAA2B,YAAY,yBAAyB,mCAAmC,YAAY,wBAAwB,mBAAmB,uBAAuB;IACtY;GACD;GACA,IA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I,UAAU,OAAO,UAAU,cAAc,cAAc,SAAS,KAAK,OAAO,YAAY,CAAC,MAAM,QAAQ,KAAK,KAAK,CAAC,WAAW,KAAK,KAAK,sBAAsB,OAAO,UAAU,OAAO,OAAO,WAAW,GAAG,OAAO;CACrN,IAAI,SAAS,MAAM;EAClB,UAAU,OAAO,UAAU,OAAO,GAAG,IAAI,KAAK,GAAG,IAAI,IAAI,OAAO,kBAAkB,QAAQ,kBAAkB,KAAK,IAAI,gBAAgB,OAAO,WAAW;EACvJ,OAAO;CACR;CACA,OAAO;AACR;AACA,SAAS,iBAAiB,OAAO,UAAU;CAC1C,IAAI,SAAS;CACb,IAAI,YAAY,SAAS,WAAW,YAAY,IAAI,eAAe,eAAe,IAAI,QAAQ,IAAI,cAAc,mBAAmB,IAAI,QAAQ,IAAI,eAAe,qBAAqB,IAAI,QAAQ,IAAI,cAAc;CACrN,IAAI,OAAO,aAAa,OAAO,OAAO,YAAY;CAClD,OAAO,MAAM,WAAW;AACzB"}
@@ -12,7 +12,7 @@ function getCSSStylesAtomic(style) {
12
12
  for (const key in style) {
13
13
  if (key === "$$css") continue;
14
14
  const val = style[key];
15
- const so = getStyleObject(style, key);
15
+ const so = getStyleObject(val, key);
16
16
  if (so) {
17
17
  out.push(so);
18
18
  }
@@ -20,16 +20,15 @@ function getCSSStylesAtomic(style) {
20
20
  return out;
21
21
  }
22
22
  function getCSSStyleAtomic(key, val, condition = "", wrappers, identity, direct = false, identityKey = key, classRepetitions = 1) {
23
- return getStyleObject({ [key]: val }, key, condition, wrappers, identity, direct, identityKey, classRepetitions);
23
+ return getStyleObject(val, key, condition, wrappers, identity, direct, identityKey, classRepetitions);
24
24
  }
25
25
  let conf = null;
26
26
  let confRevision = 0;
27
27
  const directIdentities = /* @__PURE__ */ new Map();
28
28
  let directIdentitiesSize = 0;
29
- const getStyleObject = (style, key, condition = "", wrappers, identity, direct = false, identityKey = key, classRepetitions = 1) => {
30
- let val = style[key];
29
+ const getStyleObject = (val, key, condition = "", wrappers, identity, direct = false, identityKey = key, classRepetitions = 1) => {
31
30
  if (val == null) return;
32
- if (key === "transform" && Array.isArray(style.transform)) {
31
+ if (key === "transform" && Array.isArray(val)) {
33
32
  val = transformsToString(val);
34
33
  }
35
34
  const value = normalizeValueWithProperty(val, key);
@@ -51,7 +50,7 @@ const getStyleObject = (style, key, condition = "", wrappers, identity, direct =
51
50
  value,
52
51
  known.identifier,
53
52
  void 0,
54
- known.rules.slice()
53
+ direct === 2 ? known.rules : known.rules.slice()
55
54
  ];
56
55
  }
57
56
  }
@@ -88,7 +87,7 @@ const getStyleObject = (style, key, condition = "", wrappers, identity, direct =
88
87
  }
89
88
  byKey.set(identity, {
90
89
  identifier,
91
- rules: rules.slice()
90
+ rules: direct === 2 ? rules : rules.slice()
92
91
  });
93
92
  directIdentitiesSize++;
94
93
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getCSSStylesAtomic.js","names":[],"sources":["esm/helpers/getCSSStylesAtomic.js"],"sourcesContent":["import { cssShorthandLonghands, simpleHash } from \"@tamagui/helpers\";\nimport { getConfigMaybe } from \"../config\";\nimport { defaultOffset } from \"./defaultOffset\";\nimport { getConfigRevisionState } from \"./grammarConfig\";\nimport { normalizeColor } from \"./normalizeColor\";\nimport { normalizeValueWithProperty } from \"./normalizeValueWithProperty\";\nimport { transformsToString } from \"./transformsToString\";\nfunction getCSSStylesAtomic(style) {\n styleToCSS(style);\n const out = [];\n for (const key in style) {\n if (key === \"$$css\") continue;\n const val = style[key];\n const so = getStyleObject(style, key);\n if (so) {\n out.push(so);\n }\n }\n return out;\n}\nfunction getCSSStyleAtomic(key, val, condition = \"\", wrappers, identity, direct = false, identityKey = key, classRepetitions = 1) {\n return getStyleObject(\n { [key]: val },\n key,\n condition,\n wrappers,\n identity,\n direct,\n identityKey,\n classRepetitions\n );\n}\nlet conf = null;\nlet confRevision = 0;\nconst directIdentities = /* @__PURE__ */ new Map();\nlet directIdentitiesSize = 0;\nconst getStyleObject = (style, key, condition = \"\", wrappers, identity, direct = false, identityKey = key, classRepetitions = 1) => {\n let val = style[key];\n if (val == null) return;\n if (key === \"transform\" && Array.isArray(style.transform)) {\n val = transformsToString(val);\n }\n const value = normalizeValueWithProperty(val, key);\n const nextConf = getConfigMaybe();\n const nextRevision = nextConf ? getConfigRevisionState(nextConf).revision : 0;\n if (nextConf !== conf || nextRevision !== confRevision) {\n conf = nextConf;\n confRevision = nextRevision;\n directIdentities.clear();\n directIdentitiesSize = 0;\n }\n let byKey;\n if (direct && identity !== void 0) {\n byKey = directIdentities.get(identityKey);\n const known = byKey?.get(identity);\n if (known) {\n return [key, value, known.identifier, void 0, known.rules.slice()];\n }\n }\n const rawValue = typeof value === \"string\" ? value : `${value}`;\n const hash = simpleHash(identity ?? rawValue, direct ? \"strict\" : 10) || \"0\";\n let shortProp;\n if (direct) {\n shortProp = \"\";\n for (let index = 0; index < identityKey.length; index++) {\n const code = identityKey.charCodeAt(index);\n if ((index === 0 || code >= 65 && code <= 90 || identityKey.charCodeAt(index - 1) === 45) && (code >= 65 && code <= 90 || code >= 97 && code <= 122)) {\n shortProp += identityKey[index].toLowerCase();\n }\n }\n shortProp ||= \"x\";\n } else {\n shortProp = conf?.inverseShorthands[key] || key;\n }\n let identifier = `_${shortProp}-${hash}`;\n if (key === \"pointerEvents\" && !condition) {\n if (value === \"box-none\") identifier = \"_pe-boxnone\";\n else if (value === \"box-only\") identifier = \"_pe-boxonly\";\n }\n const rules = createAtomicRules(\n identifier,\n key,\n value,\n condition,\n wrappers,\n direct,\n classRepetitions\n );\n if (direct && identity !== void 0) {\n if (directIdentitiesSize > 1e4) {\n directIdentities.clear();\n directIdentitiesSize = 0;\n byKey = void 0;\n }\n if (!byKey) {\n byKey = /* @__PURE__ */ new Map();\n directIdentities.set(identityKey, byKey);\n }\n byKey.set(identity, { identifier, rules: rules.slice() });\n directIdentitiesSize++;\n }\n return [\n // array for performance\n key,\n value,\n identifier,\n void 0,\n rules\n ];\n};\nfunction styleToCSS(style) {\n const { shadowOffset, shadowRadius, shadowColor, shadowOpacity } = style;\n if (shadowRadius != null || shadowColor || shadowOffset != null || shadowOpacity != null) {\n const offset = shadowOffset || defaultOffset;\n const width = normalizeValueWithProperty(offset.width);\n const height = normalizeValueWithProperty(offset.height);\n const radius = normalizeValueWithProperty(shadowRadius);\n const color = normalizeColor(shadowColor, shadowOpacity);\n if (color) {\n const shadow = `${width} ${height} ${radius} ${color}`;\n style.boxShadow = style.boxShadow ? `${style.boxShadow}, ${shadow}` : shadow;\n }\n delete style.shadowOffset;\n delete style.shadowRadius;\n delete style.shadowColor;\n delete style.shadowOpacity;\n }\n const { textShadowColor, textShadowOffset, textShadowRadius } = style;\n if (textShadowColor || textShadowOffset || textShadowRadius) {\n const { height, width } = textShadowOffset || defaultOffset;\n const radius = textShadowRadius || 0;\n const color = normalizeValueWithProperty(textShadowColor, \"textShadowColor\");\n if (color && (height !== 0 || width !== 0 || radius !== 0)) {\n const blurRadius = normalizeValueWithProperty(radius);\n const offsetX = normalizeValueWithProperty(width);\n const offsetY = normalizeValueWithProperty(height);\n style.textShadow = `${offsetX} ${offsetY} ${blurRadius} ${color}`;\n }\n delete style.textShadowColor;\n delete style.textShadowOffset;\n delete style.textShadowRadius;\n }\n}\nfunction createDeclarationBlock(style, important = false, trailingSemicolon = true) {\n let next = \"\";\n for (let index = 0; index < style.length; index++) {\n const [key, value] = style[index];\n next += `${hyphenateStyleName(key)}:${value}${important ? \" !important\" : \"\"}${trailingSemicolon || index < style.length - 1 ? \";\" : \"\"}`;\n }\n return `{${next}}`;\n}\nconst hcache = {};\nconst toHyphenLower = (match) => `-${match.toLowerCase()}`;\nconst hyphenateStyleName = (key) => {\n if (key in hcache) return hcache[key];\n const val = key.replace(/[A-Z]/g, toHyphenLower);\n hcache[key] = val;\n return val;\n};\nfunction createAtomicRules(identifier, property, value, condition = \"\", wrappers, direct = false, classRepetitions = 1) {\n const repetitions = direct && classRepetitions > 1 ? classRepetitions : !direct && property in cssShorthandLonghands ? 2 : 1;\n const cls = `.${identifier}`.repeat(repetitions);\n const selector = `${cls}${condition}`;\n let rules = [];\n switch (property) {\n // Equivalent to using '::placeholder'\n case \"placeholderTextColor\": {\n const block = createDeclarationBlock(\n [\n [\"color\", value],\n [\"opacity\", 1]\n ],\n false\n );\n rules.push(`${selector}::placeholder${block}`);\n break;\n }\n // all webkit prefixed rules\n case \"backgroundClip\":\n case \"userSelect\": {\n const propertyCapitalized = `${property[0].toUpperCase()}${property.slice(1)}`;\n const webkitProperty = `Webkit${propertyCapitalized}`;\n const block = createDeclarationBlock(\n [\n [property, value],\n [webkitProperty, value]\n ],\n false\n );\n rules.push(`${selector}${block}`);\n break;\n }\n // Polyfill for additional 'pointer-events' values\n case \"pointerEvents\": {\n if (direct) {\n const subject = value === \"none\" || value === \"box-none\" ? \"none\" : \"auto\";\n const children = value === \"none\" || value === \"box-only\" ? \"none\" : \"auto\";\n rules.push(\n `${selector}${createDeclarationBlock([[\"pointerEvents\", subject]], false, false)}`,\n `${selector}>*${createDeclarationBlock(\n [[\"pointerEvents\", children]],\n false,\n false\n )}`\n );\n break;\n }\n let finalValue = value;\n if (value === \"auto\" || value === \"box-only\") {\n finalValue = \"auto\";\n } else if (value === \"none\" || value === \"box-none\") {\n finalValue = \"none\";\n }\n const block = createDeclarationBlock([[\"pointerEvents\", finalValue]], true);\n rules.push(`${selector}${block}`);\n break;\n }\n default: {\n const block = createDeclarationBlock([[property, value]], false, !direct);\n rules.push(`${selector}${block}`);\n break;\n }\n }\n if (wrappers?.length) {\n for (let ruleIndex = 0; ruleIndex < rules.length; ruleIndex++) {\n let rule = rules[ruleIndex];\n for (let index = wrappers.length - 1; index >= 0; index--) {\n rule = `${wrappers[index]} {${rule}}`;\n }\n rules[ruleIndex] = rule;\n }\n }\n return rules;\n}\nexport {\n getCSSStyleAtomic,\n getCSSStylesAtomic,\n styleToCSS\n};\n//# sourceMappingURL=getCSSStylesAtomic.js.map\n"],"mappings":";;;;;;;;;AAOA,SAAS,m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,iBAAiB,UAAU,CAAC,GAAG,IAAI;GAC1E,MAAM,KAAK,GAAG,WAAW,OAAO;GAChC;EACF;EACA,SAAS;GACP,MAAM,QAAQ,uBAAuB,CAAC,CAAC,UAAU,KAAK,CAAC,GAAG,OAAO,CAAC,MAAM;GACxE,MAAM,KAAK,GAAG,WAAW,OAAO;GAChC;EACF;CACF;CACA,IAAI,UAAU,QAAQ;EACpB,KAAK,IAAI,YAAY,GAAG,YAAY,MAAM,QAAQ,aAAa;GAC7D,IAAI,OAAO,MAAM;GACjB,KAAK,IAAI,QAAQ,SAAS,SAAS,GAAG,SAAS,GAAG,SAAS;IACzD,OAAO,GAAG,SAAS,OAAO,IAAI,KAAK;GACrC;GACA,MAAM,aAAa;EACrB;CACF;CACA,OAAO;AACT"}
1
+ {"version":3,"file":"getCSSStylesAtomic.js","names":[],"sources":["esm/helpers/getCSSStylesAtomic.js"],"sourcesContent":["import { cssShorthandLonghands, simpleHash } from \"@tamagui/helpers\";\nimport { getConfigMaybe } from \"../config\";\nimport { defaultOffset } from \"./defaultOffset\";\nimport { getConfigRevisionState } from \"./grammarConfig\";\nimport { normalizeColor } from \"./normalizeColor\";\nimport { normalizeValueWithProperty } from \"./normalizeValueWithProperty\";\nimport { transformsToString } from \"./transformsToString\";\nfunction getCSSStylesAtomic(style) {\n styleToCSS(style);\n const out = [];\n for (const key in style) {\n if (key === \"$$css\") continue;\n const val = style[key];\n const so = getStyleObject(val, key);\n if (so) {\n out.push(so);\n }\n }\n return out;\n}\nfunction getCSSStyleAtomic(key, val, condition = \"\", wrappers, identity, direct = false, identityKey = key, classRepetitions = 1) {\n return getStyleObject(\n val,\n key,\n condition,\n wrappers,\n identity,\n direct,\n identityKey,\n classRepetitions\n );\n}\nlet conf = null;\nlet confRevision = 0;\nconst directIdentities = /* @__PURE__ */ new Map();\nlet directIdentitiesSize = 0;\nconst getStyleObject = (val, key, condition = \"\", wrappers, identity, direct = false, identityKey = key, classRepetitions = 1) => {\n if (val == null) return;\n if (key === \"transform\" && Array.isArray(val)) {\n val = transformsToString(val);\n }\n const value = normalizeValueWithProperty(val, key);\n const nextConf = getConfigMaybe();\n const nextRevision = nextConf ? getConfigRevisionState(nextConf).revision : 0;\n if (nextConf !== conf || nextRevision !== confRevision) {\n conf = nextConf;\n confRevision = nextRevision;\n directIdentities.clear();\n directIdentitiesSize = 0;\n }\n let byKey;\n if (direct && identity !== void 0) {\n byKey = directIdentities.get(identityKey);\n const known = byKey?.get(identity);\n if (known) {\n return [\n key,\n value,\n known.identifier,\n void 0,\n direct === 2 ? known.rules : known.rules.slice()\n ];\n }\n }\n const rawValue = typeof value === \"string\" ? value : `${value}`;\n const hash = simpleHash(identity ?? rawValue, direct ? \"strict\" : 10) || \"0\";\n let shortProp;\n if (direct) {\n shortProp = \"\";\n for (let index = 0; index < identityKey.length; index++) {\n const code = identityKey.charCodeAt(index);\n if ((index === 0 || code >= 65 && code <= 90 || identityKey.charCodeAt(index - 1) === 45) && (code >= 65 && code <= 90 || code >= 97 && code <= 122)) {\n shortProp += identityKey[index].toLowerCase();\n }\n }\n shortProp ||= \"x\";\n } else {\n shortProp = conf?.inverseShorthands[key] || key;\n }\n let identifier = `_${shortProp}-${hash}`;\n if (key === \"pointerEvents\" && !condition) {\n if (value === \"box-none\") identifier = \"_pe-boxnone\";\n else if (value === \"box-only\") identifier = \"_pe-boxonly\";\n }\n const rules = createAtomicRules(\n identifier,\n key,\n value,\n condition,\n wrappers,\n direct,\n classRepetitions\n );\n if (direct && identity !== void 0) {\n if (directIdentitiesSize > 1e4) {\n directIdentities.clear();\n directIdentitiesSize = 0;\n byKey = void 0;\n }\n if (!byKey) {\n byKey = /* @__PURE__ */ new Map();\n directIdentities.set(identityKey, byKey);\n }\n byKey.set(identity, { identifier, rules: direct === 2 ? rules : rules.slice() });\n directIdentitiesSize++;\n }\n return [\n // array for performance\n key,\n value,\n identifier,\n void 0,\n rules\n ];\n};\nfunction styleToCSS(style) {\n const { shadowOffset, shadowRadius, shadowColor, shadowOpacity } = style;\n if (shadowRadius != null || shadowColor || shadowOffset != null || shadowOpacity != null) {\n const offset = shadowOffset || defaultOffset;\n const width = normalizeValueWithProperty(offset.width);\n const height = normalizeValueWithProperty(offset.height);\n const radius = normalizeValueWithProperty(shadowRadius);\n const color = normalizeColor(shadowColor, shadowOpacity);\n if (color) {\n const shadow = `${width} ${height} ${radius} ${color}`;\n style.boxShadow = style.boxShadow ? `${style.boxShadow}, ${shadow}` : shadow;\n }\n delete style.shadowOffset;\n delete style.shadowRadius;\n delete style.shadowColor;\n delete style.shadowOpacity;\n }\n const { textShadowColor, textShadowOffset, textShadowRadius } = style;\n if (textShadowColor || textShadowOffset || textShadowRadius) {\n const { height, width } = textShadowOffset || defaultOffset;\n const radius = textShadowRadius || 0;\n const color = normalizeValueWithProperty(textShadowColor, \"textShadowColor\");\n if (color && (height !== 0 || width !== 0 || radius !== 0)) {\n const blurRadius = normalizeValueWithProperty(radius);\n const offsetX = normalizeValueWithProperty(width);\n const offsetY = normalizeValueWithProperty(height);\n style.textShadow = `${offsetX} ${offsetY} ${blurRadius} ${color}`;\n }\n delete style.textShadowColor;\n delete style.textShadowOffset;\n delete style.textShadowRadius;\n }\n}\nfunction createDeclarationBlock(style, important = false, trailingSemicolon = true) {\n let next = \"\";\n for (let index = 0; index < style.length; index++) {\n const [key, value] = style[index];\n next += `${hyphenateStyleName(key)}:${value}${important ? \" !important\" : \"\"}${trailingSemicolon || index < style.length - 1 ? \";\" : \"\"}`;\n }\n return `{${next}}`;\n}\nconst hcache = {};\nconst toHyphenLower = (match) => `-${match.toLowerCase()}`;\nconst hyphenateStyleName = (key) => {\n if (key in hcache) return hcache[key];\n const val = key.replace(/[A-Z]/g, toHyphenLower);\n hcache[key] = val;\n return val;\n};\nfunction createAtomicRules(identifier, property, value, condition = \"\", wrappers, direct = false, classRepetitions = 1) {\n const repetitions = direct && classRepetitions > 1 ? classRepetitions : !direct && property in cssShorthandLonghands ? 2 : 1;\n const cls = `.${identifier}`.repeat(repetitions);\n const selector = `${cls}${condition}`;\n let rules = [];\n switch (property) {\n // Equivalent to using '::placeholder'\n case \"placeholderTextColor\": {\n const block = createDeclarationBlock(\n [\n [\"color\", value],\n [\"opacity\", 1]\n ],\n false\n );\n rules.push(`${selector}::placeholder${block}`);\n break;\n }\n // all webkit prefixed rules\n case \"backgroundClip\":\n case \"userSelect\": {\n const propertyCapitalized = `${property[0].toUpperCase()}${property.slice(1)}`;\n const webkitProperty = `Webkit${propertyCapitalized}`;\n const block = createDeclarationBlock(\n [\n [property, value],\n [webkitProperty, value]\n ],\n false\n );\n rules.push(`${selector}${block}`);\n break;\n }\n // Polyfill for additional 'pointer-events' values\n case \"pointerEvents\": {\n if (direct) {\n const subject = value === \"none\" || value === \"box-none\" ? \"none\" : \"auto\";\n const children = value === \"none\" || value === \"box-only\" ? \"none\" : \"auto\";\n rules.push(\n `${selector}${createDeclarationBlock([[\"pointerEvents\", subject]], false, false)}`,\n `${selector}>*${createDeclarationBlock(\n [[\"pointerEvents\", children]],\n false,\n false\n )}`\n );\n break;\n }\n let finalValue = value;\n if (value === \"auto\" || value === \"box-only\") {\n finalValue = \"auto\";\n } else if (value === \"none\" || value === \"box-none\") {\n finalValue = \"none\";\n }\n const block = createDeclarationBlock([[\"pointerEvents\", finalValue]], true);\n rules.push(`${selector}${block}`);\n break;\n }\n default: {\n const block = createDeclarationBlock([[property, value]], false, !direct);\n rules.push(`${selector}${block}`);\n break;\n }\n }\n if (wrappers?.length) {\n for (let ruleIndex = 0; ruleIndex < rules.length; ruleIndex++) {\n let rule = rules[ruleIndex];\n for (let index = wrappers.length - 1; index >= 0; index--) {\n rule = `${wrappers[index]} {${rule}}`;\n }\n rules[ruleIndex] = rule;\n }\n }\n return rules;\n}\nexport {\n getCSSStyleAtomic,\n getCSSStylesAtomic,\n styleToCSS\n};\n//# sourceMappingURL=getCSSStylesAtomic.js.map\n"],"mappings":";;;;;;;;;AAOA,SAAS,mBAAmB,OAAO;CACjC,WAAW,KA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