@tamagui/static 1.89.26 → 1.89.27-1708113113238

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/dist/cjs/constants.native.js +4 -4
  2. package/dist/cjs/constants.native.js.map +3 -3
  3. package/dist/cjs/extractor/accessSafe.native.js +1 -5
  4. package/dist/cjs/extractor/accessSafe.native.js.map +3 -3
  5. package/dist/cjs/extractor/babelParse.native.js +5 -8
  6. package/dist/cjs/extractor/babelParse.native.js.map +3 -3
  7. package/dist/cjs/extractor/buildClassName.native.js +31 -42
  8. package/dist/cjs/extractor/buildClassName.native.js.map +3 -3
  9. package/dist/cjs/extractor/bundle.js +6 -4
  10. package/dist/cjs/extractor/bundle.js.map +1 -1
  11. package/dist/cjs/extractor/bundle.native.js +321 -56
  12. package/dist/cjs/extractor/bundle.native.js.map +3 -3
  13. package/dist/cjs/extractor/bundleConfig.native.js +499 -187
  14. package/dist/cjs/extractor/bundleConfig.native.js.map +3 -3
  15. package/dist/cjs/extractor/createEvaluator.native.js +9 -11
  16. package/dist/cjs/extractor/createEvaluator.native.js.map +3 -3
  17. package/dist/cjs/extractor/createExtractor.native.js +1240 -906
  18. package/dist/cjs/extractor/createExtractor.native.js.map +3 -3
  19. package/dist/cjs/extractor/ensureImportingConcat.native.js +11 -17
  20. package/dist/cjs/extractor/ensureImportingConcat.native.js.map +3 -3
  21. package/dist/cjs/extractor/esbuildAliasPlugin.native.js +22 -11
  22. package/dist/cjs/extractor/esbuildAliasPlugin.native.js.map +3 -3
  23. package/dist/cjs/extractor/evaluateAstNode.native.js +15 -21
  24. package/dist/cjs/extractor/evaluateAstNode.native.js.map +3 -3
  25. package/dist/cjs/extractor/extractHelpers.native.js +146 -38
  26. package/dist/cjs/extractor/extractHelpers.native.js.map +3 -3
  27. package/dist/cjs/extractor/extractMediaStyle.native.js +127 -54
  28. package/dist/cjs/extractor/extractMediaStyle.native.js.map +3 -3
  29. package/dist/cjs/extractor/extractToClassNames.native.js +449 -252
  30. package/dist/cjs/extractor/extractToClassNames.native.js.map +3 -3
  31. package/dist/cjs/extractor/findTopmostFunction.native.js +4 -4
  32. package/dist/cjs/extractor/findTopmostFunction.native.js.map +3 -3
  33. package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js +415 -54
  34. package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js.map +3 -3
  35. package/dist/cjs/extractor/generatedUid.native.js +2 -2
  36. package/dist/cjs/extractor/generatedUid.native.js.map +3 -3
  37. package/dist/cjs/extractor/getPrefixLogs.native.js +2 -1
  38. package/dist/cjs/extractor/getPrefixLogs.native.js.map +3 -3
  39. package/dist/cjs/extractor/getPropValueFromAttributes.native.js +16 -19
  40. package/dist/cjs/extractor/getPropValueFromAttributes.native.js.map +3 -3
  41. package/dist/cjs/extractor/getSourceModule.native.js +20 -7
  42. package/dist/cjs/extractor/getSourceModule.native.js.map +3 -3
  43. package/dist/cjs/extractor/getStaticBindingsForScope.native.js +336 -94
  44. package/dist/cjs/extractor/getStaticBindingsForScope.native.js.map +3 -3
  45. package/dist/cjs/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +3 -3
  46. package/dist/cjs/extractor/hoistClassNames.native.js +8 -10
  47. package/dist/cjs/extractor/hoistClassNames.native.js.map +3 -3
  48. package/dist/cjs/extractor/literalToAst.native.js +89 -19
  49. package/dist/cjs/extractor/literalToAst.native.js.map +3 -3
  50. package/dist/cjs/extractor/loadFile.native.js +16 -8
  51. package/dist/cjs/extractor/loadFile.native.js.map +3 -3
  52. package/dist/cjs/extractor/loadTamagui.js +3 -3
  53. package/dist/cjs/extractor/loadTamagui.js.map +1 -1
  54. package/dist/cjs/extractor/loadTamagui.native.js +667 -192
  55. package/dist/cjs/extractor/loadTamagui.native.js.map +3 -3
  56. package/dist/cjs/extractor/logLines.native.js +24 -6
  57. package/dist/cjs/extractor/logLines.native.js.map +3 -3
  58. package/dist/cjs/extractor/normalizeTernaries.native.js +71 -20
  59. package/dist/cjs/extractor/normalizeTernaries.native.js.map +3 -3
  60. package/dist/cjs/extractor/propsToFontFamilyCache.native.js +3 -3
  61. package/dist/cjs/extractor/propsToFontFamilyCache.native.js.map +3 -3
  62. package/dist/cjs/extractor/removeUnusedHooks.native.js +69 -36
  63. package/dist/cjs/extractor/removeUnusedHooks.native.js.map +3 -3
  64. package/dist/cjs/extractor/timer.native.js +10 -9
  65. package/dist/cjs/extractor/timer.native.js.map +3 -3
  66. package/dist/cjs/extractor/validHTMLAttributes.native.js +1 -1
  67. package/dist/cjs/extractor/validHTMLAttributes.native.js.map +3 -3
  68. package/dist/cjs/getPragmaOptions.native.js +4 -9
  69. package/dist/cjs/getPragmaOptions.native.js.map +3 -3
  70. package/dist/cjs/helpers/memoize.native.js +5 -3
  71. package/dist/cjs/helpers/memoize.native.js.map +3 -3
  72. package/dist/cjs/helpers/requireTamaguiCore.native.js +2 -1
  73. package/dist/cjs/helpers/requireTamaguiCore.native.js.map +3 -3
  74. package/dist/cjs/index.native.js.map +2 -2
  75. package/dist/cjs/minifyCSS.native.js.map +3 -3
  76. package/dist/cjs/registerRequire.native.js +56 -28
  77. package/dist/cjs/registerRequire.native.js.map +3 -3
  78. package/dist/cjs/server.native.js +175 -21
  79. package/dist/cjs/server.native.js.map +3 -3
  80. package/dist/cjs/setup.native.js.map +3 -3
  81. package/dist/cjs/static.native.js.map +2 -2
  82. package/dist/cjs/types.native.js.map +2 -2
  83. package/dist/cjs/webpackPlugin.native.js +26 -5
  84. package/dist/cjs/webpackPlugin.native.js.map +3 -3
  85. package/dist/esm/constants.native.js +4 -3
  86. package/dist/esm/constants.native.js.map +3 -3
  87. package/dist/esm/extractor/accessSafe.native.js +1 -5
  88. package/dist/esm/extractor/accessSafe.native.js.map +3 -3
  89. package/dist/esm/extractor/babelParse.native.js +5 -7
  90. package/dist/esm/extractor/babelParse.native.js.map +3 -3
  91. package/dist/esm/extractor/buildClassName.native.js +31 -41
  92. package/dist/esm/extractor/buildClassName.native.js.map +3 -3
  93. package/dist/esm/extractor/bundle.js +6 -4
  94. package/dist/esm/extractor/bundle.js.map +1 -1
  95. package/dist/esm/extractor/bundle.mjs +7 -5
  96. package/dist/esm/extractor/bundle.native.js +321 -56
  97. package/dist/esm/extractor/bundle.native.js.map +3 -3
  98. package/dist/esm/extractor/bundleConfig.native.js +499 -187
  99. package/dist/esm/extractor/bundleConfig.native.js.map +3 -3
  100. package/dist/esm/extractor/createEvaluator.native.js +9 -11
  101. package/dist/esm/extractor/createEvaluator.native.js.map +3 -3
  102. package/dist/esm/extractor/createExtractor.native.js +1241 -916
  103. package/dist/esm/extractor/createExtractor.native.js.map +3 -3
  104. package/dist/esm/extractor/ensureImportingConcat.native.js +11 -16
  105. package/dist/esm/extractor/ensureImportingConcat.native.js.map +3 -3
  106. package/dist/esm/extractor/esbuildAliasPlugin.native.js +22 -11
  107. package/dist/esm/extractor/esbuildAliasPlugin.native.js.map +3 -3
  108. package/dist/esm/extractor/evaluateAstNode.native.js +15 -21
  109. package/dist/esm/extractor/evaluateAstNode.native.js.map +3 -3
  110. package/dist/esm/extractor/extractHelpers.native.js +146 -38
  111. package/dist/esm/extractor/extractHelpers.native.js.map +3 -3
  112. package/dist/esm/extractor/extractMediaStyle.native.js +127 -54
  113. package/dist/esm/extractor/extractMediaStyle.native.js.map +3 -3
  114. package/dist/esm/extractor/extractToClassNames.native.js +449 -252
  115. package/dist/esm/extractor/extractToClassNames.native.js.map +3 -3
  116. package/dist/esm/extractor/findTopmostFunction.native.js +4 -4
  117. package/dist/esm/extractor/findTopmostFunction.native.js.map +3 -3
  118. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js +415 -54
  119. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js.map +3 -3
  120. package/dist/esm/extractor/generatedUid.native.js +2 -2
  121. package/dist/esm/extractor/generatedUid.native.js.map +3 -3
  122. package/dist/esm/extractor/getPrefixLogs.native.js +2 -1
  123. package/dist/esm/extractor/getPrefixLogs.native.js.map +3 -3
  124. package/dist/esm/extractor/getPropValueFromAttributes.native.js +16 -19
  125. package/dist/esm/extractor/getPropValueFromAttributes.native.js.map +3 -3
  126. package/dist/esm/extractor/getSourceModule.native.js +20 -7
  127. package/dist/esm/extractor/getSourceModule.native.js.map +3 -3
  128. package/dist/esm/extractor/getStaticBindingsForScope.native.js +336 -94
  129. package/dist/esm/extractor/getStaticBindingsForScope.native.js.map +3 -3
  130. package/dist/esm/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +3 -3
  131. package/dist/esm/extractor/hoistClassNames.native.js +8 -10
  132. package/dist/esm/extractor/hoistClassNames.native.js.map +3 -3
  133. package/dist/esm/extractor/literalToAst.native.js +89 -19
  134. package/dist/esm/extractor/literalToAst.native.js.map +3 -3
  135. package/dist/esm/extractor/loadFile.native.js +16 -8
  136. package/dist/esm/extractor/loadFile.native.js.map +3 -3
  137. package/dist/esm/extractor/loadTamagui.js +1 -2
  138. package/dist/esm/extractor/loadTamagui.js.map +1 -1
  139. package/dist/esm/extractor/loadTamagui.mjs +5 -3
  140. package/dist/esm/extractor/loadTamagui.native.js +668 -203
  141. package/dist/esm/extractor/loadTamagui.native.js.map +3 -3
  142. package/dist/esm/extractor/logLines.native.js +24 -6
  143. package/dist/esm/extractor/logLines.native.js.map +3 -3
  144. package/dist/esm/extractor/normalizeTernaries.native.js +71 -20
  145. package/dist/esm/extractor/normalizeTernaries.native.js.map +3 -3
  146. package/dist/esm/extractor/propsToFontFamilyCache.native.js +3 -3
  147. package/dist/esm/extractor/propsToFontFamilyCache.native.js.map +3 -3
  148. package/dist/esm/extractor/removeUnusedHooks.native.js +69 -35
  149. package/dist/esm/extractor/removeUnusedHooks.native.js.map +3 -3
  150. package/dist/esm/extractor/timer.native.js +10 -9
  151. package/dist/esm/extractor/timer.native.js.map +3 -3
  152. package/dist/esm/extractor/validHTMLAttributes.native.js +1 -1
  153. package/dist/esm/extractor/validHTMLAttributes.native.js.map +3 -3
  154. package/dist/esm/getPragmaOptions.native.js +4 -9
  155. package/dist/esm/getPragmaOptions.native.js.map +3 -3
  156. package/dist/esm/helpers/memoize.native.js +5 -3
  157. package/dist/esm/helpers/memoize.native.js.map +3 -3
  158. package/dist/esm/helpers/requireTamaguiCore.native.js +2 -1
  159. package/dist/esm/helpers/requireTamaguiCore.native.js.map +3 -3
  160. package/dist/esm/index.native.js.map +1 -1
  161. package/dist/esm/minifyCSS.native.js.map +3 -3
  162. package/dist/esm/registerRequire.native.js +56 -28
  163. package/dist/esm/registerRequire.native.js.map +3 -3
  164. package/dist/esm/server.native.js +175 -21
  165. package/dist/esm/server.native.js.map +3 -3
  166. package/dist/esm/setup.native.js.map +3 -3
  167. package/dist/esm/static.native.js.map +3 -3
  168. package/dist/esm/webpackPlugin.native.js +26 -5
  169. package/dist/esm/webpackPlugin.native.js.map +3 -3
  170. package/package.json +14 -15
  171. package/src/extractor/bundle.ts +5 -2
  172. package/src/extractor/loadTamagui.ts +3 -2
  173. package/types/extractor/bundle.d.ts.map +1 -1
  174. package/types/extractor/loadTamagui.d.ts.map +1 -1
  175. package/tamagui.tsconfig.json +0 -5
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/extractor/loadTamagui.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAA4C,eAC5C,cAAoE,iBAEpE,mBAAgC,+BAChC,wBAAwC,oCAGxC,iBAAoB,6BACpB,kBAAwE,qBAExE,mBAA6B,yBAC7B,4BAAmC,0CACnC,mBAA0B,yBAC1B,yBAAgD,+BAChD,sBAKO,2BACP,qCAIO,0CACP,+CAAsD,oDACtD,kBAAyB;AAEzB,MAAM,mBAAmB,CAAC,aAAsD;AAAA;AAAA,EAE9E,UAAW;AAAA,EACX,QAAQ;AAAA,EACR,YAAY,CAAC,SAAS;AAAA,EACtB,GAAI;AACN;AAEA,eAAsB,YACpB,SACoC;AACpC,QAAM,QAAQ,iBAAiB,OAAO,GAEhC,aAAa,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,oBAAA,SAAiCO,OAAeC,WAAqB;QAC/DC,YAOEC;;;;AAPFD,8BAAa,IAOD;;YAAME,eAAAA,QAAQD,QAAQ;cACpCE,QAAQ;cACRC,aAAW;gBAAGN;;cACdO,mBAAiB;gBAAG;gBAAO;gBAAQ;gBAAO;gBAAQ;;cAClDC,UAAU;cACVC,OAAO;cACPC,SAAO;gBACL;kBACEC,MAAO;kBACPC,OAAAA,SAAM,OAAS;wBAAPC,QAAF,MAAEA;AACNA,0BAAM,WAAA;AACJ,sBAAKX,aAGHD,UAAAA,IAFAC,aAAa;oBAIjB,CAAA;kBACF;gBACF;;YAEJ,CAAA;;;AApBMC,2BAAU,OAAA,KAAA,GAuBXA,QAAQW,MAAK,GAElB;;YAAO,WAAA;AACLX,sBAAQX,QAAO;YACjB;;;;EACF,CAAA,GApCeC,mBAAAA,MAAAA,MAAAA,SAAAA;;",
5
+ "names": ["getFilledOptions", "propsIn", "platform", "process", "config", "components", "loadTamagui", "props", "bundleInfo", "createTamagui", "outputCSS", "flush", "cssOut", "css", "getBundledConfig", "generateThemesAndLog", "console", "warn", "hasBundledConfigChanged", "requireTamaguiCore", "tamaguiConfig", "colorLog", "Color", "FgYellow", "writeFile", "_state", "getCSS", "disableMinifyCSS", "minifyCSS", "code", "readFile", "env", "NODE_ENV", "generateTamaguiStudioConfig", "waiting", "hasLoggedOnce", "options", "force", "didGenerate", "whitespaceBefore", "themeBuilder", "Promise", "res", "setTimeout", "generateTamaguiThemes", "relative", "cwd", "output", "last", "lastVersion", "loadTamaguiBuildConfigSync", "tamaguiOptions", "buildFilePath", "buildFile", "existsSync", "registered", "registerRequire", "out", "require", "default", "Error", "unregister", "loadTamaguiSync", "forceExports", "cacheKey", "key", "JSON", "stringify", "IS_STATIC", "TAMAGUI_IS_SERVER", "proxyWormImports", "devValueOG", "globalThis", "configPath", "getTamaguiConfigPathFromOptionsConfig", "exp", "parsed", "confPath", "resolve", "loadComponents", "DEBUG", "info", "undefined", "nameToPaths", "getNameToPaths", "writeFileSync", "readFileSync", "generateTamaguiStudioConfigSync", "cached", "err", "SHOULD_DEBUG", "message", "error", "getDefaultTamaguiConfig", "getOptions", "root", "tsconfigPath", "host", "debug", "dotDir", "pkgJson", "join", "readJSON", "mode", "getDefaultTamaguiConfigPath", "paths", "conf", "types", "resolveWebOrNativeSpecificEntry", "entry", "workspaceRoot", "resolved", "ext", "extname", "fileName", "basename", "replace", "specificExt", "specificFile", "dirname", "defaultPaths", "hasWarnedOnce", "searchPaths", "path", "Set", "filter", "Boolean", "map", "p", "pathExists", "watchTamaguiConfig", "tamaguiOptions", "options", "disposeConfigWatcher", "themeBuilderInput", "disposeThemesWatcher", "inputPath", "getOptions", "config", "Error", "process", "env", "NODE_ENV", "dispose", "esbuildWatchFiles", "generateTamaguiStudioConfig", "themeBuilder", "input", "require", "resolve", "generateThemesAndLog", "entry", "onChanged", "hasRunOnce", "context", "esbuild", "bundle", "entryPoints", "resolveExtensions", "logLevel", "write", "plugins", "name", "setup", "onEnd", "watch"]
6
6
  }
