@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
@@ -3,8 +3,10 @@ import { stylePropsAll, stylePropsText, stylePropsTransform, validStyles } from
3
3
  import React from "react";
4
4
  import { STYLE_FRONTEND_PASSTHROUGH_PREFIX, STYLE_FRONTEND_PREPROCESSED } from "./styleFrontend.native.js";
5
5
  import { getConfig, getFont } from "../config.native.js";
6
+ import { isVariable } from "../createVariable.native.js";
6
7
  import { isDevTools } from "../constants/isDevTools.native.js";
7
8
  import { mediaState } from "./mediaState.native.js";
9
+ import { scanFlatValue } from "@tamagui/style-grammar/runtime";
8
10
  import { fixStyles } from "./expandStyles.native.js";
9
11
  import { styleToCSS } from "./getCSSStylesAtomic.native.js";
10
12
  import { getDefaultProps } from "./getDefaultProps.native.js";
@@ -12,7 +14,7 @@ import { isPlainObject } from "./isObj.native.js";
12
14
  import { log } from "./log.native.js";
13
15
  import { normalizeValueWithProperty } from "./normalizeValueWithProperty.native.js";
14
16
  import { appendFlatClause, propMapper } from "./propMapper.native.js";
15
- import { clearDirectStyle, contributeStyleValue, contributeVariantClauseValue, flushDirectStyles, getDirectDynamicThemeAccess } from "./directStyle.native.js";
17
+ import { clearDirectStyle, contributeStyleValue, contributeVariantClauseValue, flushDirectStyles, getDirectDynamicThemeAccess, resolveClauseChain } from "./directStyle.native.js";
16
18
  import { contributeFrontendProgram, isFrontendProgram } from "./frontendProgram.native.js";
17
19
  import { skipProps } from "./skipProps.native.js";
18
20
  import { sortString } from "./sortString.native.js";
@@ -31,12 +33,130 @@ function compoundMatcherMatches(expected, actual) {
31
33
  });
32
34
  return Object.is(expected, actual);
33
35
  }
34
- function compoundVariantMatches(compoundVariant, props) {
36
+ function compoundMatcherMatchesPayload(expected, payload) {
37
+ if (Array.isArray(expected)) return expected.some(function(value) {
38
+ return compoundMatcherMatchesPayload(value, payload);
39
+ });
40
+ return typeof expected === "string" ? expected === payload : String(expected) === payload;
41
+ }
42
+ var compoundScanHandler = {
43
+ segment(ctx, start, end, isBase, valid, source, chainStart, chainEnd, chainValid) {
44
+ if (!valid || start >= end) return;
45
+ if (!compoundMatcherMatchesPayload(ctx[1], source.slice(start, end))) return;
46
+ if (isBase) {
47
+ ctx[4] = true;
48
+ return;
49
+ }
50
+ if (!chainValid) return;
51
+ var chain = source.slice(chainStart, chainEnd);
52
+ if (ctx[2](chain)) ctx[3].push(chain);
53
+ },
54
+ chain() {
55
+ return true;
56
+ },
57
+ error() {}
58
+ };
59
+ function matcherChains(expected, actual, isChain) {
60
+ if (typeof actual === "string" && actual.indexOf(":") !== -1) {
61
+ var scan = [
62
+ actual,
63
+ expected,
64
+ isChain,
65
+ [],
66
+ false
67
+ ];
68
+ scanFlatValue(actual, compoundScanHandler, scan);
69
+ if (scan[4]) return [""];
70
+ return scan[3].length ? scan[3] : null;
71
+ }
72
+ if (actual && (typeof actual === "undefined" ? "undefined" : _type_of(actual)) === "object" && !Array.isArray(actual) && !isVariable(actual)) {
73
+ var conditional = Object.prototype.hasOwnProperty.call(actual, "default");
74
+ if (!conditional) for (var key in actual) {
75
+ conditional = key.length > 0 && isChain(key);
76
+ break;
77
+ }
78
+ if (conditional) {
79
+ var chains = [];
80
+ for (var key1 in actual) {
81
+ var payload = actual[key1];
82
+ if (payload == null || !compoundMatcherMatches(expected, payload)) continue;
83
+ if (key1 === "default") return [""];
84
+ if (isChain(key1)) chains.push(key1);
85
+ }
86
+ return chains.length ? chains : null;
87
+ }
88
+ }
89
+ return compoundMatcherMatches(expected, actual) ? [""] : null;
90
+ }
91
+ function isConditionalObjectValue(value, isChain) {
92
+ if (Object.prototype.hasOwnProperty.call(value, "default")) return true;
93
+ for (var key in value) return key.length > 0 && isChain(key);
94
+ return false;
95
+ }
96
+ var joinChains = function(a, b) {
97
+ if (!a) return b;
98
+ if (!b) return a;
99
+ var segments = a.split(":");
100
+ var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
101
+ try {
102
+ for (var _iterator = b.split(":")[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
103
+ var segment = _step.value;
104
+ if (!segments.includes(segment)) segments.push(segment);
105
+ }
106
+ } catch (err) {
107
+ _didIteratorError = true;
108
+ _iteratorError = err;
109
+ } finally {
110
+ try {
111
+ if (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();
112
+ } finally {
113
+ if (_didIteratorError) throw _iteratorError;
114
+ }
115
+ }
116
+ return segments.join(":");
117
+ };
118
+ function compoundVariantMatchChains(compoundVariant, props, isChain) {
119
+ var chains = [""];
35
120
  for (var key in compoundVariant) {
36
121
  if (key === "style") continue;
37
- if (!compoundMatcherMatches(compoundVariant[key], props[key])) return false;
122
+ var keyChains = matcherChains(compoundVariant[key], props[key], isChain);
123
+ if (!keyChains) return null;
124
+ var next = [];
125
+ var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
126
+ try {
127
+ for (var _iterator = chains[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
128
+ var a = _step.value;
129
+ var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;
130
+ try {
131
+ for (var _iterator1 = keyChains[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {
132
+ var b = _step1.value;
133
+ var joined = joinChains(a, b);
134
+ if (!next.includes(joined)) next.push(joined);
135
+ }
136
+ } catch (err) {
137
+ _didIteratorError1 = true;
138
+ _iteratorError1 = err;
139
+ } finally {
140
+ try {
141
+ if (!_iteratorNormalCompletion1 && _iterator1.return != null) _iterator1.return();
142
+ } finally {
143
+ if (_didIteratorError1) throw _iteratorError1;
144
+ }
145
+ }
146
+ }
147
+ } catch (err) {
148
+ _didIteratorError = true;
149
+ _iteratorError = err;
150
+ } finally {
151
+ try {
152
+ if (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();
153
+ } finally {
154
+ if (_didIteratorError) throw _iteratorError;
155
+ }
156
+ }
157
+ chains = next;
38
158
  }
39
- return true;
159
+ return chains;
40
160
  }
41
161
  var styledDefaultsCache = /* @__PURE__ */ new WeakMap();
42
162
  function getStyledDefaults(staticConfig) {
@@ -49,6 +169,9 @@ function getStyledDefaults(staticConfig) {
49
169
  }
50
170
  return entries;
51
171
  }
172
+ var maybeStyleProgram = function(value) {
173
+ return typeof value === "string" ? value.includes(":") : !!value && (typeof value === "undefined" ? "undefined" : _type_of(value)) === "object" && !Array.isArray(value) && !isVariable(value);
174
+ };
52
175
  function contributeDisplacedStyledDefaults(styledDefaults, processedProps, shorthands, contribute) {
53
176
  if (!styledDefaults) return;
54
177
  for (var index = 0; index < styledDefaults.length; index++) {
@@ -56,10 +179,10 @@ function contributeDisplacedStyledDefaults(styledDefaults, processedProps, short
56
179
  var styledValue = styledDefaults[index][1];
57
180
  var propValue = processedProps[key];
58
181
  if (!(key in stylePropsAll) && !(key in shorthands)) continue;
59
- if (propValue !== void 0 && propValue !== styledValue && (typeof styledValue === "string" && styledValue.includes(":") || typeof propValue === "string" && propValue.includes(":"))) contribute(key, styledValue);
182
+ if (propValue !== void 0 && propValue !== styledValue && (maybeStyleProgram(styledValue) || maybeStyleProgram(propValue))) contribute(key, styledValue);
60
183
  }
61
184
  }
62
- function forEachPropInForwardOrder(processedProps, staticConfig, shorthands, contribute) {
185
+ function forEachPropInForwardOrder(processedProps, staticConfig, shorthands, contribute, isChain) {
63
186
  var processedBaseStyle = staticConfig.baseStyle;
64
187
  var compoundVariants = staticConfig.compoundVariants;
65
188
  var styledDefaults = getStyledDefaults(staticConfig);
@@ -79,7 +202,8 @@ function forEachPropInForwardOrder(processedProps, staticConfig, shorthands, con
79
202
  try {
80
203
  for (var _iterator = compoundVariants[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
81
204
  var compoundVariant = _step.value;
82
- if (!compoundVariantMatches(compoundVariant, processedProps)) continue;
205
+ var chains = compoundVariantMatchChains(compoundVariant, processedProps, isChain);
206
+ if (!chains) continue;
83
207
  var { style } = compoundVariant;
84
208
  if (!isPlainObject(style)) continue;
85
209
  var anchor = -1;
@@ -91,7 +215,39 @@ function forEachPropInForwardOrder(processedProps, staticConfig, shorthands, con
91
215
  }
92
216
  }
93
217
  var entries = compoundsByAnchor.get(anchor) || [];
94
- for (var key2 in style) entries.push([key2, style[key2]]);
218
+ for (var key2 in style) {
219
+ var value = style[key2];
220
+ var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;
221
+ try {
222
+ for (var _iterator1 = chains[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {
223
+ var chain = _step1.value;
224
+ if (!chain) {
225
+ entries.push([key2, value]);
226
+ continue;
227
+ }
228
+ if (value && (typeof value === "undefined" ? "undefined" : _type_of(value)) === "object" && !Array.isArray(value) && !isVariable(value) && isConditionalObjectValue(value, isChain)) {
229
+ var composed = {};
230
+ for (var inner in value) composed[inner === "default" ? chain : `${chain}:${inner}`] = value[inner];
231
+ entries.push([key2, composed]);
232
+ continue;
233
+ }
234
+ if (typeof value === "string" && value.includes(":")) {
235
+ if (process.env.NODE_ENV === "development") console.warn(`[tamagui] compound variant "${key2}" carries a clause string and matched conditionally; dropping it. use the object form in the compound style`);
236
+ continue;
237
+ }
238
+ entries.push([key2, { [chain]: value }]);
239
+ }
240
+ } catch (err) {
241
+ _didIteratorError1 = true;
242
+ _iteratorError1 = err;
243
+ } finally {
244
+ try {
245
+ if (!_iteratorNormalCompletion1 && _iterator1.return != null) _iterator1.return();
246
+ } finally {
247
+ if (_didIteratorError1) throw _iteratorError1;
248
+ }
249
+ }
250
+ }
95
251
  compoundsByAnchor.set(anchor, entries);
96
252
  }
97
253
  } catch (err) {
@@ -378,9 +534,9 @@ var getSplitStyles = function(props, staticConfig, theme, themeName, componentSt
378
534
  if (conditionSource !== void 0) {
379
535
  if (isHostStyleKey || isContextProgramKey) contributeVariantClauseValue(styleState, key8, val2, conditionSource, mergeStyle, originalVal, !isHostStyleKey);
380
536
  else if (isHOC) {
381
- var appended = appendFlatClause(viewProps[key8], conditionSource, val2);
537
+ var appended = appendFlatClause(styleState, viewProps[key8], conditionSource, val2);
382
538
  if (appended !== void 0) viewProps[key8] = appended;
383
- else if (process.env.NODE_ENV === "development") console.warn(`[tamagui] conditional variant value for "${key8}" is not string-representable; dropping the clause`);
539
+ else if (process.env.NODE_ENV === "development") console.warn(`[tamagui] conditional variant value for "${key8}" cannot join the existing clause string; dropping the clause`);
384
540
  } else if (process.env.NODE_ENV === "development") console.warn(`[tamagui] "${key8}" is not a valid style on this component; the conditional variant value is dropped.`);
385
541
  return;
386
542
  }
@@ -424,7 +580,9 @@ var getSplitStyles = function(props, staticConfig, theme, themeName, componentSt
424
580
  console.groupEnd();
425
581
  }
426
582
  };
427
- forEachPropInForwardOrder(processedProps, staticConfig, shorthands, contributeProp);
583
+ forEachPropInForwardOrder(processedProps, staticConfig, shorthands, contributeProp, function(chain) {
584
+ return !!resolveClauseChain(styleState, chain, 0, chain.length);
585
+ });
428
586
  if (process.env.NODE_ENV === "development" && (debug === "profile" || globalThis.time)) time`split-styles-propsend`;
429
587
  var conditionalStates = styleState.flatStateKeys || null;
430
588
  var usesSafeArea = !!styleState.flatUsesSafeArea;
@@ -1 +1 @@
1
- {"version":3,"file":"getSplitStyles.native.js","names":[],"sources":["esm/helpers/getSplitStyles.native.js"],"sourcesContent":["import { isAndroid, isClient, isWeb } from \"@tamagui/constants\";\nimport { stylePropsAll, stylePropsText, stylePropsTransform, validStyles } from \"@tamagui/helpers\";\nimport React from \"react\";\nimport { STYLE_FRONTEND_PASSTHROUGH_PREFIX, STYLE_FRONTEND_PREPROCESSED } from \"./styleFrontend\";\nimport { getConfig, getFont } from \"../config\";\nimport { isDevTools } from \"../constants/isDevTools\";\nimport { mediaState } from \"./mediaState\";\nimport { fixStyles } from \"./expandStyles\";\nimport { styleToCSS } from \"./getCSSStylesAtomic\";\nimport { getDefaultProps } from \"./getDefaultProps\";\nimport { isPlainObject } from \"./isObj\";\nimport { log } from \"./log\";\nimport { normalizeValueWithProperty } from \"./normalizeValueWithProperty\";\nimport { appendFlatClause, propMapper } from \"./propMapper\";\nimport { clearDirectStyle, contributeStyleValue, contributeVariantClauseValue, flushDirectStyles, getDirectDynamicThemeAccess } from \"./directStyle\";\nimport { contributeFrontendProgram, isFrontendProgram } from \"./frontendProgram\";\nimport { skipProps } from \"./skipProps\";\nimport { sortString } from \"./sortString\";\nimport { styleOriginalValues } from \"./styleOriginalValues\";\nimport { STYLE_TOKEN_PROVENANCE_KEY, getStyleTokenProvenance, setStyleTokenProvenance } from \"./styleProvenance\";\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 shouldTrackStyleTokenProvenance = process.env.NODE_ENV === \"development\" && process.env.TAMAGUI_ENABLE_STYLE_TOKEN_PROVENANCE === \"1\";\nfunction compoundMatcherMatches(expected, actual) {\n\tif (Array.isArray(expected)) return expected.some(function(value) {\n\t\treturn Object.is(value, actual);\n\t});\n\treturn Object.is(expected, actual);\n}\nfunction compoundVariantMatches(compoundVariant, props) {\n\tfor (var key in compoundVariant) {\n\t\tif (key === \"style\") continue;\n\t\tif (!compoundMatcherMatches(compoundVariant[key], props[key])) return false;\n\t}\n\treturn true;\n}\nvar styledDefaultsCache = /* @__PURE__ */ new WeakMap();\nfunction getStyledDefaults(staticConfig) {\n\tvar entries = styledDefaultsCache.get(staticConfig);\n\tif (entries === void 0) {\n\t\tentries = null;\n\t\tvar defaults = staticConfig.defaultProps;\n\t\tif (defaults) for (var key in defaults) (entries || (entries = [])).push([key, defaults[key]]);\n\t\tstyledDefaultsCache.set(staticConfig, entries);\n\t}\n\treturn entries;\n}\nfunction contributeDisplacedStyledDefaults(styledDefaults, processedProps, shorthands, contribute) {\n\tif (!styledDefaults) return;\n\tfor (var index = 0; index < styledDefaults.length; index++) {\n\t\tvar key = styledDefaults[index][0];\n\t\tvar styledValue = styledDefaults[index][1];\n\t\tvar propValue = processedProps[key];\n\t\tif (!(key in stylePropsAll) && !(key in shorthands)) continue;\n\t\tif (propValue !== void 0 && propValue !== styledValue && (typeof styledValue === \"string\" && styledValue.includes(\":\") || typeof propValue === \"string\" && propValue.includes(\":\"))) contribute(key, styledValue);\n\t}\n}\nfunction forEachPropInForwardOrder(processedProps, staticConfig, shorthands, contribute) {\n\tvar processedBaseStyle = staticConfig.baseStyle;\n\tvar compoundVariants = staticConfig.compoundVariants;\n\tvar styledDefaults = getStyledDefaults(staticConfig);\n\tif (!(compoundVariants === null || compoundVariants === void 0 ? void 0 : compoundVariants.length)) {\n\t\tif (processedBaseStyle) for (var key in processedBaseStyle) contribute(key, processedBaseStyle[key]);\n\t\tcontributeDisplacedStyledDefaults(styledDefaults, processedProps, shorthands, contribute);\n\t\tfor (var key1 in processedProps) contribute(key1, processedProps[key1]);\n\t\treturn;\n\t}\n\tvar propEntries = Object.entries(processedProps);\n\tvar orderedEntries = processedBaseStyle ? Object.entries(processedBaseStyle) : [];\n\tcontributeDisplacedStyledDefaults(styledDefaults, processedProps, shorthands, function(k, v) {\n\t\treturn orderedEntries.push([k, v]);\n\t});\n\tvar compoundsByAnchor = /* @__PURE__ */ new Map();\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = compoundVariants[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar compoundVariant = _step.value;\n\t\t\tif (!compoundVariantMatches(compoundVariant, processedProps)) continue;\n\t\t\tvar { style } = compoundVariant;\n\t\t\tif (!isPlainObject(style)) continue;\n\t\t\tvar anchor = -1;\n\t\t\tfor (var selectorKey in compoundVariant) {\n\t\t\t\tif (selectorKey === \"style\") continue;\n\t\t\t\tfor (var index = propEntries.length - 1; index >= 0; index--) if (propEntries[index][0] === selectorKey) {\n\t\t\t\t\tanchor = Math.max(anchor, index);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar entries = compoundsByAnchor.get(anchor) || [];\n\t\t\tfor (var key2 in style) entries.push([key2, style[key2]]);\n\t\t\tcompoundsByAnchor.set(anchor, entries);\n\t\t}\n\t} catch (err) {\n\t\t_didIteratorError = true;\n\t\t_iteratorError = err;\n\t} finally {\n\t\ttry {\n\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t} finally {\n\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t}\n\t}\n\tfor (var index1 = 0; index1 < orderedEntries.length; index1++) contribute(orderedEntries[index1][0], orderedEntries[index1][1]);\n\tvar beforeProps = compoundsByAnchor.get(-1);\n\tif (beforeProps) for (var index2 = 0; index2 < beforeProps.length; index2++) contribute(beforeProps[index2][0], beforeProps[index2][1]);\n\tfor (var index3 = 0; index3 < propEntries.length; index3++) {\n\t\tcontribute(propEntries[index3][0], propEntries[index3][1]);\n\t\tvar compounds = compoundsByAnchor.get(index3);\n\t\tif (compounds) for (var i = 0; i < compounds.length; i++) contribute(compounds[i][0], compounds[i][1]);\n\t}\n}\nfunction isValidStyleKey(key, validStyles, accept) {\n\treturn Boolean(key in validStyles || isWeb && (key === \"transitionProperty\" || key === \"transitionDuration\" || key === \"transitionTimingFunction\" || key === \"transitionDelay\" || key === \"transitionBehavior\") || accept && key in accept);\n}\nvar getSplitStyles = function(props, staticConfig, theme, themeName, componentState, styleProps, parentSplitStyles, componentContext, groupContext, elementType, startedUnhydrated, debug, animationDriver) {\n\tvar _staticConfig_styleFrontend, _styleState_flatMediaKeys, _styleState_flatGroupKeys, _styleState_flatGroupMedia, _styleState_style;\n\tvar conf = getConfig();\n\tif ((_staticConfig_styleFrontend = staticConfig.styleFrontend) === null || _staticConfig_styleFrontend === void 0 ? void 0 : _staticConfig_styleFrontend.normalizeStaticConfig) staticConfig = staticConfig.styleFrontend.normalizeStaticConfig(staticConfig, conf);\n\tvar driver = animationDriver || (componentContext === null || componentContext === void 0 ? void 0 : componentContext.animationDriver) || conf.animations;\n\tvar resolvedDriver = (driver === null || driver === void 0 ? void 0 : driver.isStub) ? null : driver;\n\tif (props.passThrough) return null;\n\tif (isWeb && styleProps.isAnimated && (driver === null || driver === void 0 ? void 0 : driver.isReactNative) && !styleProps.noNormalize) styleProps.noNormalize = \"values\";\n\tvar { shorthands } = conf;\n\tvar { isHOC, isText, isInput, variants, isReactNative, inlineProps, parentStaticConfig, acceptsClassName } = staticConfig;\n\tvar viewProps = {};\n\tvar mediaState$1 = styleProps.mediaState || mediaState;\n\tvar shouldDoClasses = acceptsClassName && isWeb && !styleProps.noClass;\n\tvar rulesToInsert = void 0;\n\tvar classNames = {};\n\tprops.space;\n\tvar hasMedia = false;\n\tvar pseudoGroups;\n\tvar mediaGroups;\n\tvar className = staticConfig.passthroughClassName || \"\";\n\tif (className) shouldDoClasses = false;\n\tvar validStyles$1 = staticConfig.validStyles || (staticConfig.isText || staticConfig.isInput ? stylePropsText : validStyles);\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-setup`;\n\tvar styleState = {\n\t\tclassNames,\n\t\tconf,\n\t\tprops,\n\t\tstyleProps,\n\t\tcomponentState,\n\t\tstaticConfig,\n\t\tstyle: null,\n\t\ttheme,\n\t\tviewProps,\n\t\tcontext: componentContext,\n\t\tdebug,\n\t\tflatRulesToInsert: rulesToInsert,\n\t\tflatShouldDoClasses: shouldDoClasses,\n\t\tflatThemeName: themeName,\n\t\tflatMediaState: mediaState$1,\n\t\tflatGroupContext: groupContext,\n\t\tanimationDriver: resolvedDriver\n\t};\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`style-state`;\n\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\" && isClient) {\n\t\tif (isDevTools) {\n\t\t\tconsole.groupCollapsed(\"🔹 getSplitStyles 👇\");\n\t\t\tlog({\n\t\t\t\tprops,\n\t\t\t\tstaticConfig,\n\t\t\t\tshouldDoClasses,\n\t\t\t\tstyleProps,\n\t\t\t\trulesToInsert,\n\t\t\t\tcomponentState,\n\t\t\t\tstyleState,\n\t\t\t\ttheme: { ...theme }\n\t\t\t});\n\t\t}\n\t}\n\tvar { asChild } = props;\n\tvar { accept, neverSkipProps } = staticConfig;\n\tvar { noSkip, disableExpandShorthands, noExpand, styledContext } = styleProps;\n\tvar processedProps;\n\tvar styleFrontend = staticConfig.styleFrontend;\n\tif (styleFrontend && !props[STYLE_FRONTEND_PREPROCESSED]) processedProps = styleFrontend.preprocessProps(props, conf);\n\telse processedProps = props;\n\tvar { webContainerType } = conf.settings;\n\tvar parentVariants = parentStaticConfig === null || parentStaticConfig === void 0 ? void 0 : parentStaticConfig.variants;\n\tvar mergeStylePropAtCurrentPosition = function(styleProp) {\n\t\tif (styleProps.noMergeStyle || !styleProp) return;\n\t\tif (isHOC) {\n\t\t\tviewProps.style = normalizeStyle(styleProp);\n\t\t\treturn;\n\t\t}\n\t\tvar isArray = Array.isArray(styleProp);\n\t\tvar length = isArray ? styleProp.length : 1;\n\t\tfor (var index = 0; index < length; index++) {\n\t\t\tvar style2 = isArray ? styleProp[index] : styleProp;\n\t\t\tif (!style2) continue;\n\t\t\tif (style2[\"$$css\"]) {\n\t\t\t\tfor (var key8 in style2) clearDirectStyle(styleState, key8);\n\t\t\t\tObject.assign(styleState.classNames, style2);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tvar normalized = normalizeStyle(style2);\n\t\t\tvar styleOriginals = shouldTrackStyleTokenProvenance ? styleOriginalValues.get(style2) : void 0;\n\t\t\tfor (var key12 in normalized) {\n\t\t\t\tif (normalized[key12] == null) continue;\n\t\t\t\tcontributeStyleValue(styleState, key12, normalized[key12], mergeStyle, styleOriginals === null || styleOriginals === void 0 ? void 0 : styleOriginals[key12]);\n\t\t\t}\n\t\t}\n\t};\n\tvar flushForwardStylesToClasses = function() {\n\t\tif (!shouldDoClasses) return;\n\t\tflushDirectStyles(styleState, true);\n\t};\n\tvar contributeProp = function(keyOg, valOg) {\n\t\tvar keyInit = keyOg;\n\t\tvar valInit = valOg;\n\t\tif (styleFrontend && keyInit.startsWith(STYLE_FRONTEND_PASSTHROUGH_PREFIX)) keyInit = \"className\";\n\t\tif (keyInit === \"children\") {\n\t\t\tviewProps[keyInit] = valInit;\n\t\t\treturn;\n\t\t}\n\t\tif (keyInit === \"ref\") return;\n\t\tif (keyInit[0] === \"d\" && keyInit.startsWith(\"data-\")) return;\n\t\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`before-prop-${keyInit}`;\n\t\tif (process.env.NODE_ENV === \"test\" && keyInit === \"jestAnimatedStyle\") return;\n\t\tif (keyInit === \"transition\" || keyInit === \"transitionProperty\" || keyInit === \"transitionDuration\" || keyInit === \"transitionTimingFunction\" || keyInit === \"transitionDelay\" || keyInit === \"transitionBehavior\") return;\n\t\tif (accept) {\n\t\t\tvar accepted = accept[keyInit];\n\t\t\tif ((accepted === \"style\" || accepted === \"textStyle\") && valInit && (typeof valInit === \"undefined\" ? \"undefined\" : _type_of(valInit)) === \"object\") {\n\t\t\t\tviewProps[keyInit] = getSubStyle(styleState, keyInit, valInit, styleProps.noClass);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tif (!disableExpandShorthands) {\n\t\t\tif (keyInit in shorthands) keyInit = shorthands[keyInit];\n\t\t}\n\t\tif (keyInit === \"className\") {\n\t\t\tif (typeof valInit === \"string\" && valInit) {\n\t\t\t\tclassName = `${className} ${valInit}`.trim();\n\t\t\t\tif (styleFrontend) {\n\t\t\t\t\tflushForwardStylesToClasses();\n\t\t\t\t\tshouldDoClasses = false;\n\t\t\t\t\tstyleState.flatShouldDoClasses = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tif (keyInit === \"style\") {\n\t\t\tmergeStylePropAtCurrentPosition(valInit);\n\t\t\treturn;\n\t\t}\n\t\tif (asChild) {\n\t\t\tvar defaults = getDefaultProps(staticConfig);\n\t\t\tif (defaults) {\n\t\t\t\tvar _defaults_keyOg;\n\t\t\t\tvar defaultVal = (_defaults_keyOg = defaults[keyOg]) !== null && _defaults_keyOg !== void 0 ? _defaults_keyOg : defaults[keyInit];\n\t\t\t\tif (defaultVal !== void 0 && valInit === defaultVal) return;\n\t\t\t}\n\t\t}\n\t\tif (keyInit in skipProps && !noSkip && !isHOC && !(neverSkipProps === null || neverSkipProps === void 0 ? void 0 : neverSkipProps[keyInit])) {\n\t\t\tif (keyInit === \"group\");\n\t\t\tif (keyInit === \"container\" && valInit) {}\n\t\t\tif (keyInit === \"transition\" && typeof valInit === \"string\") {\n\t\t\t\tvar _driver_animations;\n\t\t\t\tvar animationConfig = driver === null || driver === void 0 ? void 0 : (_driver_animations = driver.animations) === null || _driver_animations === void 0 ? void 0 : _driver_animations[valInit];\n\t\t\t\tif (animationConfig && (driver === null || driver === void 0 ? void 0 : driver.outputStyle) === \"css\" && process.env.IS_STATIC === \"is_static\") valInit = `all ${animationConfig}`;\n\t\t\t\telse if (animationConfig) return;\n\t\t\t} else return;\n\t\t}\n\t\tif (isFrontendProgram(valInit)) {\n\t\t\tif (isValidStyleKey(valInit.property, validStyles$1, accept)) contributeFrontendProgram(styleState, valInit, mergeStyle);\n\t\t\telse if (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${valInit.property}\" is not a valid style on this component; the frontend value is dropped.`);\n\t\t\treturn;\n\t\t}\n\t\tvar isValidStyleKeyInit = isValidStyleKey(keyInit, validStyles$1, accept);\n\t\tif (isWeb) {\n\t\t\tvar _driver_View;\n\t\t\tif ((staticConfig.isReactNative || styleProps.isAnimated && (driver === null || driver === void 0 ? void 0 : driver.isReactNative) && !((_driver_View = driver.View) === null || _driver_View === void 0 ? void 0 : _driver_View.acceptRenderProp)) && keyInit.startsWith(\"data-\")) {\n\t\t\t\tvar _viewProps2, _dataSet;\n\t\t\t\tkeyInit = keyInit.replace(\"data-\", \"\");\n\t\t\t\t(_viewProps2 = viewProps)[_dataSet = \"dataSet\"] || (_viewProps2[_dataSet] = {});\n\t\t\t\tviewProps[\"dataSet\"][keyInit] = valInit;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (keyInit.startsWith(\"data-\")) {\n\t\t\t\tviewProps[keyInit] = valInit;\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tif (!isValidStyleKeyInit) {\n\t\t\tif (!isAndroid) {\n\t\t\t\tif (keyInit === \"elevationAndroid\") return;\n\t\t\t}\n\t\t\tif (keyInit === \"userSelect\") {\n\t\t\t\tkeyInit = \"selectable\";\n\t\t\t\tvalInit = valInit !== \"none\";\n\t\t\t} else if (keyInit === \"textOverflow\") {\n\t\t\t\tif (isText && valInit === \"ellipsis\") {\n\t\t\t\t\tvar _viewProps1, _viewProps22;\n\t\t\t\t\tvar _numberOfLines;\n\t\t\t\t\t(_numberOfLines = (_viewProps1 = viewProps).numberOfLines) !== null && _numberOfLines !== void 0 || (_viewProps1.numberOfLines = 1);\n\t\t\t\t\tvar _ellipsizeMode;\n\t\t\t\t\t(_ellipsizeMode = (_viewProps22 = viewProps).ellipsizeMode) !== null && _ellipsizeMode !== void 0 || (_viewProps22.ellipsizeMode = \"tail\");\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t} else if (keyInit.startsWith(\"data-\")) return;\n\t\t}\n\t\tvar isVariant = !isValidStyleKeyInit && variants && keyInit in variants;\n\t\tvar isStyleLikeKey = isValidStyleKeyInit || isVariant;\n\t\tvar isStyleProp = isValidStyleKeyInit || isVariant && !noExpand;\n\t\tif (isStyleProp && (asChild === \"except-style\" || asChild === \"except-style-web\")) return;\n\t\tvar shouldPassProp = !isStyleProp && isHOC || isHOC && parentVariants && keyInit in parentVariants || (inlineProps === null || inlineProps === void 0 ? void 0 : inlineProps.has(keyInit));\n\t\tvar parentVariant = parentVariants === null || parentVariants === void 0 ? void 0 : parentVariants[keyInit];\n\t\tvar isHOCShouldPassThrough = Boolean(isHOC && (isValidStyleKeyInit || parentVariant || keyInit in skipProps));\n\t\tvar shouldPassThrough = shouldPassProp || isHOCShouldPassThrough;\n\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\tconsole.groupCollapsed(` \\u{1F511} ${keyOg}${keyInit !== keyOg ? ` (shorthand for ${keyInit})` : \"\"} ${shouldPassThrough ? \"(pass)\" : \"\"}`);\n\t\t\tlog({\n\t\t\t\tisVariant,\n\t\t\t\tvalInit,\n\t\t\t\tshouldPassProp\n\t\t\t});\n\t\t\tif (isClient) log({\n\t\t\t\tvariants,\n\t\t\t\tvariant: variants === null || variants === void 0 ? void 0 : variants[keyInit],\n\t\t\t\tisVariant,\n\t\t\t\tisHOCShouldPassThrough,\n\t\t\t\tparentStaticConfig\n\t\t\t});\n\t\t}\n\t\tif (shouldPassThrough) {\n\t\t\tpassDownProp(viewProps, keyInit, valInit);\n\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") console.groupEnd();\n\t\t\tif (!isVariant) return;\n\t\t}\n\t\tif (!noSkip && !(neverSkipProps === null || neverSkipProps === void 0 ? void 0 : neverSkipProps[keyInit])) {\n\t\t\tvar _driver_animations1;\n\t\t\tif (keyInit in skipProps && !(keyInit === \"transition\" && typeof valInit === \"string\" && !(driver === null || driver === void 0 ? void 0 : (_driver_animations1 = driver.animations) === null || _driver_animations1 === void 0 ? void 0 : _driver_animations1[valInit]))) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") console.groupEnd();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tif (isText || isInput) {\n\t\t\tif (valInit && (keyInit === \"fontFamily\" || keyInit === shorthands[\"fontFamily\"]) && valInit in conf.fontsParsed) styleState.fontFamily = valInit;\n\t\t}\n\t\tvar disablePropMap = !isStyleLikeKey;\n\t\tif (!isHOC && isValidStyleKeyInit && valInit != null && !(valInit === \"unset\") && !(variants && keyInit in variants) && !(accept && keyInit in accept) && !(styledContext && keyInit in styledContext)) {\n\t\t\tcontributeStyleValue(styleState, keyInit, valInit, mergeStyle);\n\t\t\treturn;\n\t\t}\n\t\tpropMapper(keyInit, valInit, styleState, disablePropMap, function(key8, val2, originalVal, conditionSource) {\n\t\t\tvar _parentStaticConfig_variants;\n\t\t\tvar isStyledContextProp = styledContext && key8 in styledContext;\n\t\t\tif (key8 === \"className\") {\n\t\t\t\tif (typeof val2 === \"string\" && val2) className = `${className} ${val2}`.trim();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!isHOC && disablePropMap && !isStyledContextProp) {\n\t\t\t\tif (key8 in stylePropsAll && !isValidStyleKey(key8, validStyles$1, accept)) {\n\t\t\t\t\tif (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key8}\" is a text style prop and this component is not text \\u2014 it would render on neither platform. Use a Text-based component, or html.* for raw web elements.`);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tviewProps[key8] = val2;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\t\tconsole.groupCollapsed(\" 💠 expanded\", keyInit, \"=>\", key8);\n\t\t\t\tlog(val2);\n\t\t\t\tconsole.groupEnd();\n\t\t\t}\n\t\t\tif (val2 == null) return;\n\t\t\tif (accept && key8 in accept) {\n\t\t\t\tviewProps[key8] = val2;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar isHostStyleKey = !isHOC && isValidStyleKey(key8, validStyles$1, accept) || isAndroid && key8 === \"elevation\";\n\t\t\tvar isContextProgramKey = !isHOC && Boolean(isStyledContextProp);\n\t\t\tif (conditionSource !== void 0) {\n\t\t\t\tif (isHostStyleKey || isContextProgramKey) contributeVariantClauseValue(styleState, key8, val2, conditionSource, mergeStyle, originalVal, !isHostStyleKey);\n\t\t\t\telse if (isHOC) {\n\t\t\t\t\tvar appended = appendFlatClause(viewProps[key8], conditionSource, val2);\n\t\t\t\t\tif (appended !== void 0) viewProps[key8] = appended;\n\t\t\t\t\telse if (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] conditional variant value for \"${key8}\" is not string-representable; dropping the clause`);\n\t\t\t\t} else if (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key8}\" is not a valid style on this component; the conditional variant value is dropped.`);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (isHostStyleKey || isContextProgramKey) {\n\t\t\t\tcontributeStyleValue(styleState, key8, val2, mergeStyle, originalVal, !isHostStyleKey);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tisVariant = variants && key8 in variants;\n\t\t\tif (inlineProps === null || inlineProps === void 0 ? void 0 : inlineProps.has(key8)) {\n\t\t\t\tvar _props_key;\n\t\t\t\tviewProps[key8] = (_props_key = props[key8]) !== null && _props_key !== void 0 ? _props_key : val2;\n\t\t\t}\n\t\t\tif (isHOC && Boolean(parentStaticConfig === null || parentStaticConfig === void 0 ? void 0 : (_parentStaticConfig_variants = parentStaticConfig.variants) === null || _parentStaticConfig_variants === void 0 ? void 0 : _parentStaticConfig_variants[keyInit])) {\n\t\t\t\tpassDownProp(viewProps, key8, val2);\n\t\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\t\t\tconsole.groupCollapsed(` - passing down prop ${key8}`);\n\t\t\t\t\tlog({\n\t\t\t\t\t\tval: val2,\n\t\t\t\t\t\tafter: { ...viewProps[key8] }\n\t\t\t\t\t});\n\t\t\t\t\tconsole.groupEnd();\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!isVariant) {\n\t\t\t\tif (isStyledContextProp) return;\n\t\t\t\tif (key8 in stylePropsAll && !isValidStyleKey(key8, validStyles$1, accept)) {\n\t\t\t\t\tif (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key8}\" is a text style prop and this component is not text \\u2014 it would render on neither platform. Use a Text-based component, or html.* for raw web elements.`);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tviewProps[key8] = val2;\n\t\t\t}\n\t\t});\n\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\ttry {\n\t\t\t\tlog(` \\u2714\\uFE0F expand complete`, keyInit);\n\t\t\t\tlog(\"style\", { ...styleState.style });\n\t\t\t\tlog(\"viewProps\", { ...viewProps });\n\t\t\t\tlog(\"transforms\", { ...styleState.flatTransforms });\n\t\t\t} catch (e) {}\n\t\t\tconsole.groupEnd();\n\t\t}\n\t};\n\tforEachPropInForwardOrder(processedProps, staticConfig, shorthands, contributeProp);\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-propsend`;\n\tvar conditionalStates = styleState.flatStateKeys || null;\n\tvar usesSafeArea = !!styleState.flatUsesSafeArea;\n\tif ((_styleState_flatMediaKeys = styleState.flatMediaKeys) === null || _styleState_flatMediaKeys === void 0 ? void 0 : _styleState_flatMediaKeys.size) {\n\t\tif (!hasMedia) hasMedia = /* @__PURE__ */ new Set();\n\t\tif (typeof hasMedia !== \"boolean\") {\n\t\t\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\t\t\ttry {\n\t\t\t\tfor (var _iterator = styleState.flatMediaKeys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\t\t\tvar key = _step.value;\n\t\t\t\t\thasMedia.add(key);\n\t\t\t\t}\n\t\t\t} catch (err) {\n\t\t\t\t_didIteratorError = true;\n\t\t\t\t_iteratorError = err;\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t\t\t} finally {\n\t\t\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tif ((_styleState_flatGroupKeys = styleState.flatGroupKeys) === null || _styleState_flatGroupKeys === void 0 ? void 0 : _styleState_flatGroupKeys.size) {\n\t\tpseudoGroups || (pseudoGroups = /* @__PURE__ */ new Set());\n\t\tvar _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator1 = styleState.flatGroupKeys[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {\n\t\t\t\tvar key1 = _step1.value;\n\t\t\t\tpseudoGroups.add(key1);\n\t\t\t}\n\t\t} catch (err) {\n\t\t\t_didIteratorError1 = true;\n\t\t\t_iteratorError1 = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion1 && _iterator1.return != null) _iterator1.return();\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError1) throw _iteratorError1;\n\t\t\t}\n\t\t}\n\t}\n\tif ((_styleState_flatGroupMedia = styleState.flatGroupMedia) === null || _styleState_flatGroupMedia === void 0 ? void 0 : _styleState_flatGroupMedia.size) {\n\t\tmediaGroups || (mediaGroups = /* @__PURE__ */ new Set());\n\t\tvar _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator2 = styleState.flatGroupMedia[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n\t\t\t\tvar key2 = _step2.value;\n\t\t\t\tmediaGroups.add(key2);\n\t\t\t}\n\t\t} catch (err) {\n\t\t\t_didIteratorError2 = true;\n\t\t\t_iteratorError2 = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion2 && _iterator2.return != null) _iterator2.return();\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError2) throw _iteratorError2;\n\t\t\t}\n\t\t}\n\t}\n\tvar effectiveTransition = (_styleState_style = styleState.style) === null || _styleState_style === void 0 ? void 0 : _styleState_style.transition;\n\tif (effectiveTransition != null && styleState.style && true) delete styleState.style.transition;\n\tif (styleState.style) {\n\t\tif (\"containerType\" in styleState.style) delete styleState.style.containerType;\n\t\tif (\"containerName\" in styleState.style) delete styleState.style.containerName;\n\t}\n\tif (!(styleProps.noNormalize === false)) {\n\t\tif (styleState.style) {\n\t\t\tfixStyles(styleState.style);\n\t\t\tif (!styleProps.noExpand && !styleProps.noMergeStyle) {\n\t\t\t\tif (isWeb && (isReactNative ? (driver === null || driver === void 0 ? void 0 : driver.inputStyle) !== \"css\" : true)) styleToCSS(styleState.style);\n\t\t\t}\n\t\t}\n\t\tif (styleState.flatTransforms) {\n\t\t\tvar _styleState;\n\t\t\t(_styleState = styleState).style || (_styleState.style = {});\n\t\t\tmergeFlatTransforms(styleState.style, styleState.flatTransforms);\n\t\t}\n\t\tif (parentSplitStyles) {\n\t\t\tif (!shouldDoClasses) for (var key4 in parentSplitStyles.style) {\n\t\t\t\tvar _styleState1;\n\t\t\t\tif (key4 in classNames || styleState.style && key4 in styleState.style) continue;\n\t\t\t\t(_styleState1 = styleState).style || (_styleState1.style = {});\n\t\t\t\tstyleState.style[key4] = parentSplitStyles.style[key4];\n\t\t\t}\n\t\t}\n\t}\n\tif (viewProps.tabIndex === 0) {\n\t\tvar _viewProps;\n\t\tvar _accessible;\n\t\t(_accessible = (_viewProps = viewProps).accessible) !== null && _accessible !== void 0 || (_viewProps.accessible = true);\n\t}\n\tvar style = styleState.style;\n\tif (style === null || style === void 0 ? void 0 : style.fontFamily) {\n\t\tvar _getFont;\n\t\tvar faceInfo = (_getFont = getFont(style.fontFamily)) === null || _getFont === void 0 ? void 0 : _getFont.face;\n\t\tif (faceInfo) {\n\t\t\tvar _faceInfo_style_fontWeight_, _faceInfo_style_fontWeight;\n\t\t\tvar overrideFace = (_faceInfo_style_fontWeight = faceInfo[style.fontWeight]) === null || _faceInfo_style_fontWeight === void 0 ? void 0 : (_faceInfo_style_fontWeight_ = _faceInfo_style_fontWeight[style.fontStyle || \"normal\"]) === null || _faceInfo_style_fontWeight_ === void 0 ? void 0 : _faceInfo_style_fontWeight_.val;\n\t\t\tif (overrideFace) {\n\t\t\t\tstyle.fontFamily = overrideFace;\n\t\t\t\tstyleState.fontFamily = overrideFace;\n\t\t\t\tdelete style.fontWeight;\n\t\t\t\tdelete style.fontStyle;\n\t\t\t}\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && debug && debug !== \"profile\") log(`Found fontFamily native: ${style.fontFamily}`, faceInfo);\n\t}\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-pre-result`;\n\tif (shouldTrackStyleTokenProvenance && styleState.style && styleState.tokenProvenance) {\n\t\tvar provenance = {};\n\t\tvar hasProvenance = false;\n\t\tfor (var key5 in styleState.tokenProvenance) {\n\t\t\tprovenance[key5] = {\n\t\t\t\ttoken: styleState.tokenProvenance[key5],\n\t\t\t\ttheme: themeName\n\t\t\t};\n\t\t\thasProvenance = true;\n\t\t}\n\t\tif (hasProvenance) setStyleTokenProvenance(styleState.style, provenance);\n\t}\n\tvar result = {\n\t\thasMedia,\n\t\tfontFamily: styleState.fontFamily,\n\t\tviewProps,\n\t\tstyle: styleState.style,\n\t\tclassNames,\n\t\trulesToInsert,\n\t\tpseudoGroups,\n\t\tmediaGroups,\n\t\toverriddenContextProps: styleState.overriddenContextProps\n\t};\n\tif (effectiveTransition != null) result.effectiveTransition = effectiveTransition;\n\tif (conditionalStates) result.programStates = conditionalStates;\n\tif (usesSafeArea) result.usesSafeArea = true;\n\tif (getDirectDynamicThemeAccess(styleState)) result.dynamicThemeAccess = true;\n\tif (styleState.flatEnterKeys || styleState.flatExitKeys) {\n\t\tvar effectiveKeys = function(keys) {\n\t\t\tif (!keys) return;\n\t\t\tvar out = /* @__PURE__ */ new Set();\n\t\t\tvar _iteratorNormalCompletion4 = true, _didIteratorError4 = false, _iteratorError4 = void 0;\n\t\t\ttry {\n\t\t\t\tfor (var _iterator4 = keys[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {\n\t\t\t\t\tvar key8 = _step4.value;\n\t\t\t\t\tout.add(key8 === \"--t-x\" || key8 === \"--t-y\" ? \"translate\" : key8 === \"--t-scale-x\" || key8 === \"--t-scale-y\" ? \"scale\" : key8);\n\t\t\t\t}\n\t\t\t} catch (err) {\n\t\t\t\t_didIteratorError4 = true;\n\t\t\t\t_iteratorError4 = err;\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tif (!_iteratorNormalCompletion4 && _iterator4.return != null) _iterator4.return();\n\t\t\t\t} finally {\n\t\t\t\t\tif (_didIteratorError4) throw _iteratorError4;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn out;\n\t\t};\n\t\tresult.programLifecycleStyleKeys = {\n\t\t\tenter: effectiveKeys(styleState.flatEnterKeys),\n\t\t\texit: effectiveKeys(styleState.flatExitKeys)\n\t\t};\n\t}\n\tvar asChildExceptStyleLike = asChild === \"except-style\" || asChild === \"except-style-web\";\n\tif (!styleProps.noMergeStyle) {\n\t\tif (!asChildExceptStyleLike) {\n\t\t\tvar style1 = styleState.style;\n\t\t\tif (style1) viewProps.style = style1;\n\t\t}\n\t}\n\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\tif (isClient && isDevTools) {\n\t\t\tconsole.groupEnd();\n\t\t\tconsole.groupCollapsed(\"🔹 getSplitStyles ===>\");\n\t\t\ttry {\n\t\t\t\tvar logs = {\n\t\t\t\t\t...props.__tamaguiStyleDebugReceipt && { receipt: props.__tamaguiStyleDebugReceipt },\n\t\t\t\t\t...result,\n\t\t\t\t\tclassName,\n\t\t\t\t\tcomponentState,\n\t\t\t\t\tviewProps,\n\t\t\t\t\trulesToInsert,\n\t\t\t\t\tparentSplitStyles\n\t\t\t\t};\n\t\t\t\tfor (var key7 in logs) log(key7, logs[key7]);\n\t\t\t} catch (e) {}\n\t\t\tconsole.groupEnd();\n\t\t}\n\t}\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-done`;\n\treturn result;\n};\nfunction mergeFlatTransforms(target, flatTransforms) {\n\tvar transform = [];\n\tif (\"x\" in flatTransforms) transform.push({ translateX: flatTransforms.x });\n\tif (\"y\" in flatTransforms) transform.push({ translateY: flatTransforms.y });\n\tif (\"rotate\" in flatTransforms) transform.push({ rotate: flatTransforms.rotate });\n\tvar hasScaleX = \"scaleX\" in flatTransforms;\n\tvar hasScaleY = \"scaleY\" in flatTransforms;\n\tif (hasScaleX && hasScaleY && Object.is(flatTransforms.scaleX, flatTransforms.scaleY)) transform.push({ scale: flatTransforms.scaleX });\n\telse {\n\t\tif (hasScaleX) transform.push({ scaleX: flatTransforms.scaleX });\n\t\tif (hasScaleY) transform.push({ scaleY: flatTransforms.scaleY });\n\t\tif (!hasScaleX && !hasScaleY && \"scale\" in flatTransforms) transform.push({ scale: flatTransforms.scale });\n\t}\n\tvar keys = [];\n\tfor (var key in flatTransforms) if (key !== \"x\" && key !== \"y\" && key !== \"rotate\" && key !== \"scale\" && key !== \"scaleX\" && key !== \"scaleY\") keys.push(key);\n\tkeys.sort(sortString);\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = keys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar key1 = _step.value;\n\t\t\ttransform.push({ [mapTransformKeys[key1] || key1]: flatTransforms[key1] });\n\t\t}\n\t} catch (err) {\n\t\t_didIteratorError = true;\n\t\t_iteratorError = err;\n\t} finally {\n\t\ttry {\n\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t} finally {\n\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t}\n\t}\n\tif (Array.isArray(target.transform)) transform.push(...target.transform);\n\ttarget.transform = transform;\n}\nfunction mergeStyle(styleState, key, val, _importance) {\n\tvar disableNormalize = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : false, originalVal = arguments.length > 5 ? arguments[5] : void 0;\n\tvar _staticConfig_parentStaticConfig, _staticConfig_parentStaticConfig1, _staticConfig_parentStaticConfig2, _contextConfig_propKeys;\n\tvar { viewProps, styleProps, staticConfig } = styleState;\n\tvar contextConfig = staticConfig.context || ((_staticConfig_parentStaticConfig = staticConfig.parentStaticConfig) === null || _staticConfig_parentStaticConfig === void 0 ? void 0 : _staticConfig_parentStaticConfig.context);\n\tvar contextProps = contextConfig === null || contextConfig === void 0 ? void 0 : contextConfig.props;\n\tvar inheritedContextPropKeys = !staticConfig.context || staticConfig.context === ((_staticConfig_parentStaticConfig1 = staticConfig.parentStaticConfig) === null || _staticConfig_parentStaticConfig1 === void 0 ? void 0 : _staticConfig_parentStaticConfig1.context) ? (_staticConfig_parentStaticConfig2 = staticConfig.parentStaticConfig) === null || _staticConfig_parentStaticConfig2 === void 0 ? void 0 : _staticConfig_parentStaticConfig2.contextProps : void 0;\n\tvar contextPropKeys = staticConfig.contextProps || inheritedContextPropKeys;\n\tif (contextProps && key in contextProps || (contextPropKeys === null || contextPropKeys === void 0 ? void 0 : contextPropKeys.includes(key)) || (contextConfig === null || contextConfig === void 0 ? void 0 : (_contextConfig_propKeys = contextConfig.propKeys) === null || _contextConfig_propKeys === void 0 ? void 0 : _contextConfig_propKeys.includes(key))) {\n\t\tvar _styleState_originalContextPropValues;\n\t\tvar _styleState;\n\t\t(_styleState = styleState).overriddenContextProps || (_styleState.overriddenContextProps = {});\n\t\tvar originalFromState = (_styleState_originalContextPropValues = styleState.originalContextPropValues) === null || _styleState_originalContextPropValues === void 0 ? void 0 : _styleState_originalContextPropValues[key];\n\t\tvar _ref;\n\t\tstyleState.overriddenContextProps[key] = (_ref = originalVal !== null && originalVal !== void 0 ? originalVal : originalFromState) !== null && _ref !== void 0 ? _ref : val;\n\t}\n\tif (key in stylePropsTransform) {\n\t\tvar _styleState1;\n\t\t(_styleState1 = styleState).flatTransforms || (_styleState1.flatTransforms = {});\n\t\tstyleState.flatTransforms[key] = val;\n\t} else {\n\t\tvar out = isWeb && !disableNormalize && !styleProps.noNormalize ? normalizeValueWithProperty(val, key) : val;\n\t\tif (staticConfig.accept && key in staticConfig.accept) viewProps[key] = out;\n\t\telse {\n\t\t\tvar _styleState2;\n\t\t\t(_styleState2 = styleState).style || (_styleState2.style = {});\n\t\t\tstyleState.style[key] = key === \"transform\" && Array.isArray(out) ? [...out] : out;\n\t\t\tif (shouldTrackStyleTokenProvenance) recordStyleTokenProvenance(styleState, key, originalVal);\n\t\t}\n\t}\n}\nfunction recordStyleTokenProvenance(styleState, key, originalVal) {\n\tvar _styleState_conf_themes;\n\tvar tokenName = typeof originalVal === \"string\" ? originalVal : \"\";\n\tif (tokenName) {\n\t\tvar slash = tokenName.lastIndexOf(\"/\");\n\t\tvar opacity = slash === -1 ? NaN : Number(tokenName.slice(slash + 1));\n\t\tif (Number.isInteger(opacity) && opacity >= 0 && opacity <= 100) tokenName = tokenName.slice(0, slash);\n\t}\n\tif (tokenName !== \"\" && (Object.prototype.hasOwnProperty.call(styleState.theme, tokenName) || Object.prototype.hasOwnProperty.call(((_styleState_conf_themes = styleState.conf.themes) === null || _styleState_conf_themes === void 0 ? void 0 : _styleState_conf_themes[styleState.flatThemeName || \"\"]) || {}, tokenName) || Object.values(styleState.conf.tokensParsed).some(function(category) {\n\t\treturn Object.prototype.hasOwnProperty.call(category, tokenName);\n\t}))) {\n\t\tvar _styleState;\n\t\t((_styleState = styleState).tokenProvenance || (_styleState.tokenProvenance = {}))[key] = originalVal;\n\t} else if (styleState.tokenProvenance && key in styleState.tokenProvenance) delete styleState.tokenProvenance[key];\n}\nvar getSubStyle = function(styleState, _subKey, styleIn, avoidMergeTransform) {\n\tvar { staticConfig, conf, styleProps } = styleState;\n\tvar styleOut = {};\n\tvar originalValues;\n\tvar styleInOriginalValues = styleOriginalValues.get(styleIn);\n\tvar parentProps = styleState.props;\n\tstyleState.props = Object.create(parentProps, Object.getOwnPropertyDescriptors(styleIn));\n\ttry {\n\t\tvar _loop = function(key1) {\n\t\t\tvar val = styleIn[key1];\n\t\t\tkey1 = conf.shorthands[key1] || key1;\n\t\t\tif (!staticConfig.isHOC && key1 in skipProps && !styleProps.noSkip) return key = key1, \"continue\";\n\t\t\tpropMapper(key1, val, styleState, false, function(skey, sval, originalVal) {\n\t\t\t\tvar _styleInOriginalValues_skey;\n\t\t\t\tvar trackedOriginalVal = (_styleInOriginalValues_skey = styleInOriginalValues === null || styleInOriginalValues === void 0 ? void 0 : styleInOriginalValues[skey]) !== null && _styleInOriginalValues_skey !== void 0 ? _styleInOriginalValues_skey : originalVal;\n\t\t\t\tif (trackedOriginalVal !== void 0) {\n\t\t\t\t\toriginalValues || (originalValues = {});\n\t\t\t\t\toriginalValues[skey] = trackedOriginalVal;\n\t\t\t\t}\n\t\t\t\tif (!avoidMergeTransform && skey in stylePropsTransform) mergeTransform(styleOut, skey, sval);\n\t\t\t\telse styleOut[skey] = styleProps.noNormalize ? sval : normalizeValueWithProperty(sval, key1);\n\t\t\t});\n\t\t\tkey = key1;\n\t\t};\n\t\tfor (var key in styleIn) _loop(key);\n\t} finally {\n\t\tstyleState.props = parentProps;\n\t}\n\tif (!avoidMergeTransform) {\n\t\tvar _styleState_style;\n\t\tvar parentTransform = (_styleState_style = styleState.style) === null || _styleState_style === void 0 ? void 0 : _styleState_style.transform;\n\t\tvar flatTransforms = styleState.flatTransforms;\n\t\tvar styleOutTransform = styleOut.transform;\n\t\tif (Array.isArray(styleOutTransform) && styleOutTransform.length) {\n\t\t\tvar len = styleOutTransform.length;\n\t\t\tif (Array.isArray(parentTransform)) {\n\t\t\t\tvar merged = [];\n\t\t\t\touter: for (var i = 0; i < parentTransform.length; i++) {\n\t\t\t\t\tvar pt = parentTransform[i];\n\t\t\t\t\tfor (var pk in pt) {\n\t\t\t\t\t\tfor (var j = 0; j < len; j++) for (var sk in styleOutTransform[j]) {\n\t\t\t\t\t\t\tif (pk === sk) continue outer;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmerged.push(pt);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor (var i1 = 0; i1 < len; i1++) merged.push(styleOutTransform[i1]);\n\t\t\t\tstyleOut.transform = merged;\n\t\t\t}\n\t\t\tif (flatTransforms) outer: for (var fk in flatTransforms) {\n\t\t\t\tvar ck = fk === \"x\" ? \"translateX\" : fk === \"y\" ? \"translateY\" : fk;\n\t\t\t\tfor (var j1 = 0; j1 < len; j1++) for (var sk1 in styleOutTransform[j1]) {\n\t\t\t\t\tif (ck === sk1) continue outer;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tmergeTransform(styleOut, fk, flatTransforms[fk]);\n\t\t\t}\n\t\t} else if (flatTransforms) mergeFlatTransforms(styleOut, flatTransforms);\n\t}\n\tif (!styleProps.noNormalize) fixStyles(styleOut);\n\tif (originalValues) styleOriginalValues.set(styleOut, originalValues);\n\treturn styleOut;\n};\nisWeb && React.useInsertionEffect;\nvar useSplitStyles = function(a, b, c, d, e, f, g, h, i, j, k, l, m) {\n\t\"use no memo\";\n\treturn getSplitStyles(a, b, c, d, e, f, g, h, i, j, k, l, m);\n};\nvar mergeTransform = function(obj, key, val) {\n\tvar backwards = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;\n\tvar _obj;\n\tif (typeof obj.transform === \"string\") return;\n\t(_obj = obj).transform || (_obj.transform = []);\n\tobj.transform[backwards ? \"unshift\" : \"push\"]({ [mapTransformKeys[key] || key]: val });\n};\nvar mapTransformKeys = {\n\tx: \"translateX\",\n\ty: \"translateY\"\n};\nfunction passDownProp(viewProps, key, val) {\n\tviewProps[key] = val;\n}\nfunction normalizeStyle(style) {\n\tvar out = {};\n\tfor (var key in style) {\n\t\tvar val = style[key];\n\t\tif (key in stylePropsTransform) mergeTransform(out, key, val);\n\t\telse out[key] = normalizeValueWithProperty(val, key);\n\t}\n\tif (isWeb && Array.isArray(out.transform)) out.transform = transformsToString(out.transform);\n\tfixStyles(out);\n\treturn out;\n}\n\nexport { STYLE_TOKEN_PROVENANCE_KEY, getSplitStyles, getStyleTokenProvenance, getSubStyle, isValidStyleKey, styleOriginalValues, useSplitStyles };"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAsBA,SAAS,SAAS,KAAK;CACtB;CACA,OAAO,OAAO,OAAO,WAAW,eAAe,IAAI,gBAAgB,SAAS,WAAW,OAAO;AAC/F;AACA,IAAI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AQ;CAC/C,IAAI,gBAAgB,oBAAoB,IAAI,UAAU,cAAc;CACpE,OAAO;AACR;AACA,SAAS,MAAM;AACf,IAAI,iBAAiB,SAAS,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG;CACpE;CACA,OAAO,eAAe,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAC5D;AACA,IAAI,iBAAiB,SAAS,KAAK,KAAK,KAAK;CAC5C,IAAI,YAAY,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK;CACjF,IAAI;CACJ,IAAI,OAAO,IAAI,cAAc,UAAU;CACvC,CAAC,OAAO,IAAG,CAAE,cAAc,KAAK,YAAY,CAAC;CAC7C,IAAI,UAAU,YAAY,YAAY,OAAO,CAAC,GAAG,iBAAiB,QAAQ,MAAM,IAAI,CAAC;AACtF;AACA,IAAI,mBAAmB;CACtB,GAAG;CACH,GAAG;AACJ;AACA,SAAS,aAAa,WAAW,KAAK,KAAK;CAC1C,UAAU,OAAO;AAClB;AACA,SAAS,eAAe,OAAO;CAC9B,IAAI,MAAM,CAAC;CACX,KAAK,IAAI,OAAO,OAAO;EACtB,IAAI,MAAM,MAAM;EAChB,IAAI,OAAO,qBAAqB,eAAe,KAAK,KAAK,GAAG;OACvD,IAAI,OAAO,2BAA2B,KAAK,GAAG;CACpD;CACA,IAAI,SAAS,MAAM,QAAQ,IAAI,SAAS,GAAG,IAAI,YAAY,mBAAmB,IAAI,SAAS;CAC3F,UAAU,GAAG;CACb,OAAO;AACR"}
1
+ {"version":3,"file":"getSplitStyles.native.js","names":[],"sources":["esm/helpers/getSplitStyles.native.js"],"sourcesContent":["import { isAndroid, isClient, isWeb } from \"@tamagui/constants\";\nimport { stylePropsAll, stylePropsText, stylePropsTransform, validStyles } from \"@tamagui/helpers\";\nimport React from \"react\";\nimport { STYLE_FRONTEND_PASSTHROUGH_PREFIX, STYLE_FRONTEND_PREPROCESSED } from \"./styleFrontend\";\nimport { getConfig, getFont } from \"../config\";\nimport { isVariable } from \"../createVariable\";\nimport { isDevTools } from \"../constants/isDevTools\";\nimport { mediaState } from \"./mediaState\";\nimport { scanFlatValue } from \"@tamagui/style-grammar/runtime\";\nimport { fixStyles } from \"./expandStyles\";\nimport { styleToCSS } from \"./getCSSStylesAtomic\";\nimport { getDefaultProps } from \"./getDefaultProps\";\nimport { isPlainObject } from \"./isObj\";\nimport { log } from \"./log\";\nimport { normalizeValueWithProperty } from \"./normalizeValueWithProperty\";\nimport { appendFlatClause, propMapper } from \"./propMapper\";\nimport { clearDirectStyle, contributeStyleValue, contributeVariantClauseValue, flushDirectStyles, getDirectDynamicThemeAccess, resolveClauseChain } from \"./directStyle\";\nimport { contributeFrontendProgram, isFrontendProgram } from \"./frontendProgram\";\nimport { skipProps } from \"./skipProps\";\nimport { sortString } from \"./sortString\";\nimport { styleOriginalValues } from \"./styleOriginalValues\";\nimport { STYLE_TOKEN_PROVENANCE_KEY, getStyleTokenProvenance, setStyleTokenProvenance } from \"./styleProvenance\";\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 shouldTrackStyleTokenProvenance = process.env.NODE_ENV === \"development\" && process.env.TAMAGUI_ENABLE_STYLE_TOKEN_PROVENANCE === \"1\";\nfunction compoundMatcherMatches(expected, actual) {\n\tif (Array.isArray(expected)) return expected.some(function(value) {\n\t\treturn Object.is(value, actual);\n\t});\n\treturn Object.is(expected, actual);\n}\nfunction compoundMatcherMatchesPayload(expected, payload) {\n\tif (Array.isArray(expected)) return expected.some(function(value) {\n\t\treturn compoundMatcherMatchesPayload(value, payload);\n\t});\n\treturn typeof expected === \"string\" ? expected === payload : String(expected) === payload;\n}\nvar compoundScanHandler = {\n\tsegment(ctx, start, end, isBase, valid, source, chainStart, chainEnd, chainValid) {\n\t\tif (!valid || start >= end) return;\n\t\tif (!compoundMatcherMatchesPayload(ctx[1], source.slice(start, end))) return;\n\t\tif (isBase) {\n\t\t\tctx[4] = true;\n\t\t\treturn;\n\t\t}\n\t\tif (!chainValid) return;\n\t\tvar chain = source.slice(chainStart, chainEnd);\n\t\tif (ctx[2](chain)) ctx[3].push(chain);\n\t},\n\tchain() {\n\t\treturn true;\n\t},\n\terror() {}\n};\nfunction matcherChains(expected, actual, isChain) {\n\tif (typeof actual === \"string\" && actual.indexOf(\":\") !== -1) {\n\t\tvar scan = [\n\t\t\tactual,\n\t\t\texpected,\n\t\t\tisChain,\n\t\t\t[],\n\t\t\tfalse\n\t\t];\n\t\tscanFlatValue(actual, compoundScanHandler, scan);\n\t\tif (scan[4]) return [\"\"];\n\t\treturn scan[3].length ? scan[3] : null;\n\t}\n\tif (actual && (typeof actual === \"undefined\" ? \"undefined\" : _type_of(actual)) === \"object\" && !Array.isArray(actual) && !isVariable(actual)) {\n\t\tvar conditional = Object.prototype.hasOwnProperty.call(actual, \"default\");\n\t\tif (!conditional) for (var key in actual) {\n\t\t\tconditional = key.length > 0 && isChain(key);\n\t\t\tbreak;\n\t\t}\n\t\tif (conditional) {\n\t\t\tvar chains = [];\n\t\t\tfor (var key1 in actual) {\n\t\t\t\tvar payload = actual[key1];\n\t\t\t\tif (payload == null || !compoundMatcherMatches(expected, payload)) continue;\n\t\t\t\tif (key1 === \"default\") return [\"\"];\n\t\t\t\tif (isChain(key1)) chains.push(key1);\n\t\t\t}\n\t\t\treturn chains.length ? chains : null;\n\t\t}\n\t}\n\treturn compoundMatcherMatches(expected, actual) ? [\"\"] : null;\n}\nfunction isConditionalObjectValue(value, isChain) {\n\tif (Object.prototype.hasOwnProperty.call(value, \"default\")) return true;\n\tfor (var key in value) return key.length > 0 && isChain(key);\n\treturn false;\n}\nvar joinChains = function(a, b) {\n\tif (!a) return b;\n\tif (!b) return a;\n\tvar segments = a.split(\":\");\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = b.split(\":\")[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar segment = _step.value;\n\t\t\tif (!segments.includes(segment)) segments.push(segment);\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 segments.join(\":\");\n};\nfunction compoundVariantMatchChains(compoundVariant, props, isChain) {\n\tvar chains = [\"\"];\n\tfor (var key in compoundVariant) {\n\t\tif (key === \"style\") continue;\n\t\tvar keyChains = matcherChains(compoundVariant[key], props[key], isChain);\n\t\tif (!keyChains) return null;\n\t\tvar next = [];\n\t\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator = chains[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\t\tvar a = _step.value;\n\t\t\t\tvar _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n\t\t\t\ttry {\n\t\t\t\t\tfor (var _iterator1 = keyChains[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {\n\t\t\t\t\t\tvar b = _step1.value;\n\t\t\t\t\t\tvar joined = joinChains(a, b);\n\t\t\t\t\t\tif (!next.includes(joined)) next.push(joined);\n\t\t\t\t\t}\n\t\t\t\t} catch (err) {\n\t\t\t\t\t_didIteratorError1 = true;\n\t\t\t\t\t_iteratorError1 = err;\n\t\t\t\t} finally {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (!_iteratorNormalCompletion1 && _iterator1.return != null) _iterator1.return();\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tif (_didIteratorError1) throw _iteratorError1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (err) {\n\t\t\t_didIteratorError = true;\n\t\t\t_iteratorError = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t\t}\n\t\t}\n\t\tchains = next;\n\t}\n\treturn chains;\n}\nvar styledDefaultsCache = /* @__PURE__ */ new WeakMap();\nfunction getStyledDefaults(staticConfig) {\n\tvar entries = styledDefaultsCache.get(staticConfig);\n\tif (entries === void 0) {\n\t\tentries = null;\n\t\tvar defaults = staticConfig.defaultProps;\n\t\tif (defaults) for (var key in defaults) (entries || (entries = [])).push([key, defaults[key]]);\n\t\tstyledDefaultsCache.set(staticConfig, entries);\n\t}\n\treturn entries;\n}\nvar maybeStyleProgram = function(value) {\n\treturn typeof value === \"string\" ? value.includes(\":\") : !!value && (typeof value === \"undefined\" ? \"undefined\" : _type_of(value)) === \"object\" && !Array.isArray(value) && !isVariable(value);\n};\nfunction contributeDisplacedStyledDefaults(styledDefaults, processedProps, shorthands, contribute) {\n\tif (!styledDefaults) return;\n\tfor (var index = 0; index < styledDefaults.length; index++) {\n\t\tvar key = styledDefaults[index][0];\n\t\tvar styledValue = styledDefaults[index][1];\n\t\tvar propValue = processedProps[key];\n\t\tif (!(key in stylePropsAll) && !(key in shorthands)) continue;\n\t\tif (propValue !== void 0 && propValue !== styledValue && (maybeStyleProgram(styledValue) || maybeStyleProgram(propValue))) contribute(key, styledValue);\n\t}\n}\nfunction forEachPropInForwardOrder(processedProps, staticConfig, shorthands, contribute, isChain) {\n\tvar processedBaseStyle = staticConfig.baseStyle;\n\tvar compoundVariants = staticConfig.compoundVariants;\n\tvar styledDefaults = getStyledDefaults(staticConfig);\n\tif (!(compoundVariants === null || compoundVariants === void 0 ? void 0 : compoundVariants.length)) {\n\t\tif (processedBaseStyle) for (var key in processedBaseStyle) contribute(key, processedBaseStyle[key]);\n\t\tcontributeDisplacedStyledDefaults(styledDefaults, processedProps, shorthands, contribute);\n\t\tfor (var key1 in processedProps) contribute(key1, processedProps[key1]);\n\t\treturn;\n\t}\n\tvar propEntries = Object.entries(processedProps);\n\tvar orderedEntries = processedBaseStyle ? Object.entries(processedBaseStyle) : [];\n\tcontributeDisplacedStyledDefaults(styledDefaults, processedProps, shorthands, function(k, v) {\n\t\treturn orderedEntries.push([k, v]);\n\t});\n\tvar compoundsByAnchor = /* @__PURE__ */ new Map();\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = compoundVariants[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar compoundVariant = _step.value;\n\t\t\tvar chains = compoundVariantMatchChains(compoundVariant, processedProps, isChain);\n\t\t\tif (!chains) continue;\n\t\t\tvar { style } = compoundVariant;\n\t\t\tif (!isPlainObject(style)) continue;\n\t\t\tvar anchor = -1;\n\t\t\tfor (var selectorKey in compoundVariant) {\n\t\t\t\tif (selectorKey === \"style\") continue;\n\t\t\t\tfor (var index = propEntries.length - 1; index >= 0; index--) if (propEntries[index][0] === selectorKey) {\n\t\t\t\t\tanchor = Math.max(anchor, index);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar entries = compoundsByAnchor.get(anchor) || [];\n\t\t\tfor (var key2 in style) {\n\t\t\t\tvar value = style[key2];\n\t\t\t\tvar _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n\t\t\t\ttry {\n\t\t\t\t\tfor (var _iterator1 = chains[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {\n\t\t\t\t\t\tvar chain = _step1.value;\n\t\t\t\t\t\tif (!chain) {\n\t\t\t\t\t\t\tentries.push([key2, value]);\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (value && (typeof value === \"undefined\" ? \"undefined\" : _type_of(value)) === \"object\" && !Array.isArray(value) && !isVariable(value) && isConditionalObjectValue(value, isChain)) {\n\t\t\t\t\t\t\tvar composed = {};\n\t\t\t\t\t\t\tfor (var inner in value) composed[inner === \"default\" ? chain : `${chain}:${inner}`] = value[inner];\n\t\t\t\t\t\t\tentries.push([key2, composed]);\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (typeof value === \"string\" && value.includes(\":\")) {\n\t\t\t\t\t\t\tif (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] compound variant \"${key2}\" carries a clause string and matched conditionally; dropping it. use the object form in the compound style`);\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tentries.push([key2, { [chain]: value }]);\n\t\t\t\t\t}\n\t\t\t\t} catch (err) {\n\t\t\t\t\t_didIteratorError1 = true;\n\t\t\t\t\t_iteratorError1 = err;\n\t\t\t\t} finally {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (!_iteratorNormalCompletion1 && _iterator1.return != null) _iterator1.return();\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tif (_didIteratorError1) throw _iteratorError1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tcompoundsByAnchor.set(anchor, entries);\n\t\t}\n\t} catch (err) {\n\t\t_didIteratorError = true;\n\t\t_iteratorError = err;\n\t} finally {\n\t\ttry {\n\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t} finally {\n\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t}\n\t}\n\tfor (var index1 = 0; index1 < orderedEntries.length; index1++) contribute(orderedEntries[index1][0], orderedEntries[index1][1]);\n\tvar beforeProps = compoundsByAnchor.get(-1);\n\tif (beforeProps) for (var index2 = 0; index2 < beforeProps.length; index2++) contribute(beforeProps[index2][0], beforeProps[index2][1]);\n\tfor (var index3 = 0; index3 < propEntries.length; index3++) {\n\t\tcontribute(propEntries[index3][0], propEntries[index3][1]);\n\t\tvar compounds = compoundsByAnchor.get(index3);\n\t\tif (compounds) for (var i = 0; i < compounds.length; i++) contribute(compounds[i][0], compounds[i][1]);\n\t}\n}\nfunction isValidStyleKey(key, validStyles, accept) {\n\treturn Boolean(key in validStyles || isWeb && (key === \"transitionProperty\" || key === \"transitionDuration\" || key === \"transitionTimingFunction\" || key === \"transitionDelay\" || key === \"transitionBehavior\") || accept && key in accept);\n}\nvar getSplitStyles = function(props, staticConfig, theme, themeName, componentState, styleProps, parentSplitStyles, componentContext, groupContext, elementType, startedUnhydrated, debug, animationDriver) {\n\tvar _staticConfig_styleFrontend, _styleState_flatMediaKeys, _styleState_flatGroupKeys, _styleState_flatGroupMedia, _styleState_style;\n\tvar conf = getConfig();\n\tif ((_staticConfig_styleFrontend = staticConfig.styleFrontend) === null || _staticConfig_styleFrontend === void 0 ? void 0 : _staticConfig_styleFrontend.normalizeStaticConfig) staticConfig = staticConfig.styleFrontend.normalizeStaticConfig(staticConfig, conf);\n\tvar driver = animationDriver || (componentContext === null || componentContext === void 0 ? void 0 : componentContext.animationDriver) || conf.animations;\n\tvar resolvedDriver = (driver === null || driver === void 0 ? void 0 : driver.isStub) ? null : driver;\n\tif (props.passThrough) return null;\n\tif (isWeb && styleProps.isAnimated && (driver === null || driver === void 0 ? void 0 : driver.isReactNative) && !styleProps.noNormalize) styleProps.noNormalize = \"values\";\n\tvar { shorthands } = conf;\n\tvar { isHOC, isText, isInput, variants, isReactNative, inlineProps, parentStaticConfig, acceptsClassName } = staticConfig;\n\tvar viewProps = {};\n\tvar mediaState$1 = styleProps.mediaState || mediaState;\n\tvar shouldDoClasses = acceptsClassName && isWeb && !styleProps.noClass;\n\tvar rulesToInsert = void 0;\n\tvar classNames = {};\n\tprops.space;\n\tvar hasMedia = false;\n\tvar pseudoGroups;\n\tvar mediaGroups;\n\tvar className = staticConfig.passthroughClassName || \"\";\n\tif (className) shouldDoClasses = false;\n\tvar validStyles$1 = staticConfig.validStyles || (staticConfig.isText || staticConfig.isInput ? stylePropsText : validStyles);\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-setup`;\n\tvar styleState = {\n\t\tclassNames,\n\t\tconf,\n\t\tprops,\n\t\tstyleProps,\n\t\tcomponentState,\n\t\tstaticConfig,\n\t\tstyle: null,\n\t\ttheme,\n\t\tviewProps,\n\t\tcontext: componentContext,\n\t\tdebug,\n\t\tflatRulesToInsert: rulesToInsert,\n\t\tflatShouldDoClasses: shouldDoClasses,\n\t\tflatThemeName: themeName,\n\t\tflatMediaState: mediaState$1,\n\t\tflatGroupContext: groupContext,\n\t\tanimationDriver: resolvedDriver\n\t};\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`style-state`;\n\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\" && isClient) {\n\t\tif (isDevTools) {\n\t\t\tconsole.groupCollapsed(\"🔹 getSplitStyles 👇\");\n\t\t\tlog({\n\t\t\t\tprops,\n\t\t\t\tstaticConfig,\n\t\t\t\tshouldDoClasses,\n\t\t\t\tstyleProps,\n\t\t\t\trulesToInsert,\n\t\t\t\tcomponentState,\n\t\t\t\tstyleState,\n\t\t\t\ttheme: { ...theme }\n\t\t\t});\n\t\t}\n\t}\n\tvar { asChild } = props;\n\tvar { accept, neverSkipProps } = staticConfig;\n\tvar { noSkip, disableExpandShorthands, noExpand, styledContext } = styleProps;\n\tvar processedProps;\n\tvar styleFrontend = staticConfig.styleFrontend;\n\tif (styleFrontend && !props[STYLE_FRONTEND_PREPROCESSED]) processedProps = styleFrontend.preprocessProps(props, conf);\n\telse processedProps = props;\n\tvar { webContainerType } = conf.settings;\n\tvar parentVariants = parentStaticConfig === null || parentStaticConfig === void 0 ? void 0 : parentStaticConfig.variants;\n\tvar mergeStylePropAtCurrentPosition = function(styleProp) {\n\t\tif (styleProps.noMergeStyle || !styleProp) return;\n\t\tif (isHOC) {\n\t\t\tviewProps.style = normalizeStyle(styleProp);\n\t\t\treturn;\n\t\t}\n\t\tvar isArray = Array.isArray(styleProp);\n\t\tvar length = isArray ? styleProp.length : 1;\n\t\tfor (var index = 0; index < length; index++) {\n\t\t\tvar style2 = isArray ? styleProp[index] : styleProp;\n\t\t\tif (!style2) continue;\n\t\t\tif (style2[\"$$css\"]) {\n\t\t\t\tfor (var key8 in style2) clearDirectStyle(styleState, key8);\n\t\t\t\tObject.assign(styleState.classNames, style2);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tvar normalized = normalizeStyle(style2);\n\t\t\tvar styleOriginals = shouldTrackStyleTokenProvenance ? styleOriginalValues.get(style2) : void 0;\n\t\t\tfor (var key12 in normalized) {\n\t\t\t\tif (normalized[key12] == null) continue;\n\t\t\t\tcontributeStyleValue(styleState, key12, normalized[key12], mergeStyle, styleOriginals === null || styleOriginals === void 0 ? void 0 : styleOriginals[key12]);\n\t\t\t}\n\t\t}\n\t};\n\tvar flushForwardStylesToClasses = function() {\n\t\tif (!shouldDoClasses) return;\n\t\tflushDirectStyles(styleState, true);\n\t};\n\tvar contributeProp = function(keyOg, valOg) {\n\t\tvar keyInit = keyOg;\n\t\tvar valInit = valOg;\n\t\tif (styleFrontend && keyInit.startsWith(STYLE_FRONTEND_PASSTHROUGH_PREFIX)) keyInit = \"className\";\n\t\tif (keyInit === \"children\") {\n\t\t\tviewProps[keyInit] = valInit;\n\t\t\treturn;\n\t\t}\n\t\tif (keyInit === \"ref\") return;\n\t\tif (keyInit[0] === \"d\" && keyInit.startsWith(\"data-\")) return;\n\t\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`before-prop-${keyInit}`;\n\t\tif (process.env.NODE_ENV === \"test\" && keyInit === \"jestAnimatedStyle\") return;\n\t\tif (keyInit === \"transition\" || keyInit === \"transitionProperty\" || keyInit === \"transitionDuration\" || keyInit === \"transitionTimingFunction\" || keyInit === \"transitionDelay\" || keyInit === \"transitionBehavior\") return;\n\t\tif (accept) {\n\t\t\tvar accepted = accept[keyInit];\n\t\t\tif ((accepted === \"style\" || accepted === \"textStyle\") && valInit && (typeof valInit === \"undefined\" ? \"undefined\" : _type_of(valInit)) === \"object\") {\n\t\t\t\tviewProps[keyInit] = getSubStyle(styleState, keyInit, valInit, styleProps.noClass);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tif (!disableExpandShorthands) {\n\t\t\tif (keyInit in shorthands) keyInit = shorthands[keyInit];\n\t\t}\n\t\tif (keyInit === \"className\") {\n\t\t\tif (typeof valInit === \"string\" && valInit) {\n\t\t\t\tclassName = `${className} ${valInit}`.trim();\n\t\t\t\tif (styleFrontend) {\n\t\t\t\t\tflushForwardStylesToClasses();\n\t\t\t\t\tshouldDoClasses = false;\n\t\t\t\t\tstyleState.flatShouldDoClasses = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tif (keyInit === \"style\") {\n\t\t\tmergeStylePropAtCurrentPosition(valInit);\n\t\t\treturn;\n\t\t}\n\t\tif (asChild) {\n\t\t\tvar defaults = getDefaultProps(staticConfig);\n\t\t\tif (defaults) {\n\t\t\t\tvar _defaults_keyOg;\n\t\t\t\tvar defaultVal = (_defaults_keyOg = defaults[keyOg]) !== null && _defaults_keyOg !== void 0 ? _defaults_keyOg : defaults[keyInit];\n\t\t\t\tif (defaultVal !== void 0 && valInit === defaultVal) return;\n\t\t\t}\n\t\t}\n\t\tif (keyInit in skipProps && !noSkip && !isHOC && !(neverSkipProps === null || neverSkipProps === void 0 ? void 0 : neverSkipProps[keyInit])) {\n\t\t\tif (keyInit === \"group\");\n\t\t\tif (keyInit === \"container\" && valInit) {}\n\t\t\tif (keyInit === \"transition\" && typeof valInit === \"string\") {\n\t\t\t\tvar _driver_animations;\n\t\t\t\tvar animationConfig = driver === null || driver === void 0 ? void 0 : (_driver_animations = driver.animations) === null || _driver_animations === void 0 ? void 0 : _driver_animations[valInit];\n\t\t\t\tif (animationConfig && (driver === null || driver === void 0 ? void 0 : driver.outputStyle) === \"css\" && process.env.IS_STATIC === \"is_static\") valInit = `all ${animationConfig}`;\n\t\t\t\telse if (animationConfig) return;\n\t\t\t} else return;\n\t\t}\n\t\tif (isFrontendProgram(valInit)) {\n\t\t\tif (isValidStyleKey(valInit.property, validStyles$1, accept)) contributeFrontendProgram(styleState, valInit, mergeStyle);\n\t\t\telse if (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${valInit.property}\" is not a valid style on this component; the frontend value is dropped.`);\n\t\t\treturn;\n\t\t}\n\t\tvar isValidStyleKeyInit = isValidStyleKey(keyInit, validStyles$1, accept);\n\t\tif (isWeb) {\n\t\t\tvar _driver_View;\n\t\t\tif ((staticConfig.isReactNative || styleProps.isAnimated && (driver === null || driver === void 0 ? void 0 : driver.isReactNative) && !((_driver_View = driver.View) === null || _driver_View === void 0 ? void 0 : _driver_View.acceptRenderProp)) && keyInit.startsWith(\"data-\")) {\n\t\t\t\tvar _viewProps2, _dataSet;\n\t\t\t\tkeyInit = keyInit.replace(\"data-\", \"\");\n\t\t\t\t(_viewProps2 = viewProps)[_dataSet = \"dataSet\"] || (_viewProps2[_dataSet] = {});\n\t\t\t\tviewProps[\"dataSet\"][keyInit] = valInit;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (keyInit.startsWith(\"data-\")) {\n\t\t\t\tviewProps[keyInit] = valInit;\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tif (!isValidStyleKeyInit) {\n\t\t\tif (!isAndroid) {\n\t\t\t\tif (keyInit === \"elevationAndroid\") return;\n\t\t\t}\n\t\t\tif (keyInit === \"userSelect\") {\n\t\t\t\tkeyInit = \"selectable\";\n\t\t\t\tvalInit = valInit !== \"none\";\n\t\t\t} else if (keyInit === \"textOverflow\") {\n\t\t\t\tif (isText && valInit === \"ellipsis\") {\n\t\t\t\t\tvar _viewProps1, _viewProps22;\n\t\t\t\t\tvar _numberOfLines;\n\t\t\t\t\t(_numberOfLines = (_viewProps1 = viewProps).numberOfLines) !== null && _numberOfLines !== void 0 || (_viewProps1.numberOfLines = 1);\n\t\t\t\t\tvar _ellipsizeMode;\n\t\t\t\t\t(_ellipsizeMode = (_viewProps22 = viewProps).ellipsizeMode) !== null && _ellipsizeMode !== void 0 || (_viewProps22.ellipsizeMode = \"tail\");\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t} else if (keyInit.startsWith(\"data-\")) return;\n\t\t}\n\t\tvar isVariant = !isValidStyleKeyInit && variants && keyInit in variants;\n\t\tvar isStyleLikeKey = isValidStyleKeyInit || isVariant;\n\t\tvar isStyleProp = isValidStyleKeyInit || isVariant && !noExpand;\n\t\tif (isStyleProp && (asChild === \"except-style\" || asChild === \"except-style-web\")) return;\n\t\tvar shouldPassProp = !isStyleProp && isHOC || isHOC && parentVariants && keyInit in parentVariants || (inlineProps === null || inlineProps === void 0 ? void 0 : inlineProps.has(keyInit));\n\t\tvar parentVariant = parentVariants === null || parentVariants === void 0 ? void 0 : parentVariants[keyInit];\n\t\tvar isHOCShouldPassThrough = Boolean(isHOC && (isValidStyleKeyInit || parentVariant || keyInit in skipProps));\n\t\tvar shouldPassThrough = shouldPassProp || isHOCShouldPassThrough;\n\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\tconsole.groupCollapsed(` \\u{1F511} ${keyOg}${keyInit !== keyOg ? ` (shorthand for ${keyInit})` : \"\"} ${shouldPassThrough ? \"(pass)\" : \"\"}`);\n\t\t\tlog({\n\t\t\t\tisVariant,\n\t\t\t\tvalInit,\n\t\t\t\tshouldPassProp\n\t\t\t});\n\t\t\tif (isClient) log({\n\t\t\t\tvariants,\n\t\t\t\tvariant: variants === null || variants === void 0 ? void 0 : variants[keyInit],\n\t\t\t\tisVariant,\n\t\t\t\tisHOCShouldPassThrough,\n\t\t\t\tparentStaticConfig\n\t\t\t});\n\t\t}\n\t\tif (shouldPassThrough) {\n\t\t\tpassDownProp(viewProps, keyInit, valInit);\n\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") console.groupEnd();\n\t\t\tif (!isVariant) return;\n\t\t}\n\t\tif (!noSkip && !(neverSkipProps === null || neverSkipProps === void 0 ? void 0 : neverSkipProps[keyInit])) {\n\t\t\tvar _driver_animations1;\n\t\t\tif (keyInit in skipProps && !(keyInit === \"transition\" && typeof valInit === \"string\" && !(driver === null || driver === void 0 ? void 0 : (_driver_animations1 = driver.animations) === null || _driver_animations1 === void 0 ? void 0 : _driver_animations1[valInit]))) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") console.groupEnd();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tif (isText || isInput) {\n\t\t\tif (valInit && (keyInit === \"fontFamily\" || keyInit === shorthands[\"fontFamily\"]) && valInit in conf.fontsParsed) styleState.fontFamily = valInit;\n\t\t}\n\t\tvar disablePropMap = !isStyleLikeKey;\n\t\tif (!isHOC && isValidStyleKeyInit && valInit != null && !(valInit === \"unset\") && !(variants && keyInit in variants) && !(accept && keyInit in accept) && !(styledContext && keyInit in styledContext)) {\n\t\t\tcontributeStyleValue(styleState, keyInit, valInit, mergeStyle);\n\t\t\treturn;\n\t\t}\n\t\tpropMapper(keyInit, valInit, styleState, disablePropMap, function(key8, val2, originalVal, conditionSource) {\n\t\t\tvar _parentStaticConfig_variants;\n\t\t\tvar isStyledContextProp = styledContext && key8 in styledContext;\n\t\t\tif (key8 === \"className\") {\n\t\t\t\tif (typeof val2 === \"string\" && val2) className = `${className} ${val2}`.trim();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!isHOC && disablePropMap && !isStyledContextProp) {\n\t\t\t\tif (key8 in stylePropsAll && !isValidStyleKey(key8, validStyles$1, accept)) {\n\t\t\t\t\tif (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key8}\" is a text style prop and this component is not text \\u2014 it would render on neither platform. Use a Text-based component, or html.* for raw web elements.`);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tviewProps[key8] = val2;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\t\tconsole.groupCollapsed(\" 💠 expanded\", keyInit, \"=>\", key8);\n\t\t\t\tlog(val2);\n\t\t\t\tconsole.groupEnd();\n\t\t\t}\n\t\t\tif (val2 == null) return;\n\t\t\tif (accept && key8 in accept) {\n\t\t\t\tviewProps[key8] = val2;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar isHostStyleKey = !isHOC && isValidStyleKey(key8, validStyles$1, accept) || isAndroid && key8 === \"elevation\";\n\t\t\tvar isContextProgramKey = !isHOC && Boolean(isStyledContextProp);\n\t\t\tif (conditionSource !== void 0) {\n\t\t\t\tif (isHostStyleKey || isContextProgramKey) contributeVariantClauseValue(styleState, key8, val2, conditionSource, mergeStyle, originalVal, !isHostStyleKey);\n\t\t\t\telse if (isHOC) {\n\t\t\t\t\tvar appended = appendFlatClause(styleState, viewProps[key8], conditionSource, val2);\n\t\t\t\t\tif (appended !== void 0) viewProps[key8] = appended;\n\t\t\t\t\telse if (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] conditional variant value for \"${key8}\" cannot join the existing clause string; dropping the clause`);\n\t\t\t\t} else if (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key8}\" is not a valid style on this component; the conditional variant value is dropped.`);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (isHostStyleKey || isContextProgramKey) {\n\t\t\t\tcontributeStyleValue(styleState, key8, val2, mergeStyle, originalVal, !isHostStyleKey);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tisVariant = variants && key8 in variants;\n\t\t\tif (inlineProps === null || inlineProps === void 0 ? void 0 : inlineProps.has(key8)) {\n\t\t\t\tvar _props_key;\n\t\t\t\tviewProps[key8] = (_props_key = props[key8]) !== null && _props_key !== void 0 ? _props_key : val2;\n\t\t\t}\n\t\t\tif (isHOC && Boolean(parentStaticConfig === null || parentStaticConfig === void 0 ? void 0 : (_parentStaticConfig_variants = parentStaticConfig.variants) === null || _parentStaticConfig_variants === void 0 ? void 0 : _parentStaticConfig_variants[keyInit])) {\n\t\t\t\tpassDownProp(viewProps, key8, val2);\n\t\t\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\t\t\tconsole.groupCollapsed(` - passing down prop ${key8}`);\n\t\t\t\t\tlog({\n\t\t\t\t\t\tval: val2,\n\t\t\t\t\t\tafter: { ...viewProps[key8] }\n\t\t\t\t\t});\n\t\t\t\t\tconsole.groupEnd();\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!isVariant) {\n\t\t\t\tif (isStyledContextProp) return;\n\t\t\t\tif (key8 in stylePropsAll && !isValidStyleKey(key8, validStyles$1, accept)) {\n\t\t\t\t\tif (process.env.NODE_ENV === \"development\") console.warn(`[tamagui] \"${key8}\" is a text style prop and this component is not text \\u2014 it would render on neither platform. Use a Text-based component, or html.* for raw web elements.`);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tviewProps[key8] = val2;\n\t\t\t}\n\t\t});\n\t\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\t\ttry {\n\t\t\t\tlog(` \\u2714\\uFE0F expand complete`, keyInit);\n\t\t\t\tlog(\"style\", { ...styleState.style });\n\t\t\t\tlog(\"viewProps\", { ...viewProps });\n\t\t\t\tlog(\"transforms\", { ...styleState.flatTransforms });\n\t\t\t} catch (e) {}\n\t\t\tconsole.groupEnd();\n\t\t}\n\t};\n\tforEachPropInForwardOrder(processedProps, staticConfig, shorthands, contributeProp, function(chain) {\n\t\treturn !!resolveClauseChain(styleState, chain, 0, chain.length);\n\t});\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-propsend`;\n\tvar conditionalStates = styleState.flatStateKeys || null;\n\tvar usesSafeArea = !!styleState.flatUsesSafeArea;\n\tif ((_styleState_flatMediaKeys = styleState.flatMediaKeys) === null || _styleState_flatMediaKeys === void 0 ? void 0 : _styleState_flatMediaKeys.size) {\n\t\tif (!hasMedia) hasMedia = /* @__PURE__ */ new Set();\n\t\tif (typeof hasMedia !== \"boolean\") {\n\t\t\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\t\t\ttry {\n\t\t\t\tfor (var _iterator = styleState.flatMediaKeys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\t\t\tvar key = _step.value;\n\t\t\t\t\thasMedia.add(key);\n\t\t\t\t}\n\t\t\t} catch (err) {\n\t\t\t\t_didIteratorError = true;\n\t\t\t\t_iteratorError = err;\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t\t\t} finally {\n\t\t\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tif ((_styleState_flatGroupKeys = styleState.flatGroupKeys) === null || _styleState_flatGroupKeys === void 0 ? void 0 : _styleState_flatGroupKeys.size) {\n\t\tpseudoGroups || (pseudoGroups = /* @__PURE__ */ new Set());\n\t\tvar _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator1 = styleState.flatGroupKeys[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {\n\t\t\t\tvar key1 = _step1.value;\n\t\t\t\tpseudoGroups.add(key1);\n\t\t\t}\n\t\t} catch (err) {\n\t\t\t_didIteratorError1 = true;\n\t\t\t_iteratorError1 = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion1 && _iterator1.return != null) _iterator1.return();\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError1) throw _iteratorError1;\n\t\t\t}\n\t\t}\n\t}\n\tif ((_styleState_flatGroupMedia = styleState.flatGroupMedia) === null || _styleState_flatGroupMedia === void 0 ? void 0 : _styleState_flatGroupMedia.size) {\n\t\tmediaGroups || (mediaGroups = /* @__PURE__ */ new Set());\n\t\tvar _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator2 = styleState.flatGroupMedia[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n\t\t\t\tvar key2 = _step2.value;\n\t\t\t\tmediaGroups.add(key2);\n\t\t\t}\n\t\t} catch (err) {\n\t\t\t_didIteratorError2 = true;\n\t\t\t_iteratorError2 = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion2 && _iterator2.return != null) _iterator2.return();\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError2) throw _iteratorError2;\n\t\t\t}\n\t\t}\n\t}\n\tvar effectiveTransition = (_styleState_style = styleState.style) === null || _styleState_style === void 0 ? void 0 : _styleState_style.transition;\n\tif (effectiveTransition != null && styleState.style && true) delete styleState.style.transition;\n\tif (styleState.style) {\n\t\tif (\"containerType\" in styleState.style) delete styleState.style.containerType;\n\t\tif (\"containerName\" in styleState.style) delete styleState.style.containerName;\n\t}\n\tif (!(styleProps.noNormalize === false)) {\n\t\tif (styleState.style) {\n\t\t\tfixStyles(styleState.style);\n\t\t\tif (!styleProps.noExpand && !styleProps.noMergeStyle) {\n\t\t\t\tif (isWeb && (isReactNative ? (driver === null || driver === void 0 ? void 0 : driver.inputStyle) !== \"css\" : true)) styleToCSS(styleState.style);\n\t\t\t}\n\t\t}\n\t\tif (styleState.flatTransforms) {\n\t\t\tvar _styleState;\n\t\t\t(_styleState = styleState).style || (_styleState.style = {});\n\t\t\tmergeFlatTransforms(styleState.style, styleState.flatTransforms);\n\t\t}\n\t\tif (parentSplitStyles) {\n\t\t\tif (!shouldDoClasses) for (var key4 in parentSplitStyles.style) {\n\t\t\t\tvar _styleState1;\n\t\t\t\tif (key4 in classNames || styleState.style && key4 in styleState.style) continue;\n\t\t\t\t(_styleState1 = styleState).style || (_styleState1.style = {});\n\t\t\t\tstyleState.style[key4] = parentSplitStyles.style[key4];\n\t\t\t}\n\t\t}\n\t}\n\tif (viewProps.tabIndex === 0) {\n\t\tvar _viewProps;\n\t\tvar _accessible;\n\t\t(_accessible = (_viewProps = viewProps).accessible) !== null && _accessible !== void 0 || (_viewProps.accessible = true);\n\t}\n\tvar style = styleState.style;\n\tif (style === null || style === void 0 ? void 0 : style.fontFamily) {\n\t\tvar _getFont;\n\t\tvar faceInfo = (_getFont = getFont(style.fontFamily)) === null || _getFont === void 0 ? void 0 : _getFont.face;\n\t\tif (faceInfo) {\n\t\t\tvar _faceInfo_style_fontWeight_, _faceInfo_style_fontWeight;\n\t\t\tvar overrideFace = (_faceInfo_style_fontWeight = faceInfo[style.fontWeight]) === null || _faceInfo_style_fontWeight === void 0 ? void 0 : (_faceInfo_style_fontWeight_ = _faceInfo_style_fontWeight[style.fontStyle || \"normal\"]) === null || _faceInfo_style_fontWeight_ === void 0 ? void 0 : _faceInfo_style_fontWeight_.val;\n\t\t\tif (overrideFace) {\n\t\t\t\tstyle.fontFamily = overrideFace;\n\t\t\t\tstyleState.fontFamily = overrideFace;\n\t\t\t\tdelete style.fontWeight;\n\t\t\t\tdelete style.fontStyle;\n\t\t\t}\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && debug && debug !== \"profile\") log(`Found fontFamily native: ${style.fontFamily}`, faceInfo);\n\t}\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-pre-result`;\n\tif (shouldTrackStyleTokenProvenance && styleState.style && styleState.tokenProvenance) {\n\t\tvar provenance = {};\n\t\tvar hasProvenance = false;\n\t\tfor (var key5 in styleState.tokenProvenance) {\n\t\t\tprovenance[key5] = {\n\t\t\t\ttoken: styleState.tokenProvenance[key5],\n\t\t\t\ttheme: themeName\n\t\t\t};\n\t\t\thasProvenance = true;\n\t\t}\n\t\tif (hasProvenance) setStyleTokenProvenance(styleState.style, provenance);\n\t}\n\tvar result = {\n\t\thasMedia,\n\t\tfontFamily: styleState.fontFamily,\n\t\tviewProps,\n\t\tstyle: styleState.style,\n\t\tclassNames,\n\t\trulesToInsert,\n\t\tpseudoGroups,\n\t\tmediaGroups,\n\t\toverriddenContextProps: styleState.overriddenContextProps\n\t};\n\tif (effectiveTransition != null) result.effectiveTransition = effectiveTransition;\n\tif (conditionalStates) result.programStates = conditionalStates;\n\tif (usesSafeArea) result.usesSafeArea = true;\n\tif (getDirectDynamicThemeAccess(styleState)) result.dynamicThemeAccess = true;\n\tif (styleState.flatEnterKeys || styleState.flatExitKeys) {\n\t\tvar effectiveKeys = function(keys) {\n\t\t\tif (!keys) return;\n\t\t\tvar out = /* @__PURE__ */ new Set();\n\t\t\tvar _iteratorNormalCompletion4 = true, _didIteratorError4 = false, _iteratorError4 = void 0;\n\t\t\ttry {\n\t\t\t\tfor (var _iterator4 = keys[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {\n\t\t\t\t\tvar key8 = _step4.value;\n\t\t\t\t\tout.add(key8 === \"--t-x\" || key8 === \"--t-y\" ? \"translate\" : key8 === \"--t-scale-x\" || key8 === \"--t-scale-y\" ? \"scale\" : key8);\n\t\t\t\t}\n\t\t\t} catch (err) {\n\t\t\t\t_didIteratorError4 = true;\n\t\t\t\t_iteratorError4 = err;\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tif (!_iteratorNormalCompletion4 && _iterator4.return != null) _iterator4.return();\n\t\t\t\t} finally {\n\t\t\t\t\tif (_didIteratorError4) throw _iteratorError4;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn out;\n\t\t};\n\t\tresult.programLifecycleStyleKeys = {\n\t\t\tenter: effectiveKeys(styleState.flatEnterKeys),\n\t\t\texit: effectiveKeys(styleState.flatExitKeys)\n\t\t};\n\t}\n\tvar asChildExceptStyleLike = asChild === \"except-style\" || asChild === \"except-style-web\";\n\tif (!styleProps.noMergeStyle) {\n\t\tif (!asChildExceptStyleLike) {\n\t\t\tvar style1 = styleState.style;\n\t\t\tif (style1) viewProps.style = style1;\n\t\t}\n\t}\n\tif (process.env.NODE_ENV === \"development\" && debug === \"verbose\") {\n\t\tif (isClient && isDevTools) {\n\t\t\tconsole.groupEnd();\n\t\t\tconsole.groupCollapsed(\"🔹 getSplitStyles ===>\");\n\t\t\ttry {\n\t\t\t\tvar logs = {\n\t\t\t\t\t...props.__tamaguiStyleDebugReceipt && { receipt: props.__tamaguiStyleDebugReceipt },\n\t\t\t\t\t...result,\n\t\t\t\t\tclassName,\n\t\t\t\t\tcomponentState,\n\t\t\t\t\tviewProps,\n\t\t\t\t\trulesToInsert,\n\t\t\t\t\tparentSplitStyles\n\t\t\t\t};\n\t\t\t\tfor (var key7 in logs) log(key7, logs[key7]);\n\t\t\t} catch (e) {}\n\t\t\tconsole.groupEnd();\n\t\t}\n\t}\n\tif (process.env.NODE_ENV === \"development\" && (debug === \"profile\" || globalThis.time)) time`split-styles-done`;\n\treturn result;\n};\nfunction mergeFlatTransforms(target, flatTransforms) {\n\tvar transform = [];\n\tif (\"x\" in flatTransforms) transform.push({ translateX: flatTransforms.x });\n\tif (\"y\" in flatTransforms) transform.push({ translateY: flatTransforms.y });\n\tif (\"rotate\" in flatTransforms) transform.push({ rotate: flatTransforms.rotate });\n\tvar hasScaleX = \"scaleX\" in flatTransforms;\n\tvar hasScaleY = \"scaleY\" in flatTransforms;\n\tif (hasScaleX && hasScaleY && Object.is(flatTransforms.scaleX, flatTransforms.scaleY)) transform.push({ scale: flatTransforms.scaleX });\n\telse {\n\t\tif (hasScaleX) transform.push({ scaleX: flatTransforms.scaleX });\n\t\tif (hasScaleY) transform.push({ scaleY: flatTransforms.scaleY });\n\t\tif (!hasScaleX && !hasScaleY && \"scale\" in flatTransforms) transform.push({ scale: flatTransforms.scale });\n\t}\n\tvar keys = [];\n\tfor (var key in flatTransforms) if (key !== \"x\" && key !== \"y\" && key !== \"rotate\" && key !== \"scale\" && key !== \"scaleX\" && key !== \"scaleY\") keys.push(key);\n\tkeys.sort(sortString);\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = keys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\tvar key1 = _step.value;\n\t\t\ttransform.push({ [mapTransformKeys[key1] || key1]: flatTransforms[key1] });\n\t\t}\n\t} catch (err) {\n\t\t_didIteratorError = true;\n\t\t_iteratorError = err;\n\t} finally {\n\t\ttry {\n\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t} finally {\n\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t}\n\t}\n\tif (Array.isArray(target.transform)) transform.push(...target.transform);\n\ttarget.transform = transform;\n}\nfunction mergeStyle(styleState, key, val, _importance) {\n\tvar disableNormalize = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : false, originalVal = arguments.length > 5 ? arguments[5] : void 0;\n\tvar _staticConfig_parentStaticConfig, _staticConfig_parentStaticConfig1, _staticConfig_parentStaticConfig2, _contextConfig_propKeys;\n\tvar { viewProps, styleProps, staticConfig } = styleState;\n\tvar contextConfig = staticConfig.context || ((_staticConfig_parentStaticConfig = staticConfig.parentStaticConfig) === null || _staticConfig_parentStaticConfig === void 0 ? void 0 : _staticConfig_parentStaticConfig.context);\n\tvar contextProps = contextConfig === null || contextConfig === void 0 ? void 0 : contextConfig.props;\n\tvar inheritedContextPropKeys = !staticConfig.context || staticConfig.context === ((_staticConfig_parentStaticConfig1 = staticConfig.parentStaticConfig) === null || _staticConfig_parentStaticConfig1 === void 0 ? void 0 : _staticConfig_parentStaticConfig1.context) ? (_staticConfig_parentStaticConfig2 = staticConfig.parentStaticConfig) === null || _staticConfig_parentStaticConfig2 === void 0 ? void 0 : _staticConfig_parentStaticConfig2.contextProps : void 0;\n\tvar contextPropKeys = staticConfig.contextProps || inheritedContextPropKeys;\n\tif (contextProps && key in contextProps || (contextPropKeys === null || contextPropKeys === void 0 ? void 0 : contextPropKeys.includes(key)) || (contextConfig === null || contextConfig === void 0 ? void 0 : (_contextConfig_propKeys = contextConfig.propKeys) === null || _contextConfig_propKeys === void 0 ? void 0 : _contextConfig_propKeys.includes(key))) {\n\t\tvar _styleState_originalContextPropValues;\n\t\tvar _styleState;\n\t\t(_styleState = styleState).overriddenContextProps || (_styleState.overriddenContextProps = {});\n\t\tvar originalFromState = (_styleState_originalContextPropValues = styleState.originalContextPropValues) === null || _styleState_originalContextPropValues === void 0 ? void 0 : _styleState_originalContextPropValues[key];\n\t\tvar _ref;\n\t\tstyleState.overriddenContextProps[key] = (_ref = originalVal !== null && originalVal !== void 0 ? originalVal : originalFromState) !== null && _ref !== void 0 ? _ref : val;\n\t}\n\tif (key in stylePropsTransform) {\n\t\tvar _styleState1;\n\t\t(_styleState1 = styleState).flatTransforms || (_styleState1.flatTransforms = {});\n\t\tstyleState.flatTransforms[key] = val;\n\t} else {\n\t\tvar out = isWeb && !disableNormalize && !styleProps.noNormalize ? normalizeValueWithProperty(val, key) : val;\n\t\tif (staticConfig.accept && key in staticConfig.accept) viewProps[key] = out;\n\t\telse {\n\t\t\tvar _styleState2;\n\t\t\t(_styleState2 = styleState).style || (_styleState2.style = {});\n\t\t\tstyleState.style[key] = key === \"transform\" && Array.isArray(out) ? [...out] : out;\n\t\t\tif (shouldTrackStyleTokenProvenance) recordStyleTokenProvenance(styleState, key, originalVal);\n\t\t}\n\t}\n}\nfunction recordStyleTokenProvenance(styleState, key, originalVal) {\n\tvar _styleState_conf_themes;\n\tvar tokenName = typeof originalVal === \"string\" ? originalVal : \"\";\n\tif (tokenName) {\n\t\tvar slash = tokenName.lastIndexOf(\"/\");\n\t\tvar opacity = slash === -1 ? NaN : Number(tokenName.slice(slash + 1));\n\t\tif (Number.isInteger(opacity) && opacity >= 0 && opacity <= 100) tokenName = tokenName.slice(0, slash);\n\t}\n\tif (tokenName !== \"\" && (Object.prototype.hasOwnProperty.call(styleState.theme, tokenName) || Object.prototype.hasOwnProperty.call(((_styleState_conf_themes = styleState.conf.themes) === null || _styleState_conf_themes === void 0 ? void 0 : _styleState_conf_themes[styleState.flatThemeName || \"\"]) || {}, tokenName) || Object.values(styleState.conf.tokensParsed).some(function(category) {\n\t\treturn Object.prototype.hasOwnProperty.call(category, tokenName);\n\t}))) {\n\t\tvar _styleState;\n\t\t((_styleState = styleState).tokenProvenance || (_styleState.tokenProvenance = {}))[key] = originalVal;\n\t} else if (styleState.tokenProvenance && key in styleState.tokenProvenance) delete styleState.tokenProvenance[key];\n}\nvar getSubStyle = function(styleState, _subKey, styleIn, avoidMergeTransform) {\n\tvar { staticConfig, conf, styleProps } = styleState;\n\tvar styleOut = {};\n\tvar originalValues;\n\tvar styleInOriginalValues = styleOriginalValues.get(styleIn);\n\tvar parentProps = styleState.props;\n\tstyleState.props = Object.create(parentProps, Object.getOwnPropertyDescriptors(styleIn));\n\ttry {\n\t\tvar _loop = function(key1) {\n\t\t\tvar val = styleIn[key1];\n\t\t\tkey1 = conf.shorthands[key1] || key1;\n\t\t\tif (!staticConfig.isHOC && key1 in skipProps && !styleProps.noSkip) return key = key1, \"continue\";\n\t\t\tpropMapper(key1, val, styleState, false, function(skey, sval, originalVal) {\n\t\t\t\tvar _styleInOriginalValues_skey;\n\t\t\t\tvar trackedOriginalVal = (_styleInOriginalValues_skey = styleInOriginalValues === null || styleInOriginalValues === void 0 ? void 0 : styleInOriginalValues[skey]) !== null && _styleInOriginalValues_skey !== void 0 ? _styleInOriginalValues_skey : originalVal;\n\t\t\t\tif (trackedOriginalVal !== void 0) {\n\t\t\t\t\toriginalValues || (originalValues = {});\n\t\t\t\t\toriginalValues[skey] = trackedOriginalVal;\n\t\t\t\t}\n\t\t\t\tif (!avoidMergeTransform && skey in stylePropsTransform) mergeTransform(styleOut, skey, sval);\n\t\t\t\telse styleOut[skey] = styleProps.noNormalize ? sval : normalizeValueWithProperty(sval, key1);\n\t\t\t});\n\t\t\tkey = key1;\n\t\t};\n\t\tfor (var key in styleIn) _loop(key);\n\t} finally {\n\t\tstyleState.props = parentProps;\n\t}\n\tif (!avoidMergeTransform) {\n\t\tvar _styleState_style;\n\t\tvar parentTransform = (_styleState_style = styleState.style) === null || _styleState_style === void 0 ? void 0 : _styleState_style.transform;\n\t\tvar flatTransforms = styleState.flatTransforms;\n\t\tvar styleOutTransform = styleOut.transform;\n\t\tif (Array.isArray(styleOutTransform) && styleOutTransform.length) {\n\t\t\tvar len = styleOutTransform.length;\n\t\t\tif (Array.isArray(parentTransform)) {\n\t\t\t\tvar merged = [];\n\t\t\t\touter: for (var i = 0; i < parentTransform.length; i++) {\n\t\t\t\t\tvar pt = parentTransform[i];\n\t\t\t\t\tfor (var pk in pt) {\n\t\t\t\t\t\tfor (var j = 0; j < len; j++) for (var sk in styleOutTransform[j]) {\n\t\t\t\t\t\t\tif (pk === sk) continue outer;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmerged.push(pt);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor (var i1 = 0; i1 < len; i1++) merged.push(styleOutTransform[i1]);\n\t\t\t\tstyleOut.transform = merged;\n\t\t\t}\n\t\t\tif (flatTransforms) outer: for (var fk in flatTransforms) {\n\t\t\t\tvar ck = fk === \"x\" ? \"translateX\" : fk === \"y\" ? \"translateY\" : fk;\n\t\t\t\tfor (var j1 = 0; j1 < len; j1++) for (var sk1 in styleOutTransform[j1]) {\n\t\t\t\t\tif (ck === sk1) continue outer;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tmergeTransform(styleOut, fk, flatTransforms[fk]);\n\t\t\t}\n\t\t} else if (flatTransforms) mergeFlatTransforms(styleOut, flatTransforms);\n\t}\n\tif (!styleProps.noNormalize) fixStyles(styleOut);\n\tif (originalValues) styleOriginalValues.set(styleOut, originalValues);\n\treturn styleOut;\n};\nisWeb && React.useInsertionEffect;\nvar useSplitStyles = function(a, b, c, d, e, f, g, h, i, j, k, l, m) {\n\t\"use no memo\";\n\treturn getSplitStyles(a, b, c, d, e, f, g, h, i, j, k, l, m);\n};\nvar mergeTransform = function(obj, key, val) {\n\tvar backwards = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;\n\tvar _obj;\n\tif (typeof obj.transform === \"string\") return;\n\t(_obj = obj).transform || (_obj.transform = []);\n\tobj.transform[backwards ? \"unshift\" : \"push\"]({ [mapTransformKeys[key] || key]: val });\n};\nvar mapTransformKeys = {\n\tx: \"translateX\",\n\ty: \"translateY\"\n};\nfunction passDownProp(viewProps, key, val) {\n\tviewProps[key] = val;\n}\nfunction normalizeStyle(style) {\n\tvar out = {};\n\tfor (var key in style) {\n\t\tvar val = style[key];\n\t\tif (key in stylePropsTransform) mergeTransform(out, key, val);\n\t\telse out[key] = normalizeValueWithProperty(val, key);\n\t}\n\tif (isWeb && Array.isArray(out.transform)) out.transform = transformsToString(out.transform);\n\tfixStyles(out);\n\treturn out;\n}\n\nexport { STYLE_TOKEN_PROVENANCE_KEY, getSplitStyles, getStyleTokenProvenance, getSubStyle, isValidStyleKey, styleOriginalValues, useSplitStyles };"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,SAAS,SAAS,KAAK;CACtB;CACA,OAAO,OAAO,OAAO,WAAW,eAAe,IAAI,gBAAgB,SAAS,WAAW,OAAO;AAC/F;AACA,IAAI,kCAAkC,QAAQ,IAAI,aAAa,iBA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