@tamagui/static 1.99.1 → 1.100.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. package/dist/cjs/checkDeps.native.js +53 -58
  2. package/dist/cjs/checkDeps.native.js.map +1 -1
  3. package/dist/cjs/extractor/bundle.native.js +65 -79
  4. package/dist/cjs/extractor/bundle.native.js.map +1 -1
  5. package/dist/cjs/extractor/bundleConfig.js +2 -4
  6. package/dist/cjs/extractor/bundleConfig.js.map +1 -1
  7. package/dist/cjs/extractor/bundleConfig.native.js +67 -83
  8. package/dist/cjs/extractor/bundleConfig.native.js.map +1 -1
  9. package/dist/cjs/extractor/createExtractor.js +8 -16
  10. package/dist/cjs/extractor/createExtractor.js.map +1 -1
  11. package/dist/cjs/extractor/createExtractor.native.js +70 -92
  12. package/dist/cjs/extractor/createExtractor.native.js.map +1 -1
  13. package/dist/cjs/extractor/extractHelpers.js +4 -8
  14. package/dist/cjs/extractor/extractHelpers.js.map +1 -1
  15. package/dist/cjs/extractor/extractHelpers.native.js +11 -22
  16. package/dist/cjs/extractor/extractHelpers.native.js.map +1 -1
  17. package/dist/cjs/extractor/extractMediaStyle.js +3 -6
  18. package/dist/cjs/extractor/extractMediaStyle.js.map +1 -1
  19. package/dist/cjs/extractor/extractMediaStyle.native.js +10 -20
  20. package/dist/cjs/extractor/extractMediaStyle.native.js.map +1 -1
  21. package/dist/cjs/extractor/extractToClassNames.js +5 -7
  22. package/dist/cjs/extractor/extractToClassNames.js.map +1 -1
  23. package/dist/cjs/extractor/extractToClassNames.native.js +66 -79
  24. package/dist/cjs/extractor/extractToClassNames.native.js.map +1 -1
  25. package/dist/cjs/extractor/generateTamaguiStudioConfig.js +3 -6
  26. package/dist/cjs/extractor/generateTamaguiStudioConfig.js.map +1 -1
  27. package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js +63 -78
  28. package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js.map +1 -1
  29. package/dist/cjs/extractor/generatedUid.native.js +2 -4
  30. package/dist/cjs/extractor/generatedUid.native.js.map +1 -1
  31. package/dist/cjs/extractor/getStaticBindingsForScope.js +4 -8
  32. package/dist/cjs/extractor/getStaticBindingsForScope.js.map +1 -1
  33. package/dist/cjs/extractor/getStaticBindingsForScope.native.js +82 -94
  34. package/dist/cjs/extractor/getStaticBindingsForScope.native.js.map +1 -1
  35. package/dist/cjs/extractor/hoistClassNames.js +1 -2
  36. package/dist/cjs/extractor/hoistClassNames.js.map +1 -1
  37. package/dist/cjs/extractor/hoistClassNames.native.js +1 -2
  38. package/dist/cjs/extractor/hoistClassNames.native.js.map +1 -1
  39. package/dist/cjs/extractor/literalToAst.native.js +6 -12
  40. package/dist/cjs/extractor/literalToAst.native.js.map +1 -1
  41. package/dist/cjs/extractor/loadTamagui.native.js +75 -92
  42. package/dist/cjs/extractor/loadTamagui.native.js.map +1 -1
  43. package/dist/cjs/extractor/normalizeTernaries.native.js +2 -4
  44. package/dist/cjs/extractor/normalizeTernaries.native.js.map +1 -1
  45. package/dist/cjs/extractor/removeUnusedHooks.js +2 -4
  46. package/dist/cjs/extractor/removeUnusedHooks.js.map +1 -1
  47. package/dist/cjs/extractor/removeUnusedHooks.native.js +4 -8
  48. package/dist/cjs/extractor/removeUnusedHooks.native.js.map +1 -1
  49. package/dist/cjs/extractor/watchTamaguiConfig.native.js +57 -63
  50. package/dist/cjs/extractor/watchTamaguiConfig.native.js.map +1 -1
  51. package/dist/cjs/server.native.js +53 -58
  52. package/dist/cjs/server.native.js.map +1 -1
  53. package/dist/esm/checkDeps.native.js +53 -58
  54. package/dist/esm/checkDeps.native.js.map +1 -1
  55. package/dist/esm/extractor/bundle.native.js +65 -79
  56. package/dist/esm/extractor/bundle.native.js.map +1 -1
  57. package/dist/esm/extractor/bundleConfig.js +2 -4
  58. package/dist/esm/extractor/bundleConfig.js.map +1 -1
  59. package/dist/esm/extractor/bundleConfig.native.js +67 -83
  60. package/dist/esm/extractor/bundleConfig.native.js.map +1 -1
  61. package/dist/esm/extractor/createExtractor.js +8 -16
  62. package/dist/esm/extractor/createExtractor.js.map +1 -1
  63. package/dist/esm/extractor/createExtractor.native.js +70 -92
  64. package/dist/esm/extractor/createExtractor.native.js.map +1 -1
  65. package/dist/esm/extractor/extractHelpers.js +4 -8
  66. package/dist/esm/extractor/extractHelpers.js.map +1 -1
  67. package/dist/esm/extractor/extractHelpers.native.js +11 -22
  68. package/dist/esm/extractor/extractHelpers.native.js.map +1 -1
  69. package/dist/esm/extractor/extractMediaStyle.js +3 -6
  70. package/dist/esm/extractor/extractMediaStyle.js.map +1 -1
  71. package/dist/esm/extractor/extractMediaStyle.native.js +10 -20
  72. package/dist/esm/extractor/extractMediaStyle.native.js.map +1 -1
  73. package/dist/esm/extractor/extractToClassNames.js +5 -7
  74. package/dist/esm/extractor/extractToClassNames.js.map +1 -1
  75. package/dist/esm/extractor/extractToClassNames.native.js +66 -79
  76. package/dist/esm/extractor/extractToClassNames.native.js.map +1 -1
  77. package/dist/esm/extractor/generateTamaguiStudioConfig.js +3 -6
  78. package/dist/esm/extractor/generateTamaguiStudioConfig.js.map +1 -1
  79. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js +63 -78
  80. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js.map +1 -1
  81. package/dist/esm/extractor/generatedUid.native.js +2 -4
  82. package/dist/esm/extractor/generatedUid.native.js.map +1 -1
  83. package/dist/esm/extractor/getStaticBindingsForScope.js +4 -8
  84. package/dist/esm/extractor/getStaticBindingsForScope.js.map +1 -1
  85. package/dist/esm/extractor/getStaticBindingsForScope.native.js +82 -94
  86. package/dist/esm/extractor/getStaticBindingsForScope.native.js.map +1 -1
  87. package/dist/esm/extractor/hoistClassNames.js +1 -2
  88. package/dist/esm/extractor/hoistClassNames.js.map +1 -1
  89. package/dist/esm/extractor/hoistClassNames.native.js +1 -2
  90. package/dist/esm/extractor/hoistClassNames.native.js.map +1 -1
  91. package/dist/esm/extractor/literalToAst.native.js +6 -12
  92. package/dist/esm/extractor/literalToAst.native.js.map +1 -1
  93. package/dist/esm/extractor/loadTamagui.native.js +75 -92
  94. package/dist/esm/extractor/loadTamagui.native.js.map +1 -1
  95. package/dist/esm/extractor/normalizeTernaries.native.js +2 -4
  96. package/dist/esm/extractor/normalizeTernaries.native.js.map +1 -1
  97. package/dist/esm/extractor/removeUnusedHooks.js +2 -4
  98. package/dist/esm/extractor/removeUnusedHooks.js.map +1 -1
  99. package/dist/esm/extractor/removeUnusedHooks.native.js +4 -8
  100. package/dist/esm/extractor/removeUnusedHooks.native.js.map +1 -1
  101. package/dist/esm/extractor/watchTamaguiConfig.native.js +57 -63
  102. package/dist/esm/extractor/watchTamaguiConfig.native.js.map +1 -1
  103. package/dist/esm/server.native.js +53 -58
  104. package/dist/esm/server.native.js.map +1 -1
  105. package/package.json +15 -15