@@ -18,14 +18,32 @@ __export(logLines_exports, {
18
18
  logLines: () => logLines
19
19
  });
20
20
  module.exports = __toCommonJS(logLines_exports);
21
- const prefix = " ", logLines = (str, singleLine = !1) => {
21
+ var prefix = " ", logLines = function(str) {
22
+ var singleLine = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
22
23
  if (singleLine)
23
24
  return prefix + str.split(" ").join(`
24
- ${prefix}`);
25
- const lines = [""], items = str.split(" ");
26
- for (const item of items)
27
- item.length + lines[lines.length - 1].length > 85 && lines.push(""), lines[lines.length - 1] += item + " ";
28
- return lines.map((line, i) => prefix + (i == 0 ? "" : " ") + line.trim()).join(`
25
+ `.concat(prefix));
26
+ var lines = [
27
+ ""
28
+ ], items = str.split(" "), _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
29
+ try {
30
+ for (var _iterator = items[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
31
+ var item = _step.value;
32
+ item.length + lines[lines.length - 1].length > 85 && lines.push(""), lines[lines.length - 1] += item + " ";
33
+ }
34
+ } catch (err) {
35
+ _didIteratorError = !0, _iteratorError = err;
36
+ } finally {
37
+ try {
38
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
39
+ } finally {
40
+ if (_didIteratorError)
41
+ throw _iteratorError;
42
+ }
43
+ }
44
+ return lines.map(function(line, i) {
45
+ return prefix + (i == 0 ? "" : " ") + line.trim();
46
+ }).join(`
29
47
  `);
30
48
  };
31
49
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/extractor/logLines.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAAM,SAAS,eAEF,WAAW,CAAC,KAAa,aAAa,OAAU;AAC3D,MAAI;AACF,WAAO,SAAS,IAAI,MAAM,GAAG,EAAE,KAAK;AAAA,EAAK,MAAM,EAAE;AAEnD,QAAM,QAAkB,CAAC,EAAE,GACrB,QAAQ,IAAI,MAAM,GAAG;AAC3B,aAAW,QAAQ;AACjB,IAAI,KAAK,SAAS,MAAM,MAAM,SAAS,CAAC,EAAE,SAAS,MACjD,MAAM,KAAK,EAAE,GAEf,MAAM,MAAM,SAAS,CAAC,KAAK,OAAO;AAEpC,SAAO,MAAM,IAAI,CAAC,MAAM,MAAM,UAAU,KAAK,IAAI,KAAK,OAAO,KAAK,KAAK,CAAC,EAAE,KAAK;AAAA,CAAI;AACrF;",
5
- "names": []
3
+ "sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/logLines.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;IAAMA,SAAS,eAEFC,WAAW,SAACC,KAAAA;MAAaC,aAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAa;AACjD,MAAIA;AACF,WAAOH,SAASE,IAAIE,MAAM,GAAA,EAAKC,KAAM;EAAW,OAAPL,MAAAA,CAAAA;AAE3C,MAAMM,QAAkB;IAAC;KACnBC,QAAQL,IAAIE,MAAM,GAAA,GACnB,4BAAA,IAAA,oBAAA,IAAA,iBAAA;;AAAL,aAAK,YAAcG,MAAAA,OAAAA,QAAAA,EAAAA,GAAd,OAAA,EAAA,6BAAA,QAAA,UAAA,KAAA,GAAA,OAAA,4BAAA,IAAqB;AAArB,UAAMC,OAAN,MAAA;AACH,MAAIA,KAAKC,SAASH,MAAMA,MAAMG,SAAS,CAAA,EAAGA,SAAS,MACjDH,MAAMI,KAAK,EAAA,GAEbJ,MAAMA,MAAMG,SAAS,CAAA,KAAMD,OAAO;IACpC;;AALK,wBAAA,IAAA,iBAAA;;;OAAA,6BAAA,UAAA,UAAA,QAAA,UAAA,OAAA;;UAAA;cAAA;;;AAML,SAAOF,MAAMK,IAAI,SAACC,MAAMC,GAAAA;WAAMb,UAAUa,KAAK,IAAI,KAAK,OAAOD,KAAKE,KAAI;KAAIT,KAAK;CAAA;AACjF;",
5
+ "names": ["prefix", "logLines", "str", "singleLine", "split", "join", "lines", "items", "item", "length", "push", "map", "line", "i", "trim"]
6
6
  }
@@ -27,35 +27,86 @@ __export(normalizeTernaries_exports, {
27
27
  });
28
28
  module.exports = __toCommonJS(normalizeTernaries_exports);
29
29
  var import_generator = __toESM(require("@babel/generator")), t = __toESM(require("@babel/types")), import_invariant = __toESM(require("invariant"));
30
+ function _define_property(obj, key, value) {
31
+ return key in obj ? Object.defineProperty(obj, key, {
32
+ value,
33
+ enumerable: !0,
34
+ configurable: !0,
35
+ writable: !0
36
+ }) : obj[key] = value, obj;
37
+ }
38
+ function _object_spread(target) {
39
+ for (var i = 1; i < arguments.length; i++) {
40
+ var source = arguments[i] != null ? arguments[i] : {}, ownKeys2 = Object.keys(source);
41
+ typeof Object.getOwnPropertySymbols == "function" && (ownKeys2 = ownKeys2.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
42
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
43
+ }))), ownKeys2.forEach(function(key) {
44
+ _define_property(target, key, source[key]);
45
+ });
46
+ }
47
+ return target;
48
+ }
49
+ function ownKeys(object, enumerableOnly) {
50
+ var keys = Object.keys(object);
51
+ if (Object.getOwnPropertySymbols) {
52
+ var symbols = Object.getOwnPropertySymbols(object);
53
+ enumerableOnly && (symbols = symbols.filter(function(sym) {
54
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
55
+ })), keys.push.apply(keys, symbols);
56
+ }
57
+ return keys;
58
+ }
59
+ function _object_spread_props(target, source) {
60
+ return source = source ?? {}, Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
61
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
62
+ }), target;
63
+ }
64
+ function _object_without_properties(source, excluded) {
65
+ if (source == null)
66
+ return {};
67
+ var target = _object_without_properties_loose(source, excluded), key, i;
68
+ if (Object.getOwnPropertySymbols) {
69
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
70
+ for (i = 0; i < sourceSymbolKeys.length; i++)
71
+ key = sourceSymbolKeys[i], !(excluded.indexOf(key) >= 0) && Object.prototype.propertyIsEnumerable.call(source, key) && (target[key] = source[key]);
72
+ }
73
+ return target;
74
+ }
75
+ function _object_without_properties_loose(source, excluded) {
76
+ if (source == null)
77
+ return {};
78
+ var target = {}, sourceKeys = Object.keys(source), key, i;
79
+ for (i = 0; i < sourceKeys.length; i++)
80
+ key = sourceKeys[i], !(excluded.indexOf(key) >= 0) && (target[key] = source[key]);
81
+ return target;
82
+ }
30
83
  function normalizeTernaries(ternaries) {
31
- if ((0, import_invariant.default)(
32
- Array.isArray(ternaries),
33
- "extractStaticTernaries expects param 1 to be an array of ternaries"
34
- ), ternaries.length === 0)
84
+ if ((0, import_invariant.default)(Array.isArray(ternaries), "extractStaticTernaries expects param 1 to be an array of ternaries"), ternaries.length === 0)
35
85
  return [];
36
- const ternariesByKey = {};
37
- for (let idx = -1, len = ternaries.length; ++idx < len; ) {
38
- const { test, consequent, alternate, remove, ...rest } = ternaries[idx];
39
- let ternaryTest = test;
86
+ for (var ternariesByKey = {}, idx = -1, len = ternaries.length; ++idx < len; ) {
87
+ var _ternaries_idx = ternaries[idx], test = _ternaries_idx.test, consequent = _ternaries_idx.consequent, alternate = _ternaries_idx.alternate, remove = _ternaries_idx.remove, rest = _object_without_properties(_ternaries_idx, [
88
+ "test",
89
+ "consequent",
90
+ "alternate",
91
+ "remove"
92
+ ]), ternaryTest = test;
40
93
  t.isExpressionStatement(test) && (ternaryTest = test.expression);
41
- let shouldSwap = !1;
42
- t.isUnaryExpression(test) && test.operator === "!" ? (ternaryTest = test.argument, shouldSwap = !0) : t.isBinaryExpression(test) && (test.operator === "!==" || test.operator === "!=") && (ternaryTest = t.binaryExpression(
43
- test.operator.replace("!", "="),
44
- test.left,
45
- test.right
46
- ), shouldSwap = !0);
47
- const key = (0, import_generator.default)(ternaryTest).code;
48
- ternariesByKey[key] || (ternariesByKey[key] = {
49
- ...rest,
94
+ var shouldSwap = !1;
95
+ t.isUnaryExpression(test) && test.operator === "!" ? (ternaryTest = test.argument, shouldSwap = !0) : t.isBinaryExpression(test) && (test.operator === "!==" || test.operator === "!=") && (ternaryTest = t.binaryExpression(test.operator.replace("!", "="), test.left, test.right), shouldSwap = !0);
96
+ var key = (0, import_generator.default)(ternaryTest).code;
97
+ ternariesByKey[key] || (ternariesByKey[key] = _object_spread_props(_object_spread({}, rest), {
50
98
  alternate: {},
51
99
  consequent: {},
52
100
  test: ternaryTest,
53
101
  remove
54
- });
55
- const altStyle = (shouldSwap ? consequent : alternate) ?? {}, consStyle = (shouldSwap ? alternate : consequent) ?? {};
102
+ }));
103
+ var _ref, altStyle = (_ref = shouldSwap ? consequent : alternate) !== null && _ref !== void 0 ? _ref : {}, _ref1, consStyle = (_ref1 = shouldSwap ? alternate : consequent) !== null && _ref1 !== void 0 ? _ref1 : {};
56
104
  Object.assign(ternariesByKey[key].alternate, altStyle), Object.assign(ternariesByKey[key].consequent, consStyle);
57
105
  }
58
- return Object.keys(ternariesByKey).map((key) => ternariesByKey[key]);
106
+ var ternaryExpression = Object.keys(ternariesByKey).map(function(key2) {
107
+ return ternariesByKey[key2];
108
+ });
109
+ return ternaryExpression;
59
110
  }
60
111
  // Annotate the CommonJS export names for ESM import in node:
61
112
  0 && (module.exports = {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/extractor/normalizeTernaries.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAqB,sCACrB,IAAmB,kCACnB,mBAAsB;AAIf,SAAS,mBAAmB,WAAsB;AAMvD,UALA,iBAAAA;AAAA,IACE,MAAM,QAAQ,SAAS;AAAA,IACvB;AAAA,EACF,GAEI,UAAU,WAAW;AACvB,WAAO,CAAC;AAGV,QAAM,iBAA6C,CAAC;AAEpD,WAAS,MAAM,IAAI,MAAM,UAAU,QAAQ,EAAE,MAAM,OAAO;AACxD,UAAM,EAAE,MAAM,YAAY,WAAW,QAAQ,GAAG,KAAK,IAAI,UAAU,GAAG;AAEtE,QAAI,cAAc;AAGlB,IAAI,EAAE,sBAAsB,IAAI,MAC9B,cAAe,KAAa;AAI9B,QAAI,aAAa;AACjB,IAAI,EAAE,kBAAkB,IAAI,KAAK,KAAK,aAAa,OACjD,cAAc,KAAK,UACnB,aAAa,MACJ,EAAE,mBAAmB,IAAI,MAC9B,KAAK,aAAa,SAAS,KAAK,aAAa,UAC/C,cAAc,EAAE;AAAA,MACd,KAAK,SAAS,QAAQ,KAAK,GAAG;AAAA,MAC9B,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACA,aAAa;AAKjB,UAAM,UAAM,iBAAAC,SAAS,WAAkB,EAAE;AAEzC,IAAK,e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N,cAAcL,KAAKY,UACnBH,aAAa,MACJH,EAAEO,mBAAmBb,IAAAA,MAC1BA,KAAKW,aAAa,SAASX,KAAKW,aAAa,UAC/CN,cAAcC,EAAEQ,iBACdd,KAAKW,SAASI,QAAQ,KAAK,GAAA,GAC3Bf,KAAKgB,MACLhB,KAAKiB,KAAK,GAEZR,aAAa;AAKjB,QAAMS,UAAMC,iBAAAA,SAASd,WAAAA,EAAoBe;AAEzC,IAAKvB,eAAeqB,GAAAA,MAClBrB,eAAeqB,GAAAA,IAAO,qBAAA,eAAA,CAAA,GACjBd,IAAAA,GAAAA;MACHF,WAAW,CAAC;MACZD,YAAY,CAAC;MACbD,MAAMK;MACNF;;QAGcM,MAAZY,YAAYZ,OAAAA,aAAaR,aAAaC,eAAAA,QAA1BO,SAAAA,SAAAA,OAAwC,CAAC,GACxCA,OAAba,aAAab,QAAAA,aAAaP,YAAYD,gBAAAA,QAAzBQ,UAAAA,SAAAA,QAAwC,CAAC;AAC5Dc,WAAOC,OAAO3B,eAAeqB,GAAAA,EAAKhB,WAAYmB,QAAAA,GAC9CE,OAAOC,OAAO3B,eAAeqB,GAAAA,EAAKjB,YAAaqB,SAAAA;EACjD;AAEA,MAAMG,oBAAoBF,OAAOG,KAAK7B,cAAAA,EAAgB8B,IAAI,SAACT,MAAAA;AACzD,WAAOrB,eAAeqB,IAAAA;EACxB,CAAA;AAEA,SAAOO;AACT;",
5
+ "names": ["normalizeTernaries", "ternaries", "invariant", "Array", "isArray", "length", "ternariesByKey", "idx", "len", "test", "consequent", "alternate", "remove", "rest", "ternaryTest", "t", "isExpressionStatement", "expression", "shouldSwap", "isUnaryExpression", "operator", "argument", "isBinaryExpression", "binaryExpression", "replace", "left", "right", "key", "generate", "code", "altStyle", "consStyle", "Object", "assign", "ternaryExpression", "keys", "map"]
6
6
  }
@@ -20,7 +20,7 @@ __export(propsToFontFamilyCache_exports, {
20
20
  setPropsToFontFamily: () => setPropsToFontFamily
21
21
  });
22
22
  module.exports = __toCommonJS(propsToFontFamilyCache_exports);
23
- const cache = /* @__PURE__ */ new WeakMap();
23
+ var cache = /* @__PURE__ */ new WeakMap();
24
24
  function setPropsToFontFamily(props, ff) {
25
25
  cache.set(props, ff);
26
26
  }
@@ -28,9 +28,9 @@ function getPropsToFontFamily(props) {
28
28
  return cache.get(props);
29
29
  }
30
30
  function getFontFamilyClassNameFromProps(props) {
31
- const ff = getPropsToFontFamily(props);
31
+ var ff = getPropsToFontFamily(props);
32
32
  if (ff)
33
- return ` font_${ff.replace("$", "")}`;
33
+ return " font_".concat(ff.replace("$", ""));
34
34
  }
35
35
  // Annotate the CommonJS export names for ESM import in node:
36
36
  0 && (module.exports = {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/extractor/propsToFontFamilyCache.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,MAAM,QAAQ,oBAAI,QAAqB;AAEhC,SAAS,qBAAqB,OAAY,IAAY;AAC3D,QAAM,IAAI,OAAO,EAAE;AACrB;AAEO,SAAS,qBAAqB,OAAY;AAC/C,SAAO,MAAM,IAAI,KAAK;AACxB;AAEO,SAAS,gCAAgC,OAAY;AAC1D,QAAM,KAAK,qBAAqB,KAAK;AACrC,MAAI;AACF,WAAO,SAAS,GAAG,QAAQ,KAAK,EAAE,CAAC;AAEvC;",
5
- "names": []
3
+ "sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/propsToFontFamilyCache.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;;;AAEA,IAAMA,QAAQ,oBAAIC,QAAAA;AAEX,SAASC,qBAAqBC,OAAYC,IAAU;AACzDJ,QAAMK,IAAIF,OAAOC,EAAAA;AACnB;AAEO,SAASE,qBAAqBH,OAAU;AAC7C,SAAOH,MAAMO,IAAIJ,KAAAA;AACnB;AAEO,SAASK,gCAAgCL,OAAU;AACxD,MAAMC,KAAKE,qBAAqBH,KAAAA;AAChC,MAAIC;AACF,WAAQ,SAA4B,OAApBA,GAAGK,QAAQ,KAAK,EAAA,CAAA;AAEpC;",
5
+ "names": ["cache", "WeakMap", "setPropsToFontFamily", "props", "ff", "set", "getPropsToFontFamily", "get", "getFontFamilyClassNameFromProps", "replace"]
6
6
  }
@@ -26,52 +26,85 @@ __export(removeUnusedHooks_exports, {
26
26
  removeUnusedHooks: () => removeUnusedHooks
27
27
  });
28
28
  module.exports = __toCommonJS(removeUnusedHooks_exports);
29
- var t = __toESM(require("@babel/types"));
30
- const hooks = {
29
+ var t = __toESM(require("@babel/types")), hooks = {
31
30
  useMedia: !0,
32
31
  useTheme: !0
33
32
  };
34
33
  function removeUnusedHooks(compFn, shouldPrintDebug) {
35
34
  compFn.scope.crawl();
36
- let bodyStatements = compFn == null ? void 0 : compFn.get("body");
35
+ var bodyStatements = compFn == null ? void 0 : compFn.get("body");
37
36
  if (!bodyStatements) {
38
37
  console.info("no body statemnts?", compFn);
39
38
  return;
40
39
  }
41
- if (Array.isArray(bodyStatements) || (bodyStatements.isFunctionExpression() ? bodyStatements = bodyStatements.scope.path.get("body") : bodyStatements = bodyStatements.get("body")), !bodyStatements || !Array.isArray(bodyStatements))
42
- return;
43
- const statements = bodyStatements;
44
- for (const statement of statements) {
45
- if (!statement.isVariableDeclaration())
46
- continue;
47
- const declarations = statement.get("declarations");
48
- if (!Array.isArray(declarations))
49
- continue;
50
- const isBindingReferenced = (name) => {
51
- var _a;
52
- return !!((_a = statement.scope.getBinding(name)) != null && _a.referenced);
53
- };
54
- for (const declarator of declarations) {
55
- const id = declarator.get("id"), init = declarator.node.init;
56
- if (Array.isArray(id) || Array.isArray(init))
57
- continue;
58
- (() => {
59
- if (!(init && t.isCallExpression(init) && t.isIdentifier(init.callee) && hooks[init.callee.name]))
60
- return !1;
61
- if (t.isIdentifier(id.node)) {
62
- const name = id.node.name;
63
- return !isBindingReferenced(name);
40
+ if (Array.isArray(bodyStatements) || (bodyStatements.isFunctionExpression() ? bodyStatements = bodyStatements.scope.path.get("body") : bodyStatements = bodyStatements.get("body")), !(!bodyStatements || !Array.isArray(bodyStatements))) {
41
+ var statements = bodyStatements, _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
42
+ try {
43
+ for (var _loop = function() {
44
+ var statement = _step.value;
45
+ if (!statement.isVariableDeclaration())
46
+ return "continue";
47
+ var declarations = statement.get("declarations");
48
+ if (!Array.isArray(declarations))
49
+ return "continue";
50
+ var isBindingReferenced = function(name) {
51
+ var _statement_scope_getBinding;
52
+ return !!(!((_statement_scope_getBinding = statement.scope.getBinding(name)) === null || _statement_scope_getBinding === void 0) && _statement_scope_getBinding.referenced);
53
+ }, _iteratorNormalCompletion2 = !0, _didIteratorError2 = !1, _iteratorError2 = void 0;
54
+ try {
55
+ for (var _loop2 = function() {
56
+ var declarator = _step1.value, id = declarator.get("id"), init = declarator.node.init;
57
+ if (Array.isArray(id) || Array.isArray(init))
58
+ return "continue";
59
+ var shouldRemove = function() {
60
+ var isHook = init && t.isCallExpression(init) && t.isIdentifier(init.callee) && hooks[init.callee.name];
61
+ if (!isHook)
62
+ return !1;
63
+ if (t.isIdentifier(id.node)) {
64
+ var name = id.node.name;
65
+ return !isBindingReferenced(name);
66
+ }
67
+ if (t.isObjectPattern(id.node)) {
68
+ var propPaths = id.get("properties");
69
+ return propPaths.every(function(prop) {
70
+ if (!prop.isObjectProperty())
71
+ return !1;
72
+ var value = prop.get("value");
73
+ if (Array.isArray(value) || !value.isIdentifier())
74
+ return !1;
75
+ var name2 = value.node.name;
76
+ return !isBindingReferenced(name2);
77
+ });
78
+ }
79
+ return !1;
80
+ }();
81
+ if (shouldRemove && (declarator.remove(), shouldPrintDebug)) {
82
+ var _id_node_name;
83
+ console.info(" [\u{1FA9D}] removed ".concat((_id_node_name = id.node.name) !== null && _id_node_name !== void 0 ? _id_node_name : ""));
84
+ }
85
+ }, _iterator2 = declarations[Symbol.iterator](), _step1; !(_iteratorNormalCompletion2 = (_step1 = _iterator2.next()).done); _iteratorNormalCompletion2 = !0)
86
+ _loop2();
87
+ } catch (err) {
88
+ _didIteratorError2 = !0, _iteratorError2 = err;
89
+ } finally {
90
+ try {
91
+ !_iteratorNormalCompletion2 && _iterator2.return != null && _iterator2.return();
92
+ } finally {
93
+ if (_didIteratorError2)
94
+ throw _iteratorError2;
95
+ }
64
96
  }
65
- return t.isObjectPattern(id.node) ? id.get("properties").every((prop) => {
66
- if (!prop.isObjectProperty())
67
- return !1;
68
- const value = prop.get("value");
69
- if (Array.isArray(value) || !value.isIdentifier())
70
- return !1;
71
- const name = value.node.name;
72
- return !isBindingReferenced(name);
73
- }) : !1;
74
- })() && (declarator.remove(), shouldPrintDebug && console.info(` [\u{1FA9D}] removed ${id.node.name ?? ""}`));
97
+ }, _iterator = statements[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)
98
+ _loop();
99
+ } catch (err) {
100
+ _didIteratorError = !0, _iteratorError = err;
101
+ } finally {
102
+ try {
103
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
104
+ } finally {
105
+ if (_didIteratorError)
106
+ throw _iteratorError;
107
+ }
75
108
  }
76
109
  }
77
110
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/extractor/removeUnusedHooks.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,QAAmB;AAEnB,MAAM,QAAQ;AAAA,EACZ,UAAU;AAAA,EACV,UAAU;AACZ;AAEO,SAAS,kBACd,QACA,kBACA;AACA,SAAO,MAAM,MAAM;AAEnB,MAAI,iBAAiB,iCAAQ,IAAI;AACjC,MAAI,CAAC,gBAAgB;AACnB,YAAQ,KAAK,sBAAsB,MAAM;AACzC;AAAA,EACF;AAQA,MAPK,MAAM,QAAQ,cAAc,MAC3B,eAAe,qBAAqB,IACtC,iBAAiB,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A,KAAA,GAAA,OAAA,4BAAA;AAAA,cAAA;;AAAA,0BAAA,IAAA,iBAAA;;;SAAA,6BAAA,UAAA,UAAA,QAAA,UAAA,OAAA;;YAAA;gBAAA;;;;AAoDP;",
5
+ "names": ["hooks", "useMedia", "useTheme", "removeUnusedHooks", "compFn", "shouldPrintDebug", "scope", "crawl", "bodyStatements", "get", "console", "info", "Array", "isArray", "isFunctionExpression", "path", "statements", "statement", "isVariableDeclaration", "declarations", "isBindingReferenced", "name", "getBinding", "referenced", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "declarator", "id", "init", "node", "shouldRemove", "isHook", "t", "isCallExpression", "isIdentifier", "callee", "isObjectPattern", "propPaths", "every", "prop", "isObjectProperty", "value", "remove", "_iterator", "_loop"]
6
6
  }
@@ -18,20 +18,21 @@ __export(timer_exports, {
18
18
  timer: () => timer
19
19
  });
20
20
  module.exports = __toCommonJS(timer_exports);
21
- const timer = () => {
22
- const start = Date.now();
23
- let last = start;
21
+ var timer = function() {
22
+ var start = Date.now(), last = start;
24
23
  return {
25
- mark: (name, print = !1) => {
24
+ mark: function(name) {
25
+ var print = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
26
26
  if (print) {
27
- const took = Date.now() - last;
28
- last = Date.now(), console.info(`Time ${name}: ${took}ms`), took > 10 && console.info(" long timer");
27
+ var took = Date.now() - last;
28
+ last = Date.now(), console.info("Time ".concat(name, ": ").concat(took, "ms")), took > 10 && console.info(" long timer");
29
29
  }
30
30
  },
31
- done: (print = !1) => {
31
+ done: function() {
32
+ var print = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
32
33
  if (print) {
33
- const total = Date.now() - start;
34
- console.info(`Total time: ${total}ms`), total > 50 && console.info(" long timer");
34
+ var total = Date.now() - start;
35
+ console.info("Total time: ".concat(total, "ms")), total > 50 && console.info(" long timer");
35
36
  }
36
37
  }
37
38
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/extractor/timer.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,QAAQ,MAAM;AACzB,QAAM,QAAQ,KAAK,IAAI;AACvB,MAAI,OAAO;AACX,SAAO;AAAA,IACL,MAAM,CAAC,MAAc,QAAQ,OAAU;AACrC,UAAI,OAAO;AACT,cAAM,OAAO,KAAK,IAAI,IAAI;AAC1B,eAAO,KAAK,IAAI,GAChB,QAAQ,KAAK,QAAQ,IAAI,KAAK,IAAI,IAAI,GAClC,OAAO,MACT,QAAQ,KAAK,cAAc;AAAA,MAE/B;AAAA,IACF;AAAA,IACA,MAAM,CAAC,QAAQ,OAAU;AACvB,UAAI,OAAO;AACT,cAAM,QAAQ,KAAK,IAAI,IAAI;AAC3B,gBAAQ,KAAK,eAAe,KAAK,IAAI,GACjC,QAAQ,MACV,QAAQ,KAAK,cAAc;AAAA,MAE/B;AAAA,IACF;AAAA,EACF;AACF;",
5
- "names": []
3
+ "sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/timer.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AAAO,IAAMA,QAAQ,WAAA;AACnB,MAAMC,QAAQC,KAAKC,IAAG,GAClBC,OAAOH;AACX,SAAO;IACLI,MAAM,SAACC,MAAAA;UAAcC,QAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAQ;AAC3B,UAAIA,OAAO;AACT,YAAMC,OAAON,KAAKC,IAAG,IAAKC;AAC1BA,eAAOF,KAAKC,IAAG,GACfM,QAAQC,KAAM,QAAgBF,OAATF,MAAK,IAAA,EAAS,OAALE,MAAK,IAAA,CAAA,GAC/BA,OAAO,MACTC,QAAQC,KAAK,cAAA;MAEjB;IACF;IACAC,MAAM,WAAA;UAACJ,QAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAQ;AACb,UAAIA,OAAO;AACT,YAAMK,QAAQV,KAAKC,IAAG,IAAKF;AAC3BQ,gBAAQC,KAAM,eAAoB,OAANE,OAAM,IAAA,CAAA,GAC9BA,QAAQ,MACVH,QAAQC,KAAK,cAAA;MAEjB;IACF;EACF;AACF;",
5
+ "names": ["timer", "start", "Date", "now", "last", "mark", "name", "print", "took", "console", "info", "done", "total"]
6
6
  }
@@ -18,7 +18,7 @@ __export(validHTMLAttributes_exports, {
18
18
  validHTMLAttributes: () => validHTMLAttributes
19
19
  });
20
20
  module.exports = __toCommonJS(validHTMLAttributes_exports);
21
- const validHTMLAttributes = {
21
+ var validHTMLAttributes = {
22
22
  autocomplete: !0,
23
23
  border: !0,
24
24
  contenteditable: !0,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/extractor/validHTMLAttributes.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,sBAAsB;AAAA,EACjC,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,KAAK;AAAA,EACL,WAAW;AAAA,EACX,SAAS;AAAA,EACT,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,gBAAgB;AAAA,EAChB,KAAK;AAAA,EACL,KAAK;AAAA,EACL,MAAM;AAAA,EACN,SAAS;AAAA,EACT,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,MAAM;AAAA,EACN,MAAM;AAAA,EACN,qBAAqB;AAAA,EACrB,aAAa;AAAA,EACb,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,eAAe;AAAA,EACf,cAAc;AAAA,EACd,kBAAkB;AAAA,EAClB,wBAAwB;AAAA,EACxB,oBAAoB;AAAA,EACpB,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,aAAa;AACf;",
5
- "names": []
3
+ "sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/validHTMLAttributes.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AAAO,IAAMA,sBAAsB;EACjCC,cAAc;EACdC,QAAQ;EACRC,iBAAiB;EACjBC,aAAa;EACbC,KAAK;EACLC,WAAW;EACXC,SAAS;EACTC,aAAa;EACbC,YAAY;EACZC,YAAY;EACZC,WAAW;EACXC,MAAM;EACNC,MAAM;EACNC,QAAQ;EACRC,SAAS;EACTC,gBAAgB;EAChBC,KAAK;EACLC,KAAK;EACLC,MAAM;EACNC,SAAS;EACTC,OAAO;EACPC,YAAY;EACZC,QAAQ;EACRC,WAAW;EACXC,MAAM;EACNC,MAAM;EACN,qBAAqB;EACrB,aAAa;EACb,gBAAgB;EAChB,gBAAgB;EAChB,iBAAiB;EACjB,iBAAiB;EACjB,iBAAiB;EACjB,eAAe;EACf,gBAAgB;EAChB,eAAe;EACf,cAAc;EACd,kBAAkB;EAClB,wBAAwB;EACxB,oBAAoB;EACpB,gBAAgB;EAChB,iBAAiB;EACjB,iBAAiB;EACjB,iBAAiB;EACjB,iBAAiB;EACjB,aAAa;AACf;",
5
+ "names": ["validHTMLAttributes", "autocomplete", "border", "contenteditable", "crossorigin", "dir", "draggable", "enctype", "formenctype", "formmethod", "formtarget", "inputmode", "kind", "link", "method", "preload", "referrerpolicy", "rel", "rev", "role", "sandbox", "shape", "spellcheck", "target", "translate", "type", "wrap"]
6
6
  }
@@ -18,21 +18,16 @@ __export(getPragmaOptions_exports, {
18
18
  getPragmaOptions: () => getPragmaOptions
19
19
  });
20
20
  module.exports = __toCommonJS(getPragmaOptions_exports);
21
- function getPragmaOptions({
22
- source,
23
- path,
24
- disableCommentCheck
25
- }) {
26
- var _a, _b;
21
+ function getPragmaOptions(param) {
22
+ var source = param.source, path = param.path, disableCommentCheck = param.disableCommentCheck, _process_env_DEBUG, _process_env_DEBUG1;
27
23
  if (!disableCommentCheck && !source.startsWith("//") && !source.startsWith("/*"))
28
24
  return {
29
25
  shouldPrintDebug: !1,
30
26
  shouldDisable: !1
31
27
  };
32
- let shouldPrintDebug = !1, shouldDisable = !1;
33
- const firstLine = source.slice(0, 800).split(`
28
+ var shouldPrintDebug = !1, shouldDisable = !1, firstLine = source.slice(0, 800).split(`
34
29
  `)[0];
35
- return firstLine.includes("tamagui-ignore") && (shouldDisable = !0), firstLine.includes("debug") && (shouldPrintDebug = !0), firstLine.includes("debug-verbose") && (shouldPrintDebug = "verbose"), process.env.TAMAGUI_DEBUG_FILE && path.includes(process.env.TAMAGUI_DEBUG_FILE) && (shouldPrintDebug = "verbose"), (_a = process.env.DEBUG) != null && _a.includes("tamagui") && (shouldPrintDebug || (shouldPrintDebug = !0)), (_b = process.env.DEBUG) != null && _b.includes("tamagui-verbose") && (shouldPrintDebug = "verbose"), {
30
+ return firstLine.includes("tamagui-ignore") && (shouldDisable = !0), firstLine.includes("debug") && (shouldPrintDebug = !0), firstLine.includes("debug-verbose") && (shouldPrintDebug = "verbose"), process.env.TAMAGUI_DEBUG_FILE && path.includes(process.env.TAMAGUI_DEBUG_FILE) && (shouldPrintDebug = "verbose"), !((_process_env_DEBUG = process.env.DEBUG) === null || _process_env_DEBUG === void 0) && _process_env_DEBUG.includes("tamagui") && (shouldPrintDebug || (shouldPrintDebug = !0)), !((_process_env_DEBUG1 = process.env.DEBUG) === null || _process_env_DEBUG1 === void 0) && _process_env_DEBUG1.includes("tamagui-verbose") && (shouldPrintDebug = "verbose"), {
36
31
  shouldPrintDebug,
37
32
  shouldDisable
38
33
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/getPragmaOptions.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,iBAAiB;AAAA,EAC/B;AAAA,EACA;AAAA,EACA;AACF,GAIG;AARH;AASE,MAAI,CAAC,uBAAuB,CAAC,OAAO,WAAW,IAAI,KAAK,CAAC,OAAO,WAAW,IAAI;AAC7E,WAAO;AAAA,MACL,kBAAkB;AAAA,MAClB,eAAe;AAAA,IACjB;AAGF,MAAI,mBAAwC,IACxC,gBAAgB;AAGpB,QAAM,YAAY,OAAO,MAAM,GAAG,GAAG,EAAE,MAAM;AAAA,CAAI,EAAE,CAAC;AAEpD,SAAI,UAAU,SAAS,gBAAgB,MACrC,gBAAgB,KAGd,UAAU,SAAS,OAAO,MAC5B,mBAAmB,KAGjB,UAAU,SAAS,eAAe,MACpC,mBAAmB,YAGjB,QAAQ,IAAI,sBACV,KAAK,SAAS,QAAQ,IAAI,kBAAkB,MAC9C,mBAAmB,aAInB,aAAQ,IAAI,UAAZ,WAAmB,SAAS,eAC9B,wCAAqB,OAGnB,aAAQ,IAAI,UAAZ,WAAmB,SAAS,uBAC9B,mBAAmB,YAGd;AAAA,IACL;AAAA,IACA;AAAA,EACF;AACF;",
5
- "names": []
3
+ "sources": ["../../src/Users/n8/tamagui/packages/static/src/getPragmaOptions.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AAAO,SAASA,iBAAiB,OAQhC;MAPCC,SAD+B,MAC/BA,QACAC,OAF+B,MAE/BA,MACAC,sBAH+B,MAG/BA,qBAqCIC,oBAIAA;AAnCJ,MAAI,CAACD,uBAAuB,CAACF,OAAOI,WAAW,IAAA,KAAS,CAACJ,OAAOI,WAAW,IAAA;AACzE,WAAO;MACLC,kBAAkB;MAClBC,eAAe;IACjB;AAGF,MAAID,mBAAwC,IACxCC,gBAAgB,IAGdC,YAAYP,OAAOQ,MAAM,GAAG,GAAA,EAAKC,MAAM;CAAA,EAAM,CAAA;AAEnD,SAAIF,UAAUG,SAAS,gBAAA,MACrBJ,gBAAgB,KAGdC,UAAUG,SAAS,OAAA,MACrBL,mBAAmB,KAGjBE,UAAUG,SAAS,eAAA,MACrBL,mBAAmB,YAGjBF,QAAQQ,IAAIC,sBACVX,KAAKS,SAASP,QAAQQ,IAAIC,kBAAkB,MAC9CP,mBAAmB,YAInBF,wBAAAA,QAAQQ,IAAIE,WAAK,QAAjBV,uBAAAA,WAAAA,mBAAmBO,SAAS,SAAA,MAC9BL,qBAAAA,mBAAqB,MAGnBF,yBAAAA,QAAQQ,IAAIE,WAAK,QAAjBV,wBAAAA,WAAAA,oBAAmBO,SAAS,iBAAA,MAC9BL,mBAAmB,YAGd;IACLA;IACAC;EACF;AACF;",
5
+ "names": ["getPragmaOptions", "source", "path", "disableCommentCheck", "process", "startsWith", "shouldPrintDebug", "shouldDisable", "firstLine", "slice", "split", "includes", "env", "TAMAGUI_DEBUG_FILE", "DEBUG"]
6
6
  }
@@ -21,11 +21,13 @@ module.exports = __toCommonJS(memoize_exports);
21
21
  function memoize(func, resolver) {
22
22
  if (typeof func != "function" || resolver != null && typeof resolver != "function")
23
23
  throw new TypeError("Expected a function");
24
- const memoized = function(...args) {
25
- const key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
24
+ var memoized = function() {
25
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++)
26
+ args[_key] = arguments[_key];
27
+ var key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
26
28
  if (cache.has(key))
27
29
  return cache.get(key);
28
- const result = func.apply(this, args);
30
+ var result = func.apply(this, args);
29
31
  return memoized.cache = cache.set(key, result) || cache, result;
30
32
  };
31
33
  return memoized.cache = new (memoize.Cache || Map)(), memoized;