@@ -55,8 +55,7 @@ function _ts_generator(thisArg, body) {
55
55
  var f, y, t, g, _ = {
56
56
  label: 0,
57
57
  sent: function() {
58
- if (t[0] & 1)
59
- throw t[1];
58
+ if (t[0] & 1) throw t[1];
60
59
  return t[1];
61
60
  },
62
61
  trys: [],
@@ -78,64 +77,60 @@ function _ts_generator(thisArg, body) {
78
77
  };
79
78
  }
80
79
  function step(op) {
81
- if (f)
82
- throw new TypeError("Generator is already executing.");
83
- for (; _; )
84
- try {
85
- if (f = 1, y && (t = op[0] & 2 ? y.return : op[0] ? y.throw || ((t = y.return) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
86
- return t;
87
- switch (y = 0, t && (op = [
88
- op[0] & 2,
89
- t.value
90
- ]), op[0]) {
91
- case 0:
92
- case 1:
93
- t = op;
94
- break;
95
- case 4:
96
- return _.label++, {
97
- value: op[1],
98
- done: !1
99
- };
100
- case 5:
101
- _.label++, y = op[1], op = [
102
- 0
103
- ];
104
- continue;
105
- case 7:
106
- op = _.ops.pop(), _.trys.pop();
107
- continue;
108
- default:
109
- if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
110
- _ = 0;
111
- continue;
112
- }
113
- if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
114
- _.label = op[1];
115
- break;
116
- }
117
- if (op[0] === 6 && _.label < t[1]) {
118
- _.label = t[1], t = op;
119
- break;
120
- }
121
- if (t && _.label < t[2]) {
122
- _.label = t[2], _.ops.push(op);
123
- break;
124
- }
125
- t[2] && _.ops.pop(), _.trys.pop();
80
+ if (f) throw new TypeError("Generator is already executing.");
81
+ for (; _; ) try {
82
+ if (f = 1, y && (t = op[0] & 2 ? y.return : op[0] ? y.throw || ((t = y.return) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
83
+ switch (y = 0, t && (op = [
84
+ op[0] & 2,
85
+ t.value
86
+ ]), op[0]) {
87
+ case 0:
88
+ case 1:
89
+ t = op;
90
+ break;
91
+ case 4:
92
+ return _.label++, {
93
+ value: op[1],
94
+ done: !1
95
+ };
96
+ case 5:
97
+ _.label++, y = op[1], op = [
98
+ 0
99
+ ];
100
+ continue;
101
+ case 7:
102
+ op = _.ops.pop(), _.trys.pop();
103
+ continue;
104
+ default:
105
+ if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
106
+ _ = 0;
126
107
  continue;
127
- }
128
- op = body.call(thisArg, _);
129
- } catch (e) {
130
- op = [
131
- 6,
132
- e
133
- ], y = 0;
134
- } finally {
135
- f = t = 0;
108
+ }
109
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
110
+ _.label = op[1];
111
+ break;
112
+ }
113
+ if (op[0] === 6 && _.label < t[1]) {
114
+ _.label = t[1], t = op;
115
+ break;
116
+ }
117
+ if (t && _.label < t[2]) {
118
+ _.label = t[2], _.ops.push(op);
119
+ break;
120
+ }
121
+ t[2] && _.ops.pop(), _.trys.pop();
122
+ continue;
136
123
  }
137
- if (op[0] & 5)
138
- throw op[1];
124
+ op = body.call(thisArg, _);
125
+ } catch (e) {
126
+ op = [
127
+ 6,
128
+ e
129
+ ], y = 0;
130
+ } finally {
131
+ f = t = 0;
132
+ }
133
+ if (op[0] & 5) throw op[1];
139
134
  return {
140
135
  value: op[0] ? op[1] : void 0,
141
136
  done: !0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Users/n8/tamagui/packages/static/src/checkDeps.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAGYA,kBAAAA;;GAAAA,oBAAAA,kBAAAA,CAAAA,EAAAA;AAmBZ,SAAsBC,UAAUC,MAAcC,SAAgB;SAAxCF,WAAAA,MAAAA,MAAAA,SAAAA;;SAAAA,aAAAA;AAAAA,sBAAf,oBAAA,SAAyBC,MAAcC,SAAgB;QACtDC;;;;AAAU,iBAAA;;YAAM,OAAO,sCAAA;;;AAAvBA,2BAAU,OAAA,KAAA,GAChB;;YAAO,IAAIA,QAAQC,KAAKH,MAAMC,OAAAA;;;;EAChC,CAAA,GAHsBF,WAAAA,MAAAA,MAAAA,SAAAA;;",
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAGYA,kBAAAA;;GAAAA,oBAAAA,kBAAAA,CAAAA,EAAAA;AAmBZ,SAAsBC,UAAUC,MAAcC,SAAgB;SAAxCF,WAAAA,MAAAA,MAAAA,SAAAA;;SAAAA,aAAAA;AAAAA,sBAAf,oBAAA,SAAyBC,MAAcC,SAAgB;QACtDC;;;;AAAU,iBAAA;;YAAM,OAAO,sCAAA;;;AAAvBA,2BAAU,OAAA,KAAA,GAChB;;YAAO,IAAIA,QAAQC,KAAKH,MAAMC,OAAAA;;;;EAChC,CAAA,GAHsBF,WAAAA,MAAAA,MAAAA,SAAAA;;",
5
5
  "names": ["DEPENDENCY_TYPE", "checkDeps", "root", "options", "checker", "CDVC"]
6
6
  }
@@ -31,13 +31,11 @@ module.exports = __toCommonJS(bundle_exports);
31
31
  var import_node_path = require("node:path"), import_esbuild = __toESM(require("esbuild")), FS = __toESM(require("fs-extra")), import_esbuildAliasPlugin = require("./esbuildAliasPlugin"), import_loadTamagui = require("./loadTamagui");
32
32
  function _array_like_to_array(arr, len) {
33
33
  (len == null || len > arr.length) && (len = arr.length);
34
- for (var i = 0, arr2 = new Array(len); i < len; i++)
35
- arr2[i] = arr[i];
34
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
36
35
  return arr2;
37
36
  }
38
37
  function _array_without_holes(arr) {
39
- if (Array.isArray(arr))
40
- return _array_like_to_array(arr);
38
+ if (Array.isArray(arr)) return _array_like_to_array(arr);
41
39
  }
42
40
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
43
41
  try {
@@ -72,8 +70,7 @@ function _define_property(obj, key, value) {
72
70
  }) : obj[key] = value, obj;
73
71
  }
74
72
  function _iterable_to_array(iter) {
75
- if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
76
- return Array.from(iter);
73
+ if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
77
74
  }
78
75
  function _non_iterable_spread() {
79
76
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
@@ -90,8 +87,7 @@ function _object_spread(target) {
90
87
  return target;
91
88
  }
92
89
  function _object_without_properties(source, excluded) {
93
- if (source == null)
94
- return {};
90
+ if (source == null) return {};
95
91
  var target = _object_without_properties_loose(source, excluded), key, i;
96
92
  if (Object.getOwnPropertySymbols) {
97
93
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -101,8 +97,7 @@ function _object_without_properties(source, excluded) {
101
97
  return target;
102
98
  }
103
99
  function _object_without_properties_loose(source, excluded) {
104
- if (source == null)
105
- return {};
100
+ if (source == null) return {};
106
101
  var target = {}, sourceKeys = Object.keys(source), key, i;
107
102
  for (i = 0; i < sourceKeys.length; i++)
108
103
  key = sourceKeys[i], !(excluded.indexOf(key) >= 0) && (target[key] = source[key]);
@@ -113,21 +108,17 @@ function _to_consumable_array(arr) {
113
108
  }
114
109
  function _unsupported_iterable_to_array(o, minLen) {
115
110
  if (o) {
116
- if (typeof o == "string")
117
- return _array_like_to_array(o, minLen);
111
+ if (typeof o == "string") return _array_like_to_array(o, minLen);
118
112
  var n = Object.prototype.toString.call(o).slice(8, -1);
119
- if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set")
120
- return Array.from(n);
121
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
122
- return _array_like_to_array(o, minLen);
113
+ if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set") return Array.from(n);
114
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
123
115
  }
124
116
  }
125
117
  function _ts_generator(thisArg, body) {
126
118
  var f, y, t, g, _ = {
127
119
  label: 0,
128
120
  sent: function() {
129
- if (t[0] & 1)
130
- throw t[1];
121
+ if (t[0] & 1) throw t[1];
131
122
  return t[1];
132
123
  },
133
124
  trys: [],
@@ -149,64 +140,60 @@ function _ts_generator(thisArg, body) {
149
140
  };
150
141
  }
151
142
  function step(op) {
152
- if (f)
153
- throw new TypeError("Generator is already executing.");
154
- for (; _; )
155
- try {
156
- if (f = 1, y && (t = op[0] & 2 ? y.return : op[0] ? y.throw || ((t = y.return) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
157
- return t;
158
- switch (y = 0, t && (op = [
159
- op[0] & 2,
160
- t.value
161
- ]), op[0]) {
162
- case 0:
163
- case 1:
164
- t = op;
165
- break;
166
- case 4:
167
- return _.label++, {
168
- value: op[1],
169
- done: !1
170
- };
171
- case 5:
172
- _.label++, y = op[1], op = [
173
- 0
174
- ];
175
- continue;
176
- case 7:
177
- op = _.ops.pop(), _.trys.pop();
178
- continue;
179
- default:
180
- if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
181
- _ = 0;
182
- continue;
183
- }
184
- if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
185
- _.label = op[1];
186
- break;
187
- }
188
- if (op[0] === 6 && _.label < t[1]) {
189
- _.label = t[1], t = op;
190
- break;
191
- }
192
- if (t && _.label < t[2]) {
193
- _.label = t[2], _.ops.push(op);
194
- break;
195
- }
196
- t[2] && _.ops.pop(), _.trys.pop();
143
+ if (f) throw new TypeError("Generator is already executing.");
144
+ for (; _; ) try {
145
+ if (f = 1, y && (t = op[0] & 2 ? y.return : op[0] ? y.throw || ((t = y.return) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
146
+ switch (y = 0, t && (op = [
147
+ op[0] & 2,
148
+ t.value
149
+ ]), op[0]) {
150
+ case 0:
151
+ case 1:
152
+ t = op;
153
+ break;
154
+ case 4:
155
+ return _.label++, {
156
+ value: op[1],
157
+ done: !1
158
+ };
159
+ case 5:
160
+ _.label++, y = op[1], op = [
161
+ 0
162
+ ];
163
+ continue;
164
+ case 7:
165
+ op = _.ops.pop(), _.trys.pop();
166
+ continue;
167
+ default:
168
+ if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
169
+ _ = 0;
197
170
  continue;
198
- }
199
- op = body.call(thisArg, _);
200
- } catch (e) {
201
- op = [
202
- 6,
203
- e
204
- ], y = 0;
205
- } finally {
206
- f = t = 0;
171
+ }
172
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
173
+ _.label = op[1];
174
+ break;
175
+ }
176
+ if (op[0] === 6 && _.label < t[1]) {
177
+ _.label = t[1], t = op;
178
+ break;
179
+ }
180
+ if (t && _.label < t[2]) {
181
+ _.label = t[2], _.ops.push(op);
182
+ break;
183
+ }
184
+ t[2] && _.ops.pop(), _.trys.pop();
185
+ continue;
207
186
  }
208
- if (op[0] & 5)
209
- throw op[1];
187
+ op = body.call(thisArg, _);
188
+ } catch (e) {
189
+ op = [
190
+ 6,
191
+ e
192
+ ], y = 0;
193
+ } finally {
194
+ f = t = 0;
195
+ }
196
+ if (op[0] & 5) throw op[1];
210
197
  return {
211
198
  value: op[0] ? op[1] : void 0,
212
199
  done: !0
@@ -360,11 +347,10 @@ function _asyncLock() {
360
347
  })
361
348
  ];
362
349
  case 1:
363
- if (lockStat = _state.sent(), lockedMsAgo = lockStat ? (/* @__PURE__ */ new Date()).getTime() - new Date(lockStat.mtime).getTime() : Number.POSITIVE_INFINITY, !(lockedMsAgo < 500))
364
- return [
365
- 3,
366
- 5
367
- ];
350
+ if (lockStat = _state.sent(), lockedMsAgo = lockStat ? (/* @__PURE__ */ new Date()).getTime() - new Date(lockStat.mtime).getTime() : Number.POSITIVE_INFINITY, !(lockedMsAgo < 500)) return [
351
+ 3,
352
+ 5
353
+ ];
368
354
  !((_process_env_DEBUG = process.env.DEBUG) === null || _process_env_DEBUG === void 0) && _process_env_DEBUG.startsWith("tamagui") && console.info("Waiting for existing build", props.entryPoints), tries = 5, _state.label = 2;
369
355
  case 2:
370
356
  return tries-- ? [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/bundle.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uBAAwC,sBAExC,iBAAoB,6BACpB,KAAoB,8BAGpB,4BAAmC,iCACnC,qBAAgD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAf,oBAAA,SAAyBF,OAAY;QAC7BI,UACAC,UAGAC,aAIApC,oBAGAqC;;;;AAXAH,gCAAWzC,2BAAK6C,0BAAQR,MAAMS,OAAO,OAAGC,2BAASV,MAAMS,SAAS,OAAA,CAAA,GACrD;;YAAME,GAAGC,KAAKR,QAAAA,EAAUS,MAAM,WAAA;YAE/C,CAAA;;;cAFMR,WAAW,OAAA,KAAA,GAGXC,cAAeD,YAEjB,oBAAIS,KAAAA,GAAOC,QAAO,IAAK,IAAID,KAAKT,SAASW,KAAK,EAAED,QAAO,IADvDE,OAAOC,qBAEPZ,cAAc,KAAdA,QAAAA;;;;AACF,UAAIpC,wBAAAA,QAAQC,IAAIC,WAAK,QAAjBF,uBAAAA,WAAAA,mBAAmBG,WAAW,SAAA,KAChCC,QAAQC,KAAM,8BAA6ByB,MAAMjC,WAAW,GAE1DwC,QAAQ;;iBACLA,UACD;;YAAMI,GAAGQ,WAAWnB,MAAMS,OAAO;cADhCF;;;;;AACL,iBAAI,OAAA,KAAA,IACF;;cAEF;;YAAM,IAAIa,QAAQ,SAAC1C,KAAAA;qBAAQ2C,WAAW3C,KAAK,EAAA;;;;AAA3C,wBAAA,KAAA;;;;;AAGJ,iBAAKiC,GAAGW,UAAUlB,UAAU,EAAA;;;;;EAC9B,CAAA,GArBeF,WAAAA,MAAAA,MAAAA,SAAAA;;",
5
5
  "names": ["esbuildLoaderConfig", "dataExtensions", "Object", "keys", "filter", "k", "map", "slice", "esbuildIgnoreFilesRegex", "RegExp", "join", "getESBuildConfig", "platform", "aliases", "entryPoints", "resolvePlatformSpecificEntries", "options", "process", "env", "DEBUG", "startsWith", "console", "info", "resolvedEntryPoints", "resolveWebOrNativeSpecificEntry", "res", "bundle", "format", "target", "jsx", "jsxFactory", "allowOverwrite", "keepNames", "resolveExtensions", "tsconfigRaw", "compilerOptions", "loader", "logLevel", "plugins", "name", "setup", "build", "onResolve", "args", "path", "external", "esbuildAliasPlugin", "props", "config", "asyncLock", "esbuild", "lockFile", "lockStat", "lockedMsAgo", "tries", "dirname", "outfile", "basename", "FS", "stat", "catch", "Date", "getTime", "mtime", "Number", "POSITIVE_INFINITY", "pathExists", "Promise", "setTimeout", "writeFile"]
6
6
  }
@@ -303,11 +303,9 @@ function transformAddExports(ast) {
303
303
  }
304
304
  }), (0, import_traverse.default)(ast, {
305
305
  VariableDeclaration(nodePath) {
306
- if (!t.isProgram(nodePath.parent))
307
- return;
306
+ if (!t.isProgram(nodePath.parent)) return;
308
307
  const decs = nodePath.node.declarations;
309
- if (decs.length > 1)
310
- return;
308
+ if (decs.length > 1) return;
311
309
  const [dec] = decs;
312
310
  t.isIdentifier(dec.id) && dec.init && (usedNames.has(dec.id.name) || (usedNames.add(dec.id.name), nodePath.replaceWith(
313
311
  t.exportNamedDeclaration(t.variableDeclaration("let", [dec]), [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/extractor/bundleConfig.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAA6B,oBAC7B,mBAAgE,sBAEhE,mBAAqB,sCACrB,kBAAqB,qCACrB,IAAmB,kCACnB,mBAAgC,+BAEhC,iBAAoB,6BACpB,KAAoB,8BAEpB,yBAAkD,+BAElD,oBAA2B,yBAC3B,gBAA4C,qBAC5C,+CAAsD;AAuBtD,MAAM,WAAW;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAEM,sBAAsB;AAAA,EAC1B,QAAQ;AAAA,IACN,SAAS,GAAG,QAAQ,IAAI,aAAa,aAAa;AAAA,EACpD;AACF,GAEa,iBAAiB;AAAA,EAC5B,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,KAAK;AAAA,EACL,UAAU;AAAA,EACV,GAAG;AACL;AAKA,IAAI,gBAAsC,MACtC,aAAa,IACb,aAAmC;AACvC,MAAM,gBAA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MAAM,KAAK,CAAC;AAClC;AAGF,MADqB,WAAW;AAE9B,WAAO;AAEX;AAEA,SAAS,qBAAqB,KAAU;AACtC,SAAO,KAAK,WAAW;AACzB;AAEA,MAAM,kBAAsD,CAAC;AAE7D,SAAS,oBAAoB,KAAa;AACxC,QAAM,YAAY,oBAAI,IAAY;AAIlC,6BAAAC,SAAS,KAAK;AAAA,IACZ,uBAAuB,UAAU;AAC/B,UAAI,SAAS,KAAK;AAChB,mBAAW,QAAQ,SAAS,KAAK;AAC/B,oBAAU;AAAA,YACR,EAAE,aAAa,KAAK,QAAQ,IAAI,KAAK,SAAS,OAAO,KAAK,SAAS;AAAA,UACrE;AAAA,IAGN;AAAA,EACF,CAAC,OAGD,gBAAAA,SAAS,KAAK;AAAA,IACZ,oBAAoB,UAAU;AAE5B,UAAI,CAAC,EAAE,UAAU,SAAS,MAAM,EAAG;AACnC,YAAM,OAAO,SAAS,KAAK;AAC3B,UAAI,KAAK,SAAS,EAAG;AACrB,YAAM,CAAC,GAAG,IAAI;AACd,MAAK,EAAE,aAAa,IAAI,EAAE,KACrB,IAAI,SACL,UAAU,IAAI,IAAI,GAAG,IAAI,MAC7B,UAAU,IAAI,IAAI,GAAG,IAAI,GACzB,SAAS;AAAA,QACP,EAAE,uBAAuB,EAAE,oBAAoB,OAAO,CAAC,GAAG,CAAC,GAAG;AAAA,UAC5D,EAAE,gBAAgB,EAAE,WAAW,IAAI,GAAG,IAAI,GAAG,EAAE,WAAW,IAAI,GAAG,IAAI,CAAC;AAAA,QACxE,CAAC;AAAA,MACH;AAAA,IACF;AAAA,EACF,CAAC,OAGM,iBAAAC,SAAS,KAAY;AAAA,IAC1B,SAAS;AAAA,IACT,UAAU;AAAA,IACV,aAAa;AAAA,IACb,YAAY;AAAA,EACd,CAAC,EAAE;AACL;",
5
5
  "names": ["forceExports", "esbuild", "traverse", "generate"]
6
6
  }
@@ -34,17 +34,14 @@ module.exports = __toCommonJS(bundleConfig_exports);
34
34
  var import_node_fs = require("node:fs"), import_node_path = require("node:path"), import_generator = __toESM(require("@babel/generator")), import_traverse = __toESM(require("@babel/traverse")), t = __toESM(require("@babel/types")), import_cli_color = require("@tamagui/cli-color"), import_esbuild = __toESM(require("esbuild")), FS = __toESM(require("fs-extra")), import_registerRequire = require("../registerRequire"), import_babelParse = require("./babelParse"), import_bundle = require("./bundle"), import_getTamaguiConfigPathFromOptionsConfig = require("./getTamaguiConfigPathFromOptionsConfig");
35
35
  function _array_like_to_array(arr, len) {
36
36
  (len == null || len > arr.length) && (len = arr.length);
37
- for (var i = 0, arr2 = new Array(len); i < len; i++)
38
- arr2[i] = arr[i];
37
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
39
38
  return arr2;
40
39
  }
41
40
  function _array_with_holes(arr) {
42
- if (Array.isArray(arr))
43
- return arr;
41
+ if (Array.isArray(arr)) return arr;
44
42
  }
45
43
  function _array_without_holes(arr) {
46
- if (Array.isArray(arr))
47
- return _array_like_to_array(arr);
44
+ if (Array.isArray(arr)) return _array_like_to_array(arr);
48
45
  }
49
46
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
50
47
  try {
@@ -79,8 +76,7 @@ function _define_property(obj, key, value) {
79
76
  }) : obj[key] = value, obj;
80
77
  }
81
78
  function _iterable_to_array(iter) {
82
- if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
83
- return Array.from(iter);
79
+ if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
84
80
  }
85
81
  function _iterable_to_array_limit(arr, i) {
86
82
  var _i = arr == null ? null : typeof Symbol < "u" && arr[Symbol.iterator] || arr["@@iterator"];
@@ -95,8 +91,7 @@ function _iterable_to_array_limit(arr, i) {
95
91
  try {
96
92
  !_n && _i.return != null && _i.return();
97
93
  } finally {
98
- if (_d)
99
- throw _e;
94
+ if (_d) throw _e;
100
95
  }
101
96
  }
102
97
  return _arr;
@@ -135,8 +130,7 @@ function _object_spread_props(target, source) {
135
130
  }), target;
136
131
  }
137
132
  function _object_without_properties(source, excluded) {
138
- if (source == null)
139
- return {};
133
+ if (source == null) return {};
140
134
  var target = _object_without_properties_loose(source, excluded), key, i;
141
135
  if (Object.getOwnPropertySymbols) {
142
136
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -146,8 +140,7 @@ function _object_without_properties(source, excluded) {
146
140
  return target;
147
141
  }
148
142
  function _object_without_properties_loose(source, excluded) {
149
- if (source == null)
150
- return {};
143
+ if (source == null) return {};
151
144
  var target = {}, sourceKeys = Object.keys(source), key, i;
152
145
  for (i = 0; i < sourceKeys.length; i++)
153
146
  key = sourceKeys[i], !(excluded.indexOf(key) >= 0) && (target[key] = source[key]);
@@ -165,21 +158,17 @@ function _type_of(obj) {
165
158
  }
166
159
  function _unsupported_iterable_to_array(o, minLen) {
167
160
  if (o) {
168
- if (typeof o == "string")
169
- return _array_like_to_array(o, minLen);
161
+ if (typeof o == "string") return _array_like_to_array(o, minLen);
170
162
  var n = Object.prototype.toString.call(o).slice(8, -1);
171
- if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set")
172
- return Array.from(n);
173
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
174
- return _array_like_to_array(o, minLen);
163
+ if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set") return Array.from(n);
164
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
175
165
  }
176
166
  }
177
167
  function _ts_generator(thisArg, body) {
178
168
  var f, y, t2, g, _ = {
179
169
  label: 0,
180
170
  sent: function() {
181
- if (t2[0] & 1)
182
- throw t2[1];
171
+ if (t2[0] & 1) throw t2[1];
183
172
  return t2[1];
184
173
  },
185
174
  trys: [],
@@ -201,64 +190,60 @@ function _ts_generator(thisArg, body) {
201
190
  };
202
191
  }
203
192
  function step(op) {
204
- if (f)
205
- throw new TypeError("Generator is already executing.");
206
- for (; _; )
207
- try {
208
- if (f = 1, y && (t2 = op[0] & 2 ? y.return : op[0] ? y.throw || ((t2 = y.return) && t2.call(y), 0) : y.next) && !(t2 = t2.call(y, op[1])).done)
209
- return t2;
210
- switch (y = 0, t2 && (op = [
211
- op[0] & 2,
212
- t2.value
213
- ]), op[0]) {
214
- case 0:
215
- case 1:
216
- t2 = op;
217
- break;
218
- case 4:
219
- return _.label++, {
220
- value: op[1],
221
- done: !1
222
- };
223
- case 5:
224
- _.label++, y = op[1], op = [
225
- 0
226
- ];
227
- continue;
228
- case 7:
229
- op = _.ops.pop(), _.trys.pop();
230
- continue;
231
- default:
232
- if (t2 = _.trys, !(t2 = t2.length > 0 && t2[t2.length - 1]) && (op[0] === 6 || op[0] === 2)) {
233
- _ = 0;
234
- continue;
235
- }
236
- if (op[0] === 3 && (!t2 || op[1] > t2[0] && op[1] < t2[3])) {
237
- _.label = op[1];
238
- break;
239
- }
240
- if (op[0] === 6 && _.label < t2[1]) {
241
- _.label = t2[1], t2 = op;
242
- break;
243
- }
244
- if (t2 && _.label < t2[2]) {
245
- _.label = t2[2], _.ops.push(op);
246
- break;
247
- }
248
- t2[2] && _.ops.pop(), _.trys.pop();
193
+ if (f) throw new TypeError("Generator is already executing.");
194
+ for (; _; ) try {
195
+ if (f = 1, y && (t2 = op[0] & 2 ? y.return : op[0] ? y.throw || ((t2 = y.return) && t2.call(y), 0) : y.next) && !(t2 = t2.call(y, op[1])).done) return t2;
196
+ switch (y = 0, t2 && (op = [
197
+ op[0] & 2,
198
+ t2.value
199
+ ]), op[0]) {
200
+ case 0:
201
+ case 1:
202
+ t2 = op;
203
+ break;
204
+ case 4:
205
+ return _.label++, {
206
+ value: op[1],
207
+ done: !1
208
+ };
209
+ case 5:
210
+ _.label++, y = op[1], op = [
211
+ 0
212
+ ];
213
+ continue;
214
+ case 7:
215
+ op = _.ops.pop(), _.trys.pop();
216
+ continue;
217
+ default:
218
+ if (t2 = _.trys, !(t2 = t2.length > 0 && t2[t2.length - 1]) && (op[0] === 6 || op[0] === 2)) {
219
+ _ = 0;
249
220
  continue;
250
- }
251
- op = body.call(thisArg, _);
252
- } catch (e) {
253
- op = [
254
- 6,
255
- e
256
- ], y = 0;
257
- } finally {
258
- f = t2 = 0;
221
+ }
222
+ if (op[0] === 3 && (!t2 || op[1] > t2[0] && op[1] < t2[3])) {
223
+ _.label = op[1];
224
+ break;
225
+ }
226
+ if (op[0] === 6 && _.label < t2[1]) {
227
+ _.label = t2[1], t2 = op;
228
+ break;
229
+ }
230
+ if (t2 && _.label < t2[2]) {
231
+ _.label = t2[2], _.ops.push(op);
232
+ break;
233
+ }
234
+ t2[2] && _.ops.pop(), _.trys.pop();
235
+ continue;
259
236
  }
260
- if (op[0] & 5)
261
- throw op[1];
237
+ op = body.call(thisArg, _);
238
+ } catch (e) {
239
+ op = [
240
+ 6,
241
+ e
242
+ ], y = 0;
243
+ } finally {
244
+ f = t2 = 0;
245
+ }
246
+ if (op[0] & 5) throw op[1];
262
247
  return {
263
248
  value: op[0] ? op[1] : void 0,
264
249
  done: !0
@@ -347,11 +332,10 @@ function _bundleConfig() {
347
332
  return x !== "@tamagui/core";
348
333
  }), componentOutPaths = baseComponents.map(function(componentModule) {
349
334
  return (0, import_node_path.join)(tmpDir, "".concat(componentModule.split(import_node_path.sep).join("-").replace(/[^a-z0-9]+/gi, ""), "-components.config.cjs"));
350
- }), process.env.NODE_ENV === "development" && (!((_process_env_DEBUG = process.env.DEBUG) === null || _process_env_DEBUG === void 0) && _process_env_DEBUG.startsWith("tamagui")) && console.info("Building config entry", configEntry), props.disableInitialBuild)
351
- return [
352
- 3,
353
- 6
354
- ];
335
+ }), process.env.NODE_ENV === "development" && (!((_process_env_DEBUG = process.env.DEBUG) === null || _process_env_DEBUG === void 0) && _process_env_DEBUG.startsWith("tamagui")) && console.info("Building config entry", configEntry), props.disableInitialBuild) return [
336
+ 3,
337
+ 6
338
+ ];
355
339
  _state.label = 1;
356
340
  case 1:
357
341
  return _state.trys.push